JP2020086494A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2020086494A
JP2020086494A JP2018214468A JP2018214468A JP2020086494A JP 2020086494 A JP2020086494 A JP 2020086494A JP 2018214468 A JP2018214468 A JP 2018214468A JP 2018214468 A JP2018214468 A JP 2018214468A JP 2020086494 A JP2020086494 A JP 2020086494A
Authority
JP
Japan
Prior art keywords
point
frame
points
edge
processing apparatus
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
JP2018214468A
Other languages
Japanese (ja)
Inventor
ブゥイ・ディン・バァン
Dhin Baan Bui
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2018214468A priority Critical patent/JP2020086494A/en
Publication of JP2020086494A publication Critical patent/JP2020086494A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

To provide an image processing apparatus capable of preventing error detection due to foreign substances and improving an accuracy.SOLUTION: An image processing apparatus 1 includes a camera interface 11 that receives an input of a photograph image, a paper edge detection unit 15 that detects a paper edge of a printed matter, a point detection unit 16 that detects a plurality of frame points respectively assumed to be on a frame edge by determining black and while of vertical pixels toward inside of a plurality of starting points respectively set at a known interval on the paper edge, an error detection point specification unit 17 that specifies an error detection point assumed to be error detection among the plurality of frame points based on a distance between the points of adjacent frame points, and instructs the point detection unit 16 to detect the error detection point again, and a frame edge calculation unit 18 that calculates an equation of the frame edge to the paper edge X by using a least square method based on the frame points detected and detected again by the point detection unit 16.SELECTED DRAWING: Figure 3

Description

本発明は、画像の傾き角度を検知する画像処理装置に関する。 The present invention relates to an image processing device that detects an inclination angle of an image.

余白領域と黒画素領域との境界を検出し、境界の水平又は垂直からの傾き角度によって画像全体の傾き角度を算出する画像処理装置が提案されている(例えば、特許文献1参照)。特許文献1では、境界に位置する黒画素列の位置情報から最小二乗法で直線近似を行うことで、水平又は垂直からの傾きを算出している。 An image processing apparatus has been proposed which detects a boundary between a blank area and a black pixel area, and calculates the tilt angle of the entire image based on the tilt angle of the boundary from horizontal or vertical (see, for example, Patent Document 1). In Patent Document 1, the inclination from the horizontal or the vertical is calculated by performing the linear approximation by the least square method from the position information of the black pixel row located at the boundary.

特開2009−123155号公報JP, 2009-123155, A

しかしながら、画像形成装置から出力された印刷物には、意図しない位置にトナー、紙粉、ゴミ等の異物が付着していることがある。従来技術において、意図しない位置に付着した異物が境界に位置する黒画素として検知された場合、著しく精度が低下してしまうという問題点があった。 However, the printed matter output from the image forming apparatus may have foreign matter such as toner, paper dust, and dust attached at unintended positions. In the related art, there is a problem that accuracy is significantly reduced when a foreign substance attached to an unintended position is detected as a black pixel located at the boundary.

本発明は、上記問題点を鑑みてなされたものであり、その目的とするところは、異物による誤検知を防止し、精度を向上させることができる画像処理装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing apparatus capable of preventing erroneous detection due to foreign matter and improving accuracy.

本発明の画像処理装置は、枠エッジが印刷された印刷物を撮影した写真画像を解析することで、前記印刷物を検査する画像処理装置であって、前記写真画像の入力を受け付ける画像入力部と、前記印刷物Pの用紙エッジを検知する用紙エッジ検知部と、前記用紙エッジ上に既知の間隔で設定した複数の開始ポイントのそれぞれから内側に向けて垂直方向の画素の白黒を判別することで、前記枠エッジ上と想定される複数の枠ポイントをそれぞれ検知するポイント検知部と、隣り合う前記枠ポイントのポイント間距離に基づいて、複数の前記枠ポイントの中から誤検知と想定される誤検知ポイントを特定し、前記誤検知ポイントの再検知を前記ポイント検知部に指示する誤検知ポイント特定部と、前記ポイント検知部によって検知及び再検知された前記枠ポイントに基づいて、最小二乗法で前記用紙エッジに対する前記枠エッジの方程式を計算し、前記用紙エッジと前記枠エッジとの距離を検査結果として出力する枠エッジ算出部とを具備することを特徴とする。 The image processing apparatus of the present invention is an image processing apparatus that inspects the printed matter by analyzing a photographic image of a printed matter on which a frame edge is printed, and an image input unit that receives input of the photographic image, By determining the black and white of pixels in the vertical direction toward the inside from each of the paper edge detection unit that detects the paper edge of the printed matter P and each of a plurality of start points set at known intervals on the paper edge, A point detection unit that detects each of a plurality of frame points that are supposed to be on a frame edge, and an erroneous detection point that is assumed to be an erroneous detection among the plurality of frame points based on the distance between the adjacent frame points. Based on the erroneous detection point identification unit for instructing the point detection unit to re-detect the erroneous detection point and the frame point detected and re-detected by the point detection unit, the sheet by the least square method. A frame edge calculation unit that calculates an equation of the frame edge with respect to an edge and outputs a distance between the paper edge and the frame edge as an inspection result is provided.

本発明によれば、誤検知と想定される誤検知ポイントを排除することができるため、異物による誤検知を防止し、精度を向上できるという効果を奏する。 According to the present invention, it is possible to eliminate erroneous detection points that are assumed to be erroneous detections, and thus it is possible to prevent erroneous detections due to foreign matter and improve accuracy.

印刷物検査システムのシステム構成を示す構成図である。It is a block diagram which shows the system configuration of a printed matter inspection system. 検査対象の印刷物の例を示す図である。It is a figure which shows the example of the printed matter of an inspection target. 図1に示す画像処理装置の概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of the image processing device shown in FIG. 1. 図1に示す画像処理装置による検査動作を説明するフローチャートである。6 is a flowchart illustrating an inspection operation performed by the image processing apparatus illustrated in FIG. 1. 図1に示す画像処理装置による検査動作を説明する説明図である。FIG. 3 is an explanatory diagram explaining an inspection operation by the image processing apparatus shown in FIG. 1.

以下、図を参照して本発明の実施の形態を詳細に説明する。なお、以下の実施形態において、同様の機能を示す構成には、同一の符号を付してある。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, in the following embodiments, the same reference numerals are given to the configurations having the same functions.

本実施の形態の画像処理装置1は、図1を参照すると、プリンター、複写機、MFP(Multifunction Peripheral / Printer / Product)等の画像形成装置から出力された印刷物Pを載置する載置台2と、載置台2に載置された印刷物Pを撮影して写真画像を取得するカメラ3とで印刷物検査システムを構成している。 Referring to FIG. 1, an image processing apparatus 1 according to the present embodiment includes a mounting table 2 on which a printed material P output from an image forming apparatus such as a printer, a copying machine, and an MFP (Multifunction Peripheral / Printer / Product) is mounted. The camera 3 that captures a photographic image by photographing the printed matter P placed on the placing table 2 constitutes a printed matter inspection system.

画像処理装置1は、パーソナルコンピュータ等の情報処理装置であり、カメラ3によって取得された写真画像を解析することで、印刷物Pの印刷状態を検査し、検査結果を出力する。 The image processing apparatus 1 is an information processing apparatus such as a personal computer, and analyzes the photographic image acquired by the camera 3 to inspect the printing state of the printed matter P and output the inspection result.

