Fix setting of numberOfDisparities when passing state dictionary to StereoImage.get3DImage