Since this is a rather delicate topic that could lead to some ambiguity, it is useful to devote a section to how transformations between images are actually applied.
Let be a generic bijective transformation
| (1.128) |
| (1.129) |
Since images are not continuous but quantized into pixels, transformation cannot be used directly in real applications because it could both leave holes in the second image and project the same point from the first image multiple times.
For these reasons, when an image is processed, the inverse transformation
is always used; for each point in the destination image
, it returns the point in the source image
from which the color is sampled, namely:
Clearly, the source image is also composed of pixels, but knowing point makes it straightforward to use techniques such as linear interpolation to determine the pixel value.
If function is very complex and the same transformation is to be applied to multiple images, computational time can be saved by creating a Look-Up Table (LUT) of
elements, with the same size as the destination image, in which the result of transformation (1.130) is stored for each element.
Paolo medici