Class JsonImageMat
java.lang.Object
org.photonvision.vision.calibration.JsonImageMat
- All Implemented Interfaces:
Releasable
JSON-serializable image. Data is stored as base64-encoded PNG data.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJsonImageMat
(int rows, int cols, int type, String data) JsonImageMat
(org.opencv.core.Mat mat) -
Method Summary
-
Field Details
-
rows
public final int rows -
cols
public final int cols -
type
public final int type -
data
-
-
Constructor Details
-
JsonImageMat
public JsonImageMat(org.opencv.core.Mat mat) -
JsonImageMat
-
-
Method Details
-
getAsMat
public org.opencv.core.Mat getAsMat() -
release
public void release()- Specified by:
release
in interfaceReleasable
-
toString
-