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 |