Learn R Programming

nat (version 1.8.24)

plot3d.cmtkreg: Plot the domain of a CMTK registration

Description

Plot the domain of a CMTK registration

Usage

# S3 method for cmtkreg
plot3d(x, ...)

Arguments

x

A cmtk registration (the path to the registration folder on disk) or the resulting of reading one in with read.cmtkreg.

...

Additional arguments passed to plot3d

See Also

cmtkreg, read.cmtkreg, plot3d

Examples

Run this code
if (FALSE) {
testdatadir=system.file("tests/testthat/testdata/cmtk", package="nat")
regpath=file.path(testdatadir,'FCWB_JFRC2_01_warp_level-01.list/')
plot3d(cmtkreg(regpath))

# or read registration into memory if you want to work with it
reg=read.cmtkreg(regpath)
# nb calling plot3d.cmtkreg directly (rather than using the generic plot3d) 
# is considered bad style but read.cmtkreg returns a plain list 
# so method dispatch will fail
nat:::plot3d.cmtkreg(reg)
}

Run the code above in your browser using DataLab