MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ depth()

DataDimension MayaFlux::Kakshya::DataDimension::depth ( uint64_t  count = 1,
uint64_t  stride = 1 
)
static

Convenience constructor for a depth dimension.

The component axis of a range image. Size is the number of values per pixel: 1 for plain depth, 2 for depth paired with confidence.

Carries no numeric interpretation by itself. Chain with_range() to declare the span and invalid marker, since raw depth is rarely in [0, 1].

Parameters
countComponents per pixel.
strideMemory stride (default: 1).
Returns
DataDimension representing depth components.

Definition at line 55 of file NDData.cpp.

56{
57 return { "depth", count, stride, Role::DEPTH };
58}
size_t count
@ DEPTH
Distance from the observation point (depth, disparity, range)
uint64_t stride
Memory stride (elements between consecutive indices)
Definition NDData.hpp:299

References count, DEPTH, and stride.

Referenced by create_dimensions().

+ Here is the caller graph for this function: