首页 > 行业资讯 > 【图像处理】基于matlab实现图像曲线调整系统

【图像处理】基于matlab实现图像曲线调整系统

时间:2022-06-30 来源: 浏览:

【图像处理】基于matlab实现图像曲线调整系统

天天Matlab 天天Matlab
天天Matlab

TT_Matlab

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,完整matlab代码或者程序定制加qq1575304183。

收录于合集 #图像处理matlab源码 720个

1 简介

随着科学技术的发展,计算机网络已是人们生活中无法离去的工具,故信息化彻底改变了人们的生活方式。数字图像处理也随之成为图像处理领域的首要之选。目前,MATLAB由于计算功能强大既支持数值运算又支持矩阵运算且便于用户二次开发,简单易学灵活性强,在数字图像处理领域的研究中成为了使用较为广泛的应用软件之一。

2 部分代码

function varargout = toneCure(varargin) %% % TONECURE MATLAB code for toneCure.fig % TONECURE, by itself, creates a new TONECURE or raises the existing % singleton*. % % H = TONECURE returns the handle to a new TONECURE or the handle to % the existing singleton*. % % TONECURE(’CALLBACK’,hObject,eventData,handles,...) calls the local % function named CALLBACK in TONECURE.M with the given input arguments. % % TONECURE(’Property’,’Value’,...) creates a new TONECURE or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before toneCure_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application if (get(handles.pushbutton6, ’Value’) >0 ) cla(handles.axes2,’reset’); cla(handles.axes3,’reset’); % 重置清空动态axes1的数据 cla(handles.axes4,’reset’); % 重置清空动态axes1的数据 set(handles.edit1,’string’,’’); set(handles.edit2,’string’,’’); % 清空fram set(handles.edit3,’string’,’’); % 清空fram set(handles.popupmenu1,’Value’,1); %选择菜单 set(handles.popupmenu4,’Value’,1); points(1,1 : 2)=0.0; points(2,1 : 2)=0.2; points(3,1 : 2)=0.4; points(4,1 : 2)=0.6; points(5,1 : 2)=0.8; points(6,1 : 2)=1; p1 = polyfit(points(:,1), points(:,2), 5); %% y = x + b; x = 0:0.01:1; y = polyval(p1, x); % hold on; y2 = x ; plot(x, y2, ’k-.’, ’LineWidth’, 1, ’parent’, handles.axes2); hold on; plot(x, y, ’r-’, points(:,1), points(:,2), ’b*’, ’LineWidth’, 1.25, ’parent’, handles.axes2) ; legend(’y = x’, ’y = f(x)’, ’Location’, ’northwest’); grid on; idx = 0; end % Update handles structure guidata(hObject, handles);

3 仿真结果

4 参考文献

[1]英英. 基于MATLAB的图形图像处理系统的实现[D]. 内蒙古大学, 2013.

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。

版权:如无特殊注明,文章转载自网络,侵权请联系cnmhg168#163.com删除!文件均为网友上传,仅供研究和学习使用,务必24小时内删除。
相关推荐