Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

min and max in opencv

Tags:

c++

opencv

I have a huge amount of points data set. so i want to find min and max values from these points set. now i am using normal for loop for this purpose nice it is working but i want to know posibility to use opencv library since i wish to use this library. so plese any one help me. thanks

like image 303
aki Avatar asked Sep 16 '25 20:09

aki


1 Answers

There are several options. Using OpenCV for this may give you an easy way to use SSE or other partially par

http://docs.opencv.org/search.html?q=minMax&check_keywords=yes&area=default

Some of those can use the GPU to help. Of course, the GPU will only be faster if your data was already in the GPU. Pushing data across the bus onto your video card just for this kind of search would be a net loss.

like image 84
user1714807 Avatar answered Sep 19 '25 05:09

user1714807