Show / Hide Table of Contents

    Class CvMatExtensions

    Extensions methods for Cv.

    Inheritance
    Object
    CvMatExtensions
    Namespace: ArucoUnity.Utilities
    Assembly: Assembly-CSharp.dll
    Syntax
    public static class CvMatExtensions

    Methods

    | Improve this Doc View Source

    GetCameraFocalLengths(Cv.Mat)

    Gets the camera focal lengths in a camera matrix, expressed in pixels units. Equals to F = (AtDouble(0, 0), AtDouble(1, 1))

    Declaration
    public static Vector2 GetCameraFocalLengths(this Cv.Mat mat)
    Parameters
    Type Name Description
    Cv.Mat mat
    Returns
    Type Description
    Vector2
    | Improve this Doc View Source

    GetCameraPrincipalPoint(Cv.Mat)

    Gets the camera principal point in a camera matrix, expressed in pixels units. Equals to C = (AtDouble(0, 2), AtDouble(1, 2))

    Declaration
    public static Vector2 GetCameraPrincipalPoint(this Cv.Mat mat)
    Parameters
    Type Name Description
    Cv.Mat mat
    Returns
    Type Description
    Vector2
    | Improve this Doc View Source

    ImageType(TextureFormat)

    Returns the OpenCV type equivalent to a texture format.

    Declaration
    public static Cv.Type ImageType(TextureFormat textureFormat)
    Parameters
    Type Name Description
    TextureFormat textureFormat

    The Unity texture format.

    Returns
    Type Description
    Cv.Type

    The equivalent OpenCV type.

    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand