Skip to main content

Helps achieve surface reflectance scale conversion

Project description

ResTransformer-based surface reflectance scale conversion tool

As a critical component of many remote sensing satellites and remote sensing model validation, image scale surface quantitative parameters are often affected by scale effects in the acquisition process, resulting in deviations in the accuracy of image scale parameters. We propose ResTransformer, a deep learning model for scale conversion of surface reflectance combined with UAV images, which can adapt to surface reflectance scale conversion scenarios with different sizes, heterogeneous sample areas and arbitrary sampling methods. The method provides a promising, highly accurate, robust approach for image element-scale surface reflectance scale conversion.

  1. Processing hyperspectral images

from ScaleConvertion.SC import read_tiff

if __name__ == '__main__':
    tiff_path=r"D:\Transformer\test\dat1.tif"
    read_tiff(feature_bands=[[0,8],[8,16],[16,24]],save_dir=r"D:\Transformer\test",tiff_path=tiff_path,sen_alt=[9,9,9,9,9,9])
  1. Processing uav images

from ScaleConvertion.SC import read_tiff, read_png

if __name__ == '__main__':
    tiff_path = r"D:\Transformer\test\dat1.tif"
    img_path = r"G:\UAVPICTURRE\13瑁稿湡-涓婁笢涓嬭タ-H975m-6m-116.JPG"
    save_dir = "tmp"
    read_png(img_path=img_path, save_dir=save_dir, pixel=[2, 4, 8, 10, 20, 30])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ScaleConvertion-0.6.tar.gz (51.9 MB view hashes)

Uploaded Source

Built Distribution

ScaleConvertion-0.6-py3-none-any.whl (51.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page