Learn R Programming

retistruct (version 0.5.12)

transform.image.reconstructedOutline: Transform an image into the reconstructed space

Description

Transform an image into the reconstructed space. The four corner coordinates of each pixel are transformed into spherical coordinates and a mask matrix with the same dimensions as im is created. This has TRUE for pixels that should be displayed and FALSE for ones that should not.

Usage

# S3 method for image.reconstructedOutline
transform(r)

Arguments

r

reconstructedOutline object

Value

reconstructedOutline object with extra elements

ims

Coordinates of corners of pixes in spherical coordinates

immask

Mask matrix with same dimensions as image im