
RGB Image Color Space Transformations
Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3237 |
Published in The Insight Journal - 2010 July-December.
Submitted by Robert Tamburo on 12-10-2010.
This paper describes a set of pixel accessors that transform RGB pixel values to a different color space. Accessors for the HSI, XYZ, Yuv, YUV, HSV, Lab, Luv, HSL, CMY, and CMYK color spaces are provided here. This paper is accompanied with source code for the pixel accessors and test, test images and parameters, and expected output images.
Note: Set() methods are incorrect. Will provide revision by 12.17.2010.
Note: Set() methods are incorrect. Will provide revision by 12.17.2010.
Data
peppers.png (111Kb)
Code







Click here for more details.
Go here to access the main testing dashboard.
Reviews







Summary:
The author wrote accessors to be used with itkImageAdaptor for many common color spaces. Having access to all of these color spaces through ImageAdaptors is great!
Evidence:A test is included which transform a test image to all of the different color spaces and compares them to baseline images.
Open Science:All of the source code and images are provided. I was able to replicate the results.
Reproducibility:The code compiles, runs, and passes the tests out of the box.
Open source Contributions:The usage is clearly explained in the PDF.
Code Quality :The code could benefit from some more comments. Particularly, the mathematical equations which were used in the color space conversions should be explained at the top of each header.
Free comment :These accessors should be added to ITK ASAP!
Quick Comments
Comment by David Doria
For some of these classes, I found that it is possible to relax the restriction of using itk::RGBPixel as the pixel type of the image that is adapted (to allow something like itk::CovariantVector by adding a template argument:
template >
and replacing the InternalType typedef with:
typedef TInternalType InternalType;

For some of these classes, I found that it is possible to relax the restriction of using itk::RGBPixel
template
and replacing the InternalType typedef with:
typedef TInternalType InternalType;
Resources
![]() |
|
Download All | |
Download Paper , View Paper | |
Download Source code | |
Github |
Statistics more
![]() |
|
Global rating: | ![]() ![]() ![]() ![]() ![]() |
Review rating: | ![]() ![]() ![]() ![]() ![]() |
Code rating: | ![]() ![]() ![]() ![]() ![]() |
Paper Quality: |
![]() ![]() |
2 comments |
Information more
![]() |
|
Categories: | Data Representation, Image |
Keywords: | rgb , color space, transformation, HSI, XYZ, Yuv, YUV, HSV, Lab, Luv, HSL, CMY, CMYK |
Toolkits: | ITK |
Export citation: |
Share
![]() |
Linked Publications more
![]() |
||
![]() by Vercauteren T., Pennec X., Perchant A., Ayache N.
|
||
![]() by Padfield D., Miller J.
|
View license
Loading license...
Send a message to the author

To turn really interesting ideas and fledgling technologies into a company that can continue to innovate for years it requires a lot of disciplines.a href="http://www.quickerautoinsurancequotes.com/"Auto Insurance Quote/a