CN110798593B - Industrial camera temperature drift elimination method - Google Patents

Industrial camera temperature drift elimination method Download PDF

Info

Publication number
CN110798593B
CN110798593B CN201911016859.0A CN201911016859A CN110798593B CN 110798593 B CN110798593 B CN 110798593B CN 201911016859 A CN201911016859 A CN 201911016859A CN 110798593 B CN110798593 B CN 110798593B
Authority
CN
China
Prior art keywords
image
pixel
industrial camera
temperature drift
value
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
CN201911016859.0A
Other languages
Chinese (zh)
Other versions
CN110798593A (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.)
Zhejiang Huazhou Intelligent Equipment Co.,Ltd.
Original Assignee
Zhejiang Huazhou Intelligent Equipment 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 Zhejiang Huazhou Intelligent Equipment Co ltd filed Critical Zhejiang Huazhou Intelligent Equipment Co ltd
Priority to CN201911016859.0A priority Critical patent/CN110798593B/en
Publication of CN110798593A publication Critical patent/CN110798593A/en
Application granted granted Critical
Publication of CN110798593B publication Critical patent/CN110798593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

The invention discloses a method for eliminating temperature drift of an industrial camera. The invention discloses a method for eliminating temperature drift of an industrial camera, which comprises the following steps: step 1: under the action of temperature, an output image of the industrial camera is formed by superposing a pixel value at a position corresponding to an image and a temperature drift value P (n, m), two adjacent original images are considered to be two identical images, the temperature drift value at the position corresponding to the upper image can be approximate to the temperature drift value at the position corresponding to the current image, and as each photosensitive unit of the industrial camera is influenced by the same temperature, the temperature drift value can be approximate to the average pixel temperature drift value (T) which is the pixel rising average value of the original image under the influence of the temperature. The invention has the beneficial effects that: through the contrast processing to two adjacent images, the industrial camera can be normally used under the condition of not using temperature calibration, the environmental complex factors are controlled, the camera works more stably, the images can be more accurate, the time consumed by camera calibration is reduced to a certain extent, and the working efficiency is improved.

Description

