You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a set $A$ in $\mathbb{R}^n$ the Flat Norm can be interpreted as an algorithm which produces a low curvature approximation to $A$.
If the set also has a graph structure then there is an efficient algorithm to compute this by cleverly weighting the graph and computing
it's minimum cut. This repository implements this algorithm and applies it to 2D images. In this context the Flat Norm can be viewed
as an image denoising and smoothing algorithm with a parameter $\lambda$ which provides the threshold for denoising.
For instance a circle of radius $r$ has a curvature of $1/r$ so small circles have high curvature. If we take an image of circles of different
radius and set $\lambda$ appropriatley we will remove the circle of largest curvature while preserving the others (notice the circles we preserve are also smoothed in places where the discretization causes high curvature).
Before Smoothing
After
About
The flat norm can be understood as a low curvature approximation to a set. When applied to objects like images the flat norm is essentially a denoising algorithm, features with sharp edges or noise (i.e. high curvature) get removed.