|
|
@ -233,9 +233,10 @@ if __name__=='__main__': |
|
|
|
objs = get_objs(shapenet_root, obj_classes) |
|
|
|
objs = get_objs(shapenet_root, obj_classes) |
|
|
|
|
|
|
|
|
|
|
|
# camera parameters |
|
|
|
# camera parameters |
|
|
|
imsize = (480, 640) |
|
|
|
imsize = (488, 648) |
|
|
|
imsizes = [(imsize[0]//(2**s), imsize[1]//(2**s)) for s in range(4)] |
|
|
|
imsizes = [(imsize[0]//(2**s), imsize[1]//(2**s)) for s in range(4)] |
|
|
|
K = np.array([[567.6, 0, 324.7], [0, 570.2, 250.1], [0 ,0, 1]], dtype=np.float32) |
|
|
|
# K = np.array([[567.6, 0, 324.7], [0, 570.2, 250.1], [0 ,0, 1]], dtype=np.float32) |
|
|
|
|
|
|
|
K = np.array([[1929.5936336276382, 0, 113.66561071478046], [0, 1911.2517985448746, 473.70108079885887], [0 ,0, 1]], dtype=np.float32) |
|
|
|
focal_lengths = [K[0,0]/(2**s) for s in range(4)] |
|
|
|
focal_lengths = [K[0,0]/(2**s) for s in range(4)] |
|
|
|
baseline=0.075 |
|
|
|
baseline=0.075 |
|
|
|
blend_im = 0.6 |
|
|
|
blend_im = 0.6 |
|
|
|