当前位置:网站首页>数字图像理论知识(一)(个人浅析)
数字图像理论知识(一)(个人浅析)
2022-07-28 18:00:00 【山河不见老】
目录
一、数字图像的表示
一幅图像可以被定义为一个二维函数 f ( x , y ) f(x,y) f(x,y),其中x和y是空间坐标,f是在任意坐标点处的振幅,代表图像在该点的亮度。灰度是用来表示黑白图像亮度的一个术语,而彩色图像是由单个二维图像组合形成。例如,RGB彩色系统中,一副彩色图像是由三幅独立的分量图像(红、绿、蓝)组成。因此许多图像处理技术适用于黑白和彩色图像,对二者而言是通用的。
1.1.1 坐标
图像关于x和y坐标以及振幅连续。要将这样的一幅图像转换成数字形式,就要求数字化坐标和振幅。将坐标值数字化称为采样;将振幅数字化称为量化。因此当f的x和y分量和振幅都是有限且离散的量时,称该图像为数字图像。
取样和量化后的结果时一个实数矩阵。设对一幅图像取样后得到了有M行N列的图像。我们称这幅图像的大小为MxN。坐标值(x,y)是离散量。
**注意:x的范围是从0M-1的整数,y的范围是从0N-1的整数。**图2.1(a)显示了这种定义。
而工具箱使用的是(r,c)来表示行和列,且系统的原点在(1,1)处,故r从1到M,c是从1到N的整数。如图2.1(b)所示
1.1.2 由图像的矩阵表示
由图2.1(a)所示的坐标系统可以得到如下数字化图像函数的表示:


1.2读取图像、






2.3 显示图像

2.4 保存图像







2.4.2 imwrite第二种用法





2.5 数据类型

2.6 图像类型

2.6.1 亮度图像

2.6.2 二值图像

2.7 数据类与图像类型间的转换
2.7.1 数据类间的转换
2.8 数组索引

2.8.1向量索引




2.8.2 矩阵索引








边栏推荐
- Servlet学习笔记
- leetcode day5 删除重复的电子邮箱
- 11、 学习MySQL UNION 操作符
- 峰值速率超2Gbps!高通在中国首发通过5G毫米波MIMO OTA测试
- NPM installing and uninstalling global packages
- MySQL8 Encrypting InnoDB Tablespaces
- MySQL performance testing tool sysbench learning
- Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 2)
- Integration and implementation of login click graphic verification code in personal blog system
- Germany and Portugal have announced that they will not disable Huawei 5g equipment, but Germany will set strict restrictions!
猜你喜欢

Report redirect after authorized login on wechat official account_ The problem of wrong URI parameters

Quickly install torch spark, torch geometric and other packages in moment pool cloud

基于MATLAB的函数拟合

Getting started with saltstack

Android section 13 03xutils detailed explanation of database framework (addition, deletion and modification)

Servlet learning notes

基于C语言的信息管理系统和小游戏

调用整数或字符数组函数里的参数应该传入啥

leetcode day1 分数排名

Integration and implementation of login click graphic verification code in personal blog system
随机推荐
峰值速率超2Gbps!高通在中国首发通过5G毫米波MIMO OTA测试
In order to develop high-end photoresist, Jingrui Co., Ltd. invested 75million yuan to purchase SK Hynix ASML lithography machine
KPMG China: insights into information technology audit projects of securities fund management institutions
为什么在telnet登入界面下没有日志输出?
开盘暴涨215%!国产信号链芯片企业芯海科技登陆科创板
基于MATLAB的函数拟合
认识中小型局域网WLAN
Cloud computing notes part.1 - system management
【经验之谈】关于维修电子设备的几点建议和经验
npm安装和卸载全局包
Question bank and answers of the latest national fire-fighting facility operators (intermediate fire-fighting facility operators) in 2022
Redis notes
诺基亚扩大与英国电信的5G协议,将成其最大无线接入设备供应商
2022年全国最新消防设施操作员(中级消防设施操作员)题库及答案
Saltstack configuration management
MySQL性能测试工具sysbench学习
11. Learn MySQL union operator
Sprint for golden nine and silver ten, stay up at night for half a month, collect 1600 real interview questions from Android post of major manufacturers
亚马逊推出Amazon One手掌支付系统,非接触式掌静脉识别市场有望爆发
助力面板行业创新,FPGA将成屏厂TCON最佳选择?