public class Java2DFrameUtils extends Object
FrameConverter| Constructor and Description |
|---|
Java2DFrameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
deepCopy(BufferedImage source)
Clones (deep copies the data) of a
BufferedImage. |
static BufferedImage |
toBufferedImage(Frame src) |
static BufferedImage |
toBufferedImage(opencv_core.IplImage src) |
static BufferedImage |
toBufferedImage(opencv_core.Mat src) |
static Frame |
toFrame(BufferedImage src) |
static Frame |
toFrame(opencv_core.IplImage src) |
static Frame |
toFrame(opencv_core.Mat src) |
static opencv_core.IplImage |
toIplImage(BufferedImage src) |
static opencv_core.IplImage |
toIplImage(Frame src) |
static opencv_core.IplImage |
toIplImage(opencv_core.Mat src) |
static opencv_core.Mat |
toMat(BufferedImage src) |
static opencv_core.Mat |
toMat(Frame src) |
static opencv_core.Mat |
toMat(opencv_core.IplImage src) |
public static BufferedImage deepCopy(BufferedImage source)
BufferedImage. Necessary when
converting to BufferedImages from JavaCV types to avoid re-using the same
memory locations.source - public static BufferedImage toBufferedImage(opencv_core.IplImage src)
public static BufferedImage toBufferedImage(opencv_core.Mat src)
public static BufferedImage toBufferedImage(Frame src)
public static opencv_core.IplImage toIplImage(opencv_core.Mat src)
public static opencv_core.IplImage toIplImage(Frame src)
public static opencv_core.IplImage toIplImage(BufferedImage src)
public static opencv_core.Mat toMat(opencv_core.IplImage src)
public static opencv_core.Mat toMat(Frame src)
public static opencv_core.Mat toMat(BufferedImage src)
public static Frame toFrame(opencv_core.IplImage src)
public static Frame toFrame(opencv_core.Mat src)
public static Frame toFrame(BufferedImage src)
Copyright © 2018. All rights reserved.