James Jackson-South
0b685ab034
Fix convolution sampling for bounds smaller than the kernel radius
KernelSamplingMap.CorrectBorder sliced the offset span by
radius * kernelSize, so bounds narrower than the kernel radius threw
ArgumentOutOfRangeException (GaussianBlur of a 130x8 region with
sigma 10, for example), and bounds exactly equal to the radius let
Bounce offsets escape the sampling range by folding an overshoot of a
full extent to min - 1.
Route bounds no larger than the radius through an exact per-mode
correction that folds each offset into range: clamp for Repeat,
periodic reflection for Mirror and Bounce, and true modulo for Wrap.
The single-pass corrections are unchanged for larger bounds.
3 months ago
James Jackson-South
3bd1efbbf8
Normalize parameter order.
2 years ago
James Jackson-South
0e9a066195
FS Namespaces and Implicit Global Usings
4 years ago
James Jackson-South
97baeaf438
Update all files
4 years ago
Brian Popow
e06481c92b
Add additional test categories
5 years ago
James Jackson-South
874115bd0a
Update license
6 years ago
James Jackson-South
6183dd8c13
Update source license info.
7 years ago
James Jackson-South
c24b364be1
Merge namespaces
7 years ago
Simon Cropp
2c04d6b036
redundant usings ( #960 )
7 years ago
Anton Firszov
9ea9f2df5d
drop unnecessary generic IImageProcessorContext<TPixel> usages
7 years ago
Anton Firszov
01ae31cd14
validating tests for Convolution processors
8 years ago
Anton Firszov
8b0416f138
validating tests for Convolution processors
8 years ago
James Jackson-South
0d2214923f
Update ImageSharp Namespaces.
8 years ago
Jason Nelson
55d0e8c62a
Format tests
9 years ago
James Jackson-South
091cb8a3b5
Overlays and base processors
9 years ago
James Jackson-South
13fa40874e
Binarization, Convolution, DIthering, Effects & Filters
9 years ago
Anton Firszov
07baed95c2
replaced PixelAccessor<T> with Buffer2D<T> in several processors
9 years ago
Scott Williams
3092b85a25
improved speed of contstrained image comparer
9 years ago
Scott Williams
872ca973de
inital rename packages and namespaces
9 years ago
Anton Firszov
224a933853
replaced old comparer everywhere
9 years ago
Anton Firszov
03df1dc791
changed ImageComparer design again
9 years ago
Anton Firszov
fd4b2d34bf
ImageComparer refactors, ExactComparer
9 years ago
Anton Firszov
ae549a0338
re-apply DebugSave() changes after merging mutate-api
9 years ago
Scott Williams
612b5e2e50
Renameing classes + simplifying Image<TPixel>
9 years ago
Scott Williams
3fa5141ad9
test extensions methods
9 years ago
Scott Williams
32c158898b
migrate to a Image.Generate/Image.Mutate context api
9 years ago
Scott Williams
7f8d10c89a
migrate to use primitives from SixLabors.Core
9 years ago
James Jackson-South
5fa10c0ab3
Remove StandardImageClass
9 years ago
James Jackson-South
1e4d1df2c1
Use EnsureProcessorChangesAreConstrained
9 years ago
James Jackson-South
1e41088249
Use default files.
9 years ago
James Jackson-South
d76fdedee7
Oilpainting
9 years ago
James Jackson-South
f7b8491e60
Blur, Sharpen
9 years ago
James Jackson-South
a066c48e29
Add missing tests
We need to refactor our tests to mostly use the generated patterns.
10 years ago
Scott Williams
6ec8ef8b82
retrain untouched pixels when applying filter
10 years ago
James Jackson-South
1339ad3075
Make all images implement IDisposable
10 years ago
James Jackson-South
40eceb2674
Move convolution filters
10 years ago
James Jackson-South
637dce48a8
Fix spelling....
I can't believe no one spotted this until now!
10 years ago
James Jackson-South
a57c90d94b
Rename to ImageSharp
10 years ago
dirk
d72ed0ac01
Refactored creating the output directory.
Former-commit-id: f23cc3264514e4c882d0a2ed41ffc23f9abb54ef
Former-commit-id: b9e32392f090e1fd3f0c534bad3939360d0dcecd
Former-commit-id: 6276382a7659cc1f3fed381c2cedcee611947da5
10 years ago
dirk
2102ff5186
Only read and decode the test images once in the unit tests.
Former-commit-id: 789111f1860e7b59bab56e10a8145d76eec0639a
Former-commit-id: 436fb17c2ae4d183b2fc50c1770d474b0dab570f
Former-commit-id: cfce7b2f47d0fd834893251577ede00cde96cd5e
10 years ago
James Jackson-South
bab0be1dde
Organise tests
Former-commit-id: 8c43c6aba24aa6983422a8b9645634c6b09f3a6b
Former-commit-id: b5152d24a3f764fa3525a9f65dbefecb65305db9
Former-commit-id: ee28c35506740387c1d91aeb902ff017790a58d3
10 years ago
James Jackson-South
9ecc7510e3
Guassian Blur/Sharpen
Former-commit-id: 8a5b4cf3f2f77979e055f7244a07152f3e7911b3
Former-commit-id: 3c88eca8695868dafeb4478865530b94a4fff195
Former-commit-id: e31d42ca178b55324a3700280a67fc7acd90f0a8
10 years ago
James Jackson-South
142f334608
Saturation, Sepia
Former-commit-id: f0b02bfd300840689af44740b52a9bd5f7e2e49d
Former-commit-id: 0883c72b9b8aed6625672c6a495613d4a2fbd9e1
Former-commit-id: 6a570bbd38d20705a3e1c025b083ab0b47b481b8
10 years ago
James Jackson-South
d54d4c1e48
Add Kodachrome
Former-commit-id: 395bbf802c958615ed5e497675200a9868bd816d
Former-commit-id: ccc6ea01f5e2cf203991f4425e88faab7c56ac4c
Former-commit-id: 3ff1d2812e905ee76bdbf50c4ccd4c6e0ad62a82
10 years ago
James Jackson-South
f15a103b16
Begin add ColorMatrix filters.
Former-commit-id: 87e8abdf10ff5c2068354690817dd32a86d613c2
Former-commit-id: 9eeb9dd07422fded5300087200f781d7d7064b50
Former-commit-id: a35e9e5e97952e268bcb3310194d738282817052
10 years ago
James Jackson-South
ad2249bbec
jpeg now preserves dpi
Former-commit-id: fcf404c9fede3784fd312aaba739185e12aba2d8
Former-commit-id: 08d5865cda85d173d37e895373cb110d6fa4b053
Former-commit-id: 1350e5c663eca447189095abfe5f8a316c5a970c
10 years ago
James Jackson-South
52a126c0ef
Add resolution test
Test Fails just now.
Former-commit-id: da297b15e6ad9c6612378499e7506fade95174d8
Former-commit-id: 9c6106412771f797166983014b7cc976bdae3a3a
Former-commit-id: 394581f30c0ef3e6beb50e32984d8b5315e81710
10 years ago