bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / data / _fetchers / stereo_motorcycle
function
skimage.data._fetchers:stereo_motorcycle
source: /dev/scikit-image/src/skimage/data/_fetchers.py :1076
Signature
def stereo_motorcycle ( ) Summary
Rectified stereo image pair with ground-truth disparities.
Extended Summary
The two images are rectified such that every pixel in the left image has its corresponding pixel on the same scanline in the right image. That means that both images are warped such that they have the same orientation but a horizontal spatial offset (baseline). The ground-truth pixel offset in column direction is specified by the included disparity map.
The two images are part of the Middlebury 2014 stereo benchmark. The dataset was created by Nera Nesic, Porter Westling, Xi Wang, York Kitajima, Greg Krathwohl, and Daniel Scharstein at Middlebury College. A detailed description of the acquisition process can be found in [1].
The images included here are down-sampled versions of the default exposure images in the benchmark. The images are down-sampled by a factor of 4 using the function skimage.transform.downscale_local_mean. The calibration data in the following and the included ground-truth disparity map are valid for the down-sampled images
Focal length: 994.978px Principal point x: 311.193px Principal point y: 254.877px Principal point dx: 31.086px Baseline: 193.001mm
Returns
img_left: (500, 741, 3) uint8 ndarrayLeft stereo image.
img_right: (500, 741, 3) uint8 ndarrayRight stereo image.
disp: ndarray of shape (500, 741, 3) and dtype floatGround-truth disparity map, where each value describes the offset in column direction between corresponding pixels in the left and the right stereo images. E.g. the corresponding pixel of
img_left[10, 10 + disp[10, 10]]isimg_right[10, 10]. NaNs denote pixels in the left image that do not have ground-truth.
Notes
The original resolution images, images with different exposure and lighting, and ground-truth depth maps can be found at the Middlebury website [2].
Aliases
-
skimage.data.stereo_motorcycle