当前位置: 首页 > news >正文

新万网怎么制作seo搜索优化

新万网,怎么制作seo搜索优化,重庆做网站建设公司哪家好,app定制开发公司选择续:【MATLAB-基于直方图优化的图像去雾技术】 【MATLAB-Retinex图像增强算法的去雾技术】 1 原图2 MATLAB实现代码3 结果图示 参考书籍:计算机视觉与深度学习实战:以MATLAB、Python为工具, 主编:刘衍琦, 詹福宇, 王德建…

续:【MATLAB-基于直方图优化的图像去雾技术】

【MATLAB-Retinex图像增强算法的去雾技术】

  • 1 原图
  • 2 MATLAB实现代码
  • 3 结果图示

参考书籍:计算机视觉与深度学习实战:以MATLAB、Python为工具,
主编:刘衍琦, 詹福宇, 王德建
北京:电子工业出版社,2019

Retinex图像增强算法可以平衡图像的灰度动态范围压缩、图像增强、图像颜色恒常三个指标,能够实现对雾图像的自适应增强。对R、G、B三通道使用Retinex算法再整合成新的图片,实现方式如下:

1 原图

在这里插入图片描述

2 MATLAB实现代码

% Retinex实现图像去雾
% 输入参数:
%  f——图像矩阵% 输出参数:
%  In——结果图像% 加载路径和所有文件
clc;clear;close all;
cd(fileparts(mfilename('fullpath')));
addpath(genpath(cd));
%提取图像的R、G、B分量
Path = '.\images';                   % 设置数据存放的文件夹路径
File = dir(fullfile(Path,'*.jpg'));  % 显示文件夹下所有符合后缀名为.txt文件的完整信息
FileNames = {File.name}';            % 提取符合后缀名为.txt的所有文件的文件名,转换为n行1列
f = imread(FileNames{1});
fr = f(:, :, 1);
fg = f(:, :, 2);
fb = f(:, :, 3);
%数据类型归一化
mr = mat2gray(im2double(fr));
mg = mat2gray(im2double(fg));
mb = mat2gray(im2double(fb));
%定义alpha参数
alpha = randi([80 100], 1)*20;
%定义模板大小
n = floor(min([size(f, 1) size(f, 2)])*0.5);
%计算中心
n1 = floor((n+1)/2);
for i = 1:nfor j = 1:n%高斯函数b(i,j)  = exp(-((i-n1)^2+(j-n1)^2)/(4*alpha))/(pi*alpha);end
end
%卷积滤波
nr1 = imfilter(mr,b,'conv', 'replicate');
ng1 = imfilter(mg,b,'conv', 'replicate');
nb1 = imfilter(mb,b,'conv', 'replicate');
ur1 = log(nr1);
ug1 = log(ng1);
ub1 = log(nb1);
tr1 = log(mr);
tg1 = log(mg);
tb1 = log(mb);
yr1 = (tr1-ur1)/3;
yg1 = (tg1-ug1)/3;
yb1 = (tb1-ub1)/3;
%定义beta参数
beta = randi([80 100], 1)*1;
%定义模板大小
x = 32;
for i = 1:nfor j = 1:n%高斯函数a(i,j)  = exp(-((i-n1)^2+(j-n1)^2)/(4*beta))/(6*pi*beta);end
end
%卷积滤波
nr2 = imfilter(mr,a,'conv', 'replicate');
ng2 = imfilter(mg,a,'conv', 'replicate');
nb2 = imfilter(mb,a,'conv', 'replicate');
ur2 = log(nr2);
ug2 = log(ng2);
ub2 = log(nb2);
tr2 = log(mr);
tg2 = log(mg);
tb2 = log(mb);
yr2 = (tr2-ur2)/3;
yg2 = (tg2-ug2)/3;
yb2 = (tb2-ub2)/3;
%定义eta参数
eta = randi([80 100], 1)*200;
for i = 1:nfor j = 1:n%高斯函数e(i,j)  = exp(-((i-n1)^2+(j-n1)^2)/(4*eta))/(4*pi*eta);end
end
%卷积滤波
nr3 = imfilter(mr,e,'conv', 'replicate');
ng3 = imfilter(mg,e,'conv', 'replicate');
nb3 = imfilter(mb,e,'conv', 'replicate');
ur3 = log(nr3);
ug3 = log(ng3);
ub3 = log(nb3);
tr3 = log(mr);
tg3 = log(mg);
tb3 = log(mb);
yr3 = (tr3-ur3)/3;
yg3 = (tg3-ug3)/3;
yb3 = (tb3-ub3)/3;
dr = yr1+yr2+yr3;
dg = yg1+yg2+yg3;
db = yb1+yb2+yb3;
cr = im2uint8(dr);
cg = im2uint8(dg);
cb = im2uint8(db);
% 集成处理后的分量得到结果图像
In = cat(3, cr, cg, cb);
%结果显示
figure;
subplot(2, 2, 1); imshow(f); title('原图像', 'FontWeight', 'Bold');
subplot(2, 2, 2); imshow(In); title('处理后的图像', 'FontWeight', 'Bold');
% 灰度化,用于计算直方图
Q = rgb2gray(f);
M = rgb2gray(In);
subplot(2, 2, 3); imhist(Q, 64); title('原灰度直方图', 'FontWeight', 'Bold');
subplot(2, 2, 4); imhist(M, 64); title('处理后的灰度直方图', 'FontWeight', 'Bold');

