#include <ObjectFinder.h>
Public Member Functions | |
void | AddObject (const Object2DEntry &entry) |
void | ClearObjectList () |
CObjectFinder () | |
int | Finalize () |
void | FindObjects (const CByteImage *pImage, CByteImage *pResultImage, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage) |
void | FindObjects (const CByteImage *pImage, CByteImage *pResultImage, ObjectColor color, int nMinPointsPerRegion, CByteImage *pResultSegmentedImage) |
void | FindObjects (const CByteImage *pImage, CByteImage *pResultImage, 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 *pSegmentedImage, CByteImage *pResultImage, ObjectColor color, int nMinPointsPerRegion, bool bShowSegmentedImage) |
CByteImage * | GetSegmentationResult () |
void | PrepareImages (const CByteImage *pImage, float fROIFactor=-1, bool bCalculateHSVImage=true) |
void | SetColorParameterSet (const CColorParameterSet *pColorParameterSet) |
void | SetRegionFilter (CRegionFilterInterface *pRegionFilter) |
~CObjectFinder () | |
Public Attributes | |
Object2DList | m_objectList |
Private Member Functions | |
void | CheckRegionsForObjects (const CByteImage *pColorImage, const CByteImage *pSegmentedImage, CByteImage *pResultImage, RegionList ®ionList, ObjectColor color) |
Private Attributes | |
bool | m_bUseROI |
int | m_nIDCounter |
CObjectColorSegmenter * | m_pObjectColorSegmenter |
CRegionFilterInterface * | m_pRegionFilter |
CByteImage * | m_pSegmentedImage |
Object2DList | m_ROIList |
Definition at line 69 of file ObjectFinder.h.
Definition at line 67 of file ObjectFinder.cpp.
Definition at line 77 of file ObjectFinder.cpp.
void CObjectFinder::AddObject | ( | const Object2DEntry & | entry | ) |
Definition at line 256 of file ObjectFinder.cpp.
void CObjectFinder::CheckRegionsForObjects | ( | const CByteImage * | pColorImage, |
const CByteImage * | pSegmentedImage, | ||
CByteImage * | pResultImage, | ||
RegionList & | regionList, | ||
ObjectColor | color | ||
) | [private] |
Definition at line 201 of file ObjectFinder.cpp.
Definition at line 251 of file ObjectFinder.cpp.
int CObjectFinder::Finalize | ( | ) |
Definition at line 246 of file ObjectFinder.cpp.
void CObjectFinder::FindObjects | ( | const CByteImage * | pImage, |
CByteImage * | pResultImage, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
bool | bShowSegmentedImage | ||
) |
Definition at line 134 of file ObjectFinder.cpp.
void CObjectFinder::FindObjects | ( | const CByteImage * | pImage, |
CByteImage * | pResultImage, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
CByteImage * | pResultSegmentedImage | ||
) |
Definition at line 155 of file ObjectFinder.cpp.
void CObjectFinder::FindObjects | ( | const CByteImage * | pImage, |
CByteImage * | pResultImage, | ||
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 173 of file ObjectFinder.cpp.
void CObjectFinder::FindObjectsInSegmentedImage | ( | const CByteImage * | pSegmentedImage, |
CByteImage * | pResultImage, | ||
ObjectColor | color, | ||
int | nMinPointsPerRegion, | ||
bool | bShowSegmentedImage | ||
) |
Definition at line 187 of file ObjectFinder.cpp.
CByteImage* CObjectFinder::GetSegmentationResult | ( | ) | [inline] |
Definition at line 98 of file ObjectFinder.h.
void CObjectFinder::PrepareImages | ( | const CByteImage * | pImage, |
float | fROIFactor = -1 , |
||
bool | bCalculateHSVImage = true |
||
) |
Definition at line 95 of file ObjectFinder.cpp.
void CObjectFinder::SetColorParameterSet | ( | const CColorParameterSet * | pColorParameterSet | ) |
Definition at line 90 of file ObjectFinder.cpp.
void CObjectFinder::SetRegionFilter | ( | CRegionFilterInterface * | pRegionFilter | ) | [inline] |
Definition at line 101 of file ObjectFinder.h.
bool CObjectFinder::m_bUseROI [private] |
Definition at line 119 of file ObjectFinder.h.
int CObjectFinder::m_nIDCounter [private] |
Definition at line 118 of file ObjectFinder.h.
Definition at line 123 of file ObjectFinder.h.
Definition at line 113 of file ObjectFinder.h.
Definition at line 116 of file ObjectFinder.h.
CByteImage* CObjectFinder::m_pSegmentedImage [private] |
Definition at line 114 of file ObjectFinder.h.
Object2DList CObjectFinder::m_ROIList [private] |
Definition at line 120 of file ObjectFinder.h.