Questions tagged [noise]

Noise is random variation in a signal, for example errors in measurements of the position of a moving object.

Noise is a signal produced by a stochastic process, mostly unwanted random addition to a signal. It is called noise as a generalization of the acoustic noise ("static") heard when listening to a weak radio transmission with significant electrical noise.

In signal processing or computing noise can be considered random unwanted data without meaning; that is, data that is not being used to transmit a signal, but is simply produced as an unwanted by-product of other activities. "Signal-to-noise ratio" (SNR) is sometimes used to refer to the ratio of useful to irrelevant information in an exchange.

Noise is usually uncorrelated and have a specific distribution that describes it (uniform, Gaussian, etc). The color of a noise signal is generally understood to be some broad characteristic of its power spectrum. Different "colors" of noise have significantly different properties. The practice of naming kinds of noise after colors started with "white noise", a signal whose spectrum has equal power within any equal interval of frequencies. That name was given by analogy with "white light", which was assumed to have such a "flat" power spectrum over the visible range. Other color names, like "pink", "red", and "blue" were then given to noise with other spectral profiles; often (but not always) in reference to the color of light with similar spectra. Some of those names have standard definitions in certain disciplines, while others are very informal and poorly defined.

Usage:

The tag can be used for programming related questions to remove/filter noise from a system and other related questions. Please avoid theoretical and physics based noise related questions on stackoverflow, https://physics.stackexchange.com/ is another stackexchange site where you can ask such theoretical and physics based questions.

Read more

  1. https://en.wikipedia.org/wiki/Noise
  2. https://www.thefreedictionary.com/noise
958 questions
17
votes
3 answers

2D Perlin Noise

I have fully mastered the art of Perlin Noise in 3D, and now I'm trying to use my same implementation for a 2D algorithm. The problem seems to be in picking my gradient directions. In 3D I use 16 gradients in evenly distributed directions and this…
Frobot
  • 1,224
  • 3
  • 16
  • 33
17
votes
1 answer

Using PyKalman on Raw Acceleration Data to Calculate Position

This is my first question on Stackoverflow, so I apologize if I word it poorly. I am writing code to take raw acceleration data from an IMU and then integrate it to update the position of an object. Currently this code takes a new accelerometer…
Alex
  • 195
  • 1
  • 1
  • 7
17
votes
4 answers

Reducing noise on Data

I have 2 lists with data points in them. x = ["bunch of data points"] y = ["bunch of data points"] I've generated a graph using matplotlib in python import matplotlib.pyplot as plt plt.plot(x, y, linewidth=2, linestyle="-",…
PiccolMan
  • 4,854
  • 12
  • 35
  • 53
17
votes
2 answers

Removing pattern and noise in an image using FFT in matlab

I am using the clown.jpg image to be able to get rid of the obvious pattern/noise it has. The first step that I did before taking FFT of the image is to rescale it a square image of powers of two (i.e. 256 x 256). Using FFT and fftshift in…
Luciano Rodriguez
  • 719
  • 4
  • 9
  • 16
16
votes
2 answers

Determine frequency from signal data in MATLAB

I have data from a sensor and I need to find the frequency of it. It looks like fft() seems to be the way to go, but the MATLAB docs only show how to get a graph of the frequencies, I don't know what to do from there. Here's what my data looks…
edc1591
  • 10,146
  • 6
  • 40
  • 63
15
votes
3 answers

How to Calibrate Android Accelerometer & Reduce Noise, Eliminate Gravity

So, I've been struggling with this problem for some time, and haven't had any luck tapping the wisdom of the internets and related SO posts on the subject. I am writing an Android app that uses the ubiquitous Accelerometer, but I seem to be getting…
malfunction
  • 1,297
  • 2
  • 12
  • 18
15
votes
2 answers

Adding noise to numpy array

So say I'm trying to create a 100-sample dataset that follows a certain line, maybe 2x+2. And I want the values on my X-axis to range from 0-1000. To do this, I use the following. X = np.random.random(100,1) * 1000 Y = (2*X) + 2 data =…
MP12389
  • 305
  • 1
  • 3
  • 10
14
votes
2 answers

In need of Fractional Brownian Noise (FBM) vs Perlin Noise clarification

I'm researching the various types of noise for terrain generation and I'm a little confused regarding when noise becomes perlin noise and when perlin noise becomes fbm. I'm hoping somebody could clarify anywhere that I'm going wrong. I currently…
user2211776
  • 239
  • 1
  • 2
  • 11
13
votes
4 answers

Proper way to add noise to signal

In many areas I have found that while adding noise, we mention some specification like zero mean and variance. I need to add AWGN, colored noise, uniform noise of varying SNR in Db. The following code shows the way how I generated and added noise. I…
SKM
  • 959
  • 2
  • 19
  • 45
13
votes
2 answers

Active Noise Cancellation through default iPhone headphone

We want to create an App that will implement the Active Noise Cancellation using the default iPhone headphone. That is, to receive the external audio using the iPhone headphone Mic and make a phase shift of 180 degree. Finally, to play the inverted…
Ashok
  • 192
  • 1
  • 1
  • 9
13
votes
2 answers

Detecting noise via mic while playing a song on iPhone

I am making an app that should play a simple audio track and let me know if there is any noise in the vicinity while the track is playing. This is done by doing a live recording from the microphone while the song plays on the iPhone's loudspeaker.…
Marco Tolman
  • 321
  • 2
  • 11
12
votes
2 answers

Wrote some perlin noise kind of code, it looks blocky

The previous answered question doesn't seem to answer my problem "Blocky" Perlin noise I tried to simplify the most I could to make my code readable and understandable. I don't use the permutation table, instead I use the mt19937 generator. I use…
jokoon
  • 6,207
  • 11
  • 48
  • 85
11
votes
2 answers

How to simulate pink noise in R

I know that white noise can be achieved by treating the output of rnorm() as a timeseries. Any suggestions on how to simulate pink noise?
Mike Lawrence
  • 1,641
  • 5
  • 20
  • 40
11
votes
3 answers

Per-Vertex Normals from perlin noise?

I'm generating terrain in Opengl geometry shader and am having trouble calculating normals for lighting. I'm generating the terrain dynamically each frame with a perlin noise function implemented in the geometry shader. Because of this, I need an…
Nitrex88
  • 2,158
  • 2
  • 21
  • 23
11
votes
3 answers

Generating 3D noise quickly in python

I need a method to generate 3D simplex noise in python rather quickly. What methods are there out there to solve this problem?
Varriount
  • 663
  • 5
  • 18
1
2
3
63 64