2016.2 RC1 - error on TIFF control point generation: "caught exception: std::bad_alloc"

305 views
Skip to first unread message

Stefan Hoffmeister

unread,
Jul 22, 2016, 2:45:26 PM7/22/16
to hugin and other free panoramic software
Hi,

TIFF files produced by the latest version Capture One 8.3 cannot be processed in Hugin, the panorama editor (http://hugin.sourceforge.net/) - in this case this is with 2016.2 RC1.

Every TIFF produced by Capture One yields the following messages in Hugin

Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype '

and following that

An error happened while loading image : caught exception: std::bad_alloc

upon trying to find control points in Hugin (Hugin's CPFind).

Steps:
- take any two raws
- produce 16 bit TIFF from it
- import both TIFFs into Hugin
- find control points
//exp: yields results
//act: hugin fails to find control points


I cannot tell anything about the root cause of this - it might be Capture One writing bad data, or Hugin reading too restrictive / bad?

Advice on how to proceed is greatly appreciated :)

Stefan Hoffmeister

unread,
Jul 22, 2016, 2:56:18 PM7/22/16
to hugin and other free panoramic software
FWIW - the 8 bit TIFFs are processed by Hugin as expected - no warnings, no error messages, rather good control points are found for the complete set of TIFFs, and a rather decent-looking panorama is being produced.

But with 8 bit TIFF, I loose colour resolution.

Donald Johnston

unread,
Jul 22, 2016, 5:57:34 PM7/22/16
to Hugin Pano
I get a similar error (except for the ‘UNIT 16’ at the end).

Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype ‘UINT16’.

My tiff files were created by DxO OpticsPro. The find control points works fine and the output from hugin is fine.
So, I don’t think the problem you’re having is related to the "Warning: TIFFDecoder: …”.

I did not get a “caught exception”.

David W. Jones

unread,
Jul 23, 2016, 1:40:06 AM7/23/16
to hugi...@googlegroups.com
I get a similar warning about missing TIFFTAG_SAMPLEFORMAT. I produce my
TIFF files using Raw Therapee on Linux.

It also doesn't hinder finding control points or generating output.

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Stefan Hoffmeister

unread,
Jul 23, 2016, 1:47:37 AM7/23/16
to hugin and other free panoramic software
On Friday, July 22, 2016 at 8:45:26 PM UTC+2, Stefan Hoffmeister wrote:
 
TIFF files produced by the latest version Capture One 8.3 cannot be processed in Hugin, the panorama editor (http://hugin.sourceforge.net/) - in this case this is with 2016.2 RC1.

User error - it seems as if I had a 32 bit parallel installation of an old 2016.0 release floating around, and I was unwittingly using that.

The diagnostic warning

Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE

remains, though. I have contacted the vendor (PhaseOne for Capture One Professional 8.3.4 64 bit) on this.

Apologies for the noise!

Hans Bull

unread,
Jul 23, 2016, 7:37:01 AM7/23/16
to hugin and other free panoramic software
A "Warning: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT16'." also occurs with 16bit TIFs generated by Nikon Capture NX-D. Nothing to worry about IMO.
HB


Maria Prontera

unread,
Dec 29, 2016, 5:56:34 AM12/29/16
to hugin and other free panoramic software
I developed raw file in HDR with Lightroom, and then export them in Tiff.
With 16 bit I had same problem
With 8 bit no error message.

Anyway with 16bit I got a good result, even if Hugin gave error message.

So I ignore it and continue to use 16 bit files.

David W. Jones

unread,
Jan 2, 2017, 3:03:18 AM1/2/17
to hugi...@googlegroups.com
Hmm. I develop my raw files using RawTherapee, export as 16-bit TIFF,
and don't get any such error message.

I have 2016.2.0-rc2+dfsg-2+b1 from Debian Testing. Have you tried
upgrading from RC1? Or using RawTherapee to develop and see if you get
the same errors?

Maria Prontera

unread,
Jan 2, 2017, 5:17:49 AM1/2/17
to hugin and other free panoramic software

Thank you David. I'll try with RawTherapee. I exported files with Adobe Photoshop or Lightroom until now.
I don't understand what is upgrading from RC1.. what is it? and what is Debian Testing? I don't know it and what it means.

David W. Jones

unread,
Jan 4, 2017, 1:58:16 AM1/4/17
to hugi...@googlegroups.com
Sorry - "RC1" stands for "Release Candidate 1". An updated version of
RC1 is out, called RC2 ("Release Candidate 2". I was just suggesting
that maybe updating to RC2 might fix your issue if the issue was fixed
in RC2.

Also, wasn't aware you were using Windows. I use Linux. Debian Testing
is a version of Debian Linux.

Maybe someone on the list that uses Windows has better input?
Reply all
Reply to author
Forward
0 new messages