I am trying to stitch two images taken with different cameras, and for this I want to use RAW. But dcraw_process() and dcraw_make_mem_image() perform some image enhancement operations. Some of the enhancements are dependent on the content of the image, for example the use the histogram of the image to determine the specific enhancement. I try to look in to the documentation but I couldn't differentiate which uses camera information, image information, specific algorithm and so on. How could i categorize the operation based on the above classification.