JPH036985A - Method and apparatus for correcting light source fluctuation - Google Patents
Method and apparatus for correcting light source fluctuationInfo
- Publication number
- JPH036985A JPH036985A JP14193589A JP14193589A JPH036985A JP H036985 A JPH036985 A JP H036985A JP 14193589 A JP14193589 A JP 14193589A JP 14193589 A JP14193589 A JP 14193589A JP H036985 A JPH036985 A JP H036985A
- Authority
- JP
- Japan
- Prior art keywords
- image
- light source
- light
- correction
- corrected
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000005286 illumination Methods 0.000 claims description 16
- 230000003287 optical effect Effects 0.000 claims description 6
- 230000003595 spectral effect Effects 0.000 description 7
- 230000035945 sensitivity Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000011521 glass Substances 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 2
- TZCXTZWJZNENPQ-UHFFFAOYSA-L barium sulfate Chemical compound [Ba+2].[O-]S([O-])(=O)=O TZCXTZWJZNENPQ-UHFFFAOYSA-L 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- CPLXHLVBOLITMK-UHFFFAOYSA-N magnesium oxide Inorganic materials [Mg]=O CPLXHLVBOLITMK-UHFFFAOYSA-N 0.000 description 1
- 239000000395 magnesium oxide Substances 0.000 description 1
- AXZKOIWUVFPNLO-UHFFFAOYSA-N magnesium;oxygen(2-) Chemical compound [O-2].[Mg+2] AXZKOIWUVFPNLO-UHFFFAOYSA-N 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 229910052724 xenon Inorganic materials 0.000 description 1
- FHNFHKCVQCLJFQ-UHFFFAOYSA-N xenon atom Chemical compound [Xe] FHNFHKCVQCLJFQ-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Spectrometry And Color Measurement (AREA)
- Control Of Exposure In Printing And Copying (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野]
本発明は、光源の変動による画像の変動を補正する光源
変動補正方法および装置に係わり、特に光源の変動に敏
感に反応するカラー画像読み取り、色彩測定又は検査を
する場合の光源変動補正方法および装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a light source variation correction method and apparatus for correcting image variations due to light source variations, and in particular to color image reading that is sensitive to light source variations; The present invention relates to a method and apparatus for correcting light source fluctuations when performing color measurement or inspection.
〔従来の技術]
ある速度で移動する帯状物体(1例として印刷物)の表
面に一定の周期で同じ絵柄が印刷されている画像を撮像
して静止画像としてデイスプレィ表示し印刷の出来上が
り状態を検査するような場合、帯状物体の表面に絵柄の
入らない余白部分をもうけておき、ラインセンサカメラ
から画像メモリに取り込まれた画像の余白部分のデータ
を用いて光源の変動を補正していた。[Prior art] An image of the same pattern being printed at a certain period on the surface of a strip-shaped object (for example, a printed matter) moving at a certain speed is captured and displayed as a still image on a display to inspect the finished state of the print. In such cases, a blank area where no pattern is included is provided on the surface of the strip-shaped object, and data from the blank area of the image captured from the line sensor camera into the image memory is used to correct for fluctuations in the light source.
しかし余白部分の汚れは補正誤差となること、また近年
省資源及びコストの低減などの目的のため帯状物体の余
白面積は減少する傾向にあり余白を用いない方式の開発
が望まれていた。However, stains on the margins result in correction errors, and in recent years, the margin area of band-shaped objects has been decreasing for the purpose of saving resources and reducing costs, so there has been a desire to develop a method that does not use margins.
また、絵柄読み取り用のラインセンサとは別の光電素子
を光源装置に組み込み、光源から光の一部を光電素子に
当てて光源の輝度を補正したり、カラー画像の読み取り
の場合は光電素子の色分解された出力を信号処理回路に
導き補正信号として用いた。しかし、カラー画像より精
度よく色彩情報を抽出するためには光電素子の分光感度
とカララインセンサの分光感度のづれを補正するために
別の補正機能を必要とした。In addition, a photoelectric element separate from the line sensor for reading patterns is built into the light source device, and a portion of the light from the light source is directed onto the photoelectric element to correct the brightness of the light source, and when reading color images, the photoelectric element is The color-separated output was led to a signal processing circuit and used as a correction signal. However, in order to extract color information more accurately than color images, another correction function was required to correct the discrepancy between the spectral sensitivity of the photoelectric element and the spectral sensitivity of the color line sensor.
(発明が解決しようとする課題〕
カラー画像の場合、光源の波長の変動による対象物の反
射率の変動が画像に大きく影響する。このため変動の少
ない光源とし、さらに変動した場合、その変動に応じて
画像を補正する必要がある。従来は、この補正を行うた
め対象物に余白を設けていたが、この余白も設けられな
い状況となってきている。そこで本発明は、このような
余白を用いず、イメージセンサの一部に光源から分割し
た補正用照明を入射することにより、光源変動による画
像の補正を行う方法および装置を提供することを目的と
する。(Problem to be solved by the invention) In the case of color images, variations in the reflectance of the object due to variations in the wavelength of the light source greatly affect the image.For this reason, a light source with little variation is used, and if there is further variation, the variation is It is necessary to correct the image accordingly. Conventionally, a margin was provided on the object to perform this correction, but the situation has become such that it is no longer possible to provide such a margin. Therefore, the present invention aims to correct the image. An object of the present invention is to provide a method and apparatus for correcting an image due to light source fluctuations by inputting correction illumination divided from a light source into a part of an image sensor without using a light source.
〔課題を解決するための手段]
上記目的を達成するため、光源からの光を分割して対象
物の照明光と補正光とし、イメージセンサの一部に照明
光による対象物の反射光を入射し、他の一部に補正光を
入射するようにし、対象物に基準反射体を設けた時の補
正光により生じる画像を基準補正画像として画像補正の
基準とすればよく、本発明の光源変動補正方法は、光源
より対象物に照射した反射光をイメージセンサの一部に
入射して対象物画像を出力するとともに他の一部に前記
光源より分割した光を照射して補正画像を出力し、前記
対象物に基準反射体を設けた時のイメージセンサの前記
一部に入射して生じた画像を基準対象物画像としその時
の前記光源から分割した光が前記他の一部に入射して生
じた画像を基準補正画像として該基準補正画像と前記補
正画像とにもとずき前記対象物画像を補正して補正対象
画像として出力することを特徴とするものである。[Means for solving the problem] In order to achieve the above object, the light from the light source is divided into illumination light for the object and correction light, and the light reflected from the object by the illumination light is incident on a part of the image sensor. Then, the correction light may be incident on the other part, and the image generated by the correction light when a reference reflector is provided on the object may be used as the reference correction image and the reference for image correction. The correction method is to output reflected light emitted from a light source onto a target object to a part of the image sensor to output an image of the target object, and to output a corrected image by irradiating another part with divided light from the light source. , an image generated by entering the part of the image sensor when a reference reflector is provided on the object is used as a reference object image, and light split from the light source at that time is incident on the other part; The method is characterized in that the generated image is used as a reference corrected image, and the object image is corrected based on the reference corrected image and the corrected image, and output as a correction target image.
また、前記対象物に第2基準反射体を設けた時のイメー
ジセンサの前記一部に入射して生じた画像を第2基準対
象物画像とし、前記基準対象物画像と該第2基準対象物
画像との差にもとずき前記補正対象画像を正規化するよ
うにしてもよい。また、前記対象物を所定速度で移動し
、表面に一定の周期で同一特徴体を表している帯状物体
としてもよい、そのとき、前記イメージセンサを1次元
イメージセンサとするとよい、また、本発明の光源変動
補正方法を実現する装置は、光源よりの光を対象物を照
射する照明光と該光源の変動を検知する補正光とに分割
して出射する光源装置と、前記対象物の反射光を結像す
る光学系と、該光学系の結像を一部で受光し他の一部で
前記補正光を受光しそれぞれ対象物画像、補正画像とし
て出力するイメージセンサと、該イメージセンサの出力
を入力し画像信号を出力するとともに前記対象物に基半
反射体を設けた時のイメージセンサの前記一部に入射し
て生じた画像を基準画像としその時の前記光源からの補
正光を前記他の一部に入射して生じた画像を基準補正画
像として該基準補正画像と前記補正画像とにもとずき、
前記対象物画像を補正して補正対象画像信号として出力
する画像処理装置と、該画像処理装置の画像信号を表示
する画像表示装置とを備えたことを特徴とするものであ
る。Further, an image generated by being incident on the part of the image sensor when a second reference reflector is provided on the object is defined as a second reference object image, and the reference object image and the second reference object The correction target image may be normalized based on the difference with the image. Further, the object may be a strip-shaped object that moves at a predetermined speed and exhibits the same features at a certain period on its surface. In this case, the image sensor may be a one-dimensional image sensor. A device for realizing the light source fluctuation correction method includes a light source device that divides and emits light from a light source into illumination light that illuminates an object and correction light that detects fluctuations in the light source; an optical system that forms an image of the image, an image sensor that receives the image formed by the optical system in one part and receives the correction light in another part and outputs it as an object image and a corrected image, respectively, and the output of the image sensor. is input and an image signal is output, and the image generated by entering the part of the image sensor when the base-semi-reflector is provided on the target object is used as a reference image, and the correction light from the light source at that time is used as the other image. Based on the reference corrected image and the corrected image, an image generated by incidence on a part of the reference corrected image is set as a reference corrected image,
The present invention is characterized by comprising an image processing device that corrects the object image and outputs it as a correction target image signal, and an image display device that displays the image signal of the image processing device.
〔作 用]
上記構成により、対象物に基準反射体を設けた時に生じ
る基準対象物画像と、その時の光源より分割した補正光
により生じた基準補正画像を得る、そして対象物の対象
物画像とそのときの補正画像を用い、基準補正画像と補
正画像の比で対象物画像を補正する。このようにして対
象物に基準反射体を設けた時の光源を基準として、光源
変動に対する対象物画像の補正をする。また基準反射体
(例えば完全拡散反射面)による基準対象物画像を一方
の基準とし、他方の基準として第2基準反射体(例えば
馬体)による第2基準対象物画像を用い、両者の差を基
に補正された対象物画像を正規化することができる。[Function] With the above configuration, a reference object image generated when a reference reflector is provided on the object, a reference correction image generated by correction light split from the light source at that time, and a target object image of the object. Using the corrected image at that time, the object image is corrected based on the ratio between the reference corrected image and the corrected image. In this way, the object image is corrected for variations in the light source using the light source when the reference reflector is provided on the object as a reference. In addition, a reference object image formed by a reference reflector (e.g., a perfect diffuse reflection surface) is used as one reference, and a second reference object image formed by a second reference reflector (e.g., a horse body) is used as the other reference, and the difference between the two is calculated. The corrected object image can be normalized based on the corrected object image.
所定速度で移動する、表面に一定の周期で同一特徴体(
例えば印刷した絵柄)を表している帯状物体の画像を、
光源の変動を補正した状態で得られるので、特徴体自体
の変化を正確に検出することが可能となる。この場合特
徴体は一定周期で表れることから1次元イメージセンサ
でよい。The same features (
For example, an image of a strip-shaped object representing a printed pattern),
Since it is obtained in a state in which fluctuations in the light source have been corrected, it is possible to accurately detect changes in the characteristic object itself. In this case, a one-dimensional image sensor may be used since the feature appears at a constant period.
また、本発明では同一のイメージセンサに同一光源を分
割して生じた対象物の反射光と補正光とを入射し対象物
画像と補正画像を得るので両画像の特性上のバラツキが
なく、精度のよい補正画像が得られる。In addition, in the present invention, since the reflected light of the object and the correction light generated by dividing the same light source are incident on the same image sensor to obtain the object image and the correction image, there is no variation in the characteristics of both images, and the accuracy is A well-corrected image can be obtained.
本発明の一実施例を第1図〜第3図を用いて説明する。 An embodiment of the present invention will be described using FIGS. 1 to 3.
第1図は本実施例の構成を示すブロック図である。第1
図において、1は光源であり例えばキセノンランプを用
いる。2.は球面反射鏡、3は光源■からの照明光の経
路を2分するための、例えば耐熱性を考慮した石英ガラ
ス製の半透明鏡、4は光a】からの照明光を対象物に照
射するための照明用ライトガイドで、光源1側の端部は
球面反射鏡2により光源1の光束を集光した位置に設け
られ、他端部から対象物に照明光を照射する。5は半透
明鏡3により分割された光を導く補正用ライトガイド、
6は対象物として高速で移動する、表面に一定周期で描
かれた絵柄を有する帯状物体、7は帯状物体6を案内す
るローラ、8はローラ7の速度を検出するパルス発振器
、9は照明用ライトガイド4で照明された帯状物体6の
絵柄の反射光を結像する光学レンズ、10は分光感度補
正用のガラスフィルタ、11は単板式のカラーラインセ
ンサ、12はカラーラインセンサ11の出力を増幅する
ビデオアンプ、13はビデオアンプ12のアナログ出力
をディジタル値に変換するA/D変換器、14はA/D
変換器13の出力を入力して記憶する画像メモリ、15
は画像メモリ14の出力をアナグロ変換するD/A変換
器、16はD/A変換器の出力を直像表示するCRTデ
イスプレィ、17はキーボード、18はプリンタ、19
はパルス発生器8の発生するパルスをカウントして絵柄
の繰り返し周期に同期した書き込みアドレス信号を画像
メモi月4に出力するとともに画像処理を行う画像処理
回路である。FIG. 1 is a block diagram showing the configuration of this embodiment. 1st
In the figure, 1 is a light source, for example, a xenon lamp is used. 2. is a spherical reflecting mirror; 3 is a semi-transparent mirror made of quartz glass that takes heat resistance into consideration; 4 is a semi-transparent mirror made of quartz glass for dividing the path of illumination light from light source 2 into two; 4 is illumination light from light a] that illuminates the object The end of the light guide on the light source 1 side is provided at a position where the light flux of the light source 1 is focused by the spherical reflecting mirror 2, and the other end irradiates the object with illumination light. 5 is a correction light guide that guides the light divided by the semi-transparent mirror 3;
Reference numeral 6 denotes a belt-shaped object that moves at high speed as an object and has a pattern drawn at a constant period on its surface; 7 is a roller that guides the belt-shaped object 6; 8 is a pulse oscillator that detects the speed of the roller 7; and 9 is for illumination. An optical lens forms an image of the light reflected from the pattern of the strip-shaped object 6 illuminated by the light guide 4; 10 is a glass filter for spectral sensitivity correction; 11 is a single-plate color line sensor; 12 is the output of the color line sensor 11; A video amplifier for amplification; 13 an A/D converter for converting the analog output of the video amplifier 12 into a digital value; 14 an A/D converter;
an image memory 15 for inputting and storing the output of the converter 13;
16 is a CRT display that directly displays the output of the D/A converter; 17 is a keyboard; 18 is a printer;
is an image processing circuit that counts pulses generated by the pulse generator 8 and outputs a write address signal synchronized with the pattern repetition period to the image memo 4, and also performs image processing.
次に動作について説明する。Next, the operation will be explained.
高速でロール上を移動する帯状物体6に照明用ライトガ
イド4から帯状物体6の移動方向と直角に交差する方向
に細長い帯状照明をあてる。帯状物体6からの照明の反
射光はロール7上方に置かれた焦点合わせ用の光学レン
ズ9、分光感度補正用のガラスフィルタ10を通してカ
ラーライセンサ11の一部に像を結ぶ、補正用ライトガ
イド5からの光は分光感度補正用のガラスフィルタ10
を通してカラーラインセンサIIの他の一部に入射する
。このとき前述した照明用ライトガイド4からの反射光
がカラーラインセンサ11上で結像する位置と、補正用
ライトガイド5の光が入射する位置を分離して配置する
。カラーラインセンサ11のビデオアンプ12により必
要な電圧範囲に増幅されA/D変換器13でデジタル信
号に変換される。A strip-shaped object 6 moving at high speed on a roll is illuminated with elongated strip-shaped illumination from an illumination light guide 4 in a direction perpendicular to the moving direction of the strip-shaped object 6. The reflected light from the strip-shaped object 6 passes through an optical lens 9 for focusing placed above the roll 7 and a glass filter 10 for spectral sensitivity correction to form an image on a part of the color licensor 11 in a correction light guide 5. The light from the glass filter 10 for spectral sensitivity correction
The light enters another part of the color line sensor II through the light. At this time, the position where the reflected light from the illumination light guide 4 described above forms an image on the color line sensor 11 and the position where the light from the correction light guide 5 enters are arranged separately. The video amplifier 12 of the color line sensor 11 amplifies it to a required voltage range, and the A/D converter 13 converts it into a digital signal.
帯状物体6の案内に用いられるロール7の軸にパルス発
生器8が取り付けられている0画像処理回路19でロー
ル7の回転に合わせて発生するパルスをカウントするこ
とにより帯状物体6の表面に描かれた絵柄の繰り返し周
期に同期した画像メモリの書込アドレス信号を発生して
、A/D変換された絵柄信号と補正用ライトガイド5の
信号を画像メモ1月4に書き込む、このときのビデオ信
号の波形を2図に示す、ビデオ信号は赤(R)、緑(G
)、青(B)よりなる、第2図中のHA、H,。A pulse generator 8 is attached to the shaft of a roll 7 used for guiding the belt-shaped object 6. An image processing circuit 19 is used to count the pulses generated in accordance with the rotation of the roll 7, thereby creating a pattern on the surface of the belt-shaped object 6. The video at this time generates a write address signal for the image memory that is synchronized with the repeating cycle of the pattern, and writes the A/D-converted pattern signal and the signal from the correction light guide 5 to the image memo January 4. The signal waveform is shown in Figure 2. The video signal is red (R) and green (G).
), blue (B), HA, H, in Figure 2.
H,は第3図(a)に示す位置を示している。H, indicates the position shown in FIG. 3(a).
画像メモリ14に書き込まれた絵柄信号はCRTデイス
プレィ16の表示タイミングにあわせて読み出され、D
/A変換されてCRTデイスプレィ16に静止画像とし
て表示される。The picture signal written in the image memory 14 is read out in accordance with the display timing of the CRT display 16, and the D
/A conversion and displayed on the CRT display 16 as a still image.
色彩を測るための装置の校正手段として白色の帯状物体
6をロール上で移動させることにより、あるいは白色の
帯状物体6のかわりに完全拡散反射面に相当する試料片
たとえば酸化マグネシウムや硫酸バリウム面をカラーラ
インセンサ11の視野に置き、パルス発生器8の発生す
るパルスの代わりに周波数発振器により発生するパルス
を利用して白色の画像とこのときの補正用ライトガイド
5による補正信号を画像メモリに取り込む。As a means of calibrating an apparatus for measuring color, a white strip-shaped object 6 is moved on a roll, or a sample piece corresponding to a perfectly diffuse reflective surface, such as a magnesium oxide or barium sulfate surface, is used instead of the white strip-shaped object 6. Placed in the field of view of the color line sensor 11, and using pulses generated by a frequency oscillator instead of pulses generated by the pulse generator 8, a white image and a correction signal from the correction light guide 5 at this time are captured into the image memory. .
このときの画像メモリ14の様子を第3図に示す。FIG. 3 shows the state of the image memory 14 at this time.
白色の試料片による画像を画像メモリ14に取り込んで
メモリの垂直アドレスV、と水平方向の画素H,−H,
,H工との交点位置のデータをデータエリア(E(P、
A ) ) llam 、(E(P、B))□5(E(
P、C))□* −−−(E(P、W) )。I、 (
E(P、X))、、Iに格納する。The image of the white sample piece is taken into the image memory 14 and the vertical address V of the memory and the horizontal pixels H, -H,
, H construction, the data of the intersection position is stored in the data area (E(P,
A ) ) llam , (E(P,B))□5(E(
P, C)) □* --- (E(P, W) ). I, (
E(P,X)), ,I.
また一方黒レベルの校正手段として黒色の帯状物体6を
ロール上で移動させることにより、あるいは黒色の帯状
物体6のかわりにカラーラインセンサ11を遮光し、パ
ルス発生器8の発生するパルスの代わりに周波数発振器
により発生するパルスを利用し黒色の画像を画像メモリ
14に取り込む0画像メモリ14の垂直アドレスV、と
水平方向の画素H4〜Ht=、Hxとの交点位置のデー
タをデータエリアCG(P、A) )□、、 (G(
P、B) )□w、 (G (P、C) ) llG
g −−−(G(P、W) )□、に格納する。移動す
る帯状物体6の表面に描かれた絵柄を画像メモIJ14
に取り込む、CRTデイスプレィ16に表示された静止
画像のなかから画像データを抽出する箇所をキーボード
により複数点指定する。このときの画像メモ1月4の様
子を第3図(b)に示す。On the other hand, as a black level calibration means, by moving a black strip-shaped object 6 on a roll, or by shielding the color line sensor 11 instead of the black strip-shaped object 6, and instead of the pulse generated by the pulse generator 8, A black image is taken into the image memory 14 using pulses generated by a frequency oscillator. Data at the intersection of the vertical address V of the image memory 14 and the horizontal pixels H4 to Ht=, Hx is stored in the data area CG (P ,A) )□,, (G(
P, B) ) □w, (G (P, C) ) llG
Store in g---(G(P,W))□. Image memo IJ14 of the pattern drawn on the surface of the moving strip-shaped object 6
From the still image displayed on the CRT display 16, a plurality of points from which image data is to be extracted are specified using the keyboard. The state of the image memo January 4 at this time is shown in FIG. 3(b).
P、、P、、P、は画像データを抽出するために指定さ
れた点を示す、指定点P、、P、、P3の座標は各4
(vt l Hd )、(”+z Hl)、(Vz
H、)である。P,,P,,P,indicate the points specified for extracting image data.The coordinates of the specified points P,,P,,P3 are each 4.
(vt l Hd), (”+z Hl), (Vz
H,).
また、画像データを抽出する指定点に対応した補正用ラ
イトガイド5による補正信号はQ、、Q、、Q、の点が
指す画像メモリ上の位置から読み取れる、 P +、
P z、 P !、 (L、 Qz、Qzの各点の画像
メモリ14の内容をデータエリア(F(1,d))真、
m、CF(n 、 g)) llG1. CF(r、
i)) IGl、 (F (+、 x)) ism(F
(n、 x)) mGt 、 (F(r、 X))
IGIに格納する、補正データを用いてデータエリアに
格納された絵柄データの補正を次のようにおこない補正
後のデータをデータエリア[D (1,d) ) vG
、、 (D (n。Further, the correction signal from the correction light guide 5 corresponding to the specified point from which image data is extracted can be read from the position on the image memory indicated by the point Q, ,Q, ,Q, P + ,
Pz, P! , (The contents of the image memory 14 at each point L, Qz, Qz are stored in the data area (F(1, d)) true,
m, CF(n, g)) llG1. CF(r,
i)) IGl, (F (+, x)) ism(F
(n, x)) mGt, (F(r, X))
The pattern data stored in the data area is corrected using the correction data stored in the IGI, and the corrected data is stored in the data area [D (1, d)) vG.
,, (D (n.
g)) IGg、 CD(r、 i)] RGIに格納
する。g)) IGg, CD(r, i)] Store in RGI.
(F(+、x))。。(F(+,x)). .
X (F (1,d)) *r、m X (F(n、 g)) IGm X (F(r、 i))。。X (F (1, d)) *r, m X (F(n, g)) IGm X (F(r, i)). .
画像データを抽出する指定点上の校正用白データ、及び
黒データを用いて正規化された色彩データは次のように
して求められる。Color data normalized using white data for calibration and black data on designated points from which image data is extracted is obtained as follows.
(B(+、d) )□、=
CD(1,d) ) +1.z (G(p、d)
) RGI(E(p、d) )□* (C(p、d
) ) *r、*(B(n、g) ) IGl =
CD(n、g) ) llam CG(p、g)
) man(E(p、g) )□* CG(p、g
) )□。(B (+, d) ) □, = CD (1, d) ) +1. z (G(p,d)
) RGI(E(p,d) )□*(C(p,d
) ) *r, *(B(n,g) ) IGl = CD(n,g) ) llam CG(p,g)
) man(E(p, g) )□* CG(p, g
))□.
(B(r、i) )□1 =
(D(r、i) ) maw CG(p、i)
) IGm(E(p、i) ) ass (G
(p、i) ) aGs本実本実定例る効果を以下に
記載する。(B(r,i))□1 = (D(r,i)) maw CG(p,i)
) IGm(E(p,i)) ass (G
(p, i)) The effects of aGs books are described below.
■ 色彩測定用と光源補正用の検出素子を同一のものと
し、又光源から検出素子にいたる間の分光特性をそろえ
ることにより光源の電in電圧の変化、温度の変化、ラ
ンプの劣化等の原因によって生じる照明光の分光エネル
ギーの変動の影響を押さえて色彩データの精度を向上さ
せる。■ By using the same detection element for color measurement and light source correction, and by aligning the spectral characteristics from the light source to the detection element, causes such as changes in the power in voltage of the light source, changes in temperature, and lamp deterioration can be eliminated. This improves the accuracy of color data by suppressing the effects of fluctuations in the spectral energy of illumination light caused by
■ 移動する帯状物体の絵柄及び光源補正用の画像をラ
インセンサの走査ごとに画像メモリに取り込んでおき、
絵柄上で指定した色彩測定点の色彩データを抽出する際
、各色彩測定点に1対lに対応した光源補正用の画像か
ら補正データを取り出して補正するため信絃性が高い、
これは移動する物体の速度が遅い場合静止画像を取り込
むのに時間がかかり、走査線方向1本1本の画像を取り
込む間に光源の変動が生じる場合があるが、このような
場合有効である。■ The pattern of the moving strip-shaped object and the image for light source correction are captured in the image memory every time the line sensor scans.
When extracting the color data of the color measurement points specified on the pattern, the correction data is extracted from the light source correction image corresponding to each color measurement point on a one-to-one basis, so the reliability is high.
This is effective in cases where it takes time to capture a still image if the speed of the moving object is slow, and variations in the light source may occur while capturing images one by one in the scanning line direction. .
■ 画像メモリに取り込まれた絵柄及び光源補正用の画
像と、ラインセンサの画素毎に測った校正用白データ、
黒データ及び光源補正用データを外部記憶装置に一時的
に記憶し、これを再び読み出して絵柄上で指定された任
意位置の色彩データを抽出することができる。これによ
り、基準としたい絵柄を記憶しておき、新しく読み取っ
た画像との色彩のずれを比較したい場合絵柄の任意の位
置を比較の対象として設定することができる。■ Images for pattern and light source correction imported into the image memory, white data for calibration measured for each pixel of the line sensor,
The black data and the light source correction data can be temporarily stored in an external storage device, and then read out again to extract color data at an arbitrary position specified on the picture. With this, it is possible to memorize a pattern to be used as a reference, and to set an arbitrary position of the pattern as a comparison target when it is desired to compare the color deviation with a newly read image.
本発明によれば、光源からの光を対象物の照明光と補正
光に分割し、イメージセンサの一部に照明光による対象
物の反射光を入射し、他の一部に補正光を入射するよう
にし、対象物に基準反射体を設けた時の補正光による画
像を基準として画像補正するので、対象物に補正用の余
白等を必要とせず、光源変動の補正を行うことができる
。According to the present invention, the light from the light source is divided into the illumination light of the object and the correction light, and the light reflected from the object by the illumination light is incident on one part of the image sensor, and the correction light is incident on the other part. Since the image is corrected using the image obtained by the correction light when the reference reflector is provided on the object as a reference, it is possible to correct light source fluctuations without requiring a margin for correction on the object.
第1図は本発明の一実施例の構成を示すブロック図、第
2図はビデオ信号の波形を示す図、第3図は画像メモリ
の様子を示す図である。
1−m−光源 2−〜−球面反射鏡3−−−半透
明鏡 4−m−照明用ライトガイド5−−−補正用ラ
イトガイド 6一−−帯状物体7−−−ロール 8
−−−パルス発振器9−m−光学レンズ 10−−−ガ
ラスフィルタ11−−一カラーラインセンサ
l2−−−ビデオアンプ 13−−− A/Di換器1
4−m−画像メモリ 15−−− D/A変換器16
−−− CRTデイスプレィ
17−−−キーボード 18−−−プリンタ19−m
−画像処理回路FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing the waveform of a video signal, and FIG. 3 is a diagram showing the state of an image memory. 1-m-Light source 2--Spherical reflecting mirror 3--Semi-transparent mirror 4-m-Light guide for illumination 5--Light guide for correction 6--Striped object 7--Roll 8
---Pulse oscillator 9--Optical lens 10--Glass filter 11--Color line sensor 12--Video amplifier 13--A/Di converter 1
4-m-image memory 15--- D/A converter 16
--- CRT display 17 --- Keyboard 18 --- Printer 19-m
-Image processing circuit
Claims (5)
サの一部に入射して対象物画像を出力するとともに他の
一部に前記光源より分割した光を照射して補正画像を出
力し、前記対象物に基準反射体を設けた時のイメージセ
ンサの前記一部に入射して生じた画像を基準対象物画像
としその時の前記光源から分割した光が前記他の一部に
入射して生じた画像を基準補正画像として該基準補正画
像と前記補正画像とにもとずき前記対象物画像を補正し
て補正対象画像として出力することを特徴とする光源変
動補正方法。(1) Reflected light irradiated onto the object from a light source enters a part of the image sensor to output an object image, and the other part is irradiated with divided light from the light source to output a corrected image, When the reference reflector is provided on the object, the image generated by entering the part of the image sensor is taken as a reference object image, and the light split from the light source at that time is generated by entering the other part. A light source fluctuation correction method characterized in that the object image is corrected based on the reference corrected image and the corrected image, using the corrected image as a reference corrected image, and outputted as a correction target image.
ジセンサの前記一部に入射して生じた画像を第2基準対
象物画像とし、前記基準対象物画像と該第2基準対象物
画像との差にもとずき前記補正対象画像を正規化するこ
とを特徴とする請求項1記載の光源変動補正方法。(2) When the object is provided with a second reference reflector, an image generated by being incident on the part of the image sensor is defined as a second reference object image, and the reference object image and the second reference object are 2. The light source fluctuation correction method according to claim 1, wherein the correction target image is normalized based on a difference from an object image.
期で同一特徴体を表している帯状物体であることを特徴
とする請求項1または2記載の光源変動補正方法。(3) The light source fluctuation correction method according to claim 1 or 2, wherein the object is a band-shaped object that moves at a predetermined speed and has the same feature on its surface at a certain period.
ることを特徴とする請求項3記載の光源変動補正方法。(4) The light source fluctuation correction method according to claim 3, wherein the image sensor is a one-dimensional image sensor.
の変動を検知する補正光とに分割して出射する光源装置
と、前記対象物の反射光を結像する光学系と、該光学系
の結像を一部で受光し他の一部で前記補正光を受光しそ
れぞれ対象物画像、補正画像として出力するイメージセ
ンサと、該イメージセンサの出力を入力し画像信号を出
力するとともに前記対象物に基準反射体を設けた時のイ
メージセンサの前記一部に入射して生じた画像を基準画
像としその時の前記光源からの補正光を前記他の一部に
入射して生じた画像を基準補正画像として該基準補正画
像と前記補正画像とにもとずき前記対象物画像を補正し
て補正対象画像信号として出力する画像処理装置と、該
画像処理装置の画像信号を表示する画像表示装置とを備
えたことを特徴とする光源変動補正装置。(5) a light source device that divides and emits light from a light source into illumination light that irradiates an object and correction light that detects fluctuations in the light source; and an optical system that forms an image of reflected light from the object; An image sensor that receives the image formed by the optical system in one part and receives the correction light in another part and outputs the image as an object image and a correction image, respectively, and inputs the output of the image sensor and outputs an image signal. At the same time, when a reference reflector is provided on the object, the image generated by being incident on the part of the image sensor is set as a reference image, and the correction light from the light source at that time is made to be incident on the other part, and the image is generated. an image processing device that uses an image as a reference corrected image to correct the object image based on the reference corrected image and the corrected image and outputs it as a correction target image signal; and an image processing device that displays the image signal of the image processing device. A light source fluctuation correction device comprising: an image display device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1141935A JP2655546B2 (en) | 1989-06-02 | 1989-06-02 | Light source fluctuation correction method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1141935A JP2655546B2 (en) | 1989-06-02 | 1989-06-02 | Light source fluctuation correction method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH036985A true JPH036985A (en) | 1991-01-14 |
| JP2655546B2 JP2655546B2 (en) | 1997-09-24 |
Family
ID=15303569
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1141935A Expired - Lifetime JP2655546B2 (en) | 1989-06-02 | 1989-06-02 | Light source fluctuation correction method and device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2655546B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS52129228A (en) * | 1976-04-22 | 1977-10-29 | Mitsubishi Rayon Co | Method of processing picture signal |
| JPS5422192A (en) * | 1977-07-21 | 1979-02-19 | Toshiba Corp | Computer tomography device |
| JPS5821987A (en) * | 1981-07-31 | 1983-02-09 | Toshiba Corp | Transmitting and processing system of video signal |
-
1989
- 1989-06-02 JP JP1141935A patent/JP2655546B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS52129228A (en) * | 1976-04-22 | 1977-10-29 | Mitsubishi Rayon Co | Method of processing picture signal |
| JPS5422192A (en) * | 1977-07-21 | 1979-02-19 | Toshiba Corp | Computer tomography device |
| JPS5821987A (en) * | 1981-07-31 | 1983-02-09 | Toshiba Corp | Transmitting and processing system of video signal |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2655546B2 (en) | 1997-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5305391A (en) | Method of and apparatus for inspecting bottle or the like | |
| TW412632B (en) | Outdoor range finder | |
| US5118195A (en) | Area scan camera system for detecting streaks and scratches | |
| JPH102711A (en) | Three-dimensional measuring device | |
| JP2000138791A (en) | Method and device for controlling adaptive timing of light integration processing for one-dimensional cmos image sensor | |
| JPH0743115A (en) | Distance measuring method and distance measuring device | |
| JPH036985A (en) | Method and apparatus for correcting light source fluctuation | |
| JP3360505B2 (en) | Three-dimensional measuring method and device | |
| JP3350510B2 (en) | Headlight tester luminosity measurement method and apparatus | |
| JP2775924B2 (en) | Image data creation device | |
| JP2626611B2 (en) | Object shape measurement method | |
| US4922284A (en) | Film printing/reading system | |
| JPS63108204A (en) | Size measuring method | |
| JP2000105111A (en) | Three-dimensional input device | |
| JPH09145321A (en) | Projection apparatus and imaging apparatus for three-dimensional measurement | |
| JPS63127106A (en) | Method for measuring three-dimensional shape | |
| JP4654693B2 (en) | Inspection image imaging device | |
| JPS62203460A (en) | Picture reader | |
| JP3090927B2 (en) | Image reading device | |
| JP3177846B2 (en) | Image reading device | |
| JP2539107B2 (en) | Reticle pattern inspection device | |
| JP2000065547A (en) | Shape measurement device for black-work and extraction device thereof | |
| JPS62203461A (en) | Picture read system | |
| JPH01243193A (en) | Method for detecting container code and method for recognizing it | |
| JPS6327164A (en) | Method and apparatus for image data processing |