JP2005121402A - Color image processing unit - Google Patents

Color image processing unit Download PDF

Info

Publication number
JP2005121402A
JP2005121402A JP2003354598A JP2003354598A JP2005121402A JP 2005121402 A JP2005121402 A JP 2005121402A JP 2003354598 A JP2003354598 A JP 2003354598A JP 2003354598 A JP2003354598 A JP 2003354598A JP 2005121402 A JP2005121402 A JP 2005121402A
Authority
JP
Japan
Prior art keywords
captured image
color
image
detection target
pixel
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
Application number
JP2003354598A
Other languages
Japanese (ja)
Inventor
Tasuku Yuguchi
翼 湯口
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.)
Optex FA Co Ltd
Original Assignee
Optex FA 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 Optex FA Co Ltd filed Critical Optex FA Co Ltd
Priority to JP2003354598A priority Critical patent/JP2005121402A/en
Publication of JP2005121402A publication Critical patent/JP2005121402A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color image processing unit capable of rapid detection processing even if the posture of a detection target is changed. <P>SOLUTION: While captured image data from an image sensor 2 are being transferred, only the color of a pixel is read from the captured image data, and a center-of-gravity position for each detection target color featuring at least two colors selected for the captured image simultaneously is computed, thus converting the posture of the captured image so as to coincide with that of a reference image from the center-of-gravity position, and determining whether the detection target M is conforming or not rapidly. Therefore, even if the posture of the detection target M is changed, it is not necessary to store a number of images and search a feature point as conventionally, thus achieving rapid detection processing. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、検出対象物の色を検出して検出対象物の良否を判定するカラー画像処理装置に関し、特に検出対象物の姿勢が変化しても短時間に判定可能な装置に関する。   The present invention relates to a color image processing apparatus that detects the color of a detection object and determines the quality of the detection object, and more particularly to an apparatus that can determine in a short time even if the attitude of the detection object changes.

従来から、撮像した検出対象物の撮像画像と、予め撮像した基準となる基準画像とを比較して検出対象物の良否を判定するカラー画像処理装置が知られている。検出対象物の位置、角度などの姿勢が変化する場合、両画像が一致するように、撮像画像または基準画像のいずれか一方を順次回転移動させた上で、両画像を比較する。   2. Description of the Related Art Conventionally, there is known a color image processing apparatus that compares a captured image of a detection target with a reference image that is captured in advance and determines whether the detection target is good or bad. When the posture such as the position and angle of the detection object changes, either the captured image or the reference image is sequentially rotated and compared so that the images match.

この場合、画像を順次回転移動させたものを多数記憶させて比較する必要があり、メモリ容量が大きくなると同時に、処理時間がかかるという問題がある。このため、基準画像の複数の特徴的な点を登録しておき、撮像画像から各特徴点をサーチして、各特徴点の基準点を中心とする角度を求め、その角度分を回転させて比較する画像処理装置が知られている(例えば、特許文献1)。
特開平11−53564号公報
In this case, it is necessary to store and compare a number of images that are sequentially rotated and moved, and there is a problem that the processing time is increased at the same time as the memory capacity increases. For this reason, a plurality of characteristic points of the reference image are registered, each feature point is searched from the captured image, an angle around the reference point of each feature point is obtained, and the angle is rotated. An image processing apparatus to be compared is known (for example, Patent Document 1).
Japanese Patent Laid-Open No. 11-53564

しかし、特許文献1では、多数の画像を記憶させる必要がないためメモリ容量は小さくなるが、特徴点をサーチする際、メモリに記憶した撮像画像に基づいて、複数の画素をブロックにして、1ブロックずつ順次ずらしながら、特徴点を含むブロックをサーチする必要があり、サーチに時間がかかり、依然として処理時間がかかるという問題点があった。   However, in Patent Document 1, since it is not necessary to store a large number of images, the memory capacity is reduced. However, when searching for feature points, a plurality of pixels are made into blocks based on captured images stored in the memory. There is a problem in that it is necessary to search for blocks including feature points while sequentially shifting the blocks, which takes time and still takes processing time.

本発明は、前記の問題点を解決して、検出対象物の姿勢が変化しても迅速な検出処理が可能なカラー画像処理装置を提供することを目的としている。   SUMMARY OF THE INVENTION An object of the present invention is to provide a color image processing apparatus that can solve the above-described problems and can perform a rapid detection process even if the posture of a detection object changes.

前記目的を達成するために、本発明の一構成にかかるカラー画像処理装置は、検出対象物のカラー画像を撮像するイメージセンサと、イメージセンサから転送された検出対象物の撮像画像データから画素を読み出して、画素ごとに色を抽出する色抽出手段と、前記画素ごとに色が抽出された検出対象物の撮像画像を記憶する撮像画像記憶手段と、撮像画像中で2色以上の特徴のある検出対象色を選択する検出対象色選択手段と、前記イメージセンサからの撮像画像データの転送中に、前記画素ごとに色が抽出された検出対象物の撮像画像に基づいて、検出対象色ごとの重心位置を演算する重心位置演算手段と、検出対象色ごとの撮像画像の重心位置と予め登録された基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置、相対角度、相対大きさを演算する撮像画像演算手段と、前記演算された相対位置、相対角度、相対大きさに基づいて、撮像画像の姿勢を基準画像の姿勢に一致するように変換する撮像画像変換手段と、基準画像と前記変換後の撮像画像とを比較して、その一致度を演算し、検出対象物の良否を判定する判定手段とを備えている。     In order to achieve the above object, a color image processing apparatus according to one configuration of the present invention includes an image sensor that captures a color image of a detection target, and pixels from captured image data of the detection target transferred from the image sensor. Color extraction means for reading out and extracting a color for each pixel, captured image storage means for storing a captured image of a detection object from which a color has been extracted for each pixel, and characteristics of two or more colors in the captured image A detection target color selecting unit that selects a detection target color and a detection target color for each detection target color based on a captured image of the detection target in which a color is extracted for each pixel during transfer of the captured image data from the image sensor. Based on the center-of-gravity position calculation means for calculating the center-of-gravity position, the center-of-gravity position of the captured image for each color to be detected, and the reference center-of-gravity position of the reference image registered in advance, the relative position of the captured image with respect to the reference image A captured image calculation means for calculating a relative angle and a relative size, and an imaging for converting the posture of the captured image to match the posture of the reference image based on the calculated relative position, relative angle and relative size. The image conversion unit includes a determination unit that compares the reference image and the converted captured image, calculates the degree of coincidence, and determines the quality of the detection target.

