DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSphericalPolarFourierEstimationImageFilter.h>
estimate the coeffcients of generalized Spherical Polar Fourier basis which can be separated into differe radial basis and sphercial basis.
Definition at line 40 of file itkSphericalPolarFourierEstimationImageFilter.h.
Public Member Functions | |
virtual double | ComputeScale (const bool setScale=true) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual std::vector< int > | DimToRank (const int dimm) const |
virtual double | GetB0Weight () |
virtual MatrixPointer | GetBasisCombinationMatrix () |
virtual VectorPointer | GetBasisEnergyDL () |
virtual double | GetBasisEnergyPowerDL () |
virtual double | GetBasisScale () |
virtual EstimationType | GetEstimationType () |
virtual int | GetIndexJ (const int n, const int l, const int m) const |
virtual std::vector< int > | GetIndexNLM (const int index) const |
virtual bool | GetIsOriginalBasis () |
virtual L1SolverType | GetL1SolverType () |
virtual double | GetLambdaL1 () |
virtual double | GetLambdaRadial () |
virtual double | GetLambdaSpherical () |
virtual const ScalarImageType * | GetMDImage () const |
virtual const char * | GetNameOfClass () 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 int | RankToDim (const bool is_radial=false, const int radialRank=-1, const int shRank=-1) const |
virtual void | SetB0Weight (double _arg) |
virtual void | SetBasisCombinationMatrix (MatrixPointer _arg) |
virtual void | SetBasisEnergyDL (VectorPointer _arg) |
virtual void | SetBasisEnergyPowerDL (double _arg) |
virtual void | SetBasisScale (const double scale) |
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 | ComputeRadialMatrix () |
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 void | ComputeBasisMatrix () |
virtual void | ComputeRegularizationWeight () |
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::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 &) |
SphericalPolarFourierEstimationImageFilter (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::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 48 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef L1RegularizedLeastSquaresFISTASolver<double> itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::L1FISTASolverType |
Definition at line 84 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef SpamsWeightedLassoSolver<double> itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::L1SpamsSolverType |
Definition at line 85 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef L2RegularizedLeastSquaresSolver<double> itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::L2SolverType |
Definition at line 83 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::MatrixPointer itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::MatrixPointer |
Definition at line 61 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::MatrixType itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::MatrixType |
Definition at line 59 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef SmartPointer<Self> itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 47 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef SphericalPolarFourierEstimationImageFilter itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 45 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::STDVectorPointer itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::STDVectorPointer |
Definition at line 64 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::STDVectorType itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::STDVectorType |
Definition at line 63 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef DiffusionModelEstimationInSphericalCoordinateImageFilter<TInputImage,TOutputImage> itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 46 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::VectorPointer itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::VectorPointer |
Definition at line 62 of file itkSphericalPolarFourierEstimationImageFilter.h.
typedef Superclass::VectorType itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::VectorType |
Definition at line 60 of file itkSphericalPolarFourierEstimationImageFilter.h.
enum itk::SphericalPolarFourierEstimationImageFilter::EstimationType |
Enumerator | |
---|---|
LS | |
L1_2 | |
L1_DL |
Definition at line 66 of file itkSphericalPolarFourierEstimationImageFilter.h.
enum itk::SphericalPolarFourierEstimationImageFilter::L1SolverType |
Type of L1 solver:
FISTA_LS | FISTA with least square initialization |
SPAMS | weighted lasso in spams |
Enumerator | |
---|---|
FISTA_LS | |
SPAMS |
Definition at line 77 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 29 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::VerifyInputParameters().
|
inlineprotectedvirtual |
Definition at line 161 of file itkSphericalPolarFourierEstimationImageFilter.h.
References utl::InitializeThreadedLibraries(), and ITK_OVERRIDE.
|
private |
|
protected |
Definition at line 162 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::InitializeThreadedLibraries(), itk::IsImageEmpty(), itkShowPositionThreadedLogger, utl::Print(), and utlGlobalException.
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::InternalClone().
|
virtual |
need to be overidden by subclasses
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >, and itk::GeneralizedHighOrderTensorImageFilter< TInputImage, TOutputImage >.
Definition at line 87 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::SetBasisScale().
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation().
virtual::itk::LightObject::Pointer itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
inlinevirtual |
from dimension to rank
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >, and itk::GeneralizedHighOrderTensorImageFilter< TInputImage, TOutputImage >.
Definition at line 140 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
The filter produces an image which is a different size than its input image. As such, it needs to provide an implemenation for GenerateOutputInformation() which set the output information accordingly.
Definition at line 75 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::ComputeScale(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::VerifyInputParameters().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >.
Definition at line 148 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
inlinevirtual |
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >.
Definition at line 146 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >, and itk::GeneralizedHighOrderTensorImageFilter< TInputImage, TOutputImage >.
|
virtual |
|
virtual |
|
protectedvirtual |
Use single thread for MKL or openmp to avoid confliction with itk threader. Otherwise it has worse performance due to thread conflication (but correct solution).
Reimplemented from itk::MaskedImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 213 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References utl::InitializeThreadedLibraries(), and itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::PrintSelf().
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData().
|
protected |
Definition at line 118 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::SetBasisScale().
|
inline |
Definition at line 154 of file itkSphericalPolarFourierEstimationImageFilter.h.
References itk::IsImageEmpty().
|
virtual |
|
virtual |
itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | MDImage | , |
ScalarImageType | |||
) |
itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | ScaleImage | , |
ScalarImageType | |||
) |
itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::itkSetGetBooleanMacro | ( | IsAnalyticalB0 | ) |
itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::itkTypedefMaskedImageToImageMacro | ( | Superclass | ) |
Convenient Typedefs.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Reimplemented from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >.
Definition at line 232 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References utl::PrintUtlMatrix(), PrintVar2, and PrintVar4.
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::InitializeThreadedLibraries().
|
inlinevirtual |
from rank to dimension
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >, and itk::GeneralizedHighOrderTensorImageFilter< TInputImage, TOutputImage >.
Definition at line 143 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in itk::SphericalPolarFourierImageFilter< TInputImage, TOutputImage >.
Definition at line 96 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::InternalClone(), and itkShowPositionThreadedLogger.
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::ComputeScale().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the MD image.
|
virtual |
Set/Get the scale image, which is normally determined by MDImage.
|
protectedvirtual |
Reimplemented from itk::DiffusionModelEstimationInSphericalCoordinateImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkSphericalPolarFourierEstimationImageFilter.hxx.
References itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation(), itk::IsImageEmpty(), itkShowPositionThreadedLogger, utlGlobalException, and itk::VerifyImageInformation().
Referenced by itk::SphericalPolarFourierEstimationImageFilter< TInputImage, TOutputImage >::SphericalPolarFourierEstimationImageFilter().
|
protected |
used for artificial samples for E(0)=1
Definition at line 201 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
used for learned basis (L1_DL is used)
Definition at line 192 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
energy of samples in each atom of the learned basis. (L1_DL is used)
Definition at line 194 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
power of the energy used to calculate m_RegularizationWeight. (L1_DL is used)
Definition at line 196 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
basis matrix for artificial b0 shell
Definition at line 203 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
scale for radial basis
Definition at line 181 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 209 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
If it is true, use analytical way to ensure E(0)=1
Definition at line 199 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Original SPF basis or dual SPF basis
Definition at line 218 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 212 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 215 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 213 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 211 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
single lambda for L1 norm regularization
Definition at line 187 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
single lambda for L2 norm regularization
Definition at line 189 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 185 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
regularization parameter in sphercial and radial parts
Definition at line 184 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
used for adaptive scale
Definition at line 206 of file itkSphericalPolarFourierEstimationImageFilter.h.
|
protected |
Definition at line 207 of file itkSphericalPolarFourierEstimationImageFilter.h.