w2img::SegmenterResult Class Reference

List of all members.

Detailed Description

The result of segmentation algorithms (.

See also:
Segmenter) is a SegmenterResult. The image is labeled with region numbers. A value of 0 indicates background; the regions are numbered 1,2,...N
The SegmenterResult also provides a convenience method to quickly extract the number of regions or the maximum label in the image.

Author:
Lakshman
Version:
Id
w2img_SegmenterResult.h,v 1.3 2011/02/15 18:16:14 lakshman Exp


Public Member Functions

 SegmenterResult ()
 SegmenterResult (int xdim, int ydim)
 SegmenterResult (const code::Image< int > &a, int max_label_no)
int getNumRegions () const
int getMaxLabel () const
int getMax () const
SegmenterResult clone () const
SegmenterResult twin () const


Constructor & Destructor Documentation

w2img::SegmenterResult::SegmenterResult (  )  [inline]

w2img::SegmenterResult::SegmenterResult ( int  xdim,
int  ydim 
) [inline]

w2img::SegmenterResult::SegmenterResult ( const code::Image< int > &  a,
int  max_label_no 
) [inline]


Member Function Documentation

SegmenterResult w2img::SegmenterResult::clone (  )  const [inline]

int w2img::SegmenterResult::getMax (  )  const [inline]

int w2img::SegmenterResult::getMaxLabel (  )  const [inline]

int w2img::SegmenterResult::getNumRegions (  )  const [inline]

SegmenterResult w2img::SegmenterResult::twin (  )  const [inline]


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7