Ask Your Question
0

How to create ui with multi view?

asked 2013-04-02 08:37:45 -0600

Compo gravatar image

Hi, On visual studio 2012 with opencv 2.4.4

How to create ui with 4 views View 1 : normal vidéo from capture View 2 : grays cale View 3 : gaussian blur View 4 : canny

The view are not. Side to side! Between 2 views there are text with trackbar

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-04-03 03:28:21 -0600

Basically what you are asking does not depend on OpenCV, but on your GUI environment that you are using, like for example winforms.

OpenCV does not provide an easy way to place the namedWindows in a container element on a GUI. Nor does it supply a system to combine multiple namedWindows into a single graphical intertface. This is because the OpenCV library is basically image processing algorithms, not visualization in his main focus.

What you could do is the following:

  • Create a container Mat element that has dimensions of 4 seperate inputs
  • Read in frame, apply the operations on it to receive 4 image outputs
  • Set the region of interest on your container Mat and copy the outputs to it. Do this 4 times by shifting the region of interest.
  • Display the result container in a namedWindow

It all depends on your operation time on the images if you can get this real time or not.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-02 08:37:45 -0600

Seen: 454 times

Last updated: Apr 03 '13