Original location in a corrected image (using calibration data)

Hello

I use the tool of vision to correct the distortion in images.
I do not use the model grid point let the software generate the calibration sheet, but rather use a set of points (which I can define precisely in the distorted image) and provide their respective coordinates 'real world '. I can then apply this correction to other images.
So far so good.
Now I want to superimpose two sets of images, which are distorted differently (for example, they represent the same object, but were photographed in slightly different conditions). I have
good adjustable using the method above and the other separately, with its own separate correction, but I'm stuck there.
Each calibration/correction is characterized by a scale factor and a coordinate of origin. I need both to be able to superimpose the two sets of images.
I chose non-linear calibrations that preserves the area and I thought of a way to recover the scale factor by calculating the areas of all patterns square in my series of (as calculated in the original image) calibration points, taking the average, then the square root of the area average: This gives the spacing between the points equidistant in the corrected image.
However, I can't figure out how to get the original location in the corrected image. One of my points of calibration is associated with the position (0, 0) in the real world. However, it is neither its position (in pixel unit) in the original image or the corrected image. I need the latter. How can I get it simply (I can think of sophisticated ways to get it, but I suspect that it might be a trivial).

Thanks in advance for your answer.
Sincerely,
X.

Hello

I guess you are referring to "Convert to/from the real world" screws. As far as I understand well as do these screws, they refer only to two "spaces". One is the distorted image of origin (with coordinates in pixels) and the other is the ideal 'real world' space, where this image was generated, with coordinates expressed in all the units you choose. I am concerned about a 'third space', the corrected image generated by the Vi "IMAQ Image of calibrated" correct, and I want to know the point, which, in the real world, has the coordinates (0, 0), where in this picture (if possible with coordinates in fractional pixels, coordinated whole pixels not only).

I haven't posted my response to Nate, but basically we agreed that what I wanted was not available yet. I have work to do to get this information (as I suspected). It's a shame, because the Vi above obviously knows how to calculate what I'm looking for, because it maps the pixel (or fractional pixel coordinates) where the origin is located in the real world, on an another coordinate (fractional) pixel in the corrected image.

This may be available in a future release, but for now, some work is needed here...

X.

Tags: NI Hardware

