![]() |
IDS peak ICV v1.2.0
|

Public Member Functions | |
| bool | enabled (self) |
| Indicates whether the feature is currently enabled. | |
| None | enabled (self, bool value) |
| 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.Definition at line 6 of file ifeature.py.
| bool enabled | ( | self | ) |
Indicates whether the feature is currently enabled.
Reimplemented in BinningFeature, BinningFeature, ColorCorrectionFeature, ColorCorrectionFeature, DecimationFeature, DecimationFeature, DigitalBlackFeature, DigitalBlackFeature, GainFeature, GainFeature, GammaFeature, GammaFeature, HotpixelCorrectionFeature, HotpixelCorrectionFeature, MirrorFeature, MirrorFeature, RotationFeature, RotationFeature, SaturationFeature, SaturationFeature, SharpeningFeature, and SharpeningFeature.
Definition at line 50 of file ifeature.py.
| None enabled | ( | self, | |
| bool | value ) |
Enables or disables the feature.
| value | Set to True to enable the feature, or False to disable it. |
Reimplemented in BinningFeature, BinningFeature, ColorCorrectionFeature, ColorCorrectionFeature, DecimationFeature, DecimationFeature, DigitalBlackFeature, DigitalBlackFeature, GainFeature, GainFeature, GammaFeature, GammaFeature, HotpixelCorrectionFeature, HotpixelCorrectionFeature, MirrorFeature, MirrorFeature, RotationFeature, RotationFeature, SaturationFeature, SaturationFeature, SharpeningFeature, and SharpeningFeature.
Definition at line 63 of file ifeature.py.
| None reset_to_default | ( | self | ) |
Restores the feature's default values.
The enabled state does not change when calling this function.
Reimplemented in BinningFeature, ColorCorrectionFeature, DecimationFeature, DigitalBlackFeature, GainFeature, GammaFeature, HotpixelCorrectionFeature, MirrorFeature, RotationFeature, SaturationFeature, and SharpeningFeature.
Definition at line 74 of file ifeature.py.