[go: up one dir, main page]

CN102063702B - Method for enhancing optical image - Google Patents

Method for enhancing optical image Download PDF

Info

Publication number
CN102063702B
CN102063702B CN2010105427503A CN201010542750A CN102063702B CN 102063702 B CN102063702 B CN 102063702B CN 2010105427503 A CN2010105427503 A CN 2010105427503A CN 201010542750 A CN201010542750 A CN 201010542750A CN 102063702 B CN102063702 B CN 102063702B
Authority
CN
China
Prior art keywords
mrow
pixel
point
munderover
image
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.)
Active
Application number
CN2010105427503A
Other languages
Chinese (zh)
Other versions
CN102063702A (en
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.)
Jiangsu Juxin Integrated Circuit Technology Ltd By Share Ltd
Original Assignee
WUXI INTMICRO 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 WUXI INTMICRO CO Ltd filed Critical WUXI INTMICRO CO Ltd
Priority to CN2010105427503A priority Critical patent/CN102063702B/en
Publication of CN102063702A publication Critical patent/CN102063702A/en
Application granted granted Critical
Publication of CN102063702B publication Critical patent/CN102063702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method for enhancing an optical image. The method comprises the following steps of: 1, inputting an image acquired in photoelectric navigation; 2, performing point-by-point scanning on the image, and acquiring a pixel value, namely pixel (a, b) of the current pixel point; 3, acquiring pixel values of adjacent pixel points at the top left corner, the bottom left corner, the top right corner and the bottom right corner of the current pixel point respectively; 4, solving relative difference values, namely difpix of the current pixel point and (2<n> + 2<m>) adjacent pixel points obtained in the step 3; 5, solving an absolute value of the relative difference value, namely the absolute value of difpix, comparing the absolute value with a set threshold, namely TH4, setting the pixel value of the current pixel point with a coordinate value of a (a, b) point to be the absolute value of difpix multiplying by M when the absolute value is larger than the threshold, namely the TH4, and setting the pixel value of the current pixel point with the coordinate value of the (a, b) point to be 0 when the absolute value is smaller than the threshold, namely the TH4; and 6, after performing the point-by-point scanning on the image, acquiring an enhanced contrast image. The method is easy to operate, good in enhancement effect and suitable for circuit realization, and enhancement efficiency is improved.

Description

