16 #ifndef __itkTractDensityImageFilter_h__
17 #define __itkTractDensityImageFilter_h__
19 #include <itkImageSource.h>
21 #include <itkVectorContainer.h>
22 #include <itkRGBAPixel.h>
30 template<
class OutputImageType >
42 itkFactorylessNewMacro(Self)
46 itkSetMacro( UpsamplingFactor,
float)
47 itkGetMacro( UpsamplingFactor,
float)
48 itkSetMacro( InvertImage,
bool)
49 itkGetMacro( InvertImage,
bool)
50 itkSetMacro( BinaryOutput,
bool)
51 itkGetMacro( BinaryOutput,
bool)
52 itkSetMacro( OutputAbsoluteValues,
bool)
53 itkGetMacro( OutputAbsoluteValues,
bool)
54 itkSetMacro( UseImageGeometry,
bool)
55 itkGetMacro( UseImageGeometry,
bool)
56 itkSetMacro( FiberBundle,
mitk::FiberBundle::Pointer)
57 itkSetMacro( InputImage, typename OutputImageType::Pointer)
58 itkSetMacro( UseTrilinearInterpolation,
bool )
59 itkSetMacro( DoFiberResampling,
bool )
67 TractDensityImageFilter();
68 virtual ~TractDensityImageFilter();
83 #ifndef ITK_MANUAL_INSTANTIATION
87 #endif // __itkTractDensityImageFilter_h__
SmartPointer< const Self > ConstPointer
OutputImageType::PixelType OutPixelType
Generates tract density images from input fiberbundles (Calamante 2010).
float m_UpsamplingFactor
use higher resolution for ouput image
DataCollection - Class to facilitate loading/accessing structured data.
bool m_InvertImage
voxelvalue = 1-voxelvalue
SmartPointer< Self > Pointer
bool m_UseTrilinearInterpolation
TractDensityImageFilter Self
bool m_BinaryOutput
generate binary fiber envelope
OutputImageType::Pointer m_InputImage
use input image geometry to initialize output image
bool m_OutputAbsoluteValues
do not normalize image values to 0-1
bool m_UseImageGeometry
use input image geometry to initialize output image
mitk::FiberBundle::Pointer m_FiberBundle
input fiber bundle
itk::Point< float, 3 > GetItkPoint(double point[3])