资源简介
计算机科学与技术专业选修课程“图像处理与分析”的结课大作业,要求运行上课所学知识,自行设计功能。
代码片段和文件信息
#include “dialog_exp_transform.h“
#include “ui_dialog_exp_transform.h“
DialogExpTransform::DialogExpTransform(QWidget *parent) :
QDialog(parent)
ui(new Ui::DialogExpTransform)
{
ui->setupUi(this);
paintFunctionImage(ui->bDoubleSpinBox->value() ui->cDoubleSpinBox->value() ui->aDoubleSpinBox->value());
}
DialogExpTransform::~DialogExpTransform()
{
delete ui;
}
void DialogExpTransform::on_buttonBox_accepted()
{
emit sendData(ui->bDoubleSpinBox->value() ui->cDoubleSpinBox->value() ui->aDoubleSpinBox->value());
}
void DialogExpTransform::paintFunctionImage(double b double c double a)
{
// generate some data:
QVector x(1001) y(1001); // initialize with entries 0..100
for (int i=0; i<1001; ++i)
{
x[i] = i/50.0 - 10;
y[i] = qPow(b c*(x[i]-a));
}
// create graph and assign data to it:
ui->customPlot->addGraph();
ui->customPlot->graph(0)->setData(x y);
// give the axes some labels:
ui->customPlot->xAxis->setLabel(“x“);
ui->customPlot->yAxis->setLabel(“y“);
// set axes ranges so we see all data:
ui->customPlot->xAxis->setRange(-10 10);
ui->customPlot->yAxis->setRange(-10 10);
ui->customPlot->replot();
}
void DialogExpTransform::on_bDoubleSpinBox_valueChanged(double arg1)
{
paintFunctionImage(arg1 ui->cDoubleSpinBox->value() ui->aDoubleSpinBox->value());
}
void DialogExpTransform::on_cDoubleSpinBox_valueChanged(double arg1)
{
paintFunctionImage(ui->bDoubleSpinBox->value() arg1 ui->aDoubleSpinBox->value());
}
void DialogExpTransform::on_aDoubleSpinBox_valueChanged(double arg1)
{
paintFunctionImage(ui->bDoubleSpinBox->value() ui->cDoubleSpinBox->value() arg1);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-01-06 00:09 191152-05-杨贤\
文件 2469196 2018-01-05 22:54 191152-05-杨贤\191152-05-杨贤.pdf
目录 0 2018-01-05 23:29 191152-05-杨贤\ImageViewer可执行文件\
文件 3733504 2017-10-02 17:49 191152-05-杨贤\ImageViewer可执行文件\D3Dcompiler_47.dll
文件 30720 2016-06-10 15:18 191152-05-杨贤\ImageViewer可执行文件\Qt5Concurrent.dll
文件 5384704 2018-01-05 23:31 191152-05-杨贤\ImageViewer可执行文件\Qt5Core.dll
文件 5283840 2016-06-10 15:23 191152-05-杨贤\ImageViewer可执行文件\Qt5Gui.dll
文件 363520 2016-06-10 15:31 191152-05-杨贤\ImageViewer可执行文件\Qt5PrintSupport.dll
文件 348160 2016-06-11 01:51 191152-05-杨贤\ImageViewer可执行文件\Qt5Svg.dll
文件 6358528 2016-06-10 15:29 191152-05-杨贤\ImageViewer可执行文件\Qt5Widgets.dll
目录 0 2018-01-05 23:31 191152-05-杨贤\ImageViewer可执行文件\iconengines\
文件 42496 2016-06-11 01:51 191152-05-杨贤\ImageViewer可执行文件\iconengines\qsvgicon.dll
文件 1440256 2018-01-05 23:24 191152-05-杨贤\ImageViewer可执行文件\imViewer.exe
目录 0 2018-01-05 23:31 191152-05-杨贤\ImageViewer可执行文件\imageformats\
文件 58880 2016-06-11 02:15 191152-05-杨贤\ImageViewer可执行文件\imageformats\qdds.dll
文件 33792 2016-06-10 15:32 191152-05-杨贤\ImageViewer可执行文件\imageformats\qgif.dll
文件 46592 2016-06-11 02:15 191152-05-杨贤\ImageViewer可执行文件\imageformats\qicns.dll
文件 36352 2016-06-10 15:33 191152-05-杨贤\ImageViewer可执行文件\imageformats\qico.dll
文件 258560 2016-06-10 15:32 191152-05-杨贤\ImageViewer可执行文件\imageformats\qjpeg.dll
文件 28672 2016-06-11 01:51 191152-05-杨贤\ImageViewer可执行文件\imageformats\qsvg.dll
文件 28672 2016-06-11 02:15 191152-05-杨贤\ImageViewer可执行文件\imageformats\qtga.dll
文件 495616 2016-06-11 02:15 191152-05-杨贤\ImageViewer可执行文件\imageformats\qtiff.dll
文件 27648 2016-06-11 02:15 191152-05-杨贤\ImageViewer可执行文件\imageformats\qwbmp.dll
文件 416768 2016-06-11 02:16 191152-05-杨贤\ImageViewer可执行文件\imageformats\qwebp.dll
文件 22016 2016-06-10 15:16 191152-05-杨贤\ImageViewer可执行文件\libEGL.dll
文件 2801664 2016-06-10 15:16 191152-05-杨贤\ImageViewer可执行文件\libGLESV2.dll
文件 120334 2015-12-29 06:25 191152-05-杨贤\ImageViewer可执行文件\libgcc_s_dw2-1.dll
文件 1540622 2015-12-29 06:25 191152-05-杨贤\ImageViewer可执行文件\libstdc++-6.dll
文件 79360 2015-12-29 06:25 191152-05-杨贤\ImageViewer可执行文件\libwinpthread-1.dll
文件 15220736 2014-09-23 18:36 191152-05-杨贤\ImageViewer可执行文件\opengl32sw.dll
目录 0 2018-01-05 23:31 191152-05-杨贤\ImageViewer可执行文件\platforms\
............此处省略85个文件信息
- 上一篇:100个网页
- 下一篇:射频电路与芯片设计要点
相关资源
- 《数字图像处理》课件及书何东健主
- 医学图像处理中的数学理论与方法
- 数字图像处理基础朱虹PPT完整版
- 数字图像处理 冈萨雷斯 第三版 英文
- Qt实现二值细胞图像区域上色
- digital image processing 4th edition gonzalez
- 数字图像处理 第三版 冈萨雷斯 英文
- 《Delphi 数字图像处理及高级应用》(
- DS9天文软件
- Camera Image Quality Benchmarking
- Digital Image Processing 4th Edition.pdf.zip
- 山东大学软件学院数字图像处理期末
- 基于机器视觉的列车前方障碍物检测
- 偏振图像处理_斯托克斯
- MagicHouse.rar
- Faceworx 人脸建模软件
- opencv2.4.13 x64版
- 合成孔径雷达图像处理
- 图像处理251209
- 信息熵在图像处理中的应用
- 数字图像处理第二版冈萨雷斯书与答
- OpenCV4.2.0已编译好的32位库
- RemoteSensing Digital Image Analysis
- ENVI遥感图像处理教程系列
- 《医学图像处理与分析》第二版--罗述
- 图像处理第四版讲义 章毓晋
- Computer Vision with OpenCV 3 and Qt5 pdf + co
- 数字图像处理冈萨雷斯ppt
- 手势识别源代码+说明文档绝对原创、
- 数字图像处理电子版pdf
评论
共有 条评论