当前位置:网站首页>【几何法视觉】4.2 分段线性变换
【几何法视觉】4.2 分段线性变换
2022-06-22 20:30:00 【AMOV-ANUU】
疑惑点 :
Gmax Fmax abcd 选值 //代码中有提到
close all;clear all; clc;
R = imread('peppers.png'); % 读入原图像,赋值给R
J = rgb2gray(R); % 将彩色图像数据R转换成J
[M,N]=size(J); % 获得灰色图像的行和列(M,N)用作便利用
x =1; y =1;
%% 为了突出图像中感兴趣的目标,对图像进行分段式的变换
%%
for x= 1:M
for y = 1:N
if(J(x,y)<= 35) %对灰度图像数据J 进行变换,处理好的结果发回给矩阵
H(x,y)=J(x,y)*10;
elseif (J(x,y)>35 && J(x,y))
H(x,y)=(10/7)*[J(x,y)-5]+50;
elseif(J(x,y)>75)
H(x,y)=(105/180)* [J(x,y)-75]+150;
end
end
end
figure,
subplot(121),imshow(J);
subplot(122),imshow(H);
%% 三段变换法其实选定一个区间 ,利用这个区间相差乘以相加运算
%% 本算法中 选取区间是 a= 35 b= 75 而灰度值再 0 -255之间...
%% 以最后的计算为例 c = 350 d = 360 Gmax = 465 Fmax = 255
边栏推荐
- 第029讲:文件:一个任务 | 课后测试题及答案
- 2022年朝阳区科技创新课之“产品创新与成果转化”训练营活动圆满结束
- SPA项目开发之登录注册
- List of outstanding talents: no crystal vibration, one drag, eight burn and upgrade [chapter]
- 6-1 operation set of binary search tree
- Eureka服务注册与发现
- NiO copy file call getchannel method transferfrom()
- 5 minutes to quickly launch web applications and APIs (vercel)
- Lesson 027: Set: in my world, you are the only after-school test question and answer
- 第027讲:集合:在我的世界里,你就是唯一 | 课后测试题及答案
猜你喜欢

How to use the data dictionary function in the low code platform of the Internet of things?

SPA项目开发之首页导航+左侧菜单
![Jerry's dynamic switching EQ document [chapter]](/img/2d/9a0245b87fb05ea61dbfc7922ea766.png)
Jerry's dynamic switching EQ document [chapter]

第030讲:文件系统:介绍一个高大上的东西 | 课后测试题及答案

For an unforgettable memory: special topic of Sun Jian

Lesson 014-15: string (see lesson 27-32 of the new version of little turtle) | after class test questions and answers

Icml2022 | using virtual nodes to promote graph structure learning

6-7 图的深度遍历-邻接表实现

SPA项目开发之动态树+数据表格+分页

IDC publie le rapport sur la gouvernance des données en Chine
随机推荐
The second harmonyos application development training
CyCa children's physique etiquette Shenzhen training results assessment successfully concluded
不同网络结构的特征也能进行对比学习?蚂蚁&美团&南大&阿里提出跨架构自监督视频表示学习方法CACL,性能SOTA!
6-5 图的深度遍历-邻接矩阵实现
The necessary materials for the soft test have been released. All the soft test materials for the whole subject have been prepared for you!
RuntimeError: CUDA error: CUBLAS_ STATUS_ EXECUTION_ FAILED when calling `cublasSgemmStridedBatched( ha
DACL output on Jerry's hardware, DAC output sound of left and right channels [chapter]
《跟唐老师学习云网络》 - OpenStack网络实现
第030讲:文件系统:介绍一个高大上的东西 | 课后测试题及答案
IDC releases China Data Governance Report Yixin Huachen No. 1
(DUC/DDC)数字上混频/正交下混频原理及matlab仿真
Niuke's height in the 52nd monthly race B (thinking problem simulation problem)
300. longest increasing subsequence ●●
CVPR2022 | 用于重采图像的特征解耦学习与动态融合
Icml2022 | using virtual nodes to promote graph structure learning
分享insert into select遇到的死锁问题(项目实战)
(duc/ddc) digital up mixing / quadrature down mixing principle and MATLAB simulation
Can the characteristics of different network structures be compared? Ant & meituan & NTU & Ali proposed a cross architecture self supervised video representation learning method CaCl, performance SOTA
KDD'22 | 阿里: 基于EE探索的精排CTR预估
322.零钱兑换
