noise.jl

A Julia package for adding different kinds of noise to signals like time series or images.

https://github.com/roflmaostc/noise.jl

Science Score: 51.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary

Keywords

julia noise

Keywords from Contributors

pde neural-operators pinn interpretability meshing fluxes standardization
Last synced: 7 months ago · JSON representation ·

Repository

A Julia package for adding different kinds of noise to signals like time series or images.

Basic Info
Statistics
  • Stars: 24
  • Watchers: 1
  • Forks: 1
  • Open Issues: 3
  • Releases: 10
Topics
julia noise
Created almost 6 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License Citation

README.md

Noise.jl

Noise.jl is a Julia package to add different kinds of noise to a digital signal like a array or images.

| Documentation | Build Status | Code Coverage | DOI | |:---------------------------------------:|:-----------------------------------------:|:-------------------------------:|:----:| | | | | DOI |

Documentation

The complete manual of Noise.jl is available at the documentation page. It has more detailed explanations of the methods and contains examples for data arrays and images.

Installation

Noise.jl is available for all version equal or above Julia 1.3. It can be installed with the following command

julia julia> ] add Noise

Usage

Currently, all methods are provided with a trailing ! (like poisson!), so there is a in-place method available. In general, if images like Array{RGB{<:Normed} or Array{Gray{<:Normed}} are given to a method, an image with same type will be returned. The methods also work for normal Arrays like Array{<:Number}. At the moment five different types of noise are possible: Additive and multiplicative Gaussian, Salt-Pepper, Poisson and Quantization noise.

```julia using Noise, TestImages, Images, Plots img = testimage("fabiogray256") imgcolor = testimage("fabiocolor_256")

imggraygauss = addgauss(img, 0.1) imgcolorgauss = addgauss(imgcolor, 0.1) imggraysp = saltpepper(img, 0.1)

1D array

x = LinRange(0.0, 10.0, 300) y = sin.(x)

small noise

ynoise = addgauss(y, 0.1)

plot(x,y) # hide plot!(x, ynoise) # hide savefig("images/seriesindex.png") # hide

save("images/imggraygaussindex.png", imggraygauss) # hide save("images/imgcolorgaussindex.png", imgcolorgauss) # hide save("images/imggrayspindex.png", imggray_sp) # hide nothing # hide ```

The left gray image is affected by Gaussian noise with a standard deviation of \sigma = 0.1. In the image in the middle, we added Gaussian noise with the same standard deviation but to each individual color channel. Therefore the image has a fluctuating color look. The image on the right is affected by salt and pepper noise by a probability of 10%.

| Gray image with noise | RGB image with noise | Gray image with salt and pepper noise | |:------------------------------------|:------------------------------------- |:--------------------------------------| | | | |

This 1D array is affected by a additive gaussian white noise (\sigma=0.1, \mu=0).

Cite

If you use this package in an academic work, please cite us! See on the right side the Cite this repository: @misc{Wechsler_Noise.jl__Adding, author = {Wechsler, Felix}, title = {Noise.jl - Adding Noise in Julia}, url = {https://github.com/roflmaostc/Noise.jl} }

Development

The package is developed at GitHub. There you can submit bug reports, propose new types of noise with pull requests, and make suggestions. We are very happy about new types of noise, which can be also very specific for some applications. The aim is to provide via Noise.jl a central package which can be used by many different types of application from Biology to Astronomy and Electrical Engineering.

Owner

  • Name: Felix Wechsler
  • Login: roflmaostc
  • Kind: user
  • Location: EPFL, Lausanne, Switzerland

My passion is combining optics with computer science. Currently PhD @ LAPD @ EPFL

Citation (CITATION.bib)

@software{wechsler_felix_2021_5337134,
  author       = {Wechsler, Felix},
  title        = {Noise.jl - Adding Noise in Julia},
  month        = aug,
  year         = 2021,
  note         = {{If you use this software, please cite it using 
                   these metadata.}},
  publisher    = {Zenodo},
  version      = {0.3.0},
  doi          = {10.5281/zenodo.5337134},
  url          = {https://doi.org/10.5281/zenodo.5337134}
}

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 2
  • Pull request event: 2
Last Year
  • Watch event: 1
  • Issue comment event: 2
  • Pull request event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 129
  • Total Committers: 4
  • Avg Commits per committer: 32.25
  • Development Distribution Score (DDS): 0.171
Past Year
  • Commits: 4
  • Committers: 2
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.25
Top Committers
Name Email Commits
roflmaostc f****r@t****e 107
Felix Wechsler f****t@m****g 18
github-actions[bot] 4****] 3
CompatHelper Julia c****y@j****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 7
  • Total pull requests: 6
  • Average time to close issues: 3 months
  • Average time to close pull requests: 4 days
  • Total issue authors: 6
  • Total pull request authors: 2
  • Average comments per issue: 4.57
  • Average comments per pull request: 0.5
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 4
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • roflmaostc (2)
  • henry2004y (1)
  • JeffFessler (1)
  • ashwani-rathee (1)
  • johnnychen94 (1)
  • JuliaTagBot (1)
Pull Request Authors
  • github-actions[bot] (4)
  • kunzaatko (2)
Top Labels
Issue Labels
bug (1) help wanted (1) good first issue (1)
Pull Request Labels

Dependencies

.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg latest composite
  • julia-actions/julia-docdeploy latest composite
  • julia-actions/julia-processcoverage latest composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia latest composite