namespace
#include <include/spice-lib/threshold.hpp>
threshold Includes functions for determining thresholds as well as segmenting images according to a pre-determined threshold.
Contents
- Reference
Functions
Function documentation
template<size_t Channels>
image<float, Channels> spice:: threshold:: adaptive(image<float, Channels>& input,
float threshold,
int radius)
Segment the image channel-wise using an adaptive thresholding mechanism.
Template parameters | |
---|---|
Channels | |
Parameters | |
input | |
threshold | |
radius | |
Returns | image<float, Channels> |
The implemented algorithm is adapted from the paper "Adaptive Thresholding Using the Integral Image" by Bradley and Roth