Hi,
I don't see anything in OTB that does exactly what you need.
The approach you propose seems the right one. I see two other ways :
Build a new filter using the Sampling framework. You may
re-implement the ThreadedGenerateData() to use your
Hi,
Given an image (raster) and a vector file containing polygons, I need to
compute a series of values for each polygon like the mean of a
particular band of the raster, etc. and then produce a new (or update
the) vector file with new fields. I think these are called zonal
statistics.
It