Method for enhancing optical image
Technical Field
The invention relates to a pixel point extraction method, in particular to an optical image enhancement method, and belongs to the technical field of electronic eye pattern recognition and photoelectric navigation.
Background
At present, the optical image enhancement method mainly adopts one-dimensional direction extraction, so that a pair of contrast-enhanced characteristic images can be obtained. The specific extraction method is shown in fig. 1: acquiring a corresponding pixel point pix in the one-dimensional direction of the acquired image, acquiring two adjacent points pix1 and pix2 of the pixel point pix in the one-dimensional direction, judging whether the pixel point needs to be enhanced or not through a difference value, namely, whether pix _ new is 2 pix- (pix1+ pix2) is larger than a set threshold or not, and enhancing the characteristic point if the pixel point is larger than the set threshold; the size of the threshold is related to the contrast required for the image. By the extraction method, an enhanced characteristic image can be obtained. However, because the adjacent pixels of the image sensor array have a large influence, the gray value of the acquired corresponding pixel is often very close to the gray values of several surrounding pixels, so that the purpose of contrast cannot be achieved by adopting adjacent pixel points in the one-dimensional direction, and the effect of image enhancement is not obvious.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide the optical image enhancement method which is simple to operate, good in enhancement effect, capable of improving the enhancement efficiency and suitable for circuit implementation.
According to the technical scheme provided by the invention, the method for enhancing the optical image is characterized by comprising the following steps of: 1. inputting an image acquired in photoelectric navigation; 2. scanning the image point by point to obtain pixel values pixel (a, b) of the current pixel point, wherein a, b are respectively the abscissa and ordinate values of the current pixel point; 3. respectively obtaining pixel values of adjacent pixel points of n upper left corners and n lower left corners of a current pixel point, and respectively obtaining pixel values of adjacent pixel points of m upper right corners and m lower right corners of the current pixel point, wherein both n and m are more than or equal to 1; 4. according to the relative difference value between the current pixel point and the (2n +2m) adjacent pixel points obtained in the step 3, the relative difference value is as follows:
<math> <mrow> <mi>difpix</mi> <mo>=</mo> <mrow> <mo>(</mo> <mn>2</mn> <mi>n</mi> <mo>+</mo> <mn>2</mn> <mi>m</mi> <mo>)</mo> </mrow> <mo>*</mo> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>,</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>-</mo> <mo>[</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math>
<math> <mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> <mo>]</mo> <mo>;</mo> </mrow> </math> wherein, <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of n adjacent pixel points at the upper left corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the bottom right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the upper right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> </mrow> </math> is as followsThe sum of n adjacent pixel points at the lower left corner of the front pixel point pixel (a, b); 5. solving an absolute value | bifpixi | of the relative difference value bifpix, comparing the absolute value | bifpixi | with a set threshold value TH4, when the size of the absolute value | bifpixi | is larger than a threshold value TH4, setting a current pixel point as a characteristic pixel point, setting a pixel value of which the coordinate value of the current pixel point is (a, b) point as | bifpixi | M, and setting M as a multiple needing to be enhanced; when the absolute value | bifpix | is smaller than a threshold value TH4, setting the current pixel point as a non-characteristic pixel point and setting the pixel value of the current pixel point with the coordinate value of (a, b) point as 0; 6. after the image is scanned point by point, each point of the image is correspondingly set, and an enhanced contrast image is obtained.
When the acquired current pixel point is located at the edge of the image, the pixel values of n upper left corners, n lower left corners, m upper right corners or m lower right corners of the current pixel point are the average pixel values of the acquired image or the pixel values of the adjacent pixel points.
The invention has the advantages that: in the two-dimensional direction of the image, a plurality of pixel values which are adjacent to the opposite angles of the current pixel point are adopted for comparison, so that the situation that the gray values of the adjacent pixel points in the one-dimensional direction of the image are similar to influence the enhancement of the pixel points is avoided; the method is simple to operate, good in enhancement effect, capable of improving enhancement efficiency and suitable for circuit implementation.
Drawings
Fig. 1 is a schematic diagram of conventional optical image enhancement.
FIG. 2 is a schematic diagram of an embodiment of the present invention.
FIG. 3 is a flow chart of the extraction process according to the embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
In order to enhance the contrast of the image and highlight the characteristic information of the image, so that the matching accuracy in the mode identification process is facilitated, and the defect that the contrast of adjacent points is adopted in the one-dimensional direction of the image is avoided.
In order to enhance the contrast of an image and obtain an improved image after the contrast of the corresponding image, feature points in the image need to be extracted, and the brightness of the corresponding feature points needs to be enhanced, so as to obtain a responsive contrast image. The extraction method can be realized by the following steps:
1. inputting an image acquired in photoelectric navigation, wherein the acquired image is an image with a certain length and width, the image comprises a plurality of pixel points, the pixel value of each pixel point is different, the brightness of the corresponding point in the image needs to be enhanced, and the brightness of the background in the image is reduced, so that a contrast image with high brightness is obtained, and the matching accuracy in the pattern recognition process is facilitated;
2. scanning the image point by point to obtain pixel values pixel (a, b) of the current pixel point, wherein a, b are respectively the abscissa and ordinate values of the current pixel point;
3. respectively obtaining pixel values of adjacent pixel points of n upper left corners and n lower left corners of a current pixel point, and respectively obtaining pixel values of adjacent pixel points of m upper right corners and m lower right corners of the current pixel point, wherein both n and m are more than or equal to 1; when m is equal to n is equal to 1, adopting one pixel point of the current pixel point at the upper left corner, the lower left corner, the upper right corner and the lower right corner respectively as comparison; when m and n take other values, the brightness of the current pixel point is compared with the brightness of other adjacent pixel points in the image, so that the brightness value of the current pixel point in the image can be reflected, and the comparison accuracy of the current pixel point is improved;
d. according to the relative difference value of the current pixel point and the (2n +2m) adjacent pixel points obtained in the step 3, and according to the mode of subtracting the image pixels to calculate the contrast, the relative difference value is as follows:
<math> <mrow> <mi>difpix</mi> <mo>=</mo> <mrow> <mo>(</mo> <mn>2</mn> <mi>n</mi> <mo>+</mo> <mn>2</mn> <mi>m</mi> <mo>)</mo> </mrow> <mo>*</mo> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>,</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>-</mo> <mo>[</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math>
<math> <mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> <mo>]</mo> <mo>;</mo> </mrow> </math> wherein, <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of n adjacent pixel points at the upper left corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the bottom right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the upper right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of n adjacent pixel points at the lower left corner of the current pixel point pixel (a, b);
5. solving an absolute value | bifpixi | of the relative difference value bifpix, comparing the absolute value | bifpixi | with a set threshold value TH4, when the size of the absolute value | bifpixi | is larger than a threshold value TH4, setting a current pixel point as a characteristic pixel point, setting a pixel value of which the coordinate value of the current pixel point is (a, b) point as | bifpixi | M, and setting M as a multiple needing to be enhanced; when the absolute value | bifpix | is smaller than a threshold value TH4, setting the current pixel point as a non-characteristic pixel point and setting the pixel value of the current pixel point with the coordinate value of (a, b) point as 0; the threshold TH4 and the enhancement factor M are set accordingly according to the requirement of image contrast. When each pixel point in the obtained image is extracted and enhanced, an enhanced contrast image can be obtained, and the matching accuracy in the pattern recognition process is improved;
6. after scanning each point in the image point by point, determining characteristic points and non-characteristic points in the image, and correspondingly setting the characteristic points and the non-characteristic points to obtain an enhanced contrast image.
When the current pixel point is located at the edge of the image, the average pixel value of the acquired image can be obtained through pre-calculation, when the pixel point has no corresponding pixel value at the upper left corner, the lower left corner, the upper right corner or the lower right corner, the corresponding pixel value at the upper left corner, the lower left corner, the upper right corner or the lower right corner is set as the average pixel value of the image, and the pixel value of the adjacent pixel point at the edge of the image can be adopted to fill the pixel value at the upper left corner, the lower left corner, the upper right corner or the lower right corner, so that the pixel point at the edge of the acquired image can also complete the contrast process, and the contrast of the image edge is improved.
Examples
As shown in fig. 2 and 3: the following describes the process of the extraction and image enhancement method of the present invention, taking n as 1 and m as 1 as an example;
1. inputting an acquired image, wherein the size of the image is TH1 multiplied by TH 2;
2. scanning the image point by point to obtain a pixel value pixel (pixRow, pixCol) of the current pixel point, wherein the pixRow and the pixCol are respectively an abscissa value and an ordinate value of the current pixel point; in order to obtain a corresponding contrast image, a corresponding row and column value needs to be initialized, so that each pixel point of the obtained image can be extracted and correspondingly processed; wherein pixCol represents a column value and pixRow represents a row value;
3. respectively acquiring pixel values of adjacent pixel points of 1 upper left corner and 1 lower left corner of a current pixel point, and respectively acquiring pixel values of adjacent pixel points of 1 upper right corner and 1 lower right corner of the current pixel point;
4. according to the relative difference value of the current pixel point and 4 adjacent pixel points obtained in the step 3, the calculation process of the relative difference value is that
difpix ═ 4 × pixel- (pixel1+ pixel2+ pixel3+ pixel4), - ((pixel4-pixel) - (pixel-pixel1) + (pixel3-pixel) - (pixel-pixel 2). The calculation idea is the most basic processing mode in image processing, namely, the contrast is obtained by subtracting image pixels. Since one pixel point is taken from the upper left corner, the lower left corner, the upper right corner and the lower right corner of the current pixel point, pixel1 is the sum of the pixel values of the upper left corner of the current pixel point, and the pixel value of pixel1 is pixel (pixRow-1, pixCol-1); pixel4 is the sum of pixel values of the lower right corner of the current pixel point, and pixel4 has a pixel value of pixel (pixRow +1, pixCol + 1); pixel3 is the sum of pixel values of the lower left corner of the current pixel point, and pixel3 has a pixel value of pixel (pixRow +1, pixCol-1); pixel2 is the sum of pixel values of the upper right corner of the current pixel point, and pixel2 has a pixel value of pixel (pixRow-1, pixCol + 1); when a plurality of upper left corner, lower left corner, upper right corner and lower right corner values of the current pixel point are taken, corresponding relative difference values can be obtained according to the values
5. Solving an absolute value | diffpix | of the relative difference value diffpix, comparing the absolute value | diffpix | with a set threshold value TH4, when the size of the absolute value | diffpix | is larger than a threshold value TH4, determining that the current pixel point is a feature point of an image, and setting a pixel value of a (pixRow, pixCol) point as a current pixel point coordinate value | diffpix | M, wherein M is a multiple needing to be enhanced; when the absolute value | bifpix | is smaller than a threshold value TH4, setting the pixel value of a point with a coordinate value of (pixRow, pixCol) as 0, wherein the current pixel point is not a feature point of the image; sequentially comparing corresponding pixel points of images with the size of TH1 multiplied by TH2 according to the value sequence of corresponding rows and columns, searching corresponding characteristic points and non-characteristic points, and correspondingly processing the pixel values of the characteristic points and the non-characteristic points to obtain a required comparison image, wherein the comparison image highlights the characteristic information of the images;
6. after scanning each point in the image point by point, determining characteristic points and non-characteristic points in the image, and correspondingly setting the characteristic points and the non-characteristic points to obtain an enhanced contrast image.
According to the method, in the two-dimensional direction of the image, the pixel values of a plurality of opposite angles adjacent to the current pixel point are compared, so that the influence on the enhancement of the pixel point caused by the proximity of the gray values of the adjacent pixel points in the one-dimensional direction of the image is avoided; the method has simple operation, good enhancement effect, improved enhancement efficiency, and suitability for circuit realization

Claims (2)

1. A method for enhancing an optical image, said method comprising the steps of:
(1) inputting an image acquired in photoelectric navigation;
(2) scanning the image point by point to obtain pixel values (a, b) of the current pixel point, wherein a, b are respectively the abscissa and ordinate values of the current pixel point;
(3) respectively obtaining pixel values of adjacent pixel points of n upper left corners and n lower left corners of the current pixel point, and respectively obtaining pixel values of adjacent pixel points of m upper right corners and m lower right corners of the current pixel point, wherein both n and m are more than or equal to 1;
(4) and (2) obtaining a relative difference value between the current pixel point and (2n +2m) adjacent pixel points according to the step (3), wherein the relative difference value is as follows:
<math> <mrow> <mi>difpix</mi> <mo>=</mo> <mrow> <mo>(</mo> <mn>2</mn> <mi>n</mi> <mo>+</mo> <mn>2</mn> <mi>m</mi> <mo>)</mo> </mrow> <mo>*</mo> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>,</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>-</mo> <mo>[</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math>
<math> <mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> <mo>+</mo> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> <mo>]</mo> <mo>;</mo> </mrow> </math> wherein, <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>i</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of n adjacent pixel points at the upper left corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>j</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>j</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the bottom right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>k</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mi>k</mi> <mo>,</mo> <mi>b</mi> <mo>+</mo> <mi>k</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of m adjacent pixel points at the upper right corner of the current pixel point pixel (a, b), <math> <mrow> <munderover> <mi>&Sigma;</mi> <mrow> <mi>l</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>n</mi> </munderover> <mi>pixel</mi> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>l</mi> <mo>,</mo> <mi>b</mi> <mo>-</mo> <mi>l</mi> <mo>)</mo> </mrow> </mrow> </math> the sum of n adjacent pixel points at the lower left corner of the current pixel point pixel (a, b);
(5) solving an absolute value | diffpix | of the relative difference value diffpix, comparing the absolute value | diffpix | with a set threshold value TH4, when the size of the absolute value | diffpix | is larger than a threshold value TH4, setting a current pixel point as a characteristic pixel point, and setting a pixel value of which the coordinate value of the current pixel point is (a, b) point as | diffpix | M, wherein M is a multiple needing to be enhanced; when the absolute value | bifpix | is smaller than a threshold value TH4, setting the current pixel point as a non-characteristic pixel point and setting the pixel value of the current pixel point with the coordinate value of (a, b) point as 0;
(6) and after scanning the image point by point, correspondingly setting each point of the image to obtain an enhanced contrast image.
2. The method for enhancing an optical image according to claim 1, wherein: when the acquired current pixel point is located at the edge of the image, the pixel values of n upper left corners, n lower left corners, m upper right corners or m lower right corners of the current pixel point are the average pixel values of the acquired image or the pixel values of the adjacent pixel points.
CN2010105427503A 2010-11-15 2010-11-15 Method for enhancing optical image Active CN102063702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105427503A CN102063702B (en) 2010-11-15 2010-11-15 Method for enhancing optical image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105427503A CN102063702B (en) 2010-11-15 2010-11-15 Method for enhancing optical image

