<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: All about pixel colors: Truecolor and indexed images</title>
	<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/</link>
	<description>Steve Eddins manages the Image &#38; Geospatial development team at &#60;a href="http://www.mathworks.com/"&#62;The MathWorks&#60;/a&#62; and coauthored &#60;a href="http://www.mathworks.com/support/books/book5291.html?category=-1&#38;language=-1"&#62;Digital Image Processing Using MATLAB&#60;/a&#62;. He writes here about image processing concepts, algorithm implementations, and MATLAB.&#60;br&#62;&#60;br&#62;&#60;img&#62;</description>
	<pubDate>Sun, 22 Nov 2009 23:52:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21759</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 13 May 2009 23:19:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21759</guid>
		<description>Imen&#8212;Use &lt;tt&gt;makecform&lt;/tt&gt; and &lt;tt&gt;applycform&lt;/tt&gt; for converting between RGB and LAB.  I don't understand your question about &lt;tt&gt;regionprops&lt;/tt&gt;; that function is for computing geometric measurements of image regions.</description>
		<content:encoded><![CDATA[<p>Imen&mdash;Use <tt>makecform</tt> and <tt>applycform</tt> for converting between RGB and LAB.  I don&#8217;t understand your question about <tt>regionprops</tt>; that function is for computing geometric measurements of image regions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imen</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21758</link>
		<dc:creator>imen</dc:creator>
		<pubDate>Wed, 13 May 2009 22:11:09 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21758</guid>
		<description>hi my problem is how to create a function to convert an image RGB to XYZ then XYZ to LAB and make it "executable" it means i can run it and see the result
and i have another problem ich is how to create a nother function for searching an image using the commande regionprops????
i hope i will get an answer from you
</description>
		<content:encoded><![CDATA[<p>hi my problem is how to create a function to convert an image RGB to XYZ then XYZ to LAB and make it &#8220;executable&#8221; it means i can run it and see the result<br />
and i have another problem ich is how to create a nother function for searching an image using the commande regionprops????<br />
i hope i will get an answer from you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21163</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 15 Oct 2008 19:53:06 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21163</guid>
		<description>Anurag&#8212;Here's a sample:

&lt;pre&gt;
RGB = imread('peppers.png');
imshow(RGB)
I = rgb2gray(RGB);
figure, imshow(I)
imwrite(I, peppers_gray.png')
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Anurag&mdash;Here&#8217;s a sample:</p>
<pre>
RGB = imread('peppers.png');
imshow(RGB)
I = rgb2gray(RGB);
figure, imshow(I)
imwrite(I, peppers_gray.png')
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anurag</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21154</link>
		<dc:creator>Anurag</dc:creator>
		<pubDate>Mon, 13 Oct 2008 10:51:21 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-21154</guid>
		<description>hello steve. i need some help in converting true color images to 8-bit grayscale i tried the function rgb2gray but it did not help/ guide me please.</description>
		<content:encoded><![CDATA[<p>hello steve. i need some help in converting true color images to 8-bit grayscale i tried the function rgb2gray but it did not help/ guide me please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20735</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 27 May 2008 12:33:42 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20735</guid>
		<description>Liya&#8212;I can't help you with debugging your code.  You might consider posting a note to the MATLAB newsgroup, &lt;a href="http://www.mathworks.com/matlabcentral/newsreader/" rel="nofollow"&gt;comp.soft-sys.matlab&lt;/a&gt;.  If you do, you'll need to give a more specific description of your problem, because "it's not displaying" is too vague.</description>
		<content:encoded><![CDATA[<p>Liya&mdash;I can&#8217;t help you with debugging your code.  You might consider posting a note to the MATLAB newsgroup, <a href="http://www.mathworks.com/matlabcentral/newsreader/" rel="nofollow">comp.soft-sys.matlab</a>.  If you do, you&#8217;ll need to give a more specific description of your problem, because &#8220;it&#8217;s not displaying&#8221; is too vague.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liya</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20732</link>
		<dc:creator>liya</dc:creator>
		<pubDate>Mon, 26 May 2008 02:14:00 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20732</guid>
		<description>Hello Steve,
    thanks for the reply, I tried to use ycbcr2rgb, but I was not able get the true colors, actually I am trying to perform wavelet transform on the color images, I tried to use the for loop for RGB and than concatenate, but I was not able to get it,I dont whats the problem, please help.

for k=1:3
B1=image(:,:,k);
[ca,ch,cv,cd]=dwt2(B1,'wname');
......
...
decimage(:,:,i)=[ca1r ch1r;cv1r cd1r];
end
decimage1=cat(3,decimage(:,:,1),decimage(:,:,2),decimage(:,:,3));
imview(decimage1)

I tried this way also, but Its not displaying.pls help</description>
		<content:encoded><![CDATA[<p>Hello Steve,<br />
    thanks for the reply, I tried to use ycbcr2rgb, but I was not able get the true colors, actually I am trying to perform wavelet transform on the color images, I tried to use the for loop for RGB and than concatenate, but I was not able to get it,I dont whats the problem, please help.</p>
<p>for k=1:3<br />
B1=image(:,:,k);<br />
[ca,ch,cv,cd]=dwt2(B1,&#8217;wname&#8217;);<br />
&#8230;&#8230;<br />
&#8230;<br />
decimage(:,:,i)=[ca1r ch1r;cv1r cd1r];<br />
end<br />
decimage1=cat(3,decimage(:,:,1),decimage(:,:,2),decimage(:,:,3));<br />
imview(decimage1)</p>
<p>I tried this way also, but Its not displaying.pls help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20730</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 24 May 2008 12:10:00 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20730</guid>
		<description>Iiya&#8212;Use &lt;tt&gt;ycbcr2rgb&lt;/tt&gt;.</description>
		<content:encoded><![CDATA[<p>Iiya&mdash;Use <tt>ycbcr2rgb</tt>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liya</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20728</link>
		<dc:creator>liya</dc:creator>
		<pubDate>Fri, 23 May 2008 18:08:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20728</guid>
		<description>Hello Steve,
I am working on color images but, i am facing the problem in converting the Ycbcr back to true colors, is there any method ,please help 
A=double(I1);
X1rgb=0.2990*A(:,:,1)+0.5870*A(:,:,2)+0.1140*A(:,:,3);</description>
		<content:encoded><![CDATA[<p>Hello Steve,<br />
I am working on color images but, i am facing the problem in converting the Ycbcr back to true colors, is there any method ,please help<br />
A=double(I1);<br />
X1rgb=0.2990*A(:,:,1)+0.5870*A(:,:,2)+0.1140*A(:,:,3);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20642</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 22 Apr 2008 11:35:32 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20642</guid>
		<description>Darshan&#8212;You can't.  When you converted the image to grayscale, you threw the color information away.  You can't get it back.</description>
		<content:encoded><![CDATA[<p>Darshan&mdash;You can&#8217;t.  When you converted the image to grayscale, you threw the color information away.  You can&#8217;t get it back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darshan</title>
		<link>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20638</link>
		<dc:creator>Darshan</dc:creator>
		<pubDate>Tue, 22 Apr 2008 06:22:27 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/03/all-about-pixel-colors-part-2/#comment-20638</guid>
		<description>Resepect sir,
I am very happy for ur kind reply. My aim is to convert first an rgb image to grascale and vice-versa for that i have  written the following code as below,
like
I=imread('flowers.tif');
figure;image(I);
k=rgb2gray(I);
figure;image(k);
rgb=cat(3,k,k,k);
figure;image(rgb);

but  i couldn't get the colored image. why? if  u have any other idea's plz help me.</description>
		<content:encoded><![CDATA[<p>Resepect sir,<br />
I am very happy for ur kind reply. My aim is to convert first an rgb image to grascale and vice-versa for that i have  written the following code as below,<br />
like<br />
I=imread(&#8217;flowers.tif&#8217;);<br />
figure;image(I);<br />
k=rgb2gray(I);<br />
figure;image(k);<br />
rgb=cat(3,k,k,k);<br />
figure;image(rgb);</p>
<p>but  i couldn&#8217;t get the colored image. why? if  u have any other idea&#8217;s plz help me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
