#include <itkInverseConsistentLandmarks.h>
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| 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< Self > | Pointer |
| 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) | |
| InverseConsistentLandmarks & | operator= (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] |
| typedef SmartPointer< const Self > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConstPointer |
| typedef itk::Image< unsigned char, 3 > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageType |
| typedef SmartPointer< Self > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Pointer |
| typedef PointSetType::Pointer itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PointSetTypePointer |
| typedef InverseConsistentLandmarkPoint< PointStorageType > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PointType |
| typedef InverseConsistentLandmarks itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Self |
| typedef std::map< std::string, PointType > itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::Superclass |
| enum itk::InverseConsistentLandmarks::Landmark_File_Format |
| itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::InverseConsistentLandmarks | ( | void | ) |
| itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::InverseConsistentLandmarks | ( | const int | XDim, | |
| const int | YDim, | |||
| const int | ZDim, | |||
| const int | TDim = 0 | |||
| ) |
| virtual itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::~InverseConsistentLandmarks | ( | void | ) | [inline, virtual] |
| void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::AddExtendedPointTypes3D_OnN | ( | const InverseConsistentLandmarks< PointStorageType, PointSetType > & | input, | |
| const int | nx, | |||
| const int | ny, | |||
| const int | nz | |||
| ) |
| void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::AddExtendedPointTypes3D_UnitCube | ( | const InverseConsistentLandmarks< PointStorageType, PointSetType > & | input | ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks | ( | const std::string | lmrkfilename, | |
| const int | XDim, | |||
| const int | YDim, | |||
| const int | ZDim, | |||
| const int | TDim = 0 | |||
| ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks | ( | const std::string | lmrkfilename | ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ConcatLandmarks | ( | InverseConsistentLandmarks< PointStorageType, PointSetType > & | newlmks | ) |
| PointSetTypePointer itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::GetPointSet | ( | typename ImageType::PointType | Origin | ) | [inline] |
| unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getTDim | ( | void | ) | const [inline] |
| unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getXDim | ( | void | ) | const [inline] |
If image was 256x256, then getXDim should return 255, which is the maxXDim available
References itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageDims.
| unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getYDim | ( | void | ) | const [inline] |
| unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getZDim | ( | void | ) | const [inline] |
| InverseConsistentLandmarks& itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::operator= | ( | const InverseConsistentLandmarks< PointStorageType, PointSetType > & | rhs | ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::PrintPointTypes | ( | void | ) | const |
| 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] |
| Landmark_File_Format itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::QueryLandmarkFile | ( | const std::string | lmrkfilename | ) |
| 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
| 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 |
| 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.
| 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);
| 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 |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadGECPointTypes | ( | const std::string | lmrkfilename | ) |
Function for reading a landmark file in GEC landmark format
| The | landmark filename |
| 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
| 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 |
| 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.
| 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);
| 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 |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLCerebellarPointTypes | ( | const std::string | lmrkfilename | ) |
Function for reading a landmark file in IPL talairach bounds format
| The | landmark filename |
| 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);
| 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 |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLPointTypes | ( | const std::string | lmrkfilename | ) |
Function for reading a landmark file in IPL landmark format
| The | landmark filename |
| 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);
| 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 |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadIPLTalairachPointTypes | ( | const std::string | lmrkfilename | ) |
Function for reading a landmark file in IPL talairach bounds format
| lmrkfilename | The landmark filename |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadPointTypes | ( | const std::string | lmrkfilenamee, | |
| const int | XDim, | |||
| const int | YDim, | |||
| const int | ZDim, | |||
| const int | TDim = 0 | |||
| ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ReadPointTypes | ( | const std::string | lmrkfilename | ) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::RemoveClosePoints | ( | const PointStorageType | distance = 0.0 |
) |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::RemoveUnmatchedPoints | ( | InverseConsistentLandmarks< PointStorageType, PointSetType > & | tempmap1 | ) |
| 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.
| newx | new ImageDims[0] | |
| newy | new ImageDims[1] | |
| newz | new ImageDims[2] | |
| newt | new ImageDims[3] |
| void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setTDim | ( | const unsigned short | newt | ) | [inline] |
| 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.
| void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setYDim | ( | const unsigned short | newy | ) | [inline] |
| void itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setZDim | ( | const unsigned short | newz | ) | [inline] |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteAnalyzePointTypes | ( | const std::string | lmrkfilename | ) | const |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteGECPointTypes | ( | const std::string | lmrkfilename | ) | const |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WriteIntellXPointTypes | ( | const std::string | lmrkfilename | ) | const |
| bool itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::WritePointTypes | ( | const std::string | lmrkfilename, | |
| const Landmark_File_Format | lmkff = GEC_LANDMARKS | |||
| ) |
unsigned short itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageDims[4] [private] |
Referenced by itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getTDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getXDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getYDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::getZDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setTDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setXDim(), itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setYDim(), and itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::setZDim().
float itk::InverseConsistentLandmarks< PointStorageType, PointSetType >::ImageRes[4] [private] |
1.6.1