IDS peak ICV v1.5.0
Loading...
Searching...
No Matches
ThresholdF Class Reference
Inheritance diagram for ThresholdF:

Public Member Functions

 ThresholdF (IntervalF interval)
 Creates an instance of class Threshold for thresholding images of type float.
 
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.
 

Static Public Member Functions

static IntervalF GetRange (Image image)
 Queries the minimum and maximum representable pixel values for the specified image’s pixel format.
 

Properties

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

Detailed Description

Class for thresholding an image of type float.

Since
IDSImaging.Peak.ICV 1.3

Constructor & Destructor Documentation

◆ ThresholdF()

ThresholdF ( IntervalF interval)
inline

Creates an instance of class Threshold for thresholding images of type float.

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

Member Function Documentation

◆ GetRange()

static IntervalF GetRange ( Image image)
inlinestatic

Queries the minimum and maximum representable pixel values for the specified image’s pixel format.

Parameters
imageThis is the image for which the range is calculated.
Returns
The interval [min, max] of representable pixel values for the image’s pixel format.
Exceptions
IcvNotSupportedExceptionThe image format is not supported.
Since
IDSImaging.Peak.ICV 1.3

◆ Process()

Region Process ( Image image)
inlineinherited

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

IntervalT<T> Interval
getinherited

Gets the thresholding interval.

Since
IDSImaging.Peak.ICV 1.3