Table of Contents

Class VolumeSettings

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Settings for a TSDF/HashTSDF/ColorTSDF Volume.

public class VolumeSettings : CvObject, IDisposable
Inheritance
VolumeSettings
Implements
Inherited Members

Constructors

VolumeSettings(VolumeType)

Constructor of settings for custom Volume type.

public VolumeSettings(VolumeType volumeType = VolumeType.TSDF)

Parameters

volumeType VolumeType

volume type.

Properties

DepthFactor

Depth factor, which is the number for depth scaling.

public float DepthFactor { get; set; }

Property Value

float

IntegrateHeight

The height of the image for integration.

public int IntegrateHeight { get; set; }

Property Value

int

IntegrateWidth

The width of the image for integration.

public int IntegrateWidth { get; set; }

Property Value

int

MaxDepth

Threshold for depth truncation in meters.

public float MaxDepth { get; set; }

Property Value

float

MaxWeight

Max number of frames to integrate per voxel.

public int MaxWeight { get; set; }

Property Value

int

RaycastHeight

The height of the raycasted image.

public int RaycastHeight { get; set; }

Property Value

int

RaycastStepFactor

Length of single raycast step.

public float RaycastStepFactor { get; set; }

Property Value

float

RaycastWidth

The width of the raycasted image.

public int RaycastWidth { get; set; }

Property Value

int

TsdfTruncateDistance

TSDF truncation distance.

public float TsdfTruncateDistance { get; set; }

Property Value

float

VoxelSize

The size of voxel.

public float VoxelSize { get; set; }

Property Value

float

Methods

GetCameraIntegrateIntrinsics(OutputArray)

Returns intrinsics of camera for integrations.

public void GetCameraIntegrateIntrinsics(OutputArray val)

Parameters

val OutputArray

output value.

GetCameraRaycastIntrinsics(OutputArray)

Returns camera intrinsics for raycast image.

public void GetCameraRaycastIntrinsics(OutputArray val)

Parameters

val OutputArray

output value.

GetVolumePose(OutputArray)

Gets volume pose.

public void GetVolumePose(OutputArray val)

Parameters

val OutputArray

output value.

GetVolumeResolution(OutputArray)

Gets resolution of voxel space.

public void GetVolumeResolution(OutputArray val)

Parameters

val OutputArray

output value.

GetVolumeStrides(OutputArray)

Returns 3 integers representing strides by x, y and z dimension.

public void GetVolumeStrides(OutputArray val)

Parameters

val OutputArray

output value.

Release()

Clean up any resources being used.

public void Release()

SetCameraIntegrateIntrinsics(InputArray)

Sets intrinsics of camera for integrations.

public void SetCameraIntegrateIntrinsics(InputArray val)

Parameters

val InputArray

input value.

SetCameraRaycastIntrinsics(InputArray)

Sets camera intrinsics for raycast image.

public void SetCameraRaycastIntrinsics(InputArray val)

Parameters

val InputArray

input value.

SetVolumePose(InputArray)

Sets volume pose.

public void SetVolumePose(InputArray val)

Parameters

val InputArray

input value.

SetVolumeResolution(InputArray)

Sets resolution of voxel space.

public void SetVolumeResolution(InputArray val)

Parameters

val InputArray

input value.