この構成によれば、イメージセンサからの撮像画像データの転送中に、撮像画像データから単に画素の色だけを読み出し、同時に撮像画像について選択した2色以上の特徴ある検出対象色ごとの重心位置を演算することにより、この重心位置と基準重心位置とに基づいて撮像画像の姿勢を基準画像の姿勢に一致するように変換でき、迅速に検出対象物の良否を判定することができるので、検出対象物の姿勢が変化しても、従来のように、多数の画像を記憶したり、特徴点をサーチする必要がなく、迅速な検出処理が可能となる。   According to this configuration, during the transfer of the captured image data from the image sensor, only the pixel color is read from the captured image data, and the barycentric position for each of two or more characteristic detection target colors selected for the captured image is simultaneously determined. By calculating, the orientation of the captured image can be converted to match the orientation of the reference image based on the center of gravity position and the reference center of gravity position, and the quality of the detection target can be quickly determined. Even if the posture of an object changes, it is not necessary to store a large number of images or search for feature points as in the conventional case, and a rapid detection process is possible.

好ましくは、前記重心位置演算手段は、撮像画像の画素ごとに検出対象色を判別し、同一色の複数点の位置を検出して、その座標の平均値から重心位置を演算するものである。したがって、検出対象色ごとの重心位置を正確に演算することができる。   Preferably, the center-of-gravity position calculating means determines a detection target color for each pixel of the captured image, detects the positions of a plurality of points of the same color, and calculates the center-of-gravity position from the average value of the coordinates. Therefore, it is possible to accurately calculate the barycentric position for each color to be detected.

好ましくは、前記基準画像演算手段は、撮像画像の選択した検出対象色の各重心位置間の中間位置と、基準画像の選択した検出対象色の各基準重心位置間の中間位置とから、基準画像に対する撮像画像の相対位置を演算し、撮像画像の選択した検出対象色の各重心位置の逆正接と、基準画像の選択した検出対象色の各基準重心位置の逆正接とから、基準画像に対する撮像画像の相対角度を演算し、撮像画像の選択した検出対象色の各重心位置間の距離と、基準画像の選択した検出対象色の各基準重心位置間の距離とから、基準画像に対する撮像画像の相対大きさを演算するものである。したがって、基準画像に対する撮像画像の相対位置、相対角度、相対大きさを正確に演算できる。   Preferably, the reference image calculation means calculates a reference image from an intermediate position between the centroid positions of the detection target colors selected in the captured image and an intermediate position between the reference centroid positions of the detection target colors selected in the reference image. The relative position of the picked-up image with respect to the image is calculated, and the reference image is picked up from the arc tangent of each centroid position of the selected detection target color of the picked-up image and the arc tangent of each reference centroid position of the selected detection target color of the reference image. The relative angle of the image is calculated, and the distance between each centroid position of the selected detection target color of the captured image and the distance between each reference centroid position of the selected detection target color of the reference image are calculated. The relative size is calculated. Therefore, the relative position, relative angle, and relative size of the captured image with respect to the reference image can be accurately calculated.

好ましくは、検出対象物周囲の明るさ変化に応じて、前記イメージセンサからの転送中に、画素ごとに三原色の比率を演算するとともに、前記演算により三原色の比率が同一となる白色と黒色について検出処理を行うことにより、各画素の輝度を補正する明るさ補正手段を備えている。したがって、画素ごとに三原色の比率を求めることにより、検出対象物の影や照明の明るさムラが補正されるので、各画素の輝度が安定して補正される。   Preferably, the ratio of the three primary colors is calculated for each pixel during transfer from the image sensor according to the brightness change around the detection target, and white and black in which the ratio of the three primary colors is the same are detected by the calculation. Brightness correction means for correcting the luminance of each pixel by performing processing is provided. Therefore, by obtaining the ratio of the three primary colors for each pixel, the shadow of the detection target and the uneven brightness of the illumination are corrected, so that the luminance of each pixel is stably corrected.

本発明の他の構成にかかるカラー画像処理装置は、検出対象物のカラー画像を撮像するイメージセンサと、イメージセンサから転送された検出対象物の撮像画像データから読み出して、画素ごとに色を抽出する色抽出手段と、前記画素ごとに色が抽出された検出対象物の撮像画像を記憶する撮像画像記憶手段と、撮像画像中で1色の特徴のある検出対象色を選択する検出対象色選択手段と、前記イメージセンサからの撮像画像データの転送中に、前記画素ごとに色が抽出された検出対象物の撮像画像に基づいて、検出対象色の重心位置を演算する重心位置演算手段と、検出対象色の画素数を計測する画素数計測手段と、検出対象色の撮像画像の重心位置と予め登録された基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置を演算するとともに、検出対象色の撮像画像の画素数と予め登録された基準画像の基準画素数とに基づいて、基準画像に対する撮像画像の相対大きさを演算する撮像画像演算手段と、前記演算された相対位置、相対大きさに基づいて、撮像画像の姿勢を基準画像の姿勢に一致するように変換する撮像画像変換手段と、
基準画像と前記変換後の撮像画像とを比較して、その一致度を演算し、検出対象物の良否を判定する判定手段とを備えている。
A color image processing apparatus according to another configuration of the present invention reads an image sensor that captures a color image of a detection object and captured image data of the detection object transferred from the image sensor, and extracts a color for each pixel. A color extraction unit that performs detection, a captured image storage unit that stores a captured image of a detection target in which a color is extracted for each pixel, and a detection target color selection that selects a detection target color having one characteristic in the captured image Centroid position calculating means for calculating the centroid position of the detection target color based on the captured image of the detection target object in which the color is extracted for each pixel during transfer of the captured image data from the image sensor; Based on the number-of-pixels measuring means for measuring the number of pixels of the detection target color, the center of gravity position of the captured image of the detection target color, and the reference center of gravity position of the reference image registered in advance, the phase of the captured image with respect to the reference image A captured image calculation means for calculating a position and calculating a relative size of the captured image with respect to the reference image based on the number of pixels of the captured image of the detection target color and the reference pixel number of the reference image registered in advance; Captured image conversion means for converting the orientation of the captured image to match the orientation of the reference image based on the calculated relative position and relative size;
A determination unit that compares the reference image with the captured image after conversion, calculates the degree of coincidence, and determines whether the detection target is good or bad is provided.

