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

Refactor image loading code to handle mode file types in a more standardized way #19

Open
ieee8023 opened this issue May 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ieee8023
Copy link
Member

Add a utility function that takes in a path (jpg, png, dcm, etc) and returns a standardized tensor. Most of this code is in the get function on the dataloaders and it should be factored out.

Possibly in a new namespace like xrv.utils.load_img

This will make it very easy to include dcm support and also make tools which load and process images.

@ieee8023 ieee8023 added the enhancement New feature or request label May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant