5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Open3dのお勉強]crop用jsonファイルを理解する

Last updated at Posted at 2018-11-06

open3dを勉強するにあたって、
http://www.open3d.org/docs/tutorial/Basic/pointcloud.html
で読み込まれるjsonフォーマットが分からなかったので、調べました。

{
	"axis_max" : 4.022921085357666,
	"axis_min" : -0.76341366767883301,
	"bounding_polygon" : 
	[
		[ 2.6509309513852526, 0.0, 1.6834473132326844 ],
		[ 2.5786428246917148, 0.0, 1.6892074266735244 ],
		[ 2.4625790337552154, 0.0, 1.6665777078297999 ],
		[ 2.6579576128816544, 0.0, 1.6819127849749496 ]
	],
	"class_name" : "SelectionPolygonVolume",
	"orthogonal_axis" : "Y",
	"version_major" : 1,
	"version_minor" : 0
}

読んだソースはこれ。
https://github.com/IntelVCL/Open3D/blob/master/src/Visualization/Utility/SelectionPolygonVolume.cpp

パラメータ

変更不可パラ
"class_name" : "SelectionPolygonVolume",
"version_major" : 1,
"version_minor" : 0
変更可パラ コメント
"orthogonal_axis" : "Y",   cropする軸をXYZから選ぶ。
"axis_max" : 2.02, "orthogonal_axis" での最大値
"axis_min" : -0.76,  "orthogonal_axis" での最小値
"bounding_polygon" : [...] "orthogonal_axis" を0で固定して、cropする多角形を指定
5
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?