In my program,<br>there are two difference type in pipeline.<br><br>At first,I am casting 'signed short' to 'float'.<br>Through the processing of gradient filter this float data<br>is casting to signed short.
<br><br>The pipeline as below:<br>signed short data -->cast1 -->float data --> Filter --> float data --><br>cast2 -->signed short data -->write to dicom<br><br>The result is full white.<br>I don't know what happen?
<br>Can anybody give me some suggestion?<br><br>Regards<br><br><div><span class="gmail_quote">2007/3/27, Xavier Mellado Esteban <<a href="mailto:xavier.mellado@upf.edu">xavier.mellado@upf.edu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Hi Goo:<br><br> Write images in each step of your pipeline, before and after use each<br>filter. And find exactly which is the problem an report here more<br>information.<br><br> If you have problems with casting, there are filters for doing this,
<br>see ITK User Guide (<a href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf</a>) Chapter<br>6.3. Look at Geodesic Active Contours example (9.3.3) and<br>GradientMagnitudeRecursiveGaussianImageFilter example (
6.4.2), too.<br><br> I hope this helps you:<br> Xavi<br><br>Goo escribió:<br>> Hi All:<br>><br>> I currently use 'Geodesic Active Contour Level Set Mehtod' for image
<br>> segmentation.<br>> My input is a DICOM 3D image and its type is signed short.<br>> Because the demand for level set, this image must be casted to float.<br>> However, after the execution of<br>> GradientMagnitudeRecursiveGaussianImageFilter,
<br>> the output image is black.<br>> After I checked in the entire process, I guess the reason is data type<br>> error.<br>> What means can be taken to resolve the matter?<br>><br>> Regards.<br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">
http://www.itk.org/mailman/listinfo/insight-users</a><br>><br><br><br>--<br>___________________________________<br><br>Xavier Mellado Esteban<br>Computational Imaging Lab<br>Department of Technology - D. 328<br>Pompeu Fabra University
<br>Pg. Circumval·lació 8<br>08003 Barcelona - Spain<br><br>Phone: +34 93 542 1323<br>E-mail: <a href="mailto:xavier.mellado@upf.edu">xavier.mellado@upf.edu</a><br>Skype: xavier.mellado<br><br></blockquote></div><br>