Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Getting RGB images from EuroSAT #396

Closed
Pangoraw opened this issue Feb 14, 2022 · 2 comments · Fixed by #397
Closed

Getting RGB images from EuroSAT #396

Pangoraw opened this issue Feb 14, 2022 · 2 comments · Fixed by #397
Labels
datasets Geospatial or benchmark datasets
Milestone

Comments

@Pangoraw
Copy link

Pangoraw commented Feb 14, 2022

Hi!

In some datasets, it seems the bands can be selected when constructing but this not the case for EuroSAT. How can one get the normalized RGB images (similar to eurosat/rgb version in tensorflow_datasets) ?

@Pangoraw
Copy link
Author

From the plotting code, I can do:

img = eurosat[0]["image"]
(img[[3,2,1],:,:] / 3000).clip(0., 1.)

But this can still be nice to have the RGB version

@adamjstewart adamjstewart added the datasets Geospatial or benchmark datasets label Feb 14, 2022
@adamjstewart
Copy link
Collaborator

Related to #289, @nilsleh might be interested in this

@adamjstewart adamjstewart added this to the 0.3.0 milestone Mar 19, 2022
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2022
@adamjstewart adamjstewart converted this issue into discussion #592 Jun 18, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
datasets Geospatial or benchmark datasets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants