Ask Your Question

from matlab to c++

asked 2013-02-02 15:23:18 -0500

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-15 13:05:22 -0500

Mahdi gravatar image

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!
edit flag offensive delete link more


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

marwa allam gravatar imagemarwa allam ( 2013-03-11 02:42:58 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-02-02 15:23:18 -0500

Seen: 254 times

Last updated: Feb 15 '13