8 Mirror provides functionality to flip the image left-right or up-down.
10 @supportedPixelformats{ImageTransformation}
12 @note When processing images with a Bayer pattern, the result may have a different pixel format,
13 though the bit depth remains unchanged. Ensure your application can handle potential pixel format changes
16 The default value is no mirroring.
18 @since ids_peak_icv 1.0
19 @ingroup ids_peak_icv_python_pipeline_features
26 Gets whether this feature is currently enabled.
28 @return True if enabled; otherwise False.
30 @since ids_peak_icv 1.0
32 return self.
_module._mirror_enabled
38 Enables or disables the feature.
40 @param enabled: True to enable, False to disable.
42 @since ids_peak_icv 1.0
44 self.
_module._mirror_enabled = enabled
50 Gets the current left-right mirroring setting.
52 @return True if left-right mirroring is enabled so that left and right will be flipped.
54 @since ids_peak_icv 1.0
56 return self.
_module.mirror_left_right
58 @left_right_enabled.setter
62 Sets whether the image should be mirrored left-right.
64 @param value: If true, the image will be mirrored along the vertical axis.
66 @since ids_peak_icv 1.0
68 self.
_module.mirror_left_right = value
74 Gets the current up-down mirroring setting.
76 @return True if up-down mirroring is enabled so that up and down will be flipped.
78 @since ids_peak_icv 1.0
80 return self.
_module.mirror_up_down
82 @up_down_enabled.setter
86 Sets whether the image should be mirrored up-down.
88 @param value: If true, the image will be mirrored along the horizontal axis.
90 @since ids_peak_icv 1.0
92 self.
_module.mirror_up_down = value
97 Resets the mirroring to no mirroring.
99 @note The enabled state does not change when calling this function.
101 @since ids_peak_icv 1.0
105 def __init__(self, module: TransformationModule) ->
None:
108 Creates a MirrorFeature for an existing transformation module.
110 @param module: Reference to the underlying TransformationModule.
112 @since ids_peak_icv 1.0
Abstract base class for all image processing pipeline features.
Mirror provides functionality to flip the image left-right or up-down.
None reset_to_default(self)
Resets the mirroring to no mirroring.
bool up_down_enabled(self)
Gets the current up-down mirroring setting.
bool left_right_enabled(self)
Gets the current left-right mirroring setting.
None __init__(self, TransformationModule module)
Creates a MirrorFeature for an existing transformation module.
bool enabled(self)
Gets whether this feature is currently enabled.