CN105139366A - Image enhancement method based on space domain - Google Patents

Image enhancement method based on space domain Download PDF

Info

Publication number
CN105139366A
CN105139366A CN201510609792.7A CN201510609792A CN105139366A CN 105139366 A CN105139366 A CN 105139366A CN 201510609792 A CN201510609792 A CN 201510609792A CN 105139366 A CN105139366 A CN 105139366A
Authority
CN
China
Prior art keywords
image
gray level
gray
histogram
equalization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510609792.7A
Other languages
Chinese (zh)
Inventor
张岱
齐弘文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Rongchuang Zhigu Science and Technology Co Ltd
Original Assignee
Chengdu Rongchuang Zhigu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Rongchuang Zhigu Science and Technology Co Ltd filed Critical Chengdu Rongchuang Zhigu Science and Technology Co Ltd
Priority to CN201510609792.7A priority Critical patent/CN105139366A/en
Publication of CN105139366A publication Critical patent/CN105139366A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image enhancement method based on space domain and belongs to the technical field of image enhancement methods. Based on index for measuring image quality, advantages and disadvantages of the image enhancement method are evaluated. The method comprises steps of 1) obtaining an original image; 2) performing grey level transformation on the original image so as to obtain a grey level image; 3) performing histogram equalization on the grey level image; and 4) performing histogram specification enhancement processing on the grey level image processed via the histogram equalization. The method is used for image processing.

Description

