[Insight-users] bug in itk::ChangeLabelImageFilter
Julien Michel
julien.michel at c-s.cnes.fr
Wed Feb 6 11:14:48 EST 2008
Dear ITK users,
I think their might be a bug in the itk::ChangeLabelImageFilter.
The mapping between labels uses the following type definition:
typedef std::map<InputPixelType,OutputPixelType > ChangeMapType;
The map is stored in the following class member:
ChangeMapType m_ChangeMap;
And then there is this GetChange() method:
TInput GetChange( const TInput & original )
{
return m_ChangeMap[original];
}
Unfortunately, if TInput is different from TOutput, the class will not
compile, because the GetChange() method should return a TOutput.
I will post a bug on bugtracker regarding this issue.
Best regards,
Julien
More information about the Insight-users
mailing list