ramp3

Syntax: ramp3(image, block origin)

Fills image with ramp in all three dimensions, i.e. performs img[r] = ||r||_1.

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.

block origin [input]

Data type: 3-component integer vector

Default value: “[0, 0, 0]”

Origin of current calculation block in coordinates of the full image. This argument is used internally in distributed processing. Set to zero in normal usage.

See also

line, capsule, sphere, ellipsoid, set, get, ramp, ramp3