Codes for AH-DMSP.zip

Codes of the algorithm can be accessed in the supplementary file and the algorithm is coded by Matlab and C program. AHF.m are the main procedure to calculate AH-DMSP. Global urban dataset are produced by Global_urban.m and its core parts is opened source code which are provided Chang and Lin.Areas of global urban patches are calculated by Recursion.c and only binary file can be inputted and outputted in the procedure (write_binary.m and write_tif.m are designed for converting file format between binary and tiff). ArcGIS and Matplot or Python are exploited to draw figures.