Labview IMAQ Vision

Bonjour,
Nous sommes étudiants en première année à Polytech' Clermont-Ferrand, université Blaise Pascal.
Nous utilisons le module de traitement d'image du logiciel Labview depuis plusieurs mois avec M.Lafon afin de repérer les coordonnées en centimètres des centres de gravité de particules.
Pour cela nous utilisons une grille de calibrage constituée de 4 points disposés en carré, espacés entre eux de 13cm. Or lorsqu'on lance le programme de calibrage (bloc « Learn Calibration Template »), l'origine du repère choisit par Labview change régulièrement. A savoir que certaines fois Labview choisit le point en haut à gauche en tant qu'origine et d'autres fois il s'agit du point en haut à droite, par contre nous avons remarqué que l'orientation des axes ne change pas.
Nous avons effectué plusieurs tests afin de comprendre le processus utilisé dans le choix de l'origine, cela sans résultats, nous ne comprenons toujours pas comment le logiciel la choisit.
Pouvez-vous nous aider à répondre à cette question, ou nous dire comment l'obliger à toujours choisir le point en haut à gauche en tant qu'origine ?
Merci d'avance.

C'est vrai que c'est mieux avec le code source !
Ci-joint le programme utilisé, ainsi qu'une image dont nous nous servons pour tester notre traitement. Il faut donc charger l'image jointe lors des deux demandes.
Le bloc de calibration qui pose problème est situé étape 2.
Pièces jointes :
notrecalibrage.vi ‏103 KB
Picture 118.jpg ‏125 KB

