PROCESSIMAGES Procedure

MUTATIONSPECIFIC Statement

  • MUTATIONSPECIFIC <options>;

The MUTATIONSPECIFIC statement enables you to apply various image augmentation techniques to each image in the input data table. For more information about this statement, see the section MUTATIONSPECIFIC.

You can specify the following options:

ANGLE=variable

specifies the name of the variable that contains the rotation angle in degrees for a ROTATE_LEFT or ROTATE_RIGHT mutation type.

By default, ANGLE=_angle_.

B=number

specifies a constant value for the blue channel.

By default, B=0.

G=number

specifies a constant value for the green channel.

By default, G=0.

GAMMA=variable

specifies the name of the variable that contains the gamma values for a LIGHTEN or DARKEN mutation type. The gamma values must range from 0.001 to 1,000 and must be greater than 1 when TYPE=LIGHTEN and less than 1 when TYPE=DARKEN. For LIGHTEN, if you specify a value less than 1, the image is processed by using a gamma value of 2.5. If you specify a value greater than 1,000, the image is processed by using a gamma value of 1,000. For DARKEN, if you specify a value less than 0.001, the image is processed by using a gamma value of 0.001. If you specify a value greater than 1, the image is processed by using a gamma value of 0.25.

By default, GAMMA=_gamma_.

PADDINGMETHOD=CONSTANT |REFLECT |REFLECT101 |REPLICATE |WRAP

specifies the padding method for a ROTATE_LEFT, ROTATE_RIGHT, or WARP_PERSPECTIVE mutation type.

By default, PADDINGMETHOD=CONSTANT.

R=number

specifies a constant value for the red channel.

By default, R=0.

TYPE=DARKEN |LIGHTEN |ROTATE_LEFT |ROTATE_RIGHT

specifies the mutation type.

By default, TYPE=ROTATE_LEFT.

Last updated: March 26, 2026