Industrial camera temperature drift elimination method
Technical Field
The invention relates to the field of image processing and industrial cameras, in particular to a method for eliminating temperature drift of an industrial camera.
Background
The industrial camera is wide in application environment and severe in working environment, the temperature of the environment and the camera temperature rise caused for a long time can cause serious influence on the image quality of the camera, the image loss is serious, serious influence can be brought to production, and the problem that the industrial camera is affected by the temperature to cause pixel drift is solved to become a key technology for quality assurance. The traditional temperature drift elimination method comprises two steps: physical cooling and pixel correction. The physical cooling uses a physical method to rapidly dissipate heat of the industrial camera, thereby ensuring that the industrial camera is at a normal working temperature. The pixel correction establishes a corresponding relationship between the corresponding temperature drift pixel and the temperature to perform pixel processing.
The technical problems existing in the prior art are as follows:
when the camera is in the high-temperature environment, the working temperature of the camera can be continuously increased on the basis of the original environment temperature, and the original effect of the camera is lost due to physical cooling. In a certain application environment, the pixel correction can reduce the brightness of the pixel, lose a certain image contrast, and require each device to perform long-time acquisition and correction before leaving the factory, thereby reducing the production efficiency to a certain extent.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method for eliminating the temperature drift of an industrial camera, which can eliminate the pixel influence of temperature on real-time continuous images through algorithm processing, thereby improving the pixel quality of the images and providing basic guarantee for the correct processing of subsequent images.
In order to solve the technical problem, the invention provides a method for eliminating the temperature drift of an industrial camera, which comprises the following steps:
step 1: under the action of temperature, the pixel value of the corresponding position of the image and the temperature drift value of the image are superposed to form an output image of the industrial camera(n,m)The temperature drift value of each photosensitive unit of the industrial camera is the same under the influence of temperature, so that the temperature drift value can be approximated to the average pixel temperature drift value (T) which is the pixel rising average value of the original image under the influence of temperature;
namely: i isn-1=In
I(n,m)+P(n,m)=C(n,m)
P(n-1,m)=P(n,m)
P(n-1,m)=Tn-1
Wherein InRepresenting the nth original image, I(n,m)Represents the m-th pixel point, P, in the n-th original image(n,m)The temperature drift value T of the mth pixel point of the nth original image under the influence of temperature is representednRepresents the average pixel temperature drift value, C, which is the pixel rise average value of the nth original image under the influence of temperature(n,m)Expressing the m pixel point of the nth original image and the pixel value output by the industrial camera under the influence of temperature drift;
step 2: calculating the total pixel value of the output image of the industrial camera of the original image under the influence of temperature drift:
nth image pixel sum (C) output by industrial cameran)=c1+c2+…+cm…+csize
Wherein: c. CmRepresenting the pixel value of the m-th pixel point in the current industrial camera output image, size representing the total pixel point number of the image, CnRepresenting the sum of pixel values of the nth industrial camera output image;
and step 3: if the final output image is an original image without the influence of temperature drift, the average pixel temperature drift value (T), which is the average value of the pixel rise of the previous original image under the influence of temperature, is subtracted from each pixel value in the output image of the industrial cameran-1);
Namely: c(n,m)–Tn-1=O(n,m)
(Cn–On-1)/size=Tn
Wherein: o is(n,m)The processed output pixel value O of the m pixel point representing the output image of the n industrial cameranRepresenting the sum of pixel values of the processed nth industrial camera output image;
and 4, step 4: average pixel temperature drift value (T) at initial time of industrial camera0) If the current image is the 1 st image, the output pixel is the output pixel value of the industrial camera, otherwise, whether the pixel point m of the current image output by the industrial camera is larger than the total pixel point size of the image is judged, if the pixel point m is smaller than or equal to the total pixel point size of the image, the image is not processed, and the pixel point m is processed after being output in the step 3 and then the next pixel point is selected for processing; if the total pixel point size is larger than the total pixel point size, the image processing is finished, and the processing is continued from the next pixel point 0 after the temperature drift value is obtained in the step 3.
In one embodiment, the industrial camera is a CMOS.
In one embodiment, the industrial camera is a CCD.
In one embodiment, the output image has continuous real-time.
In one embodiment, having the adaptive capability does not require manual setting of temperature values.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods when executing the program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods.
A processor for running a program, wherein the program when running performs any of the methods.
The invention has the beneficial effects that:
the invention provides a method for eliminating temperature drift of an industrial camera. Compared with physical cooling, the method can make the camera more suitable for the working environment with higher temperature. Through the contrast processing to two adjacent images, the industrial camera can be normally used under the condition of not using temperature calibration, the environmental complex factors are controlled, the camera works more stably, the images can be more accurate, the time consumed by camera calibration is reduced to a certain extent, and the working efficiency is improved.
Drawings
FIG. 1 is a flow chart of the method for eliminating the temperature drift of the industrial camera according to the invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
As shown in the flow chart of fig. 1, a method for eliminating temperature drift of an industrial camera. The method processes two adjacent images on the basis of continuous images, so that the influence of the pixel of the current image under the influence of temperature can be judged, the influence of temperature on the pixel is eliminated for the next image, the influence of temperature drift on the pixel of an industrial camera is eliminated, and the theoretical basis is laid for the correct processing of the subsequent images by eliminating the influence of the temperature drift. The invention discloses a method for eliminating temperature drift of an industrial camera.
The invention discloses a method for eliminating temperature drift of an industrial camera.
Step 1: under the action of temperature, the CMOS output image is superposed by the pixel value of the corresponding position of the image and the temperature drift value P(n,m)And because the image shooting and transmission have continuity, two identical images can be considered between two adjacent original images, the temperature drift value of the corresponding position of the previous image can be approximate to the temperature drift value of the corresponding position of the current image, and because the temperature influence of each photosensitive unit of the CMOS is the same, the temperature drift value can be approximate to the average pixel temperature drift value (T) which is the pixel rising average value of the original image under the temperature influence.
Namely: i isn-1=In
I(n,m)+P(n,m)=C(n,m)
P(n-1,m)=P(n,m)
P(n-1,m)=Tn-1
Wherein InRepresenting the nth original image, I(n,m)Represents the m-th pixel point, P, in the n-th original image(n,m)The temperature drift value T of the mth pixel point of the nth original image under the influence of temperature is representednRepresents the average pixel temperature drift value, C, which is the pixel rise average value of the nth original image under the influence of temperature(n,m)And the m-th pixel point of the nth original image is represented to output a pixel value by the CMOS under the influence of temperature drift.
Step 2: calculating the total pixel value of the CMOS output image of the original image under the influence of temperature drift:
nth image pixel sum (C) of CMOS outputn)=c1+c2+…+cm…+csize
Wherein: c. CmRepresenting the pixel value of the m-th pixel point in the current CMOS output image, s, i, ze representing the total pixel point number of the image, CnRepresenting the sum of pixel values of the nth CMOS output image.
And step 3: if the final output image is an original image without the influence of temperature drift, the average pixel temperature drift value (T), which is the average value of the pixel rise of the previous original image under the influence of temperature, is subtracted from each pixel value in the CMOS output imagen-1)。
Namely: c(n,m)–Tn-1=O(n,m)
(Cn–On-1)/size=Tn
Wherein: o is(n,m)The pixel value O of the processed output of the mth pixel point of the nth CMOS output imagenWhich represents the sum of the pixel values of the processed nth CMOS output image.
And 4, step 4: mean pixel temperature drift value (T) at CMOS initial time0) Is 0, judge if the current image is the 1 st imageIf so, the output pixel is a CMOS output pixel value, otherwise, whether the pixel point m of the current CMOS output image is larger than the total pixel point size of the image is judged, if not, the image is not processed, and the mth pixel point is processed after the pixel processed in the step 3 is selected; if the total pixel point size is larger than the total pixel point size, the image processing is finished, and the processing is continued from the next pixel point 0 after the temperature drift value is obtained in the step 3.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (6)

