Skip to content
Snippets Groups Projects
Commit 58f43154 authored by Provot Bertrand's avatar Provot Bertrand
Browse files

Changed Hough step + add logs + improve pseudocolors

parent b0ccc08a
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,11 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>0.010000000000000</double>
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>90.000000000000000</double>
......@@ -99,8 +102,11 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>0.010000000000000</double>
<double>0.300000000000000</double>
</property>
<property name="maximum">
<double>512.000000000000000</double>
......
......@@ -43,8 +43,8 @@ PseudoColorDialog::PseudoColorDialog(QWidget *parent) :
label->setLayout(hLayout);
_spinBox = new QSpinBox();
_spinBox->setMinimum(0);
_spinBox->setMaximum(300);
_spinBox->setValue(150);
_spinBox->setMaximum(255);
_spinBox->setValue(255);
_spinBox->setLayout(hLayout);
......
......@@ -80,6 +80,7 @@ void UCharConvertOp::operator()(const imagein::Image_t<double>* from, const std:
resImg = Converter<Image>::convertAndOffset(*tempIntImg, &LogMessage, offset);
delete tempIntImg;
windowName = qApp->translate("Operations","Offset").toStdString();
outText(LogMessage);
break;
case 4 :
......@@ -87,6 +88,7 @@ void UCharConvertOp::operator()(const imagein::Image_t<double>* from, const std:
resImg = Converter<Image>::convertScaleAndOffset(*tempIntImg, &LogMessage);
delete tempIntImg;
windowName = qApp->translate("Operations","Offset and scaled").toStdString();
outText(LogMessage);
break;
case 3 :
......@@ -94,6 +96,7 @@ void UCharConvertOp::operator()(const imagein::Image_t<double>* from, const std:
resImg = Converter<Image>::convertAndScale(*tempIntImg, &LogMessage);
delete tempIntImg;
windowName = qApp->translate("Operations","Scaled").toStdString();
outText(LogMessage);
break;
default:
......@@ -103,6 +106,7 @@ void UCharConvertOp::operator()(const imagein::Image_t<double>* from, const std:
}
outImage(resImg, windowName);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment