<?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: Gray scale pixel values in labeled regions</title>
	<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/</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, 08 Nov 2009 04:17:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22190</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 06 Oct 2009 11:16:04 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22190</guid>
		<description>Opcs&#8212;Here's basic assignment:

&lt;pre&gt;
% Replace element in row 5, col 6 with value 10
A(5, 6) = 10;
&lt;/pre&gt;

You might also want to look at my posts on &lt;a href="http://blogs.mathworks.com/steve/2008/01/28/logical-indexing/" rel="nofollow"&gt;logical&lt;/a&gt; and &lt;a href="http://blogs.mathworks.com/steve/2008/02/08/linear-indexing/" rel="nofollow"&gt;linear indexing&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Opcs&mdash;Here&#8217;s basic assignment:</p>
<pre>
% Replace element in row 5, col 6 with value 10
A(5, 6) = 10;
</pre>
<p>You might also want to look at my posts on <a href="http://blogs.mathworks.com/steve/2008/01/28/logical-indexing/" rel="nofollow">logical</a> and <a href="http://blogs.mathworks.com/steve/2008/02/08/linear-indexing/" rel="nofollow">linear indexing</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: opcs</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22184</link>
		<dc:creator>opcs</dc:creator>
		<pubDate>Mon, 05 Oct 2009 21:11:25 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22184</guid>
		<description>sir,i have an image and want to perform some operations on selective pixels of the image, means to transform an image into different image.

how to apply that function on that pixels, leaving remaining pixels unaffected in the resulted image ?

I'm in new in matlab and have no more time to complete the assignment so please help me out

