
Public Member Functions | |
| bool | enabled (self) |
| Gets whether this feature is currently enabled. | |
| None | enabled (self, bool enabled) |
| Enables or disables the feature. | |
| None | reset_to_default (self) |
| Restores the feature's default values. | |
Abstract base class for all image processing pipeline features.
IFeature defines the common interface that all pipeline features must implement. Features represent configurable image processing operations that can be enabled or disabled within an image processing pipeline.
Each feature provides:
enabled propertyreset_to_default()Features are typically used within a pipeline context where they can be selectively enabled or disabled to customize the image processing workflow. When a feature is disabled, it has no effect on the processed image.
Notes:
enabled (getter/setter) and reset_to_default.reset_to_default() will reset the feature's parameters to their default values but will not change the enabled/disabled state.| bool enabled | ( | self | ) |
Gets whether this feature is currently enabled.
Reimplemented in BinningFeature, BinningFeature, ChromaticAdaptionFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, ColorCorrectionFeature, DecimationFeature, DecimationFeature, DigitalBlackFeature, DigitalBlackFeature, GainFeature, GainFeature, GammaFeature, GammaFeature, HotpixelCorrectionFeature, HotpixelCorrectionFeature, MirrorFeature, MirrorFeature, RotationFeature, RotationFeature, SaturationFeature, SaturationFeature, SharpeningFeature, and SharpeningFeature.
| None enabled | ( | self, | |
| bool | enabled ) |
Enables or disables the feature.
| enabled | True to enable, False to disable. |
Reimplemented in BinningFeature, BinningFeature, ChromaticAdaptionFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, ColorCorrectionFeature, DecimationFeature, DecimationFeature, DigitalBlackFeature, DigitalBlackFeature, GainFeature, GainFeature, GammaFeature, GammaFeature, HotpixelCorrectionFeature, HotpixelCorrectionFeature, MirrorFeature, MirrorFeature, RotationFeature, RotationFeature, SaturationFeature, SaturationFeature, SharpeningFeature, and SharpeningFeature.
| None reset_to_default | ( | self | ) |
Restores the feature's default values.
Reimplemented in BinningFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, DecimationFeature, DigitalBlackFeature, GainFeature, GammaFeature, HotpixelCorrectionFeature, MirrorFeature, RotationFeature, SaturationFeature, and SharpeningFeature.