<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN class=457452009-23022010><FONT
color=#0000ff size=2 face=Arial>Short is the same as signed short so you
need:</FONT></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><SPAN></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><SPAN>itkConfidenceConnectedImageFilter_ISS<SPAN
class=457452009-23022010>3</SPAN>ISS<SPAN
class=457452009-23022010>3</SPAN> <SPAN> </SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN></SPAN></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><SPAN class=457452009-23022010><FONT
color=#0000ff size=2 face=Arial>if the class does not exist you must build it
first for that image type (this classes are automatically build from the
original templated C++ classes) but as i said i don't use managed code
because of such problems and can't support you with
that.</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><SPAN class=457452009-23022010><FONT
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><SPAN class=457452009-23022010><FONT
color=#0000ff size=2 face=Arial>A workaround would be to convert your image from
short to float then you can use <SPAN><FONT color=#000000 size=3
face="Times New Roman">itkConfidenceConnectedImageFilter_IF3IF3, note that there
already exists some caster classes in itk which will do that for
you</FONT></SPAN></FONT></SPAN></SPAN></SPAN></SPAN></DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Ali Habib
[mailto:ali.mahmoud.habib@gmail.com] <BR><B>Gesendet:</B> Dienstag, 23. Februar
2010 10:17<BR><B>An:</B> Lodron, Gerald<BR><B>Betreff:</B> Re: [Insight-users]
Managed ITK itkConfidenceConnectedImageFilter<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>
<DIV> </DIV>
<DIV>thanks for your reply</DIV>
<DIV> </DIV>
<DIV>What if my Input is DICOM series of type short , which type shall I do ,
specially I want to segment in 3D </DIV>
<DIV> </DIV>
<DIV>Best regards <BR><BR></DIV>
<DIV class=gmail_quote>On Tue, Feb 23, 2010 at 11:12 AM, Lodron, Gerald <SPAN
dir=ltr><<A
href="mailto:Gerald.Lodron@joanneum.at">Gerald.Lodron@joanneum.at</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV dir=ltr align=left>itkConfidenceConnectedImageFilter_IF2IF2 <SPAN> -
input = 2D image of type float, output = 2D image of type float</SPAN></DIV>
<DIV dir=ltr
align=left><SPAN>itkConfidenceConnectedImageFilter_IF3IF3 <SPAN> - input
= 3D image of type float, output =3D image of type float</SPAN></SPAN></DIV>
<DIV dir=ltr
align=left><SPAN><SPAN>itkConfidenceConnectedImageFilter_ISS2ISS2 <SPAN>
- input = 2D image of type signed short, output = 2D image of type signed
short</SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN></SPAN></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><FONT color=#0000ff size=2
face=Arial>and so on....</FONT></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><SPAN><SPAN><FONT color=#0000ff size=2
face=Arial>I don't use managed code because of this strange behaviour so i
can't give you more support on error
codes</FONT></SPAN></SPAN></SPAN></DIV><BR>
<DIV dir=ltr lang=de align=left>
<HR>
<FONT size=2 face=Tahoma><B>Von:</B> <A
href="mailto:insight-users-bounces@itk.org"
target=_blank>insight-users-bounces@itk.org</A> [mailto:<A
href="mailto:insight-users-bounces@itk.org"
target=_blank>insight-users-bounces@itk.org</A>] <B>Im Auftrag von </B>Ali
Habib<BR><B>Gesendet:</B> Dienstag, 23. Februar 2010 09:39<BR><B>An:</B> <A
href="mailto:insight-users@itk.org"
target=_blank>insight-users@itk.org</A><BR><B>Betreff:</B> [Insight-users]
Managed ITK itkConfidenceConnectedImageFilter<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV>
<DIV dir=ltr>
<DIV>I am trying to apply itkConfidenceConnectedImageFilter to image DICOM
series , so I will use the watersheed example as
guide<BR> <BR> <BR>when use itkConfidenceConnectedImageFilter . it
give error that this class can't be accessed due to its
protection<BR> <BR>and discovered that there're 4 classes for
itkConfidenceConnectedImageFilter
<BR> <BR>itkConfidenceConnectedImageFilter_IF2IF2
<BR>itkConfidenceConnectedImageFilter_IF3IF3
<BR>itkConfidenceConnectedImageFilter_ISS2ISS2
<BR>itkConfidenceConnectedImageFilter_IUC2IUC2 <BR> <BR>I want to do
<BR>itkConfidenceConnectedImageFilter<BR>x = new
itkConfidenceConnectedImageFilter (input); // input is the
itkimage that read the dicom series <BR>and continue as in watersheed
example <BR></DIV>
<DIV>what's the difference between those classses </DIV>
<DIV><BR>any suggestion please <BR>Best regards
</DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>