ItalaApiNET  1.3.3
Public Member Functions | List of all members
Itala.IDefectDetection Interface Reference

Interface for defective pixel detection. The description of the process principles is provided in Opto Engineering's camera manuals. The instance must be disposed via IDefectDetection.Dispose when it's no longer required. More...

Inherits IDisposable.

Inherited by Itala.ItalaDefectDetection.

Public Member Functions

void AccumulateDark (IntPtr imageBuffer)
 Dark images are used for both leaky and hotc/cold pixel detection. These images are accumulated via this function.The statistical properties needed for the detection are calculated instantaneously and kept when an image buffer is accumulated. More...
 
void AccumulateGray (IntPtr imageBuffer)
 Gray images are used for hot/cold pixels detection. These images are accumulated via this function. The statistical properties needed for the detection are calculated instantaneously and kept when an image buffer is accumulated. More...
 
void ResetDark ()
 Flush the results computed for the accumulated dark images. This way a new accumulation and detection can be performed. More...
 
void ResetGray ()
 Flush the results computed for the accumulated gray images. This way a new accumulation and detection can be performed. More...
 
List< DefectivePixel > FindLeaky (UInt64 maxFound, float threshold)
 Run the leaky pixel detection given the accumulated dark images. More...
 
List< DefectivePixel > FindHotNCold (UInt64 maxFound, float threshold)
 Run the hot/cold pixel detection given the accumulated gray images. More...
 

Detailed Description

Interface for defective pixel detection. The description of the process principles is provided in Opto Engineering's camera manuals. The instance must be disposed via IDefectDetection.Dispose when it's no longer required.

Member Function Documentation

◆ AccumulateDark()

void Itala.IDefectDetection.AccumulateDark ( IntPtr  imageBuffer)

Dark images are used for both leaky and hotc/cold pixel detection. These images are accumulated via this function.The statistical properties needed for the detection are calculated instantaneously and kept when an image buffer is accumulated.

Parameters
imageBufferBuffer with the data of the image to accumulate.

◆ AccumulateGray()

void Itala.IDefectDetection.AccumulateGray ( IntPtr  imageBuffer)

Gray images are used for hot/cold pixels detection. These images are accumulated via this function. The statistical properties needed for the detection are calculated instantaneously and kept when an image buffer is accumulated.

Parameters
imageBufferBuffer with the data of the image to accumulate.

◆ ResetDark()

void Itala.IDefectDetection.ResetDark ( )

Flush the results computed for the accumulated dark images. This way a new accumulation and detection can be performed.

◆ ResetGray()

void Itala.IDefectDetection.ResetGray ( )

Flush the results computed for the accumulated gray images. This way a new accumulation and detection can be performed.

◆ FindLeaky()

List<DefectivePixel> Itala.IDefectDetection.FindLeaky ( UInt64  maxFound,
float  threshold 
)

Run the leaky pixel detection given the accumulated dark images.

Parameters
maxFoundMaximum amount of leaky pixels to look for.
thresholdDistance from the mean, measured in units of standard deviation, beyond which a pixel is considered defective.
Returns
A list of DefectivePixel obejects, one for each leaky pixel found.

◆ FindHotNCold()

List<DefectivePixel> Itala.IDefectDetection.FindHotNCold ( UInt64  maxFound,
float  threshold 
)

Run the hot/cold pixel detection given the accumulated gray images.

Parameters
maxFoundMaximum amount of leaky pixels to look for.
thresholdDistance from the mean, measured in units of standard deviation, beyond which a pixel is considered defective.
Returns
A list of DefectivePixel obejects, one for each HotNCold pixel found.

The documentation for this interface was generated from the following file: