#include <ObjectColorSegmenter.h>
Public Member Functions | |
void | CalculateSegmentedImage (CByteImage *pResultImage, ObjectColor color) |
CObjectColorSegmenter () | |
void | FindColoredRegions (CByteImage *pResultImage, RegionList ®ionList, int nMinPointsPerRegion) |
void | FindRegionsOfGivenColor (CByteImage *pResultImage, ObjectColor color, RegionList ®ionList, int nMinPointsPerRegion) |
void | FindRegionsOfGivenColor (CByteImage *pResultImage, ObjectColor color, int hue, int hue_tol, int min_sat, int max_sat, int min_v, int max_v, RegionList ®ionList, int nMinPointsPerRegion) |
void | SetColorParameterSet (const CColorParameterSet *pColorParameterSet) |
void | SetImage (const CByteImage *pImage, const Object2DList *pROIList=0) |
~CObjectColorSegmenter () | |
Private Attributes | |
const CColorParameterSet * | m_pColorParameterSet |
CByteImage * | m_pHSVImage |
const CByteImage * | m_pRGBImage |
const Object2DList * | m_pROIList |
CByteImage * | m_pTempImage |
Definition at line 66 of file ObjectColorSegmenter.h.
Definition at line 60 of file ObjectColorSegmenter.cpp.
Definition at line 71 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::CalculateSegmentedImage | ( | CByteImage * | pResultImage, |
ObjectColor | color | ||
) |
Definition at line 141 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::FindColoredRegions | ( | CByteImage * | pResultImage, |
RegionList & | regionList, | ||
int | nMinPointsPerRegion | ||
) |
Definition at line 124 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::FindRegionsOfGivenColor | ( | CByteImage * | pResultImage, |
ObjectColor | color, | ||
RegionList & | regionList, | ||
int | nMinPointsPerRegion | ||
) |
Definition at line 183 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::FindRegionsOfGivenColor | ( | CByteImage * | pResultImage, |
ObjectColor | color, | ||
int | hue, | ||
int | hue_tol, | ||
int | min_sat, | ||
int | max_sat, | ||
int | min_v, | ||
int | max_v, | ||
RegionList & | regionList, | ||
int | nMinPointsPerRegion | ||
) |
Definition at line 210 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::SetColorParameterSet | ( | const CColorParameterSet * | pColorParameterSet | ) |
Definition at line 119 of file ObjectColorSegmenter.cpp.
void CObjectColorSegmenter::SetImage | ( | const CByteImage * | pImage, |
const Object2DList * | pROIList = 0 |
||
) |
Definition at line 85 of file ObjectColorSegmenter.cpp.
const CColorParameterSet* CObjectColorSegmenter::m_pColorParameterSet [private] |
Definition at line 95 of file ObjectColorSegmenter.h.
CByteImage* CObjectColorSegmenter::m_pHSVImage [private] |
Definition at line 101 of file ObjectColorSegmenter.h.
const CByteImage* CObjectColorSegmenter::m_pRGBImage [private] |
Definition at line 100 of file ObjectColorSegmenter.h.
const Object2DList* CObjectColorSegmenter::m_pROIList [private] |
Definition at line 97 of file ObjectColorSegmenter.h.
CByteImage* CObjectColorSegmenter::m_pTempImage [private] |
Definition at line 99 of file ObjectColorSegmenter.h.