points_from_roi {LOMAR}R Documentation

points_from_roi

Description

Extract points within given bounding box. Points are translated so that (0,0,0) correspond to the bounding box corner defined by roi['min',c('x','y','z')]

Usage

points_from_roi(points, roi)

Arguments

points

a point set as a data frame of coordinates with columns x,y,z.

roi

a data frame with columns x,y,z and rows min and max defining a bounding box

Value

a data frame with same columns as input


[Package LOMAR version 0.4.0 Index]