Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® ImageModeler™ / General Discussion / getting disortion values from imagemodeler
  RSS 2.0 ATOM  

getting disortion values from imagemodeler
Rate this thread
 
46113
 
Permlink of this thread  
avatar
  • Total Posts: 106
  • Joined: 06 April 2006 08:00 PM

I am using a handful of original, distorted images in imagemodeler, all the cameras have the distortion values set as follows

status: variable
type : disto 3
k3 :00

(I have no idea what I should be typing in these)

Some cameras are nikon d2x, nikon d80 and a d3s so different film back sizes. I have typed these in and entered the first exif mm lens focal length, with it set to ‘constant’

In the viewport imagemodeler is clearly undistorting them. How do I retrieve the value, or images so that I can use these undistoredt images back in Maya.

Doesnt seem to be any values in IM that I can find

Ben



Replies: 1
/userdata/avatar/rrc46d3ia_greg_downing_headshot_very_tiny80x80.jpg

Look at the camera tab when the image is selected under “shots” in the scene browser. This will show you distortion value. Logically it would go under the camera device but unfortunately like the true focal length it doesn’t show up here.

As far as removing the distortion goes it can be done w/ Stitcher or probably Matchmover. Realviz and Autodesk use to distribute a very convenient free command line tool for baking out the distortion called DistoIma but I don’t know if or where it is hosted anymore. Panotools, PT Lens use a variation of k1 and k2 http://www.all-in-one.ee/~dersch/barrel/barrel.html, Autopano uses k1 and k2 directly. If Matlab doesn’t intimidate you you can use the camera calibration toolbox that is often used for computer vision, although I have not tested it to see if it will remove k3 http://www.vision.caltech.edu/bouguetj/calib_doc/index.html

Author: gregdowning

Replied: 16 August 2010 09:01 AM  
avatar
  • banasm
  • Posted: 12 August 2010 09:25 AM

The camera/lens distortion characteristics are actually a table of values, since what you are seeing is a combination of transforms. That said, there are many “panoramic stitching” softwares out there that will automatically do the same thing based on the exif, even if the images don’t overlap. Oddly enough, Autodesk Stitcher uses the same distortion function as ImageModeler and can “undistort” a single image, but that’s a kind of expensive answer to your question. Try PTlens for Photoshop, even if it isn’t going to give you exactly the same result.



Replies: 0