1. An industrial camera temperature drift elimination method is characterized by comprising the following steps:
step 1: under the action of temperature, the pixel value of the corresponding position of the image and the temperature drift value of the image are superposed to form an output image of the industrial camera(n,m)The temperature drift value of each photosensitive unit of the industrial camera is the same under the influence of temperature, so that the temperature drift value can be approximated to the average pixel temperature drift value (T) which is the pixel rising average value of the original image under the influence of temperature;
namely: i isn-1=In
I(n,m)+P(n,m)=C(n,m)
P(n-1,m)=P(n,m)
P(n-1,m)=Tn-1
Wherein InRepresenting the nth original image, I(n,m)Represents the m-th pixel point, P, in the n-th original image(n,m)The temperature drift value T of the mth pixel point of the nth original image under the influence of temperature is representednRepresents the average image which is the pixel rising average value of the nth original image under the influence of temperatureTemperature drift value of C(n,m)Expressing the m pixel point of the nth original image and the pixel value output by the industrial camera under the influence of temperature drift;
step 2: calculating the total pixel value of the output image of the industrial camera of the original image under the influence of temperature drift:
nth image pixel sum (C) output by industrial cameran)=c1+c2+…+cm…+csize
Wherein: c. CmRepresenting the pixel value of the m-th pixel point in the current industrial camera output image, size representing the total pixel point number of the image, CnRepresenting the sum of pixel values of the nth industrial camera output image;
and step 3: the final output image is the original image without temperature drift influence, and the average pixel temperature drift value (T) which is the average value of the pixel rise of the last original image under the influence of temperature is subtracted from each pixel value in the output image of the industrial cameran-1);
Namely: c(n,m)–Tn-1=O(n,m)
(Cn–On-1)/size=Tn
Wherein: o is(n,m)The processed output pixel value O of the m pixel point representing the output image of the n industrial cameranRepresenting the sum of pixel values of the processed nth industrial camera output image;
and 4, step 4: average pixel temperature drift value (T) at initial time of industrial camera0) If the current image is the 1 st image, the output pixel is the output pixel value of the industrial camera, otherwise, whether the pixel point m of the current image output by the industrial camera is larger than the total pixel point size of the image is judged, if the pixel point m is smaller than or equal to the total pixel point size of the image, the image is not processed, and the pixel point m is processed after being output in the step 3 and then the next pixel point is selected for processing; if the total pixel point size is larger than the total pixel point size, the image processing is finished, and the temperature drift value is obtained in the step 3 and then the processing is continued from the next pixel point 0;
wherein size, m and n are positive integers;
the output image has continuous real-time performance;
having the adaptive capability does not require manual setting of temperature values.
2. The industrial camera temperature drift elimination method of claim 1, wherein the industrial camera is a CMOS.
3. The method for eliminating temperature drift of an industrial camera according to claim 1, wherein said industrial camera is a CCD.
4. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 3 are implemented when the program is executed by the processor.
5. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
6. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 3.
CN201911016859.0A 2019-10-24 2019-10-24 Industrial camera temperature drift elimination method Active CN110798593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911016859.0A CN110798593B (en) 2019-10-24 2019-10-24 Industrial camera temperature drift elimination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911016859.0A CN110798593B (en) 2019-10-24 2019-10-24 Industrial camera temperature drift elimination method

