#include <ObjectFinderStereo.h>
Public Member Functions | |
void | AddObject (const Object3DEntry &entry) |
void | AddObjectClassifier (CObjectClassifierInterface *pObjectClassifier) |
void | ClearObjectClassifierList () |
void | ClearObjectList () |
CObjectFinderStereo () | |
int | Finalize (float dMinZDistance, float fMaxZDistance, bool bInputImagesAreRectified, ObjectColor finalizeColor=eNone, float fMaxEpipolarDistance=10, bool bUseDistortionParameters=true) |
void | FindObjects (const CByteImage *const *ppImages, CByteImage **ppResultImages, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage) |
void | FindObjects (const CByteImage *const *ppImages, CByteImage **ppResultImages, ObjectColor color, int nMinPointsPerRegion, CByteImage **ppResultSegmentedImages) |
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) |
void | FindObjectsInSegmentedImage (const CByteImage *const *ppImages, CByteImage **ppResultImages, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage) |
CByteImage * | GetLeftSegmentationResult () |
const Object3DList & | GetObject3DList () |
CByteImage * | GetRightSegmentationResult () |
const CStereoCalibration * | GetStereoCalibration () |
bool | Init (const char *pCameraParameterFileName) |
void | Init (CStereoCalibration *pStereoCalibration) |
void | PrepareImages (const CByteImage *const *ppImages, float fROIFactor=-1, bool bCalculateHSVImage=true) |
void | RemoveObjectClassifier (CObjectClassifierInterface *pObjectClassifier) |
void | SetColorParameterSet (const CColorParameterSet *pColorParameterSet) |
void | SetObjectEntryFilter (CObjectEntryFilterInterface *pObjectEntryFilter) |
void | SetRegionFilter (CRegionFilterInterface *pRegionFilter) |
~CObjectFinderStereo () | |
Public Attributes | |
Object3DList | m_objectList |
Protected Member Functions | |
int | DetermineMatches (Object2DList &resultListLeft, Object2DList &resultListRight, float fMinZDistance, float fMaxZDistance, bool bInputImagesAreRectified, bool bUseDistortionParameters, ObjectColor finalizeColor, float fMaxYDiff) |
void | UpdateObjectFinderLists (Object2DList &resultListLeft, Object2DList &resultListRight) |
Protected Attributes | |
CObjectFinder * | m_pObjectFinderLeft |
CObjectFinder * | m_pObjectFinderRight |
CStereoCalibration * | m_pStereoCalibration |
Private Attributes | |
bool | m_bOwnCalibration |
std::vector < CObjectClassifierInterface * > | m_objectClassifierList |
CObjectEntryFilterInterface * | m_pObjectEntryFilter |
Definition at line 73 of file ObjectFinderStereo.h.
Definition at line 65 of file ObjectFinderStereo.cpp.
Definition at line 76 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::AddObject | ( | const Object3DEntry & | entry | ) |
Definition at line 389 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::AddObjectClassifier | ( | CObjectClassifierInterface * | pObjectClassifier | ) |
Definition at line 407 of file ObjectFinderStereo.cpp.
Definition at line 424 of file ObjectFinderStereo.cpp.
Definition at line 382 of file ObjectFinderStereo.cpp.
int CObjectFinderStereo::DetermineMatches | ( | Object2DList & | resultListLeft, |
Object2DList & | resultListRight, | ||
float | fMinZDistance, | ||
float | fMaxZDistance, | ||
bool | bInputImagesAreRectified, | ||
bool | bUseDistortionParameters, | ||
ObjectColor | finalizeColor, | ||
float | fMaxYDiff | ||
) | [protected] |
Definition at line 190 of file ObjectFinderStereo.cpp.
int CObjectFinderStereo::Finalize | ( | float | dMinZDistance, |
float | fMaxZDistance, | ||
bool | bInputImagesAreRectified, | ||
ObjectColor | finalizeColor = eNone , |
||
float | fMaxEpipolarDistance = 10 , |
||
bool | bUseDistortionParameters = true |
||
) |
Definition at line 139 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::FindObjects | ( | const CByteImage *const * | ppImages, |
CByteImage ** | ppResultImages, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
bool | bShowSegmentedImage | ||
) |
Definition at line 153 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::FindObjects | ( | const CByteImage *const * | ppImages, |
CByteImage ** | ppResultImages, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
CByteImage ** | ppResultSegmentedImages | ||
) |
Definition at line 162 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::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 | ||
) |
Definition at line 171 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::FindObjectsInSegmentedImage | ( | const CByteImage *const * | ppImages, |
CByteImage ** | ppResultImages, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
bool | bShowSegmentedImage | ||
) |
Definition at line 180 of file ObjectFinderStereo.cpp.
Definition at line 122 of file ObjectFinderStereo.cpp.
const Object3DList& CObjectFinderStereo::GetObject3DList | ( | ) | [inline] |
Definition at line 111 of file ObjectFinderStereo.h.
Definition at line 127 of file ObjectFinderStereo.cpp.
const CStereoCalibration* CObjectFinderStereo::GetStereoCalibration | ( | ) | [inline] |
Definition at line 104 of file ObjectFinderStereo.h.
bool CObjectFinderStereo::Init | ( | const char * | pCameraParameterFileName | ) |
Definition at line 90 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::Init | ( | CStereoCalibration * | pStereoCalibration | ) |
Definition at line 100 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::PrepareImages | ( | const CByteImage *const * | ppImages, |
float | fROIFactor = -1 , |
||
bool | bCalculateHSVImage = true |
||
) |
Definition at line 133 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::RemoveObjectClassifier | ( | CObjectClassifierInterface * | pObjectClassifier | ) |
Definition at line 412 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::SetColorParameterSet | ( | const CColorParameterSet * | pColorParameterSet | ) |
Definition at line 110 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::SetObjectEntryFilter | ( | CObjectEntryFilterInterface * | pObjectEntryFilter | ) | [inline] |
Definition at line 108 of file ObjectFinderStereo.h.
void CObjectFinderStereo::SetRegionFilter | ( | CRegionFilterInterface * | pRegionFilter | ) |
Definition at line 116 of file ObjectFinderStereo.cpp.
void CObjectFinderStereo::UpdateObjectFinderLists | ( | Object2DList & | resultListLeft, |
Object2DList & | resultListRight | ||
) | [protected] |
Definition at line 337 of file ObjectFinderStereo.cpp.
bool CObjectFinderStereo::m_bOwnCalibration [private] |
Definition at line 138 of file ObjectFinderStereo.h.
std::vector<CObjectClassifierInterface*> CObjectFinderStereo::m_objectClassifierList [private] |
Definition at line 136 of file ObjectFinderStereo.h.
Definition at line 121 of file ObjectFinderStereo.h.
Definition at line 137 of file ObjectFinderStereo.h.
CObjectFinder* CObjectFinderStereo::m_pObjectFinderLeft [protected] |
Definition at line 130 of file ObjectFinderStereo.h.
CObjectFinder* CObjectFinderStereo::m_pObjectFinderRight [protected] |
Definition at line 131 of file ObjectFinderStereo.h.
Definition at line 132 of file ObjectFinderStereo.h.