SmallImage 2.4

  1. Small Image 2.4 Software
  2. Small Image 2.4 0

So I am trying to extract a 16x16 patch from the centre of an image and paste it into some random location in the same image and display it. Here is the code I wrote for the same:

SmallImage 2.4 is a smart PNG and JPEG compression tool. Optimize your images with a perfect balance in quality and file size. Uses smart lossy compression techniques to reduce the file size of your PNG files.

However this fails to run with the following error:

OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /build/opencv-92Ozt2/opencv-2.4.9.1+dfsg/modules/highgui/src/window.cpp, line 269terminate called after throwing an instance of 'cv::Exception' what(): /build/opencv-92Ozt2/opencv-2.4.9.1+dfsg/modules/highgui/src/window.cpp:269: error: (-215) size.width>0 && size.height>0 in function imshow

Where have I mistaken?Thanks.

Small Image 2.4 Software

editretagflag offensivereopenmergedelete

Small Image 2.4 0

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2017-08-24 03:34:53.434566

Comments

Small image 2.4 engine

in opencv 3.1 there is no bug (if img is not empty, check it). After calling function patchPase result and img are identical.

OpenCV 2.4.9.1 is ancient and full of bugs compared to recent editions. Please avoid using it!