JP3967307B2 - Image correction apparatus and method - Google Patents

Image correction apparatus and method Download PDF

Info

Publication number
JP3967307B2
JP3967307B2 JP2003329153A JP2003329153A JP3967307B2 JP 3967307 B2 JP3967307 B2 JP 3967307B2 JP 2003329153 A JP2003329153 A JP 2003329153A JP 2003329153 A JP2003329153 A JP 2003329153A JP 3967307 B2 JP3967307 B2 JP 3967307B2
Authority
JP
Japan
Prior art keywords
image data
filter coefficient
filtering
speed
printed material
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.)
Expired - Fee Related
Application number
JP2003329153A
Other languages
Japanese (ja)
Other versions
JP2005092821A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2003329153A priority Critical patent/JP3967307B2/en
Publication of JP2005092821A publication Critical patent/JP2005092821A/en
Application granted granted Critical
Publication of JP3967307B2 publication Critical patent/JP3967307B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は画像補正装置および方法に関する。   The present invention relates to an image correction apparatus and method.

印刷物の検査(たとえば色調の良否検査,汚れの有無の検査,抜けの有無の検査等)を目視ではなく自動的に行う検査システムとして,撮像装置によって印刷物を撮像し,撮像によって得られる被検査画像データと,あらかじめ用意される基準画像データ(一般的には,正確と思われる被検査画像データ)とを比較するものがある(たとえば,特許文献1参照)。   As an inspection system that automatically inspects printed matter (for example, color quality inspection, inspection for presence / absence of stains, inspection for presence / absence of omission), an image to be inspected is obtained by imaging the printed matter with an imaging device. There is one that compares data with reference image data prepared in advance (in general, image data to be inspected that seems to be accurate) (for example, see Patent Document 1).

この検査システムでは,搬送装置によって搬送される印刷物の搬送方向に直交する方向を走査方向とするラインセンサを含む撮像装置によって,搬送されている印刷物を1ラインずつ撮像し,撮像によって得られる複数ラインの画像データから2次元画像データ(被検査画像データ)を得る。   In this inspection system, a plurality of lines obtained by imaging are picked up one by one by an imaging device including a line sensor whose scanning direction is a direction orthogonal to the conveyance direction of the printed material conveyed by the conveying device. 2D image data (inspected image data) is obtained from the image data.

上記検査システムにおいて,印刷物の搬送速度が遅い場合には,得られる画像データの解像度が高く,精密な画像検査が可能になる。しかしながら検査精度を高くすると許容範囲にあるものも不良と判定される率が高くなる。他方,印刷物の搬送速度が速いと,得られる画像に搬送方向のぼけが生じ検査精度が低下する。   In the above inspection system, when the transport speed of the printed material is low, the resolution of the obtained image data is high, and a precise image inspection is possible. However, the higher the inspection accuracy, the higher the rate at which an acceptable range is determined to be defective. On the other hand, if the conveyance speed of the printed material is high, the obtained image is blurred in the conveyance direction, and the inspection accuracy is lowered.

このように印刷物の搬送速度は,得られる画像データの解像度に影響を与えるから,搬送速度によって検査精度にばらつきが生じる。
特開平11−207936号公報
As described above, since the conveyance speed of the printed matter affects the resolution of the obtained image data, the inspection accuracy varies depending on the conveyance speed.
Japanese Patent Laid-Open No. 11-207936

この発明は,印刷物の搬送速度に関わらず,印刷物の検査の精度をほぼ一定に保つことできるようにすることを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to make it possible to keep the accuracy of inspection of printed matter almost constant regardless of the conveyance speed of the printed matter.

この発明はまた,搬送される印刷物を撮像することによって得られる画像データの画質(ぼかし程度)を,印刷物の搬送速度に関わらずほぼ同程度にすることを目的とする。   Another object of the present invention is to make the image quality (degree of blurring) of image data obtained by imaging the conveyed printed matter substantially the same regardless of the conveying speed of the printed matter.

この発明による画像補正装置は,印刷物の搬送速度が遅いほどぼかしの程度が大きくなるように画像データをフィルタリング(ローパス・フィルタリング,またはぼかしフィルタリング)するための複数のフィルタ係数を,異なる複数の搬送速度に対応して記憶したフィルタ係数記憶手段,上記印刷物の搬送速度を決定する速度決定手段,上記フィルタ係数記憶手段に記憶されている複数のフィルタ係数の中から,上記速度決定手段によって決定された印刷物の搬送速度に対応する一のフィルタ係数を選択するフィルタ係数選択手段,および搬送されている印刷物を撮像する撮像装置から出力される単位領域の画像データのそれぞれについて,各単位領域を中心として搬送方向に対応する方向に並ぶ複数の単位領域の画像データを対象として,上記フィルタ係数選択手段によって選択されたフィルタ係数を用いてフィルタリングを行うフィルタリング手段(ローパス・フィルタリング手段,またはぼかしフィルタリング手段)を備えたものである。   According to the image correction apparatus of the present invention, a plurality of filter coefficients for filtering image data (low-pass filtering or blur filtering) so that the degree of blurring increases as the conveyance speed of a printed material becomes slower, and a plurality of different conveyance speeds. The filter coefficient storage means stored corresponding to the above, the speed determination means for determining the transport speed of the printed matter, and the printed matter determined by the speed determination means from among the plurality of filter coefficients stored in the filter coefficient storage means The filter coefficient selecting means for selecting one filter coefficient corresponding to the transport speed of the image and the image data of the unit area output from the imaging device for imaging the printed matter being transported, with each unit area as the center in the transport direction For image data of multiple unit areas arranged in the direction corresponding to Those having a filtering means for filtering using a filter coefficient selected by the filter coefficient selection means (low-pass filtering means or blurring filtering means).

