How to Calibrate my Gige Camera

hi ,
  i am using  following Gige Camera and Lens . machine vision application 
5MP Gige Camera
Sensor Size = 2/3"
Optical Magnification = x4
FOV = 1.65 mm x 2.20 mm 
I need to calibrate my camera so that i can get real world parameter values .  i have seen example it tells about stereo Calibration (with Two camera ) not about sigle Camera with this Low FOV ..  
I am new to this .. 

Ya i created that Calibration Image ..using vision assitant .
i can able to apply that calibration image to other vision assistant script also working.
Dont know how to use it in labview vi file .. 
if i create vi file using vision assistant also shows calibration axis info and grid discripter as input .. 
i dont know how to insert calibration image into vi file .. directly 
Attachments:
ll.vi ‏69 KB

Similar Messages

  • Multiple channels from GigE camera

    Hello NI Folks,
    I am using a GigE camera for my Machine Vision application. I have to save data from all three channels coming out of Camera.
    I am using Example VI from National Instruments 'Grab and Setup attributes.vi' to get attributes and save Image. But the problem is this example VI has capability only to grab data from one channel. Anyone please give an idea for Which part of thIS example VI should I edit to grab all the three channels ??
    I checked this issue even in MAX. I selected all three channels in MAX and tried to take a snap from camera, but there is only one image captured, there is no option in MAX to view all three channels. I am attaching the MAX scrrenshot below which shows all the channels from my GigE are activated
    How to make Labview to read all the three channels from camera ??
    Regards
    Neo.

    Hello Mr.Alexander Glasner,
    This is the camera I am using
    http://www.automationtechnology.de/cms/index.php?id=243&L=1
    It is used for Laser triangulation technique. this camera gives out  3D data in one channel, Intensity data in other channel, grey scale Image in third channel. All these these channels comes out ofcamera through a single Gigabit Ethernet.Camera manufacture provided a software with which streaming of desired channels is possible. But I want to do it in Labview. Is there any block in IMAQ library to isolate these channels from GigE Interface ?
    My point with MAX is, MAX is able to grab all the attributes including its channels names DC0,DC1,DC2. But it is not able to display three channels seperately when selected.
    Regards
    Neo

  • Problems acquiring and saving multiple camera images using a switch with GigE cameras

    Hi Folks,
    We are having an issue with connecting 6 GigE cameras via an Ethernet switch. We can acquire and store individual cameras but once we increase the number of cameras we end up with jumpy avi files.
    Each camera has been physically labelled and attached to the switch, so camera 1 is attached to port 1, which then corresponds to Cam1 in MAX. When recording multiple files what appears to happen is that the avi file from cam1 actually has images from multiple cameras, as if cam1 is being renamed/allocated on each frmae and each time a different camera is allocated. How can we fix this?
    We are new to this so any help or advice would be much appreciated.
    Thanks in advance,
    Cathy
    Attachments:
    Camerad.png ‏60 KB
    Camera.vi ‏91 KB

    I think your problem is caused by using the same image name on each instance of Imaq create. "Grab and Save to AVI Acq" being the string you are using. I am pretty sure If you make each image name unique you wont get image referance problems.
    Senior Software Engineer
    www.Adansor.com

  • Gige Camera slow initialization

     I 'm using a Aviiva EM1 GigE camera with Labview 2011. I insalled the latest Imaqdx driver. I can acquire without problems images. However the initialization of the camera takes about 38 sec with Max or Imaqdx Open. When using Gevplayer (Pleora) it takes only 10 seconds. What can I do to speed up the initialzation in Labview ?
    Regards

    Hey,
    how about your network settings and all. have you enabled Jumbo frames? If yes, then there must be an incompatiblity of both ev2 and LabVIEW.
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney

  • Triggering a GigE camera

    Newbie question for you all.  Hope this makes sense:
    At the moment, we are using a Dalsa area scan camera and a NI PCI-1424 frame-grabber with a parallel digital interface.  We use LabVIEW and IMAQ software.  Our software creates an IMAQ session that sits and waits for a single external trigger on the PCI-1424 board.  When it receives the trigger, we acquire a series of frames at a given frame rate.
    Now we want to upgrade the whole system and are considering a GigE camera from Basler (Pioneer piA640-210gm).   If decide to do this, how would we configure the triggering? 
    I noticed that NI's GigE board (PCIe-8231) does not have any trigger inputs.  So I guess the only way to trigger the acquisition is to use the camera's trigger input?  But that doesn't even seem possible.  The user manual on the camera indicates that external triggering is used when you have a pulse train that triggers every frame.  We want the camera to wait for just one rising-edge which then triggers a pre-determined acquisition that is setup in the software.  Any ideas how to do that with GigE?
    Also, we use NI-IMAQ software right now.  If we upgrade to GigE, then we are going to have to totally re-write our software to use NI-IMAQdx, right?
    - John

    Hi John,
    With Firewire and GigE cameras the triggering is generally* done on the camera rather than the interface into the PC. The reasoning is that the interfaces into the PC do not have low-latency, deterministic methods to trigger the camera except via a separate external trigger wire linking the PC and camera. (*With Firewire since you are bound to the distance limits of the bus, it is generally easy to make this connection than GigE). NI does sell products like the 8255R (a firewire interface combined with reprogrammable I/O suitable for use with triggering cameras via an external cable, but there is no device that combines this functionality with GigE ports (but no reason why you can't combine with a separate GigE network card). However, as I'll desribe below, GigE Vision has its own tricks that reduce/eliminate the need for this...
    With the triggering moved to the camera, it is up to the camera vendor to decide the complexity the triggering methods they implement. On GigE Vision cameras, because they use GenICam XML files to allow the cameras to self-describe their features, any capabilities the camera manufacturer can dream up will be exposed through the driver. We are starting to see GigE cameras on the market with very complex triggering capabilities (including built-in pulse-generation capabilities, complex input and output interactions, etc) that can rival features on many framegrabbers. You can configure all of these features within MAX or your application just like you can control any other feature of the camera. Note that while there is flexibility to implement any feature desired, there is a "Standard Features Naming Convention" that, among other things, includes complex triggering definitions. This list aims to ensure that cameras that implement the same features (such as common triggering modes) use the same names and behavior for their features.
    As to whether the Basler Pioneer will support what you want, I am unsure. I checked the triggering capability here: http://www.baslerweb.com/downloads/17785/pioneer_manual.pdf. According to their docs, they support an "AcquisitionStart" trigger, meaning you should be able to trigger the start of a single-frame, multi-frame, or continuous acquisition when that trigger comes in (and the source can be varied, including external I/O pins). However, I tried this on a Basler Scout that we have and only a single frame was generated in this mode when triggered via a software trigger. Its possible I have an earlier firmware that is behaving incorrectly, but in theory the Basler camera should be able to do what you want if they named it correctly. I would confirm the expected behavior with Basler to be certain. As I mentioned, there should be plenty of other cameras on the market that do support this triggering mode if the Basler does not.
    With regards to re-writing your software for IMAQdx, its true that you would have to make the translation from IMAQ code. However, the API's are very similar for most things and code porting shouldn't be too bad.
    Please let me know if you have any more questions regarding this,
    Eric G

  • Triggering GigE Camera with Hardware Trigger

    Hello,
    Here is an outline of what I want to accomplish:
    -LabView program starts running and waits for GigE camera to output frames
    -Hardware trigger leads to GigE camera outputting frames
    -Some simple arithmetic is done on each frame to generate the average pixel value--> this average value is plotted for each frame
    -Repeat the above three steps
    Please see the attached VI. I have successfully set my camera's settings in MAX to make it wait for an external hardware trigger. However, the output of IMAQdx Grab2.vi inside the While Loop is only a single frame (even though in MAX I have set the Acquisition Mode to MultiFrame - 255 Frames).
    Any help would be appreciated!
    Thank You.
    Solved!
    Go to Solution.
    Attachments:
    ImageGrab.vi ‏57 KB

    The "problem" that you are having is the frame rate of video acquisition, which you think is about 20 Hz.  Take the very simple VI I posted and run it with your camera -- all it does is continuously take frames (and display them) -- does this have an acceptable rate?  I suspect it will.
    If so, then "start with what works and add to it", rather than trying to "fix what is broken".  First, let's consider how to (better) control the Start and Stop of frame acquisition.  I like your idea of using the 6009, but I recommend (if you are using a 3V signal as the trigger) that you wire the trigger to one of the Digital I/O ports (as 0 and 3V are acceptable TTL levels for False and True).
    Your Video loop will be "clocked" by the Camera at its frame rate, so you might consider using the same loop to clock the DIO.  Take a Digital sample of the line to which you've wired your TTL signal, and as long as it is True, run the loop.  [You'll need to think about how to get the loop started ...].  It should, I think, be possible to read from your USB 6009 within a 60th of a second -- if it is too slow, there are other ways of handling this with a separate parallel loop, but let's not go there until we see it is a problem.
    So now, in principle, you've gone from a simple loop showing frames at 60 Hz to a loop controlled by a TTL signal showing frames at 60 Hz.  All we need now is to process those frames.
    Here is where you want to use a Consumer/Producer pattern -- you don't want to do processing inside this loop (because the loop cannot run faster than all of its parts, taken together, and if you are processing incoming data, you have to get the data, then do the processing).  Instead, you have have two loops running in parallel -- the Producer loop acquiring the videos, and then "exporting" them to a Consumer loop that processes them.
    Are you familiar with this pattern?  There are numerous examples around (look in File/New/From Template/Framework/Design Patterns, and at some of the Sample Projects).  It uses a Queue, with data put onto the Queue by the Producer and removed by the Consumer.  You might need to increase the number of buffers for your camera, but you should be able to do quite a bit of processing in 1/60 of a second.
    Bob Schor

  • How to reset basler aviator camera to its default camera attributes

    Hi
    Recently we purchased Basler Aviator GIGE camera.
    I am a new to machine vision.
    While learning the camera interface some of the camera attributes were changed.
    Now some attributes are not working properly.
    How reset the camera to its default camera attributes.
    Thank you
    Regards,
    Hari

    Powering off the camera and deleting the icd file should be the solution.  That way, the camera should be "reset" to the manufacturer defaults.

  • Simultaneous capture with usb and gige cameras ?

    Hi,
    I am unable to capture (continuously) simultaneously from a USB and a GigE camera, is there a limitation in Labview ? Both cameras work if I use them one at a time. I am using Labview 2012. Both cameras are IMAQdx devices and I am using IMAQdx VIs.
    Thanks,
    Best,
    Saumil

    I have just converted to low level, just in case. Not tested yet...
    USB camera: USB 2.0, 10 frames/sec, 1280x1024 -> about 13 MBytes/sec
    GigE camera: 300 frames/sec, 640x480 -> about 90 MBytes/sec
    So both cameras data rates are within their respective interface limits. Although when I started to archive raw frames from the USB camera, everything in labview became super slow. The slowness was reduced dramatically once I started storing to compressed AVI files (rates went from 15 Mbytes to approx. 1.5 Mbytes/sec). I have not tested  archival with the GigE camera yet, I am expecting troubles, just dont know how severe.
    Thanks for your help,
    Saumil

  • Why MAX5.0 not report right XML file settings from AVT GigE camera?

    I have a AVT Prosilica GC660M GigE camera. It had a touble to synchonize with an external trigger. My ex-colleague posted this long time ago (http://forums.ni.com/t5/Machine-Vision/Problem-with-external-trigger-on-GigE-camera/m-p/1060572/high...), so I think it might be better to start a new one. Inside the MAX, there's only one option under the "ExposureMode" as "timed" which only use preconfigured time, and cannot be trigger by an external signal. The workaround is to manually register it inside the camera. It was thought to be a bug and an update of firmware should fix it.However the problem remains after I recently upgraded the firmware. And o I installed the AVT package. Both the MAX and the AVT GigEViewer correctly retrived the camera firmware version as 1.42.02. Yet MAX still shows only the "timed" option, while the GigEViewer shows all four enums as described in their attribute manual "Manual, Auto, AutoOnce, External". I had tried to delet the xml and files associate with the camera under IN-IMAQdx\Data. However everytime MAX genenrates them excatly the same with only "timed" option in the XML file. Now it feels more like something is wrong with the MAX instead. I wonder how to fix it.
    Thanks,
    Lei

    Hi Lei,
    I am not exactly sure why you are not seeing all the attributes, but it could be a few different things causing it. First let’s just make sure you have all you attributes being displayed (follow instructions from link below). What happens if you delete the XML file then set your camera to “External” in the GigEViewer software, then load MAX? Do you see any changes? Can you post a screenshot showing the camera attributes from MAX. If you have your camera set to External from GigEViewer and you try to grab from the camera in MAX do you get a timeout error, does it trigger external, what happens?
    Why Can I Not See All of My IMAQdx Camera's Attributes in Measurement & Automation Explorer
    http://digital.ni.com/public.nsf/allkb/9FA7FEE4FC51F043862574A30075B7A1?OpenDocument
    Why Won't My Allied Vision Technology Camera Work With National Instruments Software?
    http://digital.ni.com/public.nsf/allkb/470DA6BDE3883EB686257341006BCB56?OpenDocument
    Tim O
    Applications Engineer
    National Instruments

  • Double Rate Gige camera

    I have recently bought a PhotonFocus DR1-D2048x1088C-192-G2-8 Camera which is a standard gige camera but has a function called "double rate" which does image compression I believe to get almost double the frame rate of standard gige cameras.
    Now this works in other software I have tried but in both MAX and also the NI Vision software we have, the picture comes up as hazy/snowy when double rate is activated.
    Now I believe this is a driver thing and the people who I bought the camera from are asking if National Instruments can call on a specific driver or dll rather than their inbuilt one? 
    I am in no way and expert so hope I have made this clear enough.
    P.S I could not see the Ni Vision forum and appologise if this is in the wrong spot.

    Sure, this can be done.
    The amount of work around depends on quite a few factors.
    You cannot usually directly call 3rd party library functions, becouse LabView cannot handle specific data format conversions between LabView format and library format.
    Therefor, you need to create a C wrapper around that library and export C style functions, that use simple datatypes e.g. (int*, int...).
    You will need to get BGRA8b for colored or MONO8b / MONO16b / MONO32b for grayscale image pixel format from the manufacturers functions.
    If the libraries have some different output from the decoder, you would need to convert it.
    How to get the image from vision to you library memory and back, look here.
    Further in LabView, you can call these exported functions through "call library function node".
    If you are not familiar with C, this cannot be done, unless the libraries you want to use are designed for LabView.

  • GigE camera - grab image with black bars

    Hi everyboby,
    I am using Ni vision acquisition to grab images from a GigE camera.
    I recieve images just as I trigger the camera - so fare so good.
    Every other picture shows some black bars.
    Does anyone has an idea what it could be?
    It's not the hardware, the camera works perfect with the SDk form the manufacturer.
    Thanx for any help
    Solved!
    Go to Solution.

    Sounds like an incomplete frame, this could be caused by missing packets.  To prevent missing packets during acquisition you can do two key things: ensure the packet size configured on the camera does not exceed what the network adapter can handle, and ensure that the bandwidth of image data being output by the camera does not saturate interface bandwidth.  I would lower camera packet size to 1500 initially to determine if the packet size  is the cause of the problem.  You can throttle how much data the camera can send by manipulating the interpacket delay, some manufacturers have a very handy feature called StreamBytesPerSecond.  Depending on which mechanism you can use, increase interpacket delay or reduce StreamBytesPerSecond.

  • How to connect my dv camera to my mac and make movies?

    i just got my new macbook and dont no how to connect my dv camera to it...i got a software disc for my dv cam but it doesnt run automatically and i dont no how to install it....it is usb connection...do i need fire wire?...help me plz help...getting frustrated ...is the any sites that help with macs ..cuz im use to pc...dont no anything bout macs...thanks so much!!!

    Hello,
    It would be helpful to know what camera you are trying to connect and what exactly you are trying to do with it.
    In regards to firewire vs usb i only really have experience with firewire so i can not help you there unfortunatetly.
    If you are just trying to get the video footage off the camera you could try and open up iMovie from within you applications folder. Attached the camera, my iMac is currently in for repairs so i can quite tell you the whole thing but look for options of attached cameras.
    The reason why the cd doesnt autorun is that it is probably window software, does the disk specifically state Mac OS X?. If you double click on the cd it should open up in a window. Have a look around for any Mac folders or any obvious applications that you can run.

  • How to use the integrated camera in Lenovo THINKPAD X301

    Dear All,
    I would like to know how to use the integrated camera for the THINKPAD X301 LAPTOP?
    Please help

    Hi ,
    For Lenovo product , we need application software to activate this camera. You can use the Picasa software which can search from Google to activate this camera.
    After install Picasa > Picasa > Import > Select Device ( then choose your camera )

  • How do I connect a camera to my macbook pro when using the computer with an external monitor in clamshell mode?

    How do I connect a camera to the Macbook Pro when using the computer in clamshell mode with an exrternal monitor?

    same as it ever was
    do it like nothing is different.
    be sure to have an external trackpad keyboard or mouse as you will loose them on the computer once it is closed.

  • How can i use isight camera to broadcast to web with Mac OS 10.4?

    I am using an iBook G4 running OS 10.4 as a printer server.  I have to do this to be able to print on my HP DeskJet 882c printer from computers running OS 10.6 and above (although I have not been able to get it to work with 10.8).
    I can connect an iSight camera to the iBook via FireWire.  Can I set that up to broadcast a video feed to a web site so I can visually monitor the area near the laptop and printer?

    jrmnewtonma wrote: How can i use isight camera to broadcast to web with Mac OS 10.4?
    You could use compatible older versions of QuickTime professional extensions for your Mac OS X version.
    This professional quality software is very powerful, and it will certainly stream any video you need.  However, it is not simple to use, so be prepared to do some research and study to get it configured and working.
    To use your iBook with its OS X 10.4, you will need QuickTime Broadcaster 1.5.3 
    and Darwin Streaming Server (v5.5.5) (if you need streaming server functions.) 
    Although I have never used it, QuickTime Streaming Server 4.1.1 might be a useable substitute for Darwin.
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

Maybe you are looking for