17 #ifndef _SEGMENTABLE_RECOGNITION_H_ 18 #define _SEGMENTABLE_RECOGNITION_H_ 63 bool Init(
const char *pColorParameterFile,
const char *pCameraParameterFileDeprecated,
const char *pCameraParameterFile,
64 const char *pObjectDatabaseConfigurationFile,
const char* pDataPathPrefix = 0);
120 int nMinPixelsPerRegion,
bool bBlobsOnly =
false,
float fMaxEpipolarDistance = 10,
121 ObjectColor color =
eNone,
bool bTrack =
false,
bool bInputImagesAreUndistorted =
false);
137 int nMinPixelsPerRegion,
float fMaxEpipolarDistance = 10,
138 ObjectColor color =
eNone,
bool bTrack =
false,
bool bInputImagesAreUndistorted =
false);
179 int nMinPixelsPerRegion = 500,
bool bBlobsOnly =
false,
float fMaxEpipolarDistance = 10,
180 ObjectColor color =
eNone,
bool bTrack =
false,
bool bInputImagesAreUndistorted =
false);
183 int nMinPixelsPerRegion,
bool bBlobsOnly,
float fMaxEpipolarDistance,
bool bInputImagesAreUndistorted);
const CStereoCalibration * GetStereoCalibration()
Object3DList m_object3DList
void SetRecognitionThresholds(float fSizeRatioThreshold, float fCorrelationThreshold)
const CColorParameterSet * GetColorParameterSet()
void FindAndClassifyBlobs(CObjectFinderStereo *pObjectFinderStereo, const CByteImage *const *ppInputImages, CByteImage **pResultImages, CByteImage *pGrayImage, const char *pObjectName, ObjectColor color, int nMinPixelsPerRegion, bool bBlobsOnly, float fMaxEpipolarDistance, bool bInputImagesAreUndistorted)
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
void DoRecognition(const CByteImage *const *ppInputImages, CByteImage **ppResultImages, int nMinPixelsPerRegion, bool bBlobsOnly=false, float fMaxEpipolarDistance=10, ObjectColor color=eNone, bool bTrack=false, bool bInputImagesAreUndistorted=false)
CRegionFilterInterface * m_pCompactRegionFilter
CSegmentableRecognition()
~CSegmentableRecognition()
CByteImage * m_pGrayImageSmall
void _DoRecognition(const CByteImage *const *ppInputImages, CByteImage **ppResultImages, const char *pObjectName=0, int nMinPixelsPerRegion=500, bool bBlobsOnly=false, float fMaxEpipolarDistance=10, ObjectColor color=eNone, bool bTrack=false, bool bInputImagesAreUndistorted=false)
bool AddClass(const std::string &classPath)
void SetVerbose(bool bVerbose)
bool InitWithoutDatabase(CColorParameterSet *pColorParameterSet, CStereoCalibration *pStereoCalibration)
void DoRecognitionSingleObject(const CByteImage *const *ppInputImages, CByteImage **ppResultImages, const char *pObjectName, int nMinPixelsPerRegion, float fMaxEpipolarDistance=10, ObjectColor color=eNone, bool bTrack=false, bool bInputImagesAreUndistorted=false)
GLsizei const GLchar ** string
Camera model and functions for a stereo camera system.
void PostProcessResultList()
bool Init(const char *pColorParameterFile, const char *pCameraParameterFileDeprecated, const char *pCameraParameterFile, const char *pObjectDatabaseConfigurationFile, const char *pDataPathPrefix=0)
CColorParameterSet * m_pColorParameterSet
CSegmentableDatabase * m_pSegmentableDatabase
CByteImage * m_pGrayImageBig
CSegmentableDatabase * GetObjectDatabase()
const Object3DList & GetObject3DList()
void SetStereoCalibration(CStereoCalibration *pStereoCalibration)
bool RecognizeAndLocalizeObject(CByteImage *pGrayImage, Object3DEntry &entry, const char *pObjectName)
std::vector< Object3DEntry > Object3DList
CObjectFinderStereo * m_pObjectFinderStereo