Hi Nikolas,<br><br>I think you may want to look at using image adaptors to convert RGB pixels into a vector of intensity values that can be modifed by the matrix to get a new vector of values in CIE/LUV space.<br><br><a href="http://www.itk.org/Doxygen/html/group__ImageAdaptors.html">http://www.itk.org/Doxygen/html/group__ImageAdaptors.html</a><br>
<br>Kishore<br><br><div class="gmail_quote">On Thu, Mar 11, 2010 at 5:54 AM, Nikolas S <span dir="ltr"><<a href="mailto:aoratos22@yahoo.gr">aoratos22@yahoo.gr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all, <br><br>I am new to itk so please be patient with me. <br>I want to create a filter to convert a RGB image to a CIELUV colorspace image. In order to do that I need to multiply the RGB values with a matrix and the result with some other values.<br>
I realized the best way to do something like that is to copy an existing filter and just change the part I am interested in. I have trouble finding a suitable filter as a template. Could anyone give me a hint on how I can do this? Bear in mind that I'm still on the process of discovering how itk works.<br>
<br>Regards,<br>Nikolas Stathonikos<br>
<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>