<?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: Reference information</title>
	<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/</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>Mon, 23 Nov 2009 01:29:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-21299</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 05 Dec 2008 12:16:56 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-21299</guid>
		<description>Masoud&#8212;1. You picked the slice and changed the pixels, so you must have enough information to determine where they are.  2. No.  I don't know what exactly you mean by "3D graph," but setting the CData property on an image object, which in Handle Graphics is a 2D thing, won't affect your 3D image.</description>
		<content:encoded><![CDATA[<p>Masoud&mdash;1. You picked the slice and changed the pixels, so you must have enough information to determine where they are.  2. No.  I don&#8217;t know what exactly you mean by &#8220;3D graph,&#8221; but setting the CData property on an image object, which in Handle Graphics is a 2D thing, won&#8217;t affect your 3D image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Masoud</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-21298</link>
		<dc:creator>Masoud</dc:creator>
		<pubDate>Fri, 05 Dec 2008 10:34:15 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-21298</guid>
		<description>Thank you for this summary
I used "slice" command to see a special part from a special direction of a 3D image and I used CData to analyze my image in a 2D gray level matrix.
I manipulated the 2D image(make some pixels blue) and then used "set(h,'CData',MyImage)" to map it back to the 3D graph.

1. How can I find the position of those blue pixels in 3D space?

2. Does the new changes affect the original 3D Image?

Thank you</description>
		<content:encoded><![CDATA[<p>Thank you for this summary<br />
I used &#8220;slice&#8221; command to see a special part from a special direction of a 3D image and I used CData to analyze my image in a 2D gray level matrix.<br />
I manipulated the 2D image(make some pixels blue) and then used &#8220;set(h,&#8217;CData&#8217;,MyImage)&#8221; to map it back to the 3D graph.</p>
<p>1. How can I find the position of those blue pixels in 3D space?</p>
<p>2. Does the new changes affect the original 3D Image?</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20849</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:22:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20849</guid>
		<description>Jonathan&#8212;Your desired color scaling goes beyond the scaling supported directly by the Handle Graphics &lt;tt&gt;image&lt;/tt&gt;.  You'll have to write your own scaling function to convert your matrix to an RGB image.</description>
		<content:encoded><![CDATA[<p>Jonathan&mdash;Your desired color scaling goes beyond the scaling supported directly by the Handle Graphics <tt>image</tt>.  You&#8217;ll have to write your own scaling function to convert your matrix to an RGB image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Bar-on</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20830</link>
		<dc:creator>Jonathan Bar-on</dc:creator>
		<pubDate>Mon, 30 Jun 2008 16:30:39 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20830</guid>
		<description>Thanks for the summary but I'm still having trouble with a colormap scaling problem.  I have a matrix where I have distinct integer values and I would like to assign a specific color to each value and then display the matrix using image.  For example, suppose that my matrix has values (and assigned colors) of 10 – red, 100 – blue, 1000 –black, and 1e8 white while values from 1e5-1e7 are scaled from orange to white.  If colormap were n x 4 as opposed to n x 3 then it would be pretty easy to do (one column represents the appropriate scaling).  However, this isn’t the case and I can’t figure out how to do what I want using CData or CDataMapping.  Any suggestions?

Thanks,

Jonathan Bar-on</description>
		<content:encoded><![CDATA[<p>Thanks for the summary but I&#8217;m still having trouble with a colormap scaling problem.  I have a matrix where I have distinct integer values and I would like to assign a specific color to each value and then display the matrix using image.  For example, suppose that my matrix has values (and assigned colors) of 10 – red, 100 – blue, 1000 –black, and 1e8 white while values from 1e5-1e7 are scaled from orange to white.  If colormap were n x 4 as opposed to n x 3 then it would be pretty easy to do (one column represents the appropriate scaling).  However, this isn’t the case and I can’t figure out how to do what I want using CData or CDataMapping.  Any suggestions?</p>
<p>Thanks,</p>
<p>Jonathan Bar-on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Watson</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20550</link>
		<dc:creator>Dave Watson</dc:creator>
		<pubDate>Tue, 01 Apr 2008 20:15:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20550</guid>
		<description>Steve, ignore second question, thanks.</description>
		<content:encoded><![CDATA[<p>Steve, ignore second question, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20549</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 01 Apr 2008 19:18:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20549</guid>
		<description>Dave&#8212;Good questions.  1. Unfortunately the answer is yes, that's expected behavior.  However, I anticipate that we'll soon be able to do a better job with (u)int32 image CData.  2. No.</description>
		<content:encoded><![CDATA[<p>Dave&mdash;Good questions.  1. Unfortunately the answer is yes, that&#8217;s expected behavior.  However, I anticipate that we&#8217;ll soon be able to do a better job with (u)int32 image CData.  2. No.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Watson</title>
		<link>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20548</link>
		<dc:creator>Dave Watson</dc:creator>
		<pubDate>Tue, 01 Apr 2008 18:40:04 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/#comment-20548</guid>
		<description>Steve, thanks for summarizing.  Two questions:

1. When I use (u)int32 data it seems CData gets converted to double.  Expected behavior?

2. Is there a way, short of rescaling CData before assigning to the image object, to have the values point to a section of the figure colormap, instead of spanning the entire colormap?

Thanks,</description>
		<content:encoded><![CDATA[<p>Steve, thanks for summarizing.  Two questions:</p>
<p>1. When I use (u)int32 data it seems CData gets converted to double.  Expected behavior?</p>
<p>2. Is there a way, short of rescaling CData before assigning to the image object, to have the values point to a section of the figure colormap, instead of spanning the entire colormap?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
