<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello again,<br><br>Earlier this morning I posted a message on problems with ExtractImageFilter (which I put at the end of the message for follow-up purposes). <br>I've performed several tests to find the cause of my error. Since, the input images I was using came from itkLabelOverlayImageFilter, right now I am under the hypothesis that the latter is the one that really causes the problem when 3D images are used.<br><br>In my pipeline I am able of creating a 3D RGB image (mhd/raw format) and I can visualize it without any problem. However, once I try to do something with this resulting image I get problems. <br><br>At the beginning I was using ExtractImageFilter to obtain a single slice from the overlaid image. Since it did not work, I performed the simplest operation which consisted in
reading from disk the 3D RGB image and then writing it again. In every case, the resulting image contains only noise. If I do this same test with a 2D overlaid image, it works perfectly. <br><br>Has anyone experienced the same problem? is there anyway to solve it?<br><br>thanks in advance,<br><br>Maria A. Zuluaga<br><br><font size="2"><font face="verdana,sans-serif">Maybe there are some problems regarding R G B channel interleaving/separation?</font></font><div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><font size="2"><font face="verdana,sans-serif">HTH<br>
</font></font><br><div class="gmail_quote">On Mon, Mar 28, 2011 at 12:05, Maria Alejandra Zuluaga Valencia <span dir="ltr"><<a rel="nofollow" target="_blank" href="mailto:mariazulv@yahoo.es">mariazulv@yahoo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br>I
am using the ExtractImageFilter to obtain a 2D slice from a 3D volume. I
used the example from the user's guide and it works OK. However, when I
change the pixel type to RGB (I want to do this for some overlay
images) it fails. The resulting slice is completely noisy. Any idea?<br>
<br>Thanks in advance,<br><br>Maria A. Zuluaga<br></div>
</div><br>
</div><br>_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</div><br>
</body></html>