- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
if(!vect.empty())
{
cv::sort(vect, vect, CV_SORT_ASCENDING );
}
while(vect.size()>100)
{
cv::sort(vect, vect, CV_SORT_DESCENDING );
vect.pop_back();
cv::sort(vect, vect, CV_SORT_ASCENDING );
vect.pop_back();
}
Abbath 09.10.2014 14:24 # +2
bormand 09.10.2014 15:38 # 0
1024-- 09.10.2014 15:52 # +5
bormand 09.10.2014 15:19 # 0
Dummy00001 09.10.2014 17:26 # +3
Xom94ok 09.10.2014 18:34 # 0
Elvenfighter 09.10.2014 21:25 # 0
blackhearted 13.10.2014 15:32 # 0