OpenCV for Unity
2.6.2
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
Processing params of image to blob. More...
Public Member Functions | |
IntPtr | getNativeObjAddr () |
Image2BlobParams () | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB, int ddepth, Scalar borderValue) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB, int ddepth) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean) | |
Image2BlobParams (Scalar scalefactor, Size size) | |
Image2BlobParams (Scalar scalefactor) | |
Rect | blobRectToImageRect (Rect rBlob, Size size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. More... | |
void | blobRectsToImageRects (MatOfRect rBlob, MatOfRect rImg, Size size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. More... | |
Scalar | get_scalefactor () |
void | set_scalefactor (Scalar scalefactor) |
Size | get_size () |
void | set_size (Size size) |
Scalar | get_mean () |
void | set_mean (Scalar mean) |
bool | get_swapRB () |
void | set_swapRB (bool swapRB) |
int | get_ddepth () |
void | set_ddepth (int ddepth) |
Scalar | get_borderValue () |
void | set_borderValue (Scalar borderValue) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static Image2BlobParams | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
Processing params of image to blob.
It includes all possible image processing operations and corresponding parameters.
scalefactor
and mean
are (input - mean) * scalefactor. The order and usage of scalefactor
, size
, mean
, swapRB
, and ddepth
are consistent with the function of blobFromImage. OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | Scalar | scalefactor, |
Size | size, | ||
Scalar | mean, | ||
bool | swapRB, | ||
int | ddepth, | ||
Scalar | borderValue | ||
) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | Scalar | scalefactor, |
Size | size, | ||
Scalar | mean, | ||
bool | swapRB, | ||
int | ddepth | ||
) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | Scalar | scalefactor, |
Size | size, | ||
Scalar | mean, | ||
bool | swapRB | ||
) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | Scalar | scalefactor, |
Size | size, | ||
Scalar | mean | ||
) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | Scalar | scalefactor | ) |
|
static |
void OpenCVForUnity.DnnModule.Image2BlobParams.blobRectsToImageRects | ( | MatOfRect | rBlob, |
MatOfRect | rImg, | ||
Size | size | ||
) |
Get rectangle coordinates in original image system from rectangle in blob coordinates.
rBlob | rect in blob coordinates. |
rImg | result rect in image coordinates. |
size | original input image size. |
Get rectangle coordinates in original image system from rectangle in blob coordinates.
rBlob | rect in blob coordinates. |
size | original input image size. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.DisposableOpenCVObject.
Scalar OpenCVForUnity.DnnModule.Image2BlobParams.get_borderValue | ( | ) |
int OpenCVForUnity.DnnModule.Image2BlobParams.get_ddepth | ( | ) |
Scalar OpenCVForUnity.DnnModule.Image2BlobParams.get_mean | ( | ) |
Scalar OpenCVForUnity.DnnModule.Image2BlobParams.get_scalefactor | ( | ) |
Size OpenCVForUnity.DnnModule.Image2BlobParams.get_size | ( | ) |
bool OpenCVForUnity.DnnModule.Image2BlobParams.get_swapRB | ( | ) |
IntPtr OpenCVForUnity.DnnModule.Image2BlobParams.getNativeObjAddr | ( | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_borderValue | ( | Scalar | borderValue | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_ddepth | ( | int | ddepth | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_mean | ( | Scalar | mean | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_scalefactor | ( | Scalar | scalefactor | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_size | ( | Size | size | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_swapRB | ( | bool | swapRB | ) |