@Namespace(value="cv::saliency") @Properties(inherit=opencv_saliency.class) public class StaticSaliencyFineGrained extends StaticSaliency
This method calculates saliency based on center-surround differences. High resolution saliency maps are generated in real time by using integral images.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StaticSaliencyFineGrained() |
StaticSaliencyFineGrained(long size)
Native array allocator.
|
StaticSaliencyFineGrained(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
computeSaliency(GpuMat image,
GpuMat saliencyMap) |
boolean |
computeSaliency(Mat image,
Mat saliencyMap)
\brief Compute the saliency
|
boolean |
computeSaliency(UMat image,
UMat saliencyMap) |
static StaticSaliencyFineGrained |
create() |
StaticSaliencyFineGrained |
position(long position) |
computeBinaryMap, computeBinaryMap, computeBinaryMap
clear, empty, getDefaultName, read, save, save, write, write, write
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, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public StaticSaliencyFineGrained(Pointer p)
Pointer.Pointer(Pointer)
.public StaticSaliencyFineGrained(long size)
Pointer.position(long)
.public StaticSaliencyFineGrained()
public StaticSaliencyFineGrained position(long position)
@opencv_core.Ptr public static StaticSaliencyFineGrained create()
@Cast(value="bool") public boolean computeSaliency(@ByVal Mat image, @ByVal Mat saliencyMap)
Saliency
computeSaliency
in class Saliency
image
- The image.saliencyMap
- The computed saliency map.@Cast(value="bool") public boolean computeSaliency(@ByVal UMat image, @ByVal UMat saliencyMap)
computeSaliency
in class Saliency
Copyright © 2020. All rights reserved.