Publications (2)

Publication Number Publication Date
CN102063702A CN102063702A (en) 2011-05-18
CN102063702B true CN102063702B (en) 2012-07-04

Family

ID=43998967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105427503A Active CN102063702B (en) 2010-11-15 2010-11-15 Method for enhancing optical image

Country Status (1)

Country Link
CN (1) CN102063702B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886556B (en) * 2014-03-13 2016-10-12 江苏钜芯集成电路技术股份有限公司 A kind of abnormality eliminating method of photoelectric navigation system
CN104616264B (en) * 2015-02-12 2017-12-19 厦门大学 The automatic contrast enhancement method of gene-chip Image
CN106205437A (en) * 2015-05-05 2016-12-07 联想(北京)有限公司 A kind of dead pixel detection method, electronic equipment and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097849A (en) * 1998-08-10 2000-08-01 The United States Of America As Represented By The Secretary Of The Navy Automated image enhancement for laser line scan data
CN1588424A (en) * 2004-07-02 2005-03-02 清华大学 Finger print identifying method based on broken fingerprint detection
US7248751B2 (en) * 2004-03-11 2007-07-24 United States Of America As Represented By The Secretary Of The Navy Algorithmic technique for increasing the spatial acuity of a focal plane array electro-optic imaging system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097849A (en) * 1998-08-10 2000-08-01 The United States Of America As Represented By The Secretary Of The Navy Automated image enhancement for laser line scan data
US7248751B2 (en) * 2004-03-11 2007-07-24 United States Of America As Represented By The Secretary Of The Navy Algorithmic technique for increasing the spatial acuity of a focal plane array electro-optic imaging system
CN1588424A (en) * 2004-07-02 2005-03-02 清华大学 Finger print identifying method based on broken fingerprint detection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
林雪辉 等.基于Hilbert曲线的数字图像置乱方法研究.《中国体视学与图像分析》.2004,第9卷(第4期),全文. *
许正光 等.像增强器视场缺陷检测方法研究.《应用光学》.2005,第26卷(第3期),全文. *