A kind of image enchancing method based on spatial domain
Technical field
Based on an image enchancing method for spatial domain, for image procossing, belonging to image increases method and technology field.
Background technology
Image enhaucament refers to the important information according to specifically needing in outstanding image, weakens simultaneously or removes unwanted information.From the image that different approaches obtains, by carrying out suitable enhancing process, the smudgy original image even at all cannot differentiated of script can be processed into the used image being rich in a large amount of useful information clearly, effectively remove the edge in the noise in image, enhancing image or other interested regions, thus be more prone to detect target interested in image and measure.
The object of image enhaucament is the visual effect strengthening image, original image is converted to a kind of form being more suitable for eye-observation and Computer Analysis process.It generally by the visual characteristic of human eye, will seem good visual effect to obtain, seldom relates to objective and unified evaluation criterion.The effect strengthened usually all with concrete image-related system, the subjective sensation by people is evaluated.
Computer Image Processing developing history is not long, starts from the sixties in 20th century, is developed so far.The image processing techniques of 21 century is about to, towards the development of high quality aspect, realizing the real-time process of image now, and adopt Digital Holography to make image comprise information the most complete and abundant, the intelligence realizing image generates, processes, understands and identifies.
Image enhaucament is as the important component part of image procossing, and traditional image enchancing method has played vital role for improving picture quality.Along with deepening continuously to image enhancement technique research, new image enchancing method also constantly emerges in large numbers.Mainly be divided at present traditional image enchancing method, based on the image enchancing method of multiscale analysis and mathematical morphology Enhancement Method etc.
Due to the current quality also not having a kind of index of general measurement picture quality can be used for evaluating image enchancing method, image enhaucament theory needs to be further improved.Also just because of this, the exploration of image enhancement technique has experimental and diversity.The method strengthened is often also pointed, to such an extent as to may not be applicable to another kind of image to the good Enhancement Method of certain class image effect.In a practical situation, a kind of effective method being found to test widely, when not having Given Graph picture how to be lowered the priori of quality, predict that the effectiveness of certain concrete grammar is very difficult.So the method often adopted uses the combination of several groups of enhancing technology or the method for adjustment in use parameter.And want the enhancing effect of an acquisition satisfaction, often need man-machine reciprocation.
Summary of the invention
The present invention is directed to the deficiencies in the prior art part and provide a kind of image enchancing method based on spatial domain, evaluate the quality of image enchancing method by the index weighing picture quality.
To achieve these goals, the technical solution used in the present invention is:
Based on an image enchancing method for spatial domain, it is characterized in that:
(1) original image is obtained;
(2) original image is carried out greyscale transformation, obtain gray level image;
(3) gray level image is carried out histogram equalization;
(4) histogram specification is carried out to the gray level image carrying out histogram equalization process and increase process.
Further, in described step (2), original image is carried out greyscale transformation, obtains gray level image as follows:
If the gray-scale value D=f (x of original image pixel, y), the gray-scale value D '=g (x of image pixel after process, y), then grey level enhancement can be expressed as: g (x, y)=T [f (x, ] or D '=T (D) y), require that D and D ' is within the tonal range of image, function T is called greyscale transformation function, it is described that the transformational relation between input gray level value and output gray level value.
Further, in described step (3), by as follows for the concrete steps that gray level image carries out histogram equalization:
(31) input gray level image;
(32) according to formula P r(r k)=n k/ m*n (k=0,1,2 ..., L-1) and calculate the probability that corresponding grey scale level occurs, draw the histogram of gray scale picture;
(33) the gray level cumulative distribution function of gray scale image is calculated: sk=Σ p r(r k);
(34) Sk=round ((S1*256)+0.5) is rounded; Sk is normalized to close gray level, draws the histogram after equalization;
(35) gray-scale value after each pixel normalization is assigned to this pixel, exports the image after equalization.
Further, in described step (4), the concrete steps of the gray level image carrying out histogram equalization process being carried out to histogram specification increase process are as follows:
(41) obtain the grey level probability density function of the gray level image after to histogram equalization, try to achieve transforming function transformation function s=T (r)=∫ 0 rp r(r) dr;
(42) the gray level s obtained does inverse transformation z=G-1 (s).
Compared with prior art, the invention has the advantages that:
One, the present invention can by the quality weighing the index of picture quality and evaluate image enchancing method, widely applicable, without the need to man-machine mutual, and measurable increase effect;
Two, carry out image gray-scale transformation, can image quality be improved, make the display effect of image more clear;
Three, histogram equalization process, make gray scale present two ends distribution, have the image of more pixel to process in the low gray areas of image, that can improve image retracts effect simultaneously;
Four, image is after histogram specification process, increases effect and is conducive to the vision interpretation of people or is convenient to machine recognition.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
In image procossing, spatial domain refers to the space be made up of pixel.Space domain is then directly act on pixel in image or its certain field.Thus, spatial domain image enchancing method is divided into pixel process and field process.
Pixel process comprises image gray-scale transformation and histogram equalization.Wherein histogram equalization can be subdivided into traditional histogram equalization and local histogram equalization again.Field process then comprises image smoothing filtering technique and image sharpening filtering.Wherein will relate to the contents such as mean filter, median filter, gradient algorithm, Laplace operator.
Based on an image enchancing method for spatial domain, comprise the steps:
(1) original image is obtained;
(2) original image is carried out greyscale transformation, obtain gray level image; Original image is carried out greyscale transformation, obtains gray level image as follows:
If the gray-scale value D=f (x of original image pixel, y), the gray-scale value D '=g (x of image pixel after process, y), then grey level enhancement can be expressed as: g (x, y)=T [f (x, ] or D '=T (D) y), require that D and D ' is within the tonal range of image, function T is called greyscale transformation function, it is described that the transformational relation between input gray level value and output gray level value.Greyscale transformation is divided into linear transformation and nonlinear transformation.Binaryzation and thresholding step are:
Set a certain threshold value T, with T, the data of image are divided into two large divisions: be greater than the pixel group of T and be less than the pixel group of T.This studies the most special method of greyscale transformation, is called the binaryzation of image.The operating process of threshold process is first specified by user or generates a threshold value by algorithm, if the gray-scale value of certain pixel is less than this threshold value in image, then the gray-scale value of this pixel is set to 0 or 255, otherwise gray-scale value is set to 255 or 0.The transforming function transformation function expression formula of thresholding is as follows:
f(x)=0x<T
f(x)=255x>T
Wherein T is the threshold value of specifying.Threshold value T is just as individual threshold, and larger than it is exactly white, and less than it is exactly black.This transforming function transformation function is step function, and only need provide threshold point T, the image after threshold process becomes a width black and white binary map, and threshold process is a kind of common method that gray-scale map turns binary map.
(3) gray level image is carried out histogram equalization; By as follows for the concrete steps that gray level image carries out histogram equalization:
(31) input gray level image;
(32) according to formula P r(r k)=n k/ m*n (k=0,1,2 ..., L-1) and calculate the probability that corresponding grey scale level occurs, draw the histogram of gray scale picture;
(33) the gray level cumulative distribution function of gray scale image is calculated: sk=Σ p r(r k);
(34) Sk=round ((S1*256)+0.5) is rounded; Sk is normalized to close gray level, draws the histogram after equalization;
(35) gray-scale value after each pixel normalization is assigned to this pixel, exports the image after equalization.
(4) histogram specification is carried out to the gray level image carrying out histogram equalization process and increase process.The concrete steps of the gray level image carrying out histogram equalization process being carried out to histogram specification increase process are as follows:
(41) obtain the grey level probability density function of the gray level image after to histogram equalization, try to achieve transforming function transformation function s=T (r)=∫ 0 rp r(r) dr;
(42) the gray level s obtained does inverse transformation z=G-1 (s).
Gray level through processing the image obtained above will have the probability density function of regulation.Adopt the raw image data identical with histogram equalization (64 × 64 pixels and have 8 grades of gray scales), the main difficulty utilizing histogram specification method to carry out image enhaucament is to form significant histogram.Image is through histogram specification, and it strengthens effect and will be conducive to the vision interpretation of people or be convenient to machine recognition.

