一、获取代码方式

获取代码方式1:
完整代码已上传我的资源:【图像几何】基于matlab GUI图像拉东变换【含Matlab源码 848期】

获取代码方式2:
通过订阅紫极神光博客付费专栏,凭支付凭证,私信博主,可获得此代码。

备注:
订阅紫极神光博客付费专栏,可免费获得1份代码(有效期为订阅日起,三天内有效);

二、拉东变换简介

两维情况下radon变换大致可以这样理解:一个平面内沿不同的直线(直线与原点的距离为d,方向角为alfa)对f(x,y)做线积分,得到的像F(d,alfa)就是函数f的Radon变换。也就是说,平面(d,alfa)的每个点的像函数值对应了原始函数的某个线积分值。一个更直观的理解是,假设你的手指被一个很强的平行光源透射,你迎着光源看到的手指图像就是手指的光衰减系数的三维Radon变换(小小的推广)在给定方向(两个角坐标)的时候的值。

三、部分源代码

function varargout = Radon_trans(varargin)
% RADON_TRANS M-file for Radon_trans.fig
%      RADON_TRANS, by itself, creates a new RADON_TRANS or raises the existing
%      singleton*.
%
%      H = RADON_TRANS returns the handle to a new RADON_TRANS or the handle to
%      the existing singleton*.
%
%      RADON_TRANS('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in RADON_TRANS.M with the given input arguments.
%
%      RADON_TRANS('Property','Value',...) creates a new RADON_TRANS or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before Radon_trans_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to Radon_trans_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help Radon_trans% Last Modified by GUIDE v2.5 12-Jun-2009 20:15:52% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...'gui_Singleton',  gui_Singleton, ...'gui_OpeningFcn', @Radon_trans_OpeningFcn, ...'gui_OutputFcn',  @Radon_trans_OutputFcn, ...'gui_LayoutFcn',  [] , ...'gui_Callback',   []);
if nargin & isstr(varargin{1})gui_State.gui_Callback = str2func(varargin{1});
endif nargout[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
elsegui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT% --- Executes just before Radon_trans is made visible.
function Radon_trans_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to Radon_trans (see VARARGIN)
axes(handles.axes1);
img=imread('lena.bmp');
imshow(img);
axes(handles.axes2);
theta=0:180;
[R,xp]=radon(img,theta);
imagesc(theta,xp,R);
axes(handles.axes3);
[R,xp]=radon(img,[0 45]);
plot(xp,R(:,1));
axes(handles.axes4);
[R,xp]=radon(img,[0 45]);
plot(xp,R(:,2));
% Choose default command line output for Radon_trans
handles.output = hObject;% Update handles structure
guidata(hObject, handles);% UIWAIT makes Radon_trans wait for user response (see UIRESUME)
% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.
function varargout = Radon_trans_OutputFcn(hObject, eventdata, handles)
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Get default command line output from handles structure
varargout{1} = handles.output;% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispcset(hObject,'BackgroundColor','white');
elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu1
val=get(hObject,'value');
str=get(hObject,'string');
switch str{val};case 'lena'lena = [];lena = imread('lena.bmp');img = lena;case 'cameraman'cameraman=[];cameraman=imread('cameraman.tif');img=cameraman;case 'Saturn',saturn = [];load imdemos saturnimg = saturn;case 'Tire',tire = [];load imdemos tireimg = tire;case 'Pout',pout = [];load imdemos poutimg = pout;case 'Trees',trees = [];load imdemos treesimg = trees;case 'Quarter',quarter = [];load imdemos quarterimg = quarter;case 'Circuit',circuit = [];load imdemos circuitimg = circuit;case 'Rice',rice = [];load imdemos riceimg = rice;case 'Fingerprint'fingerprint = [];fingerprint = imread('fingerprint.jpg');img = fingerprint;case 'Licenceplate'licenceplate = [];licenceplate = imread('licenceplate.jpg');img = licenceplate;case 'Haze'haze = [];haze = imread('haze.jpg');img = haze;case 'Cloudy'cloudy = [];cloudy = imread('cloudy.tif');img = cloudy;end
axes(handles.axes1);
imshow(img);
axes(handles.axes2);
theta=0:180;
[R,xp]=radon(img,theta);
imagesc(theta,xp,R);
axes(handles.axes3);
[R,xp]=radon(img,[0 45]);
plot(xp,R(:,1));
axes(handles.axes4);
[R,xp]=radon(img,[0 45]);
plot(xp,R(:,2));% --- Executes on button press in close_button.
function close_button_Callback(hObject, eventdata, handles)
% hObject    handle to close_button (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
close(Radon_trans);

四、运行结果

五、matlab版本及参考文献

1 matlab版本
2014a

2 参考文献
[1] 蔡利梅.MATLAB图像处理——理论、算法与实例分析[M].清华大学出版社,2020.
[2]杨丹,赵海滨,龙哲.MATLAB图像处理实例详解[M].清华大学出版社,2013.
[3]周品.MATLAB图像处理与图形用户界面设计[M].清华大学出版社,2013.
[4]刘成龙.精通MATLAB图像处理[M].清华大学出版社,2015.
[5]陈浩,方勇,朱大洲,王成,陈子龙.基于蚁群算法的玉米植株热红外图像边缘检测[J].农机化研究. 2015,37(06)

【图像几何】基于matlab GUI图像拉东变换【含Matlab源码 848期】相关推荐

  1. 【信号处理】基于Matlab GUI数字均衡器设计,源码附上

    [信号处理]基于Matlab GUI数字均衡器设计,源码附上 数字均衡器是一种常用于音频信号处理的技术,可以有效地补偿声音中的频率失真,提高音质.在这篇文章中,我们将介绍如何使用Matlab GUI进 ...

  2. 【过程控制】基于matlab GUI串级控制【含Matlab源码 2385期】

    ⛄一.简介 1 交互系统整体外观展示 该系统基于 MATLAB GUI 与 Simulink 联合开发, 实现对串级控制系统特性的研究与分析.学生在学习串级控 制有关知识后可使用该应用进行知识回顾.界 ...

  3. matlab svm 语音识别,【情感识别】基于matlab支持向量机(SVM)的语音情感识别【含Matlab源码 543期】...

    一.简介 支持向量机(Support Vector Machine)是Cortes和Vapnik于1995年首先提出的,它在解决小样本.非线性及高维模式识别中表现出许多特有的优势,并能够推广应用到函数 ...

  4. 【Matlab图像融合】小波变换遥感图像融合【含GUI源码 744期】

    一.代码运行视频(哔哩哔哩) [Matlab图像融合]小波变换遥感图像融合[含GUI源码 744期] 二.matlab版本及参考文献 1 matlab版本 2014a 2 参考文献 [1] 包子阳,余 ...

  5. 【Matlab图像加密】正交拉丁方置乱算法图像加解密【含GUI源码 182期】

    一.代码运行视频(哔哩哔哩) [Matlab图像加密]正交拉丁方置乱算法图像加解密[含GUI源码 182期] 二.matlab版本及参考文献 一.代码运行视频(哔哩哔哩) [Matlab图像处理]自动 ...

  6. 【图像修复】基于matlab损坏图像修复【含Matlab源码 731期】

    一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[图像修复]基于matlab损坏图像修复[含Matlab源码 731期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: 付费专栏 ...

  7. 【图像增强】基于matlab萤火虫算法图像对比度增强【含Matlab源码 2142期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[图像增强]基于matlab萤火虫算法图像对比度增强[含Matlab源码 2142期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方 ...

  8. 【图像融合】基于matlab加权平均法图像融合【含Matlab源码 722期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[图像融合]基于matlab加权平均法图像融合[含Matlab源码 722期] (https://download.csdn.net/do ...

  9. 【图像融合】基于matlab导向滤波图像融合【含Matlab源码 1959期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[图像融合]基于matlab导向滤波图像融合[含Matlab源码 1959期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: ...

  10. 【图像融合】基于matlab稀疏表示多光谱图像融合【含Matlab源码 1301期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[图像融合]基于matlab稀疏表示多光谱图像融合[含Matlab源码 1301期] 获取代码方式2: 付费专栏Matlab图像处理(初级 ...

最新文章

  1. DDD-EF-数据仓储
  2. VTK:图像理想高通用法实战
  3. 本地连接时,通过localhost不能登陆到指定的端口
  4. CodeCraft-21 and Codeforces Round #711 (Div. 2) D. Bananas in a Microwave 优化暴力
  5. oracle mysql 透明网关_如何在Oracle中建立透明网关
  6. Codeforces Round #296 (Div. 2)
  7. Excel数据转化为sql脚本
  8. 怎么在html中加入特效汉字,如何在小视频上加文字,文字动画特效,朋友圈小视频加文字...
  9. 还记得儿时的那片海么?
  10. 自我救赎段子_为什么技术可以成为现代教育和学习的救赎之恩
  11. 找出数组x中的最大值和该值所在的元素下标,数组元素从键盘输入。
  12. iOS图形编辑之Core Graphics
  13. 【开发教程14】AI语音人脸识别(会议记录仪/人脸打卡机)-AI人脸系统架构
  14. 【Javascript 基础】课堂笔记1
  15. 【Unity3D-Mirror多人坦克大战】坦克生成、移动和摄像机跟随(二)
  16. 全连接网络和卷积神经网络
  17. MOSFET开通特性(1)——输入特性
  18. ffmpeg中AVPacket与AVFrame中数据的传递与释放
  19. 两会话文明 | 文明的行为,也是最美的风景
  20. uniapp之微信小程序开发——根据主题色动态修改svg的颜色

热门文章

  1. 百度前端学院--小薇学院--任务05
  2. TextAppearance.Material.Widget.Button.Inverse,Widget.Material.Button.Colored
  3. LeetCode() Search in Rotated Sorted Array
  4. ListControl
  5. 5个界面效果很炫的JavaScript UI框架
  6. extern dllInport用法
  7. HDU10月月赛总结
  8. OpenCV人工智能图像处理学习笔记 第6章 计算机视觉加强之机器学习上
  9. 20190930每日一句
  10. 181123每日一句