| 70 | } |
| 71 | |
| 72 | void 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 | |
| 89 | template <typename TPixel1, unsigned int VImageDimension1, typename TPixel2, unsigned int VImageDimension2> |
| 90 | void mitk::MaskImageFilter::InternalComputeMask(itk::Image<TPixel1, VImageDimension1>* itkInput, itk::Image<TPixel2,VImageDimension2>* itkMask) |
nothing calls this directly
no test coverage detected