Creates an ROICoords
object from a matrix of coordinates
representing points in 3D space.
Arguments
- coords
A matrix with 3 columns representing (x, y, z) coordinates
Examples
coords <- matrix(c(1,2,3, 4,5,6), ncol=3, byrow=TRUE)
roi_coords <- ROICoords(coords)