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

Public Member Functions | |
| None | __init__ (self, DownsamplingModule module) |
| Creates a BinningFeature for an existing downsampling module. | |
| 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) |
| Resets all settings to the default configuration: | |
| int | x (self) |
| Gets the current number of columns used for binning. | |
| None | x (self, int value) |
| Sets the number of columns used for binning. | |
| int | y (self) |
| Gets the current number of rows used for binning. | |
| None | y (self, int value) |
| Sets the number of rows used for binning. | |
| BinningMode | mode (self) |
| Gets the current BinningMode. | |
| None | mode (self, BinningMode value) |
| Sets the BinningMode. | |
| Interval | range (self) |
| Gets the valid range for the binning factors x and y. | |
Protected Attributes | |
| _module = module | |
Binning is used to decrease the image size.
|
|
|
|
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.
This method reduces resolution by summarizing or averaging groups of pixels in the horizontal (x) and/or vertical (y) directions. It helps preserve image quality by minimizing aliasing artifacts.
Default configuration:
Definition at line 39 of file binning_feature.py.
| None __init__ | ( | self, | |
| DownsamplingModule | module ) |
Creates a BinningFeature for an existing downsampling module.
| module | Reference to the underlying DownsamplingModule. |
Definition at line 70 of file binning_feature.py.
| bool enabled | ( | self | ) |
Indicates whether the feature is currently enabled.
Reimplemented from IFeature.
Definition at line 82 of file binning_feature.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 from IFeature.
Definition at line 93 of file binning_feature.py.
| BinningMode mode | ( | self | ) |
Gets the current BinningMode.
Definition at line 170 of file binning_feature.py.
| None mode | ( | self, | |
| BinningMode | value ) |
Sets the BinningMode.
| value | The BinningMode to set. |
Definition at line 182 of file binning_feature.py.
| Interval range | ( | self | ) |
Gets the valid range for the binning factors x and y.
The returned interval specifies the minimum and maximum values that can be passed to object.x or object.y.
Definition at line 194 of file binning_feature.py.
| None reset_to_default | ( | self | ) |
Resets all settings to the default configuration:
Reimplemented from IFeature.
Definition at line 103 of file binning_feature.py.
| int x | ( | self | ) |
Gets the current number of columns used for binning.
Definition at line 118 of file binning_feature.py.
| None x | ( | self, | |
| int | value ) |
Sets the number of columns used for binning.
| value | An integer value representing the number of columns summarized/averaged during binning. Valid values are within the range returned by object.range. |
| OutOfRangeException | If value is outside the valid range. |
Definition at line 130 of file binning_feature.py.
| int y | ( | self | ) |
Gets the current number of rows used for binning.
Definition at line 144 of file binning_feature.py.
| None y | ( | self, | |
| int | value ) |
Sets the number of rows used for binning.
| value | An integer value representing the number of rows summarized/averaged during binning. Valid values are within the range returned by object.range. |
| OutOfRangeException | If value is outside the valid range. |
Definition at line 156 of file binning_feature.py.
|
protected |
Definition at line 79 of file binning_feature.py.