この発明による画像補正方法は,印刷物の搬送速度を決定し,印刷物の搬送速度が遅いほどぼかしの程度が大きくなるように画像データをフィルタリング(ローパス・フィルタリング,またはぼかしフィルタリング)するための複数のフィルタ係数の中から,決定した印刷物の搬送速度に対応する一のフィルタ係数を選択し,搬送されている印刷物を撮像する撮像装置から出力される単位領域の画像データのそれぞれについて,各単位領域を中心として搬送方向に対応する方向に並ぶ複数の単位領域の画像データを対象として,選択したフィルタ係数を用いてフィルタリング(ローパス・フィルタリング,またはぼかしフィルタリング)を行うものである。   The image correction method according to the present invention determines a transport speed of a printed material, and filters a plurality of filters for filtering (low-pass filtering or blur filtering) image data so that the degree of blurring increases as the transport speed of the printed material decreases. One filter coefficient corresponding to the determined conveyance speed of the printed material is selected from the coefficients, and each unit area is centered on each of the unit area image data output from the imaging device that images the conveyed printed material. As described above, filtering (low-pass filtering or blur filtering) is performed on the image data of a plurality of unit regions arranged in the direction corresponding to the transport direction using the selected filter coefficient.

この発明において,画像補正(フィルタリング)される画像データは,搬送されている印刷物を撮像装置によって撮像することにより得られるものである。撮像装置はラインセンサおよびエリアセンサのいずれを含むものであってもよいが,好ましくはラインセンサが用いられる。   In the present invention, the image data subjected to image correction (filtering) is obtained by imaging the conveyed printed matter with an imaging device. The imaging device may include either a line sensor or an area sensor, but preferably a line sensor is used.

またこの発明において,印刷物の搬送速度の決定には,印刷物の搬送速度を計測すること,および印刷物の搬送速度を設定することのいずれをも含む。したがって,印刷物の搬送速度の決定には,搬送されている印刷物の搬送速度(移動速度,走行速度)を計測することのみならず,印刷物を搬送する(移動させる,走行させる)ために搬送速度を設定すること,設定した搬送速度を読出すこと,または使用することが含まれる。   In the present invention, the determination of the conveyance speed of the printed material includes both measuring the conveyance speed of the printed material and setting the conveyance speed of the printed material. Therefore, the determination of the transport speed of the printed material includes not only measuring the transport speed (moving speed, traveling speed) of the printed material being transported, but also the transport speed for transporting (moving, traveling) the printed material. It includes setting, reading or using the set transport speed.

この発明においてまた,搬送速度には速度範囲を含むものとする。すなわち,印刷物の搬送速度の決定には,搬送速度の決定のみならず,搬送速度範囲の決定も含まれる。また,複数のフィルタ係数を異なる複数の搬送速度範囲について記憶すること,または異なる複数の搬送速度範囲についてそれぞれ異なるフィルタ係数を定めておくことが含まれる。   In the present invention, the conveyance speed includes a speed range. That is, the determination of the conveyance speed of the printed material includes not only the determination of the conveyance speed but also the determination of the conveyance speed range. Further, it includes storing a plurality of filter coefficients for a plurality of different conveyance speed ranges, or defining different filter coefficients for a plurality of different conveyance speed ranges.

さらにこの発明において,単位領域とは画素を単位とするものであってもよいし,複数の画素からなる領域を単位とするものであってもよい。   Further, in the present invention, the unit area may be a unit of pixels, or may be a unit of a region composed of a plurality of pixels.

この発明によると,決定される印刷物の搬送速度に基づいて,印刷物の搬送速度が遅いほどぼかしの程度が大きくなるように画像データをフィルタリングするための複数のフィルタ係数の中から,印刷物の搬送速度(上記の通り搬送速度範囲を含む)に対応する一のフィルタ係数が選択される。選択されたフィルタ係数が用いられて,搬送されている印刷物を撮像する撮像装置から出力される画像データがフィルタリングされる。フィルタリングはハードウエア回路によっても,ソフトウエアにしたがうコンピュータの動作によっても実現することができる。   According to the present invention, based on the determined transport speed of the printed material, the transport speed of the printed material is selected from the plurality of filter coefficients for filtering the image data so that the degree of blurring increases as the transport speed of the printed material decreases. One filter coefficient corresponding to (including the conveyance speed range as described above) is selected. The selected filter coefficient is used to filter the image data output from the imaging device that images the conveyed printed matter. Filtering can be realized by a hardware circuit or a computer operation according to software.

搬送速度が遅いほど程度の大きいぼかしを生じさせるフィルタ係数が選択されるので,速い搬送速度においては程度の小さいぼかしを生じさせるフィルタリングが,遅い搬送速度においては程度の大きいぼかしを生じさせるフィルタリングが,それぞれ行われる。フィルタリングは,撮像装置から出力される単位領域の画像データのそれぞれについて,各単位領域を中心として搬送方向に対応する方向に並ぶ複数の単位領域の画像データを対象して行われるので,フィルタリングによって搬送方向に対応する方向に搬送速度に応じた程度のぼかしが生じる。   Since the filter coefficient that causes a large blurring is selected as the transport speed is slow, filtering that causes a small blurring at a high transporting speed is performed, and filtering that generates a large blurring is performed at a slow transporting speed. Each done. Since the filtering is performed on the image data of the unit areas output from the imaging apparatus, the image data of a plurality of unit areas arranged in the direction corresponding to the transport direction with each unit area as the center is subjected to the filtering. The blur corresponding to the conveyance speed occurs in the direction corresponding to the direction.

搬送されている印刷物の搬送速度が速いほど,撮像によって得られる画像には光学的により程度の大きいぼかしが搬送方向に対応する方向に生じる。他方,搬送速度が遅いほど程度の大きいぼかしを生じさせるフィルタ係数が選択されて,搬送方向に対応する方向にフィルタリングが行われる。このため,この発明によると,光学的に生じるぼかしとフィルタリングによって生じさせられるぼかしの組合せによるぼかしの程度を,搬送速度に関わらずに,同程度にすることができる。   The faster the conveyance speed of the printed material being conveyed, the more optically blurred the image obtained by imaging occurs in the direction corresponding to the conveyance direction. On the other hand, a filter coefficient that causes a large blur as the conveyance speed is slow is selected, and filtering is performed in a direction corresponding to the conveyance direction. For this reason, according to the present invention, it is possible to make the degree of blurring due to the combination of blurring that occurs optically and blurring caused by filtering the same, regardless of the conveyance speed.

