2015-06-20 12:25:38 -0600 | received badge | ● Scholar (source) |
2015-06-15 04:27:26 -0600 | received badge | ● Supporter (source) |
2015-06-15 04:27:18 -0600 | commented answer | How could I extract layers for differet color systems? Thank you for your help. Using the split function gives me grayscale layers for all XYZ, YCrCb and HSV color systems. Is that true? |
2015-06-15 03:44:45 -0600 | asked a question | How could I extract layers for differet color systems? Hi I am new to opencv. I wrote a program to extract RGB layers from an 3channels jpg image. Then I used cvtColor to convert RGB image ro other color systems (CIE XYZ, YCrCb, HSV, HLS, ...). But when I used same algorithm (as RGB layer extraction) the result was wrong. for XYZ layers, I got something near RGB layers. for YCrCb I got 3 color layers (R, G, B). What is wrong with my code? How can I extract YCrCb, HSV, HLS and Lab* layers? Here is my sample code for XYZ layers |