Prev: from string to mat
Next: Cftool
From: astro mmi on 15 Feb 2010 16:11 Hi everyone, I have converted an rgb image to gray scale and then applied adaphisteq to enhance its' contrast. Now I want to get the R,G,B components of this image. Is it possible b/c now that we have converted it to gray scale and enhanced it?
From: ImageAnalyst on 15 Feb 2010 17:18 No. You can only get the color from the original color image, not from a monochrome version of it.
From: Dave Robinson on 16 Feb 2010 08:19 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <e9c1d42d-a600-4d6a-9f5b-f2c43afbb05f(a)o16g2000vbf.googlegroups.com>... > No. You can only get the color from the original color image, not > from a monochrome version of it. You can get to the result you are looking for by transforming your colour image into HSV colour format, then applying your processing to the V plane, then reconstruct the HSV image using the adjusted V plane to replace the old one, and then reconvert back to RGB. Alternatively see the following thread http://www.mathworks.com/matlabcentral/newsreader/view_thread/262873#688931 Hope that helps Dave Robinson
|
Pages: 1 Prev: from string to mat Next: Cftool |