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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for