Ask Your Question
1

openCv 1.1 to openCv2.4.3

asked Jan 29 '13

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

Preview: (hide)

3 answers

Sort by » oldest newest most voted
1

answered Jan 30 '13

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.

Preview: (hide)
1

answered Jan 30 '13

Shreya gravatar image

updated Jan 30 '13

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.

Preview: (hide)
0

answered Jan 30 '13

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).

Preview: (hide)

Question Tools

Stats

Asked: Jan 29 '13

Seen: 504 times

Last updated: Jan 30 '13