Origin location in a corrected image (using calibratio​n data)

Hi there,
I am using the vision toolkit to correct deformation in images.
I am not using the dot grid template to let the software generate the calibration
map, but instead use a set of points (which I can precisely define
in the deformed image) and provide their respective "real world"
coordinates. I can then apply this correction to other images.
Up to now everything is fine.
Now I want to overlay two sets of images, which are deformed
differently (for instance, they represent the same object, but have
been imaged in slightly different conditions). I
can correct one set using the approach above, and the other separately, using
its own separate correction, but I am stuck there.
Each calibration/correction is characterized by a scaling factor and an
origin coordinate. I need both to be able to overlay the two sets of images.
I have chosen non-linear calibrations that preserves area and I figured a
way to recover the scaling factor by computing the areas of all the square
pattern in my set of calibration points (as computed in the original image), taking
the average and then the square root of this average area: this gives the
spacing between equidistant points in the corrected image.
However, I can't figure out how to get the location of the origin in the
corrected image. One of my calibration points is associated with position
(0, 0) in the real world. However, this is neither its position (in pixel unit)
in the original image or the corrected image. I need the latter. How can I
obtain it simply (I can think of sophisticated ways to obtain it, but I suspect
there might be trivial one).
Thanks in advance for your answer.
Sincerely,
X.
Solved!
Go to Solution.

Dear X,
I'm not sure if this is the information that you are looking for, but take a look in the Vision Concepts Manual, page 3-10
start»programs»National Instruments»Vision»Documentation»NI Vision»Concepts_Manual.pdf
"If you specify a list of points instead of a grid for the calibration process,
the software defines a default coordinate system, as follows:
1. The origin is placed at the point in the list with the lowest x-coordinate
value and then the lowest y-coordinate value.
2. The angle is set to zero.
3. The axis direction is set to indirect."
If not, I don't know of a good way to recover the transformation between an original image and a correct image for a specific pixel. It would be one thing if it were a simple linear calibration, but we don't have access to the algorithm used to apply the nonlinear correction, which changes based on the locations of the distortion in the image.
What are you looking for in overlaying the images? Are you doing a comparison?
I don't know the constraints of your project, but one thing you could try is doing a pattern or geometric match for a unique feature in both of the corrected images that you want to overlay (one you know the location of, and that will serve to align the images properly), and then define the coordinate system based on that match.
Hope that helps!
~Nate 

