MCPcopy Create free account
hub / github.com/MITK/MITK / GenerateOutputInformation

Method GenerateOutputInformation

Modules/AlgorithmsExt/src/mitkMaskImageFilter.cpp:72–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void mitk::MaskImageFilter::GenerateOutputInformation()
73{
74 mitk::Image::ConstPointer input = this->GetInput();
75 mitk::Image::Pointer output = this->GetOutput();
76
77 if ((output->IsInitialized()) && (this->GetMTime() <= m_TimeOfHeaderInitialization.GetMTime()))
78 return;
79
80 itkDebugMacro(<< "GenerateOutputInformation()");
81
82 output->Initialize(input->GetPixelType(), *input->GetTimeGeometry());
83
84 output->SetPropertyList(input->GetPropertyList()->Clone());
85
86 m_TimeOfHeaderInitialization.Modified();
87}
88
89template <typename TPixel1, unsigned int VImageDimension1, typename TPixel2, unsigned int VImageDimension2>
90void mitk::MaskImageFilter::InternalComputeMask(itk::Image<TPixel1, VImageDimension1>* itkInput, itk::Image<TPixel2,VImageDimension2>* itkMask)

Callers

nothing calls this directly

Calls 10

GetInputMethod · 0.45
GetOutputMethod · 0.45
IsInitializedMethod · 0.45
GetMTimeMethod · 0.45
InitializeMethod · 0.45
GetPixelTypeMethod · 0.45
SetPropertyListMethod · 0.45
CloneMethod · 0.45
GetPropertyListMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected