Learn R Programming

retistruct (version 0.5.12)

optimiseMapping: Optimise mapping

Description

Optimise the mapping from the flat outline to the sphere

Usage

optimiseMapping(r, alpha = 4, x0 = 0.5, nu = 1, method = "BFGS",
  plot.3d = FALSE, dev.flat = NA, dev.polar = NA, control = list())

Arguments

r

reconstructedOutline object

alpha

Area penalty scaling coefficient

x0

Area penalty cut-off coefficient

nu

Power to which to raise area

method

Method to pass to optim

plot.3d

If TRUE make a 3D plot in an RGL window

dev.flat

Device handle for plotting flatplot updates to. If NA don't make any flat plots

dev.polar

Device handle for plotting polar plot updates to. If NA don't make any polar plots.

control

Control argument to pass to optim

Value

reconstructedOutline object