IMAQ Find Edge shows straight edge beyond part

Hello
I am working on finding the sides of my simple part with the IMAQ Find Edge tool. To make it simple, I gave my image an extreme threshold with IMAQ Threshold manually set 0 - 230 so My part basically shows up Black against a white background. I set the ROI of the Part from IMAQ Count Objects 2, expanded that ROI by a couple pixels on each corner of the bounding box and input that into my IMAQ Find Edge tool. I have two IMAQ Find Edges, one looking left to right finding all edges and the other top to bottom finding all edges. It took a while, but I have all Straight edges appearing using the results from Find Edge.
What I don't understand is why these lines are longer than the edges of the part sides? I have attached the image to show what I mean. The edges (yellow) are clearly found on the part, but the resulting lines (red) are beyond these points. 
Kelsi
Attachments:
Find edges.png ‏7 KB

Also am I setting up my edge detect functions wrong? I am filtering my image so I only see the object, no shadows. I am thresholding the image to basically outline it. Now I am using the edge detect function to find the edges and it can't seem to find them all. I have an object that I set my ROI about it, and I have the settings for the edge detect on very low to detect basically any edges possible. It still does not consistently see the edges of my object.
Is there a more reliable way to consistently see these edges?
Kelsi
Attachments:
edge detect1.png ‏874 KB
edge detect2.png ‏888 KB
edge detect3.png ‏203 KB

