Forum

Author Topic: 16 bit linear tiff workflow  (Read 3959 times)

mtbouchard

  • Newbie
  • *
  • Posts: 10
    • View Profile
16 bit linear tiff workflow
« on: October 25, 2020, 10:21:42 PM »
Hi Agisoft:

Q: When loading .tif images, does Metashape do any colorspace conversion? Is the resultant UV .tif or exr map in the same colourspace as input?

Detail: We convert CR2/ARW raw into 16 bit linear tifs (using oiiotoo -we color correct as welll). We've noticed the metadata is missing to 'hint' it is linear - so on OSX for example, most viewers default to view as if it were in gamma2.2 space. Also loading into Metashape interactive will also show "dark". We do get good results and make sure to interpret the output .tif as if it were in 16 bit linear. Its not clear how .tif files should be tagged as linear (aside from attaching an ICC profile which is how dcraw seems to work). 

oiiotool command:
oiiotool input_img_path --tocolorspace linear--ociofiletransform <cc_lut> -d uint16 --compression zip -o <output_img_path>

Followup: What is the preferred linear space input to Metashape? It seems 16 bit half-float EXR is not supported?

Followup2: We've noticed we have to copy some of the metadata into the .tif..the Image Size and orientation and this seems to work well.

Thanks as always.
Matt Bouchard