| CG | [Center of Gravity] |
| CENT PH | [Center image/volume using phase approximation] |
| SH | [Shift - using bilinear/trilinear interpolation ||] |
[For images this operation can return up to four optional register variables:
| Variable | Example | Receives |
| First | [x] | Integer approximation of X center of gravity |
| Second | [y] | Integer approximation of Y center of gravity |
| Third | [xr] | Sub-pixel X center of gravity |
| Fourth | [yr] | Sub-pixel Y center of gravity |
[For volumes this operation can return up to six optional register variables:
| Variable | Example | Receives |
| First | [x] | Integer approximation of X center of gravity |
| Second | [y] | Integer approximation of X center of gravity |
| Third | [z] | Integer approximation of Z center of gravity |
| Fourth | [xr] | Sub-pixel X center of gravity |
| Fifth | [yr] | Sub-pixel Y center of gravity |
| Sixth | [zr] | Sub-pixel Z center of gravity |
.INPUT FILE: FIL001
[Enter name of image/volume.]
NOTES