Special variables

Special variables allow access to information about the size and georeferencing information of channels being operated on, as well as the position of the current pixel.

The following special variables may be treated as elements in modeling expressions:

Note that @x, @y, @geox and @geoy change value for each pixel processed, while @dbx, @dby, @meterx, @metery, @sizex and @sizey remain constant over the whole image.

It is usually necessary to use the @x and @y special variables when constructing subscript expressions for channel expressions. For example, the following assignment would mirror an image across a vertical center line. The @dbx is used in computing the center line.

  %2 = %1[@dbx-@x+1,@y]

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.