pyvista.ImageGaussianSource#
- class ImageGaussianSource(*args, **kwargs)[ソース]#
Create a binary image with Gaussian pixel values.
Added in version 0.44.0.
- パラメータ:
例
Create an image of Gaussian pixel values.
>>> import pyvista as pv >>> source = pv.ImageGaussianSource( ... center=(100, 100, 0), ... whole_extent=(0, 200, 0, 200, 0, 0), ... maximum=255, ... std=100.0, ... ) >>> source.output.plot(cpos='xy')
メソッド
アトリビュート
Get the center of the gaussian.
Get the maximum value of the gaussian.
出力画像をImageDataとして取得します。
Get the standard deviation of the gaussian.
出力画像全体の範囲を返します.