IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
Threshold Class Reference
Inheritance diagram for Threshold:

Public Member Functions

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

Since
IDSImaging.Peak.ICV 1.3

Definition at line 112 of file Threshold.cs.

Constructor & Destructor Documentation

◆ Threshold()

Threshold ( Interval interval)
inline

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

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

Definition at line 121 of file Threshold.cs.

Member Function Documentation

◆ GetRange()

static Interval GetRange ( Image image)
inlinestatic

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

Parameters
imageThe 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 139 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.