zxhproj v 2.2
zxhproj

zxhEdgeBaseT< PixelType > Class Template Reference

zxhEdgeBase.cpp return edge contour points image which is short pixel type, ZXH_Background and ZXH_Foreground only for 2D and 3D More...

#include <zxhEdgeBase.h>

Inheritance diagram for zxhEdgeBaseT< PixelType >:
zxhEdgeCannyT< PixelType > zxhMultiCannyEdge

List of all members.

Public Member Functions

 zxhEdgeBaseT (zxhImageDataT< PixelType > *p)
 zxhEdgeBaseT (zxhImageDataT< PixelType > *p, float *sp)
virtual void SetOrigImage (zxhImageDataT< PixelType > *p)
virtual zxhImageDataT
< PixelType > * 
GetOrigImage ()
virtual void SetEdgeImageSpacing (float *spacing)
virtual void SetEdgeImageSpacing (float spx, float spy, float spz)
virtual bool Evaluate ()=0
 run algorithm to compute the edge image, return whether success
virtual zxhImageDataGetEdgeImage ()
virtual bool RemoveSmallRegions ()
 remove small connected regions

Static Public Member Functions

static bool RemoveSmallRegions (zxhImageData *p)

Protected Attributes

zxhImageDataT< PixelType > * m_pImage
zxhImageData m_EdgeImage
float m_afSpacing [ImageDimensionMax]

Detailed Description

template<class PixelType = PixelTypeDefault>
class zxhEdgeBaseT< PixelType >

zxhEdgeBase.cpp return edge contour points image which is short pixel type, ZXH_Background and ZXH_Foreground only for 2D and 3D


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs