min和max在opencv [英] min and max in opencv

查看:702
本文介绍了min和max在opencv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有大量的点数据集。所以我想从这些点设置的最小和最大值。现在我使用正常for循环为此目的好它是工作,但我想知道使用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

推荐答案

在这种情况下不需要OpenCV:它已经在标准库中了( std :: min_element std :: max_element )。

No need for OpenCV in this case: it's already in the standard library (std::min_element and std::max_element).

这篇关于min和max在opencv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