IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Protected Member Functions | Protected Attributes | List of all members
ipsdk::imaproc::shape::analysis::GreyMomentsMsrResults Class Reference

Measurement results object for measure GreyMoments. More...

#include <GreyMomentsMsrResults.h>

Inheritance diagram for ipsdk::imaproc::shape::analysis::GreyMomentsMsrResults:
ipsdk::shape::analysis::BaseCustomMeasureResult ipsdk::shape::analysis::BaseMeasureResult ipsdk::BaseObjectWithSkeleton ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Types

typedef GreyMomentsData ValueType
 measure type associated to object
 
typedef std::vector< ValueTypeCollType
 collection type associated to object
 
typedef std::vector< CollTypeColorCollType
 color (by color plan) collection type associated to object
 

Public Member Functions

Constructors and destructors
 GreyMomentsMsrResults ()
 
 ~GreyMomentsMsrResults ()
 
const CollTypegetColl (const ipsdk::ipUInt64 cPlanIdx=0) const
 retrieve result collection for a given plan index More...
 
CollTypegetColl (const ipsdk::ipUInt64 cPlanIdx=0)
 retrieve result collection for a given plan index More...
 
- Public Member Functions inherited from ipsdk::shape::analysis::BaseCustomMeasureResult
eMsrResultType getMsrResultType () const
 
- Public Member Functions inherited from ipsdk::shape::analysis::BaseMeasureResult
bool isInit () const
 
void init (const ipUInt64 nbColorPlans, const ipUInt64 nbEntities)
 
ipUInt64 getNbColorPlans () const
 
ipUInt64 getNbEntities () const
 
bool isValid (const ipUInt64 cPlanIdx) const
 
void collectResults (const ipUInt64 resultStartIndex, const BaseMeasureResult &baseSubResults)
 
void collectResults (const UInt64Vector &subDataIdxColl, const BaseMeasureResult &baseSubResults)
 
void extractResults (const ipUInt64 resultStartIndex, const BaseMeasureResult &baseMainResults)
 
void extractResults (const UInt64Vector &mainDataIdxColl, const BaseMeasureResult &baseMainResults)
 
void clear ()
 
- Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton
const eSklSrzModegetSerializationMode () const
 
void setSerializationMode (const eSklSrzMode &sklSrzMode) const
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 
virtual BaseDynamicObjectcreateNew () const=0
 
virtual DynamicObjectPtr createShared () const=0
 
virtual bool hasCopySupport () const=0
 
virtual BaseDynamicObjectduplicate () const=0
 
virtual DynamicObjectPtr duplicateShared () const=0
 

Protected Member Functions

void initDerived (const ipsdk::ipUInt64 nbColorPlans, const ipsdk::ipUInt64 nbEntities)
 initialization of object in derived class
 
void clearDerived ()
 clear of object data in derived class
 
void collectResultsDerived (const ipsdk::ipUInt64 resultStartIndex, const ipsdk::shape::analysis::BaseMeasureResult &baseSubResults)
 merge of a sub result into object in derived class
 
void collectResultsDerived (const ipsdk::UInt64Vector &subDataIdxColl, const ipsdk::shape::analysis::BaseMeasureResult &baseSubResults)
 merge of a sub result into object in derived class
 
void extractResultsDerived (const ipsdk::ipUInt64 resultStartIndex, const ipsdk::shape::analysis::BaseMeasureResult &baseMainResults)
 extract of a sub result from another object
 
void extractResultsDerived (const ipsdk::UInt64Vector &mainDataIdxColl, const ipsdk::shape::analysis::BaseMeasureResult &baseMainResults)
 extract of a sub result from another object
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 
virtual BoolResult read (BaseIArchive &ar)
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 

Protected Attributes

ColorCollType _coll
 result collection associated to object
 
- Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton
eSklSrzMode _sklSrzMode
 

Additional Inherited Members

- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 

Detailed Description

Measurement results object for measure GreyMoments.

Author
R. Abbal
Date
2017/03/23

Measure allowing to compute the zeroth to the third moment ponderated by the gray level of each pixel for shape

Member Function Documentation

◆ getColl() [1/2]

const CollType& ipsdk::imaproc::shape::analysis::GreyMomentsMsrResults::getColl ( const ipsdk::ipUInt64  cPlanIdx = 0) const

retrieve result collection for a given plan index

Exceptions
ipsdk::shape::analysis::IPSDKBaseShapeAnalysisExceptionif isValid(cPlanIdx) == false

◆ getColl() [2/2]

CollType& ipsdk::imaproc::shape::analysis::GreyMomentsMsrResults::getColl ( const ipsdk::ipUInt64  cPlanIdx = 0)

retrieve result collection for a given plan index

Exceptions
ipsdk::shape::analysis::IPSDKBaseShapeAnalysisExceptionif isValid(cPlanIdx) == false

The documentation for this class was generated from the following file: