zxhproj v 2.2
zxhproj
|
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>
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 zxhImageData * | GetEdgeImage () |
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] |
zxhEdgeBase.cpp return edge contour points image which is short pixel type, ZXH_Background and ZXH_Foreground only for 2D and 3D