图像处理第二节课

report 2

color space , filter and color balancing

different color space in image processing

网上描述

RGB color:

The most widely used color space in computer technology is the RGB color space, which is a model closely related to the structure of the human visual system. Depending on the structure of the human eye, all colors can be viewed as three basic colors - different combinations of red, green, and blue, which are used by most displays. For a three-channel color digital image for each image pixel (x, y), it is necessary to indicate three vector components R, G, B.

Lab color space:

The Lab color space is a color mode developed by the CIE (International Commission on Illumination). Any color in nature can be expressed in Lab space, its color space is larger than RGB space.
The Lab color space takes the coordinate Lab, where L is bright; the positive number of a represents red, the negative end represents green; the positive number of b represents yellow, and the negative end represents blue.

CIE-lab/luv color space:

The CIE International Standard Lighting Commission established a series of color space standards for the visible spectrum in 1931. It has three basic quantities, represented by X, Y, and Z. It can represent any color by X, Y, and Z. The values of X, Y, and Z can be expressed linearly by R, G, and B, relative to the RGB color space. , XYZ color space can contain almost all colors that humans can feel.

YCBCR color space:

This color space is mainly based on the fact that the human eye is sensitive to the luminance ratio to the chromaticity, and separates the color component from the luminance component. The principles of early black and white televisions and color televisions came from this. Y represent the luminance, and CB and CR are blue and red concentration offset components.

CMYK color space:

CMYK (cyan, magenta, yellow) color space is used in the printing industry. The printing industry expresses colorful colors and tones through the overprinting of different dot area ratios of cyan ©, product (M), and yellow (Y) inks. This is the CMY color space of the three primary colors. In actual printing, four colors of cyan ©, product (M), yellow (Y), and black (BK) are generally used, and the black version is added to the darkness in the middle of printing. When the red, green, and blue primary colors are mixed, white is produced, but black is produced when the three primary colors of cyan, magenta, and yellow are mixed.

different filters in image processing

Gaussian filter:(高斯滤波器)

来源

h = fspecial(‘gaussian’,hsize, sigma)

returns a rotationally symmetric Gaussian lowpass filter of size hsize with standard deviation sigma. Not recommended. Use imgaussfilt or imgaussfilt3 instead.
The Gaussian filter is a linear filter that effectively suppresses noise and smoothes the image.
The sigma determines the degree of blurring of the Gaussian fuzzy kernel. Mathematically, the effect of the sigma on the shape of the curve, the smaller the sigma, the higher the sharper the curve, the larger the sigma, the lower the curve and the smoother the curve. Therefore, the smaller the Gaussian radius, the smaller the blur and the larger the Gaussian radius, the greater the degree of blur. In other words, the smaller the sigma, the more concentrated the numerical distribution, and the larger the sigma, the more dispersed the numerical distribution.

imgaussfilt (instead the gaussian filter)

B = imgaussfilt(A) filters image A with a 2-D Gaussian smoothing kernel with standard deviation of 0.5, and returns the filtered image in B.
You optionally can perform the filtering using a GPU (requires Parallel Computing Toolbox™). For more information, see Image Processing on a GPU.
example
B = imgaussfilt(A,sigma) filters image A with a 2-D Gaussian smoothing kernel with standard deviation specified by sigma.
B = imgaussfilt(___,Name,Value) uses name-value pair arguments to control aspects of the filtering.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值