I would like to ask about the linearization in RAW processing. What does this term "linearization" mean in the theory of RAW-processing ?

  • 1
    Where did you meet this term? Could you also provide us with some context? Is it about software development of RAW processing programs? Is it about image processing in RAW editors? – Dragos Jan 4 '16 at 13:01
  • This paper provides a very good intuition on the need for image linearization hpl.hp.com/techreports/98/HPL-98-187.pdf – Suhail Gupta Nov 28 '19 at 16:40

The sensor output of image sensors are not always linear in nature. To make this non-linear response linear in RAW images(which contain the direct image sensor output), before demosaicing them to RGB from Bayer format(assuming the sensor outputs Bayer CFA images) and any other processing like white-balance adjustment, black level correction etc. Linearization block is used. enter image description here

In case responses are not linearized the other processing blocks will introduce error as they assume the input data to be linear in nature. For example let's take the white-balance adjustment block depicted below pictorially :

enter image description here

Sources : this and this PPT


just google first entry: (http://www.rawdigger.com/node/283)

"There are three disctinct linearization steps.

First one is applying tone decompression, and it is usually performed according to the compression table that is contained in the metadata that accompanies the raw file. Sometimes additional experiments are needed in order to determine what compression is in fact used, as the metadata is missing or not decyphered.

Second step (may be in the same table as the above) is lineraization of the extreme highlights.

The third one is to compensate for the non-linearity in shadows caused by the flare. To perform this step a raw converter must usually rely on user-supplied calibration data, because this type of linearization is strongly dependent on the particular lens sample, and also on some minute details such as the dust in the chamber. In the consumer world, I do not know of any commercial converter that cares to perform this compensation."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.