shootflow: Apply deformetrica registration to a set of 3D points...

Description Usage Arguments Value References

Description

Apply a Deformetrica deformation using calculated momentum vectors and control points (in files MOM_final.txt and CP_final.txt respectively), by calling the executable ShootAndFlow3. This requires installation of Deformetrica version 2.1 or later (preferably in Applications).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
shootflow(x, ...)

## S3 method for class 'neuron'
shootflow(x, ...)

## S3 method for class 'neuronlist'
shootflow(x, ...)

## Default S3 method:
shootflow(x, regdir = system.file("extdata/reg_output/",
  package = "deformetricar"), kernel.width = 5,
  object.type = c("PointCloud", "OrientedPolyLine", "NonOrientedPolyLine",
  "OrientedSurfaceMesh", "NonOrientedSurfaceMesh"), verbose = FALSE, ...)

Arguments

x

object to be transformed (for shootflow.default method an Nx3 matrix of 3D coordinates)

...

additional arguments eventually passed by methods shootflow.default

regdir

Path to directory containing deformetrica registration

kernel.width

the width of the deformation kernel. The larger the more rigid the deformation. The smaller, the more local variations of the space is allowed.

object.type

type of object to be deformed. PointCloud, OrientedPolyLine, NonOrientedPolyLine, OrientedSurfaceMesh and NonOrientedSurfaceMesh

verbose

Whether to show status messages from ShootAndFlow3 command line tool

data.sigma

matching factor. The lower ir is, the tighter the matching.

Value

matrix of the same dimensions as x

References

See http://www.deformetrica.org/?page_id=232 for details of the ShootAndFlow3 command line tool.


alexanderbates/deformetricar documentation built on May 11, 2019, 11:26 p.m.