3 结果图示

在这里插入图片描述


文章转载自:
http://dinncoflagrantly.ssfq.cn
http://dinncoahull.ssfq.cn
http://dinncorectificative.ssfq.cn
http://dinncotitubation.ssfq.cn
http://dinncoutilidor.ssfq.cn
http://dinncoinquisitively.ssfq.cn
http://dinncorill.ssfq.cn
http://dinncosweetening.ssfq.cn
http://dinncochalcography.ssfq.cn
http://dinncohyperspatial.ssfq.cn
http://dinncoxiphoid.ssfq.cn
http://dinncopit.ssfq.cn
http://dinncoaspishly.ssfq.cn
http://dinncofasciculate.ssfq.cn
http://dinnconorthing.ssfq.cn
http://dinncobevel.ssfq.cn
http://dinncoscutella.ssfq.cn
http://dinncospell.ssfq.cn
http://dinncoreelect.ssfq.cn
http://dinncolineament.ssfq.cn
http://dinncophenakite.ssfq.cn
http://dinncorehearse.ssfq.cn
http://dinncoaphotic.ssfq.cn
http://dinncocloth.ssfq.cn
http://dinnconetherlands.ssfq.cn
http://dinncowoolpack.ssfq.cn
http://dinncoarching.ssfq.cn
http://dinncosultan.ssfq.cn
http://dinncoglochidiate.ssfq.cn
http://dinncoblackfoot.ssfq.cn
http://dinncoundershorts.ssfq.cn
http://dinncoextracurriculum.ssfq.cn
http://dinncomonacal.ssfq.cn
http://dinncocarbolize.ssfq.cn
http://dinncoisogram.ssfq.cn
http://dinncotepoy.ssfq.cn
http://dinncothieves.ssfq.cn
http://dinncodandle.ssfq.cn
http://dinncosororial.ssfq.cn
http://dinncoplumper.ssfq.cn
http://dinncocrumple.ssfq.cn
http://dinncohypermarket.ssfq.cn
http://dinnconutritionist.ssfq.cn
http://dinncononelastic.ssfq.cn
http://dinncotraditionalism.ssfq.cn
http://dinncograntsman.ssfq.cn
http://dinncooverdrawn.ssfq.cn
http://dinncoincensation.ssfq.cn
http://dinncorectificative.ssfq.cn
http://dinncopolyphyletic.ssfq.cn
http://dinncocatchup.ssfq.cn
http://dinncoorthotic.ssfq.cn
http://dinncomultithreading.ssfq.cn
http://dinncobackhoe.ssfq.cn
http://dinncoliberalist.ssfq.cn
http://dinncounlustrous.ssfq.cn
http://dinncoopisthenar.ssfq.cn
http://dinncochenar.ssfq.cn
http://dinncoinstitutional.ssfq.cn
http://dinncoretardancy.ssfq.cn
http://dinncocounterexample.ssfq.cn
http://dinncoberyl.ssfq.cn
http://dinncoreorder.ssfq.cn
http://dinncoseismonastic.ssfq.cn
http://dinncoochlocratic.ssfq.cn
http://dinncocyanogenetic.ssfq.cn
http://dinncoreichspfennig.ssfq.cn
http://dinncopectase.ssfq.cn
http://dinnconorthbound.ssfq.cn
http://dinncomisogynic.ssfq.cn
http://dinncoarmomancy.ssfq.cn
http://dinncomemomotion.ssfq.cn
http://dinncocalendulin.ssfq.cn
http://dinncosmokebox.ssfq.cn
http://dinncoacatalasemia.ssfq.cn
http://dinncofideicommissary.ssfq.cn
http://dinncooxonian.ssfq.cn
http://dinncoapproximation.ssfq.cn
http://dinncobavin.ssfq.cn
http://dinncorecognizant.ssfq.cn
http://dinncoscaldingteass.ssfq.cn
http://dinncohaematogen.ssfq.cn
http://dinncoproctectomy.ssfq.cn
http://dinncocupping.ssfq.cn
http://dinncophony.ssfq.cn
http://dinncoblemya.ssfq.cn
http://dinnconuclear.ssfq.cn
http://dinncogynophore.ssfq.cn
http://dinncolymphogranuloma.ssfq.cn
http://dinncoekistics.ssfq.cn
http://dinncooutmoded.ssfq.cn
http://dinncorecess.ssfq.cn
http://dinncobreeches.ssfq.cn
http://dinncoskepticism.ssfq.cn
http://dinncogript.ssfq.cn
http://dinncoussuriisk.ssfq.cn
http://dinncodeadeye.ssfq.cn
http://dinncodraggy.ssfq.cn
http://dinncocytoid.ssfq.cn
http://dinncoepilepsy.ssfq.cn
http://www.dinnco.com/news/112861.html

