@Namespace(value="dai") @Properties(inherit=depthai.class) public class SpatialLocations extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SpatialLocations()
Default native constructor.
|
SpatialLocations(long size)
Native array allocator.
|
SpatialLocations(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
SpatialLocationCalculatorConfigData |
config()
Configuration for selected ROI
|
SpatialLocations |
config(SpatialLocationCalculatorConfigData setter) |
float |
depthAverage()
Average of depth values inside the ROI between the specified thresholds in config.
|
SpatialLocations |
depthAverage(float setter) |
int |
depthAveragePixelCount()
Number of depth values used in calculations.
|
SpatialLocations |
depthAveragePixelCount(int setter) |
short |
depthMax()
Maximum of depth values inside the ROI between the specified thresholds in config.
|
SpatialLocations |
depthMax(short setter) |
float |
depthMedian()
Median of depth values inside the ROI between the specified thresholds in config.
|
SpatialLocations |
depthMedian(float setter) |
short |
depthMin()
Minimum of depth values inside the ROI between the specified thresholds in config.
|
SpatialLocations |
depthMin(short setter) |
float |
depthMode()
Most frequent of depth values inside the ROI between the specified thresholds in config.
|
SpatialLocations |
depthMode(float setter) |
SpatialLocations |
getPointer(long i) |
SpatialLocations |
position(long position) |
Point3f |
spatialCoordinates()
Spatial coordinates - x,y,z; x,y are the relative positions of the center of ROI to the center of depth map
|
SpatialLocations |
spatialCoordinates(Point3f setter) |
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 SpatialLocations()
public SpatialLocations(long size)
Pointer.position(long)
.public SpatialLocations(Pointer p)
Pointer(Pointer)
.public SpatialLocations position(long position)
public SpatialLocations getPointer(long i)
getPointer
in class Pointer
@ByRef public SpatialLocationCalculatorConfigData config()
public SpatialLocations config(SpatialLocationCalculatorConfigData setter)
public float depthAverage()
public SpatialLocations depthAverage(float setter)
public float depthMode()
public SpatialLocations depthMode(float setter)
public float depthMedian()
public SpatialLocations depthMedian(float setter)
@Cast(value="std::uint16_t") public short depthMin()
public SpatialLocations depthMin(short setter)
@Cast(value="std::uint16_t") public short depthMax()
public SpatialLocations depthMax(short setter)
@Cast(value="std::uint32_t") public int depthAveragePixelCount()
public SpatialLocations depthAveragePixelCount(int setter)
@ByRef public Point3f spatialCoordinates()
public SpatialLocations spatialCoordinates(Point3f setter)
Copyright © 2024. All rights reserved.