Lightning-Universe / lightning-Covid19

Classification for covid-19 chest X-ray images using Lightning
https://pytorchlightning.github.io/lightning-Covid19
MIT License
56 stars 18 forks source link

Bounding Boxes for Lungs #20

Open oplatek opened 4 years ago

oplatek commented 4 years ago

This proposal suggests a principal solution to build a model that will predict Bounding Box (BB) around lungs, artifacts and other well-defined objects on the images.

The COVID19 and other x-ray chest datasets contain chest X-ray images capturing not only Lungs but sometimes also arms, neck, etc. The images also contain text labels and other artifacts.

The advantages:

The disadvantages:

Example images with textual artifacts, "pipes in lungs artifact", the edge of image artifact, .. lungs-artifacts lungs-artifacts2

edgarriba commented 4 years ago

the disadvantages you mention are quite heavy and probably making unfeasible to obtain an solution to the problem. This seems more an unsupervised problem and probably stuff like creating self attention maps could help.

Actually found this interesting post using it already for xray images https://towardsdatascience.com/self-attention-in-computer-vision-2782727021f6

edgarriba commented 4 years ago

@anguelos @ducha-aiki any experience with self-attention ?

ducha-aiki commented 4 years ago

For explanations I'd go for this: https://arxiv.org/abs/2001.08593

For training: https://github.com/sdoria/SimpleSelfAttention