Documentation ¶
Index ¶
- func GcvCalibrateCamera(objPts, imgPts, camMat, distCoeffs *mat64.Dense, dims [2]int, flags int) (calCamMat, rvec, tvec *mat64.Dense)
- func GcvInitCameraMatrix2D(objPts, imgPts *mat64.Dense, dims [2]int, aspectRatio float64) (camMat *mat64.Dense)
- func GcvMatToMat64(mat GcvMat) *mat64.Dense
- func GcvRodrigues(src *mat64.Dense) (dst *mat64.Dense)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GcvCalibrateCamera ¶
func GcvInitCameraMatrix2D ¶
func GcvInitCameraMatrix2D(objPts, imgPts *mat64.Dense, dims [2]int, aspectRatio float64) (camMat *mat64.Dense)
GcvInitCameraMatrix2D takes one 3-by-N matrix and one 2-by-N Matrix as input. Each column in the input matrix represents a point in real world (objPts) or in image (imgPts). Return: the camera matrix.
func GcvMatToMat64 ¶
Convert Mat, which defined by SWIG, to *mat64.Dense. The reason is the latter is much easier to handle in Go. GcvMat is assumed to be 2-dimensional matrix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.