plotting RGB image of the entire Sentinel2 TILE #1599
-
the Sentinel2 dataset can render the RGB image of a single sample. at that point the sample already contains pytorch tensors of a piece of the entire Sentinel2 TILE. we would like to render the RGB image of the entire TILE, once before the actual training starts. is there a way in TorchGeo for that? thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Our |
Beta Was this translation helpful? Give feedback.
-
ok. see working code using the Dataset and PreChippedGeoSampler.
|
Beta Was this translation helpful? Give feedback.
Our
dataset.plot
methods can only accept a sample as input. You could set the size to be the size of an entire tile if you want. You'll likely need to downsample the resolution, otherwise the image is too large to plot.