この発明によって得られる画像補正(フィルタリング)された画像データに基づく画像は,印刷物の被検査画像データと基準画像データとを比較して印刷物を検査する検査システムにおいて用いる場合に,特に有効である。印刷物の搬送速度に関わらず搬送方向に同程度のぼかしを持つ被検査画像を得ることができるので,比較処理において搬送速度の相違による判定のばらつきが防止される。   An image based on image-corrected (filtered) image data obtained by the present invention is particularly effective when used in an inspection system for inspecting a printed material by comparing the inspected image data of the printed material with reference image data. Since an image to be inspected having the same degree of blur in the transport direction can be obtained regardless of the transport speed of the printed matter, variations in determination due to differences in transport speed can be prevented in the comparison process.

図1は,印刷物の検査システムの一部を概略的に示す斜視図である。   FIG. 1 is a perspective view schematically showing a part of a printed matter inspection system.

検査システムは,被検査対象である印刷物をCCDラインセンサを含む撮像装置によって撮像し,撮像によって得られる画像に基づいて印刷物を検査するものである。印刷物の検査は,画像処理,たとえば,撮像によって得られる被検査画像データとあらかじめ取得された基準画像データ(印刷物の適正な画像データ)とを(必要に応じて画像データの前処理を経て)比較し,その結果が所定の条件を満たすかどうかを判定することにより行われる。画像処理によって色調の良否,汚れの有無,抜けの有無等が検査(判定)される。   The inspection system takes an image of a printed matter to be inspected by an imaging device including a CCD line sensor, and inspects the printed matter based on an image obtained by the imaging. Inspecting printed matter is image processing, for example, comparing inspected image data obtained by imaging and reference image data (appropriate image data of the printed matter) acquired in advance (through preprocessing of image data as necessary) The determination is made by determining whether the result satisfies a predetermined condition. The image processing checks (determines) the quality of the color tone, the presence / absence of dirt, the presence / absence of omission, and the like.

紙,フィルム等の連続するシートWの表面に,輪転印刷機によって所定の画像(絵柄,文字等)が印刷される。輪転印刷機は互いに近接して配置された回転駆動する版胴3およびロール4を含む。シートWはこれら版胴3とロール4との間を通過する過程で印刷され,送出される。   A predetermined image (picture, character, etc.) is printed on the surface of a continuous sheet W such as paper or film by a rotary printing machine. The rotary printing press includes a rotationally driven plate cylinder 3 and a roll 4 which are arranged close to each other. The sheet W is printed and sent out in the process of passing between the plate cylinder 3 and the roll 4.

輪転印刷機から送出された印刷されたシート(以下,印刷物という)Wは,搬送装置によって搬送される。搬送装置はこの実施例では,多数の搬送ローラ5が搬送路に沿って水平面上にほぼ一定間隔で並列に配列されたものである。輪転印刷機の版胴3およびロール4は,回転駆動装置(図示略)によって互いに同期して回転駆動する。搬送装置の搬送路上に定められた撮像位置の上方に,CCDラインセンサを含む撮像装置1および線状照明光源2が,それぞれ固定的に設けられている。線状照明光源2は,搬送路の幅方向(搬送方向に直交する方向)にのび,搬送路上の撮像位置をその全体にわたって照明する。撮像装置1のCCDラインセンサは搬送路の幅方向を走査方向とするように配置され,光源2によって照明された撮像位置をその幅方向の全体(少なくとも印刷物Wの幅全体)にわたって撮像する。   A printed sheet (hereinafter referred to as “printed matter”) W sent from the rotary printing press is transported by a transport device. In this embodiment, the conveying device is configured such that a large number of conveying rollers 5 are arranged in parallel on the horizontal plane along the conveying path at substantially constant intervals. The plate cylinder 3 and the roll 4 of the rotary printing press are rotationally driven in synchronization with each other by a rotational drive device (not shown). An imaging device 1 including a CCD line sensor and a linear illumination light source 2 are fixedly provided above the imaging position determined on the conveyance path of the conveyance device. The linear illumination light source 2 extends in the width direction of the conveyance path (direction perpendicular to the conveyance direction) and illuminates the entire imaging position on the conveyance path. The CCD line sensor of the imaging apparatus 1 is arranged so that the width direction of the transport path is the scanning direction, and images the imaging position illuminated by the light source 2 over the entire width direction (at least the entire width of the printed matter W).

輪転印刷機のロール4の回転軸に,ロータリ・エンコーダ6の入力軸が連結されている。ロータリ・エンコーダ6は,ロール4の回転速度(すなわち,印刷物Wの搬送速度)に応じた周波数(周期)のエンコーダ・パルスを出力する。   The input shaft of the rotary encoder 6 is connected to the rotary shaft of the roll 4 of the rotary printing press. The rotary encoder 6 outputs an encoder pulse having a frequency (cycle) corresponding to the rotation speed of the roll 4 (that is, the conveyance speed of the printed material W).

撮像装置1によって得られる画像データおよびロータリ・エンコーダ6から出力されるエンコーダ・パルスは,画像補正装置7に入力する。画像補正装置7において,後述する画像データの補正が行われ,補正された画像データにもとづいて画像処理(印刷物Wの検査)が行われる。   The image data obtained by the imaging device 1 and the encoder pulse output from the rotary encoder 6 are input to the image correction device 7. In the image correction device 7, image data to be described later is corrected, and image processing (inspection of the printed matter W) is performed based on the corrected image data.

