John Francis wrote:


OK - here's as close to the RAW sensor data as you are likely to get.


<http://panix.com/~johnf/temp/pef1127.jpg>

The only processing done here to go frow raw sensor data to RGB is:

o Fill in missing sample values (average of closest neighbours)



I'm wondering, do you think that the average is very fast, but probably sub-optimal, as it doesn't take into account any 1st & 2nd derivative effects? What do the other mechanisms use, bilinear or bi-cubic, or something else I wonder? Is the matrix designed to be treated as a square, or is there (x,y) information directly annotated or implicit in some fashion?


o Scale the R/G/B values based on what I believe to be the white
balance scaling stored in the raw file by the camera.


John, where is that info in the file, is it a tag, or just some internal field?

o Convert from linear to sRGB colour space.






Reply via email to