#include <peak_icv/pipeline/features/peak_icv_ifeature.hpp>

Public Member Functions | |
| virtual | ~IFeature ()=default |
| virtual void | SetEnabled (bool enabled)=0 |
| Enables or disables the feature. | |
| virtual bool | IsEnabled () const =0 |
| Gets whether this feature is currently enabled. | |
| virtual void | ResetToDefault ()=0 |
| 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:
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.
Example usage:
|
virtualdefault |
|
pure virtual |
Gets whether this feature is currently enabled.
true if enabled; otherwise false.Implemented in BinningFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, DecimationFeature, DigitalBlackFeature, GainFeature, GammaFeature, HotpixelCorrectionFeature, MirrorFeature, RotationFeature, SaturationFeature, and SharpeningFeature.
|
pure virtual |
Restores the feature's default values.
Implemented in BinningFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, DecimationFeature, DigitalBlackFeature, GainFeature, GammaFeature, HotpixelCorrectionFeature, MirrorFeature, RotationFeature, SaturationFeature, and SharpeningFeature.
|
pure virtual |
Enables or disables the feature.
| enabled | Set to true to enable, or false to disable. |
Implemented in BinningFeature, ChromaticAdaptionFeature, ColorCorrectionFeature, DecimationFeature, DigitalBlackFeature, GainFeature, GammaFeature, HotpixelCorrectionFeature, MirrorFeature, RotationFeature, SaturationFeature, and SharpeningFeature.