Description Usage Arguments Value Examples
View source: R/removePointsFromModel.r
remove a set of point from a statismo shape model
1 | removePointsFromModel(model, pointind)
|
model |
pPCA model |
pointind |
integer vector indicating which coordinates to remove |
returns and updated model
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.