<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: detect dark spots using camera in Machine Vision</title>
    <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104638#M27872</link>
    <description>&lt;P&gt;I had asked you this &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;SPAN class="noindex"&gt;And again will it be ok if I give you a solution to differtiate the good and bad? Is some measurement involved?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Arjun247 wrote: &lt;BR /&gt;&lt;P&gt;You are filling up the holes in your code. That is what I dont want to do.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;area of black spots is the most&amp;nbsp;important information I need to&amp;nbsp;get.&lt;/P&gt;&lt;P&gt;Also the dark spots need not be in the edges of the circle. They could be&lt;/P&gt;&lt;P&gt;anywhere in the circle. &lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Again What i had suggested detects the blak spots for sure isnt it? Do you want to overlay them? &lt;/P&gt;</description>
    <pubDate>Mon, 05 Apr 2010 05:20:15 GMT</pubDate>
    <dc:creator>muks</dc:creator>
    <dc:date>2010-04-05T05:20:15Z</dc:date>
    <item>
      <title>detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1100914#M27753</link>
      <description>&lt;P&gt;I have taken a snapshot of a light source. I am posting a sample of&lt;/P&gt;&lt;P&gt;bad light source. It has dark spots in it. I just need the area of dark &lt;/P&gt;&lt;P&gt;spots of the circle. The processing I did to get an equalized image is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;acquisiton--&amp;gt;extract luminance plane--&amp;gt;imaq mask and extract--&amp;gt;threshold--&amp;gt;imaq equalize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i used vision assistant for the above&amp;nbsp;steps. &amp;nbsp;&lt;/P&gt;&lt;P&gt;The images are attached to this post. I did use count and find objects, but results are not&lt;/P&gt;&lt;P&gt;that accurate. Does anyone know a better way to get more accurate results. Just let me&lt;/P&gt;&lt;P&gt;know if anyone knows a better way of finding all the dark spots.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2010 15:28:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1100914#M27753</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-03-29T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1101954#M27782</link>
      <description>&lt;P&gt;Hey Arjun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How many spots were you able to locate? Could you post your script? &lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2010 18:35:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1101954#M27782</guid>
      <dc:creator>Andy_C.</dc:creator>
      <dc:date>2010-03-30T18:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1102230#M27788</link>
      <description>Is the blue patch that you are calling as a black spot? Will the perfect image have a perfect white circle? One method you ca use is detect circles in binary image and depending on the diameter you can say whether you have any black spot or not.</description>
      <pubDate>Wed, 31 Mar 2010 05:22:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1102230#M27788</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-03-31T05:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1102828#M27827</link>
      <description>&lt;P&gt;Muks &lt;/P&gt;&lt;P&gt;yes a perfect image will have perfect white circle. I am attaching the code as well as &lt;/P&gt;&lt;P&gt;original image and snap of my output. I got this code from vision assistant. In original &lt;/P&gt;&lt;P&gt;image the innermost circle is what I am masking and extracting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you will open my output image you will see that the dark spots near the border&lt;/P&gt;&lt;P&gt;of circle go unnoticed. The reason could be because of no border. I need to find the area &lt;/P&gt;&lt;P&gt;of all the dark spots, and thats it. If anyone feeds the my original to my code you will see&lt;/P&gt;&lt;P&gt;the result of what I see on my output. I appreciate your help. In circle the slight dark spots&lt;/P&gt;&lt;P&gt;are what I am lookingto detect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try what Muks suggested os using circular edge detection, the result was interesting but&lt;/P&gt;&lt;P&gt;not what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2010 18:51:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1102828#M27827</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-03-31T18:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103106#M27832</link>
      <description>Before circular detaction you can try morpological operation namely dilation and increase the iteration till you get satisfactory result. Can you attach the vi for 8.0 or post a screen shot?</description>
      <pubDate>Thu, 01 Apr 2010 05:51:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103106#M27832</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-01T05:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103463#M27838</link>
      <description>&lt;P&gt;I am attaching the snapshot of the code. I am trying some experiments.&lt;/P&gt;&lt;P&gt;I will keep you posted. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2010 15:01:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103463#M27838</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-01T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103844#M27848</link>
      <description>Post a good image and a bad one so that we can also work on that.</description>
      <pubDate>Fri, 02 Apr 2010 05:46:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103844#M27848</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-02T05:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103964#M27854</link>
      <description>&lt;P&gt;Ok &lt;/P&gt;&lt;P&gt;I am attaching the good image to thia post. Here w go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2010 13:33:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103964#M27854</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-02T13:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103970#M27855</link>
      <description>And again will it be ok if I give you a solution to differtiate the good and bad? Is some measurement involved?</description>
      <pubDate>Fri, 02 Apr 2010 13:39:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103970#M27855</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-02T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103983#M27856</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2010 14:05:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103983#M27856</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-02T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103999#M27859</link>
      <description>Helped? Update as I am planning to leave now for the weekend........&lt;A href="http://forums.ni.com/t5/util/emoticonspopuppage" class="emoticon-link" target="_blank"&gt;&lt;IMG src="http://forums.ni.com/i/smilies/16x16_smiley-wink.gif" border="0" alt=":smileywink:" title="Smiley Wink" /&gt;&lt;/A&gt;</description>
      <pubDate>Fri, 02 Apr 2010 14:18:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1103999#M27859</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-02T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104134#M27862</link>
      <description>&lt;P&gt;well. What I was trying to say was the measurement should be based on&amp;nbsp;area of dark spots&lt;/P&gt;&lt;P&gt;or black area. If black area is more than 10% of the area of circle&amp;nbsp; then it should fail. Thats &lt;/P&gt;&lt;P&gt;what I am trying to do. thanks for your quick response.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2010 18:06:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104134#M27862</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-02T18:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104154#M27863</link>
      <description>&lt;P&gt;You are filling up the holes in your code. That is what I dont want to do.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;area of black spots is the most&amp;nbsp;important information I need to&amp;nbsp;get.&lt;/P&gt;&lt;P&gt;Also the dark spots need not be in the edges of the circle. They could be&lt;/P&gt;&lt;P&gt;anywhere in the circle. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2010 18:52:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104154#M27863</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-02T18:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104638#M27872</link>
      <description>&lt;P&gt;I had asked you this &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;SPAN class="noindex"&gt;And again will it be ok if I give you a solution to differtiate the good and bad? Is some measurement involved?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Arjun247 wrote: &lt;BR /&gt;&lt;P&gt;You are filling up the holes in your code. That is what I dont want to do.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;area of black spots is the most&amp;nbsp;important information I need to&amp;nbsp;get.&lt;/P&gt;&lt;P&gt;Also the dark spots need not be in the edges of the circle. They could be&lt;/P&gt;&lt;P&gt;anywhere in the circle. &lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Again What i had suggested detects the blak spots for sure isnt it? Do you want to overlay them? &lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2010 05:20:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104638#M27872</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-05T05:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104801#M27876</link>
      <description>&lt;P&gt;Yes I want to overlay them. I am sorry if I didnt mention it.&lt;/P&gt;&lt;P&gt;I wanted to overlay the dark spots and also calculate the area&lt;/P&gt;&lt;P&gt;and thier percentage in total fibers. That is what I am planning &lt;/P&gt;&lt;P&gt;to do.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2010 13:34:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104801#M27876</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-05T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104807#M27877</link>
      <description>This is entirely different to what we have been trying to do so far.....</description>
      <pubDate>Mon, 05 Apr 2010 13:40:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104807#M27877</guid>
      <dc:creator>muks</dc:creator>
      <dc:date>2010-04-05T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: detect dark spots using camera</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104894#M27879</link>
      <description>Muks
I am sorry if I confused you. If you read my first post it said clearly what I was trying
to do. I needed percentage area of dark spots in the image.

Arjun</description>
      <pubDate>Mon, 05 Apr 2010 15:55:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/detect-dark-spots-using-camera/m-p/1104894#M27879</guid>
      <dc:creator>Arjun247</dc:creator>
      <dc:date>2010-04-05T15:55:54Z</dc:date>
    </item>
  </channel>
</rss>

