Skip to content
Snippets Groups Projects
Commit 9560098d authored by ariotte's avatar ariotte
Browse files

merge

parents 7fccfbae 8acf3bb2
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,7 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co
if(checkOptiQuant)
optiQuant += checkOptimumQuantizier(image, &quantification, c);
}
<<<<<<< HEAD
......@@ -197,6 +198,31 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co
}
// outText(optiQuant);
outImage(resImg, qApp->translate("QuantificationOp", "quantified").toStdString());
=======
QString windowName;
QString imgName;
if(quantType=="Quantification non lineaire a valeur centrees :")
windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a valeur centree"));
else if(quantType=="Quantification non lineaire a moyennes : ")
windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a moyennes"));
else if(quantType=="Quantification personnalisée :")
windowName = QString(qApp->translate("QuantificationOp","Quantification personnalisee"));
else if(quantType=="Quantification LloydMax :")
windowName = QString(qApp->translate("QuantificationOp","Quantification LloydMax"));
else if(quantType=="Quantification lineaire a valeurs centrees :")
windowName = QString(qApp->translate("QuantificationOp","Quantification lineaire a valeurs centrees"));
if(image!=NULL){
imgName = QString::fromStdString(imgList.find(image)->second);
imgName.append(" - ");
}
else{
imgName = QString("");
}
outText(output_msg);
outImage(resImg, imgName.toStdString() + windowName.toStdString());
>>>>>>> 8acf3bb2135a5aa20dbb8cc017975222214c760b
}
}
......
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