3 #include <itkImageToImageFilter.h> 11 template <
class TPixelType>
13 public itk::ImageToImageFilter< anima::MCMImage <TPixelType, 3>, itk::Image<TPixelType, 3> >
20 typedef itk::ImageToImageFilter <InputImageType, OutputImageType >
Superclass;
41 itkSetMacro(IncludeIsotropicWeights,
bool)
51 unsigned int numOutputs = 7;
52 this->SetNumberOfRequiredOutputs(numOutputs);
54 for (
unsigned int i = 0;i < numOutputs;++i)
55 this->SetNthOutput(i,this->MakeOutput(i));
57 m_IncludeIsotropicWeights =
false;
62 template <
class T>
bool isZero(
const itk::VariableLengthVector <T> &value)
const 64 for (
unsigned int i = 0;i < value.GetNumberOfElements();++i)
79 bool m_IncludeIsotropicWeights;
MCMScalarMapsImageFilter Self
virtual ~MCMScalarMapsImageFilter()
InputImageType::PixelType PixelType
InputImageType::RegionType InputRegionType
InputImageType::IndexType InputIndexType
itk::Image< TPixelType, 3 > OutputImageType
MCModelType::Pointer MCModelPointer
anima::MCMImage< TPixelType, 3 > InputImageType
bool isZero(const itk::VariableLengthVector< T > &value) const
itk::SmartPointer< const Self > ConstPointer
void DynamicThreadedGenerateData(const InputRegionType &outputRegionForThread) ITK_OVERRIDE
itk::ImageToImageFilter< InputImageType, OutputImageType > Superclass
MultiCompartmentModel: holds several diffusion compartments, ordered by type It also handles weights ...
itk::SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
InputImageType::ConstPointer InputImagePointer