Forum

Author Topic: TIF file doesn't open correctly  (Read 5278 times)

paulm

  • Newbie
  • *
  • Posts: 9
    • View Profile
TIF file doesn't open correctly
« on: January 11, 2017, 12:01:38 PM »
I converted a movie to individual .tif frames, using ffmpeg (ffmpeg -i <movie> -vf fps=1 frames%04d.tif). The resulting tif files are not correctly read by PhotoScan Pro, even though they open fine in GIMP and tools like tiffinfo. Once loaded in Photoscan the images show a corrupt image, in grey scale. On the console warnings of the form "PackBitsDecode: Not enough data for scanline 193." are displayed.

I can provide an showing the problem.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: TIF file doesn't open correctly
« Reply #1 on: January 11, 2017, 12:02:41 PM »
Hello paulm,

Can you please send a sample TIF to support@agisoft.com?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: TIF file doesn't open correctly
« Reply #2 on: January 11, 2017, 04:09:13 PM »
Hello paulm,

It looks like the TIFF is in YCrCb format, so it's not RGB image.

Can you use RGB representation when converting the video sequence to the still frames?
Best regards,
Alexey Pasumansky,
Agisoft LLC