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

blob_Filter Class Reference
[Image Processing FiltersAnalysis FiltersSingle Frame]

#include <blob_Filter.h>

Inheritance diagram for blob_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

General Blobbing/Segmentation Filter outputs blob locations and dimensions.

Supports the following formats:

Todo:
add example image inputs and processed image outputs

add example application code that shows how the processed images were output

blob_Filter.jpg
follow_trail_aaai_000298.jpg
SoccerBallBlob.jpg

Definition at line 70 of file blob_Filter.h.

Public Member Functions

 blob_Filter ()
 blob_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)
 blob_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)
 ~blob_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 setNeighborBlob (int neighborblob=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 (phBlobData &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_neighborblob
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
phblob_datam_data
phblob_args m_args
phBlobData 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:29 2007 for phission by  doxygen 1.4.4