-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Perona–Malik anisotropic diffusion algorithm #500
Add Perona–Malik anisotropic diffusion algorithm #500
Commits on Jul 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5a89ea3 - Browse repository at this point
Copy the full SHA 5a89ea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9282ac - Browse repository at this point
Copy the full SHA e9282acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c9bec2 - Browse repository at this point
Copy the full SHA 0c9bec2View commit details -
Reduce amount of warnings to zero
The compilation of example will still produce some warnings, but they are unrelated to the new code
Configuration menu - View commit details
-
Copy full SHA for 902fbb0 - Browse repository at this point
Copy the full SHA 902fbb0View commit details -
Add rgb version and squash a bug
There was a bug in nabla computation that relied on gray layout
Configuration menu - View commit details
-
Copy full SHA for 3fcffe3 - Browse repository at this point
Copy the full SHA 3fcffe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a27c941 - Browse repository at this point
Copy the full SHA a27c941View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7d83a - Browse repository at this point
Copy the full SHA bb7d83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc278a4 - Browse repository at this point
Copy the full SHA dc278a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f128ef8 - Browse repository at this point
Copy the full SHA f128ef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c486e8 - Browse repository at this point
Copy the full SHA 0c486e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ac151 - Browse repository at this point
Copy the full SHA 65ac151View commit details -
Configuration menu - View commit details
-
Copy full SHA for de22676 - Browse repository at this point
Copy the full SHA de22676View commit details -
Improve documentation and static_assert
The output type must be floating point, thus a check was added to make sure it is the case. Though I had to add specific cases for float32_t as std::is_floating_point does not consider it a floating point type
Configuration menu - View commit details
-
Copy full SHA for 3b3f487 - Browse repository at this point
Copy the full SHA 3b3f487View commit details -
Configuration menu - View commit details
-
Copy full SHA for b135438 - Browse repository at this point
Copy the full SHA b135438View commit details -
Improve testing procedure, raise bar
Now conservation is only within 10%
Configuration menu - View commit details
-
Copy full SHA for b3a5540 - Browse repository at this point
Copy the full SHA b3a5540View commit details -
The test seems to be failing though, so revisiting the correctness of the algorithm is needed
Configuration menu - View commit details
-
Copy full SHA for 38d7415 - Browse repository at this point
Copy the full SHA 38d7415View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a8f09 - Browse repository at this point
Copy the full SHA a5a8f09View commit details -
Previously algorithm did not use a buffer image and updated pixels on the fly, by using those that were already modified, which is incorrect. Also reduced number of warnings in the new files to zero
Configuration menu - View commit details
-
Copy full SHA for 5991e21 - Browse repository at this point
Copy the full SHA 5991e21View commit details -
Rather than manually writing out each entry, use std::transform
Configuration menu - View commit details
-
Copy full SHA for ce3bee4 - Browse repository at this point
Copy the full SHA ce3bee4View commit details -
Squash the damn accumulate bug
The accumulate part was wrong, it multiplied by delta_t on every sum, which is wrong
Configuration menu - View commit details
-
Copy full SHA for 43bc160 - Browse repository at this point
Copy the full SHA 43bc160View commit details -
This is just different discretization of Laplace operator. https://en.wikipedia.org/wiki/Discrete_Laplace_operator
Configuration menu - View commit details
-
Copy full SHA for 149b07d - Browse repository at this point
Copy the full SHA 149b07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fe2470 - Browse repository at this point
Copy the full SHA 4fe2470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8628367 - Browse repository at this point
Copy the full SHA 8628367View commit details -
This commit implements correct diffusion and separates the whole process into multiple pieces
Configuration menu - View commit details
-
Copy full SHA for db8a326 - Browse repository at this point
Copy the full SHA db8a326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4469ff2 - Browse repository at this point
Copy the full SHA 4469ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 946a073 - Browse repository at this point
Copy the full SHA 946a073View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcf118d - Browse repository at this point
Copy the full SHA fcf118dView commit details -
Drastically decrease error threshold
Found a bug inside tests, now it computes correctly, allowing to reduce error threshold drastically
Configuration menu - View commit details
-
Copy full SHA for cf0ae18 - Browse repository at this point
Copy the full SHA cf0ae18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce4264 - Browse repository at this point
Copy the full SHA 1ce4264View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6a6548 - Browse repository at this point
Copy the full SHA e6a6548View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6534fa - Browse repository at this point
Copy the full SHA c6534faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fadad0 - Browse repository at this point
Copy the full SHA 4fadad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 370d1b3 - Browse repository at this point
Copy the full SHA 370d1b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for acb240b - Browse repository at this point
Copy the full SHA acb240bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd03a9a - Browse repository at this point
Copy the full SHA cd03a9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5939663 - Browse repository at this point
Copy the full SHA 5939663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c60cb4 - Browse repository at this point
Copy the full SHA 8c60cb4View commit details -
Laplace stencils are now the same as in mathematical notation
Configuration menu - View commit details
-
Copy full SHA for abf7be7 - Browse repository at this point
Copy the full SHA abf7be7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6321b52 - Browse repository at this point
Copy the full SHA 6321b52View commit details -
Use indexing and add offsets function
The new function will provide a uniform way to generate stencils by making sure directions are indexed properly
Configuration menu - View commit details
-
Copy full SHA for 8106bee - Browse repository at this point
Copy the full SHA 8106beeView commit details -
Add only required stencil points
The 5 points Laplace stencil is now adding only required points and not assuming that others are zero
Configuration menu - View commit details
-
Copy full SHA for e82f2c2 - Browse repository at this point
Copy the full SHA e82f2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e382d - Browse repository at this point
Copy the full SHA f8e382dView commit details
Commits on Aug 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aaebbdb - Browse repository at this point
Copy the full SHA aaebbdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5434da - Browse repository at this point
Copy the full SHA b5434daView commit details -
Capture this by value instead of local
Since this cannot be captured by ref, it is captured by value instead. The change is to not declare redundant variables
Configuration menu - View commit details
-
Copy full SHA for c77ef2d - Browse repository at this point
Copy the full SHA c77ef2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0f81f0 - Browse repository at this point
Copy the full SHA b0f81f0View commit details
Commits on Aug 25, 2020
-
Use random_value from test_fixture.hpp
Also decrease seed range to make test duration manageable.
Configuration menu - View commit details
-
Copy full SHA for 6c9b272 - Browse repository at this point
Copy the full SHA 6c9b272View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbad958 - Browse repository at this point
Copy the full SHA fbad958View commit details