Vision assistant structuring element

HELLO,
 I am a new bee to labview.My objective is to "ERODE OBJECTS" through  "BASIC MORPHOLOGY"  in vision assistant  using a 2 x 28 structuring element filter.But vision assistant only provides 3 x 3 , 5 x 5 and 7x 7 order structured elements erode object filter. Is there any way out??
                                                                       Thank you

The latest version of Vision Assistant 2011 SP1 lets you specify much bigger kernels, but unfortunately, they still have to be the same size in X and Y. Thanks for the feedback. We might consider letting the user specify different sizes in X and Y in a future version.
As Bruce mentioned, you will have to generated the code and do it in LabVIEW.
Alternatively, you can just create that VI from LabVIEW using the kernel you want, call it using the Run LabVIEW step, and still do the rest of your prototyping in Vision Assistant.
Christophe

Similar Messages

  • Vision DevMod: How to create large Gaussian filter kernels with integer values like Vision Assistant uses

    Hello,
    in Vision Assistant it is possible to create filter kernel of arbitrary size, like e.g. a 75x75 Gaussian kernel. These kernels feature integer-only elements. I tried to find a function in the Vision Development Module, but have been unable to find something so far. So I still create a Vision Assistant script with such a kernel and export it to a LabVIEW VI in order to abtain such a kernel. Any ideas on how to create such kernels programmatically?

    -You can generate custom kernels in LabVIEW also, but you need to have either string or numerical of that kernels. Without these two, i am not sure of how to do this.
    -Please check this for building kernels.
    http://zone.ni.com/reference/en-XX/help/370281M-01​/imaqvision/imaq_buildkernel/
    -Let's say you are able to programmatically generate kernel string, it will convert to kernel in double format automatically and connect this to convolute vi.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How do you track a moving object using Labview and Vision Assistant

    I am using Vision and Labview to create a program that tracks and follow a moving object using a high end camera. Basically what it does is it detects a foreign object and locks on to it and follows it where ever it goes in a control sized room.
    I have no idea how to do this. Please help. Or is there an available example.
    Thanks.

    Hello,
    It sounds like you want to look into a Vision technique called Pattern Matching.  Using our Vision tools, you can look for a image, called a template, within another image.  Vision will scan over the entire image of interest trying to see if there are any matches with the template.  It will return the number of matches and their coordinates within the image of interest.  You would take a picture of the object and use it as the template to search for.  Then, take a picture of the entire room and use pattern matching to determine at what coordinates that template is found in the picture.  Doing this multiple times, you can track the movement of the object as it moves throughout the room.  If you have a motion system that will have to move the camera for you, it will complicate matters very much, but would still be possible to do.  You would have to have a feedback loop that, depending on where the object is located, adjusts the angle of the camera appropriately.
    There are a number of different examples a that perform pattern matching.  There are three available in the example finder.  In LabVIEW, navigate to "Help » Find Examples".  On the "Browse" tab, browse according to "Directory Structure".  Navigate to "Vision » 2. Functions".  There are examples for "Pattern Matching", "Color Pattern Matching", and "Geometric Matching".  There are also dozens of pattern matching documents and example programs on our website.  From the homepage at www.ni.com, you can search in the top-right corner the entire site for the keywords, "pattern matching". 
    If you have Vision Assistant, you can use this to set up the pattern matching sequence.  When it is complete and customized to your liking, you can convert that into LabVIEW code by navigating to "Tools » Create LabVIEW VI..."  This is probably the easiest way to customize any type of vision application in general.
    I hope this helps you get started.  Take care and good luck!
    Regards,Aaron B.
    Applications Engineering
    National Instruments

  • Vision assistant in LabView

    Dear All,
    I am not that familiar with LabView yet, and would really appreciate some help.
    I have attached to this message three documents. the first one represents the block diagram of how I can use a few tools from labview with my thermal camera. All this works fine for this one. The second one, is a tool developped from Vision Assistant, but created as a LabView VI, so same in the block diagram. And in the third one, is the block diagram of the two (the first which corresponds to image and few data from the camera, and the second one the tool developped in Vision assistant) together. Bacsically my question is, could you help me or show me how to link the two, so that I can use the tool developped in Vision Assistant with my image from the thermal camera (file 1). Link file 1 and 2 together basically.
    Many thanks for your time
     reivaxseniab
    Solved!
    Go to Solution.
    Attachments:
    GetImageExample.vi ‏32 KB
    trial 1.vi ‏68 KB
    trial 2.vi ‏94 KB

    Hi Xavier,
    I am not really sure what you mean by it doesn't seem to work, it looks to me like the VISA reference wire is going into the "Close.vi" fine, are you referring to how there is a broken run arrow up the top left of the program, not allowing your program to run?
    If you click on that broken run (or hit ctrl+r) arrow it will automatically give you an error list of items to fix like the first attachment.
    In your case you wont have the errors where subVI's are missing, but you will have the errors of tunnels not being wired together correctly, if you double click on that error it should take you to the area on your block diagram where the error occurs. Your VI's have a couple of tunnels hidden behind each other like the second attachment.
    You may want to move these out from each other so that they are easier to wire into individually, like the third attachment.
    You want to make sure that each of these terminals have data wired in to them in each one of your cases so that they do not appear as an empty shell, but as a solid colour.
    These links are good for understanding case structures and terminals a bit more.
    These are all subjects covered in LabVIEW Core 1, I would suggest Xavier that if you are looking to use LabVIEW more in the future it is often more beneficial to sit down and dedicate three days to learning these principles with exampls and excercises than struggling to piece together code, if you're an academic in the UK training is at a discounted rate. Let me know if you're interested.
    Best regards,
    Mark W
    Applications Engineer
    National Instruments UK & Ireland
    Attachments:
    Error list.PNG ‏33 KB
    Terminals clumped.PNG ‏2 KB
    Terminals neat.PNG ‏2 KB

  • Rewrite template vision assistance for image match

    hey guys , im using labview to detect an image and record its x-y coordinates.
    does anybody know how i can automatically change , in runtime, the template used to match .
    i get my template from the Vision Assistant Block 
    please please help
    Kevin
    Solved!
    Go to Solution.

    Hey Kevin,
    If you configure the Vision Assistant block and place it on your block diagram, you can then right click on it and select "Open Front Panel."
    This shows you the LabVIEW code that the Express VI is running behind the scenes. From here you can find any parameters you have set, put down as constants. So for example, the file path you chose for the template is on the block diagram as a file path constant. 
    You can right click on this and change it to a control, and then link this control to the connector pane
    Reference: http://zone.ni.com/reference/en-XX/help/371361H-01​/lvconcepts/building_connector_pane/
    After saving this VI, and closing it, you will notice some changes to your main VI. Firstly the vision assistant block will have changed colour to yellow, and secondly, it will have one more input added to the bottom (if you drag it down) which is for the control you set in the subVI.
    The attached example then adds a case structure to select the file path you want to use as a template during runtime. It would be better practice to use an event structure, but hopefully this works for demonstrative purposes.
    Let me know if this helps out Kevin.
    Thanks,
    Justin, Applications Engineer
    Attachments:
    Vision example.PNG ‏40 KB

  • How can I reach a structure-element instead of structure(value of other variable)

    Hi gurus,
    Sorry If my question is not really clear.
    Now I give result to a structure element.(green)
    But I'd like to replace this with the red.
    TYPES: BEGIN OF structure,
                  x1          TYPE i,
                  x2          TYPE i,
                  x3          TYPE i,
                  x4          TYPE i ,
    END OF structure.
    DATA: s  TYPE structure,
         name TYPE char2.
    name = 'X1'.
    s-x1 = 0.
    s-(name) = 0.
    How can I do this? With filed symbol?
    Thanks,
    Mark

    Hi Mark
    Please check this syntax 'ASSIGN COMPONENT <comp> OF STRUCTURE <s> TO <FS>.'
    regards,
    Archer

  • Use a web browser as the source for the vision assistant

    I want to access an ip camera over the internet and then use its video feed to do some processing with the vision assistant. I was wondering if someone could tell me if this is possible and how can it be done. what I have so far is an application that works with local cameras and I also have an example of a web broser in labview. I thought I could use the web browser and use a local variable from the browser in order to get the image, but this can't be wired to the grab or snap, because its not an image, so can someone please tell me how to convert the browser into a video feed, in order for me to use it in my application.

    Crop the image out of the print screen.  I imagine your screen will be a much larger resolution then the camer, and will only take up a portion of your browser window.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Make a Line Fit with Vision Assistant for a polynominal function?!

    Hello
    I do have following problem to solve: I do have a laser spot which draws a line (non linear) to a wall. For this line I need to know the (exact) mathematical
    function. Therefore I can get an image of the line but I do not know how I can extract the mathematical function with a line fit for example. If I could "convert"
    the line into points I would use the line fit function of LabView which should work without problem.
    Is there a way to solve the problem with the vision assistant or..?
    Thanks in advance
    Solved!
    Go to Solution.

    Hello,
    by now I have learned that (almost) anything is possible. You can achieve this using Labview, Matlab, C++, etc... In any case, getting the coordinates of a single laser line (single laser line - you don't need to find correspondences, as opposed to multi-line projection) should be really simple. If you place an apropriate filter in front of the camera, it is even simpler!
    If you want proof it can be done (and the description/procedute I used), check out the link in my signature and search for laser scanner posts (I think there is three of them, if I remember correctly). I have made a really cheap scanner (total cost was around 45 eur). The only problem is that it is not fully calibrated. If you want to make precise distance measurements, you need to calibrate it, for example using a body of known shape. There are quite a few calibration methods - search in papers online.
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • Drilldown vs Structure Element issue

    Dear Gurus,
    I have 2 free chars and several structure elements in my query along with 3 KFs. My req is like this.
    KFs - KF1 KF2
    Struc Elements - S1 S2 S3 whereas say S3 is nothing but a formula S1+S2.
    Free Chars - FC1 FC2
    Data in Cube:
    FC1    FC2     KF1      KF2
    A1       B1        1           1
    A1       B2        1           1
    A1       B3        1           1
    A2       B4        1           1
    A2       B5        1           1
    A2       B6        1           1
    When I execute te query its all fine. My report looks stg like this..
    S1      3         3............condition FC1 = A1
    S2      3         3............condition FC1 = A2
    S3      6         6
    When I drill down on FC1 and FC2, I see this...
    S1      A1    B1    1      1
    S1      A1    B2    1      1
    S1      A1    B3    1      1
    Result                 3      3
    S2      A2    B4    1      1
    S2      A2    B5    1      1
    S2      A2    B6    1      1
    Result                 3      3
    S3      A1    B1    1      1
    S3      A1    B2    1      1
    S3      A1    B3    1      1
    S3      A2    B4    1      1
    S3      A2    B5    1      1
    S3      A2    B6    1      1
    Result                 6      6
    Basically, we do not want to see the breakdown on S3 when we drilldown on the free characteristics...Any ideas how to do this ?

    Thanks Rakesh, but thats not what I am looking for. May be I did not put the question right. I want to see the report as below when I drilldown on my free chars.
    S1 A1 B1 1 1
    S1 A1 B2 1 1
    S1 A1 B3 1 1
    Result 3 3
    S2 A2 B4 1 1
    S2 A2 B5 1 1
    S2 A2 B6 1 1
    Result 3 3
    S3  -    -  6 6

  • Images in Vision Assistant are distorted from a FLIR thermo camera

    I'm trying to view my FLIR A315 in Vision Assistant and MAX (not at the same time), but the images keep coming up distorted.  I can tell there is data being sent, because the histogram shows info and if I mess around with the Attributes I can clear the image up some but it never get as clear as FLIR software.  I'm sure I'm missing something simple but this post seemed a good place to start.  Thanks
    Attachments:
    Image in Vision Assistant.png ‏81 KB

    Hi Recordpro,
    It could be your pixel format settings. Open Measurement and Automation Explorer and select you camera. Then click the Acquisition Attributes tab at the bottom and change your pixel format. If that does not work here are some good documents on GigE cameras.
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part I
    http://www.ni.com/white-paper/5651/en
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part II
    http://www.ni.com/white-paper/5750/en
    Troubleshooting GigE Vision Cameras
    http://www.ni.com/white-paper/5846/en
    Tim O
    Applications Engineer
    National Instruments

  • Missing images - "XML structure element, not in layout"

    I'm putting together handouts for several classes, which largely consists of copying and pasting text from Microsoft Word into InDesign CS5. Images I am placing manually. After re-organizing some of my files, one of my documents is now missing 118 links to images. However, none of these images are actually in my document - in the Links panel, each image says:
    "XML structure element, not in layout"
    Here's a screenshot of my links panel:
    These images are not supposed to be in the document at all. Clicking "Go To Link" does nothing. Is it possible that copy and pasting text from Word could have also copied the images in the Word document as well, without actually placing them on the pages? They now seem to be stuck in some kind of InDesign limbo.
    The only way I was able to get rid of them was to delete elements from the XML structure panel, however this deletes the content from my pages, which is not exactly helpful. Is there some way to just remove all of the missing image links from my document? Many thanks for any help!

    I was able to solve my problem. After displaying the Structure panel, I apparently had tons and tons of XML elements in the XML structure that were not placed in the document. I've never even seen the Structure panel before so this is totally new to me. I was able to delete all of the XML elements that were not placed in my document by checking their icons.

  • Check-In not locked for structure element in SOLMAN_DIRECTORY

    Hi,
    In  the solution manager, as a pre-requisite of the one of the upgrade project,
    all the BPS nodes should be checked in the solution directory.
    But we are not able to check in .
    Getting below  error message.
    " Check-In not locked for structure element PD-PPD of type  with object_no 0000847512 "
    Message no. MAINT_PR046
    Can anyone please suggest what could be the issue.

    Please ensure whether both projects have the same budget profile. Other than that you need to carefully investigate how the cost was posted onto both projects in the first place. Please note in case of procurements, budget is only checked at the commitments level (search the forum as this has been discussed before).
    In case this does not resolve your issue, revert back with the budget profile settings.
    Regards,
    Ammar

  • WAD: add new formula / structure element to report run by user

    Hi,
    I know that there is a possibility to add a formula or "structure element" to a WAD report that is being run by a user (user opens WAD report and can add a formula). We are using WAD 7. Unfortunately I don't know where this function is hidden in WAD (I am new to WAD....).
    Thanks!

    Hi Steve,
    Make sure you have the following web item and property enabled in your WAD template.
    ~ Context Menu Item >   Local Formula
    Once this is enabled, you can run the WAD report, right click and select Calculations and Translations > Formula > Create New formula
    This will populate teh formula builder.
    Hope this helps.
    Regards
    Snehith.

  • The "Use Selection of Structure Elements" Option in RSRT Query Properties

    Hi, does anyone know the side effect of enabling this option for all BEx Queries? The help states the following: "The Use Selection of Structure Elements option can be selected for any query; however, it is only useful in some cases. In queries, selections are frequently based on one or more characteristics in the columns, or more precisely, in the structure elements. One or more of these structure elements are often filtered in the BEx Analyzer or in BEx Web applications. If you do not select the Use Selection of Structure Elements option, these dynamic (structure element) selections are not transferred to the database. Normally, the data for the entire structure or for both structures is then read from the database." It sounds to me that there is no harm in checking this flag all the time, but what is confusing is the default state of this option; i.e. unchecked.
    I would appreciate if someone can clarify the downside of checking this flag.
    Thanks,
    Mohamed Judi

    Hello Michael,
    Checking this simple property helps improve performance in situations where there are many Restricted Key Figures and other calculations in the Query Definition
    If analysis of the query performance indicates very high EVENTID 3200 times, and/or the FEMS number is very high try enabling this property and check performance.
    Checking this ensures the structure elements are sent to the database for processing.
    Check the below link: Page 14
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/006b1374-8f91-2d10-fe9c-f9fa12e2f595?QuickLink=index&overridelayout=true&48747879633011
    Thanks,
    Vinay

  • Security on structure element in Roadmap

    Hi,
    Does anyone know if it is possible to set security at the level of a structure element in a roadmap?
    Here's an example Roadmap I built:
    1.0 Concept Initiation
         1.1Establish Conceptual Solution
              1.1.1 Basing on the business requirements
                       1.1.1.1 Create Solution Map
                       1.1.1.2 Process Design Walkthrough
    Both User A & B can access the Project Documentation tab under 1.1.1.1 but I would like User A to be able to access the Project Documentation under 1.1.1.2 but not User B. User B should receive a message that he cannot access that particular node because of confidential information.
    Appreciate any help.
    Thanks
    Danielle
    <u></u>

    Danielle,
    yes, you can do this.
    1) Setting
    SOLAR_PROJECT_ADMIN -> Proj. Team Member Tab -> select the check mark
    "restrict changes to nodes in project to assigned team members"
    2) ensure that the selected users (A and B) are added as team members in solar01
    in the administration tab
    -Regards
    Ravi

