PlanarReconstruction icon indicating copy to clipboard operation
PlanarReconstruction copied to clipboard

Custom dataset

Open KirillHiddleston opened this issue 4 years ago • 5 comments

explain to me what num_planes is, where can I get it?

KirillHiddleston avatar Aug 09 '21 12:08 KirillHiddleston

@KirillHiddleston Please refer to https://github.com/svip-lab/PlanarReconstruction/blob/master/main.py#L107 to prepare custom dataset.

niujinshuchong avatar Aug 10 '21 12:08 niujinshuchong

sorry explain to me what "num_planes" is, where can I get it?

KirillHiddleston avatar Aug 12 '21 12:08 KirillHiddleston

@KirillHiddleston num_planes is the the number of plane instances in the image.

niujinshuchong avatar Aug 12 '21 12:08 niujinshuchong

shape set of image load in your npz file

image (192, 256, 3) depth (192, 256, 1) segmentation (192, 256, 1) index map plane (20, 3) ?

how to get plane ? I have normal map can u explain ?

https://github.com/art-programmer/PlaneNet A plane is represented by three parameters and a segmentation mask. If the plane equation is nx=d where n is the surface normal and d is the plane offset, then plane parameters are nd. The plane equation is in the camera frame, where x points to the right, y points to the front, and z points to the up.

KirillHiddleston avatar Aug 17 '21 06:08 KirillHiddleston

@KirillHiddleston If you have segmentation map of plane and depth map. Then you can unproject depth map to point cloud, then you can fit the plane parameter to 3D points of this plane.

niujinshuchong avatar Aug 17 '21 09:08 niujinshuchong