Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

have a look at the docs, please

Mat projected = new Mat();
// we need a larger result type for sums !
Core.reduce(input, projected, 1, Core.REDUCE_SUM, CvType.CV_32F);

then apply non maximum suppression to find the peaks (or rather, minimum, for black on white !)