[Insight-users] Using filter with an Image with scalars of type
short doesn't compile
Karthik Krishnan
Karthik.Krishnan at kitware.com
Mon Apr 17 14:49:54 EDT 2006
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
>
>
More information about the Insight-users
mailing list