OR Vision: Detection of Horizon

Anyone who has used Vision tools of OR to detect and locate the horizon on an image?  I have some videos taken from a remote control plan, and I want to find the horizon and then rotate the image so that it is stable and level.  Any ideas?

Thank you

Stephen

I was able to successfully detect the horizon with the setup of Vision find edge VI for sweeping up and down and trigger on the first edge.  Find other edge settings setting allowed me to detect the horizon very reliable.

Stephen

Tags: NI Software

Similar Questions

  • image of BLOB analysis

    I like this image:

    I need to create BLOB objects for every group that has more than 5 pixels, so I want to extract the pixels that are in each BLOB.

    I could do this in different applications but do not know haw to use in labview

    Glad I could help. The problem is that this case is, you use Machine Vision > detection of form instead of binary > circle detection. The difference is, instead of trying to find particles of circle inside objects, it detects only circular objects, in other words, it determines the shape of all the objects and then decides whether or not it is a circle.  In our case, this will not return any results since we circle shaped objects.

    I had very good results with the detection of 2-3 pixel RADIUS circle, based on the jpeg format, you have set up.

    Best regards:

    Andrew Valko

    NEITHER AE

  • Detect dirt on a picture of the camera with Vision Assistant

    Hello

    I want to test a camerachip cleanliness.

    I tried to make a detector of dirt for a camera with Vision Assistant 2011 SP1 image.

    I modified the cell analysis of the Solution Wizard.

    My Vision Script is not able to detect any dirt pirate on the camera Image.

    Maybe you tips to optimize my other scrip alternative.

    You can use "Equalize IMAQ" (could be found in the service Table of the Vision Assistant research) right after you open the image to spread the histogramm on any bit depth.

    Christian

  • OR VIsion: Edge Detection, Auto Setup

    Hey,.

    I work with the NI VIsion Module and try to use the IMAQ find Edge.vi. If you are you using the Vision Assistant, you must enter the 'meaning', "Edge of polarity" and so on. And the more you are able to mark "Automatic Configuration", so that the Vision Assistant chooses the other options as the "core of size' etc.. Is it possible to use the 'Auto Setup' in LabVIEW? Because when you create a vi out of your script, the vi in LabVIEW is just a constant as input to the 'line Fit Options'.

    Thanks for your time

    Kind regards

    -Eye-

    Hi eyes.

    The automatic configuration feature is available in the wizard of Vision because it is very intensive and can be less robust in some cases. NOR does the packaging this feature in LabVIEW because NEITHER assume that users will be able to define a detection zone of edge suitable for their particular application which will be more robust without the need for these resources. So leaving the VI in an Express VI will allow you to use the automatic configuration for the edges to find tools.

    Kind regards

  • IMAQ + Vision Assistant cunning edge detection

    Hello

    I would like to ask where can I find a tutorial or an example how to use IMAQ Canny Edge Detection modul with the Image Wizard. I enclose my VI here for more information.

    Best regards

    Hello

    Please find the attachment saved in labview 2011 version.

  • Qosmio X 770 - no support of 3D vision with nVidia driver

    Hello

    I just bought a Qosmio x 770-107 with nVidia 3D Vision package. All right, I could enable stereoscopic 3D with the pre-installed drivers.

    Then tried to access some 3D content (in the browser) and after a trial ([http://www.3dvisionlive.com/3dv-html5-detection]), I discovered that I have an out of date version driver for my GTX560M card and need to update before.

    First step is to download the right driver from nVidia (280.26-notebook-win7-winvista-64bit-international-whql). Then I saw that failed the system compatibility test saying that I don't have the appropriate hardware for it, which is false, double checked what I downloaded and covered material including GTX560M.

    So, this is the first problem.

    Then also studying, I managed to modify the INFs to accept and install the driver.
    It worked, I got the latest driver from nVidia (using a clean installation, remove all first).
    Then I discovered a new (frustrating) problem, when you try to reactivate the stereoscopic 3D, saying that I do not have a stereo monitor and disable this feature in the menu.

    How can we get appropriate and entirely achievable latest drivers for our GPU with support for 3D Vision?

    Kind regards
    Razvan

    Hey Buddy,

    That s illustrated why Toshiba recommends installing only their own drivers and not 3 third-party drivers from nVidia.

    The reason is that no one has tested these drivers on your laptop so probably a few features such as 3D vision don t work. In addition, your laptop could overheat due to different thermal management.

    I recommend you to install the latest display driver Toshiba you can find on the page of Toshiba. These drivers are tested and work properly with your laptop.

  • vehicle followed by using vision builder

    Can someone help me to follow a vehicle using vision builder?

    The object tracking feature to track multiple objects.

    To do exactly what is shown in the video, where the number of cars is variable, you must use the LabVIEW module and the development of the Vision to have more control over the creation of objects. (The limitation with Vision Builder AI, is that each object to track is associated with a follow-up session, so you should know in advance how many object you must follow, but VBAI to track multiple objects).

    The principle I described should be the same in LabVIEW: detect somehow the new car which comes within the field of vision and learn at this time where the object so that it can be followed. The prerequesite should be that you need to know where to detect them the car that comes in the field of vision. The difficult part of the application must define the area of interest of the new object that you want to track.

    The LabVIEW example for tracking of objects can be found here:

    C:\Program Files (x 86) \National Instruments\LabVIEW 2014\examples\Vision\Tracking\Object Tracking.vi

    Christophe

  • Different methods to find a form of rectangle Center and rotation in vision assistant

    Hi This is my first shot at the machine vision and Vision Assistant tool. I am trying to find a rectangle shape in an image and determine its Center and rotation around the Center. I started with this image:

    and I increased saturation and contrast to make a clearer target area:

    I am interested in the main red rectangle turned about 5 degrees to the right. For me, it seems that there is enough contrast edges, but quickly, I tried some of the edge (including the rake) detection and pattern matching algorithms and I don't get any useful results. Maybe it's the white lines don't interfere. I tried to extract just the plan of the red color but as white also contains red these lines always appear.

    I'm hoping to get some ideas for different approaches get precisely the Center and the rotation of this part, as well as the guidance you need to succeed. Thanks for the tips!

    I would try to extract the rectangle using color thresholding.  Analysis of particles of use on the rectangular blob and you should be able to get a rotation value.

    Bruce

  • industrial vision

    In the assistatant vision, we can give it away to find circular edge. but in the labview I do not know how to give. How to give value to gap in the circular edges detection and how do I get the circular edge points?

    Value of gap for circular edge is given as angles (degrees). In vision assistant parameter is empty and the equivalent in labview is circle Fit Options > step size.

    N ' be sure to read the help of vi in case of doubt.

  • New on the generator of vision OR: computing the surface of a component

    Hi all

    I'm new on this generator of vision OR integer. I would like to know what are the steps that must be taken to calculate an area of a component.

    Thank you

    first of all, you need to calibrate your image and after that if you want to make your calculation should automatically use binary measures and a particle detection algorithm exist in morphology

  • vision support rewriting model for image match

    Hey guys, im using labview to detect a picture and record its x - y coordinates.

    does anyone know how I can automatically change at runtime, the model used for the match.

    I get my model of the block Vision Assistant

    Please please help

    Kevin

    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.

  • Detect the "needles" dark on light background (360 °)

    Hello

    I want to detect a dark spot in a circle create on a light background and convert to a number (degrees).

    to make it more clear, I've developed something in paint (see photo). I want to do with the vision. What kind of feature I need make this possible?

    Kind regards

    Henk


  • color scale of gray and crack detection

    How to convert a color in gray scale image. I also want to know how to detect cracks in the objects of their images

    There are 3 planes involved in a color image. Each plane with values 0-255. By extracting all alone plan, you can convert the image to grayscale.

    Try to extract the aircraft of the luminance (in extraction of color of plan).

    Use vision assistant initially to get an idea...

  • vision: how to use the structure of the event to the output of the voting structure.

    Hello.

    I make a program of video detection with vision. I use 'County IMAQ objects' to detect people moving and identify if a people enters or leaves through the demarcated areas (Centre and right to left). If someone is detected, the program returns Boolean according to areas.
    periodically, this function repeats and check the image.
    To do my easyier to work, I would rather use the programming event, which would allow me to check the values of the three areas only when one of them evolves.
    problem, the structure of the event only works with orders and property nodes 'value (sign)' and even if I use the "value (sign)" the structure of the event considers the value change even if the terms of the election returns the same value without changing

    is there another way to adapt to a structure of a Boolean result or a County IMAQ function objects event when the beginning of the program made the election?


  • How to use IMAQ detected Shapes.vi

    Hi all

    I learn NI Vision, I don't understand how to use IMAQ detected Shapes.vi to detect shapes, such as lines, ellipses, who can give me an example, thank you.

    Hello

    This function uses the edges of the object and try to adapt with different shapes such as rectangles, lines, or some cirles.

    First of all, you need to set parameters to extract the edges of your objects. You Brown the threshold (in order to find the correct edges of your object). You can then choose the parameters of the shape to fit. For example if you want to adjust with a circle, you set the min and max possible RADIUS.

    Try this with vision assistant, it will be easier. And try also with fine contrasting images.

    Concerning

Maybe you are looking for