Package org.aoju.bus.image.nimble.opencv
Class ImageCV
java.lang.Object
org.opencv.core.Mat
org.aoju.bus.image.nimble.opencv.ImageCV
- All Implemented Interfaces:
AutoCloseable,ImageSize,PlanarImage
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.opencv.core.Mat
nativeObj -
Constructor Summary
ConstructorsConstructorDescriptionImageCV()ImageCV(int rows, int cols, int type) ImageCV(int rows, int cols, int type, org.opencv.core.Scalar s) ImageCV(org.opencv.core.Mat m, org.opencv.core.Range rowRange) ImageCV(org.opencv.core.Mat m, org.opencv.core.Range rowRange, org.opencv.core.Range colRange) ImageCV(org.opencv.core.Mat m, org.opencv.core.Rect roi) ImageCV(org.opencv.core.Size size, int type) ImageCV(org.opencv.core.Size size, int type, org.opencv.core.Scalar s) -
Method Summary
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, at, at, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copySize, copyTo, copyTo, create, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, finalize, get, get, get, get, get, get, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, matMul, mul, mul, ones, ones, ones, push_back, put, put, put, put, put, put, put, put, put, put, put, put, release, reshape, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, size, step1, step1, submat, submat, submat, submat, t, toString, total, type, width, zeros, zeros, zeros
-
Constructor Details
-
ImageCV
public ImageCV() -
ImageCV
public ImageCV(int rows, int cols, int type) -
ImageCV
public ImageCV(org.opencv.core.Size size, int type, org.opencv.core.Scalar s) -
ImageCV
public ImageCV(int rows, int cols, int type, org.opencv.core.Scalar s) -
ImageCV
public ImageCV(org.opencv.core.Mat m, org.opencv.core.Range rowRange, org.opencv.core.Range colRange) -
ImageCV
public ImageCV(org.opencv.core.Mat m, org.opencv.core.Range rowRange) -
ImageCV
public ImageCV(org.opencv.core.Mat m, org.opencv.core.Rect roi) -
ImageCV
public ImageCV(org.opencv.core.Size size, int type)
-
-
Method Details
-
toMat
-
toImageCV
-
physicalBytes
public long physicalBytes()- Specified by:
physicalBytesin interfaceImageSize
-
toMat
public org.opencv.core.Mat toMat()- Specified by:
toMatin interfacePlanarImage
-
toImageCV
- Specified by:
toImageCVin interfacePlanarImage
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePlanarImage
-