Computer Science/Computer Vision (1) 썸네일형 리스트형 [OpenCV_Lab] Blending two images 두 이미지를 가져와서 입력받은 비율로 blend 하여 윈도우 창으로 출력해보는 실습을 진행했습니다. 아주 간단한 실습입니다. 두 이미지를 합칠 때는 addWeighted() 함수를 사용하여 Linear Blending 합니다. Linear Blending : g(x) = (1 - alpha) * f1(x) + alpha * f2(x) #include #include using namespace cv; using namespace std; int main(int argc, const char * argv[]) { double alpha=0.5; double beta; double input; Mat src1, src2, dst; cout 이전 1 다음