図2は,撮像装置1および画像補正装置7の電気的構成を示すブロック図である。図2にはロータリ・エンコーダ6を表すブロックも図示されている。   FIG. 2 is a block diagram showing an electrical configuration of the imaging device 1 and the image correction device 7. FIG. 2 also shows a block representing the rotary encoder 6.

撮像装置1はラインセンサ11およびその駆動回路12を含む。駆動回路12から出力される走査開始パルス(スタート・パルス)Sおよび画素クロック信号CLが,ラインセンサ11に与えられる。走査開始パルスSが与えられると,画素クロック信号CLにしたがって複数の画素データ(1ライン分の画像データ)が読出され,順次ラインセンサ11から出力される。走査開始パルスSおよび画素クロック信号CLによる画像データの読出しは,印刷物Wの搬送速度に関係なく,最も速い搬送速度に対応できるように設定しておくことが好ましい。すなわち,走査開始パルスSおよび画素クロック信号CLは,それぞれ印刷物Wの搬送速度に関係なく,所定の周波数(周期)を有するものであり,ラインセンサ11の露光時間は,搬送速度に関係なく所定一定時間である。   The imaging device 1 includes a line sensor 11 and its drive circuit 12. A scanning start pulse (start pulse) S and a pixel clock signal CL output from the drive circuit 12 are supplied to the line sensor 11. When the scanning start pulse S is given, a plurality of pixel data (image data for one line) is read out according to the pixel clock signal CL and sequentially output from the line sensor 11. It is preferable that the reading of the image data by the scanning start pulse S and the pixel clock signal CL is set so as to correspond to the fastest transport speed regardless of the transport speed of the printed material W. That is, each of the scanning start pulse S and the pixel clock signal CL has a predetermined frequency (period) regardless of the transport speed of the printed material W, and the exposure time of the line sensor 11 is a predetermined constant regardless of the transport speed. It's time.

画像補正装置7は,カウンタ13,遅延回路14,フィルタ回路15,フィルタ係数選択設定回路(手段)16,フィルタ係数テーブル17および画像メモリ18を備えている。   The image correction apparatus 7 includes a counter 13, a delay circuit 14, a filter circuit 15, a filter coefficient selection setting circuit (means) 16, a filter coefficient table 17, and an image memory 18.

駆動回路12から出力された走査開始パルスSは,上述のようにラインセンサ11に与えられるとともに,画像補正装置7のカウンタ13にも入力する。   The scanning start pulse S output from the drive circuit 12 is applied to the line sensor 11 as described above and also input to the counter 13 of the image correction device 7.

カウンタ13は,ロータリ・エンコーダ6から出力されカウンタ13に与えられる連続する2個のエンコーダ・パルス(スタートおよびリセット)の間(以下,「エンコーダ・パルス周期T」という)に入力する走査開始パルスSの数を計数するものである(図3参照)。駆動回路12から出力される走査開始パルスSは上記の通り搬送速度に関係なく一定の周期を持つ。他方,エンコーダ・パルス周期Tは,ロール4の回転速度(=印刷物Wの搬送速度)に応じたものになる。印刷物Wの搬送速度が遅いと,エンコーダ・パルス周期Tは長くなりエンコーダ・パルス周期Tにおける走査開始パルスSの数は多くなるので,カウンタ13において計数されるカウント値は大きくなる。印刷物Wの搬送速度が速いとエンコーダ・パルス周期Tは短くなりエンコーダ・パルス周期Tにおける走査開始パルスSの数は少なくなるので,カウント値は小さくなる。このように,カウンタ13によって計数されるカウント値は印刷物Wの搬送速度を表す(正確には,カウント値は搬送速度に反比例する)。   The counter 13 is a scan start pulse S input between two consecutive encoder pulses (start and reset) output from the rotary encoder 6 and applied to the counter 13 (hereinafter referred to as “encoder pulse period T”). Is counted (see FIG. 3). As described above, the scan start pulse S output from the drive circuit 12 has a constant period regardless of the conveyance speed. On the other hand, the encoder pulse period T corresponds to the rotational speed of the roll 4 (= conveyance speed of the printed product W). When the conveyance speed of the printed product W is low, the encoder pulse period T becomes long and the number of scanning start pulses S in the encoder pulse period T increases, so the count value counted by the counter 13 increases. When the conveyance speed of the printed material W is high, the encoder pulse period T is shortened, and the number of scanning start pulses S in the encoder pulse period T is reduced, so that the count value is reduced. As described above, the count value counted by the counter 13 represents the transport speed of the printed material W (more precisely, the count value is inversely proportional to the transport speed).

カウンタ13によって計数されたカウント値(印刷物Wの搬送速度)は,フィルタ係数選択設定回路16に与えられる。フィルタ係数選択設定回路16は,与えられたカウント値(印刷物Wの搬送速度)に対応するフィルタ係数をフィルタ係数テーブル17から選択して読出し,フィルタ回路15に与えるものである。   The count value (conveying speed of the printed material W) counted by the counter 13 is given to the filter coefficient selection setting circuit 16. The filter coefficient selection setting circuit 16 selects and reads out the filter coefficient corresponding to the given count value (conveyance speed of the printed matter W) from the filter coefficient table 17 and gives it to the filter circuit 15.

図5はフィルタ係数テーブル17の内容の一例を示している。フィルタ係数テーブル17には複数のカウント値(印刷物Wの搬送速度)のそれぞれに対応して,複数のフィルタ係数が記憶されている。図5においては,カウント数44,28,16,10,8,7,6,5および4に対応する9つのフィルタ係数が記憶されている。これらのカウント数のうち,44,28,16,10は,カウント値の範囲52〜36,35〜21,20〜12および11〜9を代表するもので,カウンタ13のカウント値がこれらの範囲内にあれば,その代表値のカウント数に対応するフィルタ係数が選択されることになる。   FIG. 5 shows an example of the contents of the filter coefficient table 17. The filter coefficient table 17 stores a plurality of filter coefficients corresponding to each of a plurality of count values (conveying speed of the printed material W). In FIG. 5, nine filter coefficients corresponding to count numbers 44, 28, 16, 10, 8, 7, 6, 5, and 4 are stored. Among these count numbers, 44, 28, 16, and 10 represent count value ranges 52 to 36, 35 to 21, 20 to 12, and 11 to 9, and the count value of the counter 13 is within these ranges. If so, the filter coefficient corresponding to the count value of the representative value is selected.

