clip Geotiff image by many polygons

3 views (last 30 days)
Reema Alhassan
Reema Alhassan on 10 Jun 2018
Answered: KSSV on 11 Jun 2018
Hello everyone, I have a geotiff image and a shape file which contains 13 polygons and I need to clip this image based on these polygons and sum the pixels for each polygon
how can I clip it by many polygons?
thank you

Accepted Answer

KSSV
KSSV on 11 Jun 2018
Have a look on inpolygon. This function can give you indices lying inside the closed polygon.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!