Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

autoblob_Filter Class Reference

#include <autoblob_Filter.h>

Inheritance diagram for autoblob_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

Definition at line 36 of file autoblob_Filter.h.

Public Member Functions

 autoblob_Filter ()
 autoblob_Filter (phColor lower_threshold, phColor upper_threshold, phColor loop_threshold, phColor outcolor, int draw_rects=0, int color_blobs=0, uint32_t color_min_size=0)
 autoblob_Filter (phColor *incolor, phColor *threshold, uint32_t nColors, phColor *outcolor=NULL, int draw_rects=0, int color_blobs=0, uint32_t color_min_size=0)
 ~autoblob_Filter ()
int reset ()
int set (phColor lower_threshold, phColor upper_threshold, phColor loop_threshold)
int set (phColor lower_threshold, phColor upper_threshold, phColor loop_threshold, phColor outcolor, int draw_rects, int color_blobs, uint32_t color_min_size)
int set (phColor *incolor=NULL, phColor *threshold=NULL, uint32_t nColors=0, phColor *outcolor=NULL, int draw_rects=0, int color_blobs=0, uint32_t color_min_size=0)
int setDrawRects (uint32_t draw_rects=0)
int setColorBlobs (uint32_t color_blobs=0)
int setColorMinSize (uint32_t color_min_size=0)
int setOutcolor (phColor outcolor)
int setAutoBlob (int autoblob=1)
int setThresholds (phColor lower_threshold, phColor upper_threshold, phColor loop_threshold)
int setLowerThreshold (phColor lower_threshold)
int setUpperThreshold (phColor upper_threshold)
int setLoopThreshold (phColor loop_threshold)
int setColor (phColor incolor, phColor threshold)
int addColor (phColor incolor, phColor threshold)
int removeColor (phColor incolor, phColor threshold)
int replaceColor (phColor old_incolor, phColor old_threshold, phColor new_incolor, phColor new_threshold)
int removeColors ()
int getBlobData (phAutoBlobData &blobData)
phLiveObjectgetLiveBlobOutput ()
phFiltercloneFilter ()

Protected Member Functions

int filter ()

Private Member Functions

void phColor_to_int32_array (phColor color, int32_t *array)

Private Attributes

uint32_t m_autoblob
uint32_t m_inputFormat
uint32_t m_outputFormat
phColorm_incolor
uint32_t m_incolor_size
phColorm_threshold
uint32_t m_threshold_size
uint32_t m_nColors
phColorm_outcolor
uint32_t m_outcolor_size
phColor m_lower_threshold
int32_t m_lower_thresh [phCOLOR_MAXELEMS]
phColor m_upper_threshold
int32_t m_upper_thresh [phCOLOR_MAXELEMS]
phColor m_loop_threshold
int32_t m_loop_thresh [phCOLOR_MAXELEMS]
int m_draw_rects
int m_color_blobs
uint32_t m_color_min_size
phautoblob_datam_data
phautoblob_args m_args
phAutoBlobData m_blobData


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



Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:28 2007 for phission by  doxygen 1.4.4