IP Library Granted Patent US 9,135,692
Granted Patent B2
US 9,135,692 · App. 14/157,537 · Granted Sep 15, 2015

Electronic device and method for analyzing image noise

Inventors: Chih-Kuang Chang (New Taipei, TW); Li Jiang (Shenzhen, CN); Jia-Jia Chen (Shenzhen, CN); Dong-Hai Li (Shenzhen, CN); Jian-Hua Liu (Shenzhen, CN); Zhi-Jun Zou (Shenzhen, CN)
Assignees: HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.; HON HAI PRECISION INDUSTRY CO., LTD.
G06T7/0004G06T2207/30164G06T2207/30168
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,135,692
App. No.
14/157,537
Granted
Sep 15, 2015
Kind
B2
Abstract

Analyzation of image noise using an electronic device. The electronic device and method operating thereon can obtain an initial image captured by an image capturing device of an image measuring machine using an image capturing card of the electronic device when a lighting device of the image measuring machine is shut down, and magnifies an initial gray value of each pixel in the initial image to obtain an updated image. The electronic device and method operating thereon can further determine whether image noise in the updated image complies with a preset condition by analyzing an updated gray value of each pixel in the updated image, and displays the updated image and analysis results on a display device of the electronic device.

Claims (56)

1. A computer-implemented method for analyzing image noise using an electronic device, the method comprising:

receiving an initial image captured by an image capturing device of an image measuring machine using an image capturing card of the electronic device when a lighting device of the image measuring machine is shut down;

magnifying an initial gray value of each pixel in the initial image to obtain an updated image;

determining whether image noise in the updated image complies with a preset condition by analyzing an updated gray value of each pixel in the updated image, wherein the image noise in the updated image is determined by:

determining a first number of pixels whose gray values fall in a first preset sub-range, and calculating a first ratio of the first number of pixels in the updated image;

determining a second number of pixels whose gray values fall in a second preset sub-range, and calculating a second ratio of the second number of pixels in the updated image;

determining a third number of pixels whose gray values fall in a third preset sub-range, and calculating a third ratio of the third number of pixels in the updated image;

determining that the image noise in the updated image complies with the preset condition when the first ratio is greater than or equal to a first preset value, or the second ratio is greater than or equal to a second preset value;

determining that the image noise in the updated image does not comply with the preset condition when the third ratio is greater than or equal to a third preset value; and

displaying the updated image and analysis results on a display device of the electronic device.

2. The method according to claim 1 , wherein the updated gray value of each pixel in the updated image is determined by multiplying the initial gray value by a preset magnification coefficient.

3. The method according to claim 2 , wherein the preset magnification coefficient is determined by calculating a first difference between a maximum threshold of a gray constant and a minimum threshold of the gray constant, calculating a second difference between a maximum value of the gray value in the initial image and a minimum value of the gray value in the initial image, and dividing the first difference by the second difference to obtain the preset magnification coefficient.

4. The method according to claim 1 , wherein the image noise in the updated image is determined by:

determining a specified number of pixels whose gray values fall in a preset sub-range from the updated image, and calculating a specified ratio of the specified number of pixels in the updated image; and

determining that the image noise in the updated image does not comply with the preset condition when the specified ratio is greater than or equal to a preset value, and determining that the image noise in the updated image complies with the preset condition when the specified ratio is less than the preset value.

5. The method according to claim 1 , further comprising:

determining that a quality of the updated image is a first quality level when the first ratio is greater than or equal to the first preset value; and

determining that the quality of the updated image is a second quality level when the second ratio is greater than or equal to the second preset value.

6. An electronic device, comprising:

a processor;

a storage device storing a plurality of instructions, which when executed by the processor, causes the processor to:

receive an initial image captured by an image capturing device of an image measuring machine using an image capturing card of the electronic device when a lighting device of the image measuring machine is shut down;

magnify an initial gray value of each pixel in the initial image to obtain an updated image;

determine whether image noise in the updated image complies with a preset condition by analyzing an updated gray value of each pixel in the updated image, wherein the image noise in the updated image is determined by:

determining a first number of pixels whose gray values fall in a first preset sub-range, and calculating a first ratio of the first number of pixels in the updated image;

determining a second number of pixels whose gray values fall in a second preset sub-range, and calculating a second ratio of the second number of pixels in the updated image;

determining a third number of pixels whose gray values fall in a third preset sub-range, and calculating a third ratio of the third number of pixels in the updated image;

determining that the image noise in the updated image complies with the preset condition when the first ratio is greater than or equal to a first preset value, or the second ratio is greater than or equal to a second preset value;

determining that the image noise in the updated image does not comply with the preset condition when the third ratio is greater than or equal to a third preset value; and

display the updated image and analysis results on a display device of the electronic device.

7. The electronic device according to claim 6 , wherein the updated gray value of each pixel in the updated image is determined by multiplying the initial gray value by a preset magnification coefficient.

8. The electronic device according to claim 7 , wherein the preset magnification coefficient is determined by calculating a first difference between a maximum threshold of a gray constant and a minimum threshold of the gray constant, calculating a second difference between a maximum value of the gray value in the initial image and a minimum value of the gray value in the initial image, and dividing the first difference by the second difference to obtain the preset magnification coefficient.

9. The electronic device according to claim 6 , wherein the image noise in the updated image is determined by:

determining a specified number of pixels whose gray values fall in a preset sub-range from the updated image, and calculating a specified ratio of the specified number of pixels in the updated image; and

determining that the image noise in the updated image does not comply with the preset condition when the specified ratio is greater than or equal to a preset value, and determining that the image noise in the updated image complies with the preset condition when the specified ratio is less than the preset value.

10. The electronic device according to claim 6 , wherein the plurality of instructions further comprise:

determining that a quality of the updated image is a first quality level when the first ratio is greater than or equal to the first preset value; and

determining that the quality of the updated image is a second quality level when the second ratio is greater than or equal to the second preset value.

11. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the electronic device to perform a method for analyzing image noise, the method comprising:

receiving an initial image captured by an image capturing device of an image measuring machine using an image capturing card of the electronic device when a lighting device of the image measuring machine is shut down;

magnifying an initial gray value of each pixel in the initial image to obtain an updated image;

determining whether image noise in the updated image complies with a preset condition by analyzing an updated gray value of each pixel in the updated image, wherein the image noise in the updated image is determined by:

determining a first number of pixels whose gray values fall in a first preset sub-range, and calculating a first ratio of the first number of pixels in the updated image;

determining a second number of pixels whose gray values fall in a second preset sub-range, and calculating a second ratio of the second number of pixels in the updated image;

determining a third number of pixels whose gray values fall in a third preset sub-range, and calculating a third ratio of the third number of pixels in the updated image;

determining that the image noise in the updated image complies with the preset condition when the first ratio is greater than or equal to a first preset value, or the second ratio is greater than or equal to a second preset value;

determining that the image noise in the updated image does not comply with the preset condition when the third ratio is greater than or equal to a third preset value; and

displaying the updated image and analysis results on a display device of the electronic device.

12. The non-transitory storage medium according to claim 11 , wherein the updated gray value of each pixel in the updated image is determined by multiplying the initial gray value by a preset magnification coefficient.

13. The non-transitory storage medium according to claim 12 , wherein the preset magnification coefficient is determined by calculating a first difference between a maximum threshold of a gray constant and a minimum threshold of the gray constant, calculating a second difference between a maximum value of the gray value in the initial image and a minimum value of the gray value in the initial image, and dividing the first difference by the second difference to obtain the preset magnification coefficient.

14. The non-transitory storage medium according to claim 11 , wherein the image noise in the updated image is determined by:

determining a specified number of pixels whose gray values fall in a preset sub-range from the updated image, and calculating a specified ratio of the specified number of pixels in the updated image; and

determining that the image noise in the updated image does not comply with the preset condition when the specified ratio is greater than or equal to a preset value, and determining that the image noise in the updated image complies with the preset condition when the specified ratio is less than the preset value.

15. The non-transitory storage medium according to claim 11 , wherein the method further comprises:

determining that a quality of the updated image is a first quality level when the first ratio is greater than or equal to the first preset value; and

determining that the quality of the updated image is a second quality level when the second ratio is greater than or equal to the second preset value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 17, 2014
From: CHANG, CHIH-KUANG; JIANG, LI; CHEN, JIA-JIA; LI, DONG-HAI; LIU, JIAN-HUA; ZOU, ZHI-JUN
To: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.; HON HAI PRECISION INDUSTRY CO., LTD.
Reel/Frame 031990/0662 →
Priority Claims (1)
CN 2013 1 00272586 · Jan 24, 2013 · national
Continuity (1)
Related Publication 20140205178A1 · Jul 24, 2014