Class storing the results of statistics computations on an EROIBW8. More...
#include <eVision/EasyImage/EImageStatisticsBW8.h>
Public Member Functions | |
| EImageStatisticsBW8 () | |
| Constructs an EImageStatisticsBW8 object. | |
| EImageStatisticsBW8 (const eVision::EImageStatisticsBW8 &other) | |
| Constructs an EImageStatisticsBW8 object. | |
| EImageStatisticsBW8 (const eVision::EROIBW8 *image, const eVision::ERegion *region) | |
| Constructs an EImageStatisticsBW8 object. | |
| EImageStatisticsBW8 (const eVision::EROIBW8 *image) | |
| Constructs an EImageStatisticsBW8 object. | |
| virtual | ~EImageStatisticsBW8 () throw () |
| eVision::EImageStatisticsBW8 & | operator= (const eVision::EImageStatisticsBW8 &other) |
| Assignment operator. | |
| void | SetImage (const eVision::EROIBW8 *image, const eVision::ERegion *region) |
| Sets the reference to the image on which the statistics will be computed. | |
| void | SetImage (const eVision::EROIBW8 *image) |
| Sets the reference to the image on which the statistics will be computed. | |
| void | SetLowThreshold (eVision::EBW8 lowThreshold) |
| Sets/Gets the low threshold used by EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold and EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds. | |
| eVision::EBW8 | GetLowThreshold () |
| Sets/Gets the low threshold used by EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold and EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds. | |
| void | SetHighThreshold (eVision::EBW8 highThreshold) |
| Sets/Gets the high threshold used by EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds and EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold. | |
| eVision::EBW8 | GetHighThreshold () |
| Sets/Gets the high threshold used by EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds and EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold. | |
| eVision::EBW8 | GetPixelMin () |
| Computes the lowest pixel on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| eVision::EBW8 | GetPixelMax () |
| Computes the biggest pixel on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| float | GetPixelAverage () |
| Computes the pixel average on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| float | GetPixelStdDev () |
| Computes the standard deviation of the pixels on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| float | GetPixelVariance () |
| Computes the variance of the pixels on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| uint64_t | GetNumberOfPixelsBelowLowThreshold () |
| Computes the number of pixel strictly below EImageStatisticsBW8::SetLowThreshold on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| uint64_t | GetNumberOfPixelsBetweenThresholds () |
| Computes the number of pixel between EImageStatisticsBW8::SetLowThreshold (inclusive) and EImageStatisticsBW8::SetHighThreshold (exclusive) on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| uint64_t | GetNumberOfPixelsAboveHighThreshold () |
| Computes the number of pixel above or equal to EImageStatisticsBW8::SetHighThreshold on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| eVision::EPoint | GetGravityCenterOfPixelsAboveHighThreshold () |
| Computes the center of gravity of pixels above or equal to EImageStatisticsBW8::SetHighThreshold on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| std::vector< float > | GetBinaryMoments (int32_t maxOrder) |
| Computes the binary moments of pixels above or equal to EImageStatisticsBW8::SetHighThreshold up to the requested order on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| std::vector< float > | GetWeightedMoments (int32_t maxOrder) |
| Computes the weighted moments up to the requested order on the image (and region) set by EImageStatisticsBW8::SetImage. | |
| EImageStatisticsBW8 (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
| eVision::EImageStatisticsBW8::EImageStatisticsBW8 | ( | ) |
Constructs an EImageStatisticsBW8 object.
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.
| eVision::EImageStatisticsBW8::EImageStatisticsBW8 | ( | const eVision::EImageStatisticsBW8 & | other | ) |
Constructs an EImageStatisticsBW8 object.
| other | The other instance of EImageStatisticsBW8 from which to construct this one. |
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.
| eVision::EImageStatisticsBW8::EImageStatisticsBW8 | ( | const eVision::EROIBW8 * | image, |
| const eVision::ERegion * | region ) |
Constructs an EImageStatisticsBW8 object.
| image | Reference to the image on which statistics are computed. |
| region | Reference to the region used to delimit the image. |
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.
| eVision::EImageStatisticsBW8::EImageStatisticsBW8 | ( | const eVision::EROIBW8 * | image | ) |
Constructs an EImageStatisticsBW8 object.
| image | Reference to the image on which statistics are computed. |
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.
|
virtual | ||||||||||||
| eVision::EImageStatisticsBW8::EImageStatisticsBW8 | ( | CppWrapperInternal::InternalConstructor | ) |
| std::vector< float > eVision::EImageStatisticsBW8::GetBinaryMoments | ( | int32_t | maxOrder | ) |
Computes the binary moments of pixels above or equal to EImageStatisticsBW8::SetHighThreshold up to the requested order on the image (and region) set by EImageStatisticsBW8::SetImage.
Returns a vector containing the moments in the following order (up to the maxOrder given):
| maxOrder | Max order (inclusive) of the moments to compute, may be 1 or 2. |
Computes the binary moments up to the requested order if they are not computed.
| eVision::EPoint eVision::EImageStatisticsBW8::GetGravityCenterOfPixelsAboveHighThreshold | ( | ) |
Computes the center of gravity of pixels above or equal to EImageStatisticsBW8::SetHighThreshold on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the center of gravity above high threshold if it is not computed.
| eVision::EBW8 eVision::EImageStatisticsBW8::GetHighThreshold | ( | ) |
Sets/Gets the high threshold used by EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds and EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold.
Setting EImageStatisticsBW8::SetLowThreshold is not required to use EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold.
| eVision::EBW8 eVision::EImageStatisticsBW8::GetLowThreshold | ( | ) |
Sets/Gets the low threshold used by EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold and EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds.
Setting EImageStatisticsBW8::SetHighThreshold is not required to use EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold.
| uint64_t eVision::EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold | ( | ) |
Computes the number of pixel above or equal to EImageStatisticsBW8::SetHighThreshold on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the number of pixels below/above/between both thresholds if they are not computed.
| uint64_t eVision::EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold | ( | ) |
Computes the number of pixel strictly below EImageStatisticsBW8::SetLowThreshold on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the number of pixels below/above/between both thresholds if they are not computed.
| uint64_t eVision::EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds | ( | ) |
Computes the number of pixel between EImageStatisticsBW8::SetLowThreshold (inclusive) and EImageStatisticsBW8::SetHighThreshold (exclusive) on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the number of pixels below/above/between both thresholds if they are not computed.
| float eVision::EImageStatisticsBW8::GetPixelAverage | ( | ) |
Computes the pixel average on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the min, max and average if average wasn't computed previously.
| eVision::EBW8 eVision::EImageStatisticsBW8::GetPixelMax | ( | ) |
Computes the biggest pixel on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the min, max and average if max wasn't computed previously.
| eVision::EBW8 eVision::EImageStatisticsBW8::GetPixelMin | ( | ) |
Computes the lowest pixel on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the min, max and average if min wasn't computed previously.
| float eVision::EImageStatisticsBW8::GetPixelStdDev | ( | ) |
Computes the standard deviation of the pixels on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the standard derivation, variance and average if standard derivation wasn't computed previously.
| float eVision::EImageStatisticsBW8::GetPixelVariance | ( | ) |
Computes the variance of the pixels on the image (and region) set by EImageStatisticsBW8::SetImage.
Computes the standard derivation, variance and average if variance wasn't computed previously.
| std::vector< float > eVision::EImageStatisticsBW8::GetWeightedMoments | ( | int32_t | maxOrder | ) |
Computes the weighted moments up to the requested order on the image (and region) set by EImageStatisticsBW8::SetImage.
Returns a vector containing the moments in the following order (up to the maxOrder given):
| maxOrder | Max order (inclusive) of the moments to compute, may be 1, 2, 3 or 4. |
Computes the weighted moments up to the requested order if they are not computed.
| eVision::EImageStatisticsBW8 & eVision::EImageStatisticsBW8::operator= | ( | const eVision::EImageStatisticsBW8 & | other | ) |
Assignment operator.
| other | The other instance of EImageStatisticsBW8 to assign this one to. |
| void eVision::EImageStatisticsBW8::SetHighThreshold | ( | eVision::EBW8 | highThreshold | ) |
Sets/Gets the high threshold used by EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds and EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold.
| highThreshold | The high threshold. |
Setting EImageStatisticsBW8::SetLowThreshold is not required to use EImageStatisticsBW8::GetNumberOfPixelsAboveHighThreshold.
| void eVision::EImageStatisticsBW8::SetImage | ( | const eVision::EROIBW8 * | image | ) |
Sets the reference to the image on which the statistics will be computed.
| image | Reference to the image on which statistics are computed. |
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.
| void eVision::EImageStatisticsBW8::SetImage | ( | const eVision::EROIBW8 * | image, |
| const eVision::ERegion * | region ) |
Sets the reference to the image on which the statistics will be computed.
| image | Reference to the image on which statistics are computed. |
| region | Reference to the region used to delimit the image. |
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.
| void eVision::EImageStatisticsBW8::SetLowThreshold | ( | eVision::EBW8 | lowThreshold | ) |
Sets/Gets the low threshold used by EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold and EImageStatisticsBW8::GetNumberOfPixelsBetweenThresholds.
| lowThreshold | The low threshold. |
Setting EImageStatisticsBW8::SetHighThreshold is not required to use EImageStatisticsBW8::GetNumberOfPixelsBelowLowThreshold.
| CppWrapperInternal::WrappedClass eVision::EImageStatisticsBW8::wrappedClass_ |