HomeSort by relevance Sort by last modified time
    Searched refs:noise (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /external/libopus/silk/fixed/
regularize_correlations_FIX.c 34 /* Add noise to matrix diagonal */
38 opus_int32 noise, /* I Noise to add */
44 matrix_ptr( &XX[ 0 ], i, i, D ) = silk_ADD32( matrix_ptr( &XX[ 0 ], i, i, D ), noise );
46 xx[ 0 ] += noise;
  /external/libopus/silk/float/
regularize_correlations_FLP.c 34 /* Add noise to matrix diagonal */
38 const silk_float noise, /* I Noise energy to add */
45 matrix_ptr( &XX[ 0 ], i, i, D ) += noise;
47 xx[ 0 ] += noise;
  /external/opencv3/samples/python2/
video.py 23 synth:bg=../data/lena.jpg:noise=0.1
24 synth:class=chess:bg=../data/lena.jpg:noise=0.1:size=640x480
44 def __init__(self, size=None, noise=0.0, bg = None, **params):
57 self.noise = float(noise)
72 if self.noise > 0.0:
73 noise = np.zeros((h, w, 3), np.int8)
74 cv2.randn(noise, np.zeros(3), np.ones(3)*255*self.noise)
75 buf = cv2.add(buf, noise, dtype=cv2.CV_8UC3
    [all...]
fitline.py 40 def sample_line(p1, p2, n, noise=0.0):
43 return p1 + (p2-p1)*t + np.random.normal(size=(n, 2))*noise
49 noise = cv2.getTrackbarPos('noise', 'fit line')
59 line_points = sample_line(p0, p1, n-outn, noise)
77 cv2.createTrackbar('noise', 'fit line', 3, 50, update)
deconvolution.py 13 [--snr <signal/noise ratio in db>]
93 noise = 10**(-0.1*cv2.getTrackbarPos('SNR (db)', win))
107 iPSF = PSF / (PSF2 + noise)[...,np.newaxis]
  /external/opencv3/samples/cpp/
image.cpp 85 Mat noise(img.size(), CV_8U); // another Mat constructor; allocates a matrix of the specified size and type
86 randn(noise, Scalar::all(128), Scalar::all(20)); // fills the matrix with normally distributed random values;
88 GaussianBlur(noise, noise, Size(3, 3), 0.5, 0.5); // blur the noise a bit, kernel size is 3x3 and both sigma's are set to 0.5
95 IplImage cv_planes_0 = planes[0], cv_noise = noise;
99 addWeighted(planes[0], contrast_gain, noise, 1, -128 + brightness_gain, planes[0]);
  /external/libvpx/libvpx/vp9/common/
vp9_postproc.h 28 char noise[3072]; member in struct:postproc_state
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
vp9_postproc.h 26 char noise[3072]; member in struct:postproc_state
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
ImageCompare.java 38 * Compute peak signal-to-noise ration (PSNR) between two images
64 double noise = 0; local
72 noise += (Y1 - Y2) * (Y1 - Y2);
77 final double mse = noise / numPixels;
  /external/opencv3/modules/photo/test/
test_denoise_tvl1.cpp 46 cv::Mat noise(img.size(), img.type()), mask(img.size(), CV_8U);
47 rng.fill(noise,cv::RNG::NORMAL,128.0,sigma);
48 cv::addWeighted(img, 1, noise, 1, -128, noisy);
49 cv::randn(noise, cv::Scalar::all(0), cv::Scalar::all(2));
50 noise *= 255;
54 noise.setTo(128, mask);
55 cv::addWeighted(noisy, 1, noise, 1, -128, noisy);
  /external/opencv3/modules/calib3d/perf/
perf_pnp.cpp 48 //add noise
49 Mat noise(1, (int)points2d.size(), CV_32FC2);
50 randu(noise, 0, 0.01);
51 add(points2d, noise, points2d);
95 //add noise
96 Mat noise(1, (int)points2d.size(), CV_32FC2);
97 randu(noise, -0.001, 0.001);
98 add(points2d, noise, points2d);
  /external/libvpx/libvpx/vp8/common/
postproc.h 20 char noise[3072]; member in struct:postproc_state
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
postproc.h 20 char noise[3072]; member in struct:postproc_state
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
datetimeutil.py 84 for noise in "minu:teshour()":
85 val = val.replace(noise, ' ')
125 for noise in ":amp.":
126 val = val.replace(noise, ' ')
243 for noise in ('/', '-', ',', '*'):
244 val = val.replace(noise, ' ')
245 for noise in _wkdy:
246 val = val.replace(noise, ' ')
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_binascii.py 94 noise = fillers
95 ratio = len(line) // len(noise)
97 while line and noise:
98 if len(line) // len(noise) > ratio:
101 c, noise = noise[0], noise[1:]
103 return res + noise + line
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_binascii.py 94 noise = fillers
95 ratio = len(line) // len(noise)
97 while line and noise:
98 if len(line) // len(noise) > ratio:
101 c, noise = noise[0], noise[1:]
103 return res + noise + line
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_binascii.py 94 noise = fillers
95 ratio = len(line) // len(noise)
97 while line and noise:
98 if len(line) // len(noise) > ratio:
101 c, noise = noise[0], noise[1:]
103 return res + noise + line
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_binascii.py 94 noise = fillers
95 ratio = len(line) // len(noise)
97 while line and noise:
98 if len(line) // len(noise) > ratio:
101 c, noise = noise[0], noise[1:]
103 return res + noise + line
  /external/autotest/client/cros/audio/
audio_analysis_unittest.py 12 """Uses the same seed to generate noise for each test."""
24 noise = numpy.random.standard_normal(samples) * 0.005
27 coeff_2 * numpy.sin(freq_2 * 2.0 * numpy.pi * x)) + noise
32 # with coefficient 0.3, 0Hz is from Gaussian noise with coefficient
64 noise = numpy.random.standard_normal(samples) * noise_amplitude
66 results = audio_analysis.spectral_analysis(noise, rate)
101 """Add noise to the test signal."""
103 noise = numpy.random.standard_normal(len(self.y)) * noise_amplitude
104 self.y = self.y + noise
174 """Sine wave signal with no noise or anomaly.""
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
PerlinNoiseGenerator.java 24 /** Adapted from <a href="http://devmag.org.za/2009/04/25/perlin-noise/">http://devmag.org.za/2009/04/25/perlin-noise/</a>
28 float[][] noise = new float[width][height]; local
31 noise[x][y] = MathUtils.random();
34 return noise;
108 float[][] noise = generatePerlinNoise(baseNoise, octaveCount); local
114 bytes[idx++] = (byte)(noise[x][y] * range + min);
  /external/webrtc/webrtc/modules/audio_processing/ns/
ns_core.c 36 // For spectral_flatness: used when noise is flatter than speech.
114 // For quantile noise estimation.
137 self->priorSpeechProb = 0.5f; // Prior prob for speech/noise.
142 // Current noise-spectrum.
143 memset(self->noise, 0, sizeof(float) * HALF_ANAL_BLOCKL);
144 // Previous noise-spectrum.
146 // Conservative noise spectrum estimate.
196 // Counter for update of conservative noise spectrum.
216 // Estimate noise.
219 float* noise) {
1053 float magn[HALF_ANAL_BLOCKL], noise[HALF_ANAL_BLOCKL]; local
    [all...]
ns_core.h 26 float factor2ModelPars; // For spectral_flatness: used when noise is flatter
65 // Parameters for quantile noise estimation.
85 float noise[HALF_ANAL_BLOCKL]; // Noise spectrum from current frame. member in struct:NoiseSuppressionC_
86 float noisePrev[HALF_ANAL_BLOCKL]; // Noise spectrum from previous frame.
92 float priorSpeechProb; // Prior speech/noise probability.
94 // Conservative noise spectrum estimate.
98 float whiteNoiseLevel; // Initial noise estimate.
100 float pinkNoiseNumerator; // Pink noise parameter: numerator.
101 float pinkNoiseExp; // Pink noise parameter: power of frequencies
    [all...]
  /external/opencv3/modules/video/test/
test_estimaterigid.cpp 106 Mat noise(1, n, CV_32FC2);
107 rng.fill(noise, RNG::NORMAL, Scalar::all(0), Scalar::all(0.001*(n<=7 ? 0 : n <= 30 ? 1 : 10)));
108 tpts += noise;
  /external/ImageMagick/MagickCore/
gem.c 1470 noise, local
    [all...]
  /external/speex/libspeex/
preprocess.c 46 I. Cohen and B. Berdugo, "Speech enhancement for non-stationary noise environments".
50 approach to combined acoustic echo cancellation and noise reduction". IEEE
211 spx_word32_t *noise; /**< Noise estimate */ member in struct:SpeexPreprocessState_
221 int *update_prob; /**< Probability of speech presence for noise update */
320 /* Compute the gain floor based on different floors for the background noise and residual echo */
321 static void compute_gain_floor(int noise_suppress, int effective_echo_suppress, spx_word32_t *noise, spx_word32_t *echo, spx_word16_t *gain_floor, int len)
331 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */
334 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i])
    [all...]

Completed in 836 milliseconds

1 2 3 4 5 6 7