Maybe you are looking for

  • Is there a way to set the aspect ratio or file type in the camera for video settings?

    I always convert my .MOV videos to WMV so I can upload to my web site.  However, with my new iPhone (iOS7), the vidoes are distorted due to aspect ratio issues.  I'd like to set the output aspect ratio and.or file type when I create a new video on my

  • How to find and modify  item in a nested array collection?

    Hi, would anybody know how to find and modify item in a nested array collection: private var ac:ArrayCollection = new ArrayCollection([ {id:1,name:"A",children:[{id:4,name:"AA",children:[{id:8,name:"AAA"}]},{id:5,name:"AB"}]} , {id:2,name:"B",childre

  • About to make the switch monitor question

    Hey, I am about to make the switch and get a Mac Pro and I have a question I need answered. Will I be able to use any LCD monitor with the Mac Pro? I need to figure this out because I think the Apple monitors are a bit out of my price range at this p

  • Converting year(date in bpel)

    Hello I will get input year as 10/11. I need to convert it as *2010-2011*. Below is xpath is converting as 2010-11 translate(concat('20',bpws:getVariableData('year')),"/","-20") Any help is appreciated.

  • "failed to start... side-by-side configuration is incorrect'

    Running Vista Ultimate 32-bit. When I try to start DW CS4 or Fireworks CS4 I get the following message: "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail." C