検査対象の印刷物Pには、図2に示すように、印刷物Pの外周(以下、用紙エッジXと称す)に沿った枠線(以下、枠エッジYと称す)が印刷されており、画像処理装置1は、用紙エッジXと枠エッジYとの距離Zを検査結果として出力する。なお、距離Zは、用紙エッジXに対して垂直な直線上の長さである。また、画像処理装置1は、図2に示すように、1辺当たり複数個所で距離Zを検査結果として算出する。さらに、距離Zの算出箇所は適宜設定することができ、用紙エッジXと枠エッジYの角部との距離Zを検査結果として算出しても良い。これにより、印刷物Pに印刷されている画像の位置及び傾きを検査することができる。 As shown in FIG. 2, a frame line (hereinafter, referred to as a frame edge Y) along an outer periphery (hereinafter, referred to as a paper edge X) of the printed product P is printed on the printed matter P to be inspected. The device 1 outputs the distance Z between the paper edge X and the frame edge Y as the inspection result. The distance Z is a length on a straight line perpendicular to the paper edge X. Further, the image processing apparatus 1 calculates the distance Z as an inspection result at a plurality of locations per side, as shown in FIG. Furthermore, the location where the distance Z is calculated can be set appropriately, and the distance Z between the paper edge X and the corner of the frame edge Y may be calculated as the inspection result. Thereby, the position and inclination of the image printed on the printed matter P can be inspected.

本実施の形態の画像処理装置1は、図3を参照すると、カメラインターフェース11と、キーボート等の入力部12と、液晶ディスプレイ等の表示部13と、制御部14とを備えている。 Referring to FIG. 3, the image processing apparatus 1 of the present embodiment includes a camera interface 11, an input unit 12 such as a keyboard, a display unit 13 such as a liquid crystal display, and a control unit 14.

カメラインターフェース11は、カメラ3との接続部であり、入力部12から入力された撮影指示をカメラ3に通知する撮影指示部として機能すると共に、カメラによって取得された写真画像の入力を受け付ける画像入力部として機能する。 The camera interface 11 is a connection unit with the camera 3, and functions as a shooting instruction unit that notifies the camera 3 of a shooting instruction input from the input unit 12 and image input that receives input of a photographic image acquired by the camera. Function as a department.

制御部14は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備えたマイクロコンピュータ等の演算処理回路である。ROMには画像処理装置1の動作制御を行うための制御プログラムが記憶されている。制御部14は、ROMに記憶されている制御プログラムを読み出し、制御プログラムをRAMに展開させることで、入力部12から入力された各種指示情報に応じて装置全体の制御を行う。 The control unit 14 is an arithmetic processing circuit such as a microcomputer including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The ROM stores a control program for controlling the operation of the image processing apparatus 1. The control unit 14 reads the control program stored in the ROM and expands the control program in the RAM to control the entire apparatus according to various instruction information input from the input unit 12.

また、制御部14は、用紙エッジ検知部15、ポイント検知部16、誤検知ポイント特定部17、枠エッジ算出部18、距離算出部19として機能する。 The control unit 14 also functions as a paper edge detection unit 15, a point detection unit 16, an erroneously detected point identification unit 17, a frame edge calculation unit 18, and a distance calculation unit 19.

用紙エッジ検知部15は、入力された写真画像を2値化し、2値化した写真画像を解析することで、載置台2の載置面と印刷物Pとの境界を用紙エッジXとして検知する。なお、載置台2の載置面を、印刷物Pの周縁部と明度が明らかに異なる配色とすることで、黒白変化により簡単に用紙エッジXを検知することが可能になる。 The paper edge detection unit 15 detects the boundary between the mounting surface of the mounting table 2 and the printed matter P as the paper edge X by binarizing the input photographic image and analyzing the binarized photographic image. By setting the mounting surface of the mounting table 2 to have a color scheme whose brightness is clearly different from that of the peripheral portion of the printed matter P, it is possible to easily detect the paper edge X by the change in black and white.

