invsubtract
There are 2 forms of this command.
invsubtract(image, parameter image, allow broadcast)
Subtracts two images in inverse order, and places output to the first image. In other words, first image = second image - first image. The operation is performed using saturation arithmetic.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.
Arguments
image [input & output]
Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image
Image to process.
parameter image [input]
Data type: uint8 image, uint16 image, uint32 image, uint64 image, float32 image, int8 image, int16 image, int32 image, int64 image, complex32 image
Parameter image.
allow broadcast [input]
Data type: boolean
Default value: False
Set to true to allow size of parameter image differ from size of input image. If there is a need to access pixel outside of parameter image, the nearest value inside the image is taken instead. If set to false, dimensions of input and parameter images must be equal. If set to true, the parameter image is always loaded in its entirety in distributed processing mode.
invsubtract(image, x)
Subtracts the first image from a constant, and places the result to the first image. The operation is performed using saturation arithmetic.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.
Arguments
image [input & output]
Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image
Image to process.
x [input]
Data type: real
Constant from which the image is subtracted.