OpenHeartDevelopers / CemrgApp

An Interactive Medical Imaging Platform with Image Processing and Computer Vision Toolkits for Cardiovascular Research.
http://www.cemrgapp.com
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

Add feature to allow 'trial' confirm of 3-Dimensional interpolation of segmentation #27

Closed drsewilliams closed 4 years ago

drsewilliams commented 4 years ago

I think it would be useful to have a way to see what the segmentation is going to look like after applying the 3D segmentation; and have the option of not accepting if further editing is needed.

OrodRazeghi commented 4 years ago

The generated green contours present the segmented region of interest after the 3D interpolation operation, which can be used to evaluate the quality of the segmentation done manually. Also, the OP's requested feature to see the segmentation label already exists in the segmentation view.

By turning off the 3D interpolation option, in fact, the segmented slices can be edited again and once done, a new 3D interpolation can be applied to update the overall segmentation. However, this is only available if the segmentation view has not been closed. The 3D interpolation method does not recognise previously saved/old segmentations, which is unfortunately at the moment a limitation of the MITK platform.

drsewilliams commented 4 years ago

Thanks Orod, I haven't really been accurate in the description. What I mean is to be able to see a trial of the surface that would be created from the segmentation. I know that the green outline shows how the 3D segmentation will look. The surface is sometimes different though. I'm referring to regions e.g. where the veins are close to the body of the LA or the LUPV is close to the LAA.

OrodRazeghi commented 4 years ago

A temporary surface can be created by right clicking on the segmentation node in the data manager and choosing from "create polygon model" or "create smooth polygon model" from the context menu. If needed the segmentation process can be continued and this step can be repeated for better visualisation. The changes in the final surface that sometimes appear in the pipeline are due to the smoothing operations performed on the mesh by the MIRTK toolkit. The GUI box that pops up at the "create surface" step has two inputs for controlling the smoothness of the surface: "Blur" and "Smooth". Blur is applied to the segmentation image directly (usually not needed) and Smooth is performed on the mesh. By decreasing the Smooth value, you will get a closer mesh to the original segmentation.