Publications (2)

Publication Number Publication Date
CN110798593A CN110798593A (en) 2020-02-14
CN110798593B true CN110798593B (en) 2021-11-09

Family

ID=69441172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911016859.0A Active CN110798593B (en) 2019-10-24 2019-10-24 Industrial camera temperature drift elimination method

Country Status (1)

Country Link
CN (1) CN110798593B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2923121B1 (en) * 2007-10-26 2010-05-14 Trixell Sas METHOD FOR PROCESSING IMAGES FROM A PHOTOSENSITIVE DETECTOR AND PHOTOSENSITIVE DETECTOR
CN103364625A (en) * 2012-04-11 2013-10-23 哈尔滨佳云科技有限公司 Automatic online tracking method for sensor zero drift
CN103728468B (en) * 2013-12-30 2015-10-21 浙江大学 A kind of method suppressing scanning probe microscopy to scan large Tu Shiwen drift impact
CN105578082B (en) * 2016-01-29 2019-01-18 深圳市高巨创新科技开发有限公司 A kind of adaptive black-level correction method
CN110109174B (en) * 2018-02-01 2024-01-23 上海西门子医疗器械有限公司 Drift correction method, device and system for flat panel detector and storage medium
CN110260991B (en) * 2019-06-06 2020-09-08 武汉高德智感科技有限公司 Method and device for adaptively acquiring temperature drift data compensation quantity

Also Published As

Publication number Publication date
CN110798593A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN107590791B (en) Image enhancement method and image processing apparatus
CN107948634B (en) Image dead pixel detection method and device and image processing chip
KR100933282B1 (en) Color restoration method and system
CN108881736B (en) Aperture correction method and device
CN111076821A (en) Infrared image non-uniform correction method with integration time self-adaptive switching
CN110798593B (en) Industrial camera temperature drift elimination method
JP2011249939A5 (en) Image processing apparatus, image processing method, and program
CN114245043A (en) Image dead pixel dynamic correction and ASIC implementation method and system thereof
CN112488968B (en) Image enhancement method for hierarchical histogram equalization fusion
TWI711005B (en) Method for adjusting luminance of images and computer program product
JP2014087030A5 (en)
CN112243119B (en) White balance processing method and device, electronic equipment and storage medium
JP2021097347A5 (en) Image processing device, its control method, and program
TWI540537B (en) Method and device for image zoom out processing
CN108322680B (en) Temperature self-adaptive black level calibration method and system of image sensor
JP2021086284A (en) Image processing device, image processing method, and program
CN106791846B (en) Method and device for adjusting image coding quality factor
US11445158B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
JP2005160015A5 (en)
JP2018207366A5 (en)
US10701328B2 (en) Image processing device, image processing method, and image processing program
CN109816613B (en) Image completion method and device
CN108447037B (en) Method and device for enhancing dynamic range of image
CN113888419A (en) Method for removing dark corners of image
JP5325135B2 (en) Color correction device, video display device, and color correction method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210601

Address after: 314500 building 3, 416 Dongsheng Avenue, Wuzhen Town, Tongxiang City, Jiaxing City, Zhejiang Province

Applicant after: Zhejiang Huazhou Intelligent Equipment Co.,Ltd.

Address before: No.404, 4th floor, North block, hi tech Industrial Park, No.2 Beier Road, Bantian street, Longgang District, Shenzhen, Guangdong 518172

Applicant before: Shenzhen shiteyi Intelligent Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant