[Insight-users] Problems with itkImageClassifier and itkGaussianClassifier
Samuel Rodríguez Bescos
srodrigu at gbt . tfo . upm . es
Tue, 6 Aug 2002 17:21:35 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_001B_01C23D6D.B78BB070
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello every body,
I'm developing a single example based in Gibbs prior segmentation for =
grey scale images.
I follow the steps of Dimtris Metaxas and Ting Chen but for grey scale =
image and I have the next error:
(149) : error C2664: 'SetClassifier' : cannot convert parameter 1 from =
'class itk::SmartPointer<class itk::GaussianSupervisedClassifier<c
lass itk::Image<class itk::Vector<unsigned short,1>,2>,class =
itk::Image<unsigned short,2> > >' to 'class itk::SmartPointer<class =
itk::ImageClassifierBase<class itk::Image<class itk::Vector<unsigned =
short,1>,2>,class itk::Image<unsigned short,2> > >'
No constructor could take the source type, or constructor =
overload resolution was ambiguous
Error executing cl.exe.
I'm using one of the last version of Insight in order to use the =
itkScalarToArrayCastImageFilter. So I imported the classes related with =
the itkGaussianSupervisedClassifierm from previous version. Has anybody =
any idea about what is happening?
If I can't find the problem. Could anybody tell me what class I can use =
to first estimation to set in the GibbsPriorFilter instead of gaussian =
Supervised Classifier?.
Thanks for reading to the end.
Samuel
------=_NextPart_000_001B_01C23D6D.B78BB070
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 every body,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm developing a single example based =
in Gibbs=20
prior segmentation for grey scale images.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I follow the steps of Dimtris =
Metaxas and Ting=20
Chen but for grey scale image and I have the next =
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM>(149) : error C2664: =
'SetClassifier' : cannot=20
convert parameter 1 from 'class itk::SmartPointer<class=20
itk::GaussianSupervisedClassifier<c<BR>lass itk::Image<class=20
itk::Vector<unsigned short,1>,2>,class itk::Image<unsigned=20
short,2> > >' to 'class itk::SmartPointer<class=20
itk::ImageClassifierBase<class itk::Image<class =
itk::Vector<unsigned=20
short,1>,2>,class itk::Image<unsigned short,2> >=20
>'<BR> No constructor could =
take=20
the source type, or constructor overload resolution was =
ambiguous<BR>Error=20
executing cl.exe.</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM></EM></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm using one of the last version =
of Insight=20
in order to use the itkScalarToArrayCastImageFilter. So I imported the =
classes=20
related with the itkGaussianSupervisedClassifierm from previous version. =
Has=20
anybody any idea about what is happening?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If I can't find the problem. Could =
anybody tell me=20
what class I can use to first estimation to set in =
the GibbsPriorFilter=20
instead of gaussian Supervised Classifier?.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for reading to the =
end.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Samuel</DIV>
<DIV><EM><BR></EM></DIV></FONT></BODY></HTML>
------=_NextPart_000_001B_01C23D6D.B78BB070--