Support for BetaRGB color space

Asked by Kurt Hillig

(Note: I'm also posting this to the Hugin gmail group)

I've been playing with RPP ( for RAW conversion preliminary to generating panoramas with Hugin (most recently Harry van der Wolf's OSX build of 2010.4.0-beta2); and running into problems with the color space.

RPP generates TIFF files in the BetaRGB color space; and using these files directly in Hugin I find two problems:

1) The panomatic control point generator barfs on these - Exception Type: EXC_CRASH (SIGABRT) in the crash logs ( I can provide details if you like). I can generate control points manually, or with autopano-sift; and the alignment and distortion optimization runs as expected.

2) The expoure optimization generally leads to absurd results; usually a strong horizontal exposure gradient, and if I try white balance optimization then the resulting panorama reminds my of my experiments in recreational pharmacology many decades ago.

I can work around this by converting the files from BetaRGB to ProPhoto (e.g. in Photoshop, that being what I'm most familiar with), after which Hugin handles them with no problems. But this is a pain when I have hundreds of images to deal with.

It's not clear if these are bugs or just a case of input that Hugin (or its components) weren't designed to handle; outside of RPP I haven't run across BetaRGB anywhere else. And I don't know the underlying math well enough to know whether adding support for this is a trivial fix or a major overhaul.

If this is a bug, I can provide lots of detail; if it's a missing feature, please consider this a feature request.

Question information

English Edit question
Hugin Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
tmodes (tmodes) said :

Could you provide some images for testing purposes?

Revision history for this message
Kurt Hillig (kwhillig) said :

Hmm, I'll have to generate some for you - My questions was trigerred when I
started using the RawPhotoProcessor app (before Canon, Adobe and Apple had
updated their Raw converters -
and this only uses the BetaRGB space. But I haven't used RPP for a while
now, since the others do everything I need and RPP - like Hugin - is very
powerful but not always very easy to use…

And it's quite possible that the "--no-ciecam" option to enblend/enfuse
might have been all that was needed for this, but back in 2010 I don't
think that was a documented option.

If you still want some images let me know - but I'm about to leave town for
a couple weeks, so it will be June before I can get you anything...

On Sun, May 10, 2015 at 7:41 AM, tmodes <
<email address hidden>> wrote:

> Your question #139448 on Hugin changed:
> tmodes posted a new comment:
> Could you provide some images for testing purposes?
> --
> You received this question notification because you asked the question.

-- Kurt W Hillig II

Can you help with this problem?

Provide an answer of your own, or ask Kurt Hillig for more information if necessary.

To post a message you must log in.