OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Extensions.SourceToMat.SourceToMatOpenOptionsProjection Class Reference

Projects one-shot *OpenOptions DTO values onto matching Requested* source properties. More...

Static Public Member Functions

static void Apply (CameraOpenOptions options, ICameraMatSource target)
 Copies CameraOpenOptions fields onto ICameraMatSource.Requested* properties.
 
static void Apply (ImageFileOpenOptions options, IImageFileMatSource target)
 Copies ImageFileOpenOptions fields onto IImageFileMatSource properties.
 
static void Apply (VideoCaptureOpenOptions options, VideoCaptureMatSource target)
 Copies VideoCaptureOpenOptions fields onto VideoCaptureMatSource properties and applies the open-only API preference to the underlying grabber.
 
static void Apply (VideoFileOpenOptions options, IVideoFileMatSource target)
 Copies VideoFileOpenOptions fields onto IVideoFileMatSource properties.
 

Detailed Description

Projects one-shot *OpenOptions DTO values onto matching Requested* source properties.

Member Function Documentation

◆ Apply() [1/4]

static void OpenCVForUnity.Extensions.SourceToMat.SourceToMatOpenOptionsProjection.Apply ( CameraOpenOptions options,
ICameraMatSource target )
static

Copies CameraOpenOptions fields onto ICameraMatSource.Requested* properties.

Parameters
optionsThe camera open options to apply.
targetThe camera source that receives the projected values.

◆ Apply() [2/4]

static void OpenCVForUnity.Extensions.SourceToMat.SourceToMatOpenOptionsProjection.Apply ( ImageFileOpenOptions options,
IImageFileMatSource target )
static

Copies ImageFileOpenOptions fields onto IImageFileMatSource properties.

Parameters
optionsThe image open options to apply.
targetThe image source that receives the projected values.

◆ Apply() [3/4]

static void OpenCVForUnity.Extensions.SourceToMat.SourceToMatOpenOptionsProjection.Apply ( VideoCaptureOpenOptions options,
VideoCaptureMatSource target )
static

Copies VideoCaptureOpenOptions fields onto VideoCaptureMatSource properties and applies the open-only API preference to the underlying grabber.

Parameters
optionsThe video capture open options to apply.
targetThe video capture source that receives the projected values.

◆ Apply() [4/4]

static void OpenCVForUnity.Extensions.SourceToMat.SourceToMatOpenOptionsProjection.Apply ( VideoFileOpenOptions options,
IVideoFileMatSource target )
static

Copies VideoFileOpenOptions fields onto IVideoFileMatSource properties.

Parameters
optionsThe video file open options to apply.
targetThe video file source that receives the projected values.

The documentation for this class was generated from the following file: