Forum

Author Topic: Downsampled Images  (Read 20123 times)

Nathan Craig

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Personal Page
Downsampled Images
« on: July 25, 2010, 06:45:08 PM »
I see that the manual states that one should, "se the original files from your camera whenever possible". Is it acceptable to downsample images? When working with Photosynth or Bundler, I regularly downsample images to 2 or 4 megapixels respectively. On my computer, SIFT does not process images larger than 4 megapixels. I see that PhotoScan will align the 8 megapixel images that are produced by my Canon S90 camera. I found that PhotoScan will in some cases also process images that are downsampled by the ImageMagik command "mogrify -resize". However, in other cases downsampled images do not appear to solve well. Is there a preferred method of downsampling, or is there a preferred ratio--say 50%.

I suspect that downsampling images permits the processing of larger collections. At a full 8 megapixel size, there is more information in the photos than is required. Downsampling, when it works, results in faster processing and models with acceptable levels of detail. I would be very interested to learn if there are any suggested "best practices" when it comes to software used and downsampling factor applied. Any help would be appreciated.

Regards,
Nathan

Dmitry Semyonov

  • Agisoft Technical Support
  • Full Member
  • *****
  • Posts: 201
    • View Profile
Re: Downsampled Images
« Reply #1 on: July 25, 2010, 10:19:12 PM »
Hello, Nathan,

PhotoScan uses EXIF information from the source photos to guess the focal length of the camera. Usually cameras write either FocalLengthIn35mmFilm, or FocalPlaneXResolution and FocalPlaneYResolution EXIF tags.

If your camera writes FocalLengthIn35mmFilm EXIF tag, then you can perform downsampling safely.

If your camera writes FocalPlaneXResolution and FocalPlaneYResolution tags, then the values of these should be also changed in accordance to the scale used when downsampling the photos. Unfortunately, image editing software known to me keeps these tags intact. This leads to improper guess of the camera focal length, which can lead to incorrect reconstruction results.

When both FocalLengthIn35mmFilm and FocalPlaneResolution tags are present, PhotoScan will use information from FocalPlaneResolution tags.

In the latest version of PhotoScan there is an option to specify the camera calibration manually, using the Camera Calibration... dialog from the Tools menu. Using this dialog you can override EXIF information used by the program. Please let me know if more information on this option is required, as it is not covered in the help yet.

With best regards,
Dmitry Semyonov
AgiSoft LLC
With best regards,
Dmitry Semyonov
Agisoft