[Insight-developers] HistogramToImageFilter bugs

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jan 17 14:38:49 EST 2007


Le Wed, 17 Jan 2007 20:27:18 +0100, Lorensen, William E (GE, Research)  
<lorensen at crd.ge.com> a écrit:

> Choice (a) violates our backward comptibility policy.
>

even if those methods have no effect ?

> -----Original Message-----
> From: insight-developers-bounces+lorensen=crd.ge.com at itk.org  
> [mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org] On  
> Behalf Of Gaetan Lehmann
> Sent: Wednesday, January 17, 2007 11:10 AM
> To: Luis Ibanez; Karthik Krishnan
> Cc: insight-developers at itk.org
> Subject: [Insight-developers] HistogramToImageFilter bugs
>
>
> 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
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers



-- 
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