Claims (4)

1., based on an image enchancing method for spatial domain, it is characterized in that:
(1) original image is obtained;
(2) original image is carried out greyscale transformation, obtain gray level image;
(3) gray level image is carried out histogram equalization;
(4) histogram specification is carried out to the gray level image carrying out histogram equalization process and increase process.
2. a kind of image enchancing method based on spatial domain according to claim 1, is characterized in that: in described step (2), original image is carried out greyscale transformation, obtains gray level image as follows:
If the gray-scale value D=f (x of original image pixel, y), the gray-scale value D '=g (x of image pixel after process, y), then grey level enhancement can be expressed as: g (x, y)=T [f (x, ] or D '=T (D) y), require that D and D ' is within the tonal range of image, function T is called greyscale transformation function, it is described that the transformational relation between input gray level value and output gray level value.
3. a kind of image enchancing method based on spatial domain according to claim 1, is characterized in that: in described step (3), by as follows for the concrete steps that gray level image carries out histogram equalization:
(31) input gray level image;
(32) according to formula P r(r k)=n k/ m*n (k=0,1,2 ..., L-1) and calculate the probability that corresponding grey scale level occurs, draw the histogram of gray scale picture;
(33) the gray level cumulative distribution function of gray scale image is calculated: sk=Σ p r(r k);
(34) Sk=round ((S1*256)+0.5) is rounded; Sk is normalized to close gray level, draws the histogram after equalization;
(35) gray-scale value after each pixel normalization is assigned to this pixel, exports the image after equalization.
4. a kind of image enchancing method based on spatial domain according to claim 1, is characterized in that: in described step (4), and the concrete steps of the gray level image carrying out histogram equalization process being carried out to histogram specification increase process are as follows:
(41) obtain the grey level probability density function of the gray level image after to histogram equalization, try to achieve transforming function transformation function s=T (r)=∫ 0 rp r(r) dr;
(42) the gray level s obtained does inverse transformation z=G-1 (s).
CN201510609792.7A 2015-09-23 2015-09-23 Image enhancement method based on space domain Pending CN105139366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510609792.7A CN105139366A (en) 2015-09-23 2015-09-23 Image enhancement method based on space domain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510609792.7A CN105139366A (en) 2015-09-23 2015-09-23 Image enhancement method based on space domain

Publications (1)

Publication Number Publication Date
CN105139366A true CN105139366A (en) 2015-12-09

Family

ID=54724699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510609792.7A Pending CN105139366A (en) 2015-09-23 2015-09-23 Image enhancement method based on space domain

Country Status (1)

