phoenixnn / Amodal3Det

GNU General Public License v3.0
73 stars 19 forks source link

why do you minus 40 and 44 in your camera intrinsic matrix? #10

Open Harry-Zhi opened 6 years ago

Harry-Zhi commented 6 years ago

Hi Deng,

In the pipeline file: get_proposals.m, you get the camera matrix by K = GetIntrinsicMat('nyu_color_standard_crop').

However, you subtract cx and cy by 40 and 44 due to the crop ( 427 x 561)), however, compared with original size of 480x640, I am not sure how to get these two number.

Could you please help me on that?

Shuaifeng

cuiwow commented 3 years ago

40 and 44 is principle points offsets, used for camera calibration. You can get the numbers using crop size and camera intrinsic parameters given by NYUv2.