GithubHelp home page GithubHelp logo

update lib to new c++ interfae about cvblob HOT 5 OPEN

sangwoo3 avatar sangwoo3 commented on August 20, 2024
update lib to new c++ interfae

from cvblob.

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Are you sure that Mat type does not work with cvBlob? Which functions have 
problems?

Anyway, I will research that.

Thanks!

Original comment by [email protected] on 7 Mar 2011 at 6:14

  • Added labels: OpSys-All, Type-Enhancement, Usability
  • Removed labels: Type-Defect

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Yes, type Mat from OpenCv2+ seems to be not supported by the latest stable 
release of CvBlob.
Right now i have this problems:

cannot convert ‘cv::Mat’ to ‘const CvArr*’ for argument ‘1’ to 
‘CvSize cvGetSize(const CvArr*)’
cannot convert ‘cv::Mat’ to ‘const IplImage*’ for argument ‘1’ to 
‘unsigned int cvb::cvLabel(const IplImage*, IplImage*, cvb::CvBlobs&)



Original comment by [email protected] on 24 Apr 2011 at 3:44

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Hi,

Soon I will release a new version of cvBlob, after that I will try to refactor 
the lib to support the new OpenCV C++ interface, changing the cvBlob interface 
as well.

Suggestions and any kind of help will be welcome!

Original comment by [email protected] on 28 Apr 2011 at 7:15

  • Changed state: Accepted

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Actually, to me it's working quite fine with OpenCV2.2. Just explicitly create 
a IplImage header for your cv::Mat and you're good to go. The overhead of that 
operation is marginal.

But indeed, it would be nicer to have the real deal as interface...

Example:
//m_map is a cv::Mat, single channel.

IplImage ipl_map=m_map;

IplImage *labelImg=cvCreateImage(cvSize(ipl_map.width,ipl_map.height), 
IPL_DEPTH_LABEL, 1);

cvb::CvBlobs blobs;
cvb::cvLabel(&ipl_map,labelImg,blobs);

Original comment by [email protected] on 1 Jun 2011 at 2:25

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
Issue 36 has been merged into this issue.

Original comment by [email protected] on 24 Jan 2013 at 9:00

from cvblob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.