NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Attributes | List of all members
itk::Patch Class Reference

Public Member Functions

 Patch ()
 
void SetCoordinate (int i, int j)
 
void GetCoordinate (int &i, int &j)
 
void AddDensePixel (float xIndex, float yIndex)
 
void AddNonDensePixel (float xIndex, float yIndex)
 
float GetNumberOfPixels (void)
 
float GetNumberOfDensePixels (void)
 
void GetCenter (float &xIndex, float &yIndex)
 
void Print (const char *indent, float maxNumberOfPixels)
 

Protected Attributes

int iPatch
 
int jPatch
 
float nPixels
 
float nDensePixels
 
float sumXindices
 
float sumYindices
 

Constructor & Destructor Documentation

itk::Patch::Patch ( )
inline

Member Function Documentation

void itk::Patch::AddDensePixel ( float  xIndex,
float  yIndex 
)
inline
void itk::Patch::AddNonDensePixel ( float  xIndex,
float  yIndex 
)
inline
void itk::Patch::GetCenter ( float &  xIndex,
float &  yIndex 
)
inline
void itk::Patch::GetCoordinate ( int i,
int j 
)
inline
float itk::Patch::GetNumberOfDensePixels ( void  )
inline
float itk::Patch::GetNumberOfPixels ( void  )
inline
void itk::Patch::Print ( const char *  indent,
float  maxNumberOfPixels 
)
inline
void itk::Patch::SetCoordinate ( int  i,
int  j 
)
inline

Member Data Documentation

int itk::Patch::iPatch
protected
int itk::Patch::jPatch
protected
float itk::Patch::nDensePixels
protected
float itk::Patch::nPixels
protected
float itk::Patch::sumXindices
protected
float itk::Patch::sumYindices
protected

The documentation for this class was generated from the following file: