Home > Software engineering >  How to obtain c for Canon cr2 RGB value?
How to obtain c for Canon cr2 RGB value?

Time:10-18

Want to use the c + + for Canon cr2 RGB, python rawpy can be achieved,

 
Rgb_linear=raw. Postprocess (gamma=(1, 1), no_auto_bright=True, output_bps=16)
RGB=raw. Postprocess (no_auto_bright=True, output_bps=16)



But I want to use c + +, is now with libraw library to the image of raw information, but also get less than RGB values, anyone know how to get here

CodePudding user response:

Raw data packet structure is complex, but there are ready-made parsing library
Raw data parsing library - libraw (can parse the camera's raw files of all brands, including Canon cr2 files)
https://blog.csdn.net/Mr_sandman1994/article/details/80896352

CodePudding user response:

Canon CR2 format analysis
https://blog.csdn.net/Mr_sandman1994/article/details/80252971
  • Related