ImSegment Struct Reference

Public Types

Public Member Functions

Data Fields



Friends


Detailed Description

Image segment (consecutive region of pixels satisfying some value constraint) The list of pixels in this segment are stored as a list of ImPixel objects. Basic geometric properties of the segment can be computed. TODO: beef up the segmentation map to contain all info necessary to go back to the object/fibers and measure more properties.


Member Typedef Documentation

typedef list<ImPixel> ImSegment::Pixlist
typedef Pixlist::const_iterator ImSegment::Pixiter

Constructor & Destructor Documentation

ImSegment::ImSegment (  )  [inline]
ImSegment::ImSegment ( const ImSegment other  )  [inline]
ImSegment::~ImSegment (  )  [virtual]

Member Function Documentation

void ImSegment::addpixel ( const int  x,
const int  y,
const int  z,
const float  v 
)

References mv_, mx_, my_, mz_, pixels_, pixnum_, x1_, x2_, y1_, y2_, z1_, and z2_.

Referenced by ImageSegmenter::mark_pixels_n().

bool ImSegment::evaluate ( void   ) 
bool ImSegment::evalgood (  )  const [inline]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const ImSegment i 
) [friend]

Field Documentation

Referenced by addpixel(), and evaluate().

Referenced by evalgood(), evaluate(), and operator<<().

Referenced by addpixel(), and ImageSegmenter::expand().

Referenced by addpixel(), and ImageSegmenter::expand().

Referenced by addpixel(), and ImageSegmenter::expand().

Referenced by addpixel(), and operator<<().

Referenced by evaluate(), and operator<<().

Referenced by evaluate(), and operator<<().

Referenced by evaluate(), and operator<<().

Referenced by evaluate(), and operator<<().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1