この構成によれば、イメージセンサからの撮像画像データの転送中に、撮像画像データから単に画素の色だけを読み出し、同時に撮像画像について選択した1色の特徴ある検出対象色の重心位置および画素数を演算することにより、特徴ある検出対象色が1色しか存在しない際に、重心位置と基準重心位置と、画素数と基準画素数とに基づいて撮像画像の姿勢を基準画像の姿勢に一致するように変換でき、迅速に検出対象物の良否を判定することができるので、同様に、検出対象物の姿勢が変化しても、従来のように、多数の画像を記憶したり、特徴点をサーチする必要がなく、迅速な検出処理が可能となる。   According to this configuration, during the transfer of the captured image data from the image sensor, only the color of the pixel is read from the captured image data, and at the same time, the barycentric position and the number of pixels of the characteristic detection target color selected for the captured image By calculating, the orientation of the captured image matches the orientation of the reference image based on the center of gravity position, the reference center of gravity position, the number of pixels, and the number of reference pixels when only one characteristic detection target color exists. Similarly, even if the posture of the detection target changes, a large number of images can be stored or feature points can be stored as in the past. There is no need to search, and a quick detection process is possible.

以下、本発明の実施形態を図面にしたがって説明する。図1は、本発明の第1実施形態に係るカラー画像処理装置を示すブロック図である。本装置1は生産ライン上に設けられ、例えば検出対象物Mがビンに貼られた2色(例えば赤色と青色)を有するラベル(図3)などであって、選択した2色以上の検出対象色に基づいて、基準画像の姿勢に撮像画像の姿勢を一致させたうえで、良品、不良品を判別するものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a color image processing apparatus according to the first embodiment of the present invention. The apparatus 1 is provided on a production line, for example, a label (FIG. 3) having two colors (for example, red and blue) in which a detection object M is pasted on a bottle, and the detection objects having two or more selected colors. Based on the color, the orientation of the captured image is matched with the orientation of the reference image, and a non-defective product or a defective product is discriminated.

本装置1は、検出対象物Mのカラー画像をスキャンしながら撮像する、例えばCMOSイメージセンサのようなイメージセンサ2と、イメージセンサ2から転送された検出対象物Mの撮像画像データから読み出して、画素ごとに検出対象物Mの色を例えばR(赤)、G(緑)、B(青)の3原色に変換して色を抽出する色抽出手段3とを備えている。この場合、撮像画像データから単に画素の色だけが読み出される。この色抽出手段3は、撮像画像の各画素の指定した色の輝度から、検出色相および色余裕度に基づいて、各色を抽出する。検出色相は、指定した色ごとに、指定した色の輝度/3原色の輝度の総和で計算され、例えば赤の輝度が100、緑の輝度が0、青の輝度が0で、赤を指定した場合には、100/(100+0+0)=1となる。   The apparatus 1 captures a color image of the detection object M while scanning, for example, an image sensor 2 such as a CMOS image sensor, and reads from the captured image data of the detection object M transferred from the image sensor 2. For each pixel, a color extraction unit 3 is provided for extracting the color by converting the color of the detection object M into, for example, three primary colors of R (red), G (green), and B (blue). In this case, only the color of the pixel is read from the captured image data. The color extracting unit 3 extracts each color from the luminance of the color designated by each pixel of the captured image based on the detected hue and the color margin. The detected hue is calculated for each specified color by the sum of the brightness of the specified color / the brightness of the three primary colors. For example, the brightness of red is 100, the brightness of green is 0, the brightness of blue is 0, and red is specified. In this case, 100 / (100 + 0 + 0) = 1.

また、本装置1は、撮像画像記憶手段(撮像画像メモリ)4、重心位置演算手段7、撮像画像演算手段8、撮像画像変換手段9、判定手段12および表示部14を備えている。CPU10は、撮像画像中で例えば2色の特徴のある、つまり相異なり、背景と区別しうる検出対象色を選択する検出対象色選択手段5、および検出対象物の所定の位置、角度、大きさからなる姿勢をもつ基準画像と、この基準画像中で検出対象色ごとの基準重心位置とを、予め登録する基準画像登録手段6を有している。さらに、本装置1は、明るさ補正・色比率演算手段13、撮像画像中で前記検出対象色選択手段5により選択された各検出対象色の範囲を検出する検出対象色範囲検出手段15、各検出対象色の画素数を計測する画素数計測手段17、および前記基準画像登録手段6により予め登録された基準画像と検出対象色ごとの基準重心位置を記憶する基準画像メモリ16を備えている。   In addition, the apparatus 1 includes a captured image storage unit (captured image memory) 4, a gravity center position calculation unit 7, a captured image calculation unit 8, a captured image conversion unit 9, a determination unit 12, and a display unit 14. The CPU 10 has, for example, a detection target color selection unit 5 that selects a detection target color that has characteristics of two colors in the captured image, that is, is different and can be distinguished from the background, and a predetermined position, angle, and size of the detection target. And a reference image registration means 6 for registering in advance a reference image having a posture composed of and a reference barycentric position for each color to be detected in the reference image. Further, the apparatus 1 includes brightness correction / color ratio calculation means 13, detection target color range detection means 15 for detecting each detection target color range selected by the detection target color selection means 5 in the captured image, A pixel number measuring unit 17 that measures the number of pixels of the detection target color and a reference image memory 16 that stores a reference image registered in advance by the reference image registration unit 6 and a reference centroid position for each detection target color are provided.

前記撮像画像メモリ4は、前記色抽出手段3により画素ごとに色が抽出された検出対象物Mの撮像画像が書き込まれて、この撮像画像を記憶する。各画素の輝度は明るさ補正・色比率演算手段13により明るさ補正される。前記重心位置演算手段7は、イメージセンサ2からの撮像画像データの転送中に、前記画素ごとに色が抽出された検出対象物Mの撮像画像に基づいて、検出対象色ごと、つまり赤色、青色ごとに、その色の範囲におけるそれぞれの重心位置を演算する。   In the captured image memory 4, a captured image of the detection target M from which the color is extracted for each pixel by the color extraction unit 3 is written, and the captured image is stored. The brightness of each pixel is corrected by brightness correction / color ratio calculation means 13. The center-of-gravity position calculation means 7 is for each detection target color, that is, red, blue, based on the captured image of the detection target M from which the color has been extracted for each pixel during transfer of the captured image data from the image sensor 2. Each centroid position in the color range is calculated.

