[Insight-users] progressSlider

Zein Salah salah@gris.uni-tuebingen.de
Thu, 24 Oct 2002 14:10:11 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0078_01C27B67.1129DF80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

I have added a progressSlider to my user interface to monitor the =
progress of some filters. It has woked good for some filters like:
   GrayscaleFunctionErodeImageFilter  and   =
RecursiveGaussianImageFilter.

It has not respond to the segmentation filters like:
SimpleFuzzyConnectednessScalarImageFilter , =
ConnectedThresholdImageFilter, and ConfidenceConnectedImageFilter

Although I have defined all of the the same way.=20

   InputErotionFilterType::Pointer                         m_Eroder;=20
   RecursiveGaussianImageFilterType::Pointer               m_Smoother;
   ConfidenceConnectedImageFilterType::Pointer             m_CCSeg;
   ConnectedThresholdImageFilterType::Pointer              m_CTSeg;
   SimpleFuzzyConnectednessScalarImageFilterType::Pointer  m_FuzSeg;
...
...
...
...
  progressSlider->Observe( m_Eroder.GetPointer() );
  progressSlider->Observe( m_Smoother.GetPointer() );
  progressSlider->Observe( m_CTSeg.GetPointer() );
  progressSlider->Observe( m_CCSeg.GetPointer() );
  progressSlider->Observe( m_FuzSeg.GetPointer() );

It did not respond  to the file Reader. =20


Do anybody have an idea what could the problem be???

many thanks,

Zein

->8<------------->8<------------->8<------------->8<------------->8<-----=
-------->8<-
Zein I. Salah=20
Universit=E4t T=FCbingen, WSI-GRIS=20
Sand 14=20
72076 T=FCbingen=20
Email: salah@gris.uni-tuebingen.de  / zeinsalah@hotmail.com
Tel.: (07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat)=20
Fax: (07071) 29 54 66

------=_NextPart_000_0078_01C27B67.1129DF80
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.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have added a progressSlider to my =
user interface=20
to monitor the progress of some filters. It has woked good for some =
filters=20
like:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;<FONT color=3D#ff0000>&nbsp;=20
GrayscaleFunctionErodeImageFilter&nbsp; and&nbsp;</FONT></FONT><FONT =
face=3DArial=20
color=3D#ff0000 size=3D2>&nbsp; =
RecursiveGaussianImageFilter.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It has not respond to the segmentation =
filters=20
like:</FONT></DIV>
<DIV><FONT color=3D#ff0000><FONT face=3DArial=20
size=3D2>SimpleFuzzyConnectednessScalarImageFilter ,=20
ConnectedThresholdImageFilter, and </FONT><FONT face=3DArial=20
size=3D2>ConfidenceConnectedImageFilter</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Although I have defined all of the the =
same way.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; <FONT=20
color=3D#ff0000>InputErotionFilterType::Pointer&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
m_Eroder;&nbsp;<BR>&nbsp;&nbsp;=20
RecursiveGaussianImageFilterType::Pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
m_Smoother;<BR>&nbsp;&nbsp;=20
ConfidenceConnectedImageFilterType::Pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
m_CCSeg;<BR>&nbsp;&nbsp;=20
ConnectedThresholdImageFilterType::Pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
m_CTSeg;<BR>&nbsp;&nbsp;=20
SimpleFuzzyConnectednessScalarImageFilterType::Pointer&nbsp;=20
m_FuzSeg;<BR></FONT></FONT><FONT face=3DArial color=3D#ff0000=20
size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000>&nbsp;=20
progressSlider-&gt;Observe( m_Eroder.GetPointer() );<BR>&nbsp;=20
progressSlider-&gt;Observe( m_Smoother.GetPointer() );<BR>&nbsp;=20
progressSlider-&gt;Observe( m_CTSeg.GetPointer() );<BR>&nbsp;=20
progressSlider-&gt;Observe( m_CCSeg.GetPointer() );<BR>&nbsp;=20
progressSlider-&gt;Observe( m_FuzSeg.GetPointer() =
);<BR></FONT></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>It did not respond&nbsp; to the =
file<FONT=20
color=3D#ff0000>&nbsp;Reader.</FONT>&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Do anybody have an idea what could the =
problem=20
be???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>many thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Zein</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>-&gt;8&lt;-------------&gt;8&lt;-------------&gt;8&lt;----------=
---&gt;8&lt;-------------&gt;8&lt;-------------&gt;8&lt;-<BR>Zein=20
I. Salah <BR>Universit=E4t T=FCbingen, WSI-GRIS <BR>Sand 14 <BR>72076 =
T=FCbingen=20
<BR>Email: <A=20
href=3D"mailto:salah@gris.uni-tuebingen.de">salah@gris.uni-tuebingen.de</=
A>&nbsp;=20
/ <A =
href=3D"mailto:zeinsalah@hotmail.com">zeinsalah@hotmail.com</A><BR>Tel.: =

(07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat) <BR>Fax: (07071) 29 =
54=20
66</FONT></DIV></BODY></HTML>

------=_NextPart_000_0078_01C27B67.1129DF80--