@Namespace(value="cv::mcc") @Properties(inherit=opencv_mcc.class) public class CCheckerDraw extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CCheckerDraw(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static CCheckerDraw |
create(CChecker pChecker) |
static CCheckerDraw |
create(CChecker pChecker,
Scalar color,
int thickness)
\brief Create a new CCheckerDraw object.
|
void |
draw(GpuMat img) |
void |
draw(Mat img)
\brief Draws the checker to the given image.
|
void |
draw(UMat img) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CCheckerDraw(Pointer p)
Pointer(Pointer)
.public void draw(@ByVal Mat img)
img
- image in color space BGR@opencv_core.Ptr public static CCheckerDraw create(@opencv_core.Ptr CChecker pChecker, @ByVal(nullValue="cv::Scalar(( 0), ( 250), (0), 0)") Scalar color, int thickness)
pChecker
- The checker which will be drawn by this object.color
- The color by with which the squares of the checker
will be drawnthickness
- The thickness with which the sqaures will be
drawn@opencv_core.Ptr public static CCheckerDraw create(@opencv_core.Ptr CChecker pChecker)
Copyright © 2024. All rights reserved.