I’m working on the post processing of a hdr image that I obtained using Photosphere and several LDR images.
Firstly, I applied a mask on the hdr file with pcomb.
Secondly, I used pcompos to crop it and then pfilt to resize it to a 800x800px image.
Thirdly, I applied a vignetting correction by using pcomb again.
After that, I wanted to apply a cosine correction, by using pinterp. However, the cmd keeps telling me “bad view file”. I had a look on the documentation and it appears that pinterp doesn’t work on files that were obtained by pcomb or pcompos.
So there is my question : how can I apply a cosine correction after using pcompos and pcomb ?
I also tried bypassing pcomb and pcompos by using Matlab, but after that, using getinfo on the output hdr, I lost many information. And pinterp still didnt’ work.
Have you any clue ?
Thanks a lot in advance