Group rectangles over multiple images
I have multiple slices of a magnetic resonance image. On each slice I run my cascade detector for vertebra. There is a certain number of false positives, but usually in different places on different slices.
Is there a way to group rectangle candidates over multiple images, instead of just over a single 2D image? I mean, without modifying OpenCV source code?