生成二维图像旋转
This commit is contained in:
parent
e62231f391
commit
d4293ad922
@ -313,7 +313,10 @@ int DetectPresenter::DetectHoles(
|
|||||||
h.radius = vis.second; // 半径为0
|
h.radius = vis.second; // 半径为0
|
||||||
holes.push_back(h);
|
holes.push_back(h);
|
||||||
}
|
}
|
||||||
detectionResult.image = PointCloudImageUtils::GenerateHoleDetectionImage(xyzData, holes);
|
detectionResult.image = PointCloudImageUtils::GenerateHoleDetectionImage(
|
||||||
|
xyzData, holes,
|
||||||
|
0.0, // 绕X轴旋转角度(度),可按需调整视图
|
||||||
|
0.0); // 绕Y轴旋转角度(度),可按需调整视图
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debugParam.enableDebug && debugParam.saveDebugImage) {
|
if (debugParam.enableDebug && debugParam.saveDebugImage) {
|
||||||
|
|||||||
@ -425,10 +425,10 @@ bool DialogAlgoarg::SaveTreeGrowParamFromUI(VrTreeGrowParam& param)
|
|||||||
param.zDeviation_max = ui->lineEdit_zDeviation_max->text().toDouble(&ok);
|
param.zDeviation_max = ui->lineEdit_zDeviation_max->text().toDouble(&ok);
|
||||||
if (!ok) return false;
|
if (!ok) return false;
|
||||||
|
|
||||||
param.minLTypeTreeLen = ui->lineEdit_minLTypeTreeLen->text().toInt(&ok);
|
param.minLTypeTreeLen = ui->lineEdit_minLTypeTreeLen->text().toDouble(&ok);
|
||||||
if (!ok) return false;
|
if (!ok) return false;
|
||||||
|
|
||||||
param.minVTypeTreeLen = ui->lineEdit_minVTypeTreeLen->text().toInt(&ok);
|
param.minVTypeTreeLen = ui->lineEdit_minVTypeTreeLen->text().toDouble(&ok);
|
||||||
if (!ok) return false;
|
if (!ok) return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user