Giter Site home page Giter Site logo

cvplot's People

Contributors

leovandriel avatar palerikm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cvplot's Issues

converting figure to cv::Mat

@leonardvandriel wow, this is a great addition to c++ plotting!

I'd like to be able to write the figure to an image buffer. Is there a way to plot to a cv::Mat or convert the figure to a Mat?

save plot as image

Hi, is it possible to save the plot as an image.
I could not find any clear example for that.
thanks.

Decouple from GLFW

I really like this library and would like to use it in my project. However, its dependency on GLFW conflicts with the windowing system already being used with another dependency.

I do not see any reason for this coupling - is there a way to simply render figure to an OpenCV image so that I can do what I want with it, without requiring GLFW create window function to be called?

Thanks in advance.

Cannot make with OpenCV 2.4.9

Hi!

I just want to ask which opencv version you code can run on? I use 2.4.9 and get a hundreds of errors when building your project. However, I also believe it 's a great application. Thank you so much for sharing!

Issue with multithreading

I am trying to use cvplot in 2 threads where each of the thread draws separate plots. The problem is that it freezes when view flush or finish is called. It seems like there is a shared component in the view class. Does anyone have the same issue?

PS. Same problem when thread 1 display opencv window and thread 2 try to draw a plot.

demo crashes when run from build folder

make demo works as does running ./bin/demo from the repo root directory. However if I cd to the bin directory and ./demo the program crashes with the error:

OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /home/jason/mysource/opencv/modules/imgproc/src/resize.cpp, line 4044 terminate called after throwing an instance of 'cv::Exception' what(): /home/jason/mysource/opencv/modules/imgproc/src/resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize

Two small windows briefly appear but the larger demo one never does. I will see if I can figure anything out, but help would be great. This is a great project by the way.

set with vector<pair<float, cvplot::Point2>> does not work as expected.

It seems like set function does not handle cvplot::Circle data properly.

    std::vector<std::pair<float, cvplot::Point2>> pole({
      std::pair<float, cvplot::Point2>(5.0f,{X(0),Y(0)})    // Expected usage of set with vector<pair<float, Point2>>
      std::pair<float, cvplot::Point2>(X(0),{Y(0),5.0f})    // The code actually works.  
    });
    figure.series("South Pole")    
    .type(cvplot::Circle)
    .color(cvplot::Red)
    .set( pole);    
    figure.show(false); 

graph saving

Hi,
First of all, really nice project :)
Does it have a way to save plotted graph?

Resize the complete window

  • How can I resize the main window consisting of several subwindows? (see image) Is something like cv::resize available?
  • How can I have two main windows and either draw to window 1 or window 2? Currently I can open two main windows but it will always draw to the first one.

Estimates_screenshot_11 02 2020

Thank you!

hi

this will be a nice contribution if you think to contribute OpenCV library

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.