PEAC icon indicating copy to clipboard operation
PEAC copied to clipboard

What's the mearning of 5000

Open ghy0324 opened this issue 3 years ago • 4 comments

What's the mearning of 5000 in line 34 of demo_peac.cpp. It should be 1000 rather than 5000 to convert from mm to m, but I found that sometimes 5000 works better than 1000. The ratio of depth doesn't change whether a region in image space is a plane or not, but it will change the effect of the thresholds used in following steps.

ghy0324 avatar Apr 05 '21 11:04 ghy0324

What's the mearning of 5000 in line 34 of demo_peac.cpp. It should be 1000 rather than 5000 to convert from mm to m, but I found that sometimes 5000 works better than 1000. The ratio of depth doesn't change whether a region in image space is a plane or not, but it will change the effect of the thresholds used in following steps.

It means the depth scale factor. 1 meter in real world = 5000 pixel value in depth image.

liguanglin avatar Apr 28 '21 08:04 liguanglin

What's the mearning of 5000 in line 34 of demo_peac.cpp. It should be 1000 rather than 5000 to convert from mm to m, but I found that sometimes 5000 works better than 1000. The ratio of depth doesn't change whether a region in image space is a plane or not, but it will change the effect of the thresholds used in following steps.

It means the depth scale factor. 1 meter in real world = 5000 pixel value in depth image.

Hi, guy. Do you know the what is meaning of const float f =525 in the demo_peac.cpp. Is it the camera focal length?

JACKLiuDay avatar Jul 08 '22 07:07 JACKLiuDay

What's the mearning of 5000 in line 34 of demo_peac.cpp. It should be 1000 rather than 5000 to convert from mm to m, but I found that sometimes 5000 works better than 1000. The ratio of depth doesn't change whether a region in image space is a plane or not, but it will change the effect of the thresholds used in following steps.

It means the depth scale factor. 1 meter in real world = 5000 pixel value in depth image.

Hi, guy. Do you know the what is meaning of const float f =525 in the demo_peac.cpp. Is it the camera focal length?

yes

liguanglin avatar Jul 08 '22 08:07 liguanglin

What's the mearning of 5000 in line 34 of demo_peac.cpp. It should be 1000 rather than 5000 to convert from mm to m, but I found that sometimes 5000 works better than 1000. The ratio of depth doesn't change whether a region in image space is a plane or not, but it will change the effect of the thresholds used in following steps.

It means the depth scale factor. 1 meter in real world = 5000 pixel value in depth image.

Hi, guy. Do you know the what is meaning of const float f =525 in the demo_peac.cpp. Is it the camera focal length?

yes

wow, thank you for your quick reply!

JACKLiuDay avatar Jul 08 '22 09:07 JACKLiuDay