<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Image Processing...Please Help' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Image Processing...Please Help' posted on the 'Matlab' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 13:35:03 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 13:35:03 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Image Processing...Please Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/393736/image-processingplease-help/</link>
      <description>Hello, &lt;br /&gt;
&lt;br /&gt;
I am trying to write a matlab code to calculate the area of a specific region of a jpeg image using pixel size.  To do so, I have two user defined functions.  Users select these points by clicking on the image.  The coordinates are then stored.  I need to then apply a 2D median filter to create a binary image.  I then need to use something (probably a while loop?)  to detect the intensity edge of the image.  The cut off intensity value would be the mean intensity of the image at the second user defined clicking point plus or minus 2 standard deviations.  Intensity values below would be those found in this region.  Intensity values above this cut off value would indicate the border/edge of the intensity at that particular y value.  Then, it would record the x value at which the intensity difference happened in an array and move on to the next y coordinate value until reaching the upper y-coordinate limit (defined by the user click).&lt;br /&gt;
&lt;br /&gt;
After obtaining this array between points (x1, y1) and (x2, y2), the distance between point (x1, y1) and (xa,ya) would be calculated using the distance formula (sqrt((x2-x1)^2=(y2-y1)^2)) until the distance reached an arbitrary value of 20 pixels.  The value at which the distance is 20 pixels would be defined as the radius.  The image should then be rotated by an angle defined by tan-1(|Yradius-y1|/|Xradius-x1|), to place this radius on a horizontal line with the initial user defined click.  &lt;br /&gt;
&lt;br /&gt;
After rotation, the same iteration process to find the intensity should be done for the image in this newly rotated state, except with the initial array varying in the x direction, and edge detection in the y-direction.  Because here I need to calculate the area, after reaching the differing (higher) intensity value, I will need to count the number of pixels it took to get to this newly defined edge (in both the positive and negative direction).  This will be done for each x value between the range of x1 of the user defined click, and the new radius coordinate point X.  Then, to get the total distance (number of pixels) at each x value, I must find the distance between the y values.&lt;br /&gt;
&lt;br /&gt;
Would anyone be able to tell me how to do/start tackling this task?  I’m kind of new at this MATLAB thing.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/393736/image-processingplease-help/</guid>
      <pubDate>Wed, 15 Jul 2009 21:03:29 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Re: Image Processing...Please Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/408433/re-image-processingplease-help/#408433</link>
      <description>Hi..&lt;br /&gt;
&lt;br /&gt;
maybe this might help..&lt;br /&gt;
try to download the toolbox from this link&lt;br /&gt;
&lt;a href="http://www.mathworks.com/matlabcentral/fileexchange/1596-imroi"&gt;http://www.mathworks.com/matlabcentral/fileexchange/1596-imroi&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
i assume that you have already know on how to implement the toolbox in the matlab environment.&lt;br /&gt;
&lt;br /&gt;
This toolbox helps me a lot when i'm tried to calculate the actual area of a specific regions. First, you have to try with your own image, then you have to click on the region or area that you want to trace. The final results will show you the area (in terms of pixels), mean, median and some statistics values based on the traced regions.&lt;br /&gt;
&lt;br /&gt;
In my case, I have made some modification on the source code so that it fits to my image.. some unnecessary part is also removed.&lt;br /&gt;
&lt;br /&gt;
OK, good luck!!!&lt;br /&gt;
&lt;br /&gt;
-Salmah Yasiran-&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/408433/re-image-processingplease-help/#408433</guid>
      <pubDate>Tue, 27 Oct 2009 18:31:57 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Re: Image Processing...Please Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411568/re-image-processingplease-help/#411568</link>
      <description>Hi &lt;br /&gt;
&lt;br /&gt;
I am working on my Project which needs to calculate the area of a Black and white image. I should calculate the area of the black object.&lt;br /&gt;
&lt;br /&gt;
Can I use this toolbox to calculate the Area of the black object?&lt;br /&gt;
There is any tutorials how to use this Toolbox?&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Dominic&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411568/re-image-processingplease-help/#411568</guid>
      <pubDate>Wed, 06 Jan 2010 03:00:52 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Re: Image Processing...Please Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411598/re-image-processingplease-help/#411598</link>
      <description>&lt;br /&gt;
Dear Dominic,&lt;br /&gt;
&lt;br /&gt;
Of course u can use the toolbox to calculate the specific area (black) that u want. I'll send an email to u on how to use the toolbox.. can u give me ur email? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards, &lt;br /&gt;
Salmah Yasiran&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411598/re-image-processingplease-help/#411598</guid>
      <pubDate>Wed, 06 Jan 2010 16:48:56 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Re: Image Processing...Please Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411616/re-image-processingplease-help/#411616</link>
      <description>Dear Salmah Yasiran&lt;br /&gt;
&lt;br /&gt;
Thanks a lot this is my email: abeladominic@yahoo.co.uk&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Dominic&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393736/411616/re-image-processingplease-help/#411616</guid>
      <pubDate>Wed, 06 Jan 2010 23:28:49 -0700</pubDate>
      <category>Matlab</category>
    </item>
  </channel>
</rss>
