Rolling window on image/mapwindow variant

I’m trying to appply a function to a rolling window on an image. If the function returns a primitive value I can use mapwindow. Imagine I’m trying to apply StatsBase.mean. Works fine.

But if I want to apply something that returns a vector of values, say StatsBase.summary, what is the best way to do that in Julia? Ideally, I’d like it to return a vector of images of the mean, median, sd, etc…

I can brute force my way with for loops, but hoping that there’s a better solution. RollingWindowArrays seems not to be what I want.