PixelPosMat

Declaration: PixelPosMat(var Mat: TDouble2DArray; Mode, CentX, CentY: integer): integer;
Returns the matrix Mat containing the positions of the pixels. The matrix is automatically resized to fit the image size of the data cube. Depending on the parameter Mode the following position values are calculated for each pixel:
0 ... x coordinate only
1 ... y coordinate only
2 ... distance to a center defined by the paramters CentX and CentY


Last Update: 2017-Dez-04