例えば、前記重心位置演算手段7は、撮像画像の画素ごとに前記検出対象色を判別し、同一色(赤色または青色)の複数点の位置を検出して、その座標の平均値から重心位置を演算するものである。すなわち、
重心位置=Σ(検出対象色座標)÷Σ(検出対象色の画素数)
により、X座標とY座標のそれぞれについて演算される。
この場合、イメージセンサ2からの撮像画像データの転送中に、撮像画像の各画素の色を順次取り込みながら、画素が検出対象色であれば、その座標を順次加算する。そして、撮像画像データの転送が終了するタイミングとほぼ同じタイミングで、上記演算により重心位置の演算を終了する。
For example, the barycentric position calculation means 7 determines the color to be detected for each pixel of the captured image, detects the positions of a plurality of points of the same color (red or blue), and determines the barycentric position from the average value of the coordinates. It is to calculate. That is,
Center of gravity = Σ (detection target color coordinates) ÷ Σ (number of detection target color pixels)
Is calculated for each of the X coordinate and the Y coordinate.
In this case, while the captured image data from the image sensor 2 is being transferred, the color of each pixel of the captured image is sequentially captured, and if the pixel is a detection target color, the coordinates are sequentially added. Then, the calculation of the center of gravity position is completed by the above calculation at substantially the same timing as when the transfer of the captured image data ends.

前記撮像画像演算手段8は、前記イメージセンサ2からの撮像画像データの転送後に、各検出対象色についての、前記演算された撮像画像の重心位置と、基準画像メモリ16から読み出されたこれと同一色の基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置、相対角度、相対大きさを演算する。以下、撮像画像演算手段8の一例を説明する。   The captured image calculation means 8, after the transfer of the captured image data from the image sensor 2, the barycentric position of the calculated captured image for each color to be detected, and this read out from the reference image memory 16. Based on the reference centroid position of the reference image of the same color, the relative position, relative angle, and relative size of the captured image with respect to the reference image are calculated. Hereinafter, an example of the captured image calculation unit 8 will be described.

撮像画像の選択した検出対象色の各重心位置間の中間位置と、基準画像の選択した検出対象色の各基準重心位置間の中間位置とから、基準画像に対する撮像画像の相対位置(移動量)が演算される。例えば、
相対位置=(撮像画像の選択した2色の各重心位置間の中間位置)
−(基準画像の選択した2色の各基準重心位置間の中間位置)
により、求めることができる。
The relative position (movement amount) of the captured image with respect to the reference image from the intermediate position between the centroid positions of the selected detection target color of the captured image and the intermediate position between the reference centroid positions of the selected detection target color of the reference image Is calculated. For example,
Relative position = (intermediate position between each barycentric position of the two selected colors of the captured image)
-(Intermediate position between the reference centroid positions of the two selected colors of the reference image)
Can be obtained.

撮像画像の選択した検出対象色の各重心位置の逆正接(tan−1)と、登録画像の選択した検出対象色の各基準重心位置の逆正接とから、基準画像に対する撮像画像の相対角度(回転角度)が演算される。例えば、
相対角度=(撮像画像の選択した2色の各重心位置の逆正接)
−(基準画像の選択した2色の各基準重心位置の逆正接)
により、求めることができる。
From the arc tangent (tan −1 ) of each centroid position of the selected detection target color of the captured image and the arc tangent of each reference centroid position of the selected detection target color of the registered image, the relative angle of the captured image with respect to the reference image ( Rotation angle) is calculated. For example,
Relative angle = (inverse tangent of each gravity center position of the two selected colors of the captured image)
-(Inverse tangent of each reference barycentric position of the two selected colors of the reference image)
Can be obtained.

撮像画像の選択した検出対象色の各重心位置間の距離と、基準画像の選択した検出対象色の各基準重心位置間の距離とから、基準画像に対する撮像画像の相対大きさ(拡大率)が演算される。例えば、
相対大きさ=(撮像画像の選択した2色の各重心位置間の距離)
÷(基準画像の選択した2色の各基準重心位置間の距離)
により、求めることができる。
The relative size (magnification) of the captured image with respect to the reference image is determined from the distance between the centroid positions of the selected detection target color of the captured image and the distance between the reference centroid positions of the selected detection target color of the reference image. Calculated. For example,
Relative size = (distance between each barycentric position of the two selected colors of the captured image)
÷ (Distance between each center of gravity of the selected two colors of the reference image)
Can be obtained.

前記撮像画像変換手段9は、前記撮像画像演算手段8により演算された相対位置、相対角度、相対大きさに基づいて、撮像画像の姿勢を基準画像(元の画像)の姿勢に一致するように変換する。例えば、
変換後のX座標={{(COS(回転角度)×元のX座標)−(SIN(回転角度)×元のY座標)}÷拡大率}+移動量
変換後のY座標={{(SIN (回転角度)×元のX座標)+(COS (回転角度)×元のY座標)}÷拡大率}+移動量
により、求めることができる。変換後の撮像画像は表示部14に表示する際に表示部14に転送され、そのメモリに記憶される。
The captured image conversion unit 9 matches the orientation of the captured image with the orientation of the reference image (original image) based on the relative position, relative angle, and relative size calculated by the captured image calculation unit 8. Convert. For example,
X coordinate after conversion = {{(COS (rotation angle) × original X coordinate) − (SIN (rotation angle) × original Y coordinate)} ÷ magnification ratio} + movement amount Y coordinate after conversion = {{( SIN (rotation angle) × original X coordinate) + (COS (rotation angle) × original Y coordinate)} ÷ magnification} + movement amount. The captured image after conversion is transferred to the display unit 14 when displayed on the display unit 14 and stored in the memory.

