DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSphericalPolarFourierImageFilter.h>
estimate the coefficients in SPF model
Definition at line 36 of file itkSphericalPolarFourierImageFilter.h.
Public Member Functions | |
void | ComputeBasisMatrix () ITK_OVERRIDE |
void | ComputeRadialMatrix () ITK_OVERRIDE |
void | ComputeRadialVectorForE0InBasis () |
void | ComputeRadialVectorForE0InDWI () |
void | ComputeRegularizationWeight () ITK_OVERRIDE |
double | ComputeScale (const bool setScale=true) ITK_OVERRIDE |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
std::vector< int > | DimToRank (const int dimm) const ITK_OVERRIDE |
virtual STDVectorPointer | GetGn0 () |
int | GetIndexJ (const int n, const int l, const int m) const ITK_OVERRIDE |
std::vector< int > | GetIndexNLM (const int index) const ITK_OVERRIDE |
virtual const char * | GetNameOfClass () const |
itkTypedefMaskedImageToImageMacro (Superclass) | |
int | RankToDim (const bool is_radial=false, const int radialRank=-1, const int shRank=-1) const ITK_OVERRIDE |
void | SetBasisScale (const double scale) ITK_OVERRIDE |
Public Member Functions inherited from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual double | GetB0Weight () |
virtual MatrixPointer | GetBasisCombinationMatrix () |
virtual VectorPointer | GetBasisEnergyDL () |
virtual double | GetBasisEnergyPowerDL () |
virtual double | GetBasisScale () |
virtual EstimationType | GetEstimationType () |
virtual bool | GetIsOriginalBasis () |
virtual L1SolverType | GetL1SolverType () |
virtual double | GetLambdaL1 () |
virtual double | GetLambdaRadial () |
virtual double | GetLambdaSpherical () |
virtual const ScalarImageType * | GetMDImage () const |
virtual VectorPointer | GetRegularizationWeight () |
virtual const ScalarImageType * | GetScaleImage () const |
bool | IsAdaptiveScale () const |
virtual void | IsOriginalBasisOff () |
virtual void | IsOriginalBasisOn () |
itkGetObjectMacro (MDImage, ScalarImageType) | |
itkGetObjectMacro (ScaleImage, ScalarImageType) | |
itkSetGetBooleanMacro (IsAnalyticalB0) | |
itkTypedefMaskedImageToImageMacro (Superclass) | |
virtual void | SetB0Weight (double _arg) |
virtual void | SetBasisCombinationMatrix (MatrixPointer _arg) |
virtual void | SetBasisEnergyDL (VectorPointer _arg) |
virtual void | SetBasisEnergyPowerDL (double _arg) |
virtual void | SetEstimationType (EstimationType _arg) |
virtual void | SetIsOriginalBasis (bool _arg) |
virtual void | SetL1FISTASolver (typename L1FISTASolverType::Pointer _arg) |
virtual void | SetL1SolverType (L1SolverType _arg) |
virtual void | SetL1SpamsSolver (typename L1SpamsSolverType::Pointer _arg) |
virtual void | SetLambdaL1 (double _arg) |
virtual void | SetLambdaRadial (double _arg) |
virtual void | SetLambdaSpherical (double _arg) |
virtual void | SetMDImage (ScalarImageType *_arg) |
virtual void | SetScaleImage (ScalarImageType *_arg) |
Public Member Functions inherited from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage > | |
virtual void | ComputeSHMatrix () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual MatrixPointer | GetBasisRadialMatrix () |
virtual MatrixPointer | GetBasisSHMatrix () |
virtual int | GetRadialRank () |
virtual int | GetSHRank () |
virtual void | SetRadialRank (int _arg) |
virtual void | SetSHRank (int _arg) |
Public Member Functions inherited from itk::DiffusionModelEstimationImageFilter< TInputImage, TOutputImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual MatrixPointer | GetBasisMatrix () |
virtual double | GetMD0 () |
itkGetObjectMacro (SamplingSchemeQSpace, SamplingSchemeQSpaceType) | |
itkTypedefMaskedImageToImageMacro (Superclass) | |
virtual void | SetMD0 (double _arg) |
virtual void | SetSamplingSchemeQSpace (SamplingSchemeQSpaceType *_arg) |
Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const LoggerType * | GetLogger () const |
virtual const MaskImageType * | GetMaskImage () const |
bool | IsMaskUsed () |
itkGetObjectMacro (MaskImage, MaskImageType) | |
itkGetObjectMacro (Logger, LoggerType) | |
itkSetGetMacro (LogLevel, int) | |
virtual void | SetLogger (LoggerType *_arg) |
virtual void | SetMaskImage (MaskImageType *_arg) |
void | SetMaskImage (const std::string &file) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DiffusionModelEstimationImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) |
SphericalPolarFourierImageFilter (const Self &) | |
Additional Inherited Members | |
Static Public Attributes inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
typedef SmartPointer<const Self> itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 44 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::EstimationType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::EstimationType |
Definition at line 63 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::L1FISTASolverType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::L1FISTASolverType |
Definition at line 62 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::L2SolverType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::L2SolverType |
Definition at line 61 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::MatrixPointer itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::MatrixPointer |
Definition at line 56 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::MatrixType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::MatrixType |
Definition at line 54 of file itkSphericalPolarFourierImageFilter.h.
typedef SmartPointer<Self> itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 43 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::SamplingSchemeQSpacePointer itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SamplingSchemeQSpacePointer |
Definition at line 67 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::SamplingSchemeQSpaceType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SamplingSchemeQSpaceType |
Definition at line 68 of file itkSphericalPolarFourierImageFilter.h.
typedef SphericalPolarFourierImageFilter itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 41 of file itkSphericalPolarFourierImageFilter.h.
typedef SphericalPolarFourierRadialGenerator<double> itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SPFGenerator |
Definition at line 65 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::STDVectorPointer itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::STDVectorPointer |
Definition at line 59 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::STDVectorType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::STDVectorType |
Definition at line 58 of file itkSphericalPolarFourierImageFilter.h.
typedef SphericalPolarFourierEstimationImageFilter<TInputImage,TOutputImage> itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 42 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::VectorPointer itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::VectorPointer |
Definition at line 57 of file itkSphericalPolarFourierImageFilter.h.
typedef Superclass::VectorType itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::VectorType |
Definition at line 55 of file itkSphericalPolarFourierImageFilter.h.
|
protected |
Definition at line 34 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SetBasisScale().
|
inlineprotectedvirtual |
Definition at line 91 of file itkSphericalPolarFourierImageFilter.h.
References ITK_OVERRIDE.
|
private |
|
protected |
Definition at line 575 of file itkSphericalPolarFourierImageFilter.hxx.
References utl::ConnectUtlMatrix(), utl::CreateExpandedPath(), utl::InitializeThreadedLibraries(), itkShowPositionThreadedLogger, utl::LearnedSPFDictionary_SH8_RA4_K250, utl::PrintUtlMatrix(), utl::PrintUtlVector(), utl::ProductUtlMM(), utl::ReadMatrix(), itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData(), utlException, and utlGlobalException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRegularizationWeight().
|
virtual |
compute basis matrix which incorporates radial matrix and spherical matrix
Reimplemented from itk::DiffusionModelEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 330 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeBasisMatrixForB0(), utl::ComputeSHMatrix(), itkShowPositionThreadedLogger, utl::PrintUtlMatrix(), and utlException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialMatrix().
|
protected |
Definition at line 476 of file itkSphericalPolarFourierImageFilter.hxx.
References CARTESIAN_TO_CARTESIAN, itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRegularizationWeight(), DIRECTION_NODUPLICATE, and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeBasisMatrix().
|
virtual |
compute radial matrix
Reimplemented from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage >.
Definition at line 221 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeBasisMatrix(), itkShowPositionThreadedLogger, utl::PrintUtlMatrix(), and utlGlobalException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InDWI().
void itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InBasis | ( | ) |
Definition at line 173 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InDWI(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::RankToDim().
void itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InDWI | ( | ) |
Definition at line 190 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialMatrix(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InBasis().
|
virtual |
Reimplemented from itk::DiffusionModelEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 496 of file itkSphericalPolarFourierImageFilter.hxx.
References spams::abs(), itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), utl::CreateExpandedPath(), itkShowPositionThreadedLogger, utl::LearnedSPFDictionary_SH8_RA4_K250, utl::LearnedSPFEnergy_SH8_RA4_K250, utl::PowerVector(), utl::PrintUtlMatrix(), utl::PrintUtlVector(), utl::ReadMatrix(), utl::ReadVector(), utl::StdVectorToUtlVector(), and utlException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeBasisMatrixForB0().
|
virtual |
need to be overidden by subclasses
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 88 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::GetIndexNLM(), itkShowPositionThreadedLogger, and M_PI.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::InternalClone().
virtual::itk::LightObject::Pointer itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
virtual |
from dimension to rank
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 135 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::RankToDim(), and utlException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::GetIndexJ().
|
virtual |
|
virtual |
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 127 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::DimToRank(), and utl::GetIndexSHj().
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::GetIndexNLM().
|
virtual |
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 110 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::GetIndexJ(), and utl::GetIndexSHlm().
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeScale().
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
|
protected |
Definition at line 69 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeScale(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SetBasisScale().
itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::itkTypedefMaskedImageToImageMacro | ( | Superclass | ) |
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 1077 of file itkSphericalPolarFourierImageFilter.hxx.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData().
|
virtual |
from rank to dimension
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 159 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::ComputeRadialVectorForE0InBasis(), and utlException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::DimToRank().
|
virtual |
Reimplemented from itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >.
Definition at line 45 of file itkSphericalPolarFourierImageFilter.hxx.
References itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::InternalClone(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::SphericalPolarFourierImageFilter().
|
protected |
Definition at line 727 of file itkSphericalPolarFourierImageFilter.hxx.
References utl::ConnectUtlMatrix(), utl::NDArrayBase< T, Dim >::ElementAbsolute(), itk::IsImageEmpty(), itkShowPositionThreadedLogger, M_PI, utl::NDArrayBase< T, Dim >::Print(), itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::PrintSelf(), utl::PrintUtlMatrix(), utl::PrintUtlVector(), utl::PrintVector(), utl::ProductUtlMM(), utl::ProductUtlMv(), utl::NDArrayBase< T, Dim >::Size(), and utlException.
Referenced by itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData().
|
protected |
Definition at line 104 of file itkSphericalPolarFourierImageFilter.h.
|
protected |
Definition at line 103 of file itkSphericalPolarFourierImageFilter.h.