Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About camera external matrix #32

Open
Fizmath opened this issue Mar 15, 2021 · 0 comments
Open

About camera external matrix #32

Fizmath opened this issue Mar 15, 2021 · 0 comments

Comments

@Fizmath
Copy link

Fizmath commented Mar 15, 2021

Hello

How to calculate left_pose , left_pose matrices in example2.py for my own images taken by an android phone ?

I get camera intrinsic parameters Focal Length = 3.46 mm , Sensor Size=4.66*3.51 , Pixel Array Size=4160*3120 , Orintation = 90 degree in android by installing a device info app.

Having these, how we can get the camera pose (external matrix) ? Any other method?

Here are some other camera characteristics that the Camera2 Info app displays

android.lens.facing:  1
android.lens.info.availableApertures:  [1.8]
android.lens.info.availableFilterDensities:  [0.0]
android.lens.info.availableFocalLengths:  [3.46]
android.lens.info.availableOpticalStabilization:  [0]
android.lens.info.focusDistanceCalibration:  2
android.lens.info.hyperfocalDistance:  0.2
android.lens.info.minimumFocusDistance:  14.285714

android.sensor.calibrationTransform1:  ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])

android.sensor.calibrationTransform2:  ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])

android.sensor.colorTransform1:  ColorSpaceTransform([1094/1024, -306/1024, -146/1024], [-442/1024, 1388/1024, 52/1024], [-104/1024, 250/1024, 600/1024])

android.sensor.colorTransform2:  ColorSpaceTransform([2263/1024, -1364/1024, -145/1024], [-194/1024, 1257/1024, -56/1024], [-24/1024, 187/1024, 618/1024])

android.sensor.forwardMatrix1:  ColorSpaceTransform([612/1024, 233/1024, 139/1024], [199/1024, 831/1024, -6/1024], [15/1024, -224/1024, 1049/1024])

android.sensor.forwardMatrix2:  ColorSpaceTransform([441/1024, 317/1024, 226/1024], [29/1024, 908/1024, 87/1024], [9/1024, -655/1024, 1486/1024])

android.sensor.info.activeArraySize:  Rect(0, 0 - 4160, 3120)

android.sensor.info.colorFilterArrangement:  0

android.sensor.info.physicalSize:  4.66x3.51

android.sensor.info.pixelArraySize:  4160x3120

android.sensor.info.preCorrectionActiveArraySize:  Rect(0, 0 - 4160, 3120)

android.sensor.info.sensitivityRange:  [50, 3200]

android.sensor.info.whiteLevel:  1023

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant