MaxstARSDK
com.maxst.ar.CameraCalibration Class Reference
Collaboration diagram for com.maxst.ar.CameraCalibration:
Collaboration graph

Public Member Functions

void setImage (int width, int height, byte[] grayData)
 
void clearImage ()
 
float[] calibrate (int method)
 

Static Public Member Functions

static CameraCalibration getInstance ()
 

Detailed Description

Created by blueb on 2018-02-05.

Member Function Documentation

◆ calibrate()

float [] com.maxst.ar.CameraCalibration.calibrate ( int  method)

Get camera calibration result.

Parameters
method0 : marker calibration, 1 : cv calibration(chessboard)
Returns
Calibration result array(float type array, size 4).

◆ clearImage()

void com.maxst.ar.CameraCalibration.clearImage ( )

Clear calibration image.

◆ getInstance()

static CameraCalibration com.maxst.ar.CameraCalibration.getInstance ( )
static

Get CameraCalibration instance

Returns
CameraCalibration class instance

◆ setImage()

void com.maxst.ar.CameraCalibration.setImage ( int  width,
int  height,
byte[]  grayData 
)

Set the image for camera calibration.

Parameters
widthScreen width
heightScreen height

The documentation for this class was generated from the following file: