Calculate the Sum of the nightlights data from TIFF images
Updated 20 Jan 2019
This program read the nightlights data from the satellite images (TIFF) to calculate the sum of the nightlights inside each geometry polygon and write the results in a CSV file.
I was working on this project during my training in KAPSARC (King Abdullah Petroleum Studies and Research Center).
With my supervisor Hector G. LOPEZ-RUIZ
from May- July 2018.
The two main algorithms that I have used in this program are:
1- [A,x,y,I]=geoimread(filename,varargin) by Aslak Grinsted
from : https://ww2.mathworks.cn/matlabcentral/fileexchange/46904-geoimread
2- insidepoly(gridsX,gridsY,shapeX,shapeY) by Bruno Luong
Reema Alhassan (2023). Calculate the Sum of the nightlights data from TIFF images (https://www.mathworks.com/matlabcentral/fileexchange/70035-calculate-the-sum-of-the-nightlights-data-from-tiff-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
Inspired by: 2D polygon interior detection, geoimread
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.