Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CObjectFinder Class Reference

#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)
 
CByteImageGetSegmentationResult ()
 
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 &regionList, ObjectColor color)
 

Private Attributes

bool m_bUseROI
 
int m_nIDCounter
 
CObjectColorSegmenterm_pObjectColorSegmenter
 
CRegionFilterInterfacem_pRegionFilter
 
CByteImagem_pSegmentedImage
 
Object2DList m_ROIList
 

Detailed Description

Definition at line 69 of file ObjectFinder.h.

Constructor & Destructor Documentation

CObjectFinder::CObjectFinder ( )

Definition at line 67 of file ObjectFinder.cpp.

CObjectFinder::~CObjectFinder ( )

Definition at line 77 of file ObjectFinder.cpp.

Member Function Documentation

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.

void CObjectFinder::ClearObjectList ( )

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.

Member Data Documentation

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.

Object2DList CObjectFinder::m_objectList

Definition at line 123 of file ObjectFinder.h.

CObjectColorSegmenter* CObjectFinder::m_pObjectColorSegmenter
private

Definition at line 113 of file ObjectFinder.h.

CRegionFilterInterface* CObjectFinder::m_pRegionFilter
private

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.


The documentation for this class was generated from the following files:


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28