RGB Image Color Space Transformations
logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3237
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.
Data
minus 1 Dataset (111Kb)
peppers.png (111Kb)
Code
minus Automatic Testing Results by Insight-Journal Dashboard on Sat Dec 11 09:43:30 2010 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 5
yellow This project passed all of its tests.
Click here for more details.

Go here to access the main testing dashboard.

Reviews
minus These accessors are a great help! by David Doria on 2011-01-05 13:44:31 for revision #1
starstarstarstarstar expertise: 3 sensitivity: 5
yellow
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!

Add a new review
Quick Comments
Comment by Mivpl Susan yellow
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
Comment by David Doria yellow
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;


Resources
backyellow
Download All
Download Paper , View Paper
Download Source code
Github

Statistics more
backyellow
Global rating: starstarstarstarstar
Review rating: starstarstarstarstar [review]
Code rating: starstarstarstarstar
Paper Quality: plus minus
2 comments

Information more
backyellow
Categories: Data Representation, Image
Keywords: rgb , color space, transformation, HSI, XYZ, Yuv, YUV, HSV, Lab, Luv, HSL, CMY, CMYK
Toolkits: ITK
Export citation:

Share
backyellow
Share

Linked Publications more
backyellow
Diffeomorphic Demons Using ITK's Finite Difference Solver Hierarchy Diffeomorphic Demons Using ITK's Finite Difference Solver Hierarchy
by Vercauteren T., Pennec X., Perchant A., Ayache N.
A Label Geometry Image Filter for Multiple Object Measurement A Label Geometry Image Filter for Multiple Object Measurement
by Padfield D., Miller J.

View license
Loading license...

Send a message to the author
main_flat
ISSN 2327-770X
Powered by Midas