Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkDiffusionImageCorrectionFilter.h>
Public Member Functions | |
mitkClassMacro (DiffusionImageCorrectionFilter, ImageSource) itkSimpleNewMacro(Self) typedef short DiffusionPixelType | |
void | SetImage (DiffusionImageTypePointer input) |
Set the mitk image ( a 3d+t image ) which is to be reinterpreted as dw image. More... | |
void | CorrectDirections (const TransformsVectorType &) |
Correct each gradient direction according to the given transform. More... | |
void | CorrectDirections (const TransformMatrixType &) |
Correct all gradient directions according to the given transform. More... | |
virtual void | GenerateOutputInformation () override |
Public Member Functions inherited from mitk::ImageSource | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
OutputType * | GetOutput () |
Get the output data of this image source object. More... | |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
Make a DataObject of the correct type to used as the specified output. More... | |
virtual itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
virtual vtkImageData * | GetVtkImageData () |
virtual const vtkImageData * | GetVtkImageData () const |
Public Member Functions inherited from mitk::BaseDataSource | |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Protected Member Functions | |
DiffusionImageCorrectionFilter () | |
virtual | ~DiffusionImageCorrectionFilter () |
TransformMatrixType | GetRotationComponent (const TransformMatrixType &) |
Get the rotation component following the Finite Strain. More... | |
Protected Member Functions inherited from mitk::ImageSource | |
ImageSource () | |
virtual | ~ImageSource () |
virtual void | GenerateData () override |
A version of GenerateData() specific for image processing filters. More... | |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData(). More... | |
virtual void | PrepareOutputs () override |
This method is intentionally left blank. More... | |
virtual void | AllocateOutputs () |
The GenerateData method normally allocates the buffers for all of the outputs of a filter. More... | |
virtual void | BeforeThreadedGenerateData () |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). More... | |
virtual void | AfterThreadedGenerateData () |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). More... | |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion". More... | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
Protected Attributes | |
DiffusionImageTypePointer | m_SourceImage |
Additional Inherited Members | |
Static Public Member Functions inherited from mitk::ImageSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Method for creation through the object factory. More... | |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Static Protected Member Functions inherited from mitk::ImageSource | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Static function used as a "callback" by the MultiThreader. More... | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Definition at line 28 of file mitkDiffusionImageCorrectionFilter.h.
typedef Superclass::OutputType mitk::DiffusionImageCorrectionFilter::DiffusionImageType |
Definition at line 47 of file mitkDiffusionImageCorrectionFilter.h.
Definition at line 48 of file mitkDiffusionImageCorrectionFilter.h.
typedef GradientDirectionContainerType::Pointer mitk::DiffusionImageCorrectionFilter::GradientDirectionContainerPointerType |
Definition at line 43 of file mitkDiffusionImageCorrectionFilter.h.
typedef itk::VectorContainer< unsigned int, GradientDirectionType > mitk::DiffusionImageCorrectionFilter::GradientDirectionContainerType |
Definition at line 42 of file mitkDiffusionImageCorrectionFilter.h.
typedef vnl_vector_fixed< double, 3 > mitk::DiffusionImageCorrectionFilter::GradientDirectionType |
Definition at line 39 of file mitkDiffusionImageCorrectionFilter.h.
typedef itk::VectorImage<DiffusionPixelType,3> mitk::DiffusionImageCorrectionFilter::ImageType |
Definition at line 49 of file mitkDiffusionImageCorrectionFilter.h.
typedef vnl_matrix_fixed< double, 3, 3 > mitk::DiffusionImageCorrectionFilter::TransformMatrixType |
Definition at line 40 of file mitkDiffusionImageCorrectionFilter.h.
typedef std::vector< TransformMatrixType > mitk::DiffusionImageCorrectionFilter::TransformsVectorType |
Definition at line 45 of file mitkDiffusionImageCorrectionFilter.h.
|
protected |
Definition at line 28 of file mitkDiffusionImageCorrectionFilter.cpp.
|
inlineprotectedvirtual |
Definition at line 79 of file mitkDiffusionImageCorrectionFilter.h.
void mitk::DiffusionImageCorrectionFilter::CorrectDirections | ( | const TransformsVectorType & | transformations | ) |
Correct each gradient direction according to the given transform.
The size of the input is expected to correspond to the count of gradient images in the image.
Definition at line 67 of file mitkDiffusionImageCorrectionFilter.cpp.
References mitk::DiffusionPropertyHelper::GRADIENTCONTAINERPROPERTYNAME, mitkThrow, and mitk::New().
void mitk::DiffusionImageCorrectionFilter::CorrectDirections | ( | const TransformMatrixType & | transformation | ) |
Correct all gradient directions according to the given transform.
This will apply the same rotation to all directions.
Definition at line 103 of file mitkDiffusionImageCorrectionFilter.cpp.
References mitk::DiffusionPropertyHelper::GRADIENTCONTAINERPROPERTYNAME, and mitkThrow.
|
inlineoverridevirtual |
Definition at line 74 of file mitkDiffusionImageCorrectionFilter.h.
|
protected |
Get the rotation component following the Finite Strain.
For a given transformation \(A\) its rotation component is defined as \( (AA^{T})^{-1/2}\).
The computation first computes \( B = AA^T \) and then estimates the square root. Square root of diagonal matrices is defined as \( S = Q * \sqrt{C} * Q^{-1} \) with \( C \) having the eigenvalues on the diagonal.
Definition at line 36 of file mitkDiffusionImageCorrectionFilter.cpp.
mitk::DiffusionImageCorrectionFilter::mitkClassMacro | ( | DiffusionImageCorrectionFilter | , |
ImageSource | |||
) |
class macros
|
inline |
Set the mitk image ( a 3d+t image ) which is to be reinterpreted as dw image.
mitkImage |
Definition at line 55 of file mitkDiffusionImageCorrectionFilter.h.
|
protected |
Definition at line 93 of file mitkDiffusionImageCorrectionFilter.h.