[Insight-users] Problems running watershed in last version

Samuel Rodríguez Bescos srodrigu at gbt . tfo . upm . es
Wed, 7 Aug 2002 17:32:09 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C23E38.5B7A2F20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello again, I'm sorry if I disturb you a lot, ''ve just noticed that my =
example based in watershed segmentation have a problem in the =
compilation process.

Some of the classes I'm using are WatershedSegmentationFilter, =
itkGradientMagnitudeImageFilter,itkGradientAnisotropicDiffusionImageFilte=
r and itkRescaleIntensityImageFilter.

I'm afraid that any of these componentes has been changed. .=20

These are the errors:

C:\Archivos de =
programa\InsightLastVersion\CVS\Insight\Code\Common\itkDenseFiniteDiffere=
nceImageFilter.txx(211) : error C2664: '()' : cannot convert parameter 1 =
from 'class itk::SmartPointer<class itk::Image<float,2> >' to 'const =
class itk::Image<un
signed short,2> *'
        No user-defined-conversion operator available that can perform =
this conversion, or the operator cannot be called
        C:\Archivos de programa\Microsoft Visual =
Studio\VC98\INCLUDE\xstring(583) : while compiling class-template member =
function 'double __thiscall itk::DenseFiniteDifferenceImageFilter<class =
itk::Image<unsigned short,2>,class itk::Image<float,2>=20
>::ThreadedCalculateChange(const class itk::ImageRegion<2> &,int)'
C:\Archivos de =
programa\InsightLastVersion\CVS\Insight\Code\Common\itkDenseFiniteDiffere=
nceImageFilter.txx(211) : error C2064: term does not evaluate to a =
function
        C:\Archivos de programa\Microsoft Visual =
Studio\VC98\INCLUDE\xstring(583) : while compiling class-template member =
function 'double __thiscall itk::DenseFiniteDifferenceImageFilter<class =
itk::Image<unsigned short,2>,class itk::Image<float,2>=20
>::ThreadedCalculateChange(const class itk::ImageRegion<2> &,int)'


Thanks you for help me,

Samuel

------=_NextPart_000_003C_01C23E38.5B7A2F20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello again, I'm sorry if I disturb you =
a lot, ''ve=20
just noticed that my example based in watershed segmentation have a =
problem in=20
the compilation process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Some of the classes I'm using are=20
WatershedSegmentationFilter,=20
itkGradientMagnitudeImageFilter,itkGradientAnisotropicDiffusionImageFilte=
r and=20
itkRescaleIntensityImageFilter.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm afraid that any of these =
componentes has been=20
changed. . </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>These are the errors:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><EM>C:\Archivos de=20
programa\InsightLastVersion\CVS\Insight\Code\Common\itkDenseFiniteDiffere=
nceImageFilter.txx(211)=20
: <STRONG>error C2664</STRONG>: '()' : cannot convert parameter 1 from =
'class=20
itk::SmartPointer&lt;class itk::Image&lt;float,2&gt; &gt;' to 'const =
class=20
itk::Image&lt;un<BR>signed short,2&gt;=20
*'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No =
user-defined-conversion=20
operator available that can perform this conversion, or the operator =
cannot be=20
called<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Archivos de=20
programa\Microsoft Visual Studio\VC98\INCLUDE\xstring(583) : while =
compiling=20
class-template member function 'double __thiscall=20
itk::DenseFiniteDifferenceImageFilter&lt;class itk::Image&lt;unsigned=20
short,2&gt;,class itk::Image&lt;float,2&gt;=20
<BR>&gt;::ThreadedCalculateChange(const class itk::ImageRegion&lt;2&gt;=20
&amp;,int)'<BR>C:\Archivos de=20
programa\InsightLastVersion\CVS\Insight\Code\Common\itkDenseFiniteDiffere=
nceImageFilter.txx(211)=20
: <STRONG>error C2064</STRONG>: term does not evaluate to a=20
function<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Archivos de=20
programa\Microsoft Visual Studio\VC98\INCLUDE\xstring(583) : while =
compiling=20
class-template member function 'double __thiscall=20
itk::DenseFiniteDifferenceImageFilter&lt;class itk::Image&lt;unsigned=20
short,2&gt;,class itk::Image&lt;float,2&gt;=20
<BR>&gt;::ThreadedCalculateChange(const class itk::ImageRegion&lt;2&gt;=20
&amp;,int)'<BR></EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks you for help me,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Samuel</DIV></FONT></BODY></HTML>

------=_NextPart_000_003C_01C23E38.5B7A2F20--