내가 다음 코드를 사용하여 이미지의 특정 위치에 검소한 연산자를 적용하려고 addWeighted addWeighted가 실행됩니다.OpenCV의은 - - 입력 인수의 크기가 일치하지 않습니다
OpenCV Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array') in arithm_op, file C:\OpenCV2.3\ opencv\modules\core\src\arithm.cpp, line 1227 terminate called after throwing an instance of 'cv::Exception' what(): C:\OpenCV2.3\opencv\modules\core\src\arithm.cpp:1227: error: (-209) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function arithm_op
문제점의 원인을 알려주십시오. 나는 오랫동안이 일에 매달 렸습니다 ...
고마워요.
특히 어떤 줄로 오류가 발생합니까? - 걱정하지 마라, 나는 그것이'addWeighted'라고 본다. –
@ mathematical.coffee addWeighted, 질문을 편집했습니다. 감사. – mrcaramori