View Source Evision.VolumeSettings (Evision v1.0.0-rc.0)

Summary

Types

t()

Type that represents an VolumeSettings struct.

Functions

Returns intrinsics of camera for integrations. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Returns intrinsics of camera for integrations. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Returns camera intrinsics for raycast image, used when user does not provide them at raycast() call. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Returns camera intrinsics for raycast image, used when user does not provide them at raycast() call. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Returns depth factor, witch is the number for depth scaling.

Returns the height of the image for integration.

Returns the width of the image for integration.

Returns threshold for depth truncation in meters. Truncates the depth greater than threshold to 0.

Returns max number of frames to integrate per voxel. Represents the max number of frames over which a running average of the TSDF is calculated for a voxel.

Returns the height of the raycasted image, used when user does not provide it at raycast() call.

Returns length of single raycast step. Describes the percentage of voxel length that is skipped per march.

Returns the width of the raycasted image, used when user does not provide it at raycast() call.

Returns TSDF truncation distance. Distances greater than value from surface will be truncated to 1.0.

Sets volume pose.

Sets volume pose.

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Returns 3 integers representing strides by x, y and z dimension. Can be used to iterate over raw volume unit data.

Returns 3 integers representing strides by x, y and z dimension. Can be used to iterate over raw volume unit data.

Returns the size of voxel.

Sets intrinsics of camera for integrations. Format of input: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Sets camera intrinsics for raycast image which, used when user does not provide them at raycast() call. Format of input: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Sets depth factor, witch is the number for depth scaling.

Sets the height of the image for integration.

Sets the width of the image for integration.

Sets threshold for depth truncation in meters. Truncates the depth greater than threshold to 0.

Sets max number of frames to integrate per voxel. Represents the max number of frames over which a running average of the TSDF is calculated for a voxel.

Sets the height of the raycasted image, used when user does not provide it at raycast() call.

Sets length of single raycast step. Describes the percentage of voxel length that is skipped per march.

Sets the width of the raycasted image, used when user does not provide it at raycast() call.

Sets TSDF truncation distance. Distances greater than value from surface will be truncated to 1.0.

Sets volume pose.

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Sets the size of voxel.

Constructor of settings for custom Volume type.

Constructor of settings for custom Volume type.

Types

@type t() :: %Evision.VolumeSettings{ref: reference()}

Type that represents an VolumeSettings struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getCameraIntegrateIntrinsics(named_args)

View Source
@spec getCameraIntegrateIntrinsics(Keyword.t()) :: any() | {:error, String.t()}
@spec getCameraIntegrateIntrinsics(t()) :: Evision.Mat.t() | {:error, String.t()}

Returns intrinsics of camera for integrations. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getCameraIntegrateIntrinsics([, val]) -> val
Link to this function

getCameraIntegrateIntrinsics(self, opts)

