MFCameraIntrinsic_PinholeCameraModel structure (mfapi.h)

Represents a pinhole camera model.

Syntax

typedef struct _MFCameraIntrinsic_PinholeCameraModel {
  MF_FLOAT2 FocalLength;
  MF_FLOAT2 PrincipalPoint;
} MFCameraIntrinsic_PinholeCameraModel;

Members

FocalLength

The focal length of the camera.

PrincipalPoint

The principal point of the camera.

Remarks

For square pixels, the X and Y fields of the FocalLength should be the same. The units of the focal length fields are pixels per meter, so dividing the width and height of the image by the X and Y fields of the focal length, respectively, yields the physical size in meters of the image at a distance of one meter from the sensor.

The PrincipalPoint field is expressed in pixels, not in normalized coordinates. The origin [0,0] is the bottom, left corner of the image.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header mfapi.h

See also

Media Foundation Structures