Similar Messages

  • What happens to a 12-bit image in LabVIEW/IMAQ Vision?

    I'm using the DALSA DALSTAR 1M30 camera, and we are building a cable for it, and have not yet got it up and running, but I am already programming our application for it. I was wondering, since the IMAQ Vision VI's seem to pertain to 8-bit, 16-bit, and floating point images, I was wondering if they will work fine with a 12-bit image like the one from the 1M30 camera. I was also wondering, if they do work fine, what format the output of a VI like IMAQ ImageToArray will be. Will the 12-bit pixel values be converted into 16-bit?
    Thanks for the help.

    A 12 bit image is stored within IMAQ as a 16 bit image. Only routines that accept 16 bit images can be used for manipulating the image.
    The IMAQ WindDraw converts 16 bit images to 8 bit images for display, using the selected method. You can also manually convert to an 8 bit image for automatic thresholding and other routines that don't accept 16 bit images. For most applications, you will want to shift it 4 bits during conversion so the most significant bits are preserved.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Calibration avec Labview IMAQ Vision

    Bonjour,
    Nous sommes étudiants en première année à Polytech' Clermont-Ferrand, université Blaise Pascal.
    Nous utilisons le module de traitement d'image du logiciel Labview depuis plusieurs mois avec M.Lafon afin de repérer les coordonnées en centimètres des centres de gravité de particules.
    Pour cela nous utilisons une grille de calibrage constituée de 4 points disposés en carré, espacés entre eux de 13cm. Or lorsqu'on lance le programme de calibrage (bloc « Learn Calibration Template »), l'origine du repère choisit par Labview change régulièrement. A savoir que certaines fois Labview choisit le point en haut à gauche en tant qu'origine et d'autres fois il s'agit du point en haut à droite, par contre nous avons remarqué que l'orientation des axes ne change pas.
    Nous avons effectué plusieurs tests afin de comprendre le processus utilisé dans le choix de l'origine, cela sans résultats, nous ne comprenons toujours pas comment le logiciel la choisit.
    Pouvez-vous nous aider à répondre à cette question, ou nous dire comment l'obliger à toujours choisir le point en haut à gauche en tant qu'origine ?
    Merci d'avance.
    Cordialement.

    Bonjour,
    Merci d'avoir posté sur le forum NI. Vous avez déjà posté votre question ici des personnes ont déjà commencées à vous répondre. Je vous invite donc par la suite à poster uniquement une fois votre problématique
    Cordialement
    Mathieu B
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Forum Aéronautique, Spatial et Défense. Avec la participation exceptionnelle de Bernard DUPRIEU, Res...

  • Is it possible to use numerical camera with Imaq Vision?

    For the price and because my application is static I want to use a numerical camera for take photos

    If you mean by numerical camera, a commercial camera, there are several possibilities. If the camera has an analog video output (NTSC, PAL), then an NI analog image acquisition card (1407, 1411 or 1409) can be used. It may be possible to import images to LabVIEW/IMAQ Vision if the camera has a TWAIN driver. Alliance Vision sells a TWAIN driver for LabVIEW/IMAQ Vision. Note, IMAQ Vision is able to retrieve images from file for analysis, so as long as you can store the image on the PC in an acceptable file format (.bmp, .tif, .jpg, .png, .avi), then you will be able to process your images using IMAQ.
    Robert Eastlund
    Graftek Imaging, Inc.
    Phone: (512) 416-1099 x101
    Email: [email protected]

  • Speeding up LabVIEW scripts generated by IMAQ Vision Builder

    Hi,
    I am an experienced c++ software developer, I have mainly used Microsoft's Visual Studio for development. Now, I am developing a real time application using LabView and IMAQ Vision Builder. The LabView application I developed calls a script that was generated by IMAQ vision builder...the application works, but it is too slow for the processing I need to do. In C++ I wouldn't have any trouble speeding the application up, but I am still learning how labview handles threads etc. Does anyone have any ideas?

    Your question is very difficult to answer. Without knowing anything about the processing you are doing, I can't suggest anything to increase the speed.
    Vision Builder does not produce the most efficient code possible. It is likely that the algorithm could be improved, but this really depends on what you are doing. It is also possible that your acquisition could be what is slowing you down, especially if you are using Snap.
    Perhaps if you post the code generated by Vision Builder it will be possible to help you more.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Functions in IMAQ Vision for Labview same as those in Vision Builder?

    Hi all...
    i just have a simple question..Does IMAQ Vision for Labview has the same functions of Vision Builder?
    I know that with Vision Builder you can develop an application interactively...but does it has more functions than IMAQ Vision?
    So if i buy IMAQ Vision can i develop the same kind of applications that i would make with Vision Builder?
    I´m specially interested in color matching and color analisys functions.
    Thanks

    IMAQ Vision has much more than Vision Builder. Basically, VB was created using Vision and they implemented a good number of the functions in a menu driven format. However, there are many more functions available that were not integrated into VB.
    Vision does have some good color matching and analysis tools.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Certified LabVIEW Assosiate Developer worked with DIAdem in Aerospace domain using technologies FBG, SHM. Also knows vision concepts & IMAQ vision.

    Hello,
    I'm in aerospace domain from past 1.3 years. I have 2 years of LabVIEW experience & 1 year of DIAdem experience.
    Measurement of strain, load & other flight parameters are being done in my Structural Health Monitoring Lab using Fiber Bragg Grating (FBG) sensor.
    Working in IMAQ vision & Image processing fields from 3 months.
    Looking for a challenging technical opening.!
    Attachments:
    amith_vasista.doc ‏55 KB

  • When IMAQ vision that is compatible with labview 8.0 is going to be released?

    Hi, i got labview 8.0 but it is not compatible with imaq vision 7.x series. I am wondering when the new version of IMAQ vision that will be compatible with labview 8.0 is going to be released.
    Thank you,
    Christos

    Hey Matt,
    There is also a great knowledgebase document called How do I install my IMAQ software/drivers with LabVIEW 8?, which has an update on it that takes care of moving everything that you need to move in order to get Vision 7.x.x to work with LabVIEW 8.0. Of course nothing extra has to be done with the IMAQ Vision 8.0 software to work with LabVIEW 8.0. One more thing, similarily to LabVIEW 8.0, you can now download the Vision Development Module Version 8.0 software from NI's website in case you wanted to try out (30-day trial) the Vision 8.0 software before upgrading.
    I hope this helps. Have a great day.
    Regards,
    DJ L.

  • Problems with IMAQ Vision after upgrading from Labview 6i to Labview 6.1

    Hi,
    We just upgraded from Labview 6i to 6.1.To do this,we uninstalled the 6i version as was suggested by NI and then installed the 6.1 version.Later when we tried to run the old vi's written using Imaq vision, we ran into different problems.Has anyone experienced any similar problems with IMaq vision after upgrading?If so please help me solve this issue.
    Thanx
    deepak

    What kind of problems?
    I would strongly suggest that you uninstall IMAQ (all elements) and reinstall them. They register with Windows, probably docked to 6i, and also must be recompiled, which I believe is done in installation.
    This is your best bet.
    If you still have problems, contact NI and ni.com/ask and start a support inquiry.

  • Image processing with imaq vision with 2 webcams on the same computer

    Hi,
    I'm currently trying to set up 2 usb webcams (logitech quickcam for notebooks pro). I want to be able to have them both run simultaneously and do some image processing with the images that I get from both cameras with labview and imaq vision.
    As of right now, I'm having trouble getting both cameras to run at the same time. Any help would be gladly appreciated. Thanks.

    The USB IMAQ driver will not support running 2 USB cameras at a time (I believe it is a limitation of the DirectShow interface). You could open one camera, acuqire an image, close the reference to that camera and then do the same for the second camera.
    If you need simultaneous acquisition, look at possibly moving to 1394 cameras or analog cameras.

  • I don't have IMAQ vision, where can I get some super basic easy VI's for IMAQ?

    Hello,
    I don't have IMAQ vision, where can I get some super basic easy VI's to get images from my IMAQ PCI-1424 board, without Vision?? is there some kind of tutorial that will help me get started from the ground up in designing VI's? Also I am trying to run the HL Snap in picture control.vi and I keep getting an error that says:
    -1074397150 occured at IMAQ snap.vi
    Possible reasons,
    NI-IMAQ (Hex 0xBFF6022) wait timed out; aquisition not complete.
    Why am I getting this??? it is driving me nuts, I don't know how to get a image on my computer from the IMAQ board. I can get one in MAX. Also in MAX I try to change the camera driver to Kodak because that is the boar
    d that I have KLI-2113, but when I try to change anything under properties like the window size and then apply it, it says error removing old camera. why does that do that? Some of the other drivers sort of work and let me change the settings. I don't know if they work right though. I can get atleast some response to light from the CCD chip.
    Anyways, thanks,
    Brian

    Brian;
    There is an example on how to display images in LabVIEW without having the full IMAQ application.
    You can always convert the images to bitmaps (flattening) and display them in a picture indicator. If you are going to do some image processing within LabVIEW, this may be the way to go.
    About the error you are getting, hopefully the above example will help you in resolving the issue. If the problem persist, it will be more beneficial if you can post the code. Also, you may get better answers if you post your question in the Vision forum.
    Regards;
    Enrique
    www.vartortech.com

  • Why I can't subtract two images in imaq vision builder?

    Hi,
    I have many times tried but failed to get the objects in a image by subtraction with another image which is background, in imaq vision builder(ver. 6.0). I totally can't use the "operators" command under "greyscale" to subtract the two images becauee all commands under the "greyscale" are always unactivated after two images have been stored in 2 idfferent buffers. I really don't know why and this vision builder is so difficult to use, unbelievable! I followed the instructions in its Help and it's quite simple but I totally failed to make this operation!
    Two samples of images have been attached and maybe it's very ease for you to filter out objects(fibers) by subtraction each other. Show me your scrip
    t if you can. It's urgent to me.
    Or the idea of the way I thought for filtering the objects is wrong? Point out please if you know.
    Thanks and Merry Christmas and Happy New year!!
    Swedlin
    Attachments:
    10Img0.jpg ‏27 KB
    123Img0.jpg ‏25 KB

    Okay, this is not quite as straightforward as it could be, but you can do image subtraction in Vision Builder. The basic idea is as follows:
    - select first object image and copy it to buffer 1
    - select "image >> get new image" and load your background image from a file.
    - put this in buffer 2
    - retrieve object image from buffer 1
    - perform subtraction. Even though these images appear to be greyscale, they are actually saved as 24-bit RGB images, so you need to use the color operators instead. Vision Builder will only allow you to select steps that are valid for the image you have loaded. You could extract the luminance plane from all of your images to work with 8-bit images if you like.
    I have attached below a background image, several object i
    mages, my script, and the results of batch processing. You will need to edit the "get new image" step with the correct path to the background image on your machine.
    Bruce is right though. This is a bit easier in LabVIEW.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • IMAQ Vision Unable to read data.

    This project is to match multiple templates, then i copied the method from the example "Match Multiple Geometric Pattens", but the error says:
    Error -1074395989 occurred at IMAQ ReadImageAndVisionInfo
    Possible reason(s):
    IMAQ Vision: Unable to read data.
    The problem is that the programming works if I use the labview example's templates. However,when i use the templates which generated by myself, the error appears. I have checked the format and pixels of my generated template, which looks indentical to the example's template.
    Could anybody help me to figure this out? I have attached my docs below.
    Thanks.
    Dylan
    Attachments:
    Multiple-Match-Pattern.zip ‏331 KB

    Hello,
    Labview Geometric matching uses a set of features/descriptors to describe the meaningful information contained in an image. You need to extract these descriptors to permorm the matching.
    Here is an example on how to create the pattern matching templates in Labview (you can alternatively use the Template Editor utility):
    http://forums.ni.com/t5/Machine-Vision/In-Pattern-matching-angle-remains-Zero-even-if-the-rotated/m-...
    (see the attachment in the solution post). You can easily adapt this to learn geometric template (just modify/replace the relevant vi.'s).
    Don't use screen shots to create the templates. Create a template directly from the image.
    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."

  • How do I identify the current IMAQ vision version, including updates ?

    I would like to identify the installed version of LabVIEW on an old machine, including the IMAQ vision updates. Where do I look ???

    A quick way to find out versions of all National Instruments software/driver installed is to go to MAX (Measurement and Automation Explorer) and click on Help->About MAX->Tech Support then the System Tab.
    If your system is from the pre-MAX days, then you can get the version numbers in Add/Remove Programs in the Control Panel.
    Hope this helps.
    Ken
    Applications Engineering
    National Instruments

  • Can't find image display in the IMAQ Vision control palette

    Hi
    I am trying to display an image on the front panel. But i cannot find the image display vi .. according to the manual, it is available from the IMAQ Vision control palette. I have the academic version of LabVIEW 7 express. Does my version have the vi? Thank you
    rsa..

    Hello,
    The IMAQ Display control is a part of the NI-IMAQ driver. This driver is free of charge and can be downloaded from our website by going to www.ni.com/download. Here is a URL directly to the current version of IMAQ: "http://digital.ni.com/softlib.nsf/websearch/CD7EAFE90E9E47398625703000754A12?opendocument&node=132060_US". If you plan on using that control, I would recommend just installing the driver for it on whatever computer you want to use it on.
    Regards,
    Aaron B.
    National Instruments

Maybe you are looking for

  • Defining last day of previous month in ABAP

    All, I am a BW guy and hardly know ABAP. I have a requirement where I have to calculate last day of previous month and use it in the routines of the transformations. I have decided to define the Last day of previous month in Start routine and then us

  • How can I fix snapping?

    I was using the pen tool today to draw in perspective and It was snapping correctly but suddenly it's not snapping anymore. When I press A to select my path selection tool I can move the whole path and it snaps to guides, but when I pess Ctrl and cli

  • Fade To Whtie 0:12 ?

    Hi Is it possible to set the Transition time 'Fade To White' or 'Fade To Black' lower then 0:12. I can't remember what the lowest time on iMovie '08 was, but as i look at this Transition in iMovie '09 conpared to iMovie '08, it's much longer. So in i

  • Static LOV Bug

    Hi, please check what happens with your select list behaviour (try selecting the last element in the list)when the LOV is of type SATTIC2 and you pres ENTER after the last element in the list (in the definition area). I haven't tried this with STATIC

  • Canvases vs forms

    I am trying to understand when I would use forms or canvases.I thought that for each screen on an app you would create a form. Instead I have seen apps that use several canvases for one form, each representing a screen. Please help!