JPH0773286A - Image processor - Google Patents
Image processorInfo
- Publication number
- JPH0773286A JPH0773286A JP5162904A JP16290493A JPH0773286A JP H0773286 A JPH0773286 A JP H0773286A JP 5162904 A JP5162904 A JP 5162904A JP 16290493 A JP16290493 A JP 16290493A JP H0773286 A JPH0773286 A JP H0773286A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- processing
- unit
- bus
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 185
- 238000012805 post-processing Methods 0.000 claims abstract description 68
- 230000015654 memory Effects 0.000 abstract description 76
- 238000006243 chemical reaction Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000009499 grossing Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 238000007689 inspection Methods 0.000 description 3
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000011179 visual inspection Methods 0.000 description 2
- 102100035353 Cyclin-dependent kinase 2-associated protein 1 Human genes 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像入力装置によって
撮像して得られた画像データをデータ処理する画像処理
装置に係わり、特に、画像処理を複数回行う場合に時間
の短縮が可能な画像処理装置と、画像処理を複数の処理
手段により分けて画像処理させる場合に、処理手段の選
択およびその順番の変更が簡便にできる画像処理装置
と、一つの画像データを複数の画像処理手段に供給する
画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing image data obtained by picking up an image by an image input apparatus, and more particularly to an image capable of shortening the time when the image processing is performed a plurality of times. Supplying one image data to a plurality of image processing means, and a processing device and an image processing apparatus capable of easily selecting the processing means and changing the order thereof when the image processing is performed by a plurality of processing means separately Image processing apparatus.
【0002】[0002]
【従来の技術】周知のように、近年、生産物等の外観検
査は人の目の替わりにCCDカメラによって得られたデ
ータを画像処理装置によって画像処理することによって
行われている。2. Description of the Related Art As is well known, in recent years, appearance inspections of products and the like have been performed by subjecting data obtained by a CCD camera to image processing by an image processing device instead of human eyes.
【0003】従来の画像処理装置100は、図8に示す
ように、CCDカメラ103から得られる画像データを
一時記憶するメモリ105aと、メモリ105aから供
給される画像データに対して演算等の処理を行う画像処
理部107と、画像処理後のデータを一時記憶するメモ
リ105bとから構成されている。As shown in FIG. 8, the conventional image processing apparatus 100 has a memory 105a for temporarily storing image data obtained from the CCD camera 103, and a process such as calculation for the image data supplied from the memory 105a. The image processing unit 107 is configured to perform the image processing, and the memory 105b that temporarily stores the image-processed data.
【0004】この画像処理装置100は、CCDカメラ
103から得られる画像データを一時メモリ105aに
記憶し、画像処理部107に対してCCDカメラ103
から画像データが供給されるスピードと同じ速さで画像
データを供給する。The image processing apparatus 100 stores the image data obtained from the CCD camera 103 in the temporary memory 105a, and the CCD camera 103 is stored in the image processing unit 107.
The image data is supplied at the same speed as the image data is supplied from.
【0005】また、この画像処理装置100を用いて複
数回画像処理する、例えば、画像データの平滑化を二回
行う場合、まず、メモリ105aから画像処理部107
に画像データを供給し、画像処理部107で一回目の平
滑化を行い、その結果をメモリ105bに記憶する。そ
して、メモリ105bから画像処理部107に画像デー
タを供給し、画像処理部107で二回目の平滑化を行
い、その結果をメモリ105aに記憶する。When image processing is performed a plurality of times using the image processing apparatus 100, for example, when image data is smoothed twice, first, the memory 105a to the image processing unit 107 are processed.
The image processing unit 107 performs the first smoothing, and stores the result in the memory 105b. Then, the image data is supplied from the memory 105b to the image processing unit 107, the image processing unit 107 performs the second smoothing, and the result is stored in the memory 105a.
【0006】また、図9に示すように画像処理部107
を直列に複数個設けて、複数の処理を順番に行うパイプ
ライン型の画像処理装置110も知られている。Further, as shown in FIG. 9, the image processing unit 107
There is also known a pipeline type image processing apparatus 110 in which a plurality of image processing devices are provided in series and a plurality of processes are sequentially performed.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、図8に
示す画像処理装置100では、複数回の画像処理を行う
場合、その回数分メモリ105と画像処理部107の間
でデータの送受信を行う必要があるため、画像処理のス
ピードが遅くなるという問題がある。However, in the image processing apparatus 100 shown in FIG. 8, when performing image processing a plurality of times, it is necessary to transmit and receive data between the memory 105 and the image processing unit 107 by the number of times. Therefore, there is a problem that the speed of image processing becomes slow.
【0008】また、図9に示す画像処理装置110で
は、画像処理部107を直列に複数個持たせ、画像処理
をその順番に行うので、図8の画像処理装置100に比
べて画像処理スピードは速くなるが、各画像処理部10
7は、処理機能が決まっているため(例えば画像処理部
107aは平滑化、画像処理部107bは孤立点除去、
画像処理部107cは細線化等)、順番を変える場合や
画像処理部107a、107cの処理のみ行う場合、そ
の都度画像処理装置110の構成を変更しなくてはなら
ず、手間が掛かるという問題がある。そのため、各画像
処理部107で独立にハードウェアを持たせてそのハー
ドウェアを組み替えるという方法もあるが、ソフトウェ
アの制御が複雑になるばかりか、ハードウェアの規模が
大きくなるという問題がある。Further, in the image processing apparatus 110 shown in FIG. 9, a plurality of image processing units 107 are serially provided and the image processing is performed in that order. Therefore, the image processing speed is higher than that of the image processing apparatus 100 in FIG. It becomes faster, but each image processing unit 10
7 has a predetermined processing function (for example, the image processing unit 107a smoothes, the image processing unit 107b removes isolated points,
If the order is changed, or if only the processing of the image processing units 107a and 107c is performed, the configuration of the image processing apparatus 110 has to be changed each time, which is troublesome. is there. Therefore, there is also a method in which each image processing unit 107 independently has hardware and rearranges the hardware, but there is a problem that not only the control of software becomes complicated but also the scale of hardware becomes large.
【0009】さらに、図8、図9に示す画像処理装置1
00,110で一度に複数の外観検査を行う、例えば、
ゴムリングの外径とカケを検査する場合、外径検査用と
カケ検査用の二つのCCDカメラ103と、それらによ
って得られた画像データを画像処理する二つの画像処理
装置100(または110)が必要であり、外観検査に
用いる装置の規模が増大するという問題がある。Further, the image processing apparatus 1 shown in FIGS.
00, 110 multiple visual inspections at once, for example,
When inspecting the outer diameter and the chip of the rubber ring, the two CCD cameras 103 for the outer diameter inspection and the chip inspection, and the two image processing devices 100 (or 110) for image-processing the image data obtained by them are used. It is necessary and there is a problem that the scale of the apparatus used for the visual inspection increases.
【0010】本発明は上記事情に鑑みて成されたもので
あり、その目的は、画像処理を複数の画像処理部によっ
て複数回行う場合、動作させる画像処理部の選択および
その順番の変更が簡便にでき、かつ、画像処理に掛かる
時間を短縮させることができ、さらに、一つの画像デー
タを同時に複数の画像処理手段に供給することが可能な
画像処理装置を提供することにある。The present invention has been made in view of the above circumstances, and an object thereof is to easily select an image processing unit to be operated and change its order when image processing is performed a plurality of times by a plurality of image processing units. It is an object of the present invention to provide an image processing apparatus capable of reducing the time required for image processing, and further capable of supplying one image data to a plurality of image processing means at the same time.
【0011】[0011]
【課題を解決するための手段】上記の目的を達成するた
めに本発明は、撮像手段から供給される画像データと、
画像処理手段によって画像処理された画像データを一時
保持する記憶手段と、前記記憶手段に画像データを保持
する場合、前記撮像手段によって得られた画像データの
ときは、撮像手段の画像データ取込み周期と同期して行
い、前記画像処理手段によって画像処理後の画像データ
のときは、前記撮像手段の画像データ取込み周期より短
い周期で行う画像データ入力手段と、前記記憶手段から
画像データを取出す場合、前記撮像手段の画像データ取
込み周期より短い周期で行う画像データ出力手段とを具
備することを特徴としている。In order to achieve the above object, the present invention provides image data supplied from an image pickup means,
When the image data obtained by the image pickup means is stored when the image data obtained by the image pickup means is stored in the storage means, the storage means temporarily holds the image data subjected to the image processing by the image processing means, and the image data acquisition cycle of the image pickup means. When the image data is image data after being image-processed by the image processing means in synchronism with each other, when the image data is input from the image data input means and the storage means, the image data input means performs the image data in a cycle shorter than the image data acquisition cycle of the imaging means The image data output means performs the operation in a cycle shorter than the image data acquisition cycle of the imaging means.
【0012】また、前記画像データ入力手段は、前記記
憶手段に画像データを保持する周期を選択可能で複数持
ち、前記画像データ出力手段は、前記記憶手段から画像
データを取出す周期を選択可能で複数持つことを特徴と
している。Further, the image data input means has a plurality of selectable cycles for holding the image data in the storage means, and the image data output means has a plurality of selectable cycles for extracting the image data from the storage means. It is characterized by having.
【0013】さらに、撮像手段によって得られた画像デ
ータを一時保持する記憶手段を備える画像入力手段と、
この画像入力手段から供給された画像データを平滑化、
孤立点除去、細線化、二値化等の処理を各々独立に行う
複数の処理手段からなる画像処理手段とを備える画像処
理装置において、前記各処理手段を動作させるか否かを
個別に切り換える動作設定手段と、前記処理手段によっ
て画像処理されたデータを前記画像入力手段に帰還させ
るか否かを切換える帰還切換え手段と、前記帰還切換え
手段によって画像入力手段に帰還された画像データを放
置または再度後処理手段に供給するかを選択する選択手
段とを具備することを特徴としている。Further, an image inputting means having a storage means for temporarily holding the image data obtained by the image pickup means,
Smoothing the image data supplied from this image input means,
In an image processing apparatus provided with an image processing means composed of a plurality of processing means for independently performing processing such as isolated point removal, thinning, and binarization, an operation of individually switching whether or not to operate each of the processing means Setting means, feedback switching means for switching whether or not the data image-processed by the processing means is fed back to the image input means, and the image data fed back to the image input means by the feedback switching means is left behind or again. It is characterized by comprising a selecting means for selecting whether to supply to the processing means.
【0014】さらに、撮像手段によって得られた画像デ
ータを一時保持する記憶手段を備える複数の画像入力手
段と、この画像入力手段によって得られた画像データを
複数または一つの処理手段によって画像処理する複数の
画像処理手段とを備える画像処理装置において、前記各
画像入力手段によって得られた画像データを対応する前
記各画像処理手段に対し直接出力可能、かつ、前記各画
像処理手段によって処理された画像データを対応する前
記各画像入力手段に対し直接出力可能に各々接続する直
結画像バスと、各画像入力手段によって得られた画像デ
ータを同時に各画像処理手段に対し出力可能、かつ、前
記各画像処理手段によって画像処理された画像データを
同時に複数の画像入力手段に対し出力可能に接続する共
通画像バスと、前記各画像入力手段に設けられ、その画
像入力手段から画像処理手段に画像データを出力すると
き前記直結画像バス、共通画像バスのいずれのバスを用
いるかを選択する出力バス選択部と、前記各画像処理手
段に設けられ、その画像処理手段から画像入力手段に画
像データを出力するとき前記直結画像バス、共通画像バ
スのいずれのバスを用いるかを選択する帰還出力バス選
択部とを具備することを特徴としている。Further, a plurality of image input means having a storage means for temporarily holding the image data obtained by the image pickup means, and a plurality of image processing means for performing image processing on the image data obtained by the image input means by a plurality of or one processing means. In the image processing device, the image data obtained by the image input means can be directly output to the corresponding image processing means, and the image data processed by the image processing means. And a direct connection image bus connected to each corresponding image input means so as to be directly outputable, and image data obtained by each image input means can be simultaneously output to each image processing means, and each image processing means A common image bus for connecting the image data image-processed by the image output means to a plurality of image input means at the same time; An output bus selection unit provided in each image input unit for selecting which of the direct connection image bus and the common image bus is used when image data is output from the image input unit to the image processing unit; A feedback output bus selection unit provided in the processing unit and selecting which of the direct image bus and the common image bus to use when outputting image data from the image processing unit to the image input unit. It has a feature.
【0015】[0015]
【作用】上記構成によれば、画像データ入力手段は、画
像データを一時保持する記憶手段に画像データを保持す
る場合、前記撮像手段によって得られた画像データのと
きは撮像手段の画像データ取込み周期と同期して行い、
前記画像処理手段によって画像処理後の画像データのと
きは前記撮像手段の画像データ取込み周期より短い周期
で行う。そして画像データ出力手段は、前記記憶手段か
ら画像データを取出す場合、前記撮像手段の画像データ
取込み周期より短い周期で行う。According to the above construction, when the image data input means holds the image data in the storage means for temporarily holding the image data, when the image data is obtained by the image pickup means, the image data fetching cycle of the image pickup means Done in sync with
When the image data is image-processed by the image processing means, the image data is taken in a cycle shorter than the image data acquisition cycle of the image pickup means. Then, the image data output means, when taking out the image data from the storage means, carries out a cycle shorter than the image data fetching cycle of the imaging means.
【0016】また、前記画像データ入力手段は、前記記
憶手段に画像データを保持する周期を選択可能で複数持
ち、前記画像データ出力手段は、前記記憶手段から画像
データを取出す周期を選択可能で複数持つ。Further, the image data input means has a plurality of selectable cycles for holding the image data in the storage means, and the image data output means can select a plurality of cycles for taking out the image data from the storage means. To have.
【0017】さらに、撮像手段によって得られた画像デ
ータを一時保持する記憶手段を備える画像入力手段と、
この画像入力手段から供給された画像データを平滑化、
孤立点除去、細線化、二値化等の処理を各々独立に行う
複数の処理手段からなる画像処理手段とを備える画像処
理装置において、動作設定手段により、前記各処理手段
を動作させるか否かを個別に切り換え、帰還切換え手段
により、前記処理手段によって画像処理されたデータを
前記画像入力手段に帰還させるか否かを切換える。そし
て、選択手段により、前記帰還切換え手段によって画像
入力手段に帰還された画像データを放置または再度後処
理手段に供給するかを選択する。Further, image input means having a storage means for temporarily holding the image data obtained by the image pickup means,
Smoothing the image data supplied from this image input means,
In an image processing apparatus having an image processing means including a plurality of processing means for independently performing processing such as isolated point removal, thinning, and binarization, whether or not each of the processing means is operated by the operation setting means Are individually switched, and whether or not the data subjected to the image processing by the processing means is fed back to the image input means is switched by the feedback switching means. Then, the selecting means selects whether the image data returned to the image input means by the feedback switching means is left as it is or is supplied again to the post-processing means.
【0018】さらに、撮像手段によって得られた画像デ
ータを一時保持する記憶手段を備える複数の画像入力手
段と、この画像入力手段によって得られた画像データを
複数または一つの処理手段によって画像処理する複数の
画像処理手段とを備える画像処理装置において、直結画
像バスは、各画像入力手段とそれに対応する画像処理手
段を各々個別に接続し、共通画像バスは、各画像入力手
段と各画像処理手段を一つのバスで接続する。そして、
出力バス選択部により、画像入力手段から画像処理手段
に画像データを出力するとき前記直結画像バス、共通画
像バスのいずれのバスを用いるかを選択し、帰還出力バ
ス選択部により、画像処理手段から画像入力手段に画像
データを出力するとき前記直結画像バス、共通画像バス
のいずれのバスを用いるかを選択する。Furthermore, a plurality of image input means having a storage means for temporarily holding the image data obtained by the image pickup means, and a plurality of image processing means for performing image processing on the image data obtained by the image input means by a plurality of or one processing means. In the image processing apparatus including the image processing means of, the direct connection image bus individually connects each image input means and the corresponding image processing means, and the common image bus connects each image input means and each image processing means. Connect with one bus. And
The output bus selection unit selects which of the direct connection image bus and the common image bus is used when outputting image data from the image input unit to the image processing unit, and the feedback output bus selection unit selects the image processing unit from the image processing unit. When outputting image data to the image input means, it is selected which of the direct connection image bus and the common image bus is used.
【0019】[0019]
【実施例】図1は、本発明の画像処理装置の一実施例を
示す構成図である。1 is a block diagram showing an embodiment of an image processing apparatus of the present invention.
【0020】図1に示すように本実施例の画像処理装置
1は、CCDカメラ3(撮像手段)によって得られた画
像データを一時記憶する複数の画像入力カード5(画像
入力手段)と、画像入力カード5に一時記憶されている
画像データを画像処理する複数の後処理カード7(画像
処理手段)と、画像入力カード5と、後処理カード7を
制御する制御コンピュータ9(図示せず)と、各画像入
力カード5とそれに対応する各後処理カード7を各々個
別に接続する画像入力カードバス11(直結画像バス)
と、各画像入力カード5と各後処理カード7を一つのバ
スで接続する共通画像バス13と、から構成されてい
る。As shown in FIG. 1, the image processing apparatus 1 of this embodiment includes a plurality of image input cards 5 (image input means) for temporarily storing image data obtained by the CCD camera 3 (image pickup means), and an image. A plurality of post-processing cards 7 (image processing means) for image-processing the image data temporarily stored in the input card 5, an image input card 5, and a control computer 9 (not shown) for controlling the post-processing card 7. , An image input card bus 11 (directly connected image bus) for individually connecting each image input card 5 and each corresponding post-processing card 7
And a common image bus 13 that connects each image input card 5 and each post-processing card 7 by one bus.
【0021】画像入力カード5は、A/D変換部15
と、輝度補正部17と、射影演算部19と、輝度ヒスト
グラム演算部21と、フレームメモリ23(記憶手段)
と、フレームメモリ切換え部25(選択手段)と、輝度
変換部39と、出力バス選択部41(出力バス選択手
段)と、帰還入力選択部43と、ビデオRAM45と、
から構成されている。The image input card 5 includes an A / D converter 15
A brightness correction unit 17, a projection calculation unit 19, a brightness histogram calculation unit 21, and a frame memory 23 (storage means).
A frame memory switching section 25 (selection means), a luminance conversion section 39, an output bus selection section 41 (output bus selection means), a feedback input selection section 43, a video RAM 45,
It consists of
【0022】A/D変換部15は、CCDカメラ3によ
って得られた画像データをA/D変換する。The A / D converter 15 A / D converts the image data obtained by the CCD camera 3.
【0023】輝度補正部17は、A/D変換部15によ
ってA/D変換された画像データの輝度斑を補正する。The brightness correction unit 17 corrects the brightness unevenness of the image data A / D converted by the A / D conversion unit 15.
【0024】射影演算部19は、輝度補正部17によっ
て輝度補正された画像データを基にx方向、y方向それ
ぞれの輝度加算値を射影データとして求める。The projection calculation unit 19 obtains the brightness addition value in each of the x and y directions as projection data based on the image data whose brightness has been corrected by the brightness correction unit 17.
【0025】輝度ヒストグラム演算部21は、輝度補正
部17によって輝度補正された画像データを基に輝度ヒ
ストグラムを求める。The brightness histogram calculation section 21 obtains a brightness histogram based on the image data brightness-corrected by the brightness correction section 17.
【0026】フレームメモリ23は、輝度補正された画
像データおよび後処理カード7によって画像処理された
画像データを一時保持する。The frame memory 23 temporarily holds the image data whose brightness has been corrected and the image data which has been image-processed by the post-processing card 7.
【0027】フレームメモリ切換え部25は、図2に示
すように、フレームメモリ23に対して行われる画像デ
ータの保持あるいは取出しを制御するとともに、フレー
ムメモリ23に画像データを保持するとき、あるいは、
フレームメモリ23から画像データを取出すとき、フレ
ームメモリ23a,23bのいずれに対して行うかを制
御する制御レジスタ27と、CCDカメラ3の画像デー
タ出力周期と同期させ、1/30(sec) で全画素につい
て保持できるようにアドレスをカウントアップ、また
は、CCDカメラ3の画像データ出力周期の1/2、す
なわち1/60(sec) で全画素について保持できるよう
にアドレスをカウントアップする入力アドレスカウンタ
29(画像データ入力手段)と、CCDカメラ3の画像
データ出力周期の1/2、すなわち1/60(sec) で全
画素について取出せるようにアドレスをカウントアップ
する出力アドレスカウンタ31(画像データ出力手段)
と、各フレームメモリ23a,23b毎に設けられ、制
御レジスタ27の命令に従って、入力アドレスカウンタ
29と出力アドレスカウンタ31のいずれを用いるかを
選択するとともに、入力アドレスカウンタ29を選択す
るときは、その周期(全画素のアドレスを1/30また
は1/60(sec) でカウントアップ)も選択するアドレ
スカウンタセレクタ33と、各フレームメモリ23a,
23b毎に設けられ、制御レジスタ27の命令に従って
輝度補正部17から供給される画像データ、あるいは、
後処理カード7から帰還される画像データかを選択した
後、アドレスカウンタセレクタ33によって選択された
入力アドレスカウンタ29のカウントアップされるアド
レスに従ってフレームメモリ23に画像データを保持す
る入力セレクタ35(画像データ入力手段)と、制御レ
ジスタ27の命令に従ってデータを取出すフレームメモ
リ23を選択した後、出力アドレスカウンタ31のカウ
ントアップされるアドレスに従って画像データを取出す
出力セレクタ37(画像データ出力手段)と、入力セレ
クタ35、アドレスカウンタセレクタ33および出力セ
レクタ37に対し、制御レジスタ27からの命令を出力
する制御レジスタバス27Bと、から構成される。As shown in FIG. 2, the frame memory switching section 25 controls holding or taking out of image data to and from the frame memory 23, and when holding the image data in the frame memory 23, or
When the image data is fetched from the frame memory 23, the control register 27 for controlling which of the frame memories 23a and 23b is to be operated is synchronized with the image data output cycle of the CCD camera 3, and the total time is 1/30 (sec). An input address counter 29 that counts up the address so that it can be held for each pixel, or that counts up the address so that it can be held for all pixels at 1/2 of the image data output cycle of the CCD camera 3, that is, 1/60 (sec). (Image data input means) and an output address counter 31 (image data output means) that counts up the address so that all pixels can be taken out in 1/2 of the image data output cycle of the CCD camera 3, that is, 1/60 (sec). )
Is provided for each of the frame memories 23a and 23b, and which one of the input address counter 29 and the output address counter 31 is used is selected according to the instruction of the control register 27, and when the input address counter 29 is selected, An address counter selector 33 for selecting a cycle (counting up the addresses of all pixels at 1/30 or 1/60 (sec)) and each frame memory 23a,
Image data supplied from the brightness correction unit 17 according to an instruction of the control register 27, which is provided for each 23b, or
After selecting whether the image data is returned from the post-processing card 7, the input selector 35 (image data) which holds the image data in the frame memory 23 according to the counted up address of the input address counter 29 selected by the address counter selector 33. (Input means) and an output selector 37 (image data output means) for picking up image data according to the address counted up by the output address counter 31 after selecting the frame memory 23 for taking out data according to the instruction of the control register 27, and an input selector. 35, an address counter selector 33 and an output selector 37, and a control register bus 27B for outputting an instruction from the control register 27.
【0028】輝度変換部39は、フレームメモリ23に
記憶されている画像データを後処理カード7に供給する
とき、ルックアップテーブルを基に輝度変換して、二値
化や明るさの強調を行う。When supplying the image data stored in the frame memory 23 to the post-processing card 7, the brightness conversion section 39 performs brightness conversion based on a look-up table to perform binarization and brightness enhancement. .
【0029】出力バス選択部41は、輝度変換部39に
よって輝度変換された画像データを後処理カード7に供
給するとき、画像入力カードバス11と共通画像バス1
3のいずれを用いるかを選択する。The output bus selector 41 supplies the image input card bus 11 and the common image bus 1 when the image data whose brightness is converted by the brightness converter 39 is supplied to the post-processing card 7.
Which of the three is used is selected.
【0030】帰還入力選択部43は、後処理カード7か
ら画像入力カード5に帰還させる画像データを画像入力
カードバス11、共通画像バス13のいずれから取込む
かを選択する。The return input selector 43 selects whether the image data to be returned from the post-processing card 7 to the image input card 5 is to be fetched from the image input card bus 11 or the common image bus 13.
【0031】ビデオRAM45は、後処理カード7によ
って画像処理された画像データを画面表示するために記
憶する。The video RAM 45 stores the image data image-processed by the post-processing card 7 for screen display.
【0032】後処理カード7は、取込みバス選択部51
と、空間フィルター部53(処理手段)と、除算テーブ
ル部55(処理手段)と、画素間演算部57(処理手
段)と、比較演算部59(処理手段)と、論理フィルタ
ー部61(処理手段)と、後処理モジュール部63(処
理手段)と、動作設定部65(図示せず。動作設定手
段)と、画素間演算帰還部67(帰還切換え手段)と、
論理フィルター帰還部69(帰還切換え手段)と、帰還
バス選択部71(帰還出力バス選択手段)と、ローカル
CPU73(動作設定手段)と、から構成されている。The post-processing card 7 has a take-in bus selection section 51.
A spatial filter section 53 (processing section), a division table section 55 (processing section), an inter-pixel calculation section 57 (processing section), a comparison calculation section 59 (processing section), and a logical filter section 61 (processing section). ), A post-processing module unit 63 (processing unit), an operation setting unit 65 (not shown, operation setting unit), an inter-pixel calculation feedback unit 67 (feedback switching unit),
The logic filter feedback unit 69 (feedback switching unit), the feedback bus selection unit 71 (feedback output bus selection unit), and the local CPU 73 (operation setting unit) are included.
【0033】取込みバス選択部51は、画像入力カード
バス11または共通画像バス13のいずれから供給され
るデータを取込むかを選択する。The capture bus selection unit 51 selects whether to capture data supplied from the image input card bus 11 or the common image bus 13.
【0034】空間フィルター部53は、画像入力カード
5から供給される画像データを縦線強調、横線強調す
る。The spatial filter section 53 emphasizes vertical lines and horizontal lines in the image data supplied from the image input card 5.
【0035】除算テーブル部55は、空間フィルター部
53によって縦線強調、横線強調することによって増加
した画像データのビットを正規化して元のビット数に戻
す。The division table section 55 normalizes the bits of the image data increased by the vertical line emphasis and the horizontal line emphasis by the spatial filter section 53 and restores them to the original number of bits.
【0036】画素間演算部57は、空間フィルター部5
3によって縦線強調、横線強調された画像データを相互
に四則演算、非線形変換等の演算を行う。The inter-pixel calculation unit 57 includes a spatial filter unit 5
The image data in which the vertical lines are emphasized and the horizontal lines are emphasized by 3 are subjected to arithmetic operations such as four arithmetic operations and non-linear conversion.
【0037】比較演算部59は、予め記憶された画像パ
ターンと画素間演算部57によって得られた画像データ
とを四則演算等の演算を行うことによって比較する。The comparison operation section 59 compares the image pattern stored in advance with the image data obtained by the inter-pixel operation section 57 by performing operations such as four arithmetic operations.
【0038】論理フィルター部61は、比較演算部59
によって得られた画像データの孤立点除去、細線化等の
特徴抽出を行う。The logical filter section 61 includes a comparison operation section 59.
Feature extraction such as removal of isolated points and thinning of the image data obtained by is performed.
【0039】後処理モジュール部63は、論理フィルタ
ー部61によって得られた画像データの任意閉領域の各
画素の輝度の積分処理や、論理フィルター部61によっ
て得られた画像データにラベリングする処理等を個々に
行う。The post-processing module unit 63 performs an integration process of the brightness of each pixel in an arbitrary closed region of the image data obtained by the logical filter unit 61, a labeling process for the image data obtained by the logical filter unit 61, and the like. Do it individually.
【0040】動作設定部65は、空間フィルター部53
と除算テーブル部55と画素間演算部57と比較演算部
59と論理フィルター部61と後処理モジュール部63
に設けられ、制御コンピュータ9(ローカルCPU73
を介す)からの命令に従って、前記の各構成部を動作さ
せるか否かを設定する。なお、動作させない設定がされ
るとその前記構成部は、入力された画像データをそのま
ま出力する。The operation setting section 65 includes the spatial filter section 53.
A division table unit 55, an inter-pixel operation unit 57, a comparison operation unit 59, a logic filter unit 61, and a post-processing module unit 63.
Control computer 9 (local CPU 73
Via the)), whether or not to operate each of the above components is set. It should be noted that when the setting is made such that the image data is not operated, the above-mentioned component section outputs the input image data as it is.
【0041】画素間演算帰還部67は、画素間演算部5
7によって得られた画像データを画像入力カード5に帰
還させるか否かを切換える。The inter-pixel calculation feedback section 67 is composed of the inter-pixel calculation section 5
It is switched whether or not the image data obtained by 7 is returned to the image input card 5.
【0042】論理フィルター帰還部69は、論理フィル
ター部61によって得られた画像データを画像入力カー
ド5に帰還させるか否かを切換える。The logic filter feedback section 69 switches whether or not the image data obtained by the logic filter section 61 is returned to the image input card 5.
【0043】帰還バス選択部71は、論理フィルター部
61等によって得られた画像データを画像入力カード5
に帰還させるとき、画像入力カードバス11と共通画像
バス13のいずれを用いるかを選択する。また、他の後
処理カード7に画像処理後の画像データを供給するとき
は共通画像バス13を選択する。The return bus selection unit 71 uses the image data obtained by the logic filter unit 61 and the like as the image input card 5.
When the image is returned to, the image input card bus 11 or the common image bus 13 is selected. Further, when supplying the image data after the image processing to the other post-processing card 7, the common image bus 13 is selected.
【0044】ローカルCPU73は、制御コンピュータ
9からの命令によって画像入力カード5の各構成部と後
処理カード7の各構成部の制御を行う。また、制御コン
ピュータ9からの命令によって各構成部によって得られ
たデータを取込んで制御コンピュータ9に対して出力す
る。なお、後処理カード7に設けられたローカルCPU
73と画像入力カード5の各構成部とは、ローカルCP
Uバス75によって接続されている。The local CPU 73 controls each component of the image input card 5 and each component of the post-processing card 7 according to an instruction from the control computer 9. Further, the control computer 9 takes in data obtained by each component in accordance with a command and outputs it to the control computer 9. A local CPU provided on the post-processing card 7
73 and each component of the image input card 5 are local CPs.
It is connected by the U bus 75.
【0045】制御コンピュータ9は、表示部と、入力部
と、演算部と、画像入力カード5と後処理カード7によ
って得られた画像データを記憶するメモリ(いずれも図
示せず)を備える。なお、画像入力カード5、後処理カ
ード7とは制御コンピュータバス(図示せず)によって
接続されている。The control computer 9 includes a display unit, an input unit, a calculation unit, and a memory (none of which is shown) for storing image data obtained by the image input card 5 and the post-processing card 7. The image input card 5 and the post-processing card 7 are connected by a control computer bus (not shown).
【0046】次に本実施例の動作を説明する。Next, the operation of this embodiment will be described.
【0047】〈画像データの倍速入出力、帰還型パイプ
ライン処理〉初めに、一つの画像入力カード5aと一つ
の後処理カード7aを用いた画像処理動作を図3の画像
入力カード5aの動作を示すフローチャートを中心に説
明する。<Double-speed Input / Output of Image Data, Feedback Pipeline Processing> First, the image processing operation using one image input card 5a and one post-processing card 7a is performed by the operation of the image input card 5a of FIG. The flow chart shown will be mainly described.
【0048】まず、後処理カード7aの空間フィルター
部53、除算テーブル部55と、画素間演算部57と、
比較演算部59および論理フィルター部61の内、動作
させるものと動作させないものを選択する(ステップS
T1)。ここでは、全て動作させるものとし、制御コン
ピュータ9(ローカルCPU73を介す)からの命令に
従って各動作設定部65では、動作させる設定を行う。First, the spatial filter section 53 of the post-processing card 7a, the division table section 55, the inter-pixel calculation section 57,
The comparison operation unit 59 and the logic filter unit 61 are selected to operate or not to operate (step S).
T1). Here, it is assumed that all of them are operated, and each operation setting unit 65 sets the operation according to an instruction from the control computer 9 (via the local CPU 73).
【0049】そして、CCDカメラ3aによって被検査
物を撮像し、画素毎の画像データを得る。画像データが
得られると、A/D変換部15では、得られた画像デー
タをA/D変換して輝度補正部17に供給する。輝度補
正部17では、輝度斑を補正した画像データをフレーム
メモリ切換え部25に供給する(ステップST3)。Then, the object to be inspected is imaged by the CCD camera 3a to obtain image data for each pixel. When the image data is obtained, the A / D conversion unit 15 A / D-converts the obtained image data and supplies it to the brightness correction unit 17. The brightness correction unit 17 supplies the image data with the brightness unevenness corrected to the frame memory switching unit 25 (step ST3).
【0050】このとき射影演算部19と輝度ヒストグラ
ム演算部21では、輝度補正された画像データを基に、
x方向、y方向それぞれの輝度加算値を射影データとし
て求めるとともに、輝度ヒストグラムを演算する。演算
された射影データと輝度ヒストグラムは、ローカルCP
Uバス75を介してローカルCPU73に供給される。
ローカルCPU73に供給された射影データと輝度ヒス
トグラムは、制御コンピュータ9からの命令によって制
御コンピュータ9の表示部に表示することができる。At this time, the projection calculation unit 19 and the brightness histogram calculation unit 21 use the brightness-corrected image data as a basis.
The brightness addition value in each of the x direction and the y direction is obtained as projection data, and a brightness histogram is calculated. The calculated projection data and brightness histogram are the local CP
It is supplied to the local CPU 73 via the U bus 75.
The projection data and the brightness histogram supplied to the local CPU 73 can be displayed on the display unit of the control computer 9 by an instruction from the control computer 9.
【0051】一方、フレームメモリ切換え部25では、
その画像データを一時保持するフレームメモリ23を選
択する。ここではまだフレームメモリ23には何も記憶
されていないので、フレームメモリ23aにCCDカメ
ラ3aの画像データ取込み周期と同期させて一時保持さ
せる(ステップST5)。On the other hand, in the frame memory switching section 25,
The frame memory 23 that temporarily holds the image data is selected. Since nothing is stored in the frame memory 23 yet, it is temporarily held in the frame memory 23a in synchronization with the image data acquisition period of the CCD camera 3a (step ST5).
【0052】フレームメモリ23aに全画素の画像デー
タが記憶されると、フレームメモリ切換え部25では、
CCDカメラ3aの画像データ取込み周期の1/2の周
期で画像データを取出して輝度変換部39に供給する
(ステップST7)。When the image data of all pixels are stored in the frame memory 23a, the frame memory switching section 25
The image data is taken out at a cycle of 1/2 of the image data taking-in cycle of the CCD camera 3a and supplied to the brightness conversion section 39 (step ST7).
【0053】輝度変換部39では、供給された画像デー
タをルックアップテーブルを基に輝度変換して、二値化
処理や明るさの強調を行い、出力バス選択部41に供給
する。The brightness conversion unit 39 performs brightness conversion on the supplied image data based on the look-up table, performs binarization processing and brightness enhancement, and supplies the image data to the output bus selection unit 41.
【0054】出力バス選択部41では、制御コンピュー
タ9(ローカルCPU73を介す)からの命令に従って
後処理カード7aに画像データを供給するときのバスを
選択する。ここでは、画像入力カードバス11と共通画
像バス13のいずれのバスを用いても良いが、画像入力
カードバス11を用いることとする。そして、二値化処
理や明るさ強調が行われた画像データが画像入力カード
5aに出力される(ステップST9)。The output bus selection unit 41 selects a bus for supplying image data to the post-processing card 7a according to an instruction from the control computer 9 (via the local CPU 73). Here, either the image input card bus 11 or the common image bus 13 may be used, but the image input card bus 11 is used. Then, the image data subjected to the binarization processing and the brightness enhancement is output to the image input card 5a (step ST9).
【0055】一方、後処理カード7aでは、制御コンピ
ュータ9の命令に従い、取込みバス選択部51によって
画像入力カードバス11または共通画像バス13のいず
れからデータを取込むかを選択する。ここでは、画像入
力カードバス11からデータが供給されるので画像入力
カードバス11を選択する。そして、画像データが画像
入力カードバス11に出力されると、その画像データが
二つの空間フィルター部53に同時に供給される。On the other hand, in the post-processing card 7a, in accordance with an instruction from the control computer 9, the acquisition bus selection unit 51 selects whether the image input card bus 11 or the common image bus 13 is to receive data. Here, since the data is supplied from the image input card bus 11, the image input card bus 11 is selected. Then, when the image data is output to the image input card bus 11, the image data is simultaneously supplied to the two spatial filter units 53.
【0056】空間フィルター部53では、画像データが
供給されると空間フィルター部53aによって縦線強
調、空間フィルター部53bによって横線強調が行われ
る。そして、縦線強調、横線強調された画像データが除
算テーブル部55によって正規化され、画素間演算部5
7にその画像データが供給される。In the spatial filter unit 53, when the image data is supplied, the spatial filter unit 53a performs vertical line enhancement and the spatial filter unit 53b performs horizontal line enhancement. The vertical line-emphasized image and the horizontal line-emphasized image data are normalized by the division table unit 55, and the inter-pixel calculation unit 5
The image data is supplied to 7.
【0057】画素間演算部57では、空間フィルター部
53によって縦線強調、横線強調された画像データを相
互に四則演算、非線形変換等の演算を行い、画素間演算
帰還部67にその画像データを供給する。In the inter-pixel calculation section 57, the image data in which the vertical line emphasis and the horizontal line emphasis are carried out by the spatial filter section 53 mutually perform arithmetic operations such as four arithmetic operations and nonlinear conversion, and the inter-pixel operation feedback section 67 receives the image data. Supply.
【0058】ここでは、画素間演算部57によって得ら
れた画像データを画像入力カード5aに帰還する命令は
出されていないものとし、画素間演算帰還部67は画素
間演算部57から供給された画像データを比較演算部5
9にのみ供給する。Here, it is assumed that no instruction for returning the image data obtained by the inter-pixel calculation unit 57 to the image input card 5a is issued, and the inter-pixel calculation feedback unit 67 is supplied from the inter-pixel calculation unit 57. Image data comparison operation unit 5
Supply only to 9.
【0059】比較演算部59では、画素間演算帰還部6
7から供給された画像データと、予め記憶された画像パ
ターンとを四則演算等の演算を行うことによって比較
し、その後その画像データを論理フィルター部61に供
給する。In the comparison calculation unit 59, the inter-pixel calculation feedback unit 6
The image data supplied from 7 and the image pattern stored in advance are compared by performing operations such as four arithmetic operations, and then the image data is supplied to the logical filter unit 61.
【0060】論理フィルター部61では、比較演算部5
9から供給された画像データの孤立点除去、細線化等の
特徴抽出を行い、その画像データを後処理モジュール部
63に供給する。In the logical filter unit 61, the comparison operation unit 5
The image data supplied from 9 is subjected to feature extraction such as isolated point removal and thinning, and the image data is supplied to the post-processing module unit 63.
【0061】その後、後処理モジュール部63では、論
理フィルター部61から供給された画像データの任意閉
領域の各画素の輝度の積分処理や、ラベリングを行う処
理等を個々に行う。そして、これらの処理終了後、その
結果が一時ローカルCPU73に保持され、制御コンピ
ュータ9からの命令に従って、制御コンピュータ9に供
給される。After that, the post-processing module unit 63 individually performs the integration process of the brightness of each pixel in the arbitrary closed region of the image data supplied from the logic filter unit 61, the labeling process, and the like. After completion of these processes, the result is temporarily held in the local CPU 73 and is supplied to the control computer 9 according to the instruction from the control computer 9.
【0062】次に、フレームメモリ切換え部25の具体
的な動作を画像データ保持動作を示す図4、図5と画像
データ取出し動作を示す図6のフローチャートを用いて
説明する。Next, a specific operation of the frame memory switching section 25 will be described with reference to FIGS. 4 and 5 showing the image data holding operation and the flowchart of FIG. 6 showing the image data fetching operation.
【0063】まず、輝度補正部17から画像データが供
給される場合、制御レジスタ27は、制御コンピュータ
9からローカルCPU73を介して出力される命令に従
って制御レジスタバス27Bに輝度補正部17からの画
像データをフレームメモリ23aに保持する旨の命令を
出力する(図4、ステップST11)。First, when the image data is supplied from the brightness correction unit 17, the control register 27 sends the image data from the brightness correction unit 17 to the control register bus 27B in accordance with an instruction output from the control computer 9 via the local CPU 73. Is output to the frame memory 23a (FIG. 4, step ST11).
【0064】輝度補正部17からの画像データをフレー
ムメモリ23aに保持する旨の命令が出力されると(ス
テップST13YES ,ST15YSS )、入力セレクタ3
5aは、輝度補正部17から供給される画像データをフ
レームメモリ23aに保持できるようにする(ステップ
ST17)。このとき入力セレクタ35bは、オープン
状態となる。When a command for holding the image data in the frame memory 23a is output from the brightness correction unit 17 (steps ST13YES, ST15YSS), the input selector 3
5a enables the image data supplied from the brightness correction unit 17 to be held in the frame memory 23a (step ST17). At this time, the input selector 35b is in the open state.
【0065】そして、アドレスカウンタセレクタ33a
は、入力アドレスカウンタ29に対し、全画素を1/3
0(sec) で保持する周期でアドレスのカウントアップを
開始させる(ステップST19)。Then, the address counter selector 33a
Is 1/3 of all pixels to the input address counter 29.
The count up of the address is started at the cycle held at 0 (sec) (step ST19).
【0066】そして、入力セレクタ35aは、入力アド
レスカウンタ29によってカウントアップされるアドレ
スに従って画像データをフレームメモリ23aに保持し
ていく(ステップST21)。Then, the input selector 35a holds the image data in the frame memory 23a in accordance with the address counted up by the input address counter 29 (step ST21).
【0067】また、輝度補正部17からの画像データを
フレームメモリ23bに保持する旨の命令が出力される
と(ステップST13YES ,ST15NO)、入力セレク
タ35bは、輝度補正部17から供給される画像データ
をフレームメモリ23bに保持できるようにする(ステ
ップST23)。このとき入力セレクタ35aは、オー
プン状態となる。When an instruction to hold the image data from the brightness correction section 17 in the frame memory 23b is output (steps ST13YES and ST15NO), the input selector 35b causes the image data supplied from the brightness correction section 17 to be output. Can be held in the frame memory 23b (step ST23). At this time, the input selector 35a is in the open state.
【0068】その後、アドレスカウンタセレクタ35a
は、入力アドレスカウンタ29に対し、全画素を1/3
0(sec) で保持する周期でアドレスのカウントアップを
開始させる(ステップST25)。After that, the address counter selector 35a
Is 1/3 of all pixels to the input address counter 29.
The count up of the address is started in the cycle held at 0 (sec) (step ST25).
【0069】そして、入力セレクタ35aは、入力アド
レスカウンタ29によってカウントアップされるアドレ
スに従って画像データをフレームメモリ23aに保持し
ていく(ステップST27)。Then, the input selector 35a holds the image data in the frame memory 23a in accordance with the address counted up by the input address counter 29 (step ST27).
【0070】また、画像データが後処理カード7aによ
って画像処理されて帰還されたとき、制御レジスタ27
は、制御コンピュータ9からローカルCPU73を介し
て出力された命令に従って制御レジスタバス27Bに後
処理カード7aからの画像データをフレームメモリ23
bに保持する旨の命令を出力する(ステップST1
1)。Further, when the image data is image-processed by the post-processing card 7a and returned, the control register 27
In accordance with an instruction output from the control computer 9 via the local CPU 73, the image data from the post-processing card 7a is transferred to the frame memory 23 on the control register bus 27B.
An instruction to hold the data in b is output (step ST1).
1).
【0071】後処理カード7aからの画像データをフレ
ームメモリ23bに保持する旨の命令が出力されると
(ステップST13NO,図5ST29YES )、入力セレ
クタ35bは、輝度補正部17から供給される画像デー
タをフレームメモリ23bに保持できるようにする(ス
テップST31)。このとき入力セレクタ35aは、オ
ープン状態となる。When an instruction to retain the image data from the post-processing card 7a in the frame memory 23b is output (step ST13 NO, YES in step ST29 in FIG. 5), the input selector 35b causes the image data supplied from the brightness correction unit 17 to be output. It can be held in the frame memory 23b (step ST31). At this time, the input selector 35a is in the open state.
【0072】その後、アドレスカウンタセレクタ33b
は、入力アドレスカウンタ29に対し、全画素を1/6
0(sec) で保持する周期でアドレスのカウントアップを
開始させる(ステップST33)。After that, the address counter selector 33b
Is 1/6 of all pixels to the input address counter 29.
The count up of the address is started in the cycle held at 0 (sec) (step ST33).
【0073】そして、入力セレクタ35bは、入力アド
レスカウンタ29によってカウントアップされるアドレ
スに従って画像データをフレームメモリ23bに保持し
ていく(ステップST35)。Then, the input selector 35b holds the image data in the frame memory 23b in accordance with the address counted up by the input address counter 29 (step ST35).
【0074】また、後処理カード7aからの画像データ
をフレームメモリ23aに保持する旨の命令が出力され
ると(ステップST29NO)、入力セレクタ35aは、
輝度補正部17から供給される画像データをフレームメ
モリ23aに保持できるようにする(ステップST3
7)。このとき入力セレクタ35bは、オープン状態と
なる。When an instruction to hold the image data from the post-processing card 7a in the frame memory 23a is output (NO in step ST29), the input selector 35a is
The image data supplied from the brightness correction unit 17 can be held in the frame memory 23a (step ST3).
7). At this time, the input selector 35b is in the open state.
【0075】そして、アドレスカウンタセレクタ33a
は、入力アドレスカウンタ29に対し、全画素を1/6
0(sec) で保持する周期でアドレスのカウントアップを
開始させる(ステップST39)。Then, the address counter selector 33a
Is 1/6 of all pixels to the input address counter 29.
The count up of the address is started at the cycle held at 0 (sec) (step ST39).
【0076】そして、入力セレクタ35aは、入力アド
レスカウンタ29によってカウントアップされるアドレ
スに従って画像データをフレームメモリ23aに保持し
ていく(ステップST41)。Then, the input selector 35a holds the image data in the frame memory 23a in accordance with the address counted up by the input address counter 29 (step ST41).
【0077】出力アドレスカウンタ31のカウントアッ
プが終了すると制御レジスタ27は、フレームメモリ2
3aに保持されている画像データを取出す旨の命令を制
御レジスタバス27Bに出力する(図6、ステップST
51)制御レジスタバス27Bにフレームメモリ23a
から画像データを取出す旨の命令が出力されると(ステ
ップST53YES )、出力セレクタ37は、フレームメ
モリ23aから取出された画像データを輝度変換部39
に供給できるようにする(ステップST55)。When the output address counter 31 has finished counting up, the control register 27 causes the frame memory 2
An instruction to take out the image data held in 3a is output to the control register bus 27B (FIG. 6, step ST
51) The frame memory 23a on the control register bus 27B
When an instruction to extract the image data is output from the image selector (YES in step ST53), the output selector 37 converts the image data extracted from the frame memory 23a into the brightness conversion unit 39.
To be supplied (step ST55).
【0078】そして、アドレスカウンタセレクタ33a
は、出力アドレスカウンタ31に対し、全画素を1/6
0(sec) で取出す周期でアドレスのカウントアップを開
始させる(ステップST57)。Then, the address counter selector 33a
Outputs 1/6 of all pixels to the output address counter 31.
Address count-up is started at a cycle of taking out at 0 (sec) (step ST57).
【0079】そして、出力セレクタ37は、出力アドレ
スカウンタ31によってカウントアップされるアドレス
に従って画像データをフレームメモリ23aから取出し
ていく(ステップST59)。Then, the output selector 37 fetches the image data from the frame memory 23a according to the address counted up by the output address counter 31 (step ST59).
【0080】また、制御レジスタバス27Bにフレーム
メモリ23bから画像データを取出す旨の命令が出力さ
れると(ステップST53NO)、出力セレクタ37は、
フレームメモリ23bから取出された画像データを輝度
変換部39に供給できるようにする(ステップST6
1)。When an instruction to take out image data from the frame memory 23b is output to the control register bus 27B (step ST53NO), the output selector 37 becomes
The image data extracted from the frame memory 23b can be supplied to the brightness conversion unit 39 (step ST6).
1).
【0081】そして、アドレスカウンタセレクタ33b
は、出力アドレスカウンタ31に対し、全画素を1/6
0(sec) で取出す周期でアドレスのカウントアップを開
始させる(ステップST63)。Then, the address counter selector 33b
Outputs 1/6 of all pixels to the output address counter 31.
The count up of the address is started at the cycle of taking out at 0 (sec) (step ST63).
【0082】そして、出力セレクタ37は、出力アドレ
スカウンタ31によってカウントアップされるアドレス
に従って画像データをフレームメモリ23bから取出し
ていく(ステップST69)。Then, the output selector 37 fetches the image data from the frame memory 23b according to the address counted up by the output address counter 31 (step ST69).
【0083】このように、輝度補正部17から供給され
る画像データをフレームメモリ23に保持するときは、
CCDカメラ3aの画像データ取込み周期と同期させて
保持し、フレームメモリ23から画像データを取出すと
きと、後処理カード7aから帰還した画像データをフレ
ームメモリ23に保持するときは、CCDカメラ3aの
画像データ取込み周期の1/2の周期で行うようにして
いるので、画像処理に掛かる時間を短縮させることがで
きる。As described above, when the image data supplied from the brightness correction unit 17 is held in the frame memory 23,
The image of the CCD camera 3a is held in synchronization with the image data fetching cycle of the CCD camera 3a, when the image data is fetched from the frame memory 23, and when the image data returned from the post-processing card 7a is held in the frame memory 23. Since the processing is performed at a half cycle of the data acquisition cycle, the time required for image processing can be shortened.
【0084】なお、制御レジスタ27は、制御コンピュ
ータ9からローカルCPU73を介して出力される命令
に従って制御レジスタバス27Bに命令を出力している
が、画像処理の工程がCCDカメラ3aからの画像デー
タを後処理カード7aに供給し、後処理カード7aで画
像処理後、画像入力カード5aに帰還させ、もう一度後
処理カード7aに供給するというように決まっている場
合は予め制御レジスタ27から制御レジスタバス27B
に出力される命令の順番とそのタイミングを設定してお
いても良い。The control register 27 outputs an instruction to the control register bus 27B in accordance with an instruction output from the control computer 9 via the local CPU 73. However, the image processing step is to output the image data from the CCD camera 3a. When it is determined that the image data is supplied to the post-processing card 7a, image-processed by the post-processing card 7a, returned to the image input card 5a, and then supplied to the post-processing card 7a again, the control register 27 to the control register bus 27B in advance.
It is also possible to set the order of the instructions to be output to and the timing.
【0085】また、フレームメモリ23から画像データ
を取出すときと後処理カード7aから帰還された画像デ
ータを保持するときは、CCDカメラ3aの画像データ
取込み周期の1/2の周期で画像データの取出しまたは
保持を行っているが、これに限らず、CCDカメラ3a
の画像データ取込み周期の1/3、1/4等にしても良
い。When the image data is taken out from the frame memory 23 and when the image data returned from the post-processing card 7a is held, the image data is taken out at a half cycle of the image data taking cycle of the CCD camera 3a. Alternatively, it is held, but not limited to this, but the CCD camera 3a
It may be set to ⅓, ¼, etc. of the image data acquisition period.
【0086】さらに、入力アドレスカウンタ29、出力
アドレスカウンタ31にアドレスをカウントアップする
クロックを予め複数種類設定しておき、その中から選択
して画像データの保持、取出しを行うようにしても良
い。Further, a plurality of clocks for counting up the address may be set in advance in the input address counter 29 and the output address counter 31, and the image data may be held and retrieved by selecting from among them.
【0087】次に、後処理カード7aによって得られた
画像データを画像入力カード5aに帰還させる場合を図
7のフローチャートを用いて説明する。Next, the case where the image data obtained by the post-processing card 7a is returned to the image input card 5a will be described with reference to the flowchart of FIG.
【0088】まず、画素間演算帰還部67または論理フ
ィルター帰還部69、またはその両方のいずれによって
画像データを帰還させるかを選択する(ステップST7
1)。ここでは、画素間演算帰還部67によって画像デ
ータを帰還させることにする。First, it is selected which of the inter-pixel operation feedback section 67, the logic filter feedback section 69, or both of them returns the image data (step ST7).
1). Here, the image data is fed back by the inter-pixel calculation feedback unit 67.
【0089】このとき画素間演算帰還部67では、画素
間演算部57によって得られた画像データを帰還バス選
択部71に供給すると同時に後段の比較演算部59にそ
の画像データを供給することも可能であり(ステップ7
3YES ,ST77)、この場合、画像入力カード5aへ
の画像データの帰還と、比較演算部59から後段の画像
処理が並行して行われる。At this time, in the inter-pixel operation feedback section 67, it is possible to supply the image data obtained by the inter-pixel operation section 57 to the feedback bus selection section 71 and at the same time to supply the image data to the comparison operation section 59 in the subsequent stage. (Step 7
3YES, ST77), in this case, the return of the image data to the image input card 5a and the subsequent image processing from the comparison calculation unit 59 are performed in parallel.
【0090】ここでは、画素間演算部57によって得ら
れた画像データを帰還バス選択部71に供給するのみと
する(ステップST73NO)。Here, the image data obtained by the inter-pixel calculation unit 57 is only supplied to the feedback bus selection unit 71 (NO in step ST73).
【0091】そして、制御コンピュータ9からローカル
CPU73を介して画素間演算帰還部67に対し、画素
間演算部57によって得られた画像データを画像入力カ
ード5aに帰還させる命令を出力する。画素間演算帰還
部67では、その命令に従って画素間演算部57によっ
て得られた画像データを帰還バス選択部71に供給する
(ステップST75)。Then, the control computer 9 outputs to the inter-pixel operation feedback section 67 via the local CPU 73 a command for returning the image data obtained by the inter-pixel operation section 57 to the image input card 5a. The inter-pixel operation feedback unit 67 supplies the image data obtained by the inter-pixel operation unit 57 to the feedback bus selection unit 71 according to the instruction (step ST75).
【0092】帰還バス選択部71に画像データが供給さ
れると帰還バス選択部71では、制御コンピュータ9か
らの命令に従って画像入力カード5aに帰還するときの
バスを選択する(ステップST79)。ここでは、画像
入力カードバス11と共通画像バス13のいずれのバス
を用いても良いが、画像入力カードバス11を選択する
こととする。そして、画素間演算部57によって得られ
た画像データが画像入力カードバス11に出力される。When the image data is supplied to the return bus selection unit 71, the return bus selection unit 71 selects a bus for returning to the image input card 5a according to an instruction from the control computer 9 (step ST79). Here, either the image input card bus 11 or the common image bus 13 may be used, but the image input card bus 11 is selected. Then, the image data obtained by the inter-pixel calculation unit 57 is output to the image input card bus 11.
【0093】一方、画像入力カード5aの帰還入力選択
部43では、画像入力カードバス11、共通画像バス1
3のいずれから画像データを取込むかを選択する(ステ
ップST81)。ここでは、画素間演算部57によって
得られた画像データが画像入力カードバス11に出力さ
れるので、画像入力カードバス11を選択する。そし
て、帰還された画像データをビデオRAM45に一時保
持させるとともに、フレームメモリ切換え部25に供給
する(ステップST83)。On the other hand, in the feedback input selection section 43 of the image input card 5a, the image input card bus 11 and the common image bus 1
It is selected which of the three (3) to fetch the image data (step ST81). Here, since the image data obtained by the inter-pixel calculation unit 57 is output to the image input card bus 11, the image input card bus 11 is selected. Then, the returned image data is temporarily held in the video RAM 45 and is supplied to the frame memory switching unit 25 (step ST83).
【0094】このとき、ビデオRAM45に一時保持さ
れた画像データは、制御コンピュータ9からの命令によ
り、ローカルCPU73を介して制御コンピュータ9に
供給され、制御コンピュータ9の表示部に表示すること
ができる。そのため、オペレータは画像処理の途中経過
を知ることができる。At this time, the image data temporarily stored in the video RAM 45 is supplied to the control computer 9 via the local CPU 73 by an instruction from the control computer 9 and can be displayed on the display section of the control computer 9. Therefore, the operator can know the progress of the image processing.
【0095】また、論理フィルター部61によって得ら
れた画像データを画像入力カード5aに帰還させる場合
も前述と同様に動作させることによって行うことができ
る。The image data obtained by the logic filter unit 61 can be returned to the image input card 5a by operating in the same manner as described above.
【0096】次に、後処理カード7aから帰還された画
像データを再度後処理カード7aに供給して画像処理す
る場合を図8のタイミングを用いて説明する。Next, a case where the image data fed back from the post-processing card 7a is supplied again to the post-processing card 7a for image processing will be described with reference to the timing of FIG.
【0097】まず、CCDカメラ3aにより得られ、輝
度補正部17によって輝度補正された画像データをフレ
ームメモリ23aにCCDカメラ3aの画像データ取込
み周期と同期させて保持する(入力1-1)。一方、フレ
ームメモリ23bはこの間、入力待ち状態となる。First, the image data obtained by the CCD camera 3a and subjected to the brightness correction by the brightness correction unit 17 is held in the frame memory 23a in synchronization with the image data fetch cycle of the CCD camera 3a (input 1-1). On the other hand, the frame memory 23b is in the input waiting state during this period.
【0098】そして、全画素について入力が終了した
後、CCDカメラ3aの画像データ取込み周期の1/2
の時間周期で画像データをフレームメモリ23aから取
出して後処理カード7aに供給する(出力1-1)。After the input is completed for all pixels, 1/2 of the image data acquisition period of the CCD camera 3a
The image data is taken out from the frame memory 23a and supplied to the post-processing card 7a in the time period of (output 1-1).
【0099】そして、後処理カード7aによって画像処
理後の画像データをCCDカメラ3aの画像データ取込
み周期の1/2の時間周期で画像データをフレームメモ
リ23bに保持する(入力1-2)。Then, the image data after the image processing by the post-processing card 7a is held in the frame memory 23b at a time period half the image data fetch period of the CCD camera 3a (input 1-2).
【0100】フレームメモリ23aでは、出力1-1が終
了した後、輝度補正部17によって輝度補正された次の
画像データをCCDカメラ3aの画像データ取込み周期
と同期させて保持する(入力2-1)。In the frame memory 23a, after the output 1-1 is completed, the next image data whose brightness is corrected by the brightness correction unit 17 is held in synchronization with the image data acquisition period of the CCD camera 3a (input 2-1). ).
【0101】フレームメモリ23bでは、入力1-2が終
了した後、CCDカメラ3aの画像データ取込み周期の
1/2の時間周期で画像データを取出して後処理カード
7aに供給する(出力1-2)。In the frame memory 23b, after the input 1-2 is completed, the image data is taken out at a time period of 1/2 of the image data taking-in period of the CCD camera 3a and supplied to the post-processing card 7a (output 1-2 ).
【0102】そして、フレームメモリ23aでは、輝度
補正部17からの入力2-1が終了した後、CCDカメラ
3aの画像データ取込み周期の1/2の時間周期で画像
データをフレームメモリ23aから取出して後処理カー
ド7aに供給する(出力2-1)。Then, in the frame memory 23a, after the input 2-1 from the brightness correction unit 17 is completed, the image data is taken out from the frame memory 23a at a time cycle of 1/2 of the image data acquisition cycle of the CCD camera 3a. It is supplied to the post-processing card 7a (output 2-1).
【0103】そして、後処理カード7aによって画像処
理が終了した後、その画像データをCCDカメラ3aの
画像データ取込み周期の1/2の時間周期で画像データ
をフレームメモリ23bに保持する(入力2-2)。な
お、フレームメモリ23bでは、出力2-1の終了後から
入力2-2が開始されるまでの間は入力待ち状態となる。
以後、同様のタイミングで動作していく。After the image processing is completed by the post-processing card 7a, the image data is held in the frame memory 23b at a half cycle of the image data fetch cycle of the CCD camera 3a (input 2- 2). The frame memory 23b is in an input waiting state from the end of the output 2-1 to the start of the input 2-2.
After that, it operates at the same timing.
【0104】このように、各動作設定部65によって各
処理手段(空間フィルター部53a,53b、除算テー
ブル部55、画素間演算部57、比較演算部59、論理
フィルター部61)を動作させるか否かの設定を行うと
ともに、画素間演算帰還部67と、論理フィルター帰還
部69により、画素間演算部57、論理フィルター部6
1で得られた画像データを画像入力カード5aに帰還さ
せる設定を行うことによって、動作させる前記処理手段
の選択およびその順番の変更が簡便にできるようにな
る。In this manner, whether or not each processing means (spatial filter units 53a and 53b, division table unit 55, inter-pixel operation unit 57, comparison operation unit 59, logical filter unit 61) is operated by each operation setting unit 65. With the above setting, the inter-pixel calculation feedback section 67 and the logic filter feedback section 69 allow the inter-pixel calculation section 57 and the logic filter section 6 to operate.
By setting the image data obtained in 1 to be returned to the image input card 5a, it becomes possible to easily select the processing means to be operated and change the order thereof.
【0105】なお、本実施例では、処理手段として空間
フィルター部53a,53b、除算テーブル部55、画
素間演算部57、比較演算部59、論理フィルター部6
1を設けているが、これに限らず他の処理手段を設ける
ようにしても良い。In this embodiment, the spatial filter units 53a and 53b, the division table unit 55, the inter-pixel arithmetic unit 57, the comparison arithmetic unit 59, and the logical filter unit 6 are used as processing means.
However, the present invention is not limited to this, and other processing means may be provided.
【0106】また、本実施例では、画素間演算帰還部5
9と論理フィルター帰還部69によって画像データを画
像入力カード5aに帰還させるが、これに限らず、空間
フィルター部53、除算テーブル部55、比較演算部5
9の後段に帰還切換え手段を設けて画像入力カード5a
に帰還させるようにしても良い。Further, in the present embodiment, the inter-pixel operation feedback section 5
The image data is fed back to the image input card 5a by the 9 and the logical filter feedback unit 69, but not limited to this, the spatial filter unit 53, the division table unit 55, the comparison operation unit 5
The image input card 5a is provided with feedback switching means in the subsequent stage
You may make it return to.
【0107】さらに、本実施例では、空間フィルター部
53aによって縦線強調、空間フィルター部53bによ
って横線強調というように画像処理を二つのラインで並
行して行っているが、これに限らず一つの画像処理ライ
ンを用いて行っても良い。Further, in the present embodiment, the image processing is performed by two lines in parallel such as vertical line enhancement by the spatial filter unit 53a and horizontal line enhancement by the spatial filter unit 53b, but the present invention is not limited to this. You may perform using an image processing line.
【0108】〈並列画像バス〉次に、一つの画像入力カ
ード5aに複数の後処理カード7a,7b,7cが接続
され、画像入力カード5aによって得られた一つの画像
データを後処理カード7a,7b,7cによって画像処
理する場合の動作を説明する。<Parallel Image Bus> Next, a plurality of post-processing cards 7a, 7b, 7c are connected to one image input card 5a, and one image data obtained by the image input card 5a is processed by the post-processing card 7a, The operation when image processing is performed by 7b and 7c will be described.
【0109】画像入力カード5aでは、前述と同様に、
CCDカメラ3aによって得られた画像データは、輝度
補正部17、フレームメモリ23を通り輝度変換部39
に供給され輝度変換される。In the image input card 5a, as described above,
The image data obtained by the CCD camera 3a passes through the brightness correction unit 17 and the frame memory 23 and the brightness conversion unit 39.
Is supplied to and the brightness is converted.
【0110】一方、出力バス選択部41では輝度変換さ
れた画像データを後処理カード7a,b,cに供給する
バスを選択する。この場合、画像入力カード5aによっ
て得られた画像データを三つの後処理カード7a,7
b,7cによって並行して画像処理させるため出力バス
選択部41は、共通画像バス13を選択する。そして、
輝度変換された画像データは、共通画像バス13に出力
される。On the other hand, the output bus selection section 41 selects a bus for supplying the luminance-converted image data to the post-processing cards 7a, 7b, 7c. In this case, the image data obtained by the image input card 5a is converted into three post-processing cards 7a, 7
The output bus selection unit 41 selects the common image bus 13 for image processing in parallel by b and 7c. And
The brightness-converted image data is output to the common image bus 13.
【0111】後処理カード7a,7b,7cの各取込み
バス選択部51では、共通画像バス13を選択する。そ
して、各後処理カード7a,7b,7cでは並行して画
像処理が行われる。In each of the taking-in bus selecting sections 51 of the post-processing cards 7a, 7b, 7c, the common image bus 13 is selected. Image processing is performed in parallel on each of the post-processing cards 7a, 7b, 7c.
【0112】このように、各画像入力カード5a,7
b,7cとそれに対応する各後処理カード7a,7b,
7cを各々個別に接続する画像入力カードバス11と、
各画像入力カード5a,5b,5cと各後処理カード7
a,7b,7cを一つのバスで接続する共通画像バス1
3とによって画像入力カード5aから同一の画像データ
を同時に複数の後処理カード7a,7b,7cに供給で
きるので、各後処理カード7a,7b,7cでは、同一
の画像データについての画像処理を並行して行うことが
可能となる。As described above, each image input card 5a, 7
b, 7c and the corresponding post-processing cards 7a, 7b,
Image input card bus 11 for individually connecting 7c,
Each image input card 5a, 5b, 5c and each post-processing card 7
Common image bus 1 that connects a, 7b, and 7c with one bus
Since the same image data can be simultaneously supplied from the image input card 5a to the plurality of post-processing cards 7a, 7b, 7c by means of 3, the post-processing cards 7a, 7b, 7c can perform the image processing on the same image data in parallel. It becomes possible to do it.
【0113】また、各画像入力カード5a,5b,5c
各々の画像入力カードバス11を用いることにより、各
画像入力カード5a,5b,5cとそれに対応する各後
処理カード7a,7b,7cによって各々独立して画像
処理を行うこともできる。Further, each image input card 5a, 5b, 5c
By using each image input card bus 11, each image input card 5a, 5b, 5c and each corresponding post-processing card 7a, 7b, 7c can perform image processing independently.
【0114】このとき、後処理カード7b,7cの取込
みバス選択部51より後段の各構成部を後処理カード7
aのもの(空間フィルター部53、除算テーブル部5
5、画素間演算部57、画素間演算帰還部67、比較演
算部59、論理フィルター部61、論理フィルター帰還
部69、後処理モジュール部63)とは順番や構成を変
えるようにすれば、同一の画像データに対して異なる画
像処理を並行して行うことが可能となる。At this time, each component of the post-processing cards 7b and 7c, which is subsequent to the take-in bus selecting section 51, is connected to the post-processing card 7
a (spatial filter unit 53, division table unit 5
5, the inter-pixel operation unit 57, the inter-pixel operation feedback unit 67, the comparison operation unit 59, the logic filter unit 61, the logic filter feedback unit 69, and the post-processing module unit 63) are the same if the order and configuration are changed. It is possible to perform different image processing on the image data in parallel.
【0115】また、画像入力カード5を複数にすること
により、CCDカメラ3aによって得られた画像データ
を後処理カード7b,7cに供給したり、CCDカメラ
3bによって得られた画像データを後処理カード7a,
7c供給することができ、様々な画像処理工程を組合わ
せることができる。Further, by providing a plurality of image input cards 5, the image data obtained by the CCD camera 3a can be supplied to the post-processing cards 7b and 7c, or the image data obtained by the CCD camera 3b can be supplied to the post-processing card. 7a,
7c can be supplied and various image processing steps can be combined.
【0116】なお、本実施例では、共通画像バス13
は、画像入力カード5aから後処理カード7aに出力す
るバスと、後処理カード7aから画像入力カード5aに
帰還させるバスの二つのバスによって構成されている
が、バスの数は二つに限定されず、増設や前記二つのバ
スを一つのバスで共用しても良い。In this embodiment, the common image bus 13 is used.
Is composed of two buses, a bus for outputting from the image input card 5a to the post-processing card 7a and a bus for returning from the post-processing card 7a to the image input card 5a, but the number of buses is limited to two. Instead, it is also possible to add or share the two buses by one bus.
【0117】[0117]
【発明の効果】以上説明したように本発明によれば、撮
像手段から供給される画像データを記憶手段に保持する
ときは、撮像手段の画像データ取込み周期と同期させて
保持し、記憶手段から画像データを取出すときと画像手
段によって画像処理後の画像データを記憶手段に保持す
るときは、撮像手段の画像データ取込み周期より短い周
期で行うようにしているので、画像処理に掛かる時間を
短縮させることができる。As described above, according to the present invention, when the image data supplied from the image pickup means is held in the storage means, the image data is held in synchronism with the image data fetching cycle of the image pickup means, and stored in the storage means. When taking out the image data and holding the image data after the image processing by the image means in the storing means, the period is shorter than the image data taking-in cycle of the image pickup means, so that the time required for the image processing is shortened. be able to.
【0118】また、画像データ入力出力手段に画像デー
タを保持する周期を選択可能で複数持つとともに、画像
出力手段に画像データを取出す周期を選択可能で複数持
つようにしているので、保持する画像データと取出す画
像データに合った画像データの保持または取出す周期を
選択でき、画像処理に掛かる時間を短縮させることがで
きる。Further, since the image data input / output means has a plurality of selectable periods for holding the image data and the image output means has a plurality of selectable periods for picking up the image data, the held image data It is possible to select a period for holding or taking out image data that matches the image data to be taken out, and it is possible to shorten the time required for image processing.
【0119】また、各動作設定手段によって各処理手段
を動作させるか否かの設定を行うとともに、帰還切換え
手段により、処理手段によって得られた画像データを画
像入力手段に帰還させる設定が行え、動作させる処理手
段の選択およびその順番の変更が簡便にできるようにな
る。Further, the operation setting means sets whether or not each processing means is operated, and the feedback switching means can set the image data obtained by the processing means to be fed back to the image input means. It becomes possible to easily select the processing means to be performed and change the order thereof.
【0120】さらに、各画像入力手段とそれに対応する
画像処理手段を各々個別に接続する直結画像バスと、各
画像入力手段と各画像処理手段を一つのバスで接続する
共通画像バスとにより、一つの画像入力手段から同一の
画像データを同時に複数の画像処理手段に出力でき、さ
らに、複数の画像入力手段から一つの画像処理手段に同
時に出力できるので、様々な処理の工程を組合わせる事
が可能となり、さらに、画像処理に掛かる時間の短縮が
可能となる。Furthermore, a direct connection image bus for individually connecting each image input unit and the corresponding image processing unit and a common image bus for connecting each image input unit and each image processing unit by one bus Since the same image data can be output from one image input unit to multiple image processing units at the same time, and further, the same image data can be output to one image processing unit from multiple image input units at the same time, it is possible to combine various processing steps. In addition, the time required for image processing can be shortened.
【図1】本発明の画像処理装置の一実施例を示す構成図
である。FIG. 1 is a configuration diagram showing an embodiment of an image processing apparatus of the present invention.
【図2】フレームメモリ切換え部の構成を示すブロック
図である。FIG. 2 is a block diagram showing a configuration of a frame memory switching unit.
【図3】画像入力カードの動作を示すフローチャートで
ある。FIG. 3 is a flowchart showing an operation of the image input card.
【図4】後処理カードによって得られた画像データを画
像入力カードに帰還させる場合の動作を示すフローチャ
ートである。FIG. 4 is a flowchart showing an operation when image data obtained by the post-processing card is returned to the image input card.
【図5】後処理カードから帰還された画像データを再度
後処理カードに供給して画像処理する場合の動作タイミ
ングを示すタイミング図である。FIG. 5 is a timing chart showing an operation timing when the image data returned from the post-processing card is supplied again to the post-processing card to perform image processing.
【図6】フレームメモリ切換え部の画像データ保持動作
を示すフローチャートである。FIG. 6 is a flowchart showing an image data holding operation of a frame memory switching unit.
【図7】フレームメモリ切換え部の画像データ保持動作
を示すフローチャートである。FIG. 7 is a flowchart showing an image data holding operation of a frame memory switching unit.
【図8】フレームメモリ切換え部の画像データ取出し動
作を示すフローチャートである。FIG. 8 is a flowchart showing an image data fetching operation of a frame memory switching unit.
【図9】従来の画像処理装置を示す構成図である。FIG. 9 is a configuration diagram showing a conventional image processing apparatus.
【図10】従来の画像処理装置の他の例を示す構成図で
ある。FIG. 10 is a configuration diagram showing another example of a conventional image processing apparatus.
1 画像処理装置 3 CCDカメラ(撮像手段) 5 画像入力カード(画像入力手段) 7 後処理カード(画像処理手段) 11 画像入力カードバス(直結画像バス) 13 共通画像バス 15 A/D変換部 17 輝度補正部 19 射影演算部 21 輝度ヒストグラム演算部 23 フレームメモリ(記憶手段) 25 フレームメモリ切換え部(選択手段) 29 入力アドレスカウンタ(画像データ入力手段) 31 出力アドレスカウンタ(画像データ出力手段) 33 アドレスカウンタセレクタ 35 入力セレクタ(画像データ入力手段) 37 出力セレクタ(画像データ出力手段) 39 輝度変換部 41 出力バス選択部(出力バス選択手段) 43 帰還入力選択部 45 ビデオRAM 51 取込みバス選択部 53 空間フィルター部(処理手段) 55 除算テーブル部(処理手段) 57 画素間演算部(処理手段) 59 比較演算部(処理手段) 61 論理フィルター部(処理手段) 63 後処理モジュール部(処理手段) 65 動作設定部(動作設定手段) 67 画素間演算帰還部(帰還切換え手段) 69 論理フィルター帰還部(帰還切換え手段) 71 帰還バス選択部(帰還出力バス選択手段) 73 ローカルCPU 75 ローカルCPUバス 1 image processing device 3 CCD camera (imaging means) 5 image input card (image input means) 7 post-processing card (image processing means) 11 image input card bus (direct connection image bus) 13 common image bus 15 A / D converter 17 Brightness correction section 19 Projection calculation section 21 Brightness histogram calculation section 23 Frame memory (storage means) 25 Frame memory switching section (selection means) 29 Input address counter (image data input means) 31 Output address counter (image data output means) 33 address Counter selector 35 Input selector (image data input means) 37 Output selector (image data output means) 39 Luminance conversion section 41 Output bus selection section (output bus selection means) 43 Feedback input selection section 45 Video RAM 51 Acquisition bus selection section 53 Space Filter unit (processing means) 55 Table unit (processing unit) 57 Inter-pixel calculation unit (processing unit) 59 Comparison calculation unit (processing unit) 61 Logical filter unit (processing unit) 63 Post-processing module unit (processing unit) 65 Operation setting unit (operation setting unit) 67 Inter-pixel operation feedback unit (feedback switching unit) 69 Logic filter feedback unit (feedback switching unit) 71 Feedback bus selection unit (feedback output bus selection unit) 73 Local CPU 75 Local CPU bus
Claims (4)
像処理手段によって画像処理する画像処理装置におい
て、 前記撮像手段から供給される画像データと、前記画像処
理手段によって画像処理された画像データを一時保持す
る記憶手段と、 前記記憶手段に画像データを保持する場合、前記撮像手
段によって得られた画像データのときは、撮像手段の画
像データ取込み周期と同期して行い、前記画像処理手段
によって画像処理後の画像データのときは、前記撮像手
段の画像データ取込み周期より短い周期で行う画像デー
タ入力手段と、 前記記憶手段から画像データを取出す場合、前記撮像手
段の画像データ取込み周期より短い周期で行う画像デー
タ出力手段と、 を具備することを特徴とする画像処理装置。1. An image processing apparatus for image-processing image data obtained by an image-capturing means by image-processing means, wherein the image data supplied from the image-capturing means and the image data image-processed by the image-processing means are temporarily stored. When storing the image data in the storage unit and the image data obtained by the image capturing unit, the image processing is performed in synchronization with the image data capturing period of the image capturing unit, and the image processing is performed by the image processing unit. In the case of the subsequent image data, the image data inputting means performs the image data in a cycle shorter than the image data capturing cycle of the image capturing means, and when the image data is retrieved from the storage means, the image data capturing means in the image data capturing cycle of the image capturing means An image processing apparatus comprising: an image data output unit.
段に画像データを保持する周期を選択可能で複数持ち、 前記画像データ出力手段は、前記記憶手段から画像デー
タを取出す周期を選択可能で複数持つことを特徴とする
請求項1記載の画像処理装置。2. The image data input means has a plurality of selectable cycles for holding image data in the storage means, and the image data output means has a plurality of selectable cycles for extracting image data from the storage means. The image processing apparatus according to claim 1, which has.
一時保持する記憶手段を備える画像入力手段と、この画
像入力手段から供給された画像データを平滑化、孤立点
除去、細線化、二値化等の処理を各々独立に行う複数の
処理手段からなる画像処理手段とを備える画像処理装置
において、 前記各処理手段を動作させるか否かを個別に切り換える
動作設定手段と、 前記処理手段によって画像処理されたデータを前記画像
入力手段に帰還させるか否かを切換える帰還切換え手段
と、 前記帰還切換え手段によって画像入力手段に帰還された
画像データを放置または再度後処理手段に供給するかを
選択する選択手段と、 を具備することを特徴とする画像処理装置。3. An image input unit having a storage unit for temporarily holding image data obtained by the image pickup unit, and image data supplied from the image input unit is smoothed, isolated point removed, thinned, and binarized. In an image processing apparatus including an image processing unit including a plurality of processing units that independently perform processing such as the above, an operation setting unit that individually switches whether to operate each of the processing units, and an image processing by the processing unit. Feedback switching means for switching whether or not to feed back the received data to the image input means, and a selection for selecting whether to leave the image data fed back to the image input means by the feedback switching means or to supply it again to the post-processing means. An image processing apparatus comprising:
一時保持する記憶手段を備える複数の画像入力手段と、
この画像入力手段によって得られた画像データを複数ま
たは一つの処理手段によって画像処理する複数の画像処
理手段とを備える画像処理装置において、 前記各画像入力手段によって得られた画像データを対応
する前記各画像処理手段に対し直接出力可能、かつ、前
記各画像処理手段によって処理された画像データを対応
する前記各画像入力手段に対し直接出力可能に各々接続
する直結画像バスと、 各画像入力手段によって得られた画像データを同時に各
画像処理手段に対し出力可能、かつ、前記各画像処理手
段によって画像処理された画像データを同時に複数の画
像入力手段に対し出力可能に接続する共通画像バスと、 前記各画像入力手段に設けられ、その画像入力手段から
画像処理手段に画像データを出力するとき前記直結画像
バス、共通画像バスのいずれのバスを用いるかを選択す
る出力バス選択部と、 前記各画像処理手段に設けられ、その画像処理手段から
画像入力手段に画像データを出力するとき前記直結画像
バス、共通画像バスのいずれのバスを用いるかを選択す
る帰還出力バス選択部と、 を具備することを特徴とする画像処理装置。4. A plurality of image input means having a storage means for temporarily holding image data obtained by the image pickup means,
An image processing apparatus comprising a plurality of or a plurality of image processing means for performing image processing on the image data obtained by the image input means, wherein the image data obtained by each of the image input means corresponds to A direct connection image bus that can be directly output to the image processing means, and that is connected to each of the corresponding image input means so that the image data processed by the image processing means can be directly output. A common image bus capable of outputting the obtained image data to each of the image processing means at the same time and outputting the image data subjected to the image processing by the image processing means to a plurality of image input means at the same time; The direct connection image bus, which is provided in the image input means and outputs image data from the image input means to the image processing means, An output bus selection unit for selecting which bus of the communication image bus is used, and a direct connection image bus that is provided in each of the image processing units and outputs image data from the image processing unit to the image input unit. An image processing apparatus comprising: a feedback output bus selection unit that selects which of the buses to use.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5162904A JPH0773286A (en) | 1993-06-30 | 1993-06-30 | Image processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5162904A JPH0773286A (en) | 1993-06-30 | 1993-06-30 | Image processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0773286A true JPH0773286A (en) | 1995-03-17 |
Family
ID=15763448
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5162904A Pending JPH0773286A (en) | 1993-06-30 | 1993-06-30 | Image processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0773286A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09297843A (en) * | 1996-04-30 | 1997-11-18 | Olympus Optical Co Ltd | Picture processor |
-
1993
- 1993-06-30 JP JP5162904A patent/JPH0773286A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09297843A (en) * | 1996-04-30 | 1997-11-18 | Olympus Optical Co Ltd | Picture processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100251518B1 (en) | Image processing inspection apparatus | |
| JPS628072B2 (en) | ||
| US8027551B2 (en) | Reconfigurable image processor and the application architecture thereof | |
| US6920180B1 (en) | Image processing inspection apparatus | |
| JPH0773286A (en) | Image processor | |
| CN116071301A (en) | Image processing method, device and electronic device for medical endoscope | |
| CN119604839A (en) | A partition display method and display device | |
| CN101312499B (en) | A reconfigurable image processor and its application device | |
| JP2007293546A (en) | Image processing device | |
| JP2001023562A (en) | Image processing device for electron microscope | |
| WO2021029152A1 (en) | Image capturing device, operation method for image capturing device, and program | |
| JP2000221111A (en) | Display screen inspection method and device | |
| JP3494436B2 (en) | Image processing device | |
| JP3607788B2 (en) | Image processing device | |
| JP3054870B2 (en) | Object recognition device | |
| JPS61212183A (en) | Picture display system | |
| JP2005012494A (en) | Image processing apparatus | |
| JPWO2019167277A1 (en) | Image collection device, image collection system, image collection method, image generation device, image generation system, image generation method, and program | |
| JPH10162138A (en) | Image processing method | |
| CN111028141A (en) | Image signal processing method | |
| JPH0749937A (en) | Image processing device | |
| JP3684715B2 (en) | Monitoring system | |
| JPS63216183A (en) | Image processor | |
| JP2004086791A (en) | Image processing method and apparatus | |
| JPS60256879A (en) | Picture processor |