Skip To Content

Less Than function

Available with Image Analyst license.

Available with Spatial Analyst license.

Overview

Performs a Relational less-than operation on two inputs on a pixel-by-pixel basis.

Returns a value of 1 for pixels where the first raster is less than the second raster and a value of 0 if it is not less than the second raster.

Learn more about how the Relational math tools work

Less Than (Relational) illustration
InRas1 is less than 2

Notes

Two inputs are necessary for this function to execute.

The order of the inputs is important and affect the output result.

Parameters

Parameter nameDescription

Raster

The input being tested to determine if it is less than the second input.

A constant value can be used as an input for this parameter, provided a raster is specified for the other parameter.

Raster2

The input against which the first input is tested to be less than.

A constant value can be used as an input for this parameter, provided a raster is specified for the other parameter.

Extent Type

Choose which extent should be used in the output raster:

  • First Of—Use the extent of the first input raster to determine the processing extent.

  • Intersection Of—Use the extent of the overlapping pixels to determine the processing extent. This is the default.
  • Union Of—Use the extent of all the rasters to determine the processing extent.
  • Last Of—Use the extent of the last input raster to determine the processing extent.

Cellsize Type

Choose which cell size to use in the output raster. If all the input cell sizes are the same, all the options will yield the same results.

  • First Of—Use the first cell size of the input rasters.
  • Min Of—Use the smallest cell size of all the input rasters.
  • Max Of—Use the largest cell size of all the input rasters. This is the default.
  • Mean Of—Use the mean cell size of all the input rasters.
  • Last Of—Use the last cell size of the input rasters.