I am doing some experiment with Raw image processing using two post processing tools:
- Adobe PhotoShop (PS) CS5
- Proprietary Image processing pipeline code.
Data Capture:
I captured some raw images using Nokia-900 in DNG format. This DNG has a Color filter Array data (raw Bayer data) which is extracted and given as input to proprietary code. The proprietary software does not use any Metadata/Exifdata present in the DNG file. Adobe PS takes DNG file as input to process. I want to have comments from experts here about Visual Quality of these two outputs, critical comparison between two based on various factors like - Image Noise, Sharpness (blur), Colour accuracy, Brightness, Contrast, Colour Casts, Chroma Fringing if any, and any other parameter which you can point me to.
I fear the output from my code is inferior to Adobe PS output and want to correct/fix this in whatever way it is possible.
May be Adobe PS is using some extra metadata from the DNG file, or it has superior algorithms to process the image, I would like to understand what exactly is happening here.
Processing Steps:
The steps involved in obtaining the outputs from the two processing pipelines is as follows:
Output from Adobe PS: Load DNG, Colour balance to remove any casts by adjusting the colour temperature slider,then apply Unsharp mask(Amount-100%, Radius-2 pixels,Threshold-65), Noise filter Median(radius-1 pixel),Save processed image as a BMP.
Output from Proprietary: Demosaicing(AHD algorithm),Colour balancing using a colour correction matrix, PErform Auto white balancing using a proprietary algorithm, RGB->YUV colour conversion, Un-sharp masking(proprietary algorithm on Y component alone), Median noise filter on Y,U,V (Standard 3x3 median filter on image), Gamma correction,YUV->RGB colour conversion, save as BMP.
Results:
Below are the two images (They are uploaded here as JPEG). Which is better, and what can be done to improve on the second?
Adobe PS output:
Output from proprietary image processing pipeline: