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

match_Filter Class Reference
[Single FrameAnalysis Filters]

#include <match_Filter.h>

Inheritance diagram for match_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

Match a given value/threshold pair for RGB color channels within an image.

This is an original port from the Pyro(bot) code base that was modified to work within the Phission system. This is meant to be a preprocessing step to be used with blobify_Filter. This filter should be considered deprecated because blob_Filter performs all necessary matching and blobbing where superRGB_Filter, match_Filter and blobify_Filter were used to perform segmentation.

Supports the following formats:

Todo:
remove this filter?

Merge any missing features of this filter into blob_Filter

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

Todo:
add example image inputs and processed image outputs
match_Filter_before.png
match_Filter_after.png

Definition at line 85 of file match_Filter.h.

Public Member Functions

 match_Filter ()
 match_Filter (int r, int g, int b, int tolerance, int outChannel=0, phMatchFormatEnum matchFormat=phMatchOnly)
 match_Filter (int lr, int lg, int lb, int hr, int hg, int hb, int outChannel, phMatchFormatEnum matchFormat=phMatchOnly)
 ~match_Filter ()
int set (int r, int g, int b, int tolerance, int outChannel=0, phMatchFormatEnum matchFormat=phMatchOnly)
int set (int lr, int lg, int lb, int hr, int hg, int hb, int outChannel, phMatchFormatEnum matchFormat=phMatchOnly)
int setMatchFormat (phMatchFormatEnum matchFormat)
phFiltercloneFilter ()

Protected Member Functions

int filter ()

Protected Attributes

int m_lr
int m_lg
int m_lb
int m_hr
int m_hg
int m_hb
int m_outChannel
phMatchFormatEnum m_matchFormat


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:40 2007 for phission by  doxygen 1.4.4