CVB++ 14.0
Cvb::Foundation::Moments Namespace Reference

Namespace for image moments related tools from the Foundation package. More...

Classes

class  HuMoments
 Results of Hu Moment calculation. More...
 
class  ImageMoments
 State object for calculating various image moments. More...
 

Typedefs

typedef std::shared_ptr< ImageMomentsImageMomentsPtr
 Convenience shared pointer for ImageMoments.
 

Enumerations

enum class  MomentsCalculation { FavorNone = CExports::MC_FavorNone , FavorSpeed = CExports::MC_FavorSpeed , FavorAccuracy = CExports::MC_FavorAccuracy }
 Choose between speed and accuracy during image moment calculation. More...
 
enum class  MomentsOrder { Order0 = 0 , Order1 = 1 , Order2 = 2 , Order3 = 3 }
 Enumerated order for x and y central or spatial moments. More...
 
enum class  MomentsNormalization { Unnormalized , Normalized }
 Available normalization modes for moment calculations. More...
 

Detailed Description

Namespace for image moments related tools from the Foundation package.

Remarks
CMake users: Link to imported target CVB::CvbFoundationMoments

Enumeration Type Documentation

◆ MomentsCalculation

enum class MomentsCalculation
strong

Choose between speed and accuracy during image moment calculation.

Enumerator
FavorNone 

Favor neither speed nor accuracy.

FavorSpeed 

Favor speed over accuracy during moments calculation.

FavorAccuracy 

Favor accuracy over speed during moments calculation.

◆ MomentsNormalization

enum class MomentsNormalization
strong

Available normalization modes for moment calculations.

Enumerator
Unnormalized 

Report moments unnormalized.

Normalized 

Report moments normalized.

◆ MomentsOrder

enum class MomentsOrder
strong

Enumerated order for x and y central or spatial moments.

Enumerator
Order0 

0th order

Order1 

1st order

Order2 

2nd order

Order3 

3rd order