in
{
assert (left.width == right.width && left.height == right.height, "left and right must have the same dimensions");
assert (left.channels == right.channels, "left and right must have the same number of channels");
assert (left.format == right.format, "left and right must have the same pixel format");
assert (left.depth == right.depth, "left and right must have the same bit depth");
}
Compute a disparity map using the method defined by the subclass.
This method assumes the images have been rectified.