[Insight-users] how to get red composant from RGB image

Luis Ibanez luis.ibanez at kitware.com
Sun Mar 25 17:31:03 EST 2007


Hi Medamine,


Please read the ITK Software Guide

     http://www.itk.org/ItkSoftwareGuide.pdf

In particular, Chapter 12 "Image Adaptors" in
pdf pages: 777-787.

You will find a way of separating RGB components
in section 12.2 "Adapting RGB images".


You may also find interesting to look at the filter:

VectorIndexSelectionCastImageFilter

http://www.itk.org/Insight/Doxygen/html/classitk_1_1VectorIndexSelectionCastImageFilter.html


    Regards,



       Luis


----------------
medamine wrote:
> hi.
> i would like to seperate differents composants of RGB image using itk:image
> with Red composant,image with Green composant,image with Blue
> composant.thanks


More information about the Insight-users mailing list