Anton Firszov
06566c5ab3
Resize: do not premultiply pixels with no alpha
4 years ago
Dmitry Pentin
2e5b0ad74d
Fixed baseline image invalid reference output png image
5 years ago
Brian Popow
347279c258
Clamp color map index, fixes issue #1668
5 years ago
James Jackson-South
2ab611fd5c
Use 5 bits for each component
5 years ago
James Jackson-South
e773295622
Update refs to match new output
5 years ago
James Jackson-South
78e0ab8181
Remove parallel processing & update refs
5 years ago
James Jackson-South
a8d269f35a
Better test
5 years ago
James Jackson-South
5ceba7116c
Ensure cdfMinSpan is cleared before use.
5 years ago
James Jackson-South
dc0982f186
Faster Linear Transforms ( #1591 )
* Attempt to use same weight generation algorithm as resize.
* tests pass
* Identical output
* Update LinearTransformKernelFactory{TResampler}.cs
* Use new low allocation iterator
* Migrate projective transforms.
* Optimizations
* Smaller kernel
* Fix sampling accuracy
* Finalize and update refs
* Revert unnecessary changes
* Remove enumerator
* Actually save output for debugging.
* Use custom test png encoder for reduced memory environments
* Convolution should use scaled vectors
* Update TestEnvironmentTests.cs
* Try using doubles
* Moar double precision
* Fix radius calculation
* Test if issue is SIMD related.
* Detect runtime to determine pipeline.
* Fix stack overflow
* fix condition
* Try simplified scalar run
* Simplify unpremultiply scalar
* Update Numerics.cs
* Fix runtime environment
* Update ImageSharp.csproj
* Duplicate the caller with scalar versions
* Update method name, exclude from coverage.
* Don't save output during coverage tests for perf.
* Update src/ImageSharp/Common/Helpers/RuntimeEnvironment.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Anton Firszov <antonfir@gmail.com>
5 years ago
James Jackson-South
a54bce1faa
Update refs.
5 years ago
James Jackson-South
cfd123239d
Ensure LFS
5 years ago
Franz Häring
2d3ab4ebd5
New overloads for binary threshold operations. The new argument ColorComponent defines the scalar color component to be used for threshold comparison: Luminance, Saturation or MaxChroma. Luminance is default and identical to previous versions. Saturation is the HSL saturation component. MaxChroma is calculated as the maximum of YCbCr chroma value, i.e. Cb and Cr distance from achromatic value. Background: This component shall discriminate colorful parts from achromatic parts in human perception. Very dark pixels, which are perceived as near black, can have high HSL saturation values if e.g. (rgb)==(4,0,0); this would definitely not be perceived as colorful by a human. The MaxChroma component will calculate them low.
5 years ago
James Jackson-South
d183091ac4
Add output reference images
5 years ago
James Jackson-South
ef1ee4d33b
Removed submodule
5 years ago
James Jackson-South
f1a8e6e763
Santize descriptor bounds. Fixes #1530
5 years ago
Petar Tasev
8c77c494d6
Updated referenced image submodule to latest origin master.
5 years ago
James Jackson-South
7824852eb4
Update External
5 years ago
James Jackson-South
6a3411ed6b
Add new property and implement for TPixel types
5 years ago
Brian Popow
82a5a61f3d
Add global histogram equalization test which compares result to reference output
5 years ago
Brian Popow
8ab45ccf24
Add reference output for #1362
5 years ago
David Rolland
ca85f1003f
Fixed typo in AdaptiveThreshold processor and added specific test
5 years ago
James Jackson-South
b130bcd5e3
Update skipped tests
6 years ago
Brian Popow
1b9dc4a885
Update external due to test file name changes
6 years ago
Brian Popow
c1fc52b676
Changed startX and endX from ushort to int, Add test with rectangle
6 years ago
Brian Popow
4d3d0fb2f5
Add tests for the AdaptiveThreshold processor
6 years ago
Brian Popow
485098fbdb
Re-add external test images
6 years ago
Brian Popow
985c1805e9
Add additional tga test cases
6 years ago
Brian Popow
365c1661ac
Update external for the 16bit gray tga images
6 years ago
Brian Popow
81e95e5216
Split tga alpha bits tests in 16 bit and 32 bit tests
6 years ago
Brian Popow
0c2e5df78a
Update external, change expectedDefaultConfigurationCount to be 6 instead of 5
6 years ago
James Jackson-South
c9e89b16e6
Fix edge detection and reenable entropy crop tests
6 years ago
James Jackson-South
f73ac89856
Cleanup and update references.
6 years ago
James Jackson-South
f374d194c5
Fix for tests, update reference images
6 years ago
Anton Firszov
ccc00c31b6
update reference images
6 years ago
James Jackson-South
ad8d7757b4
Refactor to inline based on feedback.
6 years ago
James Jackson-South
f85ed446c2
Fix tests
6 years ago
James Jackson-South
25658d0791
Update External
6 years ago
James Jackson-South
08e8f55239
Use per-edge buffer + minor optimizations. Fix #1044
6 years ago
James Jackson-South
9a42d54767
Add test images
6 years ago
James Jackson-South
793044464e
Update reference images
6 years ago
James Jackson-South
0d46d3a6f6
Fix #1006 ResizeMode.Crop
6 years ago
Brian Popow
11cc8121fa
Update external for issue 984 testimages
6 years ago
James Jackson-South
d91bda2946
Fix #1044
6 years ago
James Jackson-South
7cb840a86a
Fix output, cleanup and minor optimizations.
6 years ago
James Jackson-South
1911fb536d
Update External
6 years ago
Lajos Marton
a9ff1fb6ff
WebP test input files added, test skeletons added (copied from Bmp tests)
6 years ago
James Jackson-South
1f8050886f
Update reference image to match new output
6 years ago
Brian Popow
4778a915cf
Update external for histogram reference images
6 years ago
James Jackson-South
ccaaf402e4
Fix up code and tests
6 years ago
Xavier Cho
da44dcf1f3
Implement gradient brush similar to PathGradientBrush ( #969 ) ( #989 )
* Implement gradient brush similar to PathGradientBrush (#969 )
A gradient brush implementation that works similar to
System.Drawing.Drawing2D.PathGradientBrush.
This fixes #969 , but only convex paths are supported for now.
* Update submodule to add test fixtures for #989
* Performance optimization
Use LengthSquared() instead of Length() when it's possible.
Avoid unnecessary ordering of elements.
* Avoid using LINQ in a hotspot
* Validate arguments for the public constructor
7 years ago