18 #ifndef itkMaskNegatedImageFilter_h
19 #define itkMaskNegatedImageFilter_h
34 template <
typename TInput,
typename TMask,
typename TOutput = TInput>
62 return static_cast<TOutput>(A);
134 template <
typename TInputImage,
typename TMaskImage,
typename TOutputImage = TInputImage>
146 MaskNegatedInput<typename TInputImage::PixelType, typename TMaskImage::PixelType, typename TOutputImage::PixelType>;
166 this->GetFunctor().SetOutsideValue(outsideValue);
171 const typename TOutputImage::PixelType &
174 return this->GetFunctor().GetOutsideValue();
181 if (this->GetMaskingValue() != maskingValue)
183 this->GetFunctor().SetMaskingValue(maskingValue);
190 const typename TMaskImage::PixelType &
193 return this->GetFunctor().GetMaskingValue();
204 this->SetNthInput(1, const_cast<MaskImageType *>(maskImage));
207 const MaskImageType *
213 #ifdef ITK_USE_CONCEPT_CHECKING
228 Superclass::PrintSelf(os, indent);
229 os << indent <<
"OutsideValue: " << this->GetOutsideValue() << std::endl;
235 this->SetFunctor(this->GetFunctor());