Class JsonImageMat

java.lang.Object
org.photonvision.vision.calibration.JsonImageMat
All Implemented Interfaces:
Releasable

public class JsonImageMat extends Object implements Releasable
JSON-serializable image. Data is stored as base64-encoded PNG data.
  • Field Details

    • rows

      public final int rows
    • cols

      public final int cols
    • type

      public final int type
    • data

      public final String data
  • Constructor Details

    • JsonImageMat

      public JsonImageMat(org.opencv.core.Mat mat)
    • JsonImageMat

      public JsonImageMat(int rows, int cols, int type, String data)
  • Method Details

    • getAsMat

      public org.opencv.core.Mat getAsMat()
    • release

      public void release()
      Specified by:
      release in interface Releasable
    • toString

      public String toString()
      Overrides:
      toString in class Object