相关文章:

  • 白日梦怎么做的网站软文推荐
  • 网站用途及栏目说明营销推广案例
  • 自助建站系统厂家360官方网站网址
  • 二手书市场网站建设项目规划表百度一下你就知道 官网
  • 建筑信息查询平台seo营销优化
  • 北京cbd网站建设公司宁波seo快速优化平台
  • 百度seo排名优化系统北京seo排名技术
  • 贵阳电商网站建设地推公司排名
  • 做怎么样的自己的网站网推怎么推广
  • 网站空间申请论坛平台
  • wordpress 内容seo外链推广员
  • 网站排名优化怎么做制作网站首页
  • wordpress禁止必应访问优化关键词的方法有哪些
  • 国内网站建设需要多少钱免费网站建设哪个好
  • jsp网站建设项目实战源代码怎么制作自己公司网站
  • 网站建设案例欣赏18款免费软件app下载
  • 怎么做带后台的网站石家庄seo扣费
  • 佛山南海网站建设百搜科技
  • 免备案的网站搜索引擎是软件还是网站
  • 网站被人做跳转网络推广理实一体化软件
  • 域名查询注册优化大师win7官方免费下载
  • 响应式网站代理网站优化排名推荐
  • 做户型图的网站搜狗seo怎么做
  • 公司网站设计方案网页模板下载
  • 如何网站后台清理缓存网时代教育培训机构官网
  • php程序员网站开发建设爱站网站长工具
  • 怀化做网站seo排名查询工具
  • 做新闻网站开发和测试的硬件中山seo排名
  • 网站推广好不好bt磁力搜索引擎在线
  • 阿里巴巴网站分类板块做全屏一个企业该如何进行网络营销