Click here to Skip to main content
15,886,069 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
i'll create GUI in c++ in visual studio 2010 using library opencv.
i'll add button to open the picture and show image, and button to show a text and button to show the histogram 1 windows.

i still don't understand what should i do.
please help me to solve my question.

thanks
Posted
Comments
Nelek 12-Apr-14 15:10pm    
What question? You didn't ask anything. Please read following links:
What have you tried?[^]
How to ask a question?[^]
Some guidelines for posting questions in the forums[^]
[no name] 12-Apr-14 15:11pm    
Instead of posting and reposting this all the time. Why don't you take a step back and realize that we do not know anything about your project. We cannot see your code. We cannot read your mind. Take this most recent posting for example. I see a lot of "i'll", "i'll" but nothing about what you have tried. And nothing about what the problem actually is. How are we supposed to know what it is that you do not understand unless you tell us? Where is your code? We can't see it unless you post it. What is the problem. We don't know unless you tell us. To get an answer to a question, you have to ask a question first. This is not a question nor is it a description of any kind of a problem. First thing people are going to ask you is what have you tried? Followed closely by "so you are using opencv.... did you go read the documentation"?
Richard MacCutchan 12-Apr-14 17:36pm    
Read the documentation. There is no easy way to creating working applications if you do not have a good understanding of the language and libraries that you are trying to use.
Legor 14-Apr-14 4:37am    
OpenCV itself isn't very good at creating GUIs. It's strength lies in the image processing capabilities. I would suggest using a GUI framework like QT to delevop GUIs and let openCV just do the processing.

1 solution

You can do it his way:

http://answers.opencv.org/question/22564/how-to-do-opencv-in-windows-application/#22579[^]

or this way:

http://stackoverflow.com/questions/20138388/using-opencv-2-3-1-with-windows-form-application-in-visual-studio-2010-express[^]

Generally opencv applications use Qt to create GIUI's

http://www.youtube.com/watch?v=0ONxIy8itRA[^]

http://www.asvresearch.com/main/index.php/tutorials/tutorial-2[^]

There is also Emgu CV Video Capture using OpenCV with C#[^]

There is an inexhaustible amount of information about all of this on the web. I just give you this so that you may get started. You need do your own research and choose a path that suits your specific needs.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900