Public Member Functions | |
| HotpixelCorrectionFeature (HotpixelCorrectionModule module) | |
| Creates a HotpixelCorrectionFeature for an existing hotpixel correction module. | |
| void | ResetToDefault () |
| Clears the hot pixel list. | |
| void | Detect (Image image, uint sensitivity=3, float gainFactor=1.0F) |
| Performs immediate hot pixel detection on the given image. | |
Properties | |
| IEnumerable< Point > | HotpixelList [get, set] |
| The list of hot pixels to be corrected. | |
| IntervalU | SensitivityRange [get] |
| Returns the valid range of sensitivities. | |
| bool | IsEnabled [get, set] |
| Enables or disables the feature. | |
HotpixelCorrection detects and corrects hot pixels in camera images.
The HotpixelCorrection class is responsible for identifying and correcting defective pixels that consistently report higher-than-expected intensity values.
It allows fine-tuning of the detection sensitivity and management of a hot pixel correction list, which is applied during image processing.
Definition at line 23 of file HotpixelCorrectionFeature.cs.
|
inline |
Creates a HotpixelCorrectionFeature for an existing hotpixel correction module.
| module | Reference to the underlying HotpixelCorrectionModule. |
Definition at line 33 of file HotpixelCorrectionFeature.cs.
|
inline |
Performs immediate hot pixel detection on the given image.
This method analyzes the provided image and detects hot pixels based on the sensitivity setting. The results are stored internally and can be accessed using HotpixelList.
| image | The input image to analyze for hot pixel detection. |
| sensitivity | Sensitivity for hot pixel detection. A higher sensitivity may result in detecting more hot pixels, including possible false positives. |
| gainFactor | Gain factor applied to the image. Used to account for increased noise levels when detecting hot pixels. |
Definition at line 99 of file HotpixelCorrectionFeature.cs.
|
inline |
Clears the hot pixel list.
Implements IFeature.
Definition at line 70 of file HotpixelCorrectionFeature.cs.
|
getset |
The list of hot pixels to be corrected.
Definition at line 41 of file HotpixelCorrectionFeature.cs.
|
getset |
Enables or disables the feature.
Implements IFeature.
Definition at line 57 of file HotpixelCorrectionFeature.cs.
|
get |
Returns the valid range of sensitivities.
The returned interval specifies the minimum and maximum sensitivity values that can be passed to Detect.
Definition at line 54 of file HotpixelCorrectionFeature.cs.