【AdaBoost算法】積分圖代碼實現

一、積分圖介紹 定義:圖像左上方的像素點值的和; 在Adaboost算法中可用於加速計算Haar或MB-LBP特徵值,如下圖: 二、代碼實現   #include <opencv/highgui.h> #include <opencv/cv.h> #include <opencv2/imgproc/imgproc_c.h> using namespace cv; int calcIntImag
相關文章
相關標籤/搜索