This merge pulls in major changes to the workflow for processing images.
a low quality half resolution preview type image is loaded in with openImageFile()
the raw object self.raw_base is NOT closed at the end of this function
openImageFile() cannot (currently) open non-raw formats any longer.
if necessary this functionality can be re-added but it'll take some planning
The low quality image is passed to the cnn's first in post processing. Which in turn derives average white values and the color checker location.
The details derived from the cnn are passed to the new function: apply_corrections() which performs post processing on the existing self.raw_base . This time the parameters used in post processing are for high quality and based on the information derived from the low quality image.
thereforeapply_corrections() is now performing white balance AND image orientation related rotations.
self.raw_base is closed after the apply_corrections() function.
This merge pulls in major changes to the workflow for processing images.
openImageFile()
self.raw_base
is NOT closed at the end of this functionopenImageFile()
cannot (currently) open non-raw formats any longer.apply_corrections()
which performs post processing on the existingself.raw_base
. This time the parameters used in post processing are for high quality and based on the information derived from the low quality image.apply_corrections()
is now performing white balance AND image orientation related rotations.self.raw_base
is closed after theapply_corrections()
function.