Being a somewhat delicate topic that could lead to some ambiguities, it is advisable to dedicate a section to how transformations between images are practically applied.
Let be a generic bijective transformation
| (1.87) |
| (1.88) |
Since images are not continuous but quantized into pixels, the transformation cannot be used directly in real applications, as it may either leave gaps in the second image or project the same point of the first image multiple times. For these reasons, when an image is processed, we always work with the inverse transformation
which, for every point of the destination image
, returns the point of the source image
from which to extract the color, that is:
It is clear that the source image is also composed of pixels, but the knowledge of the point allows for the straightforward use of techniques such as linear interpolation to derive the pixel value.
If the function is very complicated and the same transformation needs to be applied to multiple images, to save computational time, one can create a Look Up Table (LUT) of elements
as large as the destination image, where the result of the transformation (1.89) is stored for each element.
Paolo medici