[Insight-users] Using filter with an Image with scalars of type short doesn't compile

Chase Yarbrough vergil at gmail.com
Sat May 6 03:54:07 EDT 2006


It has been fixed in itkMinMaxCurvatureFlowFunction.txx, but now I am
getting the same problem in itkLevelSetFunction.txx.  Any ideas?

Thanks,
Chase

On 4/17/06, Karthik Krishnan <Karthik.Krishnan at kitware.com> wrote:
>
> Are you in CVS ?
>
> I think this was fixed in CVS a year ago:
>
> http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Algorithms/itkMinMaxCurvatureFlowFunction.txx?root=Insight&r1=1.22&r2=1.23
>
> -karthik
>
> Chase Yarbrough wrote:
>
> > Hello,
> >
> > I want to use the filter itkMinMaxCurvatureFlowFilter on an image that
> > has scalars of type short.  I am compiling with the Visual Studio .NET
> > 2003 compiler.  I am getting the error that a call to std::sqrt inside
> > of the filter is ambiguous, listing a few options with double or float
> > parameters.  Do I need to convert all of my scalars to double or
> > float, or is there another way around this?  If I do have to convert
> > them all, how can I do that?
> >
> > Thanks,
> > Chase Yarbrough
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users at itk.org
> >http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060506/5346895b/attachment.htm


More information about the Insight-users mailing list