Iterate through the composed RGB image with an image iterator. At each iteration, get the pixel of the boundary image. If it&#39;s a boundary pixel, set the pixel in the RGB image to red.<br><br><div class="gmail_quote">2011/5/15 LaMoOsH .. <span dir="ltr">&lt;<a href="mailto:xlolla28x@hotmail.com">xlolla28x@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">



<div>
Hi, <br> <br>Thanks for you reply<br> <br>I did have a loot at them and they were helpful to get an idea about RGB images, but they were not helpful that much for my problem. <br>how can i make the detected bounadry in red for example ?<br>
Is there any type of iterator that iterate through the boundary?? since i dont have a first index and second index. <br> <br>Thanks <br><br> <br>

<hr>
Date: Sat, 14 May 2011 20:27:50 -0400<br>Subject: Re: [Insight-users] RGBimage<br>From: <a href="mailto:robert.tamburo@gmail.com" target="_blank">robert.tamburo@gmail.com</a><br>To: <a href="mailto:xlolla28x@hotmail.com" target="_blank">xlolla28x@hotmail.com</a><br>
<br>LabelOverlayImageFilter may do what you want. I have not personally used it though. I usually use ComposeRGBImageFilter to create an RGB image from a scalar image then iterate the RGB image manually setting the color of select pixels.
<div><br>
<div>2011/5/14 LaMoOsH .. <span dir="ltr">&lt;<a href="mailto:xlolla28x@hotmail.com" target="_blank">xlolla28x@hotmail.com</a>&gt;</span><br>
<blockquote style="padding-left:1ex;border-left:#ccc 1px solid">
<div>Hello, <br> <br>I have a grayscale image .. (CT scan image) and i already applied a level-set on that image to segment a region. <br>now, i want to add a colour on the segmented boundary. just as the manual segmentation with itk snap . <br>
the result that i have is the result of the shape detection level set and it is in black and white.. and i have the thresholder output too .. <br> <br>how can i draw the line of the boundary which is the result of the level set on my original grayscale image? <br>
 <br>should i make two different outputs? so one is the output for the shape detection.. and another output of drawing the line on my original image? <br>should i convert the image into RGB? how can i assign a colour to each pixel in the bounday. <br>
 <br>sorry for asking alot of questions , i am new to itk. <br>few hints on my questions will be very helpful and appreciated. <br> <br>Thank you :) <br> <br> <br></div><br>_____________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br></div>                                               </div>

</div></div></blockquote></div><br>