Ultrasound slice is not aligned with reconstructed volume

Thank you Andras for your help, I tried to solve the problems in different ways before publish some stupid thing:

  1. I tried the matrix transformation solution to pass from RAS to LPS system, it worked really well. I tried also to: “change the Plus configuration file to reconstruct in LPS coordinate system”. But I thing, I am changing the wrong file.
    I suppose the plus configuration file, is the xml that I give as parameter of reconstruction. I define the transformation ReferenceToReference2. And I reconstruct the volume, but it does not to nothing.
    image

  2. I changed ImageToReferenceTransformations in the .mha file, one by one, and it worked!!! Thanks for the idea.
    I couldn’t make work reconstruction changing the parameter “ `image-to-reference-transform="ReferenceToReference3”, Plus volumeReconstruction says:
    image
    image

  3. I did not explain well. I did the step by step of the video, but I don’t find the way to print the probe.stl on realtime over my tracked images, I don’t need to simulate images, I have them already. If it is possible, could someone redirect me to the documentation, please? I’am sorry.

  4. “NEW ISSUE”: Images from my MHA file are charged as LIFO:
    image
    I extract the first image from my mha file, and I plot it with pyplot and they are good. Tracking Transforms matrices are created, taking as reference, the up-left corner.
    When I upload the images from my mha file in slicer I’m pretty sure they are charged as LIFO, so the bottom-rigth corner becomes the top-left corner.
    image
    I do not just need to flip it in the slicer-view (I did it), because in the 3dspaceview they are not flipped soo tracking and reconstruction is not well done.
    4.a I try changing the .mha parameter AnatomicalOrientation = RAI to RAS, TO LPS, etc. It didn’t work.
    I don’t want to save the images in the .mha as LIFO to be readed well, but if it is the only option I will do it.

Thank you and nice day.