[Insight-users] How to invert a float image?
lynx.abraxas at freenet.de
lynx.abraxas at freenet.de
Sun Aug 9 16:58:30 EDT 2009
Hello!
Changing from SingedDanielssonDistanceMapImageFilter to
DanielssonDistanceMapImageFilter I need to invert the output of the filter.
I'd like to use float as output for the distance map to be able to store
sqrt(2). I don't mind big vales to be unexact. So I think float is the best
choise. Using squared output I'd need int to store the data which would need
more memory.
My problem: InvertIntensityImageFilter only gives a black image if I let it
invert float.
Can a float image be inverted at all?
Is int the only way to go?
Many thanks for any help or hints
Lynx
More information about the Insight-users
mailing list