ポイント検知部16は、用紙エッジXに設定した開始ポイントから内側に向けて垂直方向の画素の白黒を判別し、白画素から黒画素、そして黒画素から白画素に変化する箇所を特定し、黒画素の中心を枠エッジY上と想定される枠ポイントとして検知する。なお、開始ポイントは、1辺当たり既知の間隔で複数箇所が設定され、ポイント検知部16は、それぞれの開始ポイント毎に枠ポイントを検知する。 The point detection unit 16 discriminates black and white of pixels in the vertical direction from the start point set on the paper edge X toward the inside, identifies a portion where the white pixel changes to a black pixel, and changes from a black pixel to a white pixel, and determines a black portion. The center of the pixel is detected as a frame point assumed to be on the frame edge Y. A plurality of start points are set at known intervals per side, and the point detection unit 16 detects a frame point for each start point.

誤検知ポイント特定部17は、隣り合う枠ポイントの距離に基づいて、トナー、紙粉、ゴミ等の異物に起因して誤検知と想定される枠ポイント(以下、誤検知ポイントと称す)を特定し、特定した誤検知ポイントの再検知をポイント検知部16に指示する。 The erroneous detection point identification unit 17 identifies a frame point (hereinafter, referred to as an erroneous detection point) that is assumed to be erroneously detected due to a foreign substance such as toner, paper dust, and dust, based on the distance between adjacent frame points. Then, the point detection unit 16 is instructed to re-detect the identified erroneous detection point.

枠エッジ算出部18は、ポイント検知部16によって検知された枠ポイント(再検知も含む)に基づいて最小二乗法で用紙エッジXに対する枠エッジYの方程式を計算する。 The frame edge calculation unit 18 calculates the equation of the frame edge Y with respect to the paper edge X by the least square method based on the frame points (including re-detection) detected by the point detection unit 16.

距離算出部19は、枠エッジ算出部18によって算出された枠エッジYの方程式に基づいて、1辺当たり複数個所で用紙エッジXと枠エッジYとの距離Zを検出し、検査結果として表示部13等から出力する。 The distance calculation unit 19 detects the distance Z between the paper edge X and the frame edge Y at a plurality of positions per side based on the equation of the frame edge Y calculated by the frame edge calculation unit 18, and the display unit displays the inspection result as the inspection result. Output from 13th etc.

次に、画像処理装置1による検査動作について図4乃至図5を参照して詳細に説明する。
ユーザーは、検査対象の印刷物Pを載置台2に載置し、画像処理装置1の入力部12に撮影指示を入力する。これにより、カメラによって取得された写真画像が画像処理装置1に入力される。
Next, the inspection operation by the image processing apparatus 1 will be described in detail with reference to FIGS.
The user places the printed matter P to be inspected on the mounting table 2 and inputs a photographing instruction to the input unit 12 of the image processing apparatus 1. As a result, the photographic image acquired by the camera is input to the image processing apparatus 1.

写真画像の入力を受け付けると、画像処理装置1の制御部14は用紙エッジ検知部15として機能し、入力された写真画像を2値化する(ステップS101)。 Upon receiving the input of the photographic image, the control unit 14 of the image processing apparatus 1 functions as the paper edge detection unit 15, and binarizes the input photographic image (step S101).

次に、用紙エッジ検知部15は、2値化した写真画像を解析することで、載置台2の載置面と印刷物Pとの境界を用紙エッジXとして検知する(ステップS102)。なお、ステップS102以降の処理は4辺のそれぞれで実行されるが、便宜上、1つの辺として説明する。 Next, the paper edge detection unit 15 detects the boundary between the mounting surface of the mounting table 2 and the printed matter P as the paper edge X by analyzing the binarized photographic image (step S102). It should be noted that although the processing from step S102 is executed on each of the four sides, it will be described as one side for convenience.

