@Namespace(value="cv::saliency") @NoOffset @Properties(inherit=opencv_saliency.class) public class Saliency extends Algorithm
/************************************ Saliency Base Class
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Saliency(Algorithm pointer)
Downcast constructor.
|
Saliency(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(Saliency pointer) |
boolean |
computeSaliency(GpuMat image,
GpuMat saliencyMap) |
boolean |
computeSaliency(Mat image,
Mat saliencyMap)
\brief Compute the saliency
|
boolean |
computeSaliency(UMat image,
UMat saliencyMap) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, write
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 Saliency(Pointer p)
Pointer(Pointer)
.public Saliency(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(Saliency pointer)
@Cast(value="bool") public boolean computeSaliency(@ByVal Mat image, @ByVal Mat saliencyMap)
image
- The image.saliencyMap
- The computed saliency map.@Cast(value="bool") public boolean computeSaliency(@ByVal UMat image, @ByVal UMat saliencyMap)
Copyright © 2024. All rights reserved.