Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Simulates k-space acquisition of one slice with a single shot EPI sequence. Enables the simulation of various effects occuring during real MR acquisitions: More...
#include <itkKspaceImageFilter.h>
Public Member Functions | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
virtual void | SetSpikesPerSlice (unsigned int _arg) |
Number of spikes per slice. Corresponding parameter in fiberfox parameter object specifies the number of spikes for the whole image and can thus not be used here. More... | |
virtual void | SetZ (double _arg) |
Slice position, necessary for eddy current simulation. More... | |
virtual void | SetUseConstantRandSeed (bool _arg) |
Use constant seed for random generator for reproducible results. ONLY USE FOR TESTING PURPOSES! More... | |
virtual void | SetRotation (DoubleVectorType _arg) |
virtual void | SetTranslation (DoubleVectorType _arg) |
virtual void | SetZidx (int _arg) |
virtual void | SetFiberBundle (FiberBundle::Pointer _arg) |
virtual void | SetCoilPosition (DoubleVectorType _arg) |
virtual InputImageType::Pointer | GetKSpaceImage () |
k-space magnitude image More... | |
virtual std::string | GetSpikeLog () |
void | SetParameters (FiberfoxParameters< double > *param) |
void | SetCompartmentImages (std::vector< InputImagePointerType > cImgs) |
One signal image per compartment. More... | |
void | SetT2 (std::vector< double > t2Vector) |
One T2 relaxation constant per compartment image. More... | |
void | SetT1 (std::vector< double > t1Vector) |
One T1 relaxation constant per compartment image. More... | |
void | SetDiffusionGradientDirection (itk::Vector< double, 3 > g) |
Gradient direction is needed for eddy current simulation. More... | |
Public Member Functions inherited from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > > | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
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 |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > > | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Method for creation through the object factory. More... | |
Protected Member Functions | |
KspaceImageFilter () | |
~KspaceImageFilter () | |
double | CoilSensitivity (DoubleVectorType &pos) |
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... | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadID) |
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... | |
double | InterpolateFmapValue (itk::Point< float, 3 > itkP) |
Protected Member Functions inherited from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > > | |
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 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 Attributes | |
DoubleVectorType | m_CoilPosition |
FiberfoxParameters< double > * | m_Parameters |
vector< double > | m_T2 |
vector< double > | m_T1 |
vector< InputImagePointerType > | m_CompartmentImages |
itk::Vector< double, 3 > | m_DiffusionGradientDirection |
double | m_Z |
int | m_Zidx |
bool | m_UseConstantRandSeed |
unsigned int | m_SpikesPerSlice |
FiberBundle::Pointer | m_FiberBundle |
double | m_Gamma |
DoubleVectorType | m_Rotation |
used to find correct point in frequency map (head motion) More... | |
DoubleVectorType | m_Translation |
used to find correct point in frequency map (head motion) More... | |
bool | m_IsBaseline |
vcl_complex< double > | m_Spike |
MatrixType | m_Transform |
std::string | m_SpikeLog |
double | m_CoilSensitivityFactor |
InputImageType::Pointer | m_KSpaceImage |
InputImageType::Pointer | m_TimeFromEchoImage |
InputImageType::Pointer | m_ReadoutTimeImage |
AcquisitionType * | m_ReadoutScheme |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Static function used as a "callback" by the MultiThreader. More... | |
Simulates k-space acquisition of one slice with a single shot EPI sequence. Enables the simulation of various effects occuring during real MR acquisitions:
Definition at line 52 of file itkKspaceImageFilter.h.
typedef SmartPointer<const Self> itk::KspaceImageFilter< TPixelType >::ConstPointer |
Definition at line 60 of file itkKspaceImageFilter.h.
typedef itk::Vector< double,3> itk::KspaceImageFilter< TPixelType >::DoubleVectorType |
Definition at line 76 of file itkKspaceImageFilter.h.
typedef InputImageType::Pointer itk::KspaceImageFilter< TPixelType >::InputImagePointerType |
Definition at line 71 of file itkKspaceImageFilter.h.
typedef itk::Image< double, 2 > itk::KspaceImageFilter< TPixelType >::InputImageType |
Definition at line 70 of file itkKspaceImageFilter.h.
typedef itk::Image<double, 3> itk::KspaceImageFilter< TPixelType >::ItkDoubleImgType |
Definition at line 77 of file itkKspaceImageFilter.h.
typedef itk::Matrix<double, 3, 3> itk::KspaceImageFilter< TPixelType >::MatrixType |
Definition at line 74 of file itkKspaceImageFilter.h.
typedef Superclass::OutputImageRegionType itk::KspaceImageFilter< TPixelType >::OutputImageRegionType |
Definition at line 73 of file itkKspaceImageFilter.h.
typedef Superclass::OutputImageType itk::KspaceImageFilter< TPixelType >::OutputImageType |
Definition at line 72 of file itkKspaceImageFilter.h.
typedef itk::Point<double,2> itk::KspaceImageFilter< TPixelType >::Point2D |
Definition at line 75 of file itkKspaceImageFilter.h.
typedef SmartPointer<Self> itk::KspaceImageFilter< TPixelType >::Pointer |
Definition at line 59 of file itkKspaceImageFilter.h.
typedef KspaceImageFilter itk::KspaceImageFilter< TPixelType >::Self |
Definition at line 58 of file itkKspaceImageFilter.h.
typedef ImageSource< Image< vcl_complex< TPixelType >, 2 > > itk::KspaceImageFilter< TPixelType >::Superclass |
Definition at line 61 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 39 of file itkKspaceImageFilter.cpp.
|
inlineprotected |
Definition at line 99 of file itkKspaceImageFilter.h.
|
protectedvirtual |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData().
The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > >.
Definition at line 336 of file itkKspaceImageFilter.cpp.
References mitk::New().
|
protectedvirtual |
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().
The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > >.
Definition at line 52 of file itkKspaceImageFilter.cpp.
References mitk::New().
Pointer itk::KspaceImageFilter< TPixelType >::Clone | ( | ) | const |
|
protected |
Definition at line 131 of file itkKspaceImageFilter.cpp.
|
virtual |
Runtime information support.
Reimplemented from mitk::ImageSource< Image< vcl_complex< TPixelType >, 2 > >.
|
virtual |
k-space magnitude image
|
virtual |
|
protected |
Definition at line 397 of file itkKspaceImageFilter.cpp.
|
static |
Method for creation through the object factory.
Referenced by itk::TractsToDWIImageFilter< PixelType >::SimulateKspaceAcquisition().
|
virtual |
|
inline |
One signal image per compartment.
Definition at line 92 of file itkKspaceImageFilter.h.
|
inline |
Gradient direction is needed for eddy current simulation.
Definition at line 95 of file itkKspaceImageFilter.h.
|
virtual |
|
inline |
Definition at line 90 of file itkKspaceImageFilter.h.
|
virtual |
|
virtual |
Number of spikes per slice. Corresponding parameter in fiberfox parameter object specifies the number of spikes for the whole image and can thus not be used here.
|
inline |
One T1 relaxation constant per compartment image.
Definition at line 94 of file itkKspaceImageFilter.h.
|
inline |
One T2 relaxation constant per compartment image.
Definition at line 93 of file itkKspaceImageFilter.h.
|
virtual |
|
virtual |
Use constant seed for random generator for reproducible results. ONLY USE FOR TESTING PURPOSES!
|
virtual |
Slice position, necessary for eddy current simulation.
|
virtual |
|
protected |
Definition at line 163 of file itkKspaceImageFilter.cpp.
References M_PI, and mitk::New().
|
protected |
Definition at line 108 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 128 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 112 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 113 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 118 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 119 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 123 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 129 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 109 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 132 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 131 of file itkKspaceImageFilter.h.
|
protected |
used to find correct point in frequency map (head motion)
Definition at line 120 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 124 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 126 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 117 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 111 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 110 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 130 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 125 of file itkKspaceImageFilter.h.
|
protected |
used to find correct point in frequency map (head motion)
Definition at line 121 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 116 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 114 of file itkKspaceImageFilter.h.
|
protected |
Definition at line 115 of file itkKspaceImageFilter.h.