zarquon42b / RvtkStatismo

Interface between R and Statismo (using VTK)
9 stars 4 forks source link

Restricting a SSM to + or - 1 or 2 standard deviations from the mean? #7

Closed greglahsal21 closed 5 years ago

greglahsal21 commented 5 years ago

How would you go about retrieving a model from a SSM that represents the models displacement 1 or 2 standard deviations from the mean shape and controlling whether it is + or - the standard deviation(s).

zarquon42b commented 5 years ago
DrawSample(mymodel,-2) ## -2sd of 1st PC
DrawSample(mymodel,c(0,2)) # +2sd of 2nd PC
DrawSample(mymodel,c(0,0,3)) # +3sd of 3rd PC
etc..