First time here? Check out the FAQ!

Ask Your Question
1

from matlab to c++

asked Feb 2 '13

marwa allam gravatar image

excuse me, i have some code i was working on in matlab language and i want to convert it to c++ to easily use opencv 2.4.3. can any one advice me the best way to do that or if there any special technique to follow

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Feb 15 '13

Mahdi gravatar image

Hi,
There is not a specific technique for this! You should get your hands dirty in the job!:)

Some Advice for starting:

  1. Get familiar with essential structures in OpenCV: Mat, Point,... and their functions and element accessing techniques while using Mat.
  2. Learn basic image and video i/o in OpenCV: imread, imwrite and VideoCapture class.
  3. There are a lot of image operation that is used widely, like filtering. So take a look at similar ways for doing them in Opencv. OpenCV has nice functions for ease of use.
  4. I recommend to go over OpenCV tutorial. It is nicely written and explained examples line by line!
  5. At last use OpenCV document a lot! It is well-ordered and in my opinion it is one of the richest references a library could have!
Preview: (hide)

Comments

thanks for reply . and for your advice we will make sure to use it in our project

marwa allam gravatar imagemarwa allam (Mar 11 '13)edit

Question Tools

Stats

Asked: Feb 2 '13

Seen: 523 times

Last updated: Feb 15 '13