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 ExternalType
TExternalType Get(const TInternalType &input) const
TInternalType m_AcceptedValue
TInternalType InternalType
Return a binary mask of the selected label.