CemrgApp icon indicating copy to clipboard operation
CemrgApp copied to clipboard

Extracted surface mesh from segmentation has a hole

Open alonsoJASL opened this issue 4 years ago • 0 comments

Prerequisites

Description

In cases where the segmentation reaches an edge of the image, the resulting surface comes with a hole. This has occurred in the scar plugin where a surface mesh is generated from a segmentation.

Proposed solution

I have implemented in branch feature/plugin/atrialfibres on bb3bcee a solution which pads the images with two voxels of zeros at the moment of converting to Nifti (CemrgCommonUtils::ConvertToNifti). This has been tested successfully in a couple of cases.

The question here would be whether this should be the case for absolutely every image that goes through CemrgCommonUtils::ConvertToNifti. Thoughts @OrodRazeghi ?

´´´

alonsoJASL avatar Apr 21 '21 11:04 alonsoJASL