前記判定手段12は、前記基準画像メモリ16から読み出された基準画像と前記変換後の撮像画像とを比較して、その一致度を演算し、一致度の所定のしきい値に基づいて、検出対象物Mの良否を判定する。表示部14は、この判定結果を表示する。また、表示部14は、基準画像および変換した撮像画像も表示するので、目視でも検出対象物Mの良否を判定できる。   The determination unit 12 compares the reference image read from the reference image memory 16 with the converted captured image, calculates the degree of coincidence, and based on a predetermined threshold value of coincidence, The quality of the detection object M is determined. The display unit 14 displays the determination result. Moreover, since the display part 14 also displays a reference | standard image and the converted captured image, it can judge the quality of the detection target M also visually.

また、生産ライン上の検出対象物Mの姿勢が変化するとそれに伴って検出対象物Mの影が変化する場合や、照明を検出対象物Mに当てたときに照明の当る場所によって明るさムラが生じる場合などがあり、この影の変化や照明の明るさムラなどがあると同一物品であっても異なる物品として誤検出する場合が生じ得る。前記明るさ補正・色比率演算手段13は、この誤検出を防止するものである。この明るさ補正・色比率演算手段13は、画素ごとに三原色の比率を演算する色比率演算部と、前記演算により三原色の比率が同一となる白色と黒色について検出処理を行う白黒検出処理部とを有して、色比率演算および白黒検出処理の2段階の処理を行う。     In addition, when the posture of the detection target M on the production line changes, the shadow of the detection target M changes accordingly, or when the illumination is applied to the detection target M, the brightness unevenness varies depending on the location of the illumination. If there is a change in shadow or uneven brightness of illumination, the same article may be erroneously detected as a different article. The brightness correction / color ratio calculation means 13 prevents this erroneous detection. The brightness correction / color ratio calculation means 13 includes a color ratio calculation unit that calculates the ratio of the three primary colors for each pixel, and a black and white detection processing unit that performs detection processing for white and black that have the same ratio of the three primary colors by the calculation. The two-stage processing of color ratio calculation and black and white detection processing is performed.

色比率演算部は、例えば受像データの各画素の3原色(RGB)の輝度から、画素ごとの色の比率を演算する。色の比率は、R(赤)の比率がR/(R+G+B)、G(緑)の比率がG/(R+G+B)、B(青)の比率がB/(R+G+B)で求められる。例えば、R、G、Bの輝度がそれぞれ、50、100、0のとき、Rの比率は50/150=1/3、Gの比率は100/150=2/3、Bの比率は0となる。   The color ratio calculation unit calculates the color ratio of each pixel from the luminance of the three primary colors (RGB) of each pixel of the received image data, for example. The ratio of colors is obtained by the ratio of R (red) R / (R + G + B), the ratio of G (green) G / (R + G + B), and the ratio of B (blue) B / (R + G + B). For example, when the luminances of R, G, and B are 50, 100, and 0, respectively, the ratio of R is 50/150 = 1/3, the ratio of G is 100/150 = 2/3, and the ratio of B is 0. Become.

つぎに、前記した色比率演算だけでは、1画素全体が白色の場合に100/(100+100+100)=1/3、1画素全体が黒色の場合に1/(1+1+1)=1/3で、三原色の比率が全く同一となり、白色と黒色の検出ができない。このため、白黒検出処理部により、(R+G+B)の合計値を所定のしきい値に基づいて演算して、例えば白色は補正せずに、黒色を補正することにより、白色と黒色の検出処理を行うようにしている。(R+G+B)の合計値が例えばしきい値20以下の場合には、これを20に補正する。そうすると、黒色の三原色の比率は1/20の補正値となって、1/3の値である白色の三原色の比率と区別でき、黒色を検出できる。   Next, with only the color ratio calculation described above, 100 / (100 + 100 + 100) = 1/3 when one pixel is white, and 1 / (1 + 1 + 1) = 1/3 when one pixel is black. The ratio is exactly the same, and white and black cannot be detected. For this reason, the black and white detection processing unit calculates the total value of (R + G + B) based on a predetermined threshold, and corrects black without correcting white, for example, to detect white and black. Like to do. For example, when the total value of (R + G + B) is equal to or less than the threshold value 20, it is corrected to 20. Then, the ratio of the three primary colors of black becomes a correction value of 1/20, which can be distinguished from the ratio of the three primary colors of white which is a value of 1/3, and black can be detected.

なお、検出対象物Mの姿勢の変化によってその影の変化や照明の明るさムラなどが生じない場合には、明るさ補正・色比率演算手段13を設けなくともよい。   If the change in the posture of the detection object M does not cause a change in shadow or uneven brightness of the illumination, the brightness correction / color ratio calculation means 13 may not be provided.

図2に、上記構成のカラー画像処理装置の動作を示すタイムチャート図を示す。まず、ステップaにおいて、イメージセンサ2から撮像画像データが転送され、画素ごとに色が抽出されるとともに、撮像画像が撮像画像メモリ4に書き込まれる。これとほぼ同じ(若干遅い)タイミングで、明るさ補正・色比率演算が行われて各画素の輝度が明るさ補正されるとともに、各検出対象色の範囲検出とその重心計算が行われる。   FIG. 2 is a time chart showing the operation of the color image processing apparatus having the above configuration. First, in step a, the captured image data is transferred from the image sensor 2, the color is extracted for each pixel, and the captured image is written in the captured image memory 4. At almost the same timing (slightly later), brightness correction and color ratio calculation are performed to correct the brightness of each pixel, and the detection of the range of each detection target color and the calculation of its center of gravity are performed.

次いで、ステップbにおいて、基準画像に対する撮像画像の相対位置、相対角度、相対大きさの演算が行われる。   Next, in step b, the relative position, relative angle, and relative size of the captured image with respect to the reference image are calculated.

そして、ステップcにおいて、撮像画像メモリ4から撮像画像が読み出され、前記演算された相対位置、相対角度、相対大きさに基づいて撮像画像の座標変換が行なわれて、変換後の撮像画像が表示部14のメモリに取り込まれ、基準画像メモリ16から基準画像が読み出される。これとほぼ同じ(若干遅い)タイミングで、基準画像と変換後の撮像画像との一致度が演算されて、検出対象物Mの良否が判定される。   In step c, the captured image is read from the captured image memory 4, and coordinate conversion of the captured image is performed based on the calculated relative position, relative angle, and relative size, and the converted captured image is The reference image is read into the memory of the display unit 14 and read out from the reference image memory 16. The degree of coincidence between the reference image and the converted captured image is calculated at substantially the same timing (slightly later), and the quality of the detection object M is determined.

