eVision Python API
Loading...
Searching...
No Matches
eVision.EImageStatisticsC24 Class Reference

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

Public Member Functions

None __init__ (self)
 Constructs an eVision.EImageStatisticsC24 object.
None __init__ (self, eVision.EImageStatisticsC24 other)
 Constructs an eVision.EImageStatisticsC24 object.
None __init__ (self, eVision.EROIC24|None image, eVision.ERegion|None region)
 Constructs an eVision.EImageStatisticsC24 object.
None __init__ (self, eVision.EROIC24|None image)
 Constructs an eVision.EImageStatisticsC24 object.
None SetImage (self, eVision.EROIC24|None image, eVision.ERegion|None region)
 Sets the reference to the image on which the statistics will be computed.
None SetImage (self, eVision.EROIC24|None image)
 Sets the reference to the image on which the statistics will be computed.
list[float] PixelAverage (self)
 Computes the pixel average on each of the 3 channels of the image (and region) set by eVision.EImageStatisticsC24.SetImage.
list[float] PixelStdDev (self)
 Computes the standard deviations and correlations of the channels of the pixels on the image (and region) set by eVision.EImageStatisticsC24.SetImage.
list[float] PixelVariances (self)
 Computes the variances and covariances of the channels of the pixels on the image (and region) set by eVision.EImageStatisticsC24.SetImage.

Detailed Description

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

Remarks:

License(s): EasyImage

Constructor & Destructor Documentation

◆ __init__() [1/4]

None eVision.EImageStatisticsC24.__init__ ( self)

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

◆ __init__() [2/4]

None eVision.EImageStatisticsC24.__init__ ( self,
eVision.EImageStatisticsC24 other )

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

Parameters
otherThe other instance of eVision.EImageStatisticsC24 from which to construct this one.

◆ __init__() [3/4]

None eVision.EImageStatisticsC24.__init__ ( self,
eVision.EROIC24 | None image,
eVision.ERegion | None region )

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

Parameters
imageReference to the image on which statistics are computed.
regionReference to the region used to delimit the image.

◆ __init__() [4/4]

None eVision.EImageStatisticsC24.__init__ ( self,
eVision.EROIC24 | None image )

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

Parameters
imageReference to the image on which statistics are computed.

Member Function Documentation

◆ PixelAverage()

list[float] eVision.EImageStatisticsC24.PixelAverage ( self)

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

Remarks:

Computes average if average wasn't computed previously.

◆ PixelStdDev()

list[float] eVision.EImageStatisticsC24.PixelStdDev ( self)

Computes the standard deviations and correlations of the channels of the pixels on the image (and region) set by eVision.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

Remarks:

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

◆ PixelVariances()

list[float] eVision.EImageStatisticsC24.PixelVariances ( self)

Computes the variances and covariances of the channels of the pixels on the image (and region) set by eVision.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

Remarks:

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

◆ SetImage() [1/2]

None eVision.EImageStatisticsC24.SetImage ( self,
eVision.EROIC24 | 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.

Parameters
imageReference to the image on which statistics are computed.

◆ SetImage() [2/2]

None eVision.EImageStatisticsC24.SetImage ( self,
eVision.EROIC24 | 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.

Parameters
imageReference to the image on which statistics are computed.
regionReference to the region used to delimit the image.