3 #include <itkImageToImageFilter.h> 12 template <
class TPixelType>
14 public itk::ImageToImageFilter< anima::MCMImage <TPixelType, 3>, anima::MCMImage<TPixelType, 3> >
22 typedef itk::ImageToImageFilter <InputImageType, OutputImageType >
Superclass;
58 bool isZero(
const itk::VariableLengthVector <double> &value)
const 60 for (
unsigned int i = 0;i < value.GetNumberOfElements();++i)
76 std::vector <MCModelPointer> m_ReferenceInputModels;
77 std::vector <MaskImagePointer> m_MaskImages;
InputImageType::IndexType InputIndexType
InputImageType::ConstPointer InputImagePointer
itk::SmartPointer< Self > Pointer
anima::MCMImage< TPixelType, 3 > OutputImageType
virtual MCMAveragerPointer CreateAverager()
MCModelType * GetReferenceOutputModel()
Computes a weighted average of input multi-compartment models. The output model is at the same time g...
void AddMaskImage(MaskImageType *maskImage)
void SetReferenceOutputModel(MCModelPointer &model)
InputImageType::RegionType InputRegionType
void DynamicThreadedGenerateData(const InputRegionType ®ion) ITK_OVERRIDE
InputImageType::PixelType PixelType
itk::ImageToImageFilter< InputImageType, OutputImageType > Superclass
itk::Image< unsigned char, 3 > MaskImageType
itk::SmartPointer< const Self > ConstPointer
virtual ~MCMAverageImagesImageFilter()
MCMAverageImagesImageFilter()
MultiCompartmentModel: holds several diffusion compartments, ordered by type It also handles weights ...
typename MaskImageType::Pointer MaskImagePointer
MCMAveragerType::Pointer MCMAveragerPointer
bool isZero(const itk::VariableLengthVector< double > &value) const
anima::MCMImage< TPixelType, 3 > InputImageType
void BeforeThreadedGenerateData() ITK_OVERRIDE
MCMAverageImagesImageFilter Self
OutputImageType::Pointer OutputImagePointer
MCModelType::Pointer MCModelPointer