Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Converts FSL TBSS data (4D skeleton projection images) to a NRRD image with meta data. More...
#include <mitkTbssImporter.h>
Public Types | |
typedef itk::VectorImage< float, 3 > | DataImageType |
Public Member Functions | |
mitkClassMacroItkParent (TbssImporter, itk::Object) static Pointer New() | |
Pointer | Clone () const |
mitk::TbssImage::Pointer | Import () |
Converts the FSL Nifty to NRRD and adds the meta data. More... | |
template<typename TPixel > | |
void | Import (const mitk::PixelType pixelType, mitk::TbssImage::Pointer tbssImg) |
void | SetGroupInfo (std::vector< std::pair< std::string, int > > groups) |
Group info is set by providing a vector with pairs of group name and number. More... | |
void | SetMeasurementInfo (std::string s) |
Used to indicate the type of measurement. More... | |
void | SetImportVolume (mitk::Image::Pointer inputVolume) |
Sets the FSL import volume. More... | |
Protected Member Functions | |
TbssImporter () | |
virtual | ~TbssImporter () |
Protected Attributes | |
DataImageType::Pointer | m_Data |
std::vector< std::pair< std::string, int > > | m_Groups |
std::string | m_MeasurementInfo |
mitk::Image::Pointer | m_InputVolume |
Converts FSL TBSS data (4D skeleton projection images) to a NRRD image with meta data.
The TBSS pipeline of FSL produces a 4D image containing the 3D skeleton projections of all individuals. This class converts the FSL Nifty image to NRRD and adds information about the type of measurement and the study groups.
Definition at line 40 of file mitkTbssImporter.h.
typedef itk::VectorImage<float,3> mitk::TbssImporter::DataImageType |
Definition at line 45 of file mitkTbssImporter.h.
|
inlineprotected |
Definition at line 77 of file mitkTbssImporter.h.
|
inlineprotectedvirtual |
Definition at line 79 of file mitkTbssImporter.h.
Pointer mitk::TbssImporter::Clone | ( | ) | const |
TbssImage::Pointer mitk::TbssImporter::Import | ( | ) |
Converts the FSL Nifty to NRRD and adds the meta data.
Definition at line 27 of file mitkTbssImporter.cpp.
References m_InputVolume, mitkPixelTypeMultiplex1, and mitk::Image::New().
void mitk::TbssImporter::Import | ( | const mitk::PixelType | pixelType, |
mitk::TbssImage::Pointer | tbssImg | ||
) |
Definition at line 35 of file mitkTbssImporter.cpp.
References mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::BaseGeometry::GetOrigin(), mitk::ImagePixelReadAccessor< TPixel, VDimension >::GetPixelByIndex(), mitk::BaseGeometry::GetSpacing(), m_Data, m_Groups, m_InputVolume, m_MeasurementInfo, MITK_ERROR, MITK_INFO, and mitk::New().
mitk::TbssImporter::mitkClassMacroItkParent | ( | TbssImporter | , |
itk::Object | |||
) |
|
inline |
Group info is set by providing a vector with pairs of group name and number.
Definition at line 58 of file mitkTbssImporter.h.
|
inline |
Sets the FSL import volume.
Definition at line 70 of file mitkTbssImporter.h.
|
inline |
Used to indicate the type of measurement.
Definition at line 64 of file mitkTbssImporter.h.
|
protected |
Definition at line 81 of file mitkTbssImporter.h.
Referenced by Import().
|
protected |
Definition at line 83 of file mitkTbssImporter.h.
Referenced by Import().
|
protected |
Definition at line 87 of file mitkTbssImporter.h.
Referenced by Import().
|
protected |
Definition at line 85 of file mitkTbssImporter.h.
Referenced by Import().