gnoise
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Generate a cube of mutually exclusive planes of noise.
Arguments and Return Values Arguments: Three integers designating array size and a seed Return Value: A numeric array of specified size filled with random noise
Usage Syntax: gnoise([x = INT] [, y = INT] [, z = INT] [, seed = INT]) The gnoise() function generates Z mutually exclusive planes of uniformly distributed noise. For each X,Y location, exactly 1 pixel along the Z axis is set to a value of 1, producing images of random noise with a frequency of 1/Z. The value seed can be specified to seed the random number generator, to produce reproducible random numbers. The default dimensions are 512x512x10.
Examples dv> a = gnoise(20,20,20) 20x20x20 array of byte, bsq format [8,000 bytes] dv> a = gnoise() 512x512x10 array of byte, bsq format [2,621,440 bytes] |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 04-28-2016 |