Skip to content

Remote Sensing Image Segmentation using OpenMMLab Semantic Segmentation Toolbox and Benchmark.

License

Notifications You must be signed in to change notification settings

fanxin-cug/mmsegmentation-cloud

 
 

Repository files navigation

RSI segmentation using OpenMMLab Semantic Segmentation Toolbox

This is an implementaion for Remote Sensing Image (RSI) segmentation using OpenMMLab Semantic Segmentation Toolbox and Benchmark.

MMSegmentation is an open source semantic segmentation library based on PyTorch. It is a part of the OpenMMLab project.

Introduction

We developed a dataset for quality tagging the Chinese Gaofen-1/6 (GF-1/6) satellite WFV images. It aims to achieve the requirements of the "Analysis Ready Data (ARD) Technology Research for Domestic Satellites" project and resolve the lack of Chinese satellite quality tagging data products. Finally, we give a complete GF-1/6 satellite quality tagging algorithm flow using Swin Transformer. And the data product specification is also provided.

The RGB sample images of Landsat-8, Sentinel-2, and GF-1/6 produced using our fixed mapping transformation have high similarity in spectral features and are difficult to distinguish visually. Based on this similarity of sample images, a model trained on Landsat-8/Sentinel-2 data can be transferred to produce the GF-1/6 quality tagging standard data products directly.

Our customized dataset produced high-precision quality tagging labels by Landsat-8/Sentinel-2 TOA data using the new version of Fmask, combined with a small number of manual selecting and quality corrections (Manual refinement).

dataset image

The sample label is a single-band PNG format image with a pixel size of 512×512, the same as sample image. The label contains six categories: land, water, cloud shadow, snow, cloud, and fill value.

dataset image

Our customized dataset

Below are some typical images in our customized dataset. And two subsets of the dataset can be downloaded now from the following links.

2k Sample

https://drive.google.com/file/d/1Fj_b79ZK8KueRo2c0vA33gKHjrTMHnH9/view?usp=share_link

5k Sample

https://drive.google.com/file/d/1eGhQdbEML570jL9q2Ob057N8HVCYSw6F/view?usp=share_link

Example images

(1) Cloud and cloud shadow

dataset image dataset image dataset image

(2) Snow

dataset image dataset image

mmsegmentation README

English | 简体中文

Introduction

MMSegmentation is an open source semantic segmentation library based on PyTorch. It is a part of the OpenMMLab project.

The master branch works with PyTorch 1.5+.

demo image

Major features
  • Unified Benchmark

    We provide a unified benchmark toolbox for various semantic segmentation methods.

  • Modular Design

    We decompose the semantic segmentation framework into different components and one can easily construct a customized semantic segmentation framework by combining different modules.

  • Support of multiple methods out of box

    The toolbox directly supports popular and contemporary semantic segmentation frameworks, e.g. PSPNet, DeepLabV3, PSANet, DeepLabV3+, etc.

  • High efficiency

    The training speed is faster than or comparable to other codebases.

What's New

💎 Stable version

v0.30.0 was released on 01/11/2023:

  • Add 'Projects/' folder, and the first example project
  • Support Delving into High-Quality Synthetic Face Occlusion Segmentation Datasets

Please refer to changelog.md for details and release history.

🌟 Preview of 1.x version

A brand new version of MMSegmentation v1.0.0rc3 was released in 12/31/2022:

  • Unifies interfaces of all components based on MMEngine.
  • Faster training and testing speed with complete support of mixed precision training.
  • Refactored and more flexible architecture.

Find more new features in 1.x branch. Issues and PRs are welcome!

Installation

Please refer to get_started.md for installation and dataset_prepare.md for dataset preparation.

Get Started

Please see train.md and inference.md for the basic usage of MMSegmentation. There are also tutorials for:

A Colab tutorial is also provided. You may preview the notebook here or directly run on Colab.

Benchmark and model zoo

Results and models are available in the model zoo.

Supported backbones:

Supported methods:

Supported datasets:

FAQ

Please refer to FAQ for frequently asked questions.

Contributing

We appreciate all contributions to improve MMSegmentation. Please refer to CONTRIBUTING.md for the contributing guideline.

Acknowledgement

MMSegmentation is an open source project that welcome any contribution and feedback. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible as well as standardized toolkit to reimplement existing methods and develop their own new semantic segmentation methods.

Citation

If you find this project useful in your research, please consider cite:

@misc{mmseg2020,
    title={{MMSegmentation}: OpenMMLab Semantic Segmentation Toolbox and Benchmark},
    author={MMSegmentation Contributors},
    howpublished = {\url{https://github.com/open-mmlab/mmsegmentation}},
    year={2020}
}

License

MMSegmentation is released under the Apache 2.0 license, while some specific features in this library are with other licenses. Please refer to LICENSES.md for the careful check, if you are using our code for commercial matters.

Projects in OpenMMLab

  • MMCV: OpenMMLab foundational library for computer vision.
  • MIM: MIM installs OpenMMLab packages.
  • MMClassification: OpenMMLab image classification toolbox and benchmark.
  • MMDetection: OpenMMLab detection toolbox and benchmark.
  • MMDetection3D: OpenMMLab's next-generation platform for general 3D object detection.
  • MMYOLO: OpenMMLab YOLO series toolbox and benchmark.
  • MMRotate: OpenMMLab rotated object detection toolbox and benchmark.
  • MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
  • MMOCR: OpenMMLab text detection, recognition, and understanding toolbox.
  • MMPose: OpenMMLab pose estimation toolbox and benchmark.
  • MMHuman3D: OpenMMLab 3D human parametric model toolbox and benchmark.
  • MMSelfSup: OpenMMLab self-supervised learning toolbox and benchmark.
  • MMRazor: OpenMMLab model compression toolbox and benchmark.
  • MMFewShot: OpenMMLab fewshot learning toolbox and benchmark.
  • MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
  • MMTracking: OpenMMLab video perception toolbox and benchmark.
  • MMFlow: OpenMMLab optical flow toolbox and benchmark.
  • MMEditing: OpenMMLab image and video editing toolbox.
  • MMGeneration: OpenMMLab image and video generative models toolbox.
  • MMDeploy: OpenMMLab Model Deployment Framework.

About

Remote Sensing Image Segmentation using OpenMMLab Semantic Segmentation Toolbox and Benchmark.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 98.9%
  • Other 1.1%