42 #ifndef _OBJECT_FINDER_STEREO_H_ 43 #define _OBJECT_FINDER_STEREO_H_ 84 bool Init(
const char *pCameraParameterFileName);
95 void FindObjects(
const CByteImage *
const *ppImages,
CByteImage **ppResultImages,
ObjectColor colorName,
int hue,
int hue_tol,
int min_sat,
int max_sat,
int min_v,
int max_v,
int nMinPointsPerRegion,
bool bShowSegmentedImage);
99 int Finalize(
float dMinZDistance,
float fMaxZDistance,
bool bInputImagesAreRectified,
ObjectColor finalizeColor =
eNone,
float fMaxEpipolarDistance = 10,
bool bUseDistortionParameters =
true);
void PrepareImages(const CByteImage *const *ppImages, float fROIFactor=-1, bool bCalculateHSVImage=true)
std::vector< CObjectClassifierInterface * > m_objectClassifierList
int Finalize(float dMinZDistance, float fMaxZDistance, bool bInputImagesAreRectified, ObjectColor finalizeColor=eNone, float fMaxEpipolarDistance=10, bool bUseDistortionParameters=true)
CByteImage * GetRightSegmentationResult()
void AddObject(const Object3DEntry &entry)
const CStereoCalibration * GetStereoCalibration()
CByteImage * GetLeftSegmentationResult()
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
void RemoveObjectClassifier(CObjectClassifierInterface *pObjectClassifier)
void SetRegionFilter(CRegionFilterInterface *pRegionFilter)
CObjectEntryFilterInterface * m_pObjectEntryFilter
void FindObjects(const CByteImage *const *ppImages, CByteImage **ppResultImages, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage)
void ClearObjectClassifierList()
void SetColorParameterSet(const CColorParameterSet *pColorParameterSet)
Object3DList m_objectList
CObjectFinder * m_pObjectFinderRight
std::vector< Object2DEntry > Object2DList
Camera model and functions for a stereo camera system.
const Object3DList & GetObject3DList()
void SetObjectEntryFilter(CObjectEntryFilterInterface *pObjectEntryFilter)
CStereoCalibration * m_pStereoCalibration
void FindObjectsInSegmentedImage(const CByteImage *const *ppImages, CByteImage **ppResultImages, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage)
int DetermineMatches(Object2DList &resultListLeft, Object2DList &resultListRight, float fMinZDistance, float fMaxZDistance, bool bInputImagesAreRectified, bool bUseDistortionParameters, ObjectColor finalizeColor, float fMaxYDiff)
void AddObjectClassifier(CObjectClassifierInterface *pObjectClassifier)
bool Init(const char *pCameraParameterFileName)
Camera model parameters and functions for a single camera.
std::vector< Object3DEntry > Object3DList
void UpdateObjectFinderLists(Object2DList &resultListLeft, Object2DList &resultListRight)
CObjectFinder * m_pObjectFinderLeft