Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider images with PA view position only in NIH dataset #6

Merged
merged 3 commits into from
Apr 7, 2020

Conversation

mrtj
Copy link
Contributor

@mrtj mrtj commented Apr 7, 2020

The NIH dataset has images with both PA (posteroanterior) and AP (anteroposterior) view positions. The images with different view positions can not be compared directly and mixing them would likely deteriorate any neural net training. Furthermore the NIH_Dataset class returns all images declared having PA position in datasets.py#L251. This PR filters out AP images from this dataset.

@ieee8023 ieee8023 merged commit 8904ed2 into mlmed:master Apr 7, 2020
@ieee8023
Copy link
Member

ieee8023 commented Apr 7, 2020

Thanks! I was planning to add a "views" argument to the constructor to filter for views with a default to views=["PA"] for all the datasets.

@mrtj mrtj deleted the nih_pa_filter branch April 8, 2020 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants