mirror of
https://github.com/boostorg/gil.git
synced 2026-01-19 16:22:14 +00:00
863 B
863 B
Adaptive Thresholding
Adaptive Thresholding capabilities in GIL are demonstrated by the program adaptive_threshold, compiled from the sources example/adaptive_threshold.cpp.
Synopsis
adaptive_threshold
The program doesn't take any argument on the command line.
adaptive_threshold expects to find an image called test_adaptive.png in the current directory, and produces one image for each thresholding method:
out-threshold-adaptive-mean.pngout-threshold-adaptive-mean-inv.pngout-threshold-adaptive-gaussian.pngout-threshold-adaptive-gaussian-inv.png.
Specific requirements
Build requirements
- A C++ compiler compliant with C++14 or above
- The PNG library installed and configured.
Execution requirements
adaptive_thresholdexpects to find an image calledtest_adaptive.pngin the current directory.