次に、制御部14はポイント検知部16として機能し、ステップS102で検知された用紙エッジXに既知の間隔で複数個の開始ポイントA1〜Nを設定する(ステップS103)。図5(a)には、開始ポイントA〜AがそれぞれL12=L23=L34の間隔で設定された例が示されている。 Next, the control unit 14 functions as the point detection unit 16 and sets a plurality of start points A1 to N at known intervals on the paper edge X detected in step S102 (step S103). FIG. 5A shows an example in which the starting points A 1 to A 4 are set at intervals of L 12 =L 23 =L 34 , respectively.

次に、ポイント検知部16は、開始ポイントA1〜Nのそれぞれから内側に向けて垂直方向の画素の白黒を判別し、白画素から黒画素、そして黒画素から白画素に変化する箇所を特定し、黒画素の中心を枠ポイントB1〜Nとしてそれぞれ検知する(ステップS104)。図5(a)には、開始ポイントA〜Aのそれぞれに対応し、枠ポイントB〜Bが検知された例が示されている。 Next, the point detection unit 16 discriminates black and white of pixels in the vertical direction from each of the start points A 1 to N inward, and specifies a location where white pixels change to black pixels and black pixels change to white pixels. Then, the centers of the black pixels are detected as the frame points B1 to N (step S104). FIG. 5A shows an example in which the frame points B 1 to B 4 are detected corresponding to the start points A 1 to A 4 , respectively.

次に、制御部14は誤検知ポイント特定部17として機能し、隣り合う枠ポイントB1〜Nのポイント間距離M12〜M(n−1)nをそれぞれ算出する(ステップS105)。図5(b)には、枠ポイントB〜Bのポイント間距離M12、M23、34が算出された例が示されている。 Next, the control unit 14 functions as a false detection point specifying unit 17 calculates the distance between points of adjacent frame point B 1~N M 12 ~M (n- 1) n , respectively (step S105). FIG. 5B shows an example in which the inter-point distances M 12 , M 23, M 34 of the frame points B 1 to B 4 are calculated.

次に、誤検知ポイント特定部17は、算出したポイント間距離M12〜M(n−1)nに基づいてトナー、紙粉、ゴミ等の異物に起因して誤検知ポイントがあるか否かを判断する(ステップS106)。正しく枠ポイントBが検知された場合、ポイント間距離Mは、開始ポイントの間隔Lとほぼ同じ値となる。そこで、閾値αを小さい値で設定しておき、両側がポイント間距離M>間隔LA+αとなる枠ポイントと誤検知ポイントとして特定する。この場合、トナー、紙粉、ゴミ等の異物に起因する誤検知は、連続して発生しないことを前提としている。そして、ステップS106では、誤検知ポイントが特定されなかったか、されたかを判断する。図5(b)に示す例では、枠ポイントBの両側がいずれもポイント間距離M23>間隔L23+α、ポイント間距離M34>間隔L34+αとなり、枠ポイントBが誤検知ポイントとして特定された例が示されている。 Then, the false detection point specifying unit 17, the calculated point distance M 12 ~M (n-1) toner on the basis of n, paper powder, whether there is a foreign matter due erroneous detection points such as dust, Is determined (step S106). When the frame point B is correctly detected, the point-to-point distance M becomes almost the same value as the start point interval L. Therefore, the threshold value α is set to a small value, and the both sides are specified as a frame point with a distance M between points>the interval LA+α and an erroneous detection point. In this case, it is premised that erroneous detection due to foreign matter such as toner, paper dust, and dust does not occur continuously. Then, in step S106, it is determined whether or not the false detection point is specified. In the example shown in FIG. 5 (b), between both sides of the frame points B 3 points distance M 23> interval L 23 + alpha, point distance M 34> next interval L 34 + alpha, the frame point B 3 mis An example specified as a detection point is shown.

ステップS106で誤検知ポイントがある場合、誤検知ポイント特定部17は、特定した誤検知ポイントの再検知をポイント検知部16に指示する。 If there is an erroneous detection point in step S106, the erroneous detection point identification unit 17 instructs the point detection unit 16 to re-detect the identified erroneous detection point.

