18 #ifndef itkLabelSelectionPixelAccessor_h
19 #define itkLabelSelectionPixelAccessor_h
39 template<
class TInternalType,
class TExternalType >
53 inline TExternalType
Get(
const TInternalType & input)
const
55 return (TExternalType)(
56 ( input == m_AcceptedValue ) ? 1 : 0 );
void SetAcceptedValue(TInternalType value)
TExternalType Get(const TInternalType &input) const
TImage::PixelType InternalType
TOutputPixelType ExternalType
TInternalType m_AcceptedValue
Return a binary mask of the selected label.