Systems and methods are provided through which a template in the spatial
domain is generated and combined with an image. Later, the combined image
can be decoded to determine the extent of scaling and or shifting or the
combined image. The template comprises at least one vertical or
horizontal band. The horizontal band(s) determine the extent of scaling
and/or shifting along the vertical axis, and the vertical bands determine
the extent of scaling and/or shifting along the horizontal axis of the
combined image. Using both horizontal and vertical bands enables decoding
of shifting and scaling along both axis, and creates a grid. Each band
specifies a predetermined characteristic of modifying the luminance of
the corresponding pixels of the image. In one alternative, the
modification of the image is performed to the extent that the bands are
invisible to the naked eye.