![]()  | 
  
    zxhproj v 2.2 
   zxhproj 
   | 
 
zxhMorphology.cpp : operators using morphology binary . all pixels that aren't the intensity of m_Background are regarded as foreground m_Forground is for setting dilation pixel value images operated need to be isotropic, operator step size is based on voxel/pixel size More...
#include <zxhMorphology.h>
Public Member Functions | |
| zxhMorphologyT (PixelType background, PixelType foreground) | |
| zxhMorphologyT< PixelType > * | Clone (zxhMorphologyT< PixelType > *&pRet) | 
| void | SetBinaryValue (PixelType background, PixelType foreground) | 
| void | SetImage (zxhImageDataT< PixelType > *pImage) | 
| zxhImageDataT< PixelType > * | GetImage () | 
| bool | Dilation (int steps) | 
Static Public Member Functions | |
| static bool | Dilation3D (zxhImageDataT< PixelType > *pImage, float steps, PixelType background) | 
| static bool | DilateStep3D (zxhImageDataT< PixelType > *pImage, int steps, PixelType background, PixelType foreground=ZXH_Foreground) | 
| static bool | ErodeStep3D (zxhImageDataT< PixelType > *pImage, int step, PixelType background, PixelType foreground=ZXH_Foreground) | 
| static bool | Erosion3D (zxhImageDataT< PixelType > *pImage, float steps, PixelType background) | 
| static bool | Open3D (zxhImageDataT< PixelType > *pImage, float steps, PixelType background) | 
| static bool | Close3D (zxhImageDataT< PixelType > *pImage, float steps, PixelType background) | 
| static bool | MaskImageOpAnd3D (zxhImageDataT< PixelType > *pDes, zxhImageDataT< PixelType > *pSrc) | 
| static bool | EuclideanTransformBk3D (zxhImageDataT< PixelType > *pImage, zxhImageDataT< float > *pOut, PixelType background) | 
| 3D euclidean transform on background to the boundary of the foreground, currently only CityBlock   | |
| static bool | Threshold3d (zxhImageDataT< PixelType > *pDes, PixelType RangeFrom, PixelType RangeTo, PixelType foreground, PixelType background) | 
Protected Attributes | |
| PixelType | m_BackGround | 
| 3D euclidean transform on background to the foreground  | |
| PixelType | m_ForeGround | 
| zxhImageDataT< PixelType > * | m_pImage | 
zxhMorphology.cpp : operators using morphology binary . all pixels that aren't the intensity of m_Background are regarded as foreground m_Forground is for setting dilation pixel value images operated need to be isotropic, operator step size is based on voxel/pixel size
| bool zxhMorphologyT< PixelType >::Dilation | ( | int | steps | ) |  [inline] | 
        
operators for member image Minkowski addition--binary dilation
| bool zxhMorphologyT< PixelType >::Dilation3D | ( | zxhImageDataT< PixelType > * | pImage, | 
| float | steps, | ||
| PixelType | background | ||
| ) |  [static] | 
        
static operators simple Minkowski addition--binary dilation, only for 2D/3D/4D, 4D are regarded as a set of 3D images and dealt with based on 3D
| bool zxhMorphologyT< PixelType >::EuclideanTransformBk3D | ( | zxhImageDataT< PixelType > * | pImage, | 
| zxhImageDataT< float > * | pOut, | ||
| PixelType | background | ||
| ) |  [static] | 
        
3D euclidean transform on background to the boundary of the foreground, currently only CityBlock
EuclideanTransformBk3D, ensure, image dimension as well vox dimension same between pImage and pOut.