Country Link
CN (1) CN105139366A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169181A (en) * 2016-06-30 2016-11-30 北京奇艺世纪科技有限公司 A kind of image processing method and system
CN106251360A (en) * 2016-08-23 2016-12-21 湖南文理学院 Thresholding Method for Grey Image Segmentation based on arithmetic geometry divergence
CN106295664A (en) * 2016-08-02 2017-01-04 沈阳地泰检测设备有限公司 A kind of processing method of postal sorting system acquired image
CN106303252A (en) * 2016-08-26 2017-01-04 合肥若涵信智能工程有限公司 Compensation wireless monitoring video camera
CN106327497A (en) * 2016-08-29 2017-01-11 湖南文理学院 Gray-scale image threshold segmentation method based on super-extensive entropy
CN106331629A (en) * 2016-08-29 2017-01-11 合肥康胜达智能科技有限公司 Safety monitoring system
CN106339994A (en) * 2016-08-29 2017-01-18 合肥康胜达智能科技有限公司 Image enhancement method
CN106375699A (en) * 2016-08-29 2017-02-01 合肥康胜达智能科技有限公司 High-definition network camera
CN107067386A (en) * 2017-04-24 2017-08-18 上海海洋大学 A kind of shallow sea underwater picture Enhancement Method stretched based on relative color histogram
CN107644403A (en) * 2017-08-23 2018-01-30 天津大学 The non-uniform color calibration method of severe environmental conditions hypograph
CN107730476A (en) * 2017-09-27 2018-02-23 温州大学 A kind of image enchancing method and device based on compressed sensing
CN108133463A (en) * 2017-12-14 2018-06-08 中国北方车辆研究所 The noise-reduction method and system of a kind of histogram-equalized image
CN105894481B (en) * 2016-04-22 2019-02-05 深圳英飞拓科技股份有限公司 Histogram equalization method and device for video monitoring equipment
WO2019041842A1 (en) * 2017-08-28 2019-03-07 京东方科技集团股份有限公司 Image processing method and device, storage medium and computer device
CN117593192A (en) * 2024-01-18 2024-02-23 大连云间来客科技有限公司 Gynecological cervical image enhancement analysis method
CN118129420A (en) * 2024-05-07 2024-06-04 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Automatic defogging method and device for lens

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0902650A1 (en) * 1995-09-15 1999-03-24 YOON, InBae Ligating instrument with multiple loop ligature supply and methods therefor
CN104574328A (en) * 2015-01-06 2015-04-29 北京环境特性研究所 Color image enhancement method based on histogram segmentation
CN104680500A (en) * 2015-02-07 2015-06-03 江西科技学院 Image intensification algorithm based on histogram equalization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0902650A1 (en) * 1995-09-15 1999-03-24 YOON, InBae Ligating instrument with multiple loop ligature supply and methods therefor
CN104574328A (en) * 2015-01-06 2015-04-29 北京环境特性研究所 Color image enhancement method based on histogram segmentation
CN104680500A (en) * 2015-02-07 2015-06-03 江西科技学院 Image intensification algorithm based on histogram equalization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
闫敬文: "《数字图像处理 MATLAB版》", 28 February 2007 *
龚声蓉等: "《数字图像处理与分析 第2版》", 31 May 2014 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894481B (en) * 2016-04-22 2019-02-05 深圳英飞拓科技股份有限公司 Histogram equalization method and device for video monitoring equipment
CN106169181A (en) * 2016-06-30 2016-11-30 北京奇艺世纪科技有限公司 A kind of image processing method and system
CN106169181B (en) * 2016-06-30 2019-04-26 北京奇艺世纪科技有限公司 A kind of image processing method and system
CN106295664A (en) * 2016-08-02 2017-01-04 沈阳地泰检测设备有限公司 A kind of processing method of postal sorting system acquired image
CN106295664B (en) * 2016-08-02 2019-08-27 沈阳地泰检测设备有限公司 A kind of processing method of postal sorting system acquired image
CN106251360A (en) * 2016-08-23 2016-12-21 湖南文理学院 Thresholding Method for Grey Image Segmentation based on arithmetic geometry divergence
CN106303252A (en) * 2016-08-26 2017-01-04 合肥若涵信智能工程有限公司 Compensation wireless monitoring video camera
CN106339994B (en) * 2016-08-29 2019-05-21 合肥康胜达智能科技有限公司 A kind of image enchancing method
CN106375699A (en) * 2016-08-29 2017-02-01 合肥康胜达智能科技有限公司 High-definition network camera
CN106327497A (en) * 2016-08-29 2017-01-11 湖南文理学院 Gray-scale image threshold segmentation method based on super-extensive entropy
CN106331629A (en) * 2016-08-29 2017-01-11 合肥康胜达智能科技有限公司 Safety monitoring system
CN106339994A (en) * 2016-08-29 2017-01-18 合肥康胜达智能科技有限公司 Image enhancement method
CN107067386B (en) * 2017-04-24 2020-05-01 上海海洋大学 Shallow sea underwater image enhancement method based on relative global histogram stretching
CN107067386A (en) * 2017-04-24 2017-08-18 上海海洋大学 A kind of shallow sea underwater picture Enhancement Method stretched based on relative color histogram
CN107644403A (en) * 2017-08-23 2018-01-30 天津大学 The non-uniform color calibration method of severe environmental conditions hypograph
WO2019041842A1 (en) * 2017-08-28 2019-03-07 京东方科技集团股份有限公司 Image processing method and device, storage medium and computer device
US11210765B2 (en) 2017-08-28 2021-12-28 Beijing Boe Display Technology Co., Ltd. Image processing method and device, storage medium and computer device
CN107730476A (en) * 2017-09-27 2018-02-23 温州大学 A kind of image enchancing method and device based on compressed sensing
CN108133463A (en) * 2017-12-14 2018-06-08 中国北方车辆研究所 The noise-reduction method and system of a kind of histogram-equalized image
CN108133463B (en) * 2017-12-14 2023-09-29 中国北方车辆研究所 Noise reduction method and system for histogram equalization image
CN117593192A (en) * 2024-01-18 2024-02-23 大连云间来客科技有限公司 Gynecological cervical image enhancement analysis method
CN117593192B (en) * 2024-01-18 2024-03-26 大连云间来客科技有限公司 Gynecological cervical image enhancement analysis method
CN118129420A (en) * 2024-05-07 2024-06-04 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Automatic defogging method and device for lens

Similar Documents

Publication Publication Date Title
CN105139366A (en) Image enhancement method based on space domain
CN107527333B (en) Quick image enhancement method based on gamma transformation
Yiyang The design of glass crack detection system based on image preprocessing technology
CN108052980B (en) Image-based air quality grade detection method
CN105844278B (en) A kind of fabric scan pattern recognition methods of multiple features fusion
CN110189266B (en) Self-adaptive rapid image enhancement method
CN111161222B (en) Printing roller defect detection method based on visual saliency
Xiong et al. Application of histogram equalization for image enhancement in corrosion areas
CN110428450B (en) Scale-adaptive target tracking method applied to mine tunnel mobile inspection image
CN102306378B (en) Image enhancement method
Mehrshad et al. New image-processing algorithm for measurement of bubble size distribution from flotation froth images
CN109377464A (en) A kind of Double plateaus histogram equalization method and its application system of infrared image
CN105225238A (en) A kind of gray space division methods of the Image semantic classification based on mean filter
Qi et al. Research on the image segmentation of icing line based on NSCT and 2-D OSTU
CN104616259A (en) Non-local mean image de-noising method with noise intensity self-adaptation function
Li et al. Color edge detection based on mathematical morphology in HSI space
CN103136518A (en) Preprocessing algorithm of fingerprint image automatic identification system
CN106446904A (en) Image recognition method based on global binarization
Guanglin et al. A simple and fast method of recognizing license plate number
CN105354823A (en) Tree-ring image edge extraction and segmentation system
Dai et al. Evaluation of no-reference models to assess image sharpness
CN115063679A (en) Pavement quality assessment method based on deep learning
Lu et al. Pavement crack identification based on automatic threshold iterative method
Han et al. Image enhancement based on spatial multi-scale homomorphic filtering and local entropy guided image filtering
CN106327497A (en) Gray-scale image threshold segmentation method based on super-extensive entropy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209