Clip Raster By Polygon

Clips a raster by a polygon and extracts certain statistics
ダウンロード: 359
更新 2017/7/24

ライセンスの表示

This code clips a raster data to a polygon and calculates some statistics. Current operations are:
- Aggregate By Area: sum all the pixels within the polygon. Values are multiplied by the overlapping area of the pixel and the polygon.
- Average By Area: averages all the pixels within the polygon. The average is a weighted average based on the overlapping area of the pixel and the polygon
- aggregate: Sum of all the pixels that area within the polygon, even if partially.
- average: averages all the pixels within the area, even if partially.
- Majority: Returns the most frequently occuring value among all the pixels within polygon (even if partially). It uses "mode" function of matlab.

引用

Mohammad Abouali (2024). Clip Raster By Polygon (https://www.mathworks.com/matlabcentral/fileexchange/63855-clip-raster-by-polygon), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersElementary Polygons についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0