Cirrus Logic CS485 Dokumentacja Strona 97

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 319
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 96
Image Creation and Access
4-43
4
NoiseUniformInit,
NoiseUniformInitFp
Initializes parameters
for generating noise
signal with uniform
distribution.
void iplNoiseUniformInit ( IplINoiseParam*
noiseParam
,
unsigned int
seed
, int
low
, int
high
);
void iplNoiseUniformInitFp ( IplINoiseParam*
noiseParam
,
unsigned int
seed
, float
low
, float
high
);
noiseParam
Pointer to the structure that contains parameters
for the noise generator.
seed
The initial seed value for the pseudo-random
number generator.
low, high
The lower and upper bounds for the range of
uniformly distributed values.
Discussion
Use functions iplNoiseUniformInit(), iplNoiseUniformInitFp() to
initialize the
noiseParam
structure if you want to generate the noise signal
with uniform distribution over the range [
low
,
high
]. After that you can
call the
iplNoiseImage() function, which actually generates and adds
the noise signal.
Przeglądanie stron 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 318 319

Komentarze do niniejszej Instrukcji

Brak uwag