[ITK] [ITK Community] Function that gives different results .

Matt McCormick matt.mccormick at kitware.com
Tue Apr 1 10:02:12 EDT 2014


Hi Hana,

The context is a bit unclear here.  Is this in a derived class you
created?  Is there source code that tells the story better?

Thanks,
Matt

On Tue, Apr 1, 2014 at 5:37 AM, Hana Cherif <hanacherif62 at gmail.com> wrote:
> Hello again!!
>
>
>
> I  don't know why i get different results in the value of" index " when i
> try to  execute  this line in the BSplineTransform::transformPoint()
> function:
>
> this->m_CoefficientImages[0]->TransformPhysicalPointToContinuousIndex(
> point, index );
>
> for example :
> point [1 0] ----->index  [1.01961, 1]
> point [2 0] ----->index  [1.03922, 1]
> point [3 0] ----->index  [1.05882, 1]
>
>
> with the results when execute the same line in an other function that i
> created  in the same class , with the same inputs :
> example:
> point:  [1  0] ----->index:   [2, 1]
> point:  [2  0] ----->index:   [3, 1]
> point:  [3  0] ----->index:   [4, 1]
>
> What can be the reason please?? Any idea pleaaaaase ,,
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>



More information about the Community mailing list