[general]
name=高解像衛星画像_超解像（CPU版）
qgisMinimumVersion=3.40
description=Super-resolves aerial photographs and satellite images with a resolution of 50 cm ± 20 cm (30-70 cm) by a factor of 4, on the CPU (no GPU required). / 50㎝±20㎝解像度の空中写真、衛星画像を4倍に超解像化します。GPU不要（CPUで動作）、選択範囲は256px四方まで。ファイルと地理院タイル等のXYZ/WMTS/WMSに対応。
version=0.2.5
author=Yuji Kobayashi(orbitalnet, inc.)
email=y-kobayashi@orbitalnet.jp
about=50㎝±20㎝解像度（30㎝～70㎝）の空中写真、衛星画像を4倍に超解像化します。CCSR-v2を蒸留・量子化したCPU専用モデル（1ステップ、軽量VAE、INT8）で、地図上で選んだ正方形の範囲（256px四方まで）を4倍に超解像してGeoTIFFに保存します。8ビットRGB画像に対応します。
    GeoTIFF などのファイルのほか、地理院タイルなどの XYZ／WMTS／WMS レイヤも入力にできます（タイル画像の利用規約に従ってください）。
    Requirements / 必要なもの:
    (1) Python package "onnxruntime" (CPU). The plugin offers to install it with pip on first start; manual install: OSGeo4W Shell (Windows) "python -m pip install --user onnxruntime", macOS "/Applications/QGIS.app/Contents/MacOS/bin/python3 -m pip install --user onnxruntime", Linux "python3 -m pip install --user onnxruntime".
    (2) The model file sr_x4.onnx (about 1.9 GB) is downloaded on first start (internet connection required). The model weights are derived from Stable Diffusion 2.1 base and are licensed under the CreativeML Open RAIL++-M license (use-based restrictions apply); the plugin code is GPL-2.0-or-later.
    Platforms: Windows, Linux and macOS (x86_64 / arm64) wherever onnxruntime wheels are available. Processing time is about 0.5 s per 128 px tile on a recent workstation CPU (256 x 256 px = 9 tiles).
    English: Super-resolves aerial photographs and satellite images with a resolution of 50 cm ± 20 cm (30-70 cm) by a factor of 4. Select a square of up to 256 x 256 px on the map; the plugin writes a GeoTIFF with 4x the resolution. The model was distilled from CCSR-v2 fine-tuned on WorldView-2 imagery.
category=Raster
homepage=https://github.com/Yuji-Kobayashi-orbitalnet/HighRes_Satellite_SuperResolution_CPU
repository=https://github.com/Yuji-Kobayashi-orbitalnet/HighRes_Satellite_SuperResolution_CPU
tracker=https://github.com/Yuji-Kobayashi-orbitalnet/HighRes_Satellite_SuperResolution_CPU/issues
tags=super resolution,satellite,aerial photography,raster,deep learning,onnx,cpu
icon=icon.png
experimental=True
deprecated=False
changelog=0.2.5
    - security scan: no try/except/pass, subprocess calls documented (.bandit, nosec), model checksum moved to core/model_store.py
    0.2.4
    - the tool is a dock panel that stays open while the map is used; it closes only with its close button
    0.2.3
    - fix (macOS): onnxruntime was installed into a different Python than the one checked, and setup did not continue
    - the Python that runs the inference worker is found more reliably (QGIS.app bundle) and onnxruntime is checked in that Python
    0.2.2
    - fix: QGIS closed right after the model download (downloader object deleted twice)
    - a complete earlier download is verified instead of downloaded again
    0.2.1
    - inference runs in a separate worker process (QGIS no longer closes if the inference library fails)
    - onnxruntime is never loaded into the QGIS process; clear message for an outdated Visual C++ runtime
    0.2.0
    - CPU only; no bundled binaries; inference with onnxruntime inside QGIS
    - model (sr_x4.onnx) downloaded on first start and verified with SHA-256
    - XYZ / WMTS / WMS tile layers (e.g. GSI tiles) as input
    - Windows / Linux / macOS
