Fondazione Bruno Kessler - Technologies of Vision
contains material from
Template Matching Techniques in Computer Vision: Theory and Practice
Roberto Brunelli © 2009 John Wiley & Sons, Ltd
Another way to gain robustness to intensity transformations and small amounts of noise is by means of local image operations transforming intensity values into pseudo intensity values based on local rank information. The transformed values are then insensitive to positive monotone image mappings and can accomodate a small amount of noise as long as noise does not change the relative rank of the intensity values. We consider four different non parametric local transforms based on ordinal information:
All the above transforms are provided by function tm.ordinalTransform with the use of a proper mode selector value (see Figure 5.4. Let us note that, as the transform cannot be computed at the boundary of the image, function tm.ordinalTransform performs an autoframing operation by default: we can prevent it by using autoFrame=FALSE.
|
The neighborhood used for the computation of the local transforms is important for several reasons. The (computational) complexity of the transform depends on the number of points in the neighborhood. In the case of the census transform, the storage requirements for the result scale linearly with the number of points. As the result must be stored as an integer number for efficient use in image comparison tasks, the maximum number of points does not exceed 32 (sometimes 64). The number of points directly affects the dynamic range of the rank transform: the range corresponds to the number of points in the neighborhood, the larger, the more detailed the information provided.
It is possible to keep the number of points in the neighborhood small while increasing their spacing. This operation has a beneficial effect as the relative ordering of the pixel intensity values becomes more stable with increasing spacing: for a given local gradient, the farther apart the pixels, the greater the difference, and the more stable the relative ranking. The phenomenon can be visually appreciated in Figure 5.5
A similar effect can be observed for the census transform (see Figure 5.6).
|