public class IplImage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
IPL_DEPTH_16S |
static int |
IPL_DEPTH_16U |
static int |
IPL_DEPTH_1U |
static int |
IPL_DEPTH_32F |
static int |
IPL_DEPTH_32S |
static int |
IPL_DEPTH_8S |
static int |
IPL_DEPTH_8U |
static int |
IPL_DEPTH_SIGN |
Constructor and Description |
---|
IplImage(int width,
int height)
Make an IplImage instance by calling cvCreateImage.
|
IplImage(int width,
int height,
int depth,
int nch)
Make an IplImage instance by calling cvCreateImage.
|
IplImage(IplImage img)
Make a clone of IplImage instance by calling cvCloneImage.
|
Modifier and Type | Method and Description |
---|---|
int |
align() |
int |
channelSeq() |
int |
colorMode() |
int |
dataOrder() |
int |
depth() |
void |
dispose()
Release the resource allocated for this IplImage by calling
cvReleaseImage.
|
java.nio.ByteBuffer |
getDirect()
Returns a ByteBuffer instance that points the imageData of this IplImage object.
|
java.awt.image.BufferedImage |
getImage()
Copies the current image to a BufferedImage instance and return it.
|
int |
height() |
int |
ID() |
int |
imageSize() |
int |
nChannels() |
int |
nSize() |
int |
origin() |
void |
setImage(java.awt.image.BufferedImage bimg)
Copies a BufferedImage instance to this IplImage instance
|
int |
width() |
int |
widthStep() |
public static final int IPL_DEPTH_SIGN
public static final int IPL_DEPTH_1U
public static final int IPL_DEPTH_8U
public static final int IPL_DEPTH_16U
public static final int IPL_DEPTH_32F
public static final int IPL_DEPTH_8S
public static final int IPL_DEPTH_16S
public static final int IPL_DEPTH_32S
public IplImage(int width, int height)
public IplImage(int width, int height, int depth, int nch)
public IplImage(IplImage img)
public int nSize()
public int ID()
public int nChannels()
public int depth()
public int dataOrder()
public int origin()
public int align()
public int width()
public int height()
public int imageSize()
public int widthStep()
public int colorMode()
public int channelSeq()
public java.nio.ByteBuffer getDirect()
public java.awt.image.BufferedImage getImage()
public void setImage(java.awt.image.BufferedImage bimg)
public void dispose()