<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: All about pixel colors: Reference information</title>
	<atom:link href="http://blogs.mathworks.com/steve/2006/02/24/all-about-pixel-colors-reference-information/feed/" rel="self" type="application/rss+xml" />
	<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 The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.</description>
	<lastBuildDate>Sat, 11 Feb 2012 18:27:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#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&#039;t know what exactly you mean by &quot;3D graph,&quot; but setting the CData property on an image object, which in Handle Graphics is a 2D thing, won&#039;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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#comment-21298</guid>
		<description>Thank you for this summary
I used &quot;slice&quot; 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 &quot;set(h,&#039;CData&#039;,MyImage)&quot; 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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#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&#039;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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#comment-20830</guid>
		<description>Thanks for the summary but I&#039;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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#comment-20549</guid>
		<description>Dave&#8212;Good questions.  1. Unfortunately the answer is yes, that&#039;s expected behavior.  However, I anticipate that we&#039;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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=40#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>

