pyvista.examples.downloads.download_bird_bath

pyvista.examples.downloads.download_bird_bath#

download_bird_bath(load=True, *, high_resolution=False)[ソース]#

Ivan Nikolovが作成したバードバスのスキャンをダウンロードすることができます.

データセットは GGG-BenchmarkSfM: Dataset for Benchmarking Close-range SfM Software Performance under Vary Capturing Conditions からダウンロードしたものです.

オリジナルデータセットは,CC BY 4.0ライセンスに準拠しています.

詳しくは Ivan Nikolov Datasets を参照してください.

バージョン 0.45 で変更: A decimated version of this dataset with 35 thousand cells is now returned. Previously, a high-resolution version with 3.5 million cells was returned. Use high_resolution=True for the high-resolution version.

パラメータ:
loadbool, default: True

True に設定すると,データセットをダウンロードした後に読み込みます. False に設定すると,ファイル名のみが返されます.

high_resolutionbool, default: False

Set this to True to return a high-resolution version of this dataset. By default, a decimated version is returned with 99% reduction.

Added in version 0.45.

戻り値:
pyvista.PolyData | str

load に応じて,データセットまたはファイル名を指定します.

データセットをダウンロードし,プロットします.

>>> from pyvista import examples
>>> mesh = examples.download_bird_bath()
>>> mesh.plot()
../../../_images/pyvista-examples-downloads-download_bird_bath-1_00_00.png

データセットの統計情報を返します.

>>> mesh
PolyData (...)
  N Cells:    35079
  N Points:   18796
  N Strips:   0
  X Bounds:   -1.600e+02, 1.482e+02
  Y Bounds:   -1.522e+02, 1.547e+02
  Z Bounds:   -5.491e-01, 1.408e+02
  N Arrays:   0

参考

Bird Bath Dataset

詳細はデータセットギャラリーのこのデータセットをご覧ください。