2019-08-10 01:38:56 -0600 | received badge | ● Notable Question (source) |
2018-11-16 12:36:34 -0600 | received badge | ● Popular Question (source) |
2014-07-14 06:18:15 -0600 | commented question | Assertion failed error python I tried both cv2.add and cv2.addWeighted, but I don't get the expected result. In MATLAB, everything works just fine. I will upload the pictures in a few minutes. |
2014-07-14 06:08:30 -0600 | commented question | Assertion failed error python I intended to create the composite of two images using this cv2.merge function. I'm trying to find the best opencv alternative to MATLAB's imfuse() function. |
2014-07-14 06:01:42 -0600 | commented question | Assertion failed error python This is how I initialized the 'img' element :img = cv2.imread(' ',0) and this is how I initialized the filteredImg element: cv2.filter2D(img.astype(np.float32), -1, kernel1). If you say that I called the function incorrectly, then how should I write it ? I'm a beginner, I don't have experience in OpenCV. |
2014-07-14 03:38:01 -0600 | asked a question | Assertion failed error python Hello ! I am trying to merge two images by the following line of code : This is what I'm trying to do (the first picture is 'img', the second one is 'filteredImg' and the third one should be 'mrg'. I've got these results in MATLAB and I'm trying to do the same thing with OpenCV):
When I try to run the script, I get the following error:
How can I solve this problem ? Thanks in advance. |
2014-07-13 09:18:23 -0600 | received badge | ● Editor (source) |
2014-07-13 09:17:07 -0600 | asked a question | Python error while bending two images Hello ! I am trying to bend two images using the addWeighted function. When I try to run the script, I get the following error : 'OpenCV Error: Bad argument (When the input arrays in add/substract/multiply/divide functions have different types, the output array type must be explicitly specified)' This is the line of code : I don't see the problem. If you can, please help me :). |