refine
refine
#
refined — frames whose measured depth is replaced by a model's, fitted to it.
- Predict.
predictruns the model over every frame's image at once. - Fit. A frame with a measured depth map gets
fitted(prediction, depth): denser and sharper, in the measurement's metres. - Keep. A frame without one has no metric reference, so its depth stays
Missing; image and pose pass through unchanged.
refined(frames, model)
#
frames with each measured depth replaced by model's prediction fitted to it.
Downstream stages (depth_seed, train) see denser metric depth
with no change of their own.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
frames
|
Array[PosedImage]
|
The posed images, some with a captured depth map. |
required |
model
|
Model
|
The model whose prediction is fitted. |
required |