Machine vision 机器视觉 学习笔记(1)Digital Image Fundamentals

用matlab做

Digital Image Fundamentals

Image Representation

 A projection of 3D scene into 2D.

 The image is modeled by a continuous function of two variables f( x, y) or three variables f( x, y, t) ps:( x, y) gives the coordinate of a plane. t is the time domain.

The image function value f correspond to brightness at an image point.

#f对应亮度(或者其他,比如温度),图像由位置xy表示或者xyt加上时间域参数。

ps:An intensity image is a 2D image bearing information about brightness points.

Image can be considered as a 2D light intensity function, f(x,y), where x and y are spatial coordinates, and f at ( x, y) is related to the brightness or color of the image at that point.

The brightness or intensity of the image is determined by:

        Illumination component: the amount of light incident on the viewing scene.#光照成分,入射        

      Reflection component: the amount of light reflected by the object in the scene.#反射,eg. Example values of typical surfaces: black silk (0.01), stainless steel (0.65), silver plate (0.90).

  1.      
  2.  Image Digitalization

  3. 图像需要用离散数据化表达,eg. Matrix or 2D array for 2D image
  4. Image digitalization is the process of converting an image into a numerical representation through sampling and quantization(sampling&quantization)

        Sampling turns the continuous function f( x,y) into a matrix of N rows and M columns.

        Quantization assigns an integer value to each continuous sample.(为样本赋值,整数)

——Each element of the matrix of samples is called pixel (for PICture ELement).

Pixel

Sampling

 Picture Space and Image Space

 Image Resolution

 

Raster Dimension 

Raster or image dimension (= width x height) is the number of horizontal and vertical samples in the pixel grid.

examples:

Scaling (or resampling): the process to create an image with different dimensions from that of the source image#缩放(或重采样)

Scaling image down (or decimation): the process of reducing the raster dimension.#缩小图像规模(或称分片)——对贡献于每个输出像素的源像素的数值进行平均化

Scaling image up: the process of increasing the image size to create sample points between the original sample samples in the source raster.#放大——内插法,使用样本网格中的数值来猜测未知像素的值 
 

Quantization

Quantizes the continuous range of brightness or intensity to K gray levels.#灰度量化

K = 2^n

 where n is known as the color capability or color depth or bit depth; n is the number of bits used to indicate the color of a single pixel.

Quantization error is defined as the difference between actual analog value and quantized digital value.#量化误差是因为四舍五入或者截断 

 

Brightness level = gray level in monochrome image

Color Depth 

 Indexed Color

 

        色彩能力=每像素8比特,最大数值=256。每个值都是一个索引号,对应于文件查找表中的明确颜色值。

        查找表(颜色查找表或颜色映射)存储在图像文件的头部。颜色查询表可以是一个内置在成像系统中的硬件设备。 

        色域图被定义为一个颜色列表,每个颜色都以一个整数像素值为索引。色域图中的每个条目被称为一个颜色单元。一个颜色单元代表一种颜色,通常由一组三个数值定义,分别代表红、绿、蓝的强度。

The finer the sampling (i.e., the larger M and N) and quantization (i.e., the larger K), the better the approximation of the continuous image function f(x,y) achieved.The number of quantization levels (brightness or gray levels) should be high enough for human perception of fine shading details in the image.

#采样越细(即M和N越大)和量化(即K越大),实现的连续图像函数f(x,y)的近似度越高。

 Sumary1:

 Digital Image Properties

Metric and Topological Properties

 

 Connectivity

A connected space is a topological space which cannot be represented as the disjoint union of two or more nonempty open subsets.

Distance to examine connectivity :

距离计算DE,D4, D8 

 Typical Connectivity

 Histogram亮度直方图

The brightness histogram H( z) of an image provides the frequency of the brightness value z in the image.

The histogram of an image with L graylevel is represent by a 1D array with L elements.

 

 计算

 Thresholding阈值处理法

Summary2:

Image Enhancement图像增强

 

 Spatial Domain Methods空间域方法

Spatial domain methods operate directly on the pixels composing an image.

 

 Point Processing点处理

Point processing is a type of image enhancement, also known as pixel brightness transformation.

Gray-Scale Transformation 3种常用灰度转换

Negative Transformation

Histogram——Brightness thresholding that results in a black and white image

  

Contrast Stretching对比度拉伸

 

 Piecewise Linear Function——Piecewise linear function that enhances the image contrast between two specific brightness values.

 

 Gray Level Slicing灰度级切片

 Dynamic Range Compression动态范围压缩

 

Histogram Equalization 

 

 

 

 

 

Summary3:

matlab部分之后再发笔记

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值