Skip to content

Use python to read LUCC tiff file and compare ground-truth and classification value

Notifications You must be signed in to change notification settings

geoochi/LUCC-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

LUCC Compare

Binder

The jupyter file LUCC_compare.ipynb uses gdal and scikit-learn to read the truth value and classification value LUCC tif images and extracts the ValidData part for calculating accuracy, kappa, and classification report.

Case study area is Shenzhen city, with true value refers to ./img/source.tif, classification result refers to ./img/result.tif.

Each tiff file contains land use category value in {1, 2, 3, 4, 5}, with NoData = 0.

About

Use python to read LUCC tiff file and compare ground-truth and classification value

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published