View Source
@spec getCameraIntegrateIntrinsics(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Returns intrinsics of camera for integrations. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getCameraIntegrateIntrinsics([, val]) -> val
Link to this function

getCameraRaycastIntrinsics(named_args)

View Source
@spec getCameraRaycastIntrinsics(Keyword.t()) :: any() | {:error, String.t()}
@spec getCameraRaycastIntrinsics(t()) :: Evision.Mat.t() | {:error, String.t()}

Returns camera intrinsics for raycast image, used when user does not provide them at raycast() call. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getCameraRaycastIntrinsics([, val]) -> val
Link to this function

getCameraRaycastIntrinsics(self, opts)

View Source
@spec getCameraRaycastIntrinsics(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Returns camera intrinsics for raycast image, used when user does not provide them at raycast() call. Format of output: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getCameraRaycastIntrinsics([, val]) -> val
Link to this function

getDepthFactor(named_args)

View Source
@spec getDepthFactor(Keyword.t()) :: any() | {:error, String.t()}
@spec getDepthFactor(t()) :: number() | {:error, String.t()}

Returns depth factor, witch is the number for depth scaling.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: float

Python prototype (for reference only):

getDepthFactor() -> retval
Link to this function

getIntegrateHeight(named_args)

View Source
@spec getIntegrateHeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getIntegrateHeight(t()) :: integer() | {:error, String.t()}

Returns the height of the image for integration.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: integer()

Python prototype (for reference only):

getIntegrateHeight() -> retval
Link to this function

getIntegrateWidth(named_args)

View Source
@spec getIntegrateWidth(Keyword.t()) :: any() | {:error, String.t()}
@spec getIntegrateWidth(t()) :: integer() | {:error, String.t()}

Returns the width of the image for integration.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: integer()

Python prototype (for reference only):

getIntegrateWidth() -> retval
@spec getMaxDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxDepth(t()) :: number() | {:error, String.t()}

Returns threshold for depth truncation in meters. Truncates the depth greater than threshold to 0.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: float

Python prototype (for reference only):

getMaxDepth() -> retval
Link to this function

getMaxWeight(named_args)

View Source
@spec getMaxWeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxWeight(t()) :: integer() | {:error, String.t()}

Returns max number of frames to integrate per voxel. Represents the max number of frames over which a running average of the TSDF is calculated for a voxel.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: integer()

Python prototype (for reference only):

getMaxWeight() -> retval
Link to this function

getRaycastHeight(named_args)

View Source
@spec getRaycastHeight(Keyword.t()) :: any() | {:error, String.t()}
@spec getRaycastHeight(t()) :: integer() | {:error, String.t()}

Returns the height of the raycasted image, used when user does not provide it at raycast() call.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: integer()

Python prototype (for reference only):

getRaycastHeight() -> retval
Link to this function

getRaycastStepFactor(named_args)

View Source
@spec getRaycastStepFactor(Keyword.t()) :: any() | {:error, String.t()}
@spec getRaycastStepFactor(t()) :: number() | {:error, String.t()}

Returns length of single raycast step. Describes the percentage of voxel length that is skipped per march.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: float

Python prototype (for reference only):

getRaycastStepFactor() -> retval
Link to this function

getRaycastWidth(named_args)

View Source
@spec getRaycastWidth(Keyword.t()) :: any() | {:error, String.t()}
@spec getRaycastWidth(t()) :: integer() | {:error, String.t()}

Returns the width of the raycasted image, used when user does not provide it at raycast() call.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: integer()

Python prototype (for reference only):

getRaycastWidth() -> retval
Link to this function

getTsdfTruncateDistance(named_args)

View Source
@spec getTsdfTruncateDistance(Keyword.t()) :: any() | {:error, String.t()}
@spec getTsdfTruncateDistance(t()) :: number() | {:error, String.t()}

Returns TSDF truncation distance. Distances greater than value from surface will be truncated to 1.0.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: float

Python prototype (for reference only):

getTsdfTruncateDistance() -> retval
Link to this function

getVolumePose(named_args)

View Source
@spec getVolumePose(Keyword.t()) :: any() | {:error, String.t()}
@spec getVolumePose(t()) :: Evision.Mat.t() | {:error, String.t()}

Sets volume pose.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumePose([, val]) -> val
Link to this function

getVolumePose(self, opts)

View Source
@spec getVolumePose(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Sets volume pose.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumePose([, val]) -> val
Link to this function

getVolumeResolution(named_args)

View Source
@spec getVolumeResolution(Keyword.t()) :: any() | {:error, String.t()}
@spec getVolumeResolution(t()) :: Evision.Mat.t() | {:error, String.t()}

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumeResolution([, val]) -> val
Link to this function

getVolumeResolution(self, opts)

View Source
@spec getVolumeResolution(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumeResolution([, val]) -> val
Link to this function

getVolumeStrides(named_args)

View Source
@spec getVolumeStrides(Keyword.t()) :: any() | {:error, String.t()}
@spec getVolumeStrides(t()) :: Evision.Mat.t() | {:error, String.t()}

Returns 3 integers representing strides by x, y and z dimension. Can be used to iterate over raw volume unit data.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumeStrides([, val]) -> val
Link to this function

getVolumeStrides(self, opts)

View Source
@spec getVolumeStrides(t(), [{atom(), term()}, ...] | nil) ::
  Evision.Mat.t() | {:error, String.t()}

Returns 3 integers representing strides by x, y and z dimension. Can be used to iterate over raw volume unit data.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • val: Evision.Mat.t().

    output value.

Python prototype (for reference only):

getVolumeStrides([, val]) -> val
Link to this function

getVoxelSize(named_args)

View Source
@spec getVoxelSize(Keyword.t()) :: any() | {:error, String.t()}
@spec getVoxelSize(t()) :: number() | {:error, String.t()}

Returns the size of voxel.

Positional Arguments
  • self: Evision.VolumeSettings.t()
Return
  • retval: float

Python prototype (for reference only):

getVoxelSize() -> retval
Link to this function

setCameraIntegrateIntrinsics(named_args)

View Source
@spec setCameraIntegrateIntrinsics(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setCameraIntegrateIntrinsics(self, val)

View Source
@spec setCameraIntegrateIntrinsics(t(), Evision.Mat.maybe_mat_in()) ::
  t() | {:error, String.t()}

Sets intrinsics of camera for integrations. Format of input: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: Evision.Mat.

    input value.

Python prototype (for reference only):

setCameraIntegrateIntrinsics(val) -> None
Link to this function

setCameraRaycastIntrinsics(named_args)

View Source
@spec setCameraRaycastIntrinsics(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setCameraRaycastIntrinsics(self, val)

View Source
@spec setCameraRaycastIntrinsics(t(), Evision.Mat.maybe_mat_in()) ::
  t() | {:error, String.t()}

Sets camera intrinsics for raycast image which, used when user does not provide them at raycast() call. Format of input: [ fx 0 cx ] [ 0 fy cy ] [ 0 0 1 ] where fx and fy are focus points of Ox and Oy axises, and cx and cy are central points of Ox and Oy axises.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: Evision.Mat.

    input value.

Python prototype (for reference only):

setCameraRaycastIntrinsics(val) -> None
Link to this function

setDepthFactor(named_args)

View Source
@spec setDepthFactor(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setDepthFactor(self, val)

View Source
@spec setDepthFactor(t(), number()) :: t() | {:error, String.t()}

Sets depth factor, witch is the number for depth scaling.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: float.

    input value.

Python prototype (for reference only):

setDepthFactor(val) -> None
Link to this function

setIntegrateHeight(named_args)

View Source
@spec setIntegrateHeight(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setIntegrateHeight(self, val)

View Source
@spec setIntegrateHeight(t(), integer()) :: t() | {:error, String.t()}

Sets the height of the image for integration.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: integer().

    input value.

Python prototype (for reference only):

setIntegrateHeight(val) -> None
Link to this function

setIntegrateWidth(named_args)

View Source
@spec setIntegrateWidth(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setIntegrateWidth(self, val)

View Source
@spec setIntegrateWidth(t(), integer()) :: t() | {:error, String.t()}

Sets the width of the image for integration.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: integer().

    input value.

Python prototype (for reference only):

setIntegrateWidth(val) -> None
@spec setMaxDepth(Keyword.t()) :: any() | {:error, String.t()}
@spec setMaxDepth(t(), number()) :: t() | {:error, String.t()}

Sets threshold for depth truncation in meters. Truncates the depth greater than threshold to 0.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: float.

    input value.

Python prototype (for reference only):

setMaxDepth(val) -> None
Link to this function

setMaxWeight(named_args)

View Source
@spec setMaxWeight(Keyword.t()) :: any() | {:error, String.t()}
@spec setMaxWeight(t(), integer()) :: t() | {:error, String.t()}

Sets max number of frames to integrate per voxel. Represents the max number of frames over which a running average of the TSDF is calculated for a voxel.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: integer().

    input value.

Python prototype (for reference only):

setMaxWeight(val) -> None
Link to this function

setRaycastHeight(named_args)

View Source
@spec setRaycastHeight(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setRaycastHeight(self, val)

View Source
@spec setRaycastHeight(t(), integer()) :: t() | {:error, String.t()}

Sets the height of the raycasted image, used when user does not provide it at raycast() call.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: integer().

    input value.

Python prototype (for reference only):

setRaycastHeight(val) -> None
Link to this function

setRaycastStepFactor(named_args)

View Source
@spec setRaycastStepFactor(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setRaycastStepFactor(self, val)

View Source
@spec setRaycastStepFactor(t(), number()) :: t() | {:error, String.t()}

Sets length of single raycast step. Describes the percentage of voxel length that is skipped per march.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: float.

    input value.

Python prototype (for reference only):

setRaycastStepFactor(val) -> None
Link to this function

setRaycastWidth(named_args)

View Source
@spec setRaycastWidth(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setRaycastWidth(self, val)

View Source
@spec setRaycastWidth(t(), integer()) :: t() | {:error, String.t()}

Sets the width of the raycasted image, used when user does not provide it at raycast() call.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: integer().

    input value.

Python prototype (for reference only):

setRaycastWidth(val) -> None
Link to this function

setTsdfTruncateDistance(named_args)

View Source
@spec setTsdfTruncateDistance(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setTsdfTruncateDistance(self, val)

View Source
@spec setTsdfTruncateDistance(t(), number()) :: t() | {:error, String.t()}

Sets TSDF truncation distance. Distances greater than value from surface will be truncated to 1.0.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: float.

    input value.

Python prototype (for reference only):

setTsdfTruncateDistance(val) -> None
Link to this function

setVolumePose(named_args)

View Source
@spec setVolumePose(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setVolumePose(self, val)

View Source
@spec setVolumePose(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

Sets volume pose.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: Evision.Mat.

    input value.

Python prototype (for reference only):

setVolumePose(val) -> None
Link to this function

setVolumeResolution(named_args)

View Source
@spec setVolumeResolution(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setVolumeResolution(self, val)

View Source
@spec setVolumeResolution(t(), Evision.Mat.maybe_mat_in()) ::
  t() | {:error, String.t()}

Resolution of voxel space. Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: Evision.Mat.

    input value.

Python prototype (for reference only):

setVolumeResolution(val) -> None
Link to this function

setVoxelSize(named_args)

View Source
@spec setVoxelSize(Keyword.t()) :: any() | {:error, String.t()}
@spec setVoxelSize(t(), number()) :: t() | {:error, String.t()}

Sets the size of voxel.

Positional Arguments
  • self: Evision.VolumeSettings.t()

  • val: float.

    input value.

Python prototype (for reference only):

setVoxelSize(val) -> None
@spec volumeSettings() :: t() | {:error, String.t()}

Constructor of settings for custom Volume type.

Keyword Arguments
  • volumeType: VolumeType.

    volume type.

Return
  • self: Evision.VolumeSettings.t()

Python prototype (for reference only):

VolumeSettings([, volumeType]) -> <VolumeSettings object>
Link to this function

volumeSettings(named_args)

View Source
@spec volumeSettings(Keyword.t()) :: any() | {:error, String.t()}
@spec volumeSettings([{:volumeType, term()}] | nil) :: t() | {:error, String.t()}

Constructor of settings for custom Volume type.

Keyword Arguments
  • volumeType: VolumeType.

    volume type.

Return
  • self: Evision.VolumeSettings.t()

Python prototype (for reference only):

VolumeSettings([, volumeType]) -> <VolumeSettings object>