フィルタ係数テーブル17に記憶されているフィルタ係数は,カウント値が大きいほど,すなわち印刷物Wの搬送速度が遅いほど,画像に程度の大きいぼかしを生じさせるようにその係数値が設定されている。フィルタ係数テーブル17に記憶されている複数のフィルタ係数の中から,カウンタ13により計数されたカウント値,すなわち印刷物Wの搬送速度に対応するフィルタ係数(上記の通り,カウント数はフィルタ係数テーブル17のインデックスであり,それぞれカウント数の範囲を代表しているので,カウント数が入る範囲を代表するカウント数に対応するフィルタ係数である)が,フィルタ係数選択設定回路15によって選択される。選択されたフィルタ係数がフィルタ回路15に与えられる。   The filter coefficients stored in the filter coefficient table 17 are set such that the greater the count value, that is, the slower the conveyance speed of the printed material W, the greater the degree of blurring in the image. Among the plurality of filter coefficients stored in the filter coefficient table 17, the count value counted by the counter 13, that is, the filter coefficient corresponding to the transport speed of the printed material W (as described above, the count number is the filter coefficient table 17). The filter coefficient selection setting circuit 15 selects an index, which represents a range of count numbers, and is a filter coefficient corresponding to a count number representing a range in which the count number is included. The selected filter coefficient is supplied to the filter circuit 15.

ラインセンサ11から出力された画像データは,遅延回路14を経てフィルタ回路15に入力する。図4は遅延回路14およびフィルタ回路15の詳細な電気的構成を示すものである。   The image data output from the line sensor 11 is input to the filter circuit 15 via the delay circuit 14. FIG. 4 shows the detailed electrical configuration of the delay circuit 14 and the filter circuit 15.

遅延回路14は直列に接続された37個のシフト・レジスタR1〜R37を備えている。各シフト・レジスタR1〜R37は,それぞれラインセンサ11から出力される画像データを一時的に記憶するセルを有している。ラインセンサ11から出力された画像データは画素クロック信号CLに同期して順次シフトされていく。   The delay circuit 14 includes 37 shift registers R1 to R37 connected in series. Each of the shift registers R1 to R37 has a cell for temporarily storing image data output from the line sensor 11. The image data output from the line sensor 11 is sequentially shifted in synchronization with the pixel clock signal CL.

