opencv-cvFloor返回不大于参数的最大整数值

opencv-cvFloor返回不大于参数的最大整数值

#include<opencv2/opencv.hpp>
#include<iostream>
#include  <vector>


int main(int argc, char** argv) {

    std::cout << "cvFloor(3.7) = " << cvFloor(3.7) << std::endl;
    std::cout << "cvFloor(3.2) = " << cvFloor(3.2) << std::endl;
    std::cout << "cvFloor(-3.7) = " << cvFloor(-3.7) << std::endl;
    std::cout << "cvFloor(-3.2) = " << cvFloor(-3.2) << std::endl;
    //返回不大于参数的最大整数值
    


    cv::waitKey(0);
    return 0;
}

opencv-cvFloor返回不大于参数的最大整数值

 

 

opencv-cvFloor返回不大于参数的最大整数值

上一篇:JavaWeb入门——HTTP协议(笔记)


下一篇:利用pipe实现兄弟进程之间的通信