Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV reduce(), can I use median function?

Hi,

I have used the reduce() function often. From time to time I would like to use the median instead of min, max, avg, or sum. E.g I would need CV_REDUCE_MEDIAN.

I looked in the source code but could not find an easy way to accomplish this.

Can anyone help? Best regards, Auke