thanx...</description>
		<content:encoded><![CDATA[<p>sir,i have an image and want to perform some operations on selective pixels of the image, means to transform an image into different image.</p>
<p>how to apply that function on that pixels, leaving remaining pixels unaffected in the resulted image ?</p>
<p>I&#8217;m in new in matlab and have no more time to complete the assignment so please help me out</p>
<p>thanx&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22069</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 20 Aug 2009 16:17:31 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22069</guid>
		<description>Varun&#8212;The convention followed by the Image Processing Toolbox is that gray-scale images represented as floating-point arrays have the range [0, 1], not [0, 255]. I recommend that you take a look at the intro sections in the Image Processing Toolbox users guide that describes the interactions between image type and data type conventions.  Note also that the default display range can be overridden when you call &lt;tt&gt;imshow&lt;/tt&gt; using this syntax:

&lt;pre&gt;
imshow(A, [0 255])
&lt;/pre&gt;

Take a look at the documentation for &lt;tt&gt;imshow&lt;/tt&gt; for more details.</description>
		<content:encoded><![CDATA[<p>Varun&mdash;The convention followed by the Image Processing Toolbox is that gray-scale images represented as floating-point arrays have the range [0, 1], not [0, 255]. I recommend that you take a look at the intro sections in the Image Processing Toolbox users guide that describes the interactions between image type and data type conventions.  Note also that the default display range can be overridden when you call <tt>imshow</tt> using this syntax:</p>
<pre>
imshow(A, [0 255])
</pre>
<p>Take a look at the documentation for <tt>imshow</tt> for more details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varun</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22067</link>
		<dc:creator>Varun</dc:creator>
		<pubDate>Wed, 19 Aug 2009 20:51:40 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22067</guid>
		<description>Hey,
Steve..great post..I have just started using matlab and I stumbled over a problem..i.e
If i have an array (NxN..say 100X100) and i store random pixel values into it (in the range of 0-255) and do 'imshow()' should it show the different grey colors..I ran the code but it just showed white for values &#62;0 and black for values=0...Why is it so? and how to I reflect the various greyscale color values of the array onto the image window..</description>
		<content:encoded><![CDATA[<p>Hey,<br />
Steve..great post..I have just started using matlab and I stumbled over a problem..i.e<br />
If i have an array (NxN..say 100X100) and i store random pixel values into it (in the range of 0-255) and do &#8216;imshow()&#8217; should it show the different grey colors..I ran the code but it just showed white for values &gt;0 and black for values=0&#8230;Why is it so? and how to I reflect the various greyscale color values of the array onto the image window..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22003</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 24 Jul 2009 01:01:55 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-22003</guid>
		<description>Marco&#8212;Your question is pretty vague.  What's stopping you from dividing it in a certain number of parts?  Presumably you know how you want to divide it, so divide away.</description>
		<content:encoded><![CDATA[<p>Marco&mdash;Your question is pretty vague.  What&#8217;s stopping you from dividing it in a certain number of parts?  Presumably you know how you want to divide it, so divide away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21996</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Thu, 23 Jul 2009 10:17:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21996</guid>
		<description>This technique is very interesting....but what if the image is not oroginally segmented as this one (I mean I have a single entity instead of multiple entities) and you want to divide it in a certain number of parts, and then ask the average value??</description>
		<content:encoded><![CDATA[<p>This technique is very interesting&#8230;.but what if the image is not oroginally segmented as this one (I mean I have a single entity instead of multiple entities) and you want to divide it in a certain number of parts, and then ask the average value??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21788</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 27 May 2009 18:21:27 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21788</guid>
		<description>Santosh&#8212;Use something like this code to compute the mean of a subimage:

&lt;pre&gt;
subimage = original_image(r1:r2, c1:c2);
average_value = mean2(subimage);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Santosh&mdash;Use something like this code to compute the mean of a subimage:</p>
<pre>
subimage = original_image(r1:r2, c1:c2);
average_value = mean2(subimage);
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santosh Bansode</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21744</link>
		<dc:creator>Santosh Bansode</dc:creator>
		<pubDate>Sat, 09 May 2009 06:42:36 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21744</guid>
		<description>Hi there,
I have made a grey chart from black to white reducing the greyness. I have done it through normal Excel using fill color option, I printed it then and then took a picture of it. Now i want to read average value of pixels in different areas of grey level, probably in the centre of each grey area as there might be a bit of noise where a grey level meets another grey level. Please let me know how to do it. Kind Regards.</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I have made a grey chart from black to white reducing the greyness. I have done it through normal Excel using fill color option, I printed it then and then took a picture of it. Now i want to read average value of pixels in different areas of grey level, probably in the centre of each grey area as there might be a bit of noise where a grey level meets another grey level. Please let me know how to do it. Kind Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21743</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 08 May 2009 15:35:01 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21743</guid>
		<description>Allen&#8212;Yes, what you describe is possible.  &lt;tt&gt;bwlabel&lt;/tt&gt; and &lt;tt&gt;regionprops&lt;/tt&gt; are the key functions.</description>
		<content:encoded><![CDATA[<p>Allen&mdash;Yes, what you describe is possible.  <tt>bwlabel</tt> and <tt>regionprops</tt> are the key functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: allen j</title>
		<link>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21715</link>
		<dc:creator>allen j</dc:creator>
		<pubDate>Mon, 27 Apr 2009 23:32:36 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/21/gray-scale-pixel-values-in-labeled-regions/#comment-21715</guid>
		<description>Steve-
My question lies along the same as shawkat.  You will have to excuse me as I stumbled upon this while doing some research for my thesis project.  I am working on finding drag coefficients for a number of different odd objects.  The dilemna is that finding the frontal area of these objects can be very difficult.  One of my professors said that maybe doing a pixel count would then be able to tell be the area.  I am following all of what you are doing with the coins, I just want to know if it is at all possible to help me find say the area of one of those coins, or if not at least the amount of pixels that make up one of the coins and then I could try to calculate area from there.  I am more familiar with Mathcad as it is emphasized in our program, however we have matlab at school and so Im willing to learn if this would work.  Let me know what you think. Thank you for your time and any help.</description>
		<content:encoded><![CDATA[<p>Steve-<br />
My question lies along the same as shawkat.  You will have to excuse me as I stumbled upon this while doing some research for my thesis project.  I am working on finding drag coefficients for a number of different odd objects.  The dilemna is that finding the frontal area of these objects can be very difficult.  One of my professors said that maybe doing a pixel count would then be able to tell be the area.  I am following all of what you are doing with the coins, I just want to know if it is at all possible to help me find say the area of one of those coins, or if not at least the amount of pixels that make up one of the coins and then I could try to calculate area from there.  I am more familiar with Mathcad as it is emphasized in our program, however we have matlab at school and so Im willing to learn if this would work.  Let me know what you think. Thank you for your time and any help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
