pyvista.ImageNoiseSource#
- class ImageNoiseSource(*args, **kwargs)[source]#
Create an image filled with uniform noise.
Added in version 0.44.0.
- Parameters:
Examples
Create an image of noise.
>>> import pyvista as pv >>> source = pv.ImageNoiseSource( ... whole_extent=(0, 200, 0, 200, 0, 0), ... minimum=0, ... maximum=255, ... seed=0, ... ) >>> source.output.plot(cpos='xy')
Methods#
|
Seed the random number generator with a value. |
Attributes#
Get the maximum value for the generated noise. |
|
Get the minimum value for the generated noise. |
|
Get the output image as a ImageData. |
|
Get extent of the whole output image. |