PROCESSIMAGES Procedure

SOBEL Statement

  • SOBEL <options>;

The SOBEL statement enables you to calculate image derivatives by using the Sobel operator. For more information about this statement, see the section SOBEL.

You can specify the following options:

DELTA=number

specifies the value that is added to each pixel after the Sobel operator is applied..

By default, DELTA=0.

DX=number

specifies the order of the derivative in the x direction.

DY=number

specifies the order of the derivative in the y direction.

KERNELOPERATION=CONVOLUTION |CROSS_CORRELATION

specifies the kernel operation to be performed by the Sobel filter.

By default, KERNELOPERATION=CONVOLUTION.

KERNELSIZE=number

specifies the size of the square kernel (in pixels) that is used in the image convolution.

By default, KERNELSIZE=3.

SCALE=number

specifies the scale value.

By default, SCALE=1.

Last updated: March 26, 2026