VMTKICPREGISTRATION(1)
π VMTKICPREGISTRATION π
okay bestie, welcome to vmtkicpregistration β it's a User Command from the vmtk fam, and honestly? she's a baddie. π
β¨ NAME β¨
vmtkicpregistration β it's a vmtk script, and the script's name is vmtkicpregistration. that's it, that's the name, periodt. π
πΈ DESCRIPTION πΈ
so, Automatic piping vmtkicpregistration β that's the vibe. and then Parsing options vmtkicpregistration. the script does its lil plumbing thing and then it reads all ur options, slay. β¨
here's the actual tea tho: vmtkicpregistration registers a surface to a reference surface using the ICP algorithm. that's the whole main character moment. π«Ά
the ICP algorithm, if you were wondering, is doing the heavy lifting here. she's iconic, she's employed, she's aligning ur surfaces. no cap.
π Input arguments π
these are the ones u feed in. the inputs. the little snacks for the algorithm. π
-idId (str,1); default=0β the script id. that's her government name fr.-handleSelf (self,1) β a handle to self. self-love, honestly, we stan. πͺ-disabledDisabled (bool,1); default=0β turn this on and u disable execution and piping. it's giving "do not perceive me." π-iSurface (vtkPolyData,1) β THE input surface. the one we're registering. the star of the show. π-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader. so instead of handing over a surface object, u just point at a file and let the reader do its thing. β¨-rReferenceSurface (vtkPolyData,1) β the reference surface. the target. the one we're matching up against. π-rfileReferenceSurfaceInputFileName (str,1) β filename for the default ReferenceSurface reader. same deal, but for the reference. π-distancearrayDistanceArrayName (str,1) β the name of the array where the distance of the input surface to the reference surface has to be stored. π-signeddistancearraySignedDistanceArrayName (str,1) β the name of the array where the signed distance of the input surface to the reference surface is stored. and here's the spicy detail: the distance is positive if the distance vector and the normal to the reference surface have a negative dot product, i.e. if the input surface is outer with respect to the reference surface. math girlies rise. π§-farthresholdFarThreshold (float,1); default=0.0β threshold distance beyond which points are discarded during optimization. bye bye far-away points, u are not invited to the function. π-flipnormalsFlipNormals (bool,1); default=0β flip normals to the reference surface after computing them. a little glow-up for ur normals. β¨-landmarksMaximumNumberOfLandmarks (int,1); default=1000β maximum number of landmarks sampled from the two surfaces for evaluation of the registration metric. a thousand lil guys, all working together, we love a team effort. π«Ά-iterationsMaximumNumberOfIterations (int,1); default=100β maximum number of iterations for the optimization problems. she's persistent, she's committed, she will not give up on u. π₯-maxmeandistanceMaximumMeanDistance (float,1); default=0.01β the convergence threshold based on the maximum mean distance between the two surfaces. once she's this close, she's done, she's satisfied, she's at peace. π-ofileSurfaceOutputFileName (str,1) β filename for the default Surface writer. where the result goes to live its best life. π
π¦ Output arguments π¦
and these are the ones she hands back to u. the gifts. the lil presents. π
-idId (str,1); default=0β the script id. yes she's here too, she's in both lists, she contains multitudes. π-handleSelf (self,1) β handle to self. hello again, bestie. π-oSurface (vtkPolyData,1) β the output surface. THE result. ur registered surface, glowing, radiant, aligned. π-omatrixcoefficientsMatrixCoefficients (float,16); default=Noneβ the output transform matrix coefficients. sixteen of them. a whole squad. π’-omatrix4x4Matrix4x4 (vtkMatrix4x4,1) β the output transform matrix, but make it 4x4, but make it avtkMatrix4x4. iconic. π
ok lowkey important vibe check:-i/-rtake actualvtkPolyDataobjects, while-ifile/-rfiletake filenames and route through the default readers. and-ogives u the surface, while-ofilewrites it out. pick ur fighter, bestie. π«Ά
also:-farthresholddefaults to0.0, which means points beyond that distance get discarded in optimization β so if u set it, know what ur doing, fr fr. π
π SEE ALSO π
there is no SEE ALSO section in this page... but like, go read the rest of the vmtk scripts bestie, they're all somewhere in the manual. iykyk. π
and that's the whole page!! π this is vmtkicpregistration version 1.5, dated April 2026 β so go register some surfaces, stay aligned, and remember: outer means positive. periodt. π
β¨ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms