MediaFrameSource.TryGetCameraIntrinsics(MediaFrameFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to retrieve the media frame source's camera intrinsics, which describe a camera's distortion model, for the specified MediaFrameFormat.
public:
virtual CameraIntrinsics ^ TryGetCameraIntrinsics(MediaFrameFormat ^ format) = TryGetCameraIntrinsics;
CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat const& format);
public CameraIntrinsics TryGetCameraIntrinsics(MediaFrameFormat format);
function tryGetCameraIntrinsics(format)
Public Function TryGetCameraIntrinsics (format As MediaFrameFormat) As CameraIntrinsics
Parameters
- format
- MediaFrameFormat
The media frame format for which the camera intrinsics should be retrieved.
Returns
An object representing the camera intrinsics for the frame source, if they can be retrieved; otherwise, null.