mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Depth calibration: move GetBinSize to clams namespace
This commit is contained in:
@@ -392,7 +392,7 @@ void DepthCalibrationDialog::calibrate(
|
||||
if(_model == 0)
|
||||
{
|
||||
size_t bin_width, bin_height;
|
||||
util3d::GetBinSize(imageSize.width, imageSize.height, bin_width, bin_height);
|
||||
clams::DiscreteDepthDistortionModel::getBinSize(imageSize.width, imageSize.height, bin_width, bin_height);
|
||||
_model = new clams::DiscreteDepthDistortionModel(imageSize.width, imageSize.height, bin_width, bin_height);
|
||||
}
|
||||
UASSERT(_model->getWidth() == imageSize.width && _model->getHeight() == imageSize.height);
|
||||
|
||||
Reference in New Issue
Block a user