Skip to main content
Solved

Average RGB values of raster within polygon


I have a series of raster files of infrared aerial imagery. I would like to intersect them with a set of polygons in a shapefile and return the average (or frequency) of the RGB channels in the rasters. Could anyone advise if this is possible please?

 

Thanks

Rob

Best answer by nielsgerrits

If I understand what you need, yes this is possible.

  • Readers for the raster and the shape.
  • Clipper to clip the raster.
  • RasterStatisticsCalculator to return the values you need.
  • Writer to output your result.
View original
Did this help you find an answer to your question?

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • June 27, 2022

If I understand what you need, yes this is possible.

  • Readers for the raster and the shape.
  • Clipper to clip the raster.
  • RasterStatisticsCalculator to return the values you need.
  • Writer to output your result.

  • Author
  • June 27, 2022
nielsgerrits wrote:

If I understand what you need, yes this is possible.

  • Readers for the raster and the shape.
  • Clipper to clip the raster.
  • RasterStatisticsCalculator to return the values you need.
  • Writer to output your result.

Many thanks, that work perfectly :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings