what is darktable's PFM data structure ?

(Aurélien Pierre) #1


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 !

(Aurélien Pierre) #2

Well, looking at the RMSE, I think I have my answer (first option).