Zooming problem in ubuntu 14.04 [closed]

asked 2014-08-13 01:30:49 -0600

updated 2014-08-13 01:34:45 -0600

berak gravatar image

Hi guys, i'm a newbie here.I have a problem at my OpenCV. i cannot zoom in the picture to get the color value of each pixel. I have install the OpenCV on my laptop and i got the problem. Then i try to install at my computer then i still got the same problem. I use the new Ubuntu 14.04 version. is it problem / bug from the newest Ubuntu version or something else ? Is there anyone who notice the same problem ? is there a solution for this bug/problem ?

Sorry for my english.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-18 04:20:38.055796

Comments

1

"i cannot zoom in the picture to get the color value of each pixel" - that means ? what are you trying to do ? where's your code ?

berak gravatar imageberak ( 2014-08-13 01:34:21 -0600 )edit

Where you could "zoom in the picture to get color value of each pixel"?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-08-13 02:40:15 -0600 )edit
2

This is normal behaviour. A namedWindow can only zoom in if opencv is build with Qt support. So what you need to do is add -WITH_QT=ON to your CMAKE command when building OpenCV. Keep in mind that this support is not included in the prebuilt openCV installations. Once you have done this you can use the extra QT options to indeed zoom into your image just up to pixel value level.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-13 03:16:41 -0600 )edit