[Insight-users] GradientImageFilter Access Error
Luis Ibanez
luis.ibanez@kitware.com
Thu, 30 Jan 2003 09:57:28 -0500
Hi Samuel,
The Image<float,3> type should be ok for the
GradientImageFilter<>.
Could you please give us more details on the
error produced when you call Update() ?
Are you placing Update() in a try/catch block ?
A problem with a FixedArray may indicate a
dimension mistmatch.... but it is hard to say
without having seen the exact error message
that you get.
Please give us more details,
Thanks,
Luis
--------------------------
Samuel Rodríguez Bescos wrote:
> Hi everybody!!!,
>
>
>
> I'm using the gradient Image Filter defined by:
>
>
>
> itk::Image<float,3> myImageType;
>
>
>
> itk::GradientImageFilter<myImageType, double,double>
>
>
>
> The problem is that there is an error in the proccess
> ThreadedGenerateData of this filter, related with the FixedArrayType,
> when I do Update.
>
>
>
> Could the problem be in the definition of the filter?. I mean, The type
> of the image must be Image<double,3>.
>
> In other case, what could happen?
>
>
>
> Thanks in advance!!
>
>
>
> Sam
>