• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Bobholamovic/ChangeDetectionToolbox: MATLAB Toolbox for Remote Sensing Change De ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Bobholamovic/ChangeDetectionToolbox

开源软件地址(OpenSource Url):

https://github.com/Bobholamovic/ChangeDetectionToolbox

开源编程语言(OpenSource Language):

MATLAB 97.8%

开源软件介绍(OpenSource Introduction):

MATLAB Toolbox for Remote Sensing Change Detection

This repository includes a MATLAB toolbox for remote sensing change detection (RSCD) wherein several classical methods are implemented. I'm working on building an open-source, end-to-end, and extensible benchmark framework for the convenience of the RSCD research.

Overview

Generally, a typical RSCD process can be divided into four steps, namely image pre-processing, change detection, binarization (thresholding) and accuracy evaluation. Currently, the toolbox is mainly based on the final three steps. For ease of usage and maintenance, the toolbox adopted modular design, which was realized by packages and classes in MATLAB semantics.

  • The Datasets package holds several classes of change detection datasets.
  • Algorithms collects the change detection methods to yield a difference image.
  • ThreAlgs contains 3 common methods for binary segmentation.
  • Metrics groups 6 metrics that are frequently used in researches.

Each of these packages contains replaceable modules and the modules from different packages can be freely combined. It is worth mentioning that the modules for pre-processing and post-processing are still under development.

Dependencies and Environment

The toolbox is developed and tested in MATLAB R2017b.

Getting Started

For a quick start, use detectChange.m. Here are some examples.

[CM, DI] = detectChange('CVA', {}, 'KMeans', {}, 'data/2000TM', 'data/2003TM')

[CM, DI, results] = detectChange('MAD', {}, 'OTSU', {}, '2000TM.tif', '2003TM.tif', 'gt.png', {'AUC', 'UA'}, {{}, {}})

See the usage of detectChange.m by

help detectChange

Alternatively, try

cd UI
run guiCD.m

to enable the visual interface.

To try full functionality, find the main script main.m in the root directory of this repo, and follow the three steps below:

Step 1

First, check and set the global configurations. They are in the beginning of the script and most of them are about logging and visualization settings. So feel free to fiddle. See the comment to understand what an option will do.

Step 2

Second, select the modules you would like to use by specifying their names in quotes. The names have to be valid and exact, which means that a name ought to be taken from the Name column of the Available Lists. For the METRICS, put any number of items in a cell array. An example is here:

ALG = 'MAD'
DATASET = 'TaizhouDataset'
THRE_ALG = 'KMeans'
METRICS = {'OA', 'UA', 'Recall', 'FMeasure', 'AUC', 'Kappa'}

Then, type the arguments by assigning cell arrays to CONFIG_*. The assignment statements have to be there even if no argument is expected. Otherwise, it wil raise an error. For the zero-argument case, just leave the cell empty. Note that for CONFIG_DATASET, a path string that directs to the root directory of the dataset is always required. For CONFIG_METRICS, the arguments of each CDMetric module should be specified in separated sub-cells. And the number of the nested cells matches the length of MRTRICS. See this example:

CONFIG_ALG = {1, 2};
CONFIG_DATASET = {'E:\\Mydataset'};
CONFIG_THRE_ALG = {};
% MRTRICS = {'A', 'B', 'C'}
CONFIG_METRICS = {{'a'}, {}, {}};

Step 3

Run the code


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap