The Danielsson distance filter use pixel type of Offset<>, which does not have a specialized NumericTraits. #2961
Labels
area:Core
Issues affecting the Core module
area:Filtering
Issues affecting the Filtering module
status:Backlog
Postponed without a fixed deadline
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Encountered an issue with the
Image::GetNumberOfComponentsPerPixel
method not reporting the correct number of components with the results fromDanielssonDistanceMapImageFilter::VectorDistanceMap
. The resulting image has pixel typeOffset
which is missing a specializedNumericTraits
to get the correct Length.While the usage of Offset for a pixel type appears to be rather unusual, the proposed fix it to add the additional specialization of NumericTraits.
The text was updated successfully, but these errors were encountered: