Depth calibration: move GetBinSize to clams namespace

This commit is contained in:
Anton Onishchenko
2017-05-11 11:38:42 +03:00
parent df40b0b8d3
commit 197bb2179f
5 changed files with 62 additions and 60 deletions

View File

@@ -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);