@Namespace(value="cv::ocl") @NoOffset @Properties(inherit=opencv_core.class) public class Image2D extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Image2D() |
Image2D(Image2D i) |
Image2D(long size)
Native array allocator.
|
Image2D(Pointer p)
Pointer cast constructor.
|
Image2D(UMat src) |
Image2D(UMat src,
boolean norm,
boolean alias) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canCreateAlias(UMat u)
Indicates if creating an aliased image should succeed.
|
Image2D |
getPointer(long i) |
static boolean |
isFormatSupported(int depth,
int cn,
boolean norm)
Indicates if the image format is supported.
|
Image2D |
position(long position) |
Pointer |
ptr() |
Image2D |
put(Image2D i) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Image2D(Pointer p)
Pointer(Pointer)
.public Image2D(long size)
Pointer.position(long)
.public Image2D()
public Image2D(@Const @ByRef UMat src, @Cast(value="bool") boolean norm, @Cast(value="bool") boolean alias)
src
- UMat object from which to get image properties and datanorm
- flag to enable the use of normalized channel data typesalias
- flag indicating that the image should alias the src UMat. If true, changes to the
image or src will be reflected in both objects.public Image2D getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") public static boolean canCreateAlias(@Const @ByRef UMat u)
@Cast(value="bool") public static boolean isFormatSupported(int depth, int cn, @Cast(value="bool") boolean norm)
public Pointer ptr()
Copyright © 2024. All rights reserved.