Hacker News new | past | comments | ask | show | jobs | submit login
Coherent Line Drawing (github.com/ssarcandy)
96 points by ssarcandy on Nov 9, 2017 | hide | past | favorite | 16 comments



A link to the paper, since it seems to be missing: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108...

The comparison with more basic edge detect algorithms, at the end, is interesting.


Cool. Could it be also used on video without flickering ?


do you mean specifically preserving continuity from one frame to the next?


No, I don't see any reason that this would avoid flickering. The method is chaotic and processes a 2D image, not a 3D image-time volume.


With GPU, I think it is possible


I don't see how GPUs are relevant. The question wasn't about real time video, but video without flickering. I don't have the domain knowledge to answer confidently, but the algorithm was designed to be noise-tolerant. From my own amateur-level reading of the paper I see no reason why it shouldn't work well with video.


Alas, I can find no build instructions. How does one build this on Linux? (I have cmake, OpenCV and wxwidgets installed.)


  $ mkdir build
  $ cd build
  $ cmake-gui ..
  $ make


Thanks; worked like a charm once I pulled in some more libraries. One thing to tweak for Linux use: add upper-case versions of the image file extensions to the fifth parameter of the openFileDialog call in gui.cpp, so you don't have to rename all those image files that cameras and phones tend to give upper case names to.


This looks really interesting. I could see a business here of taking photographs and turning them into coloring books.


Someone beat you too it, unfortunately: https://www.reallycolor.com/


I wonder if given the input and output of the algorithm, you could train some type of deep neural net. And if successful, what the hidden layers would look like?


I would love this as a linocut. I want to duplicate to look that some books use on their cover.


Nice Wxwidgets!


Maybe I'm missing something, but frankly I think if you're building GUI with Python, tkinter is probably the best option. Comes with stock, is pretty solid, and on edge-cases serves you well.

I had to create some applications with py earlier this year, I started out with pyside but it was really heavy and kind of difficult to grok. wxwidgets I tried as well and it didn't work (I needed mouse cursor information and use it in a certain way to draw certain things, it was messy to do it with everything except tkinter).


Reminds me of playing with Photoshop as a kid.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: