public abstract class OpenCVFrameConverter<F> extends FrameConverter<F>
Frame and opencv_core.IplImage or opencv_core.Mat.
Since this is an abstract class, one must choose between two concrete classes:
OpenCVFrameConverter.ToIplImage or OpenCVFrameConverter.ToMat.| Modifier and Type | Class and Description |
|---|---|
static class |
OpenCVFrameConverter.ToIplImage |
static class |
OpenCVFrameConverter.ToMat |
frame| Constructor and Description |
|---|
OpenCVFrameConverter() |
| Modifier and Type | Method and Description |
|---|---|
Frame |
convert(opencv_core.IplImage img) |
Frame |
convert(opencv_core.Mat mat) |
opencv_core.IplImage |
convertToIplImage(Frame frame) |
opencv_core.Mat |
convertToMat(Frame frame) |
static int |
getFrameDepth(int depth) |
static int |
getIplImageDepth(int depth) |
static int |
getMatDepth(int depth) |
convert, convertpublic static int getFrameDepth(int depth)
public static int getIplImageDepth(int depth)
public opencv_core.IplImage convertToIplImage(Frame frame)
public Frame convert(opencv_core.IplImage img)
public static int getMatDepth(int depth)
public opencv_core.Mat convertToMat(Frame frame)
public Frame convert(opencv_core.Mat mat)
Copyright © 2018. All rights reserved.