I upgraded to Debian Bookworm which made rawtherapee version 5.9. It has been a few years since I have used rawtherapee and I have forgotten much.
I downloaded a DCP file for my Canon EOS R5. I copied the DCP file and /usr/share/rawtherapee/camconst.json to the ~/.config/rawtherapee directory. I edited the json file to change the white level and clipping. The reason for changing the clipping was to account for IBIS moving the sensor. I chose a value that is often in the exif for the white level.
diff /usr/share/rawtherapee/camconst.json ~/.config/RawTherapee/camconst.json
1219c1219
< "raw_crop" : [ 128, 96, 8224, 5490 ],
---
> "raw_crop" : [ 64, 64, 8352, 5586 ],
1221c1221
< "ranges" : { "white" : 16382 }
---
> "ranges" : { "white" : 14008 }
Some image files seem to work very well and others not at all. I suspect I have done something wrong.
Examples were not keepers, but for learning how to use rawtherapee.
/home/jrm/src/libraw2021dec18/LibRaw-master/bin/dcraw_emu -v -T -6 IMG_4331.CR3
/home/jrm/src/libraw2021dec18/LibRaw-master/bin/dcraw_emu -v -T -6 IMG_4319.CR3