CN102006431B - Method for selecting image data source in optical instrument - Google Patents

Method for selecting image data source in optical instrument Download PDF

Info

Publication number
CN102006431B
CN102006431B CN2010106143119A CN201010614311A CN102006431B CN 102006431 B CN102006431 B CN 102006431B CN 2010106143119 A CN2010106143119 A CN 2010106143119A CN 201010614311 A CN201010614311 A CN 201010614311A CN 102006431 B CN102006431 B CN 102006431B
Authority
CN
China
Prior art keywords
view data
image
image data
image processing
time
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
CN2010106143119A
Other languages
Chinese (zh)
Other versions
CN102006431A (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 Limited 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 CN2010106143119A priority Critical patent/CN102006431B/en
Publication of CN102006431A publication Critical patent/CN102006431A/en
Application granted granted Critical
Publication of CN102006431B publication Critical patent/CN102006431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a method for selecting an image data source in an optical instrument, which comprises the following steps of: a, providing an image processing device, and capturing an image data source from an optical sensor; b, detecting and filtering intrinsic noise signals contained in the image data source; c, extracting the exposure time Te of image data after the intrinsic noise signals are removed and calculating the gray average value RTH of the image data by the image processing device; and d, when the obtained image data exposure time Te is smaller than the set time TH1 or the gray average value RTH of the image data is greater than a set value TH2, enhancing the contrast of the image data by the image processing device. The method provides accurate positioning for subsequent image processing, reduces the processing time of the image data, improves the accuracy of image data processing, has simple processes, and is safe and reliable.

Description

The choosing method of image data source in the optical instrument
Technical field
The present invention relates to a kind of view data choosing method, the choosing method of image data source in especially a kind of optical instrument belongs to the technical field of image processing.
Background technology
At present, all be earlier the original image degree of comparing that collects to be strengthened to the image recognition of image data source and Motion Recognition, the subsequent treatment of image is come computing and operation to the image after strengthening without exception.Because; When original image is strengthened operation, do not consider the contrast of original image, without exception image degree of comparing is strengthened; Cause partial original image to lose primary characteristic, embody obvious especially in the optical imagery that this defective captures under dark background.The feature of image that dark background captures is that partial pixel point is brighter; And most of pixel is darker, and the dynamic range of grey scale pixel value is very big, and the contrast of whole two field picture is higher; If re-use image enchancing method this moment; The original characteristic of image is destroyed in the capital more or less, and destroying maximum zone is the edge of image pixel, makes computing depart from.
Since the image after strengthening all can be more or less the change image property; Can cause the corresponding amount of orientational vector skew in the image; The application high for the image processing precision can be a bottleneck on the contrary, has higher requirement to algorithm for image enhancement, thereby guarantees the precision of image processing.
Summary of the invention
The objective of the invention is to overcome the deficiency that exists in the prior art, the choosing method of image data source in a kind of optical instrument is provided, its processing step is simple, and is easy to operate, improved the accuracy to image processing, safe and reliable.
According to technical scheme provided by the invention, the choosing method of image data source comprises the steps: in the said optical instrument
A, image processing apparatus is provided, and from optical pickocff acquisition image data source; The intrinsic noise signal that comprises in b, detection and the said image data source of filtering; C, image processing apparatus extract the time for exposure Te of view data behind the above-mentioned removal intrinsic noise signal, and calculate the gray value mean value R of said view data THD, as the average gray R of the above-mentioned view data time for exposure Te that obtains less than setting-up time TH1 or view data THDuring greater than set point TH2, image processing apparatus strengthens said view data degree of comparing.
The maximum gradation value Rmax of view data and the minimum gradation value Rmin of view data behind the image processing apparatus extraction removal intrinsic noise signal are as the average gray R of said view data time for exposure Te greater than setting-up time TH1, view data THLess than set point TH2, and the difference Rc between the minimum gradation value Rmin of the maximum gradation value Rmax of view data and view data is during less than set point TH3, and image processing apparatus strengthens said view data degree of comparing.Said image processing apparatus comprises DSP.
Advantage of the present invention: the intrinsic noise signal in the image processing apparatus filtering view data, and extract time for exposure Te, maximum gradation value Rmax and the minimum gradation value Rmin that obtains view data, and the average gray R of computed image data THAnd the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin; As the average gray R of the time for exposure of view data Te greater than set point TH1 and view data THDuring less than set point TH2 value, explain that the image background of acquisition is darker; As the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin during greater than set point TH3, explain that the dynamic range of said view data is big, the contrast of image is better; Do not need again image degree of comparing to be strengthened, guarantee the character of view data, for subsequent image processing provides accurate localization; Reduced processing time to view data; Improved the accuracy that view data is handled, processing step is simple, and is safe and reliable.
Description of drawings
Fig. 1 is a concrete processing step flow chart of the present invention.
Embodiment
Below in conjunction with concrete accompanying drawing and embodiment the present invention is described further.
At present, when the image that captures is carried out subsequent treatment, to all degree of comparing enhancing operations of image of all acquisitions, owing to, will certainly make original image lose primary characteristic, especially the image of dark background to after the picture contrast enhancing.Therefore, existingly can bring influence to follow-up performance accuracy to the image choosing method.
As shown in Figure 1: in order to improve the precision that view data is handled, reduce the time of image processing, reducing view data because contrast strengthens influences subsequent operation, and the choosing method of image data source of the present invention comprises the steps:
A, image processing apparatus is provided, and from optical pickocff acquisition image data source;
Said image processing apparatus comprises DSP (digital signal processor), and image processing apparatus is used for image data source is carried out the necessary processing operation, guarantees that view data can satisfy instructions for use;
The intrinsic noise signal that comprises in b, detection and the said image data source of filtering;
Said intrinsic noise signal is the interference signal that hardware circuit produces view data, and the intrinsic noise signal that comprises in the filtering method filtering image data source through routine has improved the accuracy to the image data source operation;
C, image processing apparatus extract the time for exposure Te of view data behind the above-mentioned removal intrinsic noise signal, and calculate the gray value mean value R of said view data TH
The bright degree of the time for exposure Te of image data source and the background of view data is relevant, and when the background of view data was dark, required time for exposure of optical pickocff images acquired was just long; Image processing apparatus can extract the time for exposure Te of view data according to the information of view data; While is according to the gray value of view data, the average gray R of computed image data TH
D, as the average gray R of the above-mentioned view data time for exposure Te that obtains less than setting-up time TH1 or view data THDuring greater than set point TH2, image processing apparatus strengthens said view data degree of comparing; Image processing apparatus adopts conventional contrast enhancement process to view data;
As the average gray R of the above-mentioned view data time for exposure Te that obtains less than setting-up time TH1 or view data THDuring greater than set point TH2; The image data source background that the optical pickocff acquisition is described is brighter, can strengthen said image data source degree of comparing, and through image processing apparatus view data degree of comparing is strengthened; Improve the contrast of view data; Guarantee the subsequent operation of view data, image processing apparatus comprises image recognition to the subsequent operation of view data, Motion Recognition or image compression;
The maximum gradation value Rmax of view data and the minimum gradation value Rmin of view data behind the image processing apparatus extraction removal intrinsic noise signal are as the average gray R of said view data time for exposure Te greater than setting-up time TH1, view data THLess than set point TH2, and the difference Rc between the minimum gradation value Rmin of the maximum gradation value Rmax of view data and view data is during less than set point TH3, and image processing apparatus strengthens said view data degree of comparing;
As the average gray R of time for exposure Te greater than set point TH1 and view data THDuring less than set point TH2, explain that the view data background of optical pickocff acquisition is darker; And the difference Rc between the maximum gradation value Rmax of view data and the minimum gradation value Rmin of view data is during greater than set point TH3; The dynamic range of key diagram picture is bigger; Can explain that then the view data quality that obtains is better; Satisfy the requirement of subsequent treatment, need not strengthen operation to view data this moment, can directly carry out follow-up processing to view data.Because; When the darker view data degree of comparing of background strengthened, personnel destroyed the characteristic of legacy data, particularly view data edge pixel value; The present invention chooses processing through the character to view data; Avoided all degree of comparing enhancing operations of all images have been reduced the time that view data is handled, improved the accuracy of subsequent treatment simultaneously.Above-mentioned setting threshold TH1, TH2 and TH3 all are according to test model, obtain through the test of many times debugging.
Intrinsic noise signal in the image processing apparatus filtering view data, and extract time for exposure Te, maximum gradation value Rmax and the minimum gradation value Rmin that obtains view data, and the average gray R of computed image data THAnd the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin; As the average gray R of the time for exposure of view data Te greater than set point TH1 and view data THDuring less than set point TH2 value, explain that the image background of acquisition is darker; As the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin during greater than set point TH3, explain that the dynamic range of said view data is big, the contrast of image is better; Do not need again image degree of comparing to be strengthened; The change of the image property that has brought when having avoided the dark image degree of comparing of background to strengthen is guaranteed the character of view data, for subsequent image processing provides accurate localization; Reduced processing time to view data; Improved the accuracy that view data is handled, processing step is simple, and is safe and reliable.After view data was chosen processing, image processing apparatus can be operated the image after choosing accordingly, can satisfy the requirement of subsequent treatment precision.
Intrinsic noise signal in the image processing apparatus filtering view data of the present invention, and extract time for exposure Te, maximum gradation value Rmax and the minimum gradation value Rmin that obtains view data, and the average gray R of computed image data THAnd the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin; As the average gray R of the time for exposure of view data Te greater than set point TH1 and view data THDuring less than set point TH2 value, explain that the image background of acquisition is darker; As the difference Rc between maximum gradation value Rmax and minimum gradation value Rmin during greater than set point TH3, explain that the dynamic range of said view data is big, the contrast of image is better; Do not need again image degree of comparing to be strengthened, guarantee the character of view data, for subsequent image processing provides accurate localization; Reduced processing time to view data; Improved the accuracy that view data is handled, processing step is simple, and is safe and reliable.

Claims (2)

1. the choosing method of image data source in the optical instrument is characterized in that the choosing method of said image data source comprises the steps:
(a), image processing apparatus is provided, and from optical pickocff acquisition image data source;
(b), the intrinsic noise signal that comprises in detection and the said image data source of filtering;
(c), image processing apparatus extracts the time for exposure Te of view data behind the intrinsic noise signal that comprises in the said image data source of above-mentioned filtering, and calculates the gray value mean value R of said view data TH
(d), as the average gray R of the time for exposure of above-mentioned view data Te less than setting-up time TH1 or view data THDuring greater than set point TH2, image processing apparatus strengthens said view data degree of comparing;
The maximum gradation value Rmax of view data and the minimum gradation value Rmin of view data behind the image processing apparatus extraction removal intrinsic noise signal are as the average gray R of said view data time for exposure Te greater than setting-up time TH1, view data THLess than set point TH2, and the difference Rc between the minimum gradation value Rmin of the maximum gradation value Rmax of view data and view data is during less than set point TH3, and image processing apparatus strengthens said view data degree of comparing;
As the average gray R of time for exposure Te greater than set point TH1 and view data THLess than set point TH2, and the difference Rc between the minimum gradation value Rmin of the maximum gradation value Rmax of view data and view data need not strengthen operation to view data during greater than set point TH3, directly view data carried out follow-up processing.
2. the choosing method of image data source in the optical instrument according to claim 1, it is characterized in that: said image processing apparatus comprises DSP.
CN2010106143119A 2010-12-30 2010-12-30 Method for selecting image data source in optical instrument Active CN102006431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106143119A CN102006431B (en) 2010-12-30 2010-12-30 Method for selecting image data source in optical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106143119A CN102006431B (en) 2010-12-30 2010-12-30 Method for selecting image data source in optical instrument

Publications (2)

Publication Number Publication Date
CN102006431A CN102006431A (en) 2011-04-06
CN102006431B true CN102006431B (en) 2012-08-22

Family

ID=43813462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106143119A Active CN102006431B (en) 2010-12-30 2010-12-30 Method for selecting image data source in optical instrument

Country Status (1)

Country Link
CN (1) CN102006431B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457476B2 (en) * 2001-10-03 2008-11-25 Anoto Ab Optical sensor device and a method of controlling its exposure time
CN1300744C (en) * 2003-12-09 2007-02-14 香港中文大学 Automatic method for modifying digital image and system of adopting the method
JP4218723B2 (en) * 2006-10-19 2009-02-04 ソニー株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
CN101304489B (en) * 2008-06-20 2010-12-08 北京中星微电子有限公司 Automatic exposure method and apparatus
CN101325663B (en) * 2008-07-25 2010-06-09 北京中星微电子有限公司 Method and device for improving image quality
CN101742084B (en) * 2010-01-29 2012-05-30 昆山锐芯微电子有限公司 Contrast ratio enhancement processing method and processing device

Also Published As

Publication number Publication date
CN102006431A (en) 2011-04-06

Similar Documents

Publication Publication Date Title
RU2762144C1 (en) Apparatus and method for image processing and system for training a neural network
WO2017121018A1 (en) Method and apparatus for processing two-dimensional code image, and terminal and storage medium
WO2020029518A1 (en) Monitoring video processing method, device and computer readable medium
CN104615972B (en) Intelligent identification method and device for pointer instrument
CN107123124B (en) Retina image analysis method and device and computing equipment
CN111369570A (en) Multi-target detection tracking method for video image
JP2012178152A (en) Image processing system, image processing method, program, and recording medium for the same
CN107578053B (en) Contour extraction method and device, computer device and readable storage medium
CN101789121A (en) Device and method for shadow correcting
CN104966283A (en) Imaging layered registering method
CN112070741B (en) Rice chalkiness degree detecting system based on image salient region extracting method
CN104102911A (en) Image processing for AOI (automated optical inspection)-based bullet appearance defect detection system
CN102006431B (en) Method for selecting image data source in optical instrument
CN109448012A (en) A kind of method for detecting image edge and device
KR100751467B1 (en) Image processing device for recognizing outline of moving target and method therefor
Abdusalomov et al. Robust shadow removal technique for improving image enhancement based on segmentation method
CN114554188A (en) Mobile phone camera detection method and device based on image sensor pixel array
CN110188601B (en) Airport remote sensing image detection method based on learning
CN113155247A (en) Object weighing method, state evaluation method, weighing system and state evaluation system
CN108960222B (en) Image binarization method, device, equipment and storage medium
Tasneem et al. A new method of improving performance of Canny edge detection
CN111145193A (en) Adaptive global threshold value binarization method
Singh et al. Multi-level threshold based edge detector using logical operations
MD et al. An approach for color edge detection with automatic threshold detection
Yang et al. Parts shape recognition based on improved Harris corner detection algorithm

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: 20110406

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

Assignor: Wuxi IntMicro Co., Ltd.

Contract record no.: 2013320000405

Denomination of invention: Method for selecting image data source in optical instrument

Granted publication date: 20120822

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: 20140225

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20140225

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 selecting image data source in optical instrument

Effective date of registration: 20140428

Granted publication date: 20120822

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