IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
ThresholdT< T > Class Template Referenceabstract

Public Member Functions

 ThresholdT (IntervalT< T > interval)
 Creates an instance of class ThresholdT.
 
Region Process (Image image)
 Applies a threshold on a given single-channel image of type integer and returns a region with selected pixels whose gray values are in the range Interval.Minimum <= gray value <= Interval.Maximum.
 

Properties

IntervalT< T > Interval [get]
 Gets the thresholding interval.
 

Detailed Description

Class for thresholding an image.

Template Parameters
TShall only be interval types.
Since
IDSImaging.Peak.ICV 1.3
Type Constraints
T :struct 
T :IComparable<T> 

Constructor & Destructor Documentation

◆ ThresholdT()

ThresholdT ( IntervalT< T > interval)
inline

Creates an instance of class ThresholdT.

Parameters
intervalInterval with lower and upper threshold value.
Since
IDSImaging.Peak.ICV 1.3

Member Function Documentation

◆ Process()

Region Process ( Image image)
inline

Applies a threshold on a given single-channel image of type integer and returns a region with selected pixels whose gray values are in the range Interval.Minimum <= gray value <= Interval.Maximum.

Supported pixel formats
  • BayerGR8
  • BayerGR10
  • BayerGR12
  • BayerRG8
  • BayerRG10
  • BayerRG12
  • BayerGB8
  • BayerGB10
  • BayerGB12
  • BayerBG8
  • BayerBG10
  • BayerBG12
  • Mono8
  • Mono10
  • Mono12
  • Mono16
  • Confidence8
  • Confidence16
  • Coord3D_C8
  • Coord3D_C16
  • Coord3D_C32f
  • Mono32fIDS
  • Mono32f
  • Mono8_I_A_B
  • BayerRG8_I_A_B
  • BayerBG8_I_A_B
  • BayerGR8_I_A_B
  • BayerGB8_I_A_B
  • Mono10_I_A_B
  • BayerRG10_I_A_B
  • BayerBG10_I_A_B
  • BayerGR10_I_A_B
  • BayerGB10_I_A_B
  • Mono12_I_A_B
  • BayerRG12_I_A_B
  • BayerBG12_I_A_B
  • BayerGR12_I_A_B
  • BayerGB12_I_A_B
  • Mono8_I_AB_CD
  • Mono10_I_AB_CD
  • Mono12_I_AB_CD

See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.

Parameters
imageImage to threshold.
Returns
A region whose intensity values meet the threshold criterion. The region may consist of one or more connected components.
Exceptions
IcvOutOfRangeExceptionThe interval is out of bounds for the pixel format.
IcvNotPossibleExceptionThe image is too big for processing.
Since
IDSImaging.Peak.ICV 1.3

Property Documentation

◆ Interval

Gets the thresholding interval.

Since
IDSImaging.Peak.ICV 1.3