Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #28

Open
kvmanohar22 opened this issue Mar 21, 2017 · 10 comments
Open

Roadmap #28

kvmanohar22 opened this issue Mar 21, 2017 · 10 comments

Comments

@kvmanohar22
Copy link
Contributor

As the application process for GSoC has begun, I was wondering what are the top priority modules that are supposed to be wrapped during the course of GSoC timeline. I am looking forward to expand functionalities of OpenCV.jl. Knowing which modules to wrap, I would write my proposal accordingly.

@maxruby
Copy link
Owner

maxruby commented Mar 21, 2017

I will come up with suggestions tonight, but for now, we need to formalize the steps required to have the following immediate issues solved:

  • thorough implementation of cv::Mat_<T> templates and Julia wrappers
  • efficient bidirectional conversion between Julia and OpenCV images
  • properly functioning image processing and display methods

Assuming that these can be wrapped up relatively quickly, there are several specialized modules that you could work further on for your project.

@maxruby
Copy link
Owner

maxruby commented Mar 22, 2017

I think the immediate focus should be

  • improving image filtering and video processing OpenCV methods for use in Julia
  • smooth conversion between Julia arrays and C++ Mat

Support for display and graphics in Julia v0.6 (and possibly even 0.5) has a number of significant challenges right now due dependencies which are not currently working (Winston.jl, TK.jl, and possibly others). With limited time, it would not be wise to wait for those packages).

@timholy
Copy link
Contributor

timholy commented Mar 23, 2017

Not to derail what sounds like excellent recommendations, but just FYI GtkReactive passes all of its tests on Julia 0.6. Though I would be the first to say that GLVisualize is the future of graphics on julia (hopefully GtkReactive can contribute to that, since GLVisualize uses Reactive).

@maxruby
Copy link
Owner

maxruby commented Mar 23, 2017

@timholy. Thanks for the pointers! I agree that it would be nice to work with OpenGL, but I wonder whether this will be outside the scope of a GSoC project? There seems to be already enough challenges to get OpenCV and Images (and associated packages) talking smoothly (deprecations, image format and conversion). That said, I am with you that we should at least look into GtkReactive and GLVisualize for inspiration on where to go with image visualization in Julia.

@timholy
Copy link
Contributor

timholy commented Mar 23, 2017

That's why I said they were excellent recommendations 😄. I just wanted to make sure you knew that, if you needed it, there were graphics solutions that work on 0.6.

@maxruby
Copy link
Owner

maxruby commented Mar 23, 2017

@timholy. Indeed, ideally we would use the visualization power of GLVisualize with OpenCV and come up with something unique. By the way, a bit offside, but do you really get GTkReactive to work with v0.6? If so, how? I tried to get it installed and got a number of errors. Is there anywhere detailed documentation on how to get GtkReactive installed?

The immediate goal is to be able to quickly visualize Julia images before and after manipulation in OpenCV. Is GtkReactive the best and only realistic option right now with v0.6?

@timholy
Copy link
Contributor

timholy commented Mar 23, 2017

Not sure. Maybe JuliaGraphics/Gtk.jl#289?

But clearly I spoke too soon; while it passes the "automated" tests, some of the mouse interaction triggers a bug: JuliaLang/julia#21141. Nevertheless basic image display works fine (see examples/imageview.jl).

Is GtkReactive the best and only realistic option right now with v0.6?

Certainly not; there are so many plotting options I don't pretend to keep up with them all. Also, where possible I still avoid 0.6 right now for anything serious, since things are still somewhat fragile. Lots of options work on 0.5.

@maxruby
Copy link
Owner

maxruby commented Mar 23, 2017

@kvmanohar22 . I would suggest that you look into making it feasible to use GtkReactive for Visualization of images before and after processing with OpenCV.jl. I will try in parallel to install it on OSX and evaluate how to work with it as well.

@kvmanohar22
Copy link
Contributor Author

On it !

@maxruby
Copy link
Owner

maxruby commented Mar 29, 2017

@kvmanohar22. Have you evaluated the feasibility of working with GtkReactive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants