Mirrored CT Scan and 3D Model Issue in Fossil Segmentation

I have been working on the segmentation of a fossil for a while, and now that I have finished segmenting the entire body, I have realized by comparing images of the fossil and the images obtained from the medical scanner that the digital files, including the CT scans and thus the segmentation and 3D models, are mirrored. For example, in the ventral view, the two ischia are presented parallelly such that in photographs of the material and physically, the left ischium is below the right ischium, but in the segmentation, they are reversed, with the left over the right. Another example: the last caudal vertebra is broken, and in the sediment, the fragment is displaced to the right as indicated by both the fossil and the photographs, but in the segmentation, both in the CT scan views and the 3D view, it appears to the left. How can I solve this?

Many thanks in advance,

Jared.

This is a very common problem in research microCT because there is no convention for how to orient the samples, how the slices are reconstructed (is the left of the image is the left side of the specimen or the rights side of the specimen) and more importantly which anatomical (or coordinate) axis the increasing slice numbers describe. This is not a Slicer problem, but a data problem and happens in every 3D imaging software when working with such data.

In SlicerMorph we emphasize that you need to independently verify that you correctly imported the sample by visualizing it in 3D and finding the asymmetrical structure and confirming it by observing the same on the specimen (and if specimen is not available, then by a photograph or something) before you proceed with segmentation or any other process (e.g., landmarking) that will create secondary data from the image data.

Since you already created the segmentation, reimporting the data will not be feasible for you. I suggest creating a linear transform in which the third diagonal element is -1 and then assign both your original volume and segmentation to it. If you can confirm that this indeed fixed your mirroring issue, then you can harden the transforms and save your datasets at that point.

Hello! Thank you very much for your prompt response. I must admit part of the fault for not having paid close attention to the parameters before starting the segmentation. Thank you very much for the advice; it will be useful from now on. Changing the third 1 on the diagonal of the matrix seems to have solved it, but the segmentations in the 3D view appear black. How can I fix that?

You might have to turn on/off the 3D visibility, and retry.

If you can share your scene (as an MRB) with all your data in it, I can try to take alook.

Unfortunately, I still cannot share the information and files until the work is published. However, I can leave these images that describe the behavior. Both are segmentations of the ischia; I have not yet converted them into models. When performing the linear transformation, the preview in the 3D view remains black, even after deactivating and reactivating it. Both images are in ventral view


The problem with mirroring transforms (or any linear transformation with a matrix that has a negative determinant) is that it turns surfaces inside out and so the surface appears black.

If you harden the transform on the segmentation and then recreate the closed surface representation then the coloring should return to normal.

1 Like

Thank you very much for your prompt response. After hardening the files, I was able to see the segments in color again in the 3D view without performing the second step you mentioned. Is it necessary to carry out that step, or can I consider the problem solved? Also, if it is necessary, in which module can I perform that task?

Problem is solved. Just save both of files (i.e., the segmentation and the original volume).

Thank you very much for your help.

Best regards,

Jared.