CVBpy 14.1
HuMoments Class Reference

Results of Hu moment calculation. More...

Inherits object.

Public Member Functions

None HuMoments (self, Optional[float] m1, Optional[float] m2, Optional[float] m3, Optional[float] m4, Optional[float] m5, Optional[float] m6, Optional[float] m7)
 Create the object either specifying all the moments or specifying none. More...
 

Properties

 m1 = property
 float: Gets or sets Hu moment m1.
 
 m2 = property
 float: Gets or sets Hu moment m2.
 
 m3 = property
 float: Gets or sets Hu moment m3.
 
 m4 = property
 float: Gets or sets Hu moment m4.
 
 m5 = property
 float: Gets or sets Hu moment m5.
 
 m6 = property
 float: Gets or sets Hu moment m6.
 
 m7 = property
 float: Gets or sets Hu moment m7.
 

Detailed Description

Results of Hu moment calculation.

Constructor & Destructor Documentation

◆ HuMoments()

None HuMoments (   self,
Optional[float]  m1,
Optional[float]  m2,
Optional[float]  m3,
Optional[float]  m4,
Optional[float]  m5,
Optional[float]  m6,
Optional[float]  m7 
)

Create the object either specifying all the moments or specifying none.

However, HuMoments is usually not directly instantiated, but rather received as a result of moments calculation.

Parameters

m1 : Optional[float] Hu Moment m1.

m2 : Optional[float] Hu Moment m2.

m3 : Optional[float] Hu Moment m3.

m4 : Optional[float] Hu Moment m4.

m5 : Optional[float] Hu Moment m5.

m6 : Optional[float] Hu Moment m6.

m7 : Optional[float] Hu Moment m7.