BUG in pfscalibration

28 views
Skip to first unread message

jeremy.r...@gmail.com

unread,
May 8, 2017, 11:35:36 AM5/8/17
to pfstools
Hi,

I've recently tried to use pfstools to calibrate the response curve of grayscale cameras and bumped into some weird behaviour.
To make my grayscale images into 3-channel images, I simply duplicated the same data to all 3 channels of a png image and ran the following:
pfsin my_file.hdrgen | pfshdrcalibrate -v -s response.m | pfsout test.exr

Problem is, I get a response curve similar to the one below, where red is clearly wrong and green and blue seem to agree on the linearity of my sensor. Now the reason why I'm puzzled by this plot is because R,G and B channels all contain the exact same data ...

Cheers,

Jeremy
Auto Generated Inline Image 1

Rafal

unread,
Jun 3, 2017, 4:55:44 AM6/3/17
to pfstools
Jeremy,

On Monday, 8 May 2017 16:35:36 UTC+1, jeremywrote:
Problem is, I get a response curve similar to the one below, where red is clearly wrong and green and blue seem to agree on the linearity of my sensor. Now the reason why I'm puzzled by this plot is because R,G and B channels all contain the exact same data ...

If you could share your images and the hdrgen file that produce this behaviour, I can check what could be wrong.

You can try adding "-r linear" to initialize optimizer with a linear response.

Rafal
Reply all
Reply to author
Forward
0 new messages