Learn R Programming

retistruct (version 0.5.9)

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 class 'image.reconstructedOutline':
transform(r)

Arguments

r
reconstructedOutline object

Value

  • reconstructedOutline object with extra elements
  • imsCoordinates of corners of pixes in spherical coordinates
  • immaskMask matrix with same dimensions as image im