再検知を指示されたポイント検知部16は、図5(c)に示すように、誤検知ポイント(B)に対応する開始ポイント(A)の位置を予め設定された所定距離hだけ移動させた開始ポイント(A’)を再特定する(ステップS107)。そして、ポイント検知部16は、再特定した開始ポイント(A’)に基づいて枠ポイント(B’)を再検知し(ステップS108)、ステップS105に戻る。 The point detection unit 16 instructed to perform the re-detection moves the position of the start point (A 3 ) corresponding to the erroneous detection point (B 3 ) by a preset predetermined distance h, as shown in FIG. 5C. It is not the starting point (a 3 ') and re-identify (step S107). The point detecting section 16, re-detect the 'frame point (B 3 based on) again identified starting point (A 3)' (step S108), the flow returns to step S105.

ステップS106で誤検知ポイントがない場合、制御部14は枠エッジ算出部18として機能し、ポイント検知部16によって検知された枠ポイント(再検知も含む)に基づいて最小二乗法で用紙エッジXに対する枠エッジYの方程式を計算する(ステップS109)。 When there is no erroneous detection point in step S106, the control unit 14 functions as the frame edge calculation unit 18, and based on the frame points (including re-detection) detected by the point detection unit 16, the least squares method is applied to the paper edge X. The equation of the frame edge Y is calculated (step S109).

次に、枠エッジ算出部18は、1辺当たり複数個所で距離Zを検査結果として算出し(ステップS110)、検査結果を表示部13等から出力して、検査動作を終了する。 Next, the frame edge calculation unit 18 calculates the distance Z as an inspection result at a plurality of locations per side (step S110), outputs the inspection result from the display unit 13 and the like, and ends the inspection operation.

以上説明したように、本実施の形態によれば、枠エッジYが印刷された印刷物Pを撮影した写真画像を解析することで、印刷物Pを検査する画像処理装置1であって、写真画像の入力を受け付ける画像入力部として機能するカメラインターフェース11と、印刷物Pの用紙エッジXを検知する用紙エッジ検知部15と、用紙エッジX上に既知の間隔で設定した複数の開始ポイントAのそれぞれから内側に向けて垂直方向の画素の白黒を判別することで、枠エッジY上と想定される複数の枠ポイントBをそれぞれ検知するポイント検知部16と、隣り合う枠ポイントBのポイント間距離Lに基づいて、複数の枠ポイントBの中から誤検知と想定される誤検知ポイントを特定し、誤検知ポイントの再検知をポイント検知部16に指示する誤検知ポイント特定部17と、ポイント検知部16によって検知及び再検知された枠ポイントBに基づいて、最小二乗法で用紙エッジXに対する枠エッジYの方程式を計算し、用紙エッジXと枠エッジYとの距離Zを検査結果として出力する枠エッジ算出部18とを備えている。
この構成により、誤検知と想定される誤検知ポイントを排除することができるため、異物による誤検知を防止し、精度を向上させることができる。
As described above, according to the present embodiment, the image processing apparatus 1 inspects the printed matter P by analyzing the photographed image of the printed matter P on which the frame edge Y is printed. Inside from each of the camera interface 11 that functions as an image input unit that receives an input, the paper edge detection unit 15 that detects the paper edge X of the printed matter P, and a plurality of start points A set at known intervals on the paper edge X. Based on the inter-point distance L of the adjacent frame points B and the point detection unit 16 that respectively detects a plurality of frame points B that are supposed to be on the frame edge Y by discriminating black and white of pixels in the vertical direction. Then, the false detection points that are supposed to be false detections are identified from the plurality of frame points B, and the false detection point identification unit 17 that instructs the point detection unit 16 to re-detect the false detection points, and the point detection unit 16 Based on the detected and re-detected frame points B, the equation of the frame edge Y with respect to the paper edge X is calculated by the least square method, and the distance Z between the paper edge X and the frame edge Y is output as the inspection result. And a section 18.
With this configuration, it is possible to eliminate erroneous detection points that are assumed to be erroneous detection, so that it is possible to prevent erroneous detection due to foreign matter and improve accuracy.

さらに、本実施の形態において、ポイント検知部16は、誤検知ポイントの再検知が指示されると、誤検知ポイントに対応する開始ポイントAの位置を予め設定された所定距離h移動させて枠ポイントB’を再検知する。
この構成により、誤検知の要因となった異物を避けて枠ポイントB’の再検知を行うことができる。
Further, in the present embodiment, when the point detection unit 16 is instructed to re-detect an erroneous detection point, the point detection unit 16 moves the position of the start point A corresponding to the erroneous detection point by a preset distance h to set the frame point. Re-detect B'.
With this configuration, it is possible to re-detect the frame point B′ while avoiding the foreign matter that has caused the erroneous detection.

さらに、本実施の形態において、誤検知ポイント特定部17は、両側のポイント間距離Mのいずれもが、対応する開始ポイントAの間隔Lに予め設定された閾値αを加えた値よりも大きい枠ポイントBを誤検知ポイントとして特定する。
この構成により、簡単に誤検知ポイントを特定することができる。
Further, in the present embodiment, the erroneously detected point identification unit 17 sets a frame in which each of the distances M between the points on both sides is larger than a value obtained by adding a preset threshold α to the interval L between the corresponding start points A. The point B is specified as an erroneous detection point.
With this configuration, it is possible to easily specify the false detection point.

なお、本発明が上記各実施の形態に限定されず、本発明の技術思想の範囲内において、各実施の形態は適宜変更され得ることは明らかである。また、上記構成部材の数、位置、形状等は上記実施の形態に限定されず、本発明を実施する上で好適な数、位置、形状等にすることができる。なお、各図において、同一構成要素には同一符号を付している。 It should be noted that the present invention is not limited to each of the above-described embodiments, and it is obvious that each embodiment can be appropriately modified within the scope of the technical idea of the present invention. Further, the number, position, shape, etc. of the above-mentioned constituent members are not limited to those in the above-mentioned embodiment, and the number, position, shape, etc. suitable for carrying out the present invention can be adopted. In each figure, the same components are designated by the same reference numerals.

1 画像処理装置
2 載置台
3 カメラ
11 カメラインターフェース
12 入力部
13 表示部
14 制御部
15 用紙エッジ検知部
16 ポイント検知部
17 誤検知ポイント特定部
18 枠エッジ算出部
19 距離算出部
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Mounting table 3 Camera 11 Camera interface 12 Input section 13 Display section 14 Control section 15 Paper edge detection section 16 Point detection section 17 False detection point identification section 18 Frame edge calculation section 19 Distance calculation section

Claims (3)

枠エッジが印刷された印刷物を撮影した写真画像を解析することで、前記印刷物を検査する画像処理装置であって、
前記写真画像の入力を受け付ける画像入力部と、
前記印刷物の用紙エッジを検知する用紙エッジ検知部と、
前記用紙エッジに既知の間隔で設定した複数の開始ポイントのそれぞれから内側に向けて垂直方向の画素の白黒を判別することで、前記枠エッジと想定される複数の枠ポイントをそれぞれ検知するポイント検知部と、
隣り合う前記枠ポイントのポイント間距離に基づいて、複数の前記枠ポイントの中から誤検知と想定される誤検知ポイントを特定し、前記誤検知ポイントの再検知を前記ポイント検知部に指示する誤検知ポイント特定部と、
前記ポイント検知部によって検知及び再検知された前記枠ポイントに基づいて、最小二乗法で前記用紙エッジに対する前記枠エッジの方程式を計算し、前記用紙エッジと前記枠エッジとの距離を検査結果として出力する枠エッジ算出部とを具備することを特徴とする画像処理装置。
An image processing apparatus for inspecting the printed matter by analyzing a photographic image of a printed matter on which a frame edge is printed,
An image input unit that receives the input of the photographic image,
A paper edge detection unit for detecting the paper edge of the printed matter,
Point detection that detects a plurality of frame points that are supposed to be the frame edges by determining black and white of pixels in the vertical direction from the respective start points set at known intervals on the paper edge toward the inside Department,
An error that specifies an erroneous detection point that is assumed to be an erroneous detection from a plurality of the frame points based on the distance between the adjacent frame points and instructs the point detection unit to re-detect the erroneous detection point. A detection point identification unit,
Based on the frame points detected and re-detected by the point detection unit, the equation of the frame edge with respect to the paper edge is calculated by the least square method, and the distance between the paper edge and the frame edge is output as an inspection result. An image processing apparatus, comprising:
前記ポイント検知部は、前記誤検知ポイントの再検知が指示されると、前記誤検知ポイントに対応する前記開始ポイントの位置を予め設定された所定距離移動させて前記枠ポイントを再検知することを特徴とする請求項1記載の画像処理装置。 When the redetection of the false detection point is instructed, the point detection unit moves the position of the start point corresponding to the false detection point by a predetermined distance and redetects the frame point. The image processing apparatus according to claim 1, which is characterized in that. 前記誤検知ポイント特定部は、両側の前記ポイント間距離のいずれもが、対応する前記開始ポイントの間隔に予め設定された閾値を加えた値よりも大きい前記枠ポイントを前記誤検知ポイントとして特定することを特徴とする請求項2記載の画像処理装置。 The erroneous detection point identification unit identifies, as the erroneous detection point, a frame point in which any of the distances between the points on both sides is larger than a value obtained by adding a preset threshold to the interval between the corresponding start points. The image processing apparatus according to claim 2, wherein
JP2018214468A 2018-11-15 2018-11-15 Image processing apparatus Pending JP2020086494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018214468A JP2020086494A (en) 2018-11-15 2018-11-15 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018214468A JP2020086494A (en) 2018-11-15 2018-11-15 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2020086494A true JP2020086494A (en) 2020-06-04

Family

ID=70908015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018214468A Pending JP2020086494A (en) 2018-11-15 2018-11-15 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2020086494A (en)

Similar Documents

Publication Publication Date Title
US10041786B2 (en) System and method for efficient surface measurement using a laser displacement sensor
US9036223B2 (en) Systems and methods for edge detection during an imaging operation
US8254683B2 (en) Code image processing method
JP4574503B2 (en) Image processing apparatus, image processing method, and program
TW571081B (en) Method and apparatus for examining foreign matters in through holes
US20140119665A1 (en) System and method for finding saddle point-like structures in an image and determining information from the same
JP2017166929A (en) Defect inspection device, defect inspection method and defect inspection system for sheet-like object
JPH08181828A (en) Picture input device
JP2000067247A (en) Image recognizing device
JP4182937B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
US10325353B2 (en) Image processing apparatus
JP2020086494A (en) Image processing apparatus
JP5333607B2 (en) Radiation image processing apparatus and radiation image processing program
JP2009250937A (en) Pattern inspection device and method
JP2005354654A (en) Photographic image area extraction apparatus and copying machine
JP2004310726A (en) Image inspection method, image inspection apparatus, and program
US11763445B2 (en) Inspection of a target object using a comparison with a master image and a strictness of a quality evaluation threshold value
JP2008005192A (en) Image processor, image processing method, and image processing program
JP2010044010A (en) Method for detecting defect of mesh- or wire-embedded glass
JP4852454B2 (en) Eye tilt detection device and program
JP7159878B2 (en) Image processing device, image processing method and image processing program
EP3672216B1 (en) Placement detection system
JP2004028729A (en) Signature panel inspection method for card
JPH0720060A (en) Device for inspecting defective pattern and foreign matter
KR101916105B1 (en) Apparatus for inspecting defects of screenmask