[Insight-developers] HistogramToImageFilter bugs
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Jan 17 11:09:57 EST 2007
Luis, Karthik,
I have just fixed a small bug in HistogramToImageFilter, but while doing
that, I noticed that the origin and spacing provided by the user are
always overiden by the filter:
http://www.itk.org/cgi-bin/cvsweb.cgi/Code/Numerics/Statistics/itkHistogramToImageFilter.txx?root=Insight&r1=1.3&r2=1.4
2 choices:
(a) remove the SetOrigin() and SetSpacing() methods, because they are
useless
(b) use the values provided by the user instead of computing new ones
I think that (b) is the best option, but as I don't understand why those
values are modified in GenerateData(), I'm not completly sure :-)
Gaetan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-developers
mailing list