Every way to recover depth and 3D structure
Stereo triangulation, monocular depth, and structure from motion -- three different routes to distance, each needing a different kind of input.
Ask first: how many images do you have, and do you know where the camera(s) were? Two calibrated cameras at a known baseline gives exact, metric depth by triangulation. A single image with no known geometry only gives relative depth, from a trained model's learned cues. Many uncalibrated images of the same static scene, taken by a camera moving through it, can recover both the 3D structure and every camera's own pose at once -- and, run live instead of as an offline batch, becomes SLAM.
Two (or more) cameras, known geometry
Term
disparity
Example
The raw per-point measurement a calibrated, rectified stereo pair gives directly.
Converts a matched correspondence plus known camera poses into an exact 3D coordinate.
Term
point cloud
What triangulating many correspondences at once produces.
One image, no known geometry
The only option with a single image and no calibrated baseline -- relative depth only, from learned cues, never an exact metric distance.
Many images, unknown camera positions
Recovers 3D structure AND every camera's pose at once, offline, from an unordered image set.
The same problem run live, frame by frame, with loop closure to correct drift instead of a one-shot batch solve.