DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkDWISingleVoxelGenerator.h>
Generate DWI data with the same diffusion parameter set for all voxels. If random mode is used, the diffusion parameters are randomly rotated.
Definition at line 35 of file itkDWISingleVoxelGenerator.h.
Public Types | |
typedef Superclass::DiffusionParameterContainerType | DiffusionParameterContainerType |
typedef Superclass::DiffusionParameterValuesType | DiffusionParameterValuesType |
typedef Superclass::MatrixPointer | MatrixPointer |
typedef Superclass::MatrixType | MatrixType |
typedef Superclass::OutputImageDirectionType | OutputImageDirectionType |
typedef Superclass::OutputImageIndexType | OutputImageIndexType |
typedef Superclass::OutputImageInternalPixelType | OutputImageInternalPixelType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImagePointType | OutputImagePointType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageSizeType | OutputImageSizeType |
typedef Superclass::OutputImageSpacingType | OutputImageSpacingType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::PrecisionType | PrecisionType |
enum | RandomType { FIXED =0, UNIFORM } |
typedef Superclass::ScalarImagePointer | ScalarImagePointer |
typedef Superclass::ScalarImageType | ScalarImageType |
typedef DWISingleVoxelGenerator | Self |
typedef Superclass::STDVectorPointer | STDVectorPointer |
typedef Superclass::STDVectorType | STDVectorType |
typedef DWIGeneratorBase< TOutputImage, TScalarImage > | Superclass |
Public Types inherited from itk::DWIGeneratorBase< TOutputImage, TScalarImage > | |
typedef CylinderModelType::Pointer | CylinderModelPointer |
typedef CylinderModelGenerator< double > | CylinderModelType |
typedef std::vector< DiffusionParameterValuesType > | DiffusionParameterContainerType |
typedef std::vector< double > | DiffusionParameterValuesType |
typedef utl_shared_ptr< MatrixType > | MatrixPointer |
typedef utl::NDArray< PrecisionType, 2 > | MatrixType |
enum | ModelType { SYMMETRICAL_TENSOR_IN_CARTESIAN_COORDS =0, SYMMETRICAL_TENSOR_IN_SPHERICAL_COORDS, TENSOR_IN_EULER_ANGLES, CYLINDER_SPHERICAL_MODEL } |
typedef OutputImageType::DirectionType | OutputImageDirectionType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::InternalPixelType | OutputImageInternalPixelType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::PointType | OutputImagePointType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::SpacingType | OutputImageSpacingType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef double | PrecisionType |
typedef SamplingSchemeQSpaceType::Pointer | SamplingSchemeQSpacePointer |
typedef SamplingSchemeQSpace< double > | SamplingSchemeQSpaceType |
typedef SamplingSchemeRSpaceType::Pointer | SamplingSchemeRSpacePointer |
typedef SamplingScheme3D< double > | SamplingSchemeRSpaceType |
typedef ScalarImageType::Pointer | ScalarImagePointer |
typedef TScalarImage | ScalarImageType |
typedef DWIGeneratorBase | Self |
typedef utl_shared_ptr< STDVectorType > | STDVectorPointer |
typedef std::vector< PrecisionType > | STDVectorType |
typedef ImageSource< TOutputImage > | Superclass |
typedef utl::NDArray< PrecisionType, 1 > | VectorType |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
Static Public Attributes inherited from itk::DWIGeneratorBase< TOutputImage, TScalarImage > | |
static const unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
Protected Member Functions | |
DWISingleVoxelGenerator () | |
void | GenerateData () |
void | Initialization () |
LightObject::Pointer | InternalClone () const |
void | PrintSelf (std::ostream &os, Indent indent) const |
~DWISingleVoxelGenerator () | |
Protected Member Functions inherited from itk::DWIGeneratorBase< TOutputImage, TScalarImage > | |
virtual void | AllocateOutputs () ITK_OVERRIDE |
DWIGeneratorBase () | |
LightObject::Pointer | InternalClone () const ITK_OVERRIDE |
void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
~DWIGeneratorBase () | |
Protected Attributes | |
DiffusionParameterValuesType | m_DiffusionParameterValues |
RandomType | m_RandomType |
MatrixPointer | m_StoredOrientationMatrix |
Protected Attributes inherited from itk::DWIGeneratorBase< TOutputImage, TScalarImage > | |
double | m_B0Scale |
CylinderModelPointer | m_CylinderModel |
bool | m_IsOutputDWI |
bool | m_IsOutputEAP |
bool | m_IsOutputMSD |
bool | m_IsOutputODF |
bool | m_IsOutputRTO |
int | m_MaxNumberOfPeaks |
ModelType | m_ModelType |
double | m_NoiseSigma |
unsigned int | m_ODFOrder |
OutputImageDirectionType | m_OutputDirection |
OutputImagePointType | m_OutputOrigin |
OutputImageSizeType | m_OutputSize |
OutputImageSpacingType | m_OutputSpacing |
PeakType | m_PeakType |
SamplingSchemeQSpacePointer | m_SamplingSchemeQSpace |
SamplingSchemeRSpacePointer | m_SamplingSchemeRSpace |
double | m_SNR |
Private Member Functions | |
DWISingleVoxelGenerator (const Self &) | |
void | operator= (const Self &) |
typedef Superclass::DiffusionParameterContainerType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::DiffusionParameterContainerType |
Definition at line 77 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::DiffusionParameterValuesType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::DiffusionParameterValuesType |
Some convenient typedefs for diffusion parameters.
Definition at line 76 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::MatrixPointer itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::MatrixPointer |
Definition at line 71 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::MatrixType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::MatrixType |
Definition at line 70 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageDirectionType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageDirectionType |
Definition at line 56 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageIndexType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageIndexType |
Definition at line 54 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageInternalPixelType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageInternalPixelType |
Definition at line 59 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImagePixelType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImagePixelType |
Definition at line 58 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImagePointer itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImagePointer |
Definition at line 51 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImagePointType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImagePointType |
Definition at line 55 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageRegionType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageRegionType |
Definition at line 57 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageSizeType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageSizeType |
Definition at line 52 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageSpacingType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageSpacingType |
Definition at line 53 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::OutputImageType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::OutputImageType |
Some convenient typedefs.
Definition at line 47 of file itkDWISingleVoxelGenerator.h.
typedef SmartPointer<Self> itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::Pointer |
Definition at line 41 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::PrecisionType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::PrecisionType |
Orientation Matrice Type
Definition at line 69 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::ScalarImagePointer itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::ScalarImagePointer |
Definition at line 66 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::ScalarImageType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::ScalarImageType |
B0 Image
Definition at line 65 of file itkDWISingleVoxelGenerator.h.
typedef DWISingleVoxelGenerator itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::Self |
Standard class typedefs.
Definition at line 39 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::STDVectorPointer itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::STDVectorPointer |
Definition at line 73 of file itkDWISingleVoxelGenerator.h.
typedef Superclass::STDVectorType itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::STDVectorType |
Definition at line 72 of file itkDWISingleVoxelGenerator.h.
typedef DWIGeneratorBase<TOutputImage, TScalarImage> itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::Superclass |
Definition at line 40 of file itkDWISingleVoxelGenerator.h.
enum itk::DWISingleVoxelGenerator::RandomType |
FIXED | fixed fiber configuration for all voxels. |
UNIFORM | If m_StoredOrientationMatrix is not set, then rotate the fiber configruation using a uniformly random rotation matrix. Otherwise, rotate the fiber configruation using the stored m_StoredOrientationMatrix, and m_OutputSize is overridden by the number of stored orienrations. |
GAUSSIAN | rotate the fiber configruation using a random rotation matrix generated by a Riemannian Gaussian distribution. |
Enumerator | |
---|---|
FIXED | |
UNIFORM |
Definition at line 84 of file itkDWISingleVoxelGenerator.h.
|
protected |
Definition at line 30 of file itkDWISingleVoxelGenerator.hxx.
References itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::PrintSelf().
|
inlineprotected |
Definition at line 115 of file itkDWISingleVoxelGenerator.h.
|
private |
virtual::itk::LightObject::Pointer itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::CreateAnother | ( | void | ) | const |
|
protectedvirtual |
Does the real work.
Implements itk::DWIGeneratorBase< TOutputImage, TScalarImage >.
Definition at line 81 of file itkDWISingleVoxelGenerator.hxx.
References itk::PeakContainerHelper::GetDimension(), itk::DiffusionTensor< TPrecision >::GetDWISamples(), itk::DiffusionTensor< TPrecision >::GetEAPSamples(), itk::DiffusionTensor< TPrecision >::GetMeanSquaredDisplacement(), itk::PeakContainerHelper::GetNumberOfPeaks(), itk::DiffusionTensor< TPrecision >::GetODFSamples(), itk::PeakContainerHelper::GetPeak(), itk::DiffusionTensor< TPrecision >::GetReturnToOrigin(), utl::IsInt(), itk::NXYZ, itk::NXYZV, utl::RandomPointInSphere(), itk::DiffusionTensor< TPrecision >::Rotate(), itk::DiffusionTensor< TPrecision >::SetEigenValues(), spams::sort(), utl::spherical2Cartesian(), utl::StdVectorToVnlVector(), utlGlobalException, utlSAException, utlSAGlobalException, utlShowPosition, and itk::XYZV.
Referenced by itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::Initialization().
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::DWIGeneratorBase< TOutputImage, TScalarImage >.
|
virtual |
|
virtual |
|
protectedvirtual |
initialization, test
Reimplemented from itk::DWIGeneratorBase< TOutputImage, TScalarImage >.
Definition at line 68 of file itkDWISingleVoxelGenerator.hxx.
References itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::GenerateData().
Referenced by itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::InternalClone().
|
protected |
Definition at line 50 of file itkDWISingleVoxelGenerator.hxx.
References itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::Initialization().
Referenced by itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::PrintSelf().
|
static |
Method for creation through the object factory.
|
private |
|
protected |
Definition at line 39 of file itkDWISingleVoxelGenerator.hxx.
References itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::InternalClone(), utl::PrintUtlMatrix(), and PrintVar1.
Referenced by itk::DWISingleVoxelGenerator< TOutputImage, TScalarImage >::DWISingleVoxelGenerator().
|
virtual |
diffusion parameters for all voxels
|
virtual |
|
virtual |
|
inline |
Definition at line 93 of file itkDWISingleVoxelGenerator.h.
References CARTESIAN_TO_CARTESIAN, DIRECTION_NODUPLICATE, and DIRECTION_NOFLIP.
|
inline |
Definition at line 98 of file itkDWISingleVoxelGenerator.h.
References CARTESIAN_TO_CARTESIAN, DIRECTION_NODUPLICATE, and DIRECTION_NOFLIP.
|
protected |
Definition at line 125 of file itkDWISingleVoxelGenerator.h.
|
protected |
Definition at line 127 of file itkDWISingleVoxelGenerator.h.
|
protected |
Definition at line 129 of file itkDWISingleVoxelGenerator.h.
|
static |
Output image dimension
Definition at line 62 of file itkDWISingleVoxelGenerator.h.