read.cmtk: Read CMTK TypedStream file to a list in memory

Description Usage Arguments Details See Also

View source: R/cmtk_io.R


This function is primarily of developer interest. End users will typically want to use more specialised functions for reading registrations and landmarks.


read.cmtk(con, CheckLabel = TRUE)



Path to (optionally gzipped) file or (open) connection.


Check, fix and warn for invalid or duplicate labels (default TRUE)


This is the default format used by CMTK for registration, studylist, landmarks and image files. Although this is largely a generic function, there is special handling of the coefficients and active members of the spline warp component of a CMTK nonrigid registrartion.

Note that if an open connection is passed to read.cmtk the version number of the CMTK TypedStream will not be checked or recorded.

See Also

Other cmtk-io: cmtk.extract_affine(), read.cmtkreg(), write.cmtkreg(), write.cmtk()

nat documentation built on Sept. 6, 2021, 5:09 p.m.