to measure the hue shifts of my algorithms, I have exported the pictures in PFM 32 bits encoded in XYZ. Then I need to encode them in Python, meaning I have to import the PFM file. It has a header with the width and height size, but I wonder what the data structure is:
- width, height, channels (stacked layers) ?
- channels, width, height (stacked pixels) ?
Thank you !