getCubeRowFromCoords: Obtain the cube index and cube row of a given image coords.

Description Usage Arguments Value

View source: R/libimgramdisk.R

Description

Calculates where is located the data provided by pixel coordinates. The cube index and the cube row are returned.

Usage

1
getCubeRowFromCoords(Img, Coords)

Arguments

Img

the rMSI object where the data is stored (ramdisk).

Coords

a coordinates vector of spectra to load represented as complex numbers where real part corresponds to X and imaginary to Y.

Value

a list of two vectors of cube index and row index in ff data objects list corresponding to given coords spectra.


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.