Tutorial 15: question about projection

29 views
Skip to first unread message

Maia R.

unread,
Apr 30, 2021, 1:19:20 PM4/30/21
to scalismo
Dear community,
I am working on https://scalismo.org/docs/tutorials/tutorial15 and I tried to apply with dense point correspondence for model fitting similar to https://scalismo.org/docs/tutorials/tutorial11.

I was wondering if it is possible (and how) to apply projection such as in parametric, non-rigid registration (https://scalismo.org/docs/tutorials/tutorial12) for non-rigid icp-based registration (shape+pose):
=======
val registrationTransformation = transformationSpace.transformationForParameters(registrationResult.parameters)
val fittedMesh = referenceMesh.transform(registrationTransformation)

val targetMeshOperations = targetMesh.operations
val projection = (pt: Point[_3D]) => {
targetMeshOperations.closestPointOnSurface(pt).point
}

val finalTransformation = registrationTransformation.andThen(projection)

val projectedMesh = referenceMesh.transform(finalTransformation)
val resultGroup = ui.createGroup("result")
val projectionView = ui.show(resultGroup, projectedMesh, "projection")
======
or ICP-based techniques should not use such a projection ?

Thank you,
Best regards

Reply all
Reply to author
Forward
0 new messages