Similar Messages

  • Delete file from original location and when copied size of file increases.

    hi !
    I have 2 exe's both of 1.15MB which I want to move to another folder. The files are copied to the folder but the size of exe increases to around 350MB each. What can be the problem ?
    BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream(filename));
    int o=bis.read();
    do{bos.write(o);}while (o!=-1);
    boolean del=this.fpara.delete();
    System.out.println(del);          Also, the file is not deleted from the original location even though I have used the delete function. The last line produces null output.

    And do follow coding conventions
    {color:0000ff}http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html{color}
    If your original source is all jammed up like the snippet you posted, I'm not surprosed that you can't spot your mistakes.
    db
    Edited by: Darryl.Burke on Mar 9, 2008 12:40 AM

  • Drop Zones shows correct image but previews using old photo with same name

    Everyday I do my customer DVD's in the same format. I capture, then edit, take eight screen shots (as jpeg's) to use in iDVD for the title screen. Then after I have checked the completed DVD I delete the Jpeg's and the iDVD project. I also delete the iMovie project as I use a standard template with promo at the start and credits at the end.
    After upgrading to iDVD 6 (i did upgrade iMovie 5 to 6 but had to go back because of bugs) I have noticed that when I add my jpeg's to the drop zones they appear correct but the preview in the background shows another jpeg. Looks like a previous jpeg used for another project that I have since deleted.
    Has anyone else had this problem. I found that if I go back and rename the latest images I want to use (i normally just use a generic name like c1, c2, c3 etc) it works fine until now. But I am sure this problem will resurface with time even using full names.
    iBook 14"   Mac OS X (10.4.4)   1.5GB Ram

    All,
    I had the same issue. 
    In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
    I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
    To clear blob cache, do the following:
    Navigate to:   
    http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
    Select:  "Object Cache Flush"  and  "Force all servers in the farm to flush their object cache" check boxes
    Click the OK button
    Hope this helps.

  • I recently upgraded our iMac to Yosemite OS and now have a problem with Photoshop Elements 11:  the move tool selects an image or text layer, but then I try to drag the selection somewhere else on the page and it snaps back to the original location, howev

    I recently upgraded our iMac to Yosemite OS and now have a problem with Photoshop Elements 11:  the move tool selects an image or text layer, but then I try to drag the selection somewhere else on the page and it snaps back to the original location, however the arrows will move it OK.  Also I cannot drag the selection to another photo in the photo bin as before.

    Hi,
    Please refer: http://helpx.adobe.com/photoshop-elements/kb/pse-stops-responding-yosemite.html
    Thanks,
    Anwesha

  • How do I create a single image using PSE12 from multiple originals where each original is still separate?

    How do I create a single image using PSE12 from multiple originals in which the originals are still separate (i.e. side by side or arranged in a square)? I could do this in PSE2, but can't find how to get PSE12 to do it.
    Grecophile55

    In PSE2 there was a single photo-merge. I browsed all my images and I could then click and drag each to its new position before saving. There doesn’t seem to be a similar facility in PSE12.

  • How can i restore system recovery files to their original location? (HP Pavillion p6540F desktop)

    I have a HP Pavillion P6540F desktop running Windows 7 Home Premium. A few days ago a problem occured with windows which basically wiped out my OS and I had to restore my computer to factory settings. Before restoring my computer I backed up all of my files to a disk. Upon reinstalling windows I placed the disk with all of my recovery files on it into my computer and ran the recovery .exe file which began the download of my files. This all worked perfectly fine but the problem is that these files only saved to a file on my desktop and did not restore to their original locations. Is there any way to get these files to restore to the correct locations on my computer without having to manually drag the folders to their former locations? Honestly I do not know where many of these files were located before the restore, and many items such as preferences for certain programs are impossible for me to relocate. Thanks for the help.
    This question was solved.
    View Solution.

    The backup used in Recovery only restores the files to a folder, leaving the owner to move them.I agree, not the most helpful backup app but better than nothing I suppose.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • What are correct Image sizes?

    I've created a slideshow using Ken Burns effect, but some of the images don't seem to fit edge to edge left to right. The problem is that I have images where the subjects are on the left and right, but when viewed in the slideshow all I can see is the middle of the image and the subject is cut off. I can manually slide the image left or right, but I need the whole image to be displayed. I have moved the size slider all the way to the left, but it still doesn't show the whole image left to right.
    Is there a rule of thumb for image dimensions for slideshows so that the WHOLE image gets displayed - there doesn't seem to be any way to resize images in iPhoto apart from cropping which isn't the same thing?
    I'm trying to make a looping slideshow to burn to DVD that will be viewed on a standard HDTV ie. the DVD will autorun when inserted into a DVD player and will then keep looping until manually stopped.
    Any help much appreciated!
    Thx

    Thx Terence.. I've tried this and while it does help the left to right edge issue somewhat, the top and bottom of the images are now being cut off - lot's of disappearing heads and legs etc. with just the middle of the body showing - and no way of resizing the image so that the whole image is shown!
    What I need is the WHOLE image to display as it should - given that there is a trade off of black or white background where the image doesn't cover. Eg. in a portrait image where there is blank space to left and right or landscape with blank space top and bottom. It seems to be that the image is expanded to fit in some way by checking the 'scale photos to fit screen' box - not ideal really. Which brings me back to my original question of what are the correct image dimensions, so that the whole image gets displayed for viewing on a HDTV (16:9)?
    Thx again for your time..

  • Correct Image File Format For Magazine Printing

    I am using InDesign CS4 and I would like to know if it's ok to use JPG or JPEG images for printing magazines ?  If not, can you please tell me the correct image file format I should use with InDesign for designing and printing a magazine ?  Also what would be the best way to convert the image files from JPEG to that correct image file format ?

    Use what ever format you like, I perfer .tiff with LSW compression or .eps. If you don't know what you are doing just include the original image when you send you project to the printer and link the image in InDesign don't embedded it.  When you furnish the original image the prepress department can set it up correctly.
    I perfer 300 dpi with image is at 100% of the final size, if the image is printing 150 line screen when printed. 200 dpi is ok for 133 line screen.  I would even perfer a 100 dpi image over a .jpg image that has be over compressed.

  • Capture an image using the web camera from a web application

    Hi All,
    Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
    I have a similar requirement like this,
    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
    3) Upload the Image to the server from the temporary location.
    Please share the details like, what can be used and how it can be used etc...
    Thanks,
    Suman

    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
    3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
    All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
    Alternately, you might want to look into Adobe Flex for this particular application.

  • Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoyi

    Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoying. What happened? Internet Explorer 8.0 did the same thing. This was one of the reasons why I started using Firefox to download all images. I went into Tools>Options and it only lets me set another folder. I dont want to set a specific folder I want it to always go to the last folder used. So what gives?
    == This happened ==
    Every time Firefox opened
    == possibly when the most recent updates were installed, a few days ago

    Thanks jscher 2000. I guess I didn't make it clear. "It restarts with all the addons activated, and resumes with the tabs that were open before closing it." IE, it's running fine now with all the extensions activated. Everything is OK now.
    So something in the Firefox code was causing the bad behavior. It's not essential that I find out what the problem was - I'm just curious. And if anybody else has this same problem, it might be nice to have it corrected at the source.

  • Saving to original location

    I have been helping some friends switch over to Mac. One of the most common questions is "why doesn't it save back to where I opened the file from, like on the pc?"
    Does anyone know how to make files save back to their original location? Thanks. -dr

    First off, behavior with a network may be different than using and saving files on your local drives, since I'm not on a network, I can't check that. However, behavior for local files should be just what everyone has said: it will save to wherever you opened the file.
    Thus, I just launched TextEdit, it created a new file, and I hit Save--the location that appeared was the last folder I had saved something to. Closed the file, opened one in the Documents folder, hit "Save as" and the location was the Documents folder. Closed the file, opened a file from a folder on a different drive, buried 4 steps deep on that drive, hit "Save as" and the location was the folder the original file is in. I then opened a file on my iDisk, in the Sites folder, hit "Save as" and the default location was again just what I expected: the Sites folder on the iDisk. AFAIK this is the default behavior for all applications that use the standard Apple suite for Save and Save as. However, as has been pointed out, applications don't HAVE to do this, they can write their system for default behavior, and some do. There are applications that have in their preference the ability to set a default folder of the user's choice to automatically offer as a first choice.
    Also, you can often use the drop down menu next to the name of the suggested folder in the Save or Save As sheet to select a different spot in hierarchy, or a different folder from the "Recent Places" which appears after the hierarchy listing. Furthermore, you can drag 'n drop any folder you have open in the Finder into the navigation pane to start from there in the Save sheet.
    Finally, if you want to open the folder your file came from in Finder, just hold the Command key and click on the title in the title bar of the open file. You'll get the path list for the file, click on any item in the path to open that in Finder.
    Francine
    Francine
    Schwieder

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Returning files in trash file to original location

    Trash contains a huge number of files. They have not been deleted
    through the TRash Delete function.
    I want to know how I can return these files to their original location
    without moving each file by a manual approach. Does OSX preserve the original location when the file is put in the Trash bin?
    thank you
    Bil

    Welcome to Apple Discussions Bil.
    Does OSX preserve the original location when the file is put in the Trash bin?
    No, only so for the most recently trashed file can you undo that move.
    One of the small(?) annoyances of people used to Windows is the absence of the the Restore function in Mac's Trash, as they expect it to be like window's Recycle bin.
    Unfortunately it is not a recycle bin but a trash can, so you cannot automatically undelete a trashed file (apart from the most recent one).
    There is one suggestion to create a special folder to put your doubtful files in before your decide to trash them, though that still does not give you the ability to return them automatically to whence from.
    You had better get them out of the trash if you want them, lest you lose them, but regrettable you'll have to replace them back manually - or reinstall the application might be easier if that is applicable.
    Sorry there is no solution to your problem.
    Message was edited by: roam

  • How do I restore files to their original location from the trash bin?

    I accidentally deleted a large number of files. I was trying to delete a certain type of file from a specific folder, but ended up deleting all of the files of that type from the computer and, worse, from the external hard drive docked on my desktop. We are talking about 6000+ files. I could not in five years manually copy these files back into their original locations. I deleted additional files after this before I realized what was happening, so I've used up my one undo. Is there no way in Mac OS X to automatically restore these files back to their original locations? It's worth noting that I have not emptied the trash bin; the files are all still there, and this is a brand new computer, so Time Machine hasn't been configured (even if it had been, the external hard drive I would have used for back up is the one I would need to be restoring these files to). You would think something like spotlight, so proficient at finding the file types I was looking for, would also be able to put them back to their original locations.

    That is a feature available in Windows but not on you Mac. Your only slender hope is Undo, but it only has one go, and you say you've used it.
    If the task of relocating them seems impossible, and you say the machine is brand new, then the quickest thing would be to reinstall the OS and start again, as you would not have personalised/changed it much, so soon.

  • I have just bought a hdmi tv and would like to view very high quality images, using apple tv, stored on my external hard drive. I also have blue ray movies stored on my external hd. will i be able to stream these to my tv and view them in 1080p?

    I have just bought a hdmi tv and would like to view very high quality images, using apple tv, stored on my external hard drive. I also have blue ray movies stored on my external hd. will i be able to stream these to my tv and view them in 1080p?

    sorry, why isn't correct?
    i try convert video with quick time to apple tv, import in itunes( that's ok)  but is impossible to synchronize my apple tv ( unsupported file).
    where I wrong?
    please could you explain me the correct procedure?
    i have some video ( holiday movie an photo movie in mpeg2 full HD) to convert for apple tv, and from 2 years some video editing with imovie.
    normally I prepare my video with Imovie, create a file .mov full hd (like master)  and with roxio convert file for apple TV.
    apple world is new for me, after 25 years with microsoft!
    thank so much
    mauro

Maybe you are looking for

  • Work around for Pivot Tables

    Ok, I think I've found a way to work around pivot tables, although it's no where near as elegant or simple . . . or quick. But for small time stuff, the SUMIF and COUNTIF functions are doing what I need. Especially the SUMIF I can run it against a ta

  • Usage of SM18, SM19, SM20

    please explain the usage of transaction codes SM18, SM19, SM20 in SAP, for audit. Regards Puneet

  • FSE2 - Change Financial statement version in production system

    Hi, I have an requirement, my client wants to change the financial statement version from FSE2 transaction in the production system. For this I made FSE2 and V_T011 as current settings in SOBJ transaction and executed the transaction FSE2 which is st

  • Sequencing Microsoft Forefront UAG Internet Explorer Addon

    Hello, I am trying to sequence the Microsoft Forefront UAG components to allow a remote access site to work. I am using App-v 4.6, IE 10 and a Windows 2008 R2 sequencer. I am sequencing as a plugin and pointing to the locally installed version of IE,

  • IPad 2 - iPod display change between Playlists and Music

    Is there a way to set the iPod in the iPad 2 to display a song listing when in a playlist, but display the album listing when in the Music section, like in iTunes?