zxhproj v 2.2
zxhproj

zxhMultiCannyEdge Class Reference

zxhEdgeCanny.cpp return canny edge contour points image, no gaussian filter is applied here More...

#include <zxhMultiCannyEdge.h>

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

List of all members.

Public Member Functions

virtual bool Evaluate ()
 run algorithm to compute the edge image, return whether success
virtual void SetSurfacBaseImage (zxhImageData *p)
 need to be same size/spacing with result EdgeImage
virtual void SetAtlasBaseImage (zxhImageData *p)
 need to be same size/spacing with result EdgeImage
virtual void SetBluredImage (zxhImageData *p)
 highly blured image for computing the NV
virtual void SetNumberMultiPartialEdgeImages (int i)
virtual void SetMultiPartialEdgeImages (zxhImageData **p)
 all the canny edge image input should be same size/spacing with the m_pSurfaceBase image
virtual zxhImageDataT< float > * GetDisplaceVectorFromSurface ()
virtual zxhImageDataT< float > * GetDisplaceVectorFromCorrect ()
virtual void SetSearchingRange (float r)
virtual void SetSearchStepLength (float l)
virtual void SetMaskImage (zxhImageData *p)
 mask image for search edge points
virtual void SetEdgePointGrayRange (float f, float t)
virtual void SetMaintainTimes (int it)
virtual void SetMaintainNeighbour (float f)
virtual void SetMaintainAccuracy (float f)
virtual long int SearchMultiCannyEdges (float fSearchRange, float fSearchStepLength, zxhImageData *pMask, float aGrayRange[2])
 1. search
virtual long int SmoothBoundary (int nMainTimes, float fNeighbour, float fAccuracy)
 2. smooth using average
virtual long int RemovingJaggedShape (int nMainTimes, float fNeighbour, float fAccuracy)
 2.1 Removing dentation/jagged shape points ( far points )
virtual long int FillingJaggedShape (int nMainTimes, float fNeighbour, float fAccuracy)
 2.2 Filling removed dentation/jagged shape points (missing points)

Static Public Attributes

static const int EdgePoint = ZXH_Foreground
static const int FoundEdge = -ZXH_Foreground
static const int InactivateGrayRange = -ZXH_Foreground

Protected Attributes

zxhImageDatam_pSurfaceBase
zxhImageDatam_pAtlasBase
zxhImageDatam_pImageBlur
 highly blured image for computing the NV
int m_nPartialEdges
zxhImageData ** m_pPartialEdges
 all the canny edge image input should be same size/spacing with the m_pSurfaceBase image
zxhImageDataT< float > m_aDVsurf [3]
zxhImageDataT< float > m_aDVcor [3]
float m_fSearchRange
float m_fSearchStepLength
zxhImageDatam_pMaskImage
 mask image for search edge points
float m_afGrayRange [2]
int m_iMainTimes
float m_fNeighbour
float m_fAccuracy

Detailed Description

zxhEdgeCanny.cpp return canny edge contour points image, no gaussian filter is applied here


Member Function Documentation

long int zxhMultiCannyEdge::SmoothBoundary ( int  nMainTimes,
float  fNeighbour,
float  fAccuracy 
) [virtual]

2. smooth using average

. Smooth boundary For each candidate correct point If |Candidate correct point ¨C d-mm neighbour points average candidate point| > fAccuracy or no corresponding candidate Correct point = d-mm neighbour points average candidate point DV Else Accepted


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