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
volumeTypeVolumeTypevolume type.
Properties
DepthFactor
Depth factor, which is the number for depth scaling.
public float DepthFactor { get; set; }
Property Value
IntegrateHeight
The height of the image for integration.
public int IntegrateHeight { get; set; }
Property Value
IntegrateWidth
The width of the image for integration.
public int IntegrateWidth { get; set; }
Property Value
MaxDepth
Threshold for depth truncation in meters.
public float MaxDepth { get; set; }
Property Value
MaxWeight
Max number of frames to integrate per voxel.
public int MaxWeight { get; set; }
Property Value
RaycastHeight
The height of the raycasted image.
public int RaycastHeight { get; set; }
Property Value
RaycastStepFactor
Length of single raycast step.
public float RaycastStepFactor { get; set; }
Property Value
RaycastWidth
The width of the raycasted image.
public int RaycastWidth { get; set; }
Property Value
TsdfTruncateDistance
TSDF truncation distance.
public float TsdfTruncateDistance { get; set; }
Property Value
VoxelSize
The size of voxel.
public float VoxelSize { get; set; }
Property Value
Methods
GetCameraIntegrateIntrinsics(OutputArray)
Returns intrinsics of camera for integrations.
public void GetCameraIntegrateIntrinsics(OutputArray val)
Parameters
valOutputArrayoutput value.
GetCameraRaycastIntrinsics(OutputArray)
Returns camera intrinsics for raycast image.
public void GetCameraRaycastIntrinsics(OutputArray val)
Parameters
valOutputArrayoutput value.
GetVolumePose(OutputArray)
Gets volume pose.
public void GetVolumePose(OutputArray val)
Parameters
valOutputArrayoutput value.
GetVolumeResolution(OutputArray)
Gets resolution of voxel space.
public void GetVolumeResolution(OutputArray val)
Parameters
valOutputArrayoutput value.
GetVolumeStrides(OutputArray)
Returns 3 integers representing strides by x, y and z dimension.
public void GetVolumeStrides(OutputArray val)
Parameters
valOutputArrayoutput 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
valInputArrayinput value.
SetCameraRaycastIntrinsics(InputArray)
Sets camera intrinsics for raycast image.
public void SetCameraRaycastIntrinsics(InputArray val)
Parameters
valInputArrayinput value.
SetVolumePose(InputArray)
Sets volume pose.
public void SetVolumePose(InputArray val)
Parameters
valInputArrayinput value.
SetVolumeResolution(InputArray)
Sets resolution of voxel space.
public void SetVolumeResolution(InputArray val)
Parameters
valInputArrayinput value.