![]() |
IDS peak ICV v1.0.0
|
#include <peak_icv/algorithms/thresholds/peak_icv_threshold.hpp>
Public Member Functions | |
| Threshold (const IntervalType &interval) | |
| Creates an instance of class Threshold. | |
| Threshold (typename IntervalType::type minimum, typename IntervalType::type maximum) | |
| Creates an instance of class Threshold. | |
| peak::icv::experimental::Region | Process (const Image &image) const |
| Applies a threshold on a given single-channel image and returns a region with selected pixels whose gray values are in the range Interval.minimum <= gray value <= Interval.maximum. | |
Static Public Member Functions | |
| static IntervalType | GetRange (const Image &image) |
| Queries the minimum and maximum value of a given image and provides it as an interval. | |
Class for thresholding an image.
| Interval | shall only be interval types |
Definition at line 37 of file peak_icv_threshold.hpp.
|
explicit |
Creates an instance of class Threshold.
| [in] | interval | Interval with lower and upper threshold value. |
Definition at line 118 of file peak_icv_threshold.hpp.
|
explicit |
Creates an instance of class Threshold.
| [in] | minimum | Lower threshold value. |
| [in] | maximum | Upper threshold value. |
Definition at line 123 of file peak_icv_threshold.hpp.
|
static |
Queries the minimum and maximum value of a given image and provides it as an interval.
| [in] | image | This is the image for which the range is calculated. |
Definition at line 143 of file peak_icv_threshold.hpp.
| peak::icv::experimental::Region Process | ( | const Image & | image | ) | const |
Applies a threshold on a given single-channel image and returns a region with selected pixels whose gray values are in the range Interval.minimum <= gray value <= Interval.maximum.
| [in] | image | An image of type Mono8, Mono10, Mono12 or Coord3D_C32f. |
| OutOfRangeException | If the interval is out of bounds for the pixel format. |
| NotPossibleException | If the image is too big for processing. |
Definition at line 128 of file peak_icv_threshold.hpp.