eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EImageStatisticsC24 Class Reference

Class storing the results of statistics computations on an EROIC24. More...

#include <eVision/EasyImage/EImageStatisticsC24.h>

Collaboration diagram for eVision::EImageStatisticsC24:

Public Member Functions

 EImageStatisticsC24 ()
 Constructs an EImageStatisticsC24 object.
 EImageStatisticsC24 (const eVision::EImageStatisticsC24 &other)
 Constructs an EImageStatisticsC24 object.
 EImageStatisticsC24 (const eVision::EROIC24 *image, const eVision::ERegion *region)
 Constructs an EImageStatisticsC24 object.
 EImageStatisticsC24 (const eVision::EROIC24 *image)
 Constructs an EImageStatisticsC24 object.
virtual ~EImageStatisticsC24 () throw ()
eVision::EImageStatisticsC24 & operator= (const eVision::EImageStatisticsC24 &other)
 Assignment operator.
void SetImage (const eVision::EROIC24 *image, const eVision::ERegion *region)
 Sets the reference to the image on which the statistics will be computed.
void SetImage (const eVision::EROIC24 *image)
 Sets the reference to the image on which the statistics will be computed.
std::vector< float > GetPixelAverage ()
 Computes the pixel average on each of the 3 channels of the image (and region) set by EImageStatisticsC24::SetImage.
std::vector< float > GetPixelStdDev ()
 Computes the standard deviations and correlations of the channels of the pixels on the image (and region) set by EImageStatisticsC24::SetImage.
std::vector< float > GetPixelVariances ()
 Computes the variances and covariances of the channels of the pixels on the image (and region) set by EImageStatisticsC24::SetImage.
 EImageStatisticsC24 (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Class storing the results of statistics computations on an EROIC24.

License(s): EasyImage

Constructor & Destructor Documentation

◆ EImageStatisticsC24() [1/5]

eVision::EImageStatisticsC24::EImageStatisticsC24 ( )

Constructs an EImageStatisticsC24 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.

◆ EImageStatisticsC24() [2/5]

eVision::EImageStatisticsC24::EImageStatisticsC24 ( const eVision::EImageStatisticsC24 & other)

Constructs an EImageStatisticsC24 object.

Parameters
otherThe other instance of EImageStatisticsC24 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.

◆ EImageStatisticsC24() [3/5]

eVision::EImageStatisticsC24::EImageStatisticsC24 ( const eVision::EROIC24 * image,
const eVision::ERegion * region )

Constructs an EImageStatisticsC24 object.

Parameters
imageReference to the image on which statistics are computed.
regionReference 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.

◆ EImageStatisticsC24() [4/5]

eVision::EImageStatisticsC24::EImageStatisticsC24 ( const eVision::EROIC24 * image)

Constructs an EImageStatisticsC24 object.

Parameters
imageReference 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.

◆ ~EImageStatisticsC24()

eVision::EImageStatisticsC24::~EImageStatisticsC24 ( )
throw ( )
virtual

◆ EImageStatisticsC24() [5/5]

eVision::EImageStatisticsC24::EImageStatisticsC24 ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetPixelAverage()

std::vector< float > eVision::EImageStatisticsC24::GetPixelAverage ( )

Computes the pixel average on each of the 3 channels of the image (and region) set by EImageStatisticsC24::SetImage.

Computes average if average wasn't computed previously.

◆ GetPixelStdDev()

std::vector< float > eVision::EImageStatisticsC24::GetPixelStdDev ( )

Computes the standard deviations and correlations of the channels of the pixels on the image (and region) set by EImageStatisticsC24::SetImage.

Returns a vector containing:

  • [0] standard deviation of the 1st channel
  • [1] standard deviation of the 2nd channel
  • [2] standard deviation of the 3rd channel
  • [3] correlation between the 1st and 2nd channel
  • [4] correlation between the 2st and 3rd channel
  • [5] correlation between the 3rd and 1st channel

Computes the averages, standard derivations and variances if the standard derivations weren't computed previously.

◆ GetPixelVariances()

std::vector< float > eVision::EImageStatisticsC24::GetPixelVariances ( )

Computes the variances and covariances of the channels of the pixels on the image (and region) set by EImageStatisticsC24::SetImage.

Returns a vector containing:

  • [0] variance of the 1st channel
  • [1] variance of the 2nd channel
  • [2] variance of the 3rd channel
  • [3] covariance between the 1st and 2nd channel
  • [4] covariance between the 2st and 3rd channel
  • [5] covariance between the 3rd and 1st channel

Computes the averages, standard derivation and variances if the variances weren't computed previously.

◆ operator=()

eVision::EImageStatisticsC24 & eVision::EImageStatisticsC24::operator= ( const eVision::EImageStatisticsC24 & other)

Assignment operator.

Parameters
otherThe other instance of EImageStatisticsC24 to assign this one to.

◆ SetImage() [1/2]

void eVision::EImageStatisticsC24::SetImage ( const eVision::EROIC24 * image)

Sets the reference to the image on which the statistics will be computed.

Parameters
imageReference 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.

◆ SetImage() [2/2]

void eVision::EImageStatisticsC24::SetImage ( const eVision::EROIC24 * image,
const eVision::ERegion * region )

Sets the reference to the image on which the statistics will be computed.

Parameters
imageReference to the image on which statistics are computed.
regionReference 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.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EImageStatisticsC24::wrappedClass_