IDS peak ICV v1.3.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

Definition at line 160 of file Threshold.cs.

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

Definition at line 169 of file Threshold.cs.

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

Definition at line 187 of file Threshold.cs.

◆ 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
  • Mono8
  • Mono10
  • Mono12
  • Mono16
  • Coord3D_C32f

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

Definition at line 65 of file Threshold.cs.

Property Documentation

◆ Interval

IntervalT<T> Interval
getinherited

Gets the thresholding interval.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 38 of file Threshold.cs.