当前位置:网站首页>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








边栏推荐
- [experience] some suggestions and experience on repairing electronic equipment
- China's first chip stamp released: built-in 120um ultra-thin NFC chip
- Leetcode day4 the highest paid employee in the Department
- Use Hal Library of STM32 to drive 1.54 inch TFT screen (240*240 st7789v)
- Leetcode Day2 consecutive numbers
- Basic concept and essence of Architecture
- 云原生编程挑战赛火热开赛,51 万奖金等你来挑战!
- Left alignment function of Lua language (handwriting)
- Leetcode day2 连续出现的数字
- Servlet学习笔记
猜你喜欢

English Translation Spanish - batch English Translation Spanish tools free of charge

Saltstack system initialization

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

Convertible bond concept table x notation gives you a convenient and fast experience!

KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书

中国能否在元宇宙的未来发展中取得突破,占领高地?

JS batch add event listening onclick this event delegate target currenttarget onmouseenter OnMouseOver

Servlet学习笔记

KPMG China: insights into information technology audit projects of securities fund management institutions

How many types of rain do you know?
随机推荐
美国将提供250亿美元补贴,鼓励英特尔等芯片制造商迁回产线
[NPP installation plug-in]
华为入股南京芯视界,布局固态激光雷达芯片领域
软考高级考试中有五大证书,哪个更值得考?
Failed to install app-debug. apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
河北:稳粮扩豆助力粮油生产提质增效
中国首枚芯片邮票面世:内置120um超薄NFC芯片
通信网络基础知识01
MySQL8 tmp_table_size和max_heap_table_size
Basic usage of docker
npm安装和卸载全局包
Why is there no log output in the telnet login interface?
Know small and medium LAN WLAN
leetcode day3 超过经理收入的员工
助力面板行业创新,FPGA将成屏厂TCON最佳选择?
MySQL8 Encrypting InnoDB Tablespaces
With the help of panel industry innovation, will FPGA become the best choice for TCON?
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
Servlet学习笔记
Deploy ZABBIX automatically with saltstack