当前位置:网站首页>Theoretical knowledge of digital image (I) (personal analysis)
Theoretical knowledge of digital image (I) (personal analysis)
2022-07-28 19:56:00 【Mountains and rivers don't grow old】
Catalog
One 、 Representation of digital images
An image can be defined as a two-dimensional function f ( x , y ) f(x,y) f(x,y), among x and y It's space coordinates ,f Is the amplitude at any coordinate point , Represents the brightness of the image at this point . Grayscale is a term used to express the brightness of a black-and-white image , The color image is composed of a single two-dimensional image . for example ,RGB In the color system , A color image consists of three independent component images ( red 、 green 、 blue ) form . Therefore, many image processing techniques are applicable to black-and-white and color images , It is common to both .
1.1.1 coordinate
Image about x and y Coordinates and amplitudes are continuous . To convert such an image into digital form , It requires digitizing coordinates and amplitudes . Digitizing coordinate values is called sampling ; Digitizing the amplitude is called quantization . So when f Of x and y When both components and amplitudes are finite and discrete , The image is called a digital image .
The sampled and quantized results are a real matrix . Suppose that after sampling an image, we get M That's ok N Image of column . We call the size of this image MxN. Coordinate value (x,y) Is a discrete quantity .
** Be careful :x The scope of is from 0M-1 The integer of ,y The scope of is from 0N-1 The integer of .** chart 2.1(a) This definition is shown .
The tool box uses (r,c) To represent rows and columns , And the origin of the system is (1,1) It's about , so r from 1 To M,c It's from 1 To N The integer of . Pictured 2.1(b) Shown 
1.1.2 Represented by the matrix of the image
From the figure 2.1(a) The following digital image functions can be obtained from the coordinate system shown in :


1.2 Read images 、






2.3 Display images

2.4 Save image







2.4.2 imwrite Second usage





2.5 data type

2.6 Image type

2.6.1 Brightness image

2.6.2 Binary image

2.7 Conversion between data class and image type
2.7.1 Conversion between data classes
2.8 Array index

2.8.1 Vector index




2.8.2 Matrix index








边栏推荐
- 11、 学习MySQL UNION 操作符
- Report redirect after authorized login on wechat official account_ The problem of wrong URI parameters
- Source code analysis of scripy spider
- How many types of rain do you know?
- 2022年全国最新消防设施操作员(中级消防设施操作员)题库及答案
- 河北:稳粮扩豆助力粮油生产提质增效
- 软考高级考试中有五大证书,哪个更值得考?
- CodeIgnier框架实现restful API接口编程
- 爬取IP
- How navicate modifies the database name
猜你喜欢

利用STM32的HAL库驱动1.54寸 TFT屏(240*240 ST7789V)

English translation Portuguese - batch English conversion Portuguese - free translation and conversion of various languages

Design of air combat game based on qtgui image interface

河北邯郸:拓展基层就业空间 助力高校毕业生就业

一文读懂如何部署具有外部数据库的高可用 K3s

JS preventdefault() keyboard input limit onmousewheel stoppropagation stop event propagation

Cell review: single cell methods in human microbiome research

What parameters should be passed in calling integer or character array functions

MATLAB实现的图像分割之边缘检测和连接

NetCoreAPI操作Excel表格
随机推荐
String中常用的API
11、 学习MySQL UNION 操作符
There are five certificates in the soft examination advanced examination, which is more worth taking?
毕马威中国:证券基金经营机构信息技术审计项目发现洞察
This customized keyboard turns me on~
leetcode day3 查找重复的电子邮箱
开盘暴涨215%!国产信号链芯片企业芯海科技登陆科创板
Servlet学习笔记
德国、葡萄牙均宣布不会禁用华为5G设备,但德国会设定严格限制条件!
Business visualization - let your flowchart "run" (4. Actual business scenario test)
基于C语言的信息管理系统和小游戏
MySQL8 基于clone创建主从复制
JS preventdefault() keyboard input limit onmousewheel stoppropagation stop event propagation
Application skills of programming rising and falling edge instructions of botu 1200/1500plc (bool array)
OpenOCD如何通过stlink直接下载程序到stm32板子(已解决)
English Translation Spanish - batch English Translation Spanish tools free of charge
并发程序设计,你真的懂吗?
Serial port receiving application ring buffer
[network] communication across regional networks learn how routing tables work
leetcode day1 分数排名