Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soypat/tvd

Total Variation Denoising filter.
https://github.com/soypat/tvd

denoising filter go golang noise signal-processing staircase-effect total-variation total-variation-denoising tvd

Last synced: 25 days ago
JSON representation

Total Variation Denoising filter.

Awesome Lists containing this project

README

        

# tvd
Total Variation Denoising filter.

- Ideal for capturing edges.
- Varying signals may artifact with "staircase effect", see image.

![denoising results](./tvd1d_test.png)

### Usage (1D)
```go
const lambda = 2
var noisyData []float64 = getData()
denoised := tvd.Denoise1D(noisyData, lambda)
fmt.Println(denoised)
```