図3は、前記ステップcにおける座標変換動作を示す図である。(A)において、座標変換前の撮像画像が、座標変換後のメモリ取込み方向によりメモリに取り込まれる。そうすると、(A)の撮像画像の姿勢は、(B)に示す基準画像の姿勢に一致する。   FIG. 3 is a diagram showing a coordinate conversion operation in step c. In (A), the captured image before coordinate conversion is taken into the memory according to the memory take-in direction after coordinate conversion. Then, the posture of the captured image in (A) matches the posture of the reference image shown in (B).

このように、本装置は、イメージセンサ2からの撮像画像データの転送中に、検出対象物の撮像画像データから読み出して画素ごとに色を抽出し、選択された各検出対象色ごとの重心位置を演算する。次いで、各検出対象色ごとの重心位置と基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置、相対角度、相対大きさを演算し、撮像画像の姿勢を基準画像の姿勢に一致するように変換する。そして、基準画像と変換後の撮像画像との一致度から検出対象物の良否を判定する。   As described above, during transfer of the captured image data from the image sensor 2, the present apparatus reads out the captured image data of the detection target and extracts a color for each pixel, and the barycentric position for each selected detection target color. Is calculated. Next, based on the centroid position for each color to be detected and the reference centroid position of the reference image, the relative position, relative angle, and relative size of the captured image with respect to the reference image are calculated, and the orientation of the captured image is changed to the orientation of the reference image. To match. Then, the quality of the detection target is determined from the degree of coincidence between the reference image and the converted captured image.

これにより、イメージセンサ2からの撮像画像データの転送中に、撮像画像データから単に画素の色だけを読み出し、同時に撮像画像について選択した2色以上の特徴ある検出対象色ごとの重心位置を演算することにより、この重心位置と基準重心位置とに基づいて撮像画像の姿勢を基準画像の姿勢に一致するように変換でき、迅速に検出対象物の良否を判定することができるので、検出対象物の姿勢が変化しても、従来のように、多数の画像を記憶したり、特徴点をサーチする必要がなく、迅速な検出処理が可能となる。   Thereby, during the transfer of the captured image data from the image sensor 2, only the color of the pixel is read from the captured image data, and at the same time, the barycentric position is calculated for each of two or more characteristic detection target colors selected for the captured image. Thus, the orientation of the captured image can be converted to match the orientation of the reference image based on the center of gravity position and the reference center of gravity position, and the quality of the detection object can be quickly determined. Even if the posture changes, it is not necessary to store a large number of images or search for feature points as in the prior art, and a quick detection process is possible.

つぎに、本発明の第2実施形態に係るカラー画像処理装置について説明する。第2実施形態は、第1実施形態と異なり、撮像画像中で特徴ある検出対象色が1色しか存在しない場合に用いられるものであり、検出対象色選択手段5、重心位置演算手段7、撮像画像演算手段8、撮像画像変換手段9および画素数計測手段17がそれぞれ第1実施形態と異なる。その他の構成は、第1実施形態と同様である。第2実施形態の検出対象色選択手段5は、撮像画像中で1色の特徴のある検出対象色を選択し、画素数計測手段17はその検出対象色の画素数を計測する。   Next, a color image processing apparatus according to the second embodiment of the present invention will be described. Unlike the first embodiment, the second embodiment is used when there is only one characteristic detection target color in the captured image. The detection target color selection unit 5, the gravity center position calculation unit 7, the imaging The image calculation means 8, the captured image conversion means 9, and the pixel number measurement means 17 are different from the first embodiment. Other configurations are the same as those in the first embodiment. The detection target color selection unit 5 of the second embodiment selects a detection target color having one color characteristic in the captured image, and the pixel number measurement unit 17 measures the number of pixels of the detection target color.

また、重心位置演算手段7は、イメージセンサ2からの撮像画像データの転送中に、画素ごとに色が抽出された検出対象物Mの撮像画像に基づいて、検出対象色(1色)の重心位置を演算する。すなわち、
重心位置=Σ(検出対象色座標)÷Σ(検出対象色の画素数)
により、演算される。
Further, the center-of-gravity position calculation unit 7 calculates the center of gravity of the detection target color (one color) based on the captured image of the detection target M from which the color is extracted for each pixel during the transfer of the captured image data from the image sensor 2. Calculate the position. That is,
Center of gravity = Σ (detection target color coordinates) ÷ Σ (number of detection target color pixels)
Is calculated by

撮像画像演算手段8は、検出対象色の撮像画像の重心位置と予め登録された基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置を演算するとともに、検出対象色の撮像画像の画素数と予め登録された基準画像の基準画素数とに基づいて、基準画像に対する撮像画像の相対大きさを演算する。すなわち、
相対位置=(撮像画像の選択した1色の重心位置)
−(基準画像の選択した1色の基準重心位置)
相対大きさ=√{(撮像画像の選択した1色の画素数)
÷(基準画像の選択した1色の基準画素数)}
により、求めることができる。なお、相対角度は検出対象色が1色の場合には演算できないため、0°とする。
The captured image calculation means 8 calculates the relative position of the captured image with respect to the reference image based on the centroid position of the captured image of the detection target color and the reference centroid position of the reference image registered in advance, and captures the detection target color. The relative size of the captured image with respect to the reference image is calculated based on the number of pixels of the image and the reference pixel number of the reference image registered in advance. That is,
Relative position = (centroid position of one color selected in the captured image)
-(Reference centroid position of one color selected in the reference image)
Relative size = √ {(number of pixels of one color selected in the captured image)
÷ (number of reference pixels of one color selected in the reference image)}
Can be obtained. The relative angle is 0 ° because it cannot be calculated when the detection target color is one color.

撮像画像変換手段9は、前記撮像画像演算手段8により演算された相対位置、相対大きさに基づいて、撮像画像の姿勢を基準画像の姿勢に一致するように変換する。そして、判定手段12により、同様に、基準画像と変換後の撮像画像とから検出対象物Mの良否が判定される。   The captured image conversion unit 9 converts the orientation of the captured image to match the orientation of the reference image based on the relative position and relative size calculated by the captured image calculation unit 8. Similarly, the determination unit 12 determines the quality of the detection object M from the reference image and the converted captured image.