Similar Questions

  • Why my corrected image has non-uniform scaling (mm/pixel)?

    I use Vision tools of OR to calibrate nonlinear distortions by imaging a calibration of the spoaced points unfirmly image.  I have spread this information of calibration to calibrate a series of images taken under the same conditions as my calibration grid.  Then, I need to correct these images before I can make dimensional measurements. (Due to the nature of the processing routine measurement I need that these images corrected first).  I also need to enter the actual conversion to the images corrected to this measure of processing routine.  I get this by using the Pixel convert to real World.vi for each pixel in the image in order to see any variability within the image. I suppose this conversion value is consistent thoughout the picture but it isn't and ranges from 10%.

    Can anyone help explain what might happen?

    Secondly, in the correction of my images I only have the interpolation methods: zero order and bilinear.  Quadratic and cubic splines are grayed out.  Not sure why this is?

    Thank you

    Dan

    Another detail - calibration results NOR are valid within the calibration grid.  The numbers get anywhere outside the grid.  They get also a little wacky on the borders between the boxes.

    Loop through each pixel is a way to do it, but it is slow.  The only other possible approach I can think of is to map the image to a corrected image.  You can see distortions in this way, but you wouldn't have measurements for them.  I might consider to check every pixel on the other, given that the scale factors are not changing too quickly.

    Bruce

  • Help on Perspective correction, Image stitching and then pattern matching.

    Hi all

    As a newbie in LabVIEW, I don't know a lot about machine vision.

    I need for my project automation, stitching the images (from 4 cameras, 90 degrees). Do the perspective correction and then form a label (which is actually pasted on the jar).

    Please share your experience on the same type of project. And help me to proceed with the development of the project.

    Also find enclosed all the pictures from the camera.

    PS: Due to budgetary constraints, I use very basic USB cameras available, and the attached picture is the actual image.

    To be able to correct the image for distortion, you first have to calibrate it. Assuming that your setting of the camera is constant (i.e. the bottle always at the same place in what concerns the cameras, I would first of all paste a grid around the bottle calibration and then take a few pictures of this grid with all four cameras.)

    We install a calibration grid, you can print: C:\Program Files (x 86) \National Instruments\Vision\Documentation\CalibrationGrid.pdf

    This example will then show how you can learn the calibration using the images of the grid, and then the correct images would have taken you without the grid.

    \LabVIEW 2010\examples\Vision\2. Calibration Example.llb\Nonlinear Calibration Example.vi Functions\Calibration\Nonlinear

    Note that you need to recalibrate the system if something changes (lens focus, camera or bottle of position.

    After this step, you should have 4 images 'straight' which have been corrected for distortion and which can be used for sewing.

    For sewing, unfortunately, Vision Development Module does not include an exit of the seams of box function.

    If this is acceptable, you can use some third party software that provide features couture, such as Photoshop Autostitch, Hugin, Ptgui, Panorama Tools, search for Microsoft Image Composite Editor, CleVR Stitcher or Adobe Systems.

    If you need to do everything in LabVIEW, I can point you to some of the tools provided with the library you can use to create your own algorithm of seam. This part is certainly the most difficult of your project.

    Image stitching process can be divided into three major components - image calibration, registration and fusion. We already talked about calibration.

    -Image recording is to couple features in your images in order to align them. You can use tools like the corresponding model and edge detection for this purpose Watch examples of vision LabVIEW to know how to code in LabVIEW.

    -Image mix is to process the images to account for the difference in brightness of images from several cameras.

    Histogram analysis on the different images and applying a lookup table are simple tools that you can use for this purpose.

    Images can then mingle with features like IMAQ ImageToImage.

    This thread also talks about sewing:

    http://forums.NI.com/T5/machine-vision/image-stitching/m-p/860414

    Hope this help get you started. Good luck with your project.

    -Christophe

  • How to restore the system recovery files to their original location? (HP Pavilion p6540F desktop computer)

    I have a desktop HP Pavilion P6540F under Windows 7 Home Premium. A few days ago there was a problem with windows that virtually wiped out my OS and I had to restore my computer to factory settings. Before restoring my computer I backed up all my files on a disk. After Reinstalling windows, I placed the drive with all my files recovery on it in my computer and running the recovery .exe file that has started downloading my files. All of this worked perfectly well but the problem is that these files only stored in a file on my desktop and has not been restored to its original location. Is it possible to get these files to restore to the correct locations on my computer without having to manually, drag the files to their old location? Honestly, I don't know where many of these files were located before the restoration and many items such as preferences for certain programs are impossible for me to move. Thanks for the help.

    The backup that is used to recover only restores the files in a folder, leaving the owner to move. I agree, not the application of backup more useful, but better than nothing I guess.

  • Lock screen resolution does not display the correct image size

    original title: lock the resolution of the screen and graphics

    It's not just me, but I have problems with my lock screen. Any image I use the image is the right size and color aren't (almost like a filter of Sarcelles is imposed).

    My native screen resolution is 5760 x 1080. I tried for some screen resolutions, both the original and the current. Even the original will not display correctly.

    Ideas?

    Well, well, well. After you disable the lock for a while screen, today I decided to re-activated it. I love nail polish it gives for WIn8 only that my plan was to use a solid color.

    Imagine my surprise when applied wallpaper appears with the correct aspect ratio.

    Even more surprised that it allows me to use ANY wallpaper now and they look all perfect; 16:9, ultra wide-angle (surround), it does not matter. Everyone is properly rendered to the screen.

    If anyone from MS is reading this, thank you. I know how Visual, aesthetic items will fall to the bottom of the to do list due to the perception of someone, they are trivial and not important.

    You took the time actually solve this little problem. I am amazed, that perhaps MS really takes a step to circulate better over time. Really looking forward to what is to come!

    Happy 4th of July!

  • Import of images using Photoshop space of hard drive on my computer?

    I'm new to Photoshop Elements. I have about 50 GB of images stored in the Documents or Dropbox on my computer and the memory becomes short. If I import all these organizing elements will be they actually duplicated with another 50 GB of memory or will I cut and pasting (i.e.taking from their original location) or what?

    Thank you

    Geoff

    The photo files are not stored in the Organizer. They are where you put on the disk. Think the Organizer to catalog in a library, but to refine a search with use of labels and albums.

  • LR 2.5 move original files in c:/user/images

    I don't think what he used to do this, before I upgraded to 2.5.

    Basically, the problem is that whenever I open a RAW (cr2 file in my case) file, it moves the CR2 and the JPEG of the image of C:/Users/username/pictures rather than keep them in their original location as she used to do in LR 2.4 E:/photos.

    Is there a way to prevent that this is happeneing?

    Zoilot,

    When you "open" an image with LR, you will get a first import dialog box. Ensure that, in the import dialog box, you do not have a move photos to a new location and add it to the catalog of game, but rather to Add pictures to the catalog without moving.

    I think this should solve your problem.

    Gossweiler beat

    Switzerland

  • Put iTunes Media folder back in its original location?

    I recently upgraded my MacBook Pro to a 2 TB SSD is more partition my main drive.  I used to keep iTunes Media folder on a separate data partition.  Now, I would like to return the iTunes Media folder to its original location / considered.

    Is there a particular process I should follow?  Any tips?  What should I watch out for, so I don't lose anything?

    Thank you!

    Hello

    First of all, you can make a copy of the media on a separate volume of additional backup, if you can.

    You don't say where the media folder is now, but if it's on the old disk, just copy or move the folder iTunes media to users / your name/music/iTunes. Open iTunes preferences / advanced, and then set the location of the iTunes media folder by change to hit and then navigate to the iTunes folder and select the folder that you moved.

  • some computers cannot acquire images using the PCI-1410

    I have a big problem in the acquisition of the images using the PCI-1410.

    It was a standard camera (SONY XC-ES). The test of the device is OK with my computer.

    I can not get a correct image via MAX. Also, I try to use the file of the camera for that camera.

    But it did not work properly.

    I consulted it toward the Korea of NEITHER and they discover THAT PCI-1410 worked properly with different computers.

    So, I try to change PC. Most of my computers cannot acquire the image even if the unit is OK of MAX.

    However, only a few computer works properly. (Work computers are from SAMSUNG. The other

    computers that did not work propely, were assembled in the lab.) (I have tested almost 6 computers for this purpose.)

    The problem is that there are at least 3-4 PCI ports for our applications. The work computer (SAMSUN) only has 2 ports PCI.

    What should I do to select the right computers? I can't buy dozens of computers to test the PCI-1410.

    Why is this kind of problem occurs?

    Thanks in advance for your advice. (Email: [email protected])

    Hello

    We also had a lot of problems in the past with different PCs and the problem came from the motherboard. Since that time, we only use motherboards with intel because we know that labview works very well with them.

    It was 2 or 3 years ago, and I thought that the problem has been resolved since then... you know the type of motherboards you use?

  • Which is faster a bit manipulation to the table or image using the vision

    I have to perform an operation on an image.  It involves the calculation of the new locations for the pixels for each pixel of the image.  Which is the fastest way to do it.  Manipulate the pixels as elements of the array for loops, or manipulate the pixels of an image using vision tools?

    Thank you.

    Hello

    If you can use vision tools to make the manipulation of pixels, it is much faster.

    Vladimir

  • How can I move files system recovery to the original location?

    I use Windows 7 on a HP Pavilion P6000 series.  I believe that the Recovery Manager created Windows System Recovery Files folder on the C: drive (from .wim files) created on an external drive, and I want to move them to the original location.  Just copy or move everything to the C: drive, or is it an executable program that does this?

    Found this previous post - I guess that's the solution...

    Re: How to restore the system recovery files to their original location? (HP Pavilion p6540F desktop

    201207 04-18: 12:00 - modified on 18-04-201207:13 PM

    The backup that is used to recover only restores the files in a folder, leaving the owner to move. I agree, not the application of backup more useful, but better than nothing I guess.

  • Restore the Recycle Bin to the location specified instead of the original location?

    Is it possible to restore all recycle bin content in a single folder, specified instead of restore everything to its original location? I would like to move the contents of my drive for expansion.

    Thank you!

    Is it possible to restore all recycle bin content in a single folder, specified instead of restore everything to its original location? I would like to move the contents of my drive for expansion.

    Thank you!

    You can drag-and - drop the TRASH, as well as for the trash.  It will probably be easier if you change the 'view' of the folder to 'List' Recycle bin and then use the Windows standard click-shift-click to select a batch of files to drag to your destination folder specified.

  • Windows dvd maker problem: I hear but not image using windows DVD maker.

    I can hear but not image using windows DVD maker. A few obvious reasons? It's strange because it used to work and now a few months later it does not. The image is there in the start menu of the main menu, just before you press play it starts to play sound with no photos after I press play. Please help, steve gratefully.

    original title:
    Windows dvd maker problem

    Maybe the part "What to do if you have questions" of the following
    article would offer some ideas.

    How to burn DVDs with Windows DVD Maker
    http://www.7tutorials.com/how-burn-DVDs-Windows-DVD-Maker

  • location using mobile data instead of wifi

    Hello
    I have this problem in my z2. My position is automatically enabled & it cost me in data costs mobile even if I use a Wi - Fi connection only... Mobile data are off. I see this msg of deduction of money after every few mins .i do not understand this. Please help me.

    I have transformed location for battery saving mode & received no data so far use msg. I think it works. GPS was the origin of the problem. I kept it on the Wi - Fi & mobile networks only. No GPS

  • How to make an image using the camera on my pc

    I want to take a picture of my laptop but cannot find the button

    Hi carolewyne

     

    1. What are the brand and model of the laptop?

    2. you have software installed for the camera to use?

     

    If you want to take a photo using the camera in the phone, then maybe you should use a utility support for the device that is provided by the manufacturer. It will help you get the image using the camera. You can visit the manufacturer's Web site and download the software for the device is functioning correctly.

     

    I hope this helps.

Maybe you are looking for