Interface for defective pixel detection. The description of the process principles is provided in Opto Engineering's camera manuals. The ownership of the pixel detection instance belongs to the client code, so it needs to be disoposed via IDefectDetection::Dispose when it's no longer required.
◆ AccumulateDark()
virtual void Itala::IDefectDetection::AccumulateDark |
( |
uint8_t * |
imageBuffer | ) |
|
|
pure virtual |
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. The image buffer memory must be managed by the client code, since IDefectDetection doesn't store nor release image data in any way. The image buffer data is passed as generic byte pointer to keep the procedure generic and decoupled from the PFNC formats.
◆ AccumulateGray()
virtual void Itala::IDefectDetection::AccumulateGray |
( |
uint8_t * |
imageBuffer | ) |
|
|
pure virtual |
Gray images are used for hot/cold pixels detection. These images are accumulated via this function.
- See also
- AccumulateDark
◆ ResetDark()
virtual void Itala::IDefectDetection::ResetDark |
( |
| ) |
|
|
pure virtual |
Flush the results computed for the accumulated dark images. This way a new accumulation and detection can be performed.
◆ ResetGray()
virtual void Itala::IDefectDetection::ResetGray |
( |
| ) |
|
|
pure virtual |
Flush the results computed for the accumulated gray images. This way a new accumulation and detection can be performed.
◆ FindLeaky()
virtual DefectivePixelList Itala::IDefectDetection::FindLeaky |
( |
uint64_t |
maxFound, |
|
|
float |
threshold |
|
) |
| |
|
pure virtual |
Run the leaky pixel detection given the accumulated dark images.
- Parameters
-
maxFound | Maximum amount of leaky pixels to look for. |
threshold | Distance 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()
virtual DefectivePixelList Itala::IDefectDetection::FindHotNCold |
( |
uint64_t |
maxFound, |
|
|
float |
threshold |
|
) |
| |
|
pure virtual |
Run the hot/cold pixel detection given the accumulated gray images.
- See also
- FindLeaky
The documentation for this struct was generated from the following file: