Class storing the results of statistics computations on an eVision.EROIBW16. More...
Class storing the results of statistics computations on an eVision.EROIBW16.
Remarks:
License(s): EasyImage
| None eVision.EImageStatisticsBW16.__init__ | ( | self | ) |
Constructs an eVision.EImageStatisticsBW16 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.EImageStatisticsBW16.__init__ | ( | self, | |
| eVision.EImageStatisticsBW16 | other ) |
Constructs an eVision.EImageStatisticsBW16 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.EImageStatisticsBW16 from which to construct this one. |
| None eVision.EImageStatisticsBW16.__init__ | ( | self, | |
| eVision.EROIBW16 | None | image, | ||
| eVision.ERegion | None | region ) |
Constructs an eVision.EImageStatisticsBW16 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.EImageStatisticsBW16.__init__ | ( | self, | |
| eVision.EROIBW16 | None | image ) |
Constructs an eVision.EImageStatisticsBW16 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.EImageStatisticsBW16.GetBinaryMoments | ( | self, | |
| int | maxOrder ) |
Computes the binary moments of pixels above or equal to eVision.EImageStatisticsBW16.HighThreshold up to the requested order on the image (and region) set by eVision.EImageStatisticsBW16.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.EImageStatisticsBW16.GetWeightedMoments | ( | self, | |
| int | maxOrder ) |
Computes the weighted moments up to the requested order on the image (and region) set by eVision.EImageStatisticsBW16.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. |
| eVision.EPoint eVision.EImageStatisticsBW16.GravityCenterOfPixelsAboveHighThreshold | ( | self | ) |
Computes the center of gravity of pixels above or equal to eVision.EImageStatisticsBW16.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the center of gravity above high threshold if it is not computed.
| eVision.EBW16 eVision.EImageStatisticsBW16.HighThreshold | ( | self | ) |
Sets/Gets the high threshold used by eVision.EImageStatisticsBW16.NumberOfPixelsBetweenThresholds and eVision.EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold.
Remarks:
Setting eVision.EImageStatisticsBW16.LowThreshold is not required to use eVision.EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold.
| eVision.EImageStatisticsBW16.HighThreshold | ( | self, | |
| eVision.EBW16 | value ) |
Sets/Gets the high threshold used by eVision.EImageStatisticsBW16.NumberOfPixelsBetweenThresholds and eVision.EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold.
Remarks:
Setting eVision.EImageStatisticsBW16.LowThreshold is not required to use eVision.EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold.
| eVision.EBW16 eVision.EImageStatisticsBW16.LowThreshold | ( | self | ) |
Sets/Gets the low threshold used by eVision.EImageStatisticsBW16.NumberOfPixelsBelowLowThreshold and eVision.EImageStatisticsBW16.NumberOfPixelsBetweenThresholds.
Remarks:
Setting eVision.EImageStatisticsBW16.HighThreshold is not required to use eVision.EImageStatisticsBW16.NumberOfPixelsBelowLowThreshold.
| eVision.EImageStatisticsBW16.LowThreshold | ( | self, | |
| eVision.EBW16 | value ) |
Sets/Gets the low threshold used by eVision.EImageStatisticsBW16.NumberOfPixelsBelowLowThreshold and eVision.EImageStatisticsBW16.NumberOfPixelsBetweenThresholds.
Remarks:
Setting eVision.EImageStatisticsBW16.HighThreshold is not required to use eVision.EImageStatisticsBW16.NumberOfPixelsBelowLowThreshold.
| int eVision.EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold | ( | self | ) |
Computes the number of pixel above or equal to eVision.EImageStatisticsBW16.HighThreshold on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
| int eVision.EImageStatisticsBW16.NumberOfPixelsBelowLowThreshold | ( | self | ) |
Computes the number of pixel strictly below eVision.EImageStatisticsBW16.LowThreshold on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
| int eVision.EImageStatisticsBW16.NumberOfPixelsBetweenThresholds | ( | self | ) |
Computes the number of pixel between eVision.EImageStatisticsBW16.LowThreshold (inclusive) and eVision.EImageStatisticsBW16.HighThreshold (exclusive) on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the number of pixels below/above/between both thresholds if they are not computed.
| float eVision.EImageStatisticsBW16.PixelAverage | ( | self | ) |
Computes the pixel average on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the min, max and average if average wasn't computed previously.
| eVision.EBW16 eVision.EImageStatisticsBW16.PixelMax | ( | self | ) |
Computes the biggest pixel on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the min, max and average if max wasn't computed previously.
| eVision.EBW16 eVision.EImageStatisticsBW16.PixelMin | ( | self | ) |
Computes the lowest pixel on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the min, max and average if min wasn't computed previously.
| float eVision.EImageStatisticsBW16.PixelStdDev | ( | self | ) |
Computes the standard deviation of the pixels on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the standard derivation, variance and average if standard derivation wasn't computed previously.
| float eVision.EImageStatisticsBW16.PixelVariance | ( | self | ) |
Computes the variance of the pixels on the image (and region) set by eVision.EImageStatisticsBW16.SetImage.
Remarks:
Computes the standard derivation, variance and average if variance wasn't computed previously.
| None eVision.EImageStatisticsBW16.SetImage | ( | self, | |
| eVision.EROIBW16 | 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.EImageStatisticsBW16.SetImage | ( | self, | |
| eVision.EROIBW16 | 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. |