Model to Model Distance in tubular structure - Intestin wall

Dear Slicer Community,

I am working on a heat map representation of the thickness of colon wall in mice. I Segmented the lumen, the colon wall and the area outside the outer colon wall, and exported the segments to models. Using Model To Model Distance module I got the distance map in a VTK Output File. In the Model to Model Distance module I am using the lumen as Source and the “outside area” as target. The VTK output than has the distance information and a shape of the source model. But I want to show this information on the colon wall. Is it possible to transfer the color coding (I mean the thickness coding) to the model of the colon wall?
The pixel size is too big for the segmentation of the outer and inner surface of the colon wall.

Thank you for your help.

Just seeing this in a rush, a quick idea: can’t you just swap the inputs? Then the reference will be the higher quality colon wall

Thank you Csaba!
Unfortunately no, the colon wall is actually the “gap” between the 2 models… :slight_smile:

Well, transferring the coloring is not possible, at least far from straightforward. How about calculating the difference of the two models you are interested in from the colon model, and combine (e.g. average) the two scalar arrays that you can show in the model of interest?

Dear Csaba,

Thank you for your suggestions. I’ve found the solution, and it turned out to be quite simple. The core issue was my incorrect approach of trying to use the colon wall directly as a tubular structure for measurement.

My corrected workflow is as follows:

I used the combined segmentation of the colon wall and lumen and performed oversampling of the segment.

I then applied the hollow function (using the segment as the inside surface) on this segment.

This generated a thin layer surrounding the external surface of the colon wall.

Finally, I exported this newly generated layer, along with the lumen segmentation to models, and used them as inputs for the Model To Model Distance module.

This process successfully produced the distance map on the colon wall.

1 Like

OK, great that you found a solution! I think we could have reached this (or another good) conclusion much faster if you had provided screenshots etc. Only based on short descriptions we are kind of shooting around in the dark… Just saying this for next time :slight_smile:

1 Like