これにより、イメージセンサ2からの撮像画像データの転送中に、撮像画像データから単に画素の色だけを読み出し、同時に撮像画像について選択した1色の特徴ある検出対象色の重心位置および画素数を演算することにより、特徴ある検出対象色が1色しか存在しない際に、重心位置と基準重心位置と、画素数と基準画素数とに基づいて撮像画像の姿勢を基準画像の姿勢に一致するように変換でき、迅速に検出対象物の良否を判定することができるので、第1実施形態と同様に、検出対象物の姿勢が変化しても、従来のように、多数の画像を記憶したり、特徴点をサーチする必要がなく、迅速な検出処理が可能となる。   As a result, during the transfer of the captured image data from the image sensor 2, only the pixel color is read out from the captured image data, and at the same time, the barycentric position and the number of pixels of the characteristic detection target color selected for the captured image are calculated. By doing so, when only one characteristic detection target color exists, the posture of the captured image matches the posture of the reference image based on the centroid position, the reference centroid position, the number of pixels, and the reference pixel number. Since it can be converted and the quality of the detection object can be quickly determined, as in the first embodiment, even if the posture of the detection object changes, a large number of images can be stored as in the past, There is no need to search for feature points, and a quick detection process is possible.

なお、前記した実施形態では、検出対象色を1色または2色としているが、3色以上であってもよい。   In the above-described embodiment, the detection target color is one color or two colors, but may be three or more colors.

本発明の第1実施形態に係るカラー画像処理装置を示すブロック図である。1 is a block diagram illustrating a color image processing apparatus according to a first embodiment of the present invention. 図1のカラー画像処理装置の動作を示すタイムチャート図である。It is a time chart figure which shows operation | movement of the color image processing apparatus of FIG. 図1のカラー画像処理装置の座標変換動作を示す図である。It is a figure which shows the coordinate transformation operation | movement of the color image processing apparatus of FIG.

符号の説明Explanation of symbols

1:カラー画像処理装置
2:イメージセンサ
3:色抽出手段
4:撮像画像記憶手段(撮像画像メモリ)
5:検出対象色選択手段
6:基準画像登録手段
7:重心位置演算手段
8:撮像画像演算手段
9:撮像画像変換手段
12:判定手段
13:明るさ補正・色比率演算手段
14:表示部
M:検出対象物
1: Color image processing device 2: Image sensor 3: Color extraction means 4: Captured image storage means (captured image memory)
5: Detection target color selection means 6: Reference image registration means 7: Center of gravity position calculation means 8: Captured image calculation means 9: Captured image conversion means 12: Determination means 13: Brightness correction / color ratio calculation means 14: Display unit M : Detection target

Claims (5)

検出対象物のカラー画像を撮像するイメージセンサと、
イメージセンサから転送された検出対象物の撮像画像データから読み出して、画素ごとに色を抽出する色抽出手段と、
前記画素ごとに色が抽出された検出対象物の撮像画像を記憶する撮像画像記憶手段と、
撮像画像中で2色以上の特徴のある検出対象色を選択する検出対象色選択手段と、
前記イメージセンサからの撮像画像データの転送中に、前記画素ごとに色が抽出された検出対象物の撮像画像に基づいて、検出対象色ごとの重心位置を演算する重心位置演算手段と、
検出対象色ごとの撮像画像の重心位置と予め登録された基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置、相対角度、相対大きさを演算する撮像画像演算手段と、
前記演算された相対位置、相対角度、相対大きさに基づいて、撮像画像の姿勢を基準画像の姿勢に一致するように変換する撮像画像変換手段と、
基準画像と前記変換後の撮像画像とを比較して、その一致度を演算し、検出対象物の良否を判定する判定手段とを備えたカラー画像処理装置。
An image sensor that captures a color image of the detection object;
Color extraction means for reading out the captured image data of the detection target transferred from the image sensor and extracting a color for each pixel;
Captured image storage means for storing a captured image of a detection object from which a color is extracted for each pixel;
Detection target color selection means for selecting a detection target color having two or more characteristics in the captured image;
Centroid position calculating means for calculating a centroid position for each detection target color based on a captured image of the detection target in which a color is extracted for each pixel during transfer of the captured image data from the image sensor;
A captured image calculation means for calculating the relative position, relative angle, and relative size of the captured image with respect to the reference image based on the centroid position of the captured image for each color to be detected and the reference centroid position of the reference image registered in advance;
Based on the calculated relative position, relative angle, and relative size, captured image conversion means for converting the orientation of the captured image to match the orientation of the reference image;
A color image processing apparatus comprising: a determination unit that compares a reference image and the converted captured image, calculates a degree of coincidence thereof, and determines whether the detection target is good or bad.
請求項1において、前記重心位置演算手段は、撮像画像の画素ごとに検出対象色を判別し、同一色の複数点の位置を検出して、その座標の平均値から重心位置を演算するものであるカラー画像処理装置。   2. The center-of-gravity position calculating means according to claim 1, wherein the center-of-gravity position calculating means determines a detection target color for each pixel of the captured image, detects positions of a plurality of points of the same color, and calculates a center-of-gravity position from an average value of the coordinates. A color image processing apparatus. 請求項1または2において、前記基準画像演算手段は、
撮像画像の選択した検出対象色の各重心位置間の中間位置と、基準画像の選択した検出対象色の各基準重心位置間の中間位置とから、基準画像に対する撮像画像の相対位置を演算し、
撮像画像の選択した検出対象色の各重心位置の逆正接と、基準画像の選択した検出対象色の各基準重心位置の逆正接とから、基準画像に対する撮像画像の相対角度を演算し、
撮像画像の選択した検出対象色の各重心位置間の距離と、基準画像の選択した検出対象色の各基準重心位置間の距離とから、基準画像に対する撮像画像の相対大きさを演算するものであるカラー画像処理装置。
The reference image calculation means according to claim 1 or 2,
The relative position of the captured image with respect to the reference image is calculated from the intermediate position between the gravity center positions of the selected detection target colors of the captured image and the intermediate position between the reference gravity center positions of the selected detection target colors of the reference image,
Calculate the relative angle of the captured image with respect to the reference image from the arc tangent of each gravity center position of the selected detection target color of the captured image and the arc tangent of each reference gravity center position of the selected detection target color of the reference image,
The relative size of the captured image with respect to the reference image is calculated from the distance between the centroid positions of the selected detection target color of the captured image and the distance between the reference centroid positions of the selected detection target color of the reference image. A color image processing apparatus.
請求項1において、さらに、検出対象物周囲の明るさ変化に応じて、前記イメージセンサからの撮像画像の転送中に、画素ごとに三原色の比率を演算するとともに、前記演算により三原色の比率が同一となる白色と黒色について検出処理を行うことにより、各画素の輝度を補正する明るさ補正手段を備えたカラー画像処理装置。   3. The ratio of the three primary colors is calculated for each pixel during transfer of the captured image from the image sensor according to a change in brightness around the detection target, and the ratio of the three primary colors is the same by the calculation. A color image processing apparatus provided with brightness correction means for correcting the luminance of each pixel by performing detection processing for white and black. 検出対象物のカラー画像を撮像するイメージセンサと、
イメージセンサから転送された検出対象物の撮像画像データから読み出して、画素ごとに色を抽出する色抽出手段と、
前記画素ごとに色が抽出された検出対象物の撮像画像を記憶する撮像画像記憶手段と、
撮像画像中で1色の特徴のある検出対象色を選択する検出対象色選択手段と、
前記イメージセンサからの撮像画像データの転送中に、前記画素ごとに色が抽出された検出対象物の撮像画像に基づいて、検出対象色の重心位置を演算する重心位置演算手段と、
検出対象色の画素数を計測する画素数計測手段と、
検出対象色の撮像画像の重心位置と予め登録された基準画像の基準重心位置とに基づいて、基準画像に対する撮像画像の相対位置を演算するとともに、検出対象色の撮像画像の画素数と予め登録された基準画像の基準画素数とに基づいて、基準画像に対する撮像画像の相対大きさを演算する撮像画像演算手段と、
前記演算された相対位置、相対大きさに基づいて、撮像画像の姿勢を基準画像の姿勢に一致するように変換する撮像画像変換手段と、
基準画像と前記変換後の撮像画像とを比較して、その一致度を演算し、検出対象物の良否を判定する判定手段とを備えたカラー画像処理装置。
An image sensor that captures a color image of the detection object;
Color extraction means for reading out the captured image data of the detection target transferred from the image sensor and extracting a color for each pixel;
Captured image storage means for storing a captured image of a detection object from which a color is extracted for each pixel;
Detection target color selection means for selecting a detection target color having one color characteristic in the captured image;
During the transfer of the captured image data from the image sensor, the center-of-gravity position calculating means for calculating the center-of-gravity position of the detection target color based on the captured image of the detection target from which the color is extracted for each pixel;
A pixel number measuring means for measuring the number of pixels of the detection target color;
Based on the gravity center position of the captured image of the detection target color and the reference gravity center position of the reference image registered in advance, the relative position of the captured image with respect to the reference image is calculated, and the number of pixels of the captured image of the detection target color is registered in advance. Captured image calculation means for calculating the relative size of the captured image with respect to the reference image based on the reference pixel number of the reference image that has been performed;
Based on the calculated relative position and relative size, captured image conversion means for converting the orientation of the captured image to match the orientation of the reference image;
A color image processing apparatus comprising: a determination unit that compares a reference image and the converted captured image, calculates a degree of coincidence thereof, and determines whether the detection target is good or bad.
JP2003354598A 2003-10-15 2003-10-15 Color image processing unit Pending JP2005121402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003354598A JP2005121402A (en) 2003-10-15 2003-10-15 Color image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003354598A JP2005121402A (en) 2003-10-15 2003-10-15 Color image processing unit

