itk::InverseConsistentLandmarks< PointStorageType, PointSetType > Class Template Reference

#include <itkInverseConsistentLandmarks.h>

Inheritance diagram for itk::InverseConsistentLandmarks< PointStorageType, PointSetType >:
map

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef itk::Image< unsigned
char, 3 > 
ImageType
enum  Landmark_File_Format {
  GEC_LANDMARKS = 0, INTELLX_LANDMARKS, ANALYZE_LANDMARKS, IPL_LANDMARKS,
  IPL_TALAIRACH_BOUNDS_LANDMARKS, IPL_CEREBELLAR_BOUNDS_LANDMARKS, UNKNOWN_LANDMARKS
}
typedef SmartPointer< SelfPointer
typedef PointSetType::Pointer PointSetTypePointer
typedef
InverseConsistentLandmarkPoint
< PointStorageType > 
PointType
typedef InverseConsistentLandmarks Self
typedef std::map< std::string,
PointType
Superclass

Public Member Functions

void AddExtendedPointTypes3D_OnN (const InverseConsistentLandmarks &input, const int nx, const int ny, const int nz)
void AddExtendedPointTypes3D_UnitCube (const InverseConsistentLandmarks &input)
bool ConcatLandmarks (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ConcatLandmarks (const std::string lmrkfilename)
bool ConcatLandmarks (InverseConsistentLandmarks &newlmks)
PointSetTypePointer GetPointSet (typename ImageType::PointType Origin)
unsigned short getTDim (void) const
unsigned short getXDim (void) const
unsigned short getYDim (void) const
unsigned short getZDim (void) const
 InverseConsistentLandmarks (const int XDim, const int YDim, const int ZDim, const int TDim=0)
 InverseConsistentLandmarks (void)
InverseConsistentLandmarksoperator= (const InverseConsistentLandmarks &rhs)
bool PrintPointTypes (void) const
Landmark_File_Format QueryLandmarkFile (const std::string lmrkfilename)
bool ReadAnalyzePointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadAnalyzePointTypes (const std::string lmrkfilename)
bool ReadGECPointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadGECPointTypes (const std::string lmrkfilename)
bool ReadIntellXPointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadIntellXPointTypes (const std::string lmrkfilename)
bool ReadIPLCerebellarPointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadIPLCerebellarPointTypes (const std::string lmrkfilename)
bool ReadIPLPointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadIPLPointTypes (const std::string lmrkfilename)
bool ReadIPLTalairachPointTypes (const std::string lmrkfilename, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadIPLTalairachPointTypes (const std::string lmrkfilename)
bool ReadPointTypes (const std::string lmrkfilenamee, const int XDim, const int YDim, const int ZDim, const int TDim=0)
bool ReadPointTypes (const std::string lmrkfilename)
bool RemoveClosePoints (const PointStorageType distance=0.0)
bool RemoveUnmatchedPoints (InverseConsistentLandmarks &tempmap1)
bool rescale (const int newx, const int newy, const int newz, const int newt)
void setTDim (const unsigned short newt)
void setXDim (const unsigned short newx)
void setYDim (const unsigned short newy)
void setZDim (const unsigned short newz)
bool WriteAnalyzePointTypes (const std::string lmrkfilename) const
bool WriteGECPointTypes (const std::string lmrkfilename) const
bool WriteIntellXPointTypes (const std::string lmrkfilename) const
bool WritePointTypes (const std::string lmrkfilename, const Landmark_File_Format lmkff=GEC_LANDMARKS)
virtual ~InverseConsistentLandmarks (void)

Private Member Functions

bool process_bnd_point (const std::string &CurrentLandmarkName, const char *buffer, const unsigned short local_ImageDims[4], const float local_ImageRes[4], PointType &ModifiedPoint)

Private Attributes

unsigned short ImageDims [4]
float ImageRes [4]

template<typename PointStorageType, class PointSetType>
class itk::InverseConsistentLandmarks< PointStorageType, PointSetType >


Member Typedef Documentation

template<typename PointStorageType , class PointSetType >
typedef SmartPointer< const Self > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConstPointer
template<typename PointStorageType , class PointSetType >
typedef itk::Image< unsigned char, 3 > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageType
template<typename PointStorageType , class PointSetType >
typedef SmartPointer< Self > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Pointer
template<typename PointStorageType , class PointSetType >
typedef PointSetType::Pointer itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PointSetTypePointer
template<typename PointStorageType , class PointSetType >
typedef InverseConsistentLandmarkPoint< PointStorageType > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PointType
template<typename PointStorageType , class PointSetType >
typedef InverseConsistentLandmarks itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Self
template<typename PointStorageType , class PointSetType >
typedef std::map< std::string, PointType > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Superclass

Member Enumeration Documentation

template<typename PointStorageType , class PointSetType >
enum itk::InverseConsistentLandmarks::Landmark_File_Format
Enumerator:
GEC_LANDMARKS 
INTELLX_LANDMARKS 
ANALYZE_LANDMARKS 
IPL_LANDMARKS 
IPL_TALAIRACH_BOUNDS_LANDMARKS 
IPL_CEREBELLAR_BOUNDS_LANDMARKS 
UNKNOWN_LANDMARKS 

Constructor & Destructor Documentation

template<typename PointStorageType , class PointSetType >
itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::InverseConsistentLandmarks ( void   ) 
template<typename PointStorageType , class PointSetType >
itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::InverseConsistentLandmarks ( const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)
template<typename PointStorageType , class PointSetType >
virtual itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::~InverseConsistentLandmarks ( void   )  [inline, virtual]

Member Function Documentation

template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::AddExtendedPointTypes3D_OnN ( const InverseConsistentLandmarks< PointStorageType, PointSetType > &  input,
const int  nx,
const int  ny,
const int  nz 
)
template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::AddExtendedPointTypes3D_UnitCube ( const InverseConsistentLandmarks< PointStorageType, PointSetType > &  input  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks ( const std::string  lmrkfilename  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks ( InverseConsistentLandmarks< PointStorageType, PointSetType > &  newlmks  ) 
template<typename PointStorageType , class PointSetType >
PointSetTypePointer itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::GetPointSet ( typename ImageType::PointType  Origin  )  [inline]
template<typename PointStorageType , class PointSetType >
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getTDim ( void   )  const [inline]
template<typename PointStorageType , class PointSetType >
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getXDim ( void   )  const [inline]

If image was 256x256, then getXDim should return 255, which is the maxXDim available

Returns:
MaxXDim()

References itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageDims.

template<typename PointStorageType , class PointSetType >
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getYDim ( void   )  const [inline]
template<typename PointStorageType , class PointSetType >
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getZDim ( void   )  const [inline]
template<typename PointStorageType , class PointSetType >
InverseConsistentLandmarks& itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::operator= ( const InverseConsistentLandmarks< PointStorageType, PointSetType > &  rhs  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PrintPointTypes ( void   )  const
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::process_bnd_point ( const std::string &  CurrentLandmarkName,
const char buffer,
const unsigned short  local_ImageDims[4],
const float  local_ImageRes[4],
PointType ModifiedPoint 
) [private]
template<typename PointStorageType , class PointSetType >
Landmark_File_Format itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::QueryLandmarkFile ( const std::string  lmrkfilename  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadAnalyzePointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Reads in an Analyze Landmark File, and uses the given dimensions for the image dimensions, NO RESCALING OF LANDMARKS

Parameters:
The landmark filename
XDim The value for XImage Dim
YDim The value for YImage Dim
ZDim The value for ZImage Dim
TDim The value for TImage Dim
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadAnalyzePointTypes ( const std::string  lmrkfilename  ) 

Behavior is flaky at best, because lmks file does not specify image dimensions If this is used, call set[XYZT]Dim immediatly after this call.

template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadGECPointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Shortcut for calling gec::InverseConsistentLandmarks::ReadGECPointTypes(lmrkfilename); gec::InverseConsistentLandmarks::rescale(XDim,YDim,ZDim,TDim);

Parameters:
The landmark filename
XDim the XDimension of the image for the landmarks to be rescaled to
YDim the YDimension of the image for the landmarks to be rescaled to
ZDim the ZDimension of the image for the landmarks to be rescaled to
TDim the TDimension of the image for the landmarks to be rescaled to
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadGECPointTypes ( const std::string  lmrkfilename  ) 

Function for reading a landmark file in GEC landmark format

Parameters:
The landmark filename
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIntellXPointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Reads in a IntellXLandmark File, and uses the given dimensions for the image dimensions, NO RESCALING OF LANDMARKS

Parameters:
The landmark filename
XDim The value for XImage Dim
YDim The value for YImage Dim
ZDim The value for ZImage Dim
TDim The value for TImage Dim
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIntellXPointTypes ( const std::string  lmrkfilename  ) 

Behavior is flaky at best, because lmks file does not specify image dimensions If this is used, call set[XYZT]Dim immediatly after this call.

template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLCerebellarPointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Shortcut for calling

gec::InverseConsistentLandmarks::ReadIPLCerebellarPointTypes(lmrkfilename); gec::InverseConsistentLandmarks::rescale(XDim,YDim,ZDim,TDim);

Parameters:
The landmark filename
XDim the XDimension of the image for the landmarks to be rescaled to
YDim the YDimension of the image for the landmarks to be rescaled to
ZDim the ZDimension of the image for the landmarks to be rescaled to
TDim the TDimension of the image for the landmarks to be rescaled to
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLCerebellarPointTypes ( const std::string  lmrkfilename  ) 

Function for reading a landmark file in IPL talairach bounds format

Parameters:
The landmark filename
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLPointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Shortcut for calling gec::InverseConsistentLandmarks::ReadIPLPointTypes(lmrkfilename); gec::InverseConsistentLandmarks::rescale(XDim,YDim,ZDim,TDim);

Parameters:
The landmark filename
XDim the XDimension of the image for the landmarks to be rescaled to
YDim the YDimension of the image for the landmarks to be rescaled to
ZDim the ZDimension of the image for the landmarks to be rescaled to
TDim the TDimension of the image for the landmarks to be rescaled to
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLPointTypes ( const std::string  lmrkfilename  ) 

Function for reading a landmark file in IPL landmark format

Parameters:
The landmark filename
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLTalairachPointTypes ( const std::string  lmrkfilename,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)

Shortcut for calling gec::InverseConsistentLandmarks::ReadIPLTalairachPointTypes(lmrkfilename); gec::InverseConsistentLandmarks::rescale(XDim,YDim,ZDim,TDim);

Parameters:
The landmark filename
XDim the XDimension of the image for the landmarks to be rescaled to
YDim the YDimension of the image for the landmarks to be rescaled to
ZDim the ZDimension of the image for the landmarks to be rescaled to
TDim the TDimension of the image for the landmarks to be rescaled to
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLTalairachPointTypes ( const std::string  lmrkfilename  ) 

Function for reading a landmark file in IPL talairach bounds format

Parameters:
lmrkfilename The landmark filename
Returns:
true if successful, false if failed
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadPointTypes ( const std::string  lmrkfilenamee,
const int  XDim,
const int  YDim,
const int  ZDim,
const int  TDim = 0 
)
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadPointTypes ( const std::string  lmrkfilename  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::RemoveClosePoints ( const PointStorageType  distance = 0.0  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::RemoveUnmatchedPoints ( InverseConsistentLandmarks< PointStorageType, PointSetType > &  tempmap1  ) 
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::rescale ( const int  newx,
const int  newy,
const int  newz,
const int  newt 
)

This rescales the landmarks to fit a new coordinate system.

Parameters:
newx new ImageDims[0]
newy new ImageDims[1]
newz new ImageDims[2]
newt new ImageDims[3]
Returns:
true if successful
template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setTDim ( const unsigned short  newt  )  [inline]
template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setXDim ( const unsigned short  newx  )  [inline]

If the image is 256x256, then this should be set to 255 because that is the max pixel number of the image.

References itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageDims.

template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setYDim ( const unsigned short  newy  )  [inline]
template<typename PointStorageType , class PointSetType >
void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setZDim ( const unsigned short  newz  )  [inline]
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteAnalyzePointTypes ( const std::string  lmrkfilename  )  const
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteGECPointTypes ( const std::string  lmrkfilename  )  const
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteIntellXPointTypes ( const std::string  lmrkfilename  )  const
template<typename PointStorageType , class PointSetType >
bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WritePointTypes ( const std::string  lmrkfilename,
const Landmark_File_Format  lmkff = GEC_LANDMARKS 
)

Member Data Documentation

template<typename PointStorageType , class PointSetType >
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageDims[4] [private]
template<typename PointStorageType , class PointSetType >
float itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageRes[4] [private]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1