Git Product home page Git Product logo

curvaturefilter's Introduction

Curvature filters are efficient solvers for variational models.

This code was developed by Yuanhao Gong during his PhD at MOSAIC Group. Please cite Yuanhao's PhD thesis if you use this code in your work. Thank you!


@phdthesis{gong:phd, title={Spectrally regularized surfaces}, author={Gong, Yuanhao}, year={2015}, school={ETH Zurich, Nr. 22616},note={http://dx.doi.org/10.3929/ethz-a-010438292}}


Chapter Six in PhD thesis (downloaded 200+), Gaussian Curvature Filter (Talk Slides)

source code in C++ and Java can also be found at MOSAIC


Why regularization energy should be minimized?

image

Features

1) Computational Efficient:

These filters are three or four order of magnitude faster than traditional solvers.

2) Generality:

These filter solvers can handle arbitrary imaging model, as long as the imaging model can be evaluated(black box).

3) Convergence:

The convergence is theoretically guaranteed and the numerical convergence rate is around 1.4 for natural images.

4) Easy Implementation:

These filters can be implemented in about 40 lines in Matlab and about 100 lines in C++.

Examples

GC = Gaussian Curvature, MC = Mean Curvature, TV = Total Variation image

image The noise free test image can be downloaded here

image

FAQ:

  1. Why dual mesh (DM) structure is needed?

There are two reasons. First, these four sets guarantee the convergence. Second, we can use the updated neighbors for current position. Therefore, it is more computational efficient.

==== 2) What is the difference between these three filters?

In general, GC filter is better in preserving details, compared with the other two. And TV filter is better in removing noise as well as details. MC filter is between these two.

These three filters are correspond to three types of variational models. User should decide which prior is to be assumed about the ground truth.

==== 3) What is the difference between split and nosplit scheme?

In general, splitting the image into four sets and looping on them is computational faster. However, in some cases like deconvolution, we need to merge the four sets after every iteration. So, it is better do nosplit scheme.

These two lead to exactly the same result. The split code is just more cache friendly.

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.