Also Published As

Publication number Publication date
CN102063702A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
CN110033471B (en) Frame line detection method based on connected domain analysis and morphological operation
CN109785285B (en) A Method of Insulator Damage Detection Based on Ellipse Feature Fitting
CN108416766B (en) Double-side light-entering type light guide plate defect visual detection method
CN102147920B (en) Shadow detection method for high-resolution remote sensing image
CN102955943B (en) Image processing apparatus and image processing method
CN110335233B (en) Highway guardrail plate defect detection system and method based on image processing technology
CN107358627B (en) Fruit size detection method based on Kinect camera
CN104484659A (en) Method for automatically identifying and calibrating medical color images and medical gray scale images
CN104463795A (en) Processing method and device for dot matrix type data matrix (DM) two-dimension code images
CN102750556A (en) Off-line handwritten form Chinese character recognition method
CN108830133A (en) Recognition methods, electronic device and the readable storage medium storing program for executing of contract image picture
KR101667877B1 (en) Feature detecting method for fish image and fish identification method using feature of fish image
CN105608429A (en) Differential excitation-based robust lane line detection method
CN109949308A (en) A Fast Extraction Method of Space Relative Navigation Targets Against Starlight Interference
CN102063702B (en) Method for enhancing optical image
CN103514595B (en) Detection method for image salient region
CN107239761A (en) Fruit tree branch pulling effect evaluation method based on skeleton Corner Detection
JP2015095115A (en) Area division method, area division program and image processing system
JP6276504B2 (en) Image detection apparatus, control program, and image detection method
CN102855025A (en) Optical multi-touch contact detection method based on visual attention model
CN114565633B (en) Color Image Edge Extraction Method Based on Conceptual Structural Elements and Matrix Norm
CN110570437B (en) Electric power channel automatic inspection data processing method based on boundary identification
Hang Real-time image acquisition and processing system design based on DSP
Liu et al. The precise location algorithm of license plate based on gray image
CN106934814B (en) Background information identification method and device based on image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110518