Publications (1)

Publication Number Publication Date
JP2005121402A true JP2005121402A (en) 2005-05-12

Family

ID=34612459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003354598A Pending JP2005121402A (en) 2003-10-15 2003-10-15 Color image processing unit

Country Status (1)

Country Link
JP (1) JP2005121402A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008175568A (en) * 2007-01-16 2008-07-31 Nippon Telegr & Teleph Corp <Ntt> Image processing method, image processing device and image processing program
JP2010257408A (en) * 2009-04-28 2010-11-11 Canon Inc Apparatus and method for controlling display, program, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008175568A (en) * 2007-01-16 2008-07-31 Nippon Telegr & Teleph Corp <Ntt> Image processing method, image processing device and image processing program
JP4523945B2 (en) * 2007-01-16 2010-08-11 日本電信電話株式会社 Image processing method, image processing apparatus, and image processing program
JP2010257408A (en) * 2009-04-28 2010-11-11 Canon Inc Apparatus and method for controlling display, program, and recording medium

Similar Documents

Publication Publication Date Title
US10311596B2 (en) Image processing device, robot, robot system, and marker
JP5447235B2 (en) Marker processing method, marker processing apparatus, and marker processing program
US7747072B2 (en) Image processing method, image processing program, its storage medium, and image processing device for extracting points from a color image
US7024041B2 (en) Pattern inspection apparatus and method
JP2010071782A (en) Three-dimensional measurement apparatus and method thereof
EP1343116A1 (en) Image angle detector and scanning line interpolating apparatus
JP2003244521A (en) Information processing method and apparatus, and recording medium
WO2014045508A1 (en) Inspection device, inspection method, and inspection program
TWI621827B (en) Method of length measurement for 2d photography
JPWO2010029932A1 (en) Appearance inspection device
CN108254380B (en) PCB template comparison method based on digital image processing
JP2002140693A (en) Image processing parameter determination device, its method and recording medium with recorded image processing parameter determination program
JP2005121402A (en) Color image processing unit
CN106603937A (en) image stitching method and image stitching device
JP3691503B2 (en) Inspection method and inspection apparatus for printed matter
JP4513394B2 (en) Color image processing method and image processing apparatus
US5570298A (en) Dot pattern-examining apparatus
JP4364186B2 (en) card
CN113419909A (en) Display uniformity detection method and computer equipment
KR20150009842A (en) System for testing camera module centering and method for testing camera module centering using the same
JP4312185B2 (en) Game mat, card game system, image analysis apparatus, and image analysis method
JP3963156B2 (en) Image processing apparatus and method, medium storing program for image processing, and inspection apparatus
JP2747396B2 (en) Appearance inspection equipment for electronic components
JP2006035505A (en) Method and device for inspecting printed matter
JP7435464B2 (en) Workpiece discrimination system, workpiece discrimination device, and workpiece discrimination method