<?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: edge detection on a moving object in Machine Vision</title>
    <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379921#M10285</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by pallen on &lt;SPAN class="date_text"&gt;06-16-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:38 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2006 19:38:06 GMT</pubDate>
    <dc:creator>pallen</dc:creator>
    <dc:date>2006-06-16T19:38:06Z</dc:date>
    <item>
      <title>edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337020#M9225</link>
      <description>Hi &lt;BR /&gt;I have a problem on edge detection. I have a pulley of different types.&lt;BR /&gt;Pulleys where Dia is same, but height differs. Pulleys of different dia but the number of teeth (ridges) vary.&lt;BR /&gt;I need to identify one type of pulley from the other. I am trying to use the following logic:&lt;BR /&gt;1. Locate the base of the pulley (which is distinct) using pattern match&lt;BR /&gt;2. Define a co ordinate based on this pattern match.&lt;BR /&gt;3. Define edge detection tool using the co ordinate (this is where I am running into a wall)&lt;BR /&gt;&lt;BR /&gt;I have used extracts of examples : battery inspection, gage and fuse inspection&lt;BR /&gt;&lt;BR /&gt;I am not able to define the edge tool (Edge detector under vision assistant 7.1)&lt;BR /&gt;I am trying to use the co ordinates, since if the pulley moves a bit, then the edge detector appears away (in Vision assistant)&lt;BR /&gt;THE CATCH IS:&lt;BR /&gt;I have to do this in VB since Machine vision has to be integrated into existing vb application.&lt;BR /&gt;&lt;BR /&gt;NOTE: attached image of pulley&lt;BR /&gt;&lt;BR /&gt;Now can some one help me PLS&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Suresh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Mar 2006 17:32:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337020#M9225</guid>
      <dc:creator>NoviceS</dc:creator>
      <dc:date>2006-03-11T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337226#M9235</link>
      <description>Suresh,&lt;BR /&gt;
