OpenCV for Unity 2.6.4
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 | |
Image2BlobParams () | |
Image2BlobParams (in Vec4d scalefactor) | |
Image2BlobParams (in Vec4d scalefactor, in Vec2d size) | |
Image2BlobParams (in Vec4d scalefactor, in Vec2d size, in Vec4d mean) | |
Image2BlobParams (in Vec4d scalefactor, in Vec2d size, in Vec4d mean, bool swapRB) | |
Image2BlobParams (in Vec4d scalefactor, in Vec2d size, in Vec4d mean, bool swapRB, int ddepth) | |
Image2BlobParams (in Vec4d scalefactor, in Vec2d size, in Vec4d mean, bool swapRB, int ddepth, in Vec4d borderValue) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor, in(double width, double height) size) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor, in(double width, double height) size, in(double v0, double v1, double v2, double v3) mean) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor, in(double width, double height) size, in(double v0, double v1, double v2, double v3) mean, bool swapRB) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor, in(double width, double height) size, in(double v0, double v1, double v2, double v3) mean, bool swapRB, int ddepth) | |
Image2BlobParams (in(double v0, double v1, double v2, double v3) scalefactor, in(double width, double height) size, in(double v0, double v1, double v2, double v3) mean, bool swapRB, int ddepth, in(double v0, double v1, double v2, double v3) borderValue) | |
Image2BlobParams (Scalar scalefactor) | |
Image2BlobParams (Scalar scalefactor, Size size) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB, int ddepth) | |
Image2BlobParams (Scalar scalefactor, Size size, Scalar mean, bool swapRB, int ddepth, Scalar borderValue) | |
void | blobRectsToImageRects (MatOfRect rBlob, MatOfRect rImg, in Vec2d size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
void | blobRectsToImageRects (MatOfRect rBlob, MatOfRect rImg, in(double width, double height) size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
void | blobRectsToImageRects (MatOfRect rBlob, MatOfRect rImg, Size size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
Rect | blobRectToImageRect (Rect rBlob, Size size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
int int int int height | blobRectToImageRectAsValueTuple (in(int x, int y, int width, int height) rBlob, in(double width, double height) size) |
Vec4i | blobRectToImageRectAsVec4i (in Vec4i rBlob, in Vec2d size) |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
Scalar | get_borderValue () |
double double double double v3 | get_borderValueAsValueTuple () |
Vec4d | get_borderValueAsVec4d () |
int | get_ddepth () |
Scalar | get_mean () |
double double double double v3 | get_meanAsValueTuple () |
Vec4d | get_meanAsVec4d () |
Scalar | get_scalefactor () |
double double double double v3 | get_scalefactorAsValueTuple () |
Vec4d | get_scalefactorAsVec4d () |
Size | get_size () |
double double height | get_sizeAsValueTuple () |
Vec2d | get_sizeAsVec2d () |
bool | get_swapRB () |
IntPtr | getNativeObjAddr () |
void | set_borderValue (in Vec4d borderValue) |
void | set_borderValue (in(double v0, double v1, double v2, double v3) borderValue) |
void | set_borderValue (Scalar borderValue) |
void | set_ddepth (int ddepth) |
void | set_mean (in Vec4d mean) |
void | set_mean (in(double v0, double v1, double v2, double v3) mean) |
void | set_mean (Scalar mean) |
void | set_scalefactor (in Vec4d scalefactor) |
void | set_scalefactor (in(double v0, double v1, double v2, double v3) scalefactor) |
void | set_scalefactor (Scalar scalefactor) |
void | set_size (in Vec2d size) |
void | set_size (in(double width, double height) size) |
void | set_size (Size size) |
void | set_swapRB (bool swapRB) |
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) |
Public Attributes | |
double | v0 |
double double | v1 |
double double double | v2 |
int int int | width |
double | width |
int | x |
Get rectangle coordinates in original image system from rectangle in blob coordinates. | |
int int | y |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
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 | ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in Vec4d | scalefactor, |
in Vec2d | size, | ||
in Vec4d | mean, | ||
bool | swapRB, | ||
int | ddepth, | ||
in Vec4d | borderValue ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in Vec4d | scalefactor, |
in Vec2d | size, | ||
in Vec4d | mean, | ||
bool | swapRB, | ||
int | ddepth ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in Vec4d | scalefactor, |
in Vec2d | size, | ||
in Vec4d | mean, | ||
bool | swapRB ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in Vec4d | scalefactor, |
in Vec2d | size, | ||
in Vec4d | mean ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in Vec4d | scalefactor | ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor, |
in(double width, double height) | size, | ||
in(double v0, double v1, double v2, double v3) | mean, | ||
bool | swapRB, | ||
int | ddepth, | ||
in(double v0, double v1, double v2, double v3) | borderValue ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor, |
in(double width, double height) | size, | ||
in(double v0, double v1, double v2, double v3) | mean, | ||
bool | swapRB, | ||
int | ddepth ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor, |
in(double width, double height) | size, | ||
in(double v0, double v1, double v2, double v3) | mean, | ||
bool | swapRB ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor, |
in(double width, double height) | size, | ||
in(double v0, double v1, double v2, double v3) | mean ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor, |
in(double width, double height) | size ) |
OpenCVForUnity.DnnModule.Image2BlobParams.Image2BlobParams | ( | in(double v0, double v1, double v2, double v3) | scalefactor | ) |
|
static |
void OpenCVForUnity.DnnModule.Image2BlobParams.blobRectsToImageRects | ( | MatOfRect | rBlob, |
MatOfRect | rImg, | ||
in Vec2d | 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. |
void OpenCVForUnity.DnnModule.Image2BlobParams.blobRectsToImageRects | ( | MatOfRect | rBlob, |
MatOfRect | rImg, | ||
in(double width, double height) | 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. |
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. |
int int int int height OpenCVForUnity.DnnModule.Image2BlobParams.blobRectToImageRectAsValueTuple | ( | in(int x, int y, int width, int height) | rBlob, |
in(double width, double height) | size ) |
Vec4i OpenCVForUnity.DnnModule.Image2BlobParams.blobRectToImageRectAsVec4i | ( | in Vec4i | rBlob, |
in Vec2d | 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 | ( | ) |
double double double double v3 OpenCVForUnity.DnnModule.Image2BlobParams.get_borderValueAsValueTuple | ( | ) |
Vec4d OpenCVForUnity.DnnModule.Image2BlobParams.get_borderValueAsVec4d | ( | ) |
int OpenCVForUnity.DnnModule.Image2BlobParams.get_ddepth | ( | ) |
Scalar OpenCVForUnity.DnnModule.Image2BlobParams.get_mean | ( | ) |
double double double double v3 OpenCVForUnity.DnnModule.Image2BlobParams.get_meanAsValueTuple | ( | ) |
Vec4d OpenCVForUnity.DnnModule.Image2BlobParams.get_meanAsVec4d | ( | ) |
Scalar OpenCVForUnity.DnnModule.Image2BlobParams.get_scalefactor | ( | ) |
double double double double v3 OpenCVForUnity.DnnModule.Image2BlobParams.get_scalefactorAsValueTuple | ( | ) |
Vec4d OpenCVForUnity.DnnModule.Image2BlobParams.get_scalefactorAsVec4d | ( | ) |
Size OpenCVForUnity.DnnModule.Image2BlobParams.get_size | ( | ) |
double double height OpenCVForUnity.DnnModule.Image2BlobParams.get_sizeAsValueTuple | ( | ) |
Vec2d OpenCVForUnity.DnnModule.Image2BlobParams.get_sizeAsVec2d | ( | ) |
bool OpenCVForUnity.DnnModule.Image2BlobParams.get_swapRB | ( | ) |
IntPtr OpenCVForUnity.DnnModule.Image2BlobParams.getNativeObjAddr | ( | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_borderValue | ( | in Vec4d | borderValue | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_borderValue | ( | in(double v0, double v1, double v2, double v3) | borderValue | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_borderValue | ( | Scalar | borderValue | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_ddepth | ( | int | ddepth | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_mean | ( | in Vec4d | mean | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_mean | ( | in(double v0, double v1, double v2, double v3) | mean | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_mean | ( | Scalar | mean | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_scalefactor | ( | in Vec4d | scalefactor | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_scalefactor | ( | in(double v0, double v1, double v2, double v3) | scalefactor | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_scalefactor | ( | Scalar | scalefactor | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_size | ( | in Vec2d | size | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_size | ( | in(double width, double height) | size | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_size | ( | Size | size | ) |
void OpenCVForUnity.DnnModule.Image2BlobParams.set_swapRB | ( | bool | swapRB | ) |
double OpenCVForUnity.DnnModule.Image2BlobParams.v0 |
double double OpenCVForUnity.DnnModule.Image2BlobParams.v1 |
double double double OpenCVForUnity.DnnModule.Image2BlobParams.v2 |
int int int OpenCVForUnity.DnnModule.Image2BlobParams.width |
double OpenCVForUnity.DnnModule.Image2BlobParams.width |
int OpenCVForUnity.DnnModule.Image2BlobParams.x |
Get rectangle coordinates in original image system from rectangle in blob coordinates.
rBlob | rect in blob coordinates. |
size | original input image size. |
int int OpenCVForUnity.DnnModule.Image2BlobParams.y |