burkphoto wrote:
A raw file is nothing like a TIF file. It is not a developed image....
A TIF file can have any kind of data structure, that's the point - Tagged Image Format. By using the proper tags I can put any kind of imaging data into the file. Including the data elements coming from a sensor. As a matter of fact, the tags and subtags make that process easier as I can include under various tags all of the extra information that you'll need to process the raw file. Such as the EXIF, the bad pixel table, the white balance value or color temperature, the embedded JPEG image. Under one tag I can put the sensor output data, under a different tag I can put the CMKY The TIF file structure gives me a format to stick all this data in that is standardized. The standard also indicates that for the image tag types all the data needed to decode the file and present it should be within the file (more or less adhered to).
burkphoto wrote:
Each photo site on the sensor is filtered by a red, green, or blue filter. It generates a voltage that is then digitized with an analog-to-digital converter. The photo sites are NOT pixels. Raw files contain no pixels. ...
The photo sites are the pixels, or more accurately wells. Each photo site get converted to a digital value which undergoes quite a bit of processing to be ready for the raw file. The raw data is a tagged element within the file. The partial RGB array in the raw file is an image. If wanted to I could do the mosaic interpolation and generate full RGB values for each pixel and put them in the file without altering the sensor data.
burkphoto wrote:
.... ....
A raw file is somewhat analogous to an exposed, unprocessed, latent image on a piece of color negative film. It has potential far greater than a TIFF or JPEG or any other sort of bitmap image.
I would say its more analogous to a developed negative - potentially greater than any print you can make from it. The chemists who developed the various developers worked out the best way to use each one of them and documented it. The engineers who develop the sensor packages also write down the information needed to successfully develop an image from the delivered data. Since each sensor implementation is unique, the development instructions are also specific to that sensor and fixed.
I think that a lot of confusion results from the fact that normally what you see in a TIF file is uncompressed RGB processed image data. There are many other types of image data in TIF files. The standard ones are:
bilevel
grayscale
palette-color
RGB full-color images
CMYK Images
YCbCr Images
HalftoneHints
Tiled Images
CIE L*a*b* Images
The first 4 are mandatory for baseline (all) TIF files the rest are for extended TIF files. Having multiple images, all of different types in the file is allowed. The most common of those is RBG CMKY dual images for commercial printing. If I want to put my own image format or compression format I can get a private tag from the administrating authority and use it. Standard readers wouldn't be able to read the image, but they would be able to read all the other tags in the file. Later I can get it published and added to the TIF standard.
Lastly, when you look at the NEF file specification the first thing it says is that its TIF format. Speaking of which, Nikon includes everything in the file that you need to render it - but they encrypted some of it to make reverse engineering of their files more challenging. This encryption scheme is also part of the reason why you can't modify a NEF file then save it as a NEF file.. So while I could take a Nikon raw file and edit it the file would have to be saved as a standard TIF file, not a NEF.
Ref:
http://lclevy.free.fr/nef/