Class storing the results of statistics computations on an eVision.EROIBW8. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EImageStatisticsBW8 object. | |
| None | __init__ (self, eVision.EImageStatisticsBW8 other) |
| Constructs an eVision.EImageStatisticsBW8 object. | |
| None | __init__ (self, eVision.EROIBW8|None image, eVision.ERegion|None region) |
| Constructs an eVision.EImageStatisticsBW8 object. | |
| None | __init__ (self, eVision.EROIBW8|None image) |
| Constructs an eVision.EImageStatisticsBW8 object. | |
| None | SetImage (self, eVision.EROIBW8|None image, eVision.ERegion|None region) |
| Sets the reference to the image on which the statistics will be computed. | |
| None | SetImage (self, eVision.EROIBW8|None image) |
| Sets the reference to the image on which the statistics will be computed. | |
| list[float] | GetBinaryMoments (self, int maxOrder) |
| Computes the binary moments of pixels above or equal to eVision.EImageStatisticsBW8.HighThreshold up to the requested order on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| list[float] | GetWeightedMoments (self, int maxOrder) |
| Computes the weighted moments up to the requested order on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
Properties | |
| LowThreshold = property(_LowThreshold__getter, _LowThreshold__setter) | |
| Sets/Gets the low threshold used by eVision.EImageStatisticsBW8.NumberOfPixelsBelowLowThreshold and eVision.EImageStatisticsBW8.NumberOfPixelsBetweenThresholds. | |
| HighThreshold = property(_HighThreshold__getter, _HighThreshold__setter) | |
| Sets/Gets the high threshold used by eVision.EImageStatisticsBW8.NumberOfPixelsBetweenThresholds and eVision.EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold. | |
| PixelMin = property(_PixelMin__getter, None) | |
| Computes the lowest pixel on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| PixelMax = property(_PixelMax__getter, None) | |
| Computes the biggest pixel on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| PixelAverage = property(_PixelAverage__getter, None) | |
| Computes the pixel average on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| PixelStdDev = property(_PixelStdDev__getter, None) | |
| Computes the standard deviation of the pixels on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| PixelVariance = property(_PixelVariance__getter, None) | |
| Computes the variance of the pixels on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| NumberOfPixelsBelowLowThreshold = property(_NumberOfPixelsBelowLowThreshold__getter, None) | |
| Computes the number of pixel strictly below eVision.EImageStatisticsBW8.LowThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| NumberOfPixelsBetweenThresholds = property(_NumberOfPixelsBetweenThresholds__getter, None) | |
| Computes the number of pixel between eVision.EImageStatisticsBW8.LowThreshold (inclusive) and eVision.EImageStatisticsBW8.HighThreshold (exclusive) on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| NumberOfPixelsAboveHighThreshold = property(_NumberOfPixelsAboveHighThreshold__getter, None) | |
| Computes the number of pixel above or equal to eVision.EImageStatisticsBW8.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
| GravityCenterOfPixelsAboveHighThreshold = property(_GravityCenterOfPixelsAboveHighThreshold__getter, None) | |
| Computes the center of gravity of pixels above or equal to eVision.EImageStatisticsBW8.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage. | |
Class storing the results of statistics computations on an eVision.EROIBW8.
Remarks:
License(s): EasyImage
| None eVision.EImageStatisticsBW8.__init__ | ( | self | ) |
Constructs an eVision.EImageStatisticsBW8 object.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this constructor will have an influence on the behavior of this class.
| None eVision.EImageStatisticsBW8.__init__ | ( | self, | |
| eVision.EImageStatisticsBW8 | other ) |
Constructs an eVision.EImageStatisticsBW8 object.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this constructor will have an influence on the behavior of this class.
| other | The other instance of eVision.EImageStatisticsBW8 from which to construct this one. |
| None eVision.EImageStatisticsBW8.__init__ | ( | self, | |
| eVision.EROIBW8 | None | image, | ||
| eVision.ERegion | None | region ) |
Constructs an eVision.EImageStatisticsBW8 object.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this constructor will have an influence on the behavior of this class.
| image | Reference to the image on which statistics are computed. |
| region | Reference to the region used to delimit the image. |
| None eVision.EImageStatisticsBW8.__init__ | ( | self, | |
| eVision.EROIBW8 | None | image ) |
Constructs an eVision.EImageStatisticsBW8 object.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this constructor will have an influence on the behavior of this class.
| image | Reference to the image on which statistics are computed. |
| list[float] eVision.EImageStatisticsBW8.GetBinaryMoments | ( | self, | |
| int | maxOrder ) |
Computes the binary moments of pixels above or equal to eVision.EImageStatisticsBW8.HighThreshold up to the requested order on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Returns a vector containing the moments in the following order (up to the maxOrder given):
Remarks:
Computes the binary moments up to the requested order if they are not computed.
| maxOrder | Max order (inclusive) of the moments to compute, may be 1 or 2. |
| list[float] eVision.EImageStatisticsBW8.GetWeightedMoments | ( | self, | |
| int | maxOrder ) |
Computes the weighted moments up to the requested order on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Returns a vector containing the moments in the following order (up to the maxOrder given):
Remarks:
Computes the weighted moments up to the requested order if they are not computed.
| maxOrder | Max order (inclusive) of the moments to compute, may be 1, 2, 3 or 4. |
| None eVision.EImageStatisticsBW8.SetImage | ( | self, | |
| eVision.EROIBW8 | None | image ) |
Sets the reference to the image on which the statistics will be computed.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this method will have an influence on the behavior of this class.
| image | Reference to the image on which statistics are computed. |
| None eVision.EImageStatisticsBW8.SetImage | ( | self, | |
| eVision.EROIBW8 | None | image, | ||
| eVision.ERegion | None | region ) |
Sets the reference to the image on which the statistics will be computed.
Remarks:
Image and region aren't copied inside the class. Consequently, modifying them after calling this method will have an influence on the behavior of this class.
| image | Reference to the image on which statistics are computed. |
| region | Reference to the region used to delimit the image. |
|
static |
Computes the center of gravity of pixels above or equal to eVision.EImageStatisticsBW8.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the center of gravity above high threshold if it is not computed.
|
static |
Sets/Gets the high threshold used by eVision.EImageStatisticsBW8.NumberOfPixelsBetweenThresholds and eVision.EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold.
Remarks:
Setting eVision.EImageStatisticsBW8.LowThreshold is not required to use eVision.EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold.
|
static |
Sets/Gets the low threshold used by eVision.EImageStatisticsBW8.NumberOfPixelsBelowLowThreshold and eVision.EImageStatisticsBW8.NumberOfPixelsBetweenThresholds.
Remarks:
Setting eVision.EImageStatisticsBW8.HighThreshold is not required to use eVision.EImageStatisticsBW8.NumberOfPixelsBelowLowThreshold.
|
static |
Computes the number of pixel above or equal to eVision.EImageStatisticsBW8.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
|
static |
Computes the number of pixel strictly below eVision.EImageStatisticsBW8.LowThreshold on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
|
static |
Computes the number of pixel between eVision.EImageStatisticsBW8.LowThreshold (inclusive) and eVision.EImageStatisticsBW8.HighThreshold (exclusive) on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
|
static |
Computes the pixel average on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the min, max and average if average wasn't computed previously.
|
static |
Computes the biggest pixel on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the min, max and average if max wasn't computed previously.
|
static |
Computes the lowest pixel on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the min, max and average if min wasn't computed previously.
|
static |
Computes the standard deviation of the pixels on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the standard derivation, variance and average if standard derivation wasn't computed previously.
|
static |
Computes the variance of the pixels on the image (and region) set by eVision.EImageStatisticsBW8.SetImage.
Remarks:
Computes the standard derivation, variance and average if variance wasn't computed previously.