説明を分かりやすくするために,各シフトレジスタR1〜R37からそれぞれ一つのセルを取出し,符号21aで示している。セル21aは,シフトレジスタの最も後尾のものとして図示されているが,シフトレジスタのどの位置のものであってもよいが,全シフトレジスタにおいて同じ位置のものであることが必要である。これらのセル21aに格納された画像データがs-18〜s0〜s18で示されているが,これらの画像データはラインセンサ11から得られる一次元の画像データを縦方向(搬送方向に対応する方向)に並べて二次元に配列された画像データを構成したときに,縦方向に一直線状に並ぶものである(図6を参照)。 For ease of explanation, one cell is taken out from each of the shift registers R1 to R37 and indicated by reference numeral 21a. Although the cell 21a is shown as the rearmost one of the shift register, it may be located at any position of the shift register, but it needs to be at the same position in all shift registers. These image data stored in the cell 21a is shown in a s -18 ~s 0 ~s 18, these image data are the image data of one-dimensional obtained from the line sensor 11 in the longitudinal direction (conveying direction When image data arranged two-dimensionally in a corresponding direction is configured, they are arranged in a straight line in the vertical direction (see FIG. 6).

これらのシフト・レジスタR1〜R37のセル21aの画像データが取出され,取出された37個の画像データs-18〜s18 のそれぞれ(画素データ)によって表される輝度値と,選択されたフィルタ係数Fの対応する位置の係数値f-18〜f18 (37個の係数値)のそれぞれとが乗算される(乗算回路を符号22で示す)。 Image data of the cell 21a of the shift register R1~R37 is removed, and the luminance values represented by the respective (pixel data) of 37 pieces of the image data s -18 ~s 18 taken out, the selected filter Each of the coefficient values f -18 to f 18 (37 coefficient values) at the position corresponding to the coefficient F is multiplied (a multiplication circuit is indicated by reference numeral 22).

37個の乗算結果は,加算回路23によって加算される。   The 37 multiplication results are added by the adder circuit 23.

また,選択されたフィルタ係数Fの各係数値f-18〜f18 は加算回路24によって加算される。 Further, the coefficient values f -18 to f 18 of the selected filter coefficient F are added by the adding circuit 24.

加算回路23によって得られた加算値(画素データの輝度値とフィルタ係数の各係数値との乗算結果の加算値)が,加算回路24によって得られた加算値(フィルタ係数の各係数値の加算値)によって,除算回路25において除算される。この結果が,画素データs0 についてフィルタリングされた後の画素データ(加重平均値S0)である。 The addition value obtained by the addition circuit 23 (addition value obtained by multiplying the luminance value of the pixel data and each coefficient value of the filter coefficient) is the addition value obtained by the addition circuit 24 (addition of each coefficient value of the filter coefficient). The value is divided by the divider circuit 25. This result is the pixel data (weighted average value S 0 ) after filtering the pixel data s 0 .

図6に示すように,ラインセンサ11が2048画素のものであれば各ラインの画像データには2048個の画素データが含まれており,37ライン分L-18〜L18の画像データs-18〜s18のうちの中央のラインL0の画素データs0について,上述の加重平均処理が行われる。シフトレジスタR1〜R37の画像データは順次シフトされていくから,最終的には,すべての画像データについてのフィルタリングが行われることになる。 As shown in FIG. 6, if the line sensor 11 has 2048 pixels, the image data of each line includes 2048 pixel data, and the image data s of L −18 to L 18 for 37 lines. The above-described weighted average processing is performed on the pixel data s 0 of the center line L 0 among 18 to s 18 . Since the image data in the shift registers R1 to R37 are sequentially shifted, finally, filtering for all the image data is performed.

フィルタ回路15におけるフィルタリング(加重平均処理)によって,フィルタ回路15に入力した画像データが,搬送速度に応じてぼかされる。フィルタリングされた画像データは画像サイズを同一にするための間引き処理を経てメモリ18において順次蓄えられ,2次元画像データが構成される。フィルタリングされた画像データによって構成される2次元画像データが画像処理(印刷物Wの検査)に用いられる。   By the filtering (weighted average processing) in the filter circuit 15, the image data input to the filter circuit 15 is blurred according to the conveyance speed. The filtered image data is sequentially stored in the memory 18 through a thinning process for making the image size the same, thereby forming two-dimensional image data. Two-dimensional image data constituted by filtered image data is used for image processing (inspection of the printed matter W).

ラインセンサ11から出力される画像データには,印刷物Wの搬送速度が速いほど印刷物Wの搬送方向に対応する方向に程度の大きい光学的ぼかしが生じる。他方,ラインセンサ11から出力された画像データには,フィルタ回路15において印刷物Wの搬送速度が遅いときほど程度の大きいぼかしが生じさせられる。すなわち,画像補正装置7からは,光学的に生じるぼかしとフィルタリングによって生じるぼかしの組合せのぼかしをもつ画像データが出力される。上述のように,印刷物Wの搬送方向に対応する方向の光学的なぼかしの程度は印刷物Wの搬送速度が速いほど大きく,逆にフィルタ回路15において生じる印刷物Wの搬送方向に対応する方向のぼかしの程度は印刷物Wの搬送速度が遅いほど大きい。これにより,画像補正装置7から出力される画像データの搬送方向に対応する方向のぼかしの程度を,印刷物Wの搬送速度に関わらず,同程度にすることができる。   In the image data output from the line sensor 11, the higher the transport speed of the printed material W, the greater the optical blur in the direction corresponding to the transport direction of the printed material W. On the other hand, the image data output from the line sensor 11 is more blurred as the transport speed of the printed material W is slower in the filter circuit 15. That is, the image correction device 7 outputs image data having a blur of a combination of a blur generated optically and a blur generated by filtering. As described above, the degree of optical blurring in the direction corresponding to the conveyance direction of the printed matter W increases as the conveyance speed of the printed matter W increases, and conversely, the blurring in the direction corresponding to the conveyance direction of the printed matter W generated in the filter circuit 15 occurs. Is larger as the conveyance speed of the printed material W is lower. Thereby, the degree of blurring in the direction corresponding to the conveyance direction of the image data output from the image correction device 7 can be made the same regardless of the conveyance speed of the printed matter W.

上述の画像補正処理(フィルタリング処理)は,画像補正装置7(カウンタ13,遅延回路14,フィルタ回路15,フィルタ係数選択設定回路16,フィルタ係数テーブル17およびメモリ18)によってハードウエアで実現することもできるし,以下に示すように,プログラムされたコンピュータにおける処理(ソフトウエア処理)によっても実現することもできる。   The above-described image correction processing (filtering processing) may be realized by hardware by the image correction device 7 (counter 13, delay circuit 14, filter circuit 15, filter coefficient selection setting circuit 16, filter coefficient table 17 and memory 18). It can also be realized by processing (software processing) in a programmed computer as shown below.

図7は,上述の画像補正処理をプログラムされたコンピュータ(処理装置42)を用いて実現する場合の,処理装置42を含む検査システムのハードウエア構成を表すブロック図である。図8,図9,図10および図11に記載のフローチャートを参照して,上述の画像補正処理をプログラムされたコンピュータ(処理装置42)を用いて実現する場合を説明する。   FIG. 7 is a block diagram showing a hardware configuration of an inspection system including the processing device 42 when the above-described image correction processing is realized using a programmed computer (processing device 42). With reference to the flowcharts shown in FIGS. 8, 9, 10 and 11, a case will be described in which the above-described image correction processing is realized using a programmed computer (processing device 42).

図7においては,上述したものと同一物には同一の符号を付して説明を省略する。撮像装置1の駆動回路12の走査開始パルスSとロータリ・エンコーダ6のエンコーダ・パルスは入力ポート41を経て処理装置42に入力する。処理装置42内のカウンタ43はカウンタ13と同じ動作を行い,カウント値を出力する。このカウンタ43はハードウエア回路でも,後述するようにソフトウエアで実現してもどちらでもよい。また,遅延回路14から出力される37個の画像データは入力ポート41を経て処理装置42に順次入力する。処理装置42にはさらに,図5に示すものと同じ内容のフィルタ係数テーブル44を備えている(処理装置42の内部メモリに格納されている)。さらに処理装置42は画像メモリ45を備えている。   In FIG. 7, the same components as those described above are denoted by the same reference numerals, and description thereof is omitted. The scanning start pulse S of the drive circuit 12 of the imaging device 1 and the encoder pulse of the rotary encoder 6 are input to the processing device 42 via the input port 41. The counter 43 in the processing device 42 performs the same operation as the counter 13 and outputs a count value. The counter 43 may be a hardware circuit or may be realized by software as will be described later. The 37 pieces of image data output from the delay circuit 14 are sequentially input to the processing device 42 via the input port 41. The processing device 42 further includes a filter coefficient table 44 having the same content as that shown in FIG. 5 (stored in the internal memory of the processing device 42). Further, the processing device 42 includes an image memory 45.

図8に示すように,処理装置42では,フィルタ係数選択設定処理50(図9,図10)とフィルタリング処理60(図11)とが並列的に行われる。   As shown in FIG. 8, in the processing device 42, the filter coefficient selection setting process 50 (FIGS. 9 and 10) and the filtering process 60 (FIG. 11) are performed in parallel.

フィルタ係数選択設定処理50(図9,図10)では,走査開始パルスSが入力すると(図9,ステップ51でYES ),カウンタ43は走査開始パルスSの数をカウントする(ステップ52)。走査開始パルスSがカウンタ43に入力するたびに,カウンタ43のカウント値CNTがインクリメントされる。   In the filter coefficient selection setting process 50 (FIGS. 9 and 10), when the scanning start pulse S is input (YES in step 51 in FIG. 9), the counter 43 counts the number of scanning start pulses S (step 52). Each time the scan start pulse S is input to the counter 43, the count value CNT of the counter 43 is incremented.

エンコーダ・パルスが入力すると(ステップ53でYES ),前回のエンコーダ・パルスの入力から次のエンコーダ・パルスの入力までに間にカウントされたカウント値CNTが処理装置42の内部メモリのワーク・エリア(図示略)に取込まれる(ステップ54)。カウンタ43では,カウント値CNTがクリアされ(ステップ55),カウンタ43は走査開始パルスSを再び零からカウントする。   When an encoder pulse is input (YES in step 53), the count value CNT counted between the previous encoder pulse input and the next encoder pulse input is the work area (in the internal memory of the processing unit 42) ( (Step 54). In the counter 43, the count value CNT is cleared (step 55), and the counter 43 counts the scanning start pulse S from zero again.

ワーク・エリアに取込まれたCNT値に応じたフィルタ係数,すなわち印刷物Wの搬送速度に応じたフィルタ係数が,処理装置41の記憶装置に記憶されているフィルタ係数テーブル44の中から読出される(ステップ56)。読出されたフィルタ係数が,フィルタリング処理(図11)に用いるべきものとして設定される(ステップ27)。   The filter coefficient corresponding to the CNT value taken into the work area, that is, the filter coefficient corresponding to the transport speed of the printed material W is read out from the filter coefficient table 44 stored in the storage device of the processing device 41. (Step 56). The read filter coefficient is set to be used for the filtering process (FIG. 11) (step 27).

フィルタリング処理(ステップ60,図11)では,入力ポート41を介して処理装置42に入力する37個の画像データが用いられる。   In the filtering process (step 60, FIG. 11), 37 pieces of image data input to the processing device 42 via the input port 41 are used.

処理装置42に入力する37個の画像データがワーク・エリアに取込まれる(ステップ61)。   37 pieces of image data to be input to the processing device 42 are taken into the work area (step 61).

上述のフィルタ係数選択設定処理(図9,図10)によって設定されたフィルタ係数と,搬送方向に対応する方向に連続する37画素分の画像データを用いて,その中央の画素の画素データs0 について加重平均処理(フィルタリング処理)が行われる(ステップ62)。加重平均された画素データS0がメモリ45に書き込まれる(ステップ63)。 Using the filter coefficient set by the above-described filter coefficient selection setting process (FIGS. 9 and 10) and image data for 37 pixels continuous in the direction corresponding to the conveyance direction, pixel data s 0 of the center pixel is used. A weighted average process (filtering process) is performed for (Step 62). The weighted average pixel data S 0 is written into the memory 45 (step 63).

上記のフィルタリング処理は,順次入力する37画素分の画像データを用いて順次繰り返して実行され,最終的には,検査すべき画像を表す2次元的に配列された画像データのすべてについて行われることになる。   The above filtering process is repeatedly executed sequentially using the image data for 37 pixels that are sequentially input, and is finally performed for all of the two-dimensionally arranged image data representing the image to be inspected. become.

上述した実施例では,カウンタ13によってカウントされたカウント値に基づいて(すなわち,印刷物Wの搬送速度の計測値に基づいて),フィルタリング処理に用いるべきフィルタ係数を選択しているが,輪転印刷機および搬送装置(または搬送制御装置)において設定される印刷物Wの搬送速度に基づいて,フィルタリングに用いるべきフィルタ係数を選択するようにしてもよい。   In the above-described embodiment, the filter coefficient to be used for the filtering process is selected based on the count value counted by the counter 13 (that is, based on the measured value of the conveyance speed of the printed material W). The filter coefficient to be used for filtering may be selected based on the conveyance speed of the printed material W set in the conveyance device (or the conveyance control device).

ラインセンサ11は,赤(R),緑(G)および青(R)の3色の画像データを出力するカラー・ラインセンサであってもよい。この場合には,カラー・ラインセンサから出力される3色の画像データのそれぞれについて,上述の画像補正処理(フィルタリング)が行われる。   The line sensor 11 may be a color line sensor that outputs image data of three colors of red (R), green (G), and blue (R). In this case, the above-described image correction processing (filtering) is performed on each of the three color image data output from the color / line sensor.

印刷物の検査装置を概略的に示す斜視図である。It is a perspective view which shows schematically the inspection apparatus of printed matter. 撮像装置および画像補正装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of an imaging device and an image correction apparatus. 走査開始パルスSとエンコーダ・パルスとの関係を示す。The relationship between the scanning start pulse S and the encoder pulse is shown. フィルタ回路における処理およびフィルタ回路の詳細な電気的構成を示す。The process in a filter circuit and the detailed electrical configuration of the filter circuit are shown. フィルタ係数テーブルの内容を示す。The contents of the filter coefficient table are shown. 加重平均処理の対象を示す。Indicates the target of weighted average processing. 画像補正処理を行うコンピュータの電気的構成を示すブロック図である。And FIG. 11 is a block diagram illustrating an electrical configuration of a computer that performs image correction processing. 画像補正処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of an image correction process. カウンタ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a counter process. フィルタ係数選択設定処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a filter coefficient selection setting process. フィルタリング処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a filtering process.

符号の説明Explanation of symbols

1 撮像装置
6 ロータリ・エンコーダ
7 画像補正装置
12 駆動回路
13 カウンタ
14 遅延回路
15 フィルタ回路
15a,15b 加算回路
15c 除算回路
16 フィルタ係数選択設定回路
17,44 フィルタ係数テーブル
42 処理装置
1 Imaging device 6 Rotary encoder 7 Image correction device
12 Drive circuit
13 counter
14 Delay circuit
15 Filter circuit
15a, 15b Adder circuit
15c Division circuit
16 Filter coefficient selection setting circuit
17, 44 Filter coefficient table
42 Processing equipment

Claims (2)

印刷物の搬送速度が遅いほどぼかしの程度が大きくなるように画像データをフィルタリングするための複数のフィルタ係数を,異なる複数の搬送速度に対応して記憶したフィルタ係数記憶手段,
上記印刷物の搬送速度を決定する速度決定手段,
上記フィルタ係数記憶手段に記憶されている複数のフィルタ係数の中から,上記速度決定手段によって決定された印刷物の搬送速度に対応する一のフィルタ係数を選択するフィルタ係数選択手段,および
搬送されている印刷物を撮像する撮像装置から出力される単位領域の画像データのそれぞれについて,各単位領域を中心として搬送方向に対応する方向に並ぶ複数の単位領域の画像データを対象として,上記フィルタ係数選択手段によって選択されたフィルタ係数を用いてフィルタリングを行うフィルタリング手段,
を備えた画像補正装置。
Filter coefficient storage means for storing a plurality of filter coefficients for filtering image data so as to increase the degree of blurring as the conveyance speed of the printed material is slow, corresponding to a plurality of different conveyance speeds;
Speed determining means for determining the transport speed of the printed matter;
A filter coefficient selection means for selecting one filter coefficient corresponding to the transport speed of the printed matter determined by the speed determination means from the plurality of filter coefficients stored in the filter coefficient storage means; With respect to each of the unit area image data output from the imaging device that images the printed matter, the filter coefficient selection unit targets the image data of a plurality of unit areas arranged in the direction corresponding to the transport direction centering on each unit area. Filtering means for performing filtering using the selected filter coefficient;
An image correction apparatus comprising:
印刷物の搬送速度を決定し,
印刷物の搬送速度が遅いほどぼかしの程度が大きくなるように画像データをフィルタリングするための複数のフィルタ係数の中から,決定した印刷物の搬送速度に対応する一のフィルタ係数を選択し,
搬送されている印刷物を撮像する撮像装置から出力される単位領域の画像データのそれぞれについて,各単位領域を中心として搬送方向に対応する方向に並ぶ複数の単位領域の画像データを対象として,選択したフィルタ係数を用いてフィルタリングを行う,
画像補正方法。
Determine the transport speed of the printed material,
Select one filter coefficient corresponding to the determined transport speed of the printed material from the multiple filter coefficients for filtering the image data so that the degree of blurring increases as the transport speed of the printed material decreases.
For each unit area image data output from the imaging device that captures the printed matter being conveyed, the image data of a plurality of unit areas arranged in the direction corresponding to the conveyance direction with each unit area as the center is selected. Filtering using filter coefficients,
Image correction method.
JP2003329153A 2003-09-19 2003-09-19 Image correction apparatus and method Expired - Fee Related JP3967307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003329153A JP3967307B2 (en) 2003-09-19 2003-09-19 Image correction apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003329153A JP3967307B2 (en) 2003-09-19 2003-09-19 Image correction apparatus and method

Publications (2)

Publication Number Publication Date
JP2005092821A JP2005092821A (en) 2005-04-07
JP3967307B2 true JP3967307B2 (en) 2007-08-29

Family

ID=34458475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003329153A Expired - Fee Related JP3967307B2 (en) 2003-09-19 2003-09-19 Image correction apparatus and method

Country Status (1)

Country Link
JP (1) JP3967307B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5545997B2 (en) * 2010-09-13 2014-07-09 富士フイルム株式会社 Image recording apparatus and method
JP7070046B2 (en) * 2018-04-26 2022-05-18 株式会社リコー Color inspection device, image forming device, color inspection method and program
JP7084841B2 (en) * 2018-10-12 2022-06-15 住友重機械工業株式会社 Control device, image information acquisition device system, image pickup control system and printing system

Also Published As

Publication number Publication date
JP2005092821A (en) 2005-04-07

Similar Documents

Publication Publication Date Title
JP7350637B2 (en) High-speed image distortion correction for image inspection
JP2002005846A (en) Defect inspecting apparatus
JP3967307B2 (en) Image correction apparatus and method
JPH0593973A (en) Method for determining exposure for photograph printing
JP2010078485A (en) Method for inspecting printed matter
JPS60232542A (en) Display device for photographic picture information
JPS60154244A (en) Photographic image information detector
JP2005091331A (en) Inspection device and method of printed matter
US9531936B2 (en) Camera system, colour measuring system, and offset printing press
JP2621690B2 (en) Printing defect inspection equipment
JP4021394B2 (en) Image correction apparatus and method
JP3939466B2 (en) Image processing apparatus, method, and recording medium
JPH08304932A (en) Film image detecting device and method therefor
JP2015059854A (en) Defect inspection method and defect inspection device
JP2005091330A (en) Color tone failure inspection device and method, and slight dirt inspection device and method
JP2876999B2 (en) Printing defect inspection equipment
JP3997486B2 (en) Image processing apparatus, method, and program
JP3096868B2 (en) Film screen size detection method and device
JP2581879B2 (en) Magneto-optical flaw detector
JP7413917B2 (en) Image inspection device
JP2004117150A (en) Pattern defect inspection device and pattern defect inspection method
JP2002357559A (en) Can outer shape-inspecting apparatus using three-plate- type ccd camera
JPS60177337A (en) Method for determining exposure in photographic printing
JP3400859B2 (en) Defect pattern detection method and device
JPH1049680A (en) Method for inspecting printing pattern defect of printed matter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070517

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070529

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070530

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees