计算机图像处理 Computer Image Processing
Overview
The main content of this course is to process image with Matlab.
- Introduction to computer image and color model
- Image transform, enhancement and segmentation
Computer Graphics studies how to make computers display images, while Computer Image Processing focuses on processing image.
一、Image and Color Model
1. Color Image
Digital images has three types: color images, grayscale images and binary images.
1) Color Image
Each pixel of color image is composed of three primary colors. We use three matrices to store a color image.
2) Grayscale Image
Grayscale image has no color information.
For an 8-bit grayscale image, the grayscale value of each pixel is between 0 and 255.
3) Binary Image
Binary image has only two colors: black and white.
2. Color Model
We use color model to describe and use color scientifically and quantitatively.
Most commonly used color model: RGB.
R, G, and B respectively represent the three primary colors of red, green and blue.
These three colors can be mixed together to produce other colors.
The RGB of Pure Black:
R | G | B |
---|---|---|
0 | 0 | 0 |
Other Models: HSI
二、Image Processing
1. Image Transform
We often need to transform a picture from the spatial domain to the frequency domain.
Because in the frequency domain, the characteristics of the image are more prominent.
The edge and line information is reflected in the high-frequency components, and the image energy is reflected in the low-frequency components.
The most widely used transform is the Fourier transform.
In Matlab:
fft2()
2. Image Enhancement
It means highlighting certain information in an image.
Image enhancement can be performed in two domains:
- spatial domain
- frequency domain
1) Spatial Domain
We can use smoothing filter or sharpening filter to smooth or sharpen an image.
The principle is to change the grayvalue of each pixel through specific calculation.
2) Frequency Domain
We can use low-pass of high-pass filter to smooth or sharpen an image.
The principle is to block certain frequency.
3. Image Segmentation
Image segmentation is to segment the target from an image.
There are many basis for segmentation, such as grayvalue, edge and so on.
We mainly talk about the segmentation method based on threshold.
We select an appropriate threshold according to the difference in grayscale between the target and the background to determine whether a pixel belongs to the target or the background area.
原文地址:https://www.cnblogs.com/danielwong2021/p/15380785.html
- 从零教你在Linux环境下(ubuntu)如何编译hadoop2.4
- 【Golang语言社区】前端编程-利用CSS3实现雷达扫描效果图特效
- 【Golang语言社区】h5 实现图片拖拽
- go语言结构体定义使用
- Go语言单元测试
- go语言中json转成map结构
- 让你快速认识flume及安装和使用flume1.5传输数据(日志)到hadoop2.2
- 几种服务器端IO模型的简单介绍及实现(上)
- tensorflow版的bvlc模型
- 几种服务器端IO模型的简单介绍及实现(下)
- caffe中关于数据进行预处理的方式
- 高性能IO模型浅析
- 关于梯度下降算法的的一些总结
- Hadoop集群搭建总结及Hadoop2.5集群伪分布、完全分布搭建总结
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法
- 详解nohup /dev/null 2>&1 含义的使用
- centOS7安装jdk1.8的方法
- 你知道一台Linux服务器可以负载多少个连接吗
- Linux环境下安装Nginx及其使用
- CentOS8中的nmcli使用详解
- 在Linux中使用history命令的方法
- Linux服务器部署JavaWeb项目完整教程
- centos 6 安装vsftpd与PAM虚拟用户的方法
- CentOS6.8中/英文环境切换教程图解
- centos7.6 安装Tomcat-8.5.39的方法
- ubuntu14.04安装jdk1.8的教程
- Linux nohup实现后台运行程序及查看(nohup与&)
- 详解Linux 服务管理两种方式service和systemctl
- CentOS6.5安装python3.7详细步骤
- Centos7.5配置IP地址的实现