Route calculation between two points

thanks :slight_smile:
we I can calculation the route from example two point with slicer?

How can I do a route calculation in Cartesian coordinates with slicer? Is there a tool for the calculation?

Slicer can compute route between two points on a mesh surface or a network of lines. If your input is an image you need to segment it first. If you wan find route in the centerline then you can use VMTK extension’s centerline extraction module (clicking on “Preview” is enough, no need to run the full computation).

I would like to be able to calculate the vector of the route. For that I have to get the x, y, z values? Where can I read the vectors of these points in the slicer?

Can you tell a bit more about what you would like to achieve?

I would like to invite two segmentation models into slicer and determine the deformation of the two models using the route calculation in Cartesian coordinates. For the route calculation in Cartesian coordinates, I need vectors and angles. I must to set the zero point (3D axis, xyz) on segmentation Modell to calculate from there ?

Now I’m even more confused about what you mean by route calculation. Can you post an annotated screenshot or draw a sketch that explains what you want to achieve?

If you want to spatially align segments by translating/rotating/warping then you can use SegmentRegistration extension.

I post tommoro a picture what i mean with route calulation in the model :slight_smile:

In the picture you can see what I mean with roue calculation.

Do you just want to compute vectors between points?

I want to calculate vectors in Cartesian coordinates. I want to calculate the distance (vector) between the points for example from two models. For this, I must to set the zero point on axis for the first model and calculate the distance to other models from there. The angle calculation is also important, to consider the deformation of the two models.

If I get the vectors and angles from slicer, I can also calculate them with an excel table. For this I need the values in a 3D room.

You can get point coordinates of models using slicer.util.arrayFromModelPoints. VTK has functions for finding closest points, you can also get distances between closest points of two models, etc. If you describe specifically what you want to compute then we can recommend which methods to use.

What the tool Vector to scalar volume does?

Vector to scalar volume module converts a vector volume (each voxel of the volume is a vector) to a scalar volume (each voxel of the volume is a scalar value).

Is this a usefull for catesiche cordination calculation? What is R, A ans S in this Markups?
I dont understand we I get a Vector from this Fiducial marker?

I think S is z-Achse and A is y-Achse and R is x-Achse ?


Why I can not do by markups
List: with create new markupsfiducial as ?


Hello Lassoan, in the new version from Slicer we have no List for markups (see please picture).
I segment all with new Version 4.11. and i can not do markups with old Version.

We I can create markups for two model in new Version 4.11. ?

Thank you for your help.

Best regards