From d69e78d38c009bfda16833bd517dec08f98226dc Mon Sep 17 00:00:00 2001 From: Julio Cesar Contreras Huerta Date: Wed, 23 Oct 2024 17:13:16 +0200 Subject: [PATCH] up --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4b62322..361630f 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,12 @@ isort + + Open In Colab +

+ --- **GitHub**: [https://github.com/IPL-UV/supers2](https://github.com/IPL-UV/supers2) 🌐 @@ -34,14 +38,14 @@ ## **Overview** 📊 -**supers2** is a Python package designed to enhance the spatial resolution of Sentinel-2 satellite images to 2.5 meters using advanced neural network models. It facilitates downloading, preparing, and processing the Sentinel-2 data and applies deep learning models to enhance the spatial resolution of the imagery. +**supers2** is a Python package designed to enhance the spatial resolution of Sentinel-2 satellite images to 2.5 meters using advanced neural network models. It facilitates downloading (cubo package), preparing, and processing the Sentinel-2 data and applies deep learning models to enhance the spatial resolution of the imagery. ## **Installation** ⚙️ Install the latest version from PyPI: ```bash -pip install supers2 +pip install cubo supers2 ``` ## **How to use** 🛠️ @@ -106,9 +110,9 @@ import matplotlib.pyplot as plt # Plot the original and enhanced-resolution images fig, ax = plt.subplots(1, 2, figsize=(10, 5)) -ax[0].imshow(X[[9, 8, 7]].permute(1, 2, 0).cpu().numpy()*2) +ax[0].imshow(X[[2, 1, 0]].permute(1, 2, 0).cpu().numpy()*4) ax[0].set_title("Original S2") -ax[1].imshow(superX[[9, 8, 7]].permute(1, 2, 0).cpu().numpy()*2) +ax[1].imshow(superX[[2, 1, 0]].permute(1, 2, 0).cpu().numpy()*4) ax[1].set_title("Enhanced Resolution S2") plt.show() ```