CMSERCalculation Class Reference

#include <VisionX/components/image_processor/ObjectLearningByPushing/MSERCalculation.h>

Public Member Functions

 CMSERCalculation (void)
 
 ~CMSERCalculation (void)
 

Static Public Member Functions

static void CreateHSVHistograms (CMSERDescriptor *pDescriptor, const CByteImage *pHSVImage)
 
static CMSERDescriptorCreateMSERDescriptor (std::vector< Vec2d > *aPoints2D, const CByteImage *pHSVImage)
 
static CMSERDescriptor3DCreateMSERDescriptor3D (CMSERDescriptor *pMSERLeft, CMSERDescriptor *pMSERRight, CStereoCalibration *pStereoCalibration)
 
static void CreateWeightedHueHistogramWithinQuadrangle (Vec2d vUp, Vec2d vLow, Vec2d vLeft, Vec2d vRight, const CByteImage *pHSVImage, float *pHistogram, const int nHistogramSize, int &nSaturationSum)
 
static void FindMSERs2D (const CByteImage *pRGBImage, const CByteImage *pHSVImage, std::vector< CMSERDescriptor * > &aMSERDescriptors)
 
static void FindMSERs3D (const CByteImage *pByteImageLeft, const CByteImage *pByteImageRight, CStereoCalibration *pStereoCalibration, const float fToleranceFactor, std::vector< CMSERDescriptor3D * > &aRegions3D)
 
static void GetEigenvaluesAndEigenvectors2D (Mat2d mMatrix2D, float &fLambda1, float &fLambda2, Vec2d &vE1, Vec2d &vE2)
 
static void GetMeanAndCovariance2D (std::vector< Vec2d > &aPoints2D, Vec2d &vMean, Mat2d &mCovariance)
 
static float HistogramDistanceChi2 (CMSERDescriptor *pDescriptor1, CMSERDescriptor *pDescriptor2)
 
static float HistogramDistanceL2 (CMSERDescriptor *pDescriptor1, CMSERDescriptor *pDescriptor2)
 
static void SortQuadrangleCorners (Vec2d *pCorners, Vec2d &vUp, Vec2d &vLow, Vec2d &vLeft, Vec2d &vRight)
 
static void StereoMatchMSERs (const std::vector< CMSERDescriptor * > &aMSERDescriptorsLeft, const std::vector< CMSERDescriptor * > &aMSERDescriptorsRight, CStereoCalibration *pStereoCalibration, const float fToleranceFactor, std::vector< CMSERDescriptor3D * > &aRegions3D)
 

Detailed Description

Definition at line 33 of file MSERCalculation.h.

Constructor & Destructor Documentation

◆ CMSERCalculation()

CMSERCalculation ( void )

Definition at line 43 of file MSERCalculation.cpp.

◆ ~CMSERCalculation()

~CMSERCalculation ( void )

Definition at line 47 of file MSERCalculation.cpp.

Member Function Documentation

◆ CreateHSVHistograms()

void CreateHSVHistograms ( CMSERDescriptor * pDescriptor,
const CByteImage * pHSVImage )
inlinestatic

Definition at line 518 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateMSERDescriptor()

CMSERDescriptor * CreateMSERDescriptor ( std::vector< Vec2d > * aPoints2D,
const CByteImage * pHSVImage )
static

Definition at line 407 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateMSERDescriptor3D()

CMSERDescriptor3D * CreateMSERDescriptor3D ( CMSERDescriptor * pMSERLeft,
CMSERDescriptor * pMSERRight,
CStereoCalibration * pStereoCalibration )
static

Definition at line 441 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateWeightedHueHistogramWithinQuadrangle()

void CreateWeightedHueHistogramWithinQuadrangle ( Vec2d vUp,
Vec2d vLow,
Vec2d vLeft,
Vec2d vRight,
const CByteImage * pHSVImage,
float * pHistogram,
const int nHistogramSize,
int & nSaturationSum )
inlinestatic

Definition at line 757 of file MSERCalculation.cpp.

+ Here is the caller graph for this function:

◆ FindMSERs2D()

void FindMSERs2D ( const CByteImage * pRGBImage,
const CByteImage * pHSVImage,
std::vector< CMSERDescriptor * > & aMSERDescriptors )
static

Definition at line 52 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FindMSERs3D()

void FindMSERs3D ( const CByteImage * pByteImageLeft,
const CByteImage * pByteImageRight,
CStereoCalibration * pStereoCalibration,
const float fToleranceFactor,
std::vector< CMSERDescriptor3D * > & aRegions3D )
static

Definition at line 263 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEigenvaluesAndEigenvectors2D()

void GetEigenvaluesAndEigenvectors2D ( Mat2d mMatrix2D,
float & fLambda1,
float & fLambda2,
Vec2d & vE1,
Vec2d & vE2 )
static

Definition at line 384 of file MSERCalculation.cpp.

+ Here is the caller graph for this function:

◆ GetMeanAndCovariance2D()

void GetMeanAndCovariance2D ( std::vector< Vec2d > & aPoints2D,
Vec2d & vMean,
Mat2d & mCovariance )
static

Definition at line 341 of file MSERCalculation.cpp.

+ Here is the caller graph for this function:

◆ HistogramDistanceChi2()

float HistogramDistanceChi2 ( CMSERDescriptor * pDescriptor1,
CMSERDescriptor * pDescriptor2 )
static

Definition at line 669 of file MSERCalculation.cpp.

◆ HistogramDistanceL2()

float HistogramDistanceL2 ( CMSERDescriptor * pDescriptor1,
CMSERDescriptor * pDescriptor2 )
static

Definition at line 639 of file MSERCalculation.cpp.

◆ SortQuadrangleCorners()

void SortQuadrangleCorners ( Vec2d * pCorners,
Vec2d & vUp,
Vec2d & vLow,
Vec2d & vLeft,
Vec2d & vRight )
static

Definition at line 697 of file MSERCalculation.cpp.

+ Here is the caller graph for this function:

◆ StereoMatchMSERs()

void StereoMatchMSERs ( const std::vector< CMSERDescriptor * > & aMSERDescriptorsLeft,
const std::vector< CMSERDescriptor * > & aMSERDescriptorsRight,
CStereoCalibration * pStereoCalibration,
const float fToleranceFactor,
std::vector< CMSERDescriptor3D * > & aRegions3D )
static

Definition at line 190 of file MSERCalculation.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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