Similar Messages

  • IMAQ find straigth edge

     Hello,
    I try to mesure an edge using the IMAQ Find Straight Edge VI. As seen on the attached image, some of the the edge was left out by the algorithm.
    I tried changing some parameters but without luck. Does someone know what parameter should be changed to get the full edge. The algorithm found the bottom edge perfectly.
    For my eyes, the upper edge is pretty straight and sharp so I do not understant why the left part was left...
    Thanks for your help!!
    Vincent
    Attachments:
    Find_Straigth_Edge.PNG ‏35 KB

    Hello Vincent,
    It looks like the edge of you image is fairly blury. Maybe changing the kernel size or gap would help. The easiest thing to do would be to open up vision assistant and play around with your algorithm visually. 
    Regards,
    Ian K.
    Applications Engineer
    National Instruments

  • What exactly is the roundness figure generated by IMAQ Find Circular Edge?

    Is it a measure of pixels from the minimum to maximum diameter span of the data points (aka circularity). What numerical figure would a perfect circle return?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Hello,
    Roundness or residual represents the least square error of the fitted circle to the entire set of points.
    The value you would receive if you had a perfect circle would be 0 since there would be no error. You can see the formula for this value if you look at the online help for the IMAQ Fit Cirlce under residual. This is the function that is called by IMAQ Find Circular Edge.
    Regards,
    Andy Bell
    Applications Engineer
    National Instruments

  • Edge detection using IMAQ Find Edge/IMAQ Edge Tool 3

    Hi,
    I have several images with useless background around a rectangular ROI (coordinates unknown!). So I tried using the two VIs mentioned above in order to detect these edges so that I can remove them. Regretfully, this does not work as planned.
    IMAQ Find Edge usually finds an edge, but not where it should be. The edge detection is earlier than I want it to be.
    IMAQ Edge Tool 3 sometimes does not find an edge at all, sometimes it finds the edge perfectly. Here I use the 'get best edge' option, which delivers the best results with all the images I tested it with.
    All the other options are also not changed while running the VI with the images I have.
    Does anyone have intimate knowledge of these VIs' algorithms, how they work, how they can be manipulated, ... ?

    Hi,
    Can you upload an example image?
    That would clarify what you're trying to do?
    Most of the time a change of mindset solves the problem.
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012

  • IMAQ find edge.vi - proper setting of options

    Trying to use IMAQ find edge.vi I still get a weird error saying something about type conflict with typedef "Edge options.ctl". Please see the attached screenshot.
    Is it just Labview bug or did I get anything wrong?
    Thank you for your help!
    Martin Pekar
    Solved!
    Go to Solution.
    Attachments:
    screenshot.JPG ‏147 KB
    VI_and_data.zip ‏355 KB

    You need to modify the element order in your cluster constant that connects to IMAQ Find Edge. The way you would do this is to right-click on the border of the cluster constant and click 'Reorder Clusters in Control...'. If you want to know what you need to order to, use another IMAQ Find Edge, create a constant for the Options input and repeate the steps that I mentioned to see how the elements in the cluster have been ordered in that constant.
    Modifying Cluster Element Order
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Can I control rotation on IMAQ find Edge?

    Hi all,
    Im using the IMAQ tools in LabView including the "IMAQ Find Horizontal
    Edge" but sometimes it picks up on erroneous edges especially when I
    get more specular back in my image (yeah I could do image processing to
    get rid of it but I want to eliminate the possibility of it occuring
    regardless).  So my question is there any way to control it so
    that it will only search for edges that are perfectly horizontal or +/-
    a few degrees.  I cant seem to find any settings for that. 
    They have edge strength and contrast and what not but nothing for
    rotation.  Im sure there has to be a way.  Any help would be
    really apreciated.
    Thanks,
    Dave

    Hello,
    While there is not any way to search for an edge at a particular angle of rotation, there are several settings for the Find Horizontal Edge function that could be used to improve its accuracy.  I would suggest starting with modifying the contrast and subsampling ratio settings.  The contrast determines what pixel intensity change will constitute an edge (increasing this value will require a greater change in pixel values for an edge to be detected) and the subsampling ratio determines the number of rake lines that will be used to detect the edge.
    In addition to those parameters, you can also fine-tune the steepness to help determine the size (in pixels) of the transition area.  A steeper angle will require a faster transition from one intensity to another to register as an edge.  You can also modify the filter width to specify the number of pixels on either side of the edge that are averaged to determine the contrast of the transition.
    Take a look at the IMAQ Vision for LabVIEW VI Reference Help for more information about the different parameters that are available with this function.  This help file can be loaded by turning on the Context Help for LabVIEW, hovering over the IMAQ Find Horizontal Edge function, and selecting "Click here for More Help."
    Regards,
    Scott R.
    Applications Engineer
    National Instruments

  • I need to manipulate only X values of Edge coordinate​s (IMAQ Find Vertical Edge VI)

    In IMAQ Find Vertical Edge VI Edge Coordinates is an array of clusters, but I need to manipulate only the X values. How can I extrapolate those values to use them after?

    Thanks for your answer...I have begin to do it yesterday afternoon, but I don`t finish it yet !!!Isn`t there an other way of doing ? My problem is that I don`t know the exact number of points used by the edge coordinates, and before unbundling the cluster, I have to transform my array of clusters into a cluster, so I have to give it a fixed size...it`s not a difficult work, but quite long...

  • Why is my text frame edge showing when I print?

    My text frame edge shows up sometimes when it overlaps another frame.    It doesn't show up in the document when I am creating it, but it shows up when I print.  It is not a solid line all around the frame, instead, it just shows up in small lines once in awhile.  I have attached a picture showing the black dashed lines through the words "pow" and "baby.  Please let me know what I should be doing differently!

    Could be the printer (do the lines stay in the same place on every print? How about if you rotate the page 180?) or they could be transparency flattening artifacts, in which case exporting to PDF with live transparency and printing that might work better than printing direct from ID.

  • Adv. Straight Edge Drop Down Bug?

    I'm running a VBAI insepection in VBAI 2011 (SP1) where the contrast for a particular straight edge changes based on the configuration of the product being inspected, in one configuration the background is washed out and the graylevel difference is well over 100, in another configuration the backround is less that 25 gray levels of separation...and there are other candidate edges in the area, changing minimum edge strenght is the only parameter difference I need to support all of my product configurations. 
    Typically, I would use paralell states, with identical steps and different edge settings and then branch based on configuration, but in this cased I decided to use a Calculator step to set the Edge Threshold, and then select the Calculated Parameter from the drop-down in the Adv. Straight Edge Setup dialog.  It appears to work just fine.  But after leaving the Adv. Straight Edge Setup dialog and returning to edit the edge later....it is not apparent that the edge strength is being controlled by a calculator step!  The Drop Down has "Enter Numeric Value" checked, but VBAI ignores whatever value I enter and sticks with the Calculator value (see attached screen shot and note edgde strength setting vs graph).  And yes, i can go back to the calculator step and change the value there...so the calculator step is still in control.
    So far, the only way I've found to "break the connection" to the calculator is to check and uncheck "Suggested Values"
    Bottom line: Using calculated values in the Adv. Straight Edge of VBAI 2011 tool works, but the only way I know the verify that the connection is there is by noting that the associted parameter can no longer be changed from the Setup dialog.
    Is this a known issue, and if so, can anyone tell me if the functionality of using the calculator to set my Adv. Straight Edge strength is supported or an undocumented feature not to be trusted?
    Eric
    Attachments:
    VBAI_AVSE_Dropdown_Bug.jpg ‏64 KB

    I reproduced this issue and added this BUG to our database (ID# 381829 for your reference..we list the BUGS fixed with their IDs in the readme so you can quickly see when this is fixed using this ID by looking in the README of future versions of the installer). Another work around is to select a different previous measurement and then select the "Enter Numeric Value" and the value you type in will be used.
    Sorry for the confusion, and we will work on fixing this in an upcoming release.
    Thanks,
    Brad

  • Where can I find the download BOBJ EDGE BI 3.1 SP7 in Software Download Center?

    Thanks!

    Hello,
    you download the Service Pack 7 Update installer from the product "SAP BusinessObjects Enterprise XI 3.1" and install it on top of your EDGE Installation.
    EDGE is nothing else than a "smaller" SAP BusinessObjects Enterprise XI 3.1. Therefore you cann use the Service Packs / Fix Packs of SAP BusinessObjects Enterprise XI 3.1 for your EDGE XI 3.1.
    Regards
    -Seb.

  • Finder Not showing Sidebar

    In my finder not showing sidebar.
    I have checked finder preferences etc..

    Finder menu > View > Show Sidebar.
    Does that help?
    Sometimes I have to select it twice to get it to appear (Finder likes to ignore simple requests with no explanation ).
    You may also be able to drag from the left edge to make it appear too, but that can also be hit or miss.

  • How to show details from web part as pop up window

    Hello
    I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
    up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
    of the page that I need to show as pop up.
    Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
    <script>
    function showpreview<xsl:value-of select="$ViewCounter" />(o) {
    count = 1;
    for(i = 0; i &lt; o.childNodes.length; i++)
    var child = o.childNodes[i];
    if (child.style.display == &quot;none&quot; &amp;&amp; child.tagName == &quot;DIV&quot;)
    f = document.getElementById(&quot;n&quot; + count + &quot;<xsl:value-of select="$WPQ" />&quot;);
    f.innerHTML = unescape(child.innerHTML) + &apos;&#160;&apos;;
    count ++;
    </script>
    <div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
    <table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
    <xsl:choose>
    <xsl:when test="not($dvt_RowCount=0)">
    <tr>
    <td valign="top" style="width: 186px">
    <div class="ms-ppleft" style="width: 100px">
    <table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
    <xsl:apply-templates select="." mode="RenderView"/>
    </table>
    </div>
    </td>
    <td valign="top">
    <div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
    <table border="0" cellpadding="0" cellspacing="0">
    <xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
    <tr>
    <td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
    <nobr>
    <xsl:value-of select="@DisplayName"/>
    </nobr>
    </td>
    <td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
    </td>
    </tr>
    </xsl:for-each>
    </table>
    </div>
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    <td class="ms-vb">
    <table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
    <xsl:call-template name="EmptyTemplate" />
    </table>
    </td>
    </tr>
    <tr>
    <td height="5">
    <img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </table>
    </xsl:template>
    Alla Sanders

    Hi Alla,
    You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    var obj1=$("a[id='forum0-NewPostLink']");
    url="http://sp13"+obj1.attr("href");
    //alert(url);
    obj1.removeAttr("href");
    obj1.click(function(){
    openDialogBox(url);
    function openDialogBox(url) {
    var pageUrl=url;
    var title="New Discussion";
    SP.UI.ModalDialog.showModalDialog(
    url: pageUrl,
    autoSize: true,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK){
    //refresh parent window
    window.location.href=window.location.href;
    </script>
    Reference:
    https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Exchange 2010 - Issues with Room Finder not showing available rooms.

    Hi,
    We are having issues with room finder not populating the room resources that are available inside a meeting request within outlook 2010. It also appears that there is a drop down box that is present in a lot of the other forums and pages that I have referenced
    for troubleshooting:
    Single Exchange 2010 server version 14.03.0224.002 running all roles. Migrated from previous Exchange 2003 environment and old 2003 server has been decommissioned.
    Room mailbox created and all configured resource policies are working correctly for creating meeting requests. A distribution group was created and the room mailboxes added to this DG as per instructions here: hxxp://exchangeserverpro.com/find-meeting-rooms/
    . We have recreated the OAB and confirmed that the Room mailboxes are part of this list.
    Does anyone have any ideas why the rooms are not showing up in the Room Finder box?
    If I have missed any information please feel free to ask for more info.
    Thanks, all help will be appreciated.

    Hi,
    According to your description, I understand that room finder cannot show available room in Outlook 2010.
    If I misunderstand you concern, please do not hesitate to let me know.
    I want to double confirm whether it works before, or it can’t work after decommission Exchange 2003? How about other Outlook version?
    The offline address book (OAB) is generated by Microsoft Exchange Server. In order for the Room Finder feature to work, the OAB must be generated by Exchange 2010 or a later version.
    Please run Get-OfflineAddressBook | FL Identity,Server to double check OAB generation server. Also, run Get-OabVirtualDirectory | FL to check URL for current OAB VD and force update OAB.
    Then open Test E-mail AutoConfiguration to double check whether Outlook get correct URL.
    After above complete, please try to switch to Send/Receive tab, click Send/Receive Groups, and then click Download Address Book.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • Approved App Does Not Show in the App Part Section.

    Hi all,
      I have successfully add an App from the SharePoint App Store to my SharePoint Site which was developed using SharePoint 2013. The added app was successfully Approved then when I try to add that app using the App Part to a web page I cannot Find it
    in the App Part section. I looked in the Site Collection Features & Site Features I couldn't find the app to activate. I don't think I have done some kind of mistake. So then what else I have to do to add that App part to the web page.
     Could someone try to solve this matter?
     Thanks,
     Regards,
     Chiranthaka

    Ok I found the solution from another thread & it is at the below!
    Cannot Add
    Approved App To A Web Page - App Does Not Show in the App Part Section.

  • Report to find a material by a mfr part number and old material number

    Hi,
    Is there any standard report to find a material by a mfr part number and old material number ?
    For the moment, we are using MM03 to search articles by these selection criterion.
    Thanks,
    Julien Girard

    Hi
    As there is no stsndard report use the SQVI to find out the details, It is very simple , please follwo the below steps.
    Use Txn SQVI, enter the Quick view field say- ZMNFR and click the  create button, Enter the title in the next screen i.e Report name- Say - Manufacturer's Part No. Details, in the same screen you need to enter  MARA  for the data from table/database view, please leave the 1. data source as Table only and the radio button as Basis mode only.  Click the tick mark , you will go to the next screen,
    You will notice Quick viewer Intial screen
    Open the node general material data
    Select the Buttons besides the fields MARA-MATNR for material number, MARA-MFRPN for manufacturers part number, and MARA-BISMT for old material number. You can include any other field if you wish to have in your output. You will notice two check boxes against each field, one is for input screen field and the other is for outputf field. But currently you do not bother about and select both the check boxes or any other field you wish to have as input and output as well. Once selected all the fields afer clicking the check boxes save the total arrangement. and then in the same screen use the execute button or use F8 to find out your report input screen.
    Now enter the Material number for which you wish to know other two details in the report and execute again you will find the report output.
    Please ensure that you are maintaining both the details in material master basic data1 and purchasing  view if you wish to get  out output
    Best regards
    SAM
    Edited by: samuel mendis on Apr 8, 2009 6:52 AM

Maybe you are looking for

  • Using  my own music ( mp3) in my web site

    can i have 30 sec or 1 minute songs that i do in GB>mp3 included in the web site? or is there just room for a quick 15 sec pre recorded jingle? what is the deal with audio in your web site? I would like to have photos and my own recorded written musi

  • Creating a SDK (.swc) in Adobe Flash CS5 - Error + Best Practices Questions

    Hello all, I'm currently developing a client library for a server-based API which is developed by my company. The goal is for the .swc to be usable in both Flash and Flash Builder (any Actionscript environment, really).  So far I've just been creatin

  • Hyperlink word with bookmark not converted in HTML

    Hi, I use RH10 to create an HTML help from several Word documents. I have a problem with Word hyperlink that is not converted in the HTML output. In my RH10 project, i have 2 link word document. I created with Word an hyperlink with bookmark in a doc

  • Lenovo V560 drops wifi connection - cannot restore without reboot

    Hello, First off let me say that I'm  earning a BS in Computer Science, so I know more than most when it comes to computers, yet this issue vexes me.  I only say that so that any replies understand that my level of technical comprehension is far abov

  • CRM: Link Business Partner to Case

    Anyone know of a BAPI or class that will allow me to do this.  I have created a Case (so have its GUID) and have the GUID of the Citizen (Business Partner) - just need to link them together - any ideas?