|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.naokishibata.ocvimgio.IplImage
public class IplImage
An instance of this class encapsulates an IplImage instance.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 an 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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public IplImage(int width, int height)
public IplImage(int width, int height, int depth, int nch)
public IplImage(IplImage img)
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |