vis4d.eval.kitti.depth

KITTI evaluation code.

Functions

apply_eigen_crop(mask)

Apply Eigen NIPS14 crop to the mask.

apply_garg_crop(mask)

Apply Garg ECCV16 crop to the mask.

Classes

KITTIDepthEvaluator([min_depth, max_depth, ...])

KITTI depth evaluation class.

class KITTIDepthEvaluator(min_depth=0.01, max_depth=80.0, eval_crop=None)[source]

KITTI depth evaluation class.

Initialize KITTI depth evaluator.

__repr__()[source]

Concise representation of the dataset evaluator.

Return type:

str

apply_eigen_crop(mask)[source]

Apply Eigen NIPS14 crop to the mask.

Parameters:

mask (np.array) – Mask to be cropped, in shape (N, H, W).

Returns:

Cropped mask, in shape (N, H’, W’).

Return type:

np.array

apply_garg_crop(mask)[source]

Apply Garg ECCV16 crop to the mask.

Parameters:

mask (np.array) – Mask to be cropped, in shape (…, H, W).

Returns:

Cropped mask, in shape (…, H’, W’).

Return type:

np.array