estimateDepth
R2026bSyntax
Description
Add-On Required: This feature requires the Computer Vision Toolbox Model for Apple DepthPro Network add-on.
estimates a dense metric depth map from a grayscale or RGB image using the pretrained Depth
Pro model.depthMap = estimateDepth(depthModel,img)
[
also returns the focal length used for estimating the depth map.depthMap,fLength] = estimateDepth(depthModel,img)
[
estimates dense metric depth maps and focal lengths for the images in the input datastore
depthResults] = estimateDepth(depthModel,imds)imds. The function returns the results as a table.
[___] = estimateDepth(___,
specifies options using one or more name-value arguments.Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
References
[1] Bochkovskii, Aleksei, Amaël Delaunoy, Hugo Germain, Marcel Santos, Yichao Zhou, Stephan R. Richter, and Vladlen Koltun. “Depth Pro: Sharp Monocular Metric Depth in Less Than a Second.” arXiv preprint, 2025. https://doi.org/10.48550/arXiv.2410.02073
Version History
Introduced in R2026b
See Also
depthpro | gpuArray (Parallel Computing Toolbox) | cameraIntrinsics | mapanything | rgbdvslam | disparitySGM





