Fastest way of finding max/min in each row [closed]
I need to find a maximum intensity value in each row of a 640x480 32FC1 image. Is there a faster way than iterating each row separately using parallel_for (cv::ParallelLoopBody)? May I use GPU (via UMat) for that?
Have you try this using a roi ?
minMax uses already opencl. ParallelLoopBody with opencl should be best answer to your problem
Don't forget that first call to minmax using opencl is very slow because opencl code must be compiled
take a look at http://answers.opencv.org/question/68...