@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class StereoDepthProperties extends StereoDepthPropertiesSerializable
Modifier and Type | Class and Description |
---|---|
static class |
StereoDepthProperties.RectificationMesh |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
AUTO |
Constructor and Description |
---|
StereoDepthProperties()
Default native constructor.
|
StereoDepthProperties(long size)
Native array allocator.
|
StereoDepthProperties(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FloatOptional |
alphaScaling()
Free scaling parameter between 0 (when all the pixels in the undistorted image are valid)
and 1 (when all the source image pixels are retained in the undistorted image).
|
StereoDepthProperties |
alphaScaling(FloatOptional setter) |
static int |
AUTO() |
FloatOptional |
baseline()
Override baseline from calibration.
|
StereoDepthProperties |
baseline(FloatOptional setter) |
depthai.CameraBoardSocket |
depthAlignCamera()
Which camera to align disparity/depth to.
|
StereoDepthProperties |
depthAlignCamera(depthai.CameraBoardSocket setter) |
BoolOptional |
depthAlignmentUseSpecTranslation()
Use baseline information for depth alignment from specs (design data) or from calibration.
|
StereoDepthProperties |
depthAlignmentUseSpecTranslation(BoolOptional setter) |
BoolOptional |
disparityToDepthUseSpecTranslation()
Use baseline information for disparity to depth conversion from specs (design data) or from calibration.
|
StereoDepthProperties |
disparityToDepthUseSpecTranslation(BoolOptional setter) |
boolean |
enableRectification()
Enable stereo rectification/dewarp or not.
|
StereoDepthProperties |
enableRectification(boolean setter) |
boolean |
enableRuntimeStereoModeSwitch()
Whether to enable switching stereo modes at runtime or not.
|
StereoDepthProperties |
enableRuntimeStereoModeSwitch(boolean setter) |
FloatOptional |
focalLength()
Override focal length from calibration.
|
StereoDepthProperties |
focalLength(FloatOptional setter) |
boolean |
focalLengthFromCalibration()
Whether to use horizontal focal length from calibration intrinsics (fx) or calculate based on calibration FOV.
|
StereoDepthProperties |
focalLengthFromCalibration(boolean setter) |
StereoDepthProperties |
getPointer(long i) |
IntOptional |
height()
Input frame height.
|
StereoDepthProperties |
height(IntOptional setter) |
RawStereoDepthConfig |
initialConfig()
Initial stereo config
|
StereoDepthProperties |
initialConfig(RawStereoDepthConfig setter) |
StereoDepthProperties.RectificationMesh |
mesh()
Specify a direct warp mesh to be used for rectification,
instead of intrinsics + extrinsic matrices
|
StereoDepthProperties |
mesh(StereoDepthProperties.RectificationMesh setter) |
int |
numFramesPool()
Num frames in output pool
|
StereoDepthProperties |
numFramesPool(int setter) |
int |
numPostProcessingMemorySlices()
Number of memory slices reserved for stereo depth post processing.
|
StereoDepthProperties |
numPostProcessingMemorySlices(int setter) |
int |
numPostProcessingShaves()
Number of shaves reserved for stereo depth post processing.
|
StereoDepthProperties |
numPostProcessingShaves(int setter) |
IntOptional |
outHeight()
Output disparity/depth height.
|
StereoDepthProperties |
outHeight(IntOptional setter) |
boolean |
outKeepAspectRatio()
Whether to keep aspect ratio of the input (rectified) or not
|
StereoDepthProperties |
outKeepAspectRatio(boolean setter) |
IntOptional |
outWidth()
Output disparity/depth width.
|
StereoDepthProperties |
outWidth(IntOptional setter) |
StereoDepthProperties |
position(long position) |
BoolOptional |
rectificationUseSpecTranslation()
Obtain rectification matrices using spec translation (design data) or from calibration in calculations.
|
StereoDepthProperties |
rectificationUseSpecTranslation(BoolOptional setter) |
int |
rectifyEdgeFillColor()
Fill color for missing data at frame edges - grayscale 0..255, or -1 to replicate pixels
|
StereoDepthProperties |
rectifyEdgeFillColor(int setter) |
BoolOptional |
useHomographyRectification()
Use 3x3 homography matrix for stereo rectification instead of sparse mesh generated on device.
|
StereoDepthProperties |
useHomographyRectification(BoolOptional setter) |
IntOptional |
width()
Input frame width.
|
StereoDepthProperties |
width(IntOptional setter) |
clone, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize
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 StereoDepthProperties()
public StereoDepthProperties(long size)
Pointer.position(long)
.public StereoDepthProperties(Pointer p)
Pointer(Pointer)
.public StereoDepthProperties position(long position)
position
in class StereoDepthPropertiesSerializable
public StereoDepthProperties getPointer(long i)
getPointer
in class StereoDepthPropertiesSerializable
@MemberGetter @Cast(value="const std::int32_t") public static int AUTO()
@ByRef public RawStereoDepthConfig initialConfig()
public StereoDepthProperties initialConfig(RawStereoDepthConfig setter)
public depthai.CameraBoardSocket depthAlignCamera()
public StereoDepthProperties depthAlignCamera(depthai.CameraBoardSocket setter)
@Cast(value="bool") public boolean enableRectification()
public StereoDepthProperties enableRectification(boolean setter)
@Cast(value="std::int32_t") public int rectifyEdgeFillColor()
public StereoDepthProperties rectifyEdgeFillColor(int setter)
@ByRef @Cast(value="tl::optional<std::int32_t>*") public IntOptional width()
public StereoDepthProperties width(IntOptional setter)
@ByRef @Cast(value="tl::optional<std::int32_t>*") public IntOptional height()
public StereoDepthProperties height(IntOptional setter)
@ByRef @Cast(value="tl::optional<std::int32_t>*") public IntOptional outWidth()
public StereoDepthProperties outWidth(IntOptional setter)
@ByRef @Cast(value="tl::optional<std::int32_t>*") public IntOptional outHeight()
public StereoDepthProperties outHeight(IntOptional setter)
@Cast(value="bool") public boolean outKeepAspectRatio()
public StereoDepthProperties outKeepAspectRatio(boolean setter)
@ByRef public StereoDepthProperties.RectificationMesh mesh()
public StereoDepthProperties mesh(StereoDepthProperties.RectificationMesh setter)
@Cast(value="bool") public boolean enableRuntimeStereoModeSwitch()
public StereoDepthProperties enableRuntimeStereoModeSwitch(boolean setter)
public int numFramesPool()
public StereoDepthProperties numFramesPool(int setter)
@Cast(value="std::int32_t") public int numPostProcessingShaves()
public StereoDepthProperties numPostProcessingShaves(int setter)
@Cast(value="std::int32_t") public int numPostProcessingMemorySlices()
public StereoDepthProperties numPostProcessingMemorySlices(int setter)
@Cast(value="bool") public boolean focalLengthFromCalibration()
public StereoDepthProperties focalLengthFromCalibration(boolean setter)
@ByRef public BoolOptional useHomographyRectification()
public StereoDepthProperties useHomographyRectification(BoolOptional setter)
@ByRef public FloatOptional baseline()
public StereoDepthProperties baseline(FloatOptional setter)
@ByRef public FloatOptional focalLength()
public StereoDepthProperties focalLength(FloatOptional setter)
@ByRef public BoolOptional disparityToDepthUseSpecTranslation()
public StereoDepthProperties disparityToDepthUseSpecTranslation(BoolOptional setter)
@ByRef public BoolOptional rectificationUseSpecTranslation()
public StereoDepthProperties rectificationUseSpecTranslation(BoolOptional setter)
@ByRef public BoolOptional depthAlignmentUseSpecTranslation()
public StereoDepthProperties depthAlignmentUseSpecTranslation(BoolOptional setter)
@ByRef public FloatOptional alphaScaling()
public StereoDepthProperties alphaScaling(FloatOptional setter)
Copyright © 2024. All rights reserved.