[Insight-users] RGBimage

robert tamburo robert.tamburo at gmail.com
Sun May 15 14:04:28 EDT 2011


Iterate through the composed RGB image with an image iterator. At each
iteration, get the pixel of the boundary image. If it's a boundary pixel,
set the pixel in the RGB image to red.

2011/5/15 LaMoOsH .. <xlolla28x at hotmail.com>

>  Hi,
>
> Thanks for you reply
>
> 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.
> how can i make the detected bounadry in red for example ?
> Is there any type of iterator that iterate through the boundary?? since i
> dont have a first index and second index.
>
> Thanks
>
>
> ------------------------------
> Date: Sat, 14 May 2011 20:27:50 -0400
> Subject: Re: [Insight-users] RGBimage
> From: robert.tamburo at gmail.com
> To: xlolla28x at hotmail.com
>
> 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.
>
> 2011/5/14 LaMoOsH .. <xlolla28x at hotmail.com>
>
> Hello,
>
> I have a grayscale image .. (CT scan image) and i already applied a
> level-set on that image to segment a region.
> now, i want to add a colour on the segmented boundary. just as the manual
> segmentation with itk snap .
> 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 ..
>
> how can i draw the line of the boundary which is the result of the level
> set on my original grayscale image?
>
> 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?
> should i convert the image into RGB? how can i assign a colour to each
> pixel in the bounday.
>
> sorry for asking alot of questions , i am new to itk.
> few hints on my questions will be very helpful and appreciated.
>
> Thank you :)
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110515/7f6bddd5/attachment.htm>


More information about the Insight-users mailing list