the Vision Assistant is only a prototyping tool. It's not possible, as in VB AI, to set a new coordinate system.&lt;BR /&gt;
If you want to become familiar with this function, navigate to the following path on your PC and have a look into the examples: &lt;BR /&gt;
C:\Program Files\National Instruments\Vision\Examples\MSVB.NET\3. Applications&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
ThSa&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Mar 2006 11:24:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337226#M9235</guid>
      <dc:creator>ThSa</dc:creator>
      <dc:date>2006-03-13T11:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337243#M9236</link>
      <description>Hi&lt;BR /&gt;Thanks for the reply. I have been thru the applications folder. (BTB it is MSVB not MSVB.net , in my system, probably bcoz my version is 7.1.1)&lt;BR /&gt;The battery clamp inspection appears to be the nearest fit. And it uses the circular edge. I am trying to use the same by modifying it for the edge detector tool (simple edge) but I am not able to get it. And the documentation is not able to enlighten me. I have to complete it fast. And I would be highly thankful for any help. I feel I am making some mistake somewhere. I even tried the fuse inspection example (by modifying it).&lt;BR /&gt;&lt;BR /&gt;If some code extract for vb 6, I shall be grateful&lt;BR /&gt;Thanks&lt;BR /&gt;Suresh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Mar 2006 12:02:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337243#M9236</guid>
      <dc:creator>NoviceS</dc:creator>
      <dc:date>2006-03-13T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337682#M9241</link>
      <description>Hi Suresh - &lt;BR /&gt;&lt;BR /&gt;I took your image and expanded the background region to make three versions with the pulley in different positions.&amp;nbsp; Then I loaded the three images into Vision Assistant and built a script that finds the teeth of the pulley.&amp;nbsp; Although Vision Assistant can't generate coordinate systems, I used edge detection algorithms to define a placeholder where the coordinate system code should be added.&lt;BR /&gt;&lt;BR /&gt;I chose to use a clamp and midpoint instead of the Pattern Matching tool because of the nature of the image.&amp;nbsp; Silhouetted images are difficult to pattern match, and the vertical line symmetry of the pulley makes it even more difficult to find a unique area of the object that can be recognized repeatedly.&amp;nbsp; Instead, I generally find more success using algorithms that are designed around edge detection.&amp;nbsp; I assumed that the "notch" at the bottom of the pulley will always be present in your images, so I performed a Clamp in the Horizontal Min Caliper to find this notch.&amp;nbsp; The midpoint of this clamp section can be used as the origin of a coordinate system around which the following Edge Detection steps are performed.&amp;nbsp; This allows you to find the teeth of the pulley no matter where it is in the image.&amp;nbsp; (Note that the VA script was built using &lt;FONT face="Courier New"&gt;pulley with BG 3.png&lt;/FONT&gt;.)&lt;BR /&gt;&lt;BR /&gt;The Builder File that was generated from the script gives you all the code you need except for the Caliper function and the Coordinate System functions.&amp;nbsp; I added comments to these sections to show what type of code you will have to add there.&lt;BR /&gt;&lt;BR /&gt;It may not be exactly the application you need to perform, but it should give you a solid starting point.&amp;nbsp; I hope it helps.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Mar 2006 22:14:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337682#M9241</guid>
      <dc:creator>David S.</dc:creator>
      <dc:date>2006-03-13T22:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337760#M9246</link>
      <description>Hi all,&lt;BR /&gt;Thanks for the reply. Your help however small is highly appreciated. I am new to NI products and new to this forum. I started off on this forum before buying ni products (to decide on the purchase), now to learn. I really appreciate the effort of all the people. &lt;BR /&gt;Browsing the threads (I do it to learn abt vision) I read somewhere, that one can give stars as appreciation. How is this done?&lt;BR /&gt;Thanks&lt;BR /&gt;Suresh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Mar 2006 02:15:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/337760#M9246</guid>
      <dc:creator>NoviceS</dc:creator>
      <dc:date>2006-03-14T02:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/338083#M9262</link>
      <description>Hi David&lt;BR /&gt;Thanks for all the support. I could at last get it. I am able to position the edge detecting tool along a derived co ordinate system. I am using pattern match to find the left edges and right edges.&lt;BR /&gt;Thanks and Thanks again&lt;BR /&gt;Suresh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Mar 2006 16:19:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/338083#M9262</guid>
      <dc:creator>NoviceS</dc:creator>
      <dc:date>2006-03-14T16:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379261#M10269</link>
      <description>Hi David, &lt;BR /&gt;&lt;BR /&gt;I realize the original poster has found a solution to his problem.&amp;nbsp; But I am also struggling with Coordinate Systems and was curious about the files you posted. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I opened the .scr file, I was unable to run the script on the images you included as they were RGB images and not compatible with the Find Circular Edge or Clamp functions.&amp;nbsp; I added an Extract Color Plane function and was then able to run your script. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm a little confused though as to how you would use this script to generate positioning information.&amp;nbsp; Would it be possible to explain it a little? &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jun 2006 15:46:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379261#M10269</guid>
      <dc:creator>pallen</dc:creator>
      <dc:date>2006-06-15T15:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379910#M10282</link>
      <description>Hi pallen - &lt;BR /&gt;&lt;BR /&gt;The first step in the script extracts the Intensity plane from the image, which results in an 8-bit grayscale image that later steps can use.&amp;nbsp; I was able to run it without any modification.&lt;BR /&gt;&lt;BR /&gt;As I commented in the Builder File, you'll have to create and implement a coordinate system youself because Vision Assistant doesn't generate this code currently.&amp;nbsp; I recommend using the midpoint of the Clamp results as the system origin.&amp;nbsp; You can use the &lt;B&gt;CWIMAQVision.BuildCoordinateSystem&lt;/B&gt; method in doing this.&amp;nbsp; To use the coordinate system with the Simple Edge Detectors, I recommend using &lt;B&gt;CWIMAQRegions.TransformRegions&lt;/B&gt; to conform the ROI input to the new coordinate system.&lt;BR /&gt;&lt;BR /&gt;I'm not a VB programmer myself, so I can't write the code for you.&amp;nbsp; However, if you run into problems using our API, I can use my resources to help you solve them.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Jun 2006 18:51:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379910#M10282</guid>
      <dc:creator>David S.</dc:creator>
      <dc:date>2006-06-16T18:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379920#M10284</link>
      <description>Thanks for the explanation.&lt;BR /&gt;&lt;BR /&gt;I'm not a VB programmer myself either.&amp;nbsp; LabView here. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found this thread while looking for a way to use simple edge detection of one "feature" as a way of translating the location of other "sensors" in my ROI.&amp;nbsp; My previous experience with DVT systems provided a very simple way of doing this and as yet I'm still struggling with LabView. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Basically I want to use the outside edges of a part to help locate certain details inside of the part because part positioning under the camera may vary slightly from sample to sample. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've only just begun this project though.&amp;nbsp; I'm confident that with all the resources available I'll have it figured out in time. &amp;nbsp;&lt;SPAN&gt;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Jun 2006 19:38:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379920#M10284</guid>
      <dc:creator>pallen</dc:creator>
      <dc:date>2006-06-16T19:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: edge detection on a moving object</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379921#M10285</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by pallen on &lt;SPAN class="date_text"&gt;06-16-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:38 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2006 19:38:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/379921#M10285</guid>
      <dc:creator>pallen</dc:creator>
      <dc:date>2006-06-16T19:38:06Z</dc:date>
    </item>
    <item>
      <title>help me in extracting license plate from an image,not selecting roi manually</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/2300180#M37725</link>
      <description>&lt;P&gt;hai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;iam working on extraction of number plate using labview. i want to extract license plate alone from the image and to segment the numbers. pls help me, anyone have the code?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2013 06:11:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/edge-detection-on-a-moving-object/m-p/2300180#M37725</guid>
      <dc:creator>dfsfdsfv</dc:creator>
      <dc:date>2013-02-01T06:11:53Z</dc:date>
    </item>
  </channel>
</rss>

