Clip Raster By Polygon

Clips a raster by a polygon and extracts certain statistics

이 제출물을 팔로우합니다

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 (2026). Clip Raster By Polygon (https://kr.mathworks.com/matlabcentral/fileexchange/63855-clip-raster-by-polygon), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Polygonal Shapes에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0