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

graphSegmentation_Filter Class Reference
[Image Processing FiltersImage Processing Filters]

#include <graphSegmentation_Filter.h>

Inheritance diagram for graphSegmentation_Filter:

phFilter phFilter phMutex phMutex phObject phObject List of all members.

Detailed Description

This filter executes a custom version of Efficient Graph Based Segmentation. The output from this filter is the new image in which objects segmented by this algorithm are made to be one solid color. This allows the blob_Filter to use Nearest Neighbor segmentation and return color information and coordinates of the objects.

For best results, run a gaussian/mean/median filter before this filter.

Definition at line 134 of file graphSegmentation_Filter.h.

Public Member Functions

 graphSegmentation_Filter (uint32_t min_size=250, uint32_t threshold=450, int color_blobs=1)
 ~graphSegmentation_Filter ()
int set (uint32_t min_size, uint32_t threshold, int color_blobs)
int setMinSize (uint32_t min_size)
int setThreshold (uint32_t threshold)
int setColorBlobs (int color_blobs)
uint32_t getMinSize ()
uint32_t getThreshold ()
int getColorBlobs ()
phFiltercloneFilter ()
 graphSegmentation_Filter (uint32_t min_size=250, uint32_t threshold=450, int color_blobs=1)
 ~graphSegmentation_Filter ()
int set (uint32_t min_size, uint32_t threshold, int color_blobs)
int setMinSize (uint32_t min_size)
int setThreshold (uint32_t threshold)
int setColorBlobs (int color_blobs)
uint32_t getMinSize ()
uint32_t getThreshold ()
int getColorBlobs ()
phFiltercloneFilter ()

Protected Member Functions

int filter ()
int filter ()

Private Member Functions

void SegmentImage ()
int SegmentGraph ()
void ProcessGraph ()
void SegmentImage ()
int SegmentGraph ()
void ProcessGraph ()

Private Attributes

uint32_t m_num_edges
ph_edgem_edges
uint32_t m_edges_size
phUniversem_universe
float * m_thresholds
uint32_t m_thresholds_size
uint8_tm_output
uint32_t m_output_size
uint32_t m_min_size
uint32_t m_thresh
uint32_t m_last_thresh
uint32_t m_last_thresholds_size
int m_color_blobs
ph_edgem_edges
phUniversem_universe
float * m_thresholds
uint8_tm_output


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