Project-MONAI / Project-MONAI/MONAILabel

DeepEdit click based refinement seems to be adding segmentation on wrong side

Open
#1,407 22 comments 0 reactions 1 assignee View on GitHub

@diazandr3s is already working on this.

Since Apr 17, 2023.

Dominant language
Python
Stars
891
Forks
269
Avg merge
15h 41m
Merged PRs (30d)
1

Description

Ive taken the default radiology app and used it to train a deepEdit model to do volumetric MRI pancreas segmentation.

The auto segmentation works well however I am experiencing a strange issue when I try and make click based refinements.

Here is an example. This is the auto segmentation generated by the model:
image
You can see the right side could use further filling in so i add a foreground click in the desired region and the segmentation is updated to give the following:
image

The refinement seems to be based on a click that was defined on the left side when I placed it on the right...

Here is the output when I purposefully define the click on the wrong side:

image

i get the desired output.

I do not experience this issue when making click based refinements on a model trained on the CT spleen dataset downloaded from monai labels example datasets. I have not made any changes to any files other than renaming the labels.

The only explanation i can think of is that my input data is of orientation LAS whereas the CT spleen data is of orientation RAS.
However, i noticed that in the training and infer pre transforms, one of the transforms defined is the orientationD transform which re orientates the volumes to RAS, so this should not cause any issue...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.