Access Intrinsic parameters such as focal length and principle center on Android using Java API
Hi,
I would like to access the intrinsic parameters of the Infrared stream on Android device using Java API. However, it looks these parameters are private variables of the Intrinsic class and no suitable public methods to provide to access these parameters.
Thanks.
Yixun
public class Intrinsic {
private int mWidth;
private int mHeight;
private float mPpx;
private float mPpy;
private float mFx;
private float mFy;
private DistortionType mModel;
private int mModelValue;
private float[] mCoeffs;
...
}
-
Hi Yixun Liu A RealSense Java script at the link below demonstrates accessing intrinsics with the get_intrinsics instruction.

-
RealSense support for Java took two separate forms: the official Android wrapper, and an unofficial non-Android Java wrapper that a RealSense community member developed.
https://github.com/edwinRNDR/librealsense/tree/master/wrappers/java
The link below discusses accessing intrinsics and extrinsics via the official Android wrapper.
https://github.com/IntelRealSense/librealsense/issues/7386
Please sign in to leave a comment.
Comments
3 comments