removePointsFromModel: remove a set of point from a statismo shape model

Description Usage Arguments Value Examples

View source: R/removePointsFromModel.r

Description

remove a set of point from a statismo shape model

Usage

1
removePointsFromModel(model, pointind)

Arguments

model

pPCA model

pointind

integer vector indicating which coordinates to remove

Value

returns and updated model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## create a GP model from a mesh and remove the first 1000 coordinates
require(Rvcg)
data(humface)
hummodel <- statismoModelFromRepresenter(humface,GaussianKernel(50,50))
hummodel0 <- removePointsFromModel(hummodel,1:1000)
## Not run: 
require(rgl)
shade3d(DrawSample(hummodel0),col=3)

## End(Not run)

zarquon42b/RvtkStatismo documentation built on May 4, 2019, 9:09 p.m.