Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Problem with recovery of response curve by pfshdrcalibrate

30 views
Skip to first unread message

Dominika Knera

unread,
Jan 14, 2018, 10:07:13 AM1/14/18
to pfstools
Hi,

I am new to Ubuntu and pfstools. I've followed the procedure mentioned in README_Ubuntu to install pfstools (version 2.1.0) in my Ubuntu 17.10. During installation I had some problems with OpenCV with the "nonfree" modules, but I managed it. After that, installation of pfstools went smooth.

I started working with pfstools acording to:
I used the images from exemplar (exposures.tgz) and I tried to recover the response curve as it was described in mentioned tutorial. I had put command in terminal:
pfsinhdrgen sample.hdrgen | pfshdrcalibrate -v -s camera.response
firstly it started working well, but after few seconds in terminal appeared:
                                                    ~�:G׳:��:�&�:T��:S�|:$�k:� X:y�T:Z�[: �I:o�;: n<:�!;:Pc4:Ԛ#:� !:.'#:��):J�%:��!:��%:�b+:* 1:��.: �/:@�+:�52:Rx3:��/:�e):"(:˷-:0a0:��+:b�&:�
:��U(:$� :j : �
:DF: ��9���9
            ��9���9 �9G��9���9���9B��9�#�9���9�q�9���9�D�9*@�9�ϣ9� �9�:�9+3�9� �9wT�9�� :�,�:!M ;k}u;�Z�;���; #�;� �;Cݸ;
                                        ��;�4�;���;k��;*�;���;�U�;׮�;�u�;,0�;�c<�1�;@��;���; <�;۳�;�(�;�;���;@Jw;��f;T_;&�Q;bX`;���;���; o�;���;N �;%��;���;N �;���;��;� �;~��;n��;���;k��;���;�O�;0��;e4�;�2�;� �;#��;�(�;w��;�:�;�l�;({�;�|�;�b�;� �;�t�;}��;J��; Ƒ;� �;�ϖ;K��;� �;*��;� �;�.�;�    o;'�S;�.E;w^9;�/;H�%� ;�X ;$� ;a ;� ;��";��#;J ;�4 ;�� ;�m ;dominika@011T4-732LINUX:~$ 62;c62;c62;c622;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c62;c


File with response function occured, however it not look like response function in tutorial, moreover the weight function was nonsymmetric and in some part higher than 1.

I tried to add "-r linear" in pfshdrcalibrate, however it still not working well.

Below I add hdrgen file and response functions I got using default (first graph) and linear settings (second graph).

Could you help me and suggest what I  doing wrong?

Thanks in advance !!

Dominika


hdrgen file:
/home/dominika/exposures/img01.jpg 0.0769231 2.8 100 0
/home/dominika/exposures/img02.jpg 0.1 2.8 100 0
/home/dominika/exposures/img03.jpg 0.25 2.8 100 0
/home/dominika/exposures/img04.jpg 0.3125 2.8 100 0
/home/dominika/exposures/img05.jpg 1 2.8 100 0
/home/dominika/exposures/img06.jpg 1.25 2.8 100 0
/home/dominika/exposures/img07.jpg 3.33333 2.8 100 0
/home/dominika/exposures/img08.jpg 4 2.8 100 0
/home/dominika/exposures/img09.jpg 60 2.8 100 0
/home/dominika/exposures/img10.jpg 80 2.8 100 0
/home/dominika/exposures/img11.jpg 320 2.8 100 0
/home/dominika/exposures/img12.jpg 400 2.8 100 0
/home/dominika/exposures/img13.jpg 1000 2.8 100 0



graphs.pdf

Rafal

unread,
Jan 14, 2018, 10:22:19 AM1/14/18
to pfstools
Dominika,

pfshdrcalibrate has changed quite a bit since the tutorial was written. I would recommend that you check the manual page for pfshdrcalibrate.

pfshdrcalibrate will always produce an image and pass it to stdout, so you want to add to the command " | pfsview" or the redirection " >/dev/null"

The weighting function has changed. Since the code is available, you can replace the weighting function with whatever you need. 

Rafal
Reply all
Reply to author
Forward
0 new messages