Assignee: Wuxi Wanyin Semiconductor Science & Technology Co., Ltd.

Assignor: Wuxi IntMicro Co., Ltd.

Contract record no.: 2013320000405

Denomination of invention: Method for enhancing optical image

Granted publication date: 20120704

License type: Common License

Record date: 20130503

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
ASS Succession or assignment of patent right

Owner name: NST CHIP TECHNOLOGY LIMITED

Free format text: FORMER OWNER: WUXI INTMICRO CO., LTD.

Effective date: 20131224

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20131224

Address after: 214128 Jiangsu Province, Wuxi City District Zhenze Road No. 18 National Software Park building a layer of cancer A

Patentee after: NST Chip Technology Limited

Address before: 214128 Jiangsu Province, Wuxi City District (Xin'an Street) Zhenze Wuxi Road No. 18 national software park, Leo A District 3 Building

Patentee before: Wuxi IntMicro Co., Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method for enhancing optical image

Effective date of registration: 20140428

Granted publication date: 20120704

Pledgee: Bank of Jiangsu, Limited by Share Ltd, Wuxi science and Technology Branch

Pledgor: NST Chip Technology Limited

Registration number: 2014990000302

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: Block C No. 18 Wuxi Software Park 214128 cancer in Jiangsu province Wuxi City District Road Zhenze layer

Patentee after: Jiangsu Juxin integrated circuit technology Limited by Share Ltd

Address before: 214128 Jiangsu Province, Wuxi City District Zhenze Road No. 18 National Software Park building a layer of cancer A

Patentee before: NST Chip Technology Limited