Ask Your Question
1

openCv 1.1 to openCv2.4.3

asked 2013-01-29 13:40:46 -0600

JaySub gravatar image

Hi everyone,

FYI I'm pretty new to openCv.

My team and I a switching from openCv 1.1 to OpenCv2.4.3 and I am asked to uptade the code to make it work with the new library.

Were could I find documentation about which functions is supported, changed or deleted? What should I change to make it fit? I've been seaching for a while now, and the only difference that I found was Mat vs IplImage*.

Thank You

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-01-30 01:40:37 -0600

Michael Burdinov gravatar image

OpenCV 2 has many things that wasn't in OpenCV 1. Mat instead of IplImage is just one them. But format of OpenCV 1 is still part of the interface for competability reasons, so you will need to make minimal changes (if any) in your code when you move to newer version of OpenCV. Of course if you want to use some of new features of OpenCV 2 you will have to use new interface, but those changes can be made gradually in the future.

edit flag offensive delete link more
1

answered 2013-01-29 22:56:52 -0600

Shreya gravatar image

updated 2013-01-29 22:58:18 -0600

Yuo will find latest version of opencv i.e 2.4.3 here : http://docs.opencv.org/. I think latest version is more simple than the old, just the syntax change, You can refer to the documentation and search for modified syntax, The names used to call the function are same just a bit change, for example for Mat function, you need call it as CvMat. Just try and go through the document you will get.

edit flag offensive delete link more
0

answered 2013-01-30 02:38:53 -0600

I suggest your team write new functions based on Mat .If the old code need to use new functions you can cast Iplimage by Mat(iplImg).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-29 13:40:46 -0600

Seen: 491 times

Last updated: Jan 30 '13