Project-MONAI / Project-MONAI/monai-deploy-app-sdk

[FEA] A graphical debugger for image loader

Open
#160 10 comments 2 reactions 2 assignees View on GitHub

@MMelQin is already working on this.

Since Oct 6, 2021.

enhancement
Dominant language
Python
Stars
138
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
This feature request is related to the debugging the input data loader in a meaningful and tractable manner.

Describe the solution you'd like
As monai uses a suite of data loaders and applies the transformations before feeding the data to the neural network. It is also important to check if the data preprocessing is correct. As of now what we do is that we will write a few lines of code between our transformations and save the image as a nifty or a .png image to make. However, this is not an efficient practice.

A good solution would be, if there is a debug flag which can be flipped to plot the input data along with all the transformations in a single image. Something like this.

Screenshot from 2021-10-06 18-15-02

In such a manner the whole input pipeline can be visually debugged in one step.

Describe alternatives you've considered
There are some alternatives that exist for example Tensorboard. But Tensorboard doesn't provide a timeline of images processing. This might not be such a big problem when it comes to regular computer vision images, but it is really important in medical imaging.

Additional context
Maintaining a visual history of image processing (transformations) applied before inference should be useful for radiologist while interpreting the results. It will also have a visual appeal for debugging purposes for developers. I can work on it.

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.