makeboundingbox: Construct a 3D bounding box object

View source: R/im3d.R

makeboundingboxR Documentation

Construct a 3D bounding box object

Description

makeboundingbox explicitly constructs a 3D bounding box from a set of 6 numbers defining the opposite corners of a cube. Most of the time as an end user you will want to compute/get the bounding box of objects/vertices using boundingbox.

Usage

makeboundingbox(x, dims, input = c("boundingbox", "bounds"))

Arguments

x

A vector or matrix specifying a bounding box

dims

The number of voxels in each dimension when x is a BoundingBox matrix.

input

Whether x defines the boundingbox or bounds of the image (see details).

See Also

link{boundingbox}


jefferis/nat documentation built on Feb. 22, 2024, 12:45 p.m.