Coder Social home page Coder Social logo

edgedetection's Introduction

EdgeDetection

在Coherent Line Drawing的代码上做了一点小改动

改动

  • ETF.cpp line 248 and 249: 添加了*abs(angle),按照论文应该如此。
  • 添加了opencv cv::Mat与其自定义类的转换。
  • fdog.cpp line 300:添加了非极大值抑制,写了两种。
  • 使之能运行的杂项改动。

使用

  • 函数myFDoG的最后一个参数nms用来设置邻域大小。nms<=0时没有非极大值抑制。

TODO

  • 看代码貌似除了*abs(angle)还是有点小问题。
  • 自适应的非极大值抑制。
  • 复现的opencv版本太慢了,或许用Eigen好一些,或许像现在这样二维数组也挺好。
  • 懒,烦请大佬代劳以上。

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.