@Properties(inherit=opencv_core.class) public class IplImage extends AbstractIplImage
In addition to the above restrictions, OpenCV handles ROIs differently. OpenCV functions require that the image size or ROI size of all source and destination images match exactly. On the other hand, the Intel Image Processing Library processes the area of intersection between the source and destination images (or ROIs), allowing them to vary independently.
AbstractIplImage.HeaderReleaseDeallocator, AbstractIplImage.ReleaseDeallocator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
pointer
Constructor and Description |
---|
IplImage()
Default native constructor.
|
IplImage(long size)
Native array allocator.
|
IplImage(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
align()
Alignment of image rows (4 or 8).
|
IplImage |
align(int setter) |
int |
alphaChannel()
Ignored by OpenCV
|
IplImage |
alphaChannel(int setter) |
IntPointer |
BorderConst() |
int |
BorderConst(int i)
Ditto.
|
IplImage |
BorderConst(int i,
int setter) |
IntPointer |
BorderMode() |
int |
BorderMode(int i)
Ignored by OpenCV.
|
IplImage |
BorderMode(int i,
int setter) |
BytePointer |
channelSeq() |
byte |
channelSeq(int i)
ditto
|
IplImage |
channelSeq(int i,
byte setter) |
BytePointer |
colorModel() |
byte |
colorModel(int i)
Ignored by OpenCV
|
IplImage |
colorModel(int i,
byte setter) |
int |
dataOrder()
0 - interleaved color channels, 1 - separate color channels.
|
IplImage |
dataOrder(int setter) |
int |
depth()
Pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16S,
IPL_DEPTH_32S, IPL_DEPTH_32F and IPL_DEPTH_64F are supported.
|
IplImage |
depth(int setter) |
int |
height()
Image height in pixels.
|
IplImage |
height(int setter) |
int |
ID()
version (=0)
|
IplImage |
ID(int setter) |
BytePointer |
imageData()
Pointer to aligned image data.
|
IplImage |
imageData(BytePointer setter) |
BytePointer |
imageDataOrigin()
Pointer to very origin of image data
(not necessarily aligned) -
needed for correct deallocation
|
IplImage |
imageDataOrigin(BytePointer setter) |
Pointer |
imageId()
" "
|
IplImage |
imageId(Pointer setter) |
int |
imageSize()
Image data size in bytes
(==image->height*image->widthStep
in case of interleaved data)
|
IplImage |
imageSize(int setter) |
IplImage |
maskROI()
Must be NULL.
|
IplImage |
maskROI(IplImage setter) |
int |
nChannels()
Most of OpenCV functions support 1,2,3 or 4 channels
|
IplImage |
nChannels(int setter) |
int |
nSize()
sizeof(IplImage)
|
IplImage |
nSize(int setter) |
int |
origin()
0 - top-left origin,
1 - bottom-left origin (Windows bitmaps style).
|
IplImage |
origin(int setter) |
IplImage |
position(long position) |
IplROI |
roi()
Image ROI.
|
IplImage |
roi(IplROI setter) |
IplTileInfo |
tileInfo()
" "
|
IplImage |
tileInfo(IplTileInfo setter) |
int |
width()
Image width in pixels.
|
IplImage |
width(int setter) |
int |
widthStep()
Size of aligned image row in bytes.
|
IplImage |
widthStep(int setter) |
arrayChannels, arrayData, arrayDepth, arrayHeight, arrayOrigin, arrayOrigin, arrayROI, arraySize, arrayStep, arrayWidth, asCvMat, clone, create, create, create, create, create, createCompatible, createHeader, createHeader, createHeader, createHeader, createIfNotCompatible, release
createBuffer, createBuffer, createIndexer, createIndexer, cvSize, getByteBuffer, getByteBuffer, getDoubleBuffer, getDoubleBuffer, getFloatBuffer, getFloatBuffer, getIntBuffer, getIntBuffer, getShortBuffer, getShortBuffer, highValue, toString
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, totalBytes, totalPhysicalBytes, withDeallocator, zero
public IplImage()
public IplImage(long size)
Pointer.position(long)
.public IplImage(Pointer p)
Pointer.Pointer(Pointer)
.public int nSize()
public IplImage nSize(int setter)
public int ID()
public IplImage ID(int setter)
public int nChannels()
nChannels
in class AbstractIplImage
public IplImage nChannels(int setter)
public int alphaChannel()
public IplImage alphaChannel(int setter)
public int depth()
depth
in class AbstractIplImage
public IplImage depth(int setter)
public IplImage colorModel(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer colorModel()
public IplImage channelSeq(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer channelSeq()
public int dataOrder()
public IplImage dataOrder(int setter)
public int origin()
origin
in class AbstractIplImage
public IplImage origin(int setter)
origin
in class AbstractIplImage
public int align()
public IplImage align(int setter)
public int width()
width
in class AbstractIplImage
public IplImage width(int setter)
public int height()
height
in class AbstractIplImage
public IplImage height(int setter)
public IplROI roi()
roi
in class AbstractIplImage
public IplImage maskROI()
public Pointer imageId()
public IplTileInfo tileInfo()
public IplImage tileInfo(IplTileInfo setter)
public int imageSize()
imageSize
in class AbstractIplImage
public IplImage imageSize(int setter)
@Cast(value="char*") public BytePointer imageData()
imageData
in class AbstractIplImage
public IplImage imageData(BytePointer setter)
public int widthStep()
widthStep
in class AbstractIplImage
public IplImage widthStep(int setter)
public int BorderMode(int i)
public IplImage BorderMode(int i, int setter)
@MemberGetter public IntPointer BorderMode()
public int BorderConst(int i)
public IplImage BorderConst(int i, int setter)
@MemberGetter public IntPointer BorderConst()
@Cast(value="char*") public BytePointer imageDataOrigin()
public IplImage imageDataOrigin(BytePointer setter)
Copyright © 2020. All rights reserved.