JP7082426B2 - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP7082426B2
JP7082426B2 JP2020015292A JP2020015292A JP7082426B2 JP 7082426 B2 JP7082426 B2 JP 7082426B2 JP 2020015292 A JP2020015292 A JP 2020015292A JP 2020015292 A JP2020015292 A JP 2020015292A JP 7082426 B2 JP7082426 B2 JP 7082426B2
Authority
JP
Japan
Prior art keywords
image
region
predetermined
hue
processing
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.)
Active
Application number
JP2020015292A
Other languages
Japanese (ja)
Other versions
JP2021124746A (en
JP2021124746A5 (en
Inventor
喜代治 田中
哲夫 法貴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shashin Kagaku Co Ltd
Original Assignee
Shashin Kagaku 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 Shashin Kagaku Co Ltd filed Critical Shashin Kagaku Co Ltd
Priority to JP2020015292A priority Critical patent/JP7082426B2/en
Priority to PCT/JP2020/038581 priority patent/WO2021152924A1/en
Publication of JP2021124746A publication Critical patent/JP2021124746A/en
Publication of JP2021124746A5 publication Critical patent/JP2021124746A5/ja
Application granted granted Critical
Publication of JP7082426B2 publication Critical patent/JP7082426B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41FPRINTING MACHINES OR PRESSES
    • B41F15/00Screen printers
    • B41F15/08Machines
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Mechanical Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、画像処理装置および画像処理方法に関し、特にスクリーン印刷版の画像処理に関する。 The present invention relates to an image processing apparatus and an image processing method, and particularly to image processing of a screen printing plate.

スクリーン印刷用の印刷版(スクリーン印刷版)は、金属またはナイロン製のメッシュ糸が網目構造(メッシュ構造)をなしているスクリーンメッシュの上に塗布形成された乳剤膜の一部が、印刷対象物に形成しようとするパターン(印刷パターン)に応じた開口部(スクリーン開口部)とされた構成を有する。 In a printing plate for screen printing (screen printing plate), a part of an emulsion film formed by applying a mesh thread made of metal or nylon on a screen mesh having a mesh structure (mesh structure) is an object to be printed. It has a configuration in which an opening (screen opening) corresponds to a pattern (printing pattern) to be formed.

例えば、プリント基板に配線(線状パターン)やランド(円形パターン)などの配線パターンを設けるべく、レジスト材によるマスクパターンを銅貼り板上にスクリーン印刷にて形成しようする場合には、それら配線パターンに対応させてスクリーン開口部を設けたスクリーン印刷版が、用意される。そして、当該スクリーン印刷版を用いたスクリーン印刷によって銅貼り板上にレジスト材からなるマスクパターンを形成した後、エッチング工程によって不要な銅を除去し、さらにはマスクパターンを除去することで、所望の配線パターンが形成されたプリント基板が得られる。 For example, when a mask pattern made of a resist material is to be formed by screen printing on a copper-pasted plate in order to provide a wiring pattern such as a wiring (linear pattern) or a land (circular pattern) on a printed circuit board, those wiring patterns are used. A screen printing plate provided with a screen opening corresponding to the above is prepared. Then, after forming a mask pattern made of a resist material on a copper-pasted plate by screen printing using the screen printing plate, unnecessary copper is removed by an etching process, and further, the mask pattern is removed to obtain a desired pattern. A printed circuit board on which a wiring pattern is formed can be obtained.

このような手順にてプリント基板を製造する場合、工程管理上、この配線パターンにおける線幅や円の直径などが正確であることが求められる。それゆえ、スクリーン印刷版の作製時、スクリーン開口部は高精度に設けられる必要がある。 When a printed circuit board is manufactured by such a procedure, it is required that the line width and the diameter of the circle in this wiring pattern are accurate in terms of process control. Therefore, when producing a screen printing plate, the screen opening needs to be provided with high accuracy.

一方で、スクリーン印刷版を繰り返し使用した場合、スクリーン開口部の形状は変形し得る。それゆえ、配線パターンの寸法精度確保の観点から、当該配線パターンの形成に使用するスクリーン印刷版に設けられたスクリーン開口部の寸法は、プリント基板の製造における重要な測定管理項目(検査項目)とされており、精度の良い測定手法(検査手法)が求められている。 On the other hand, when the screen printing plate is used repeatedly, the shape of the screen opening may be deformed. Therefore, from the viewpoint of ensuring the dimensional accuracy of the wiring pattern, the dimensions of the screen opening provided in the screen printing plate used to form the wiring pattern are important measurement control items (inspection items) in the manufacture of the printed circuit board. Therefore, a highly accurate measurement method (inspection method) is required.

人為的な測定ミスを除外するという点からは、画像処理による自動計測の実施が望ましい。ただし、スクリーンメッシュ上に設けられているマスクパターンを画像処理にて自動計測しようとする場合、パターン開口部に存在するスクリーンメッシュの像がノイズとして影響を与えることがある。 From the viewpoint of excluding human measurement errors, it is desirable to carry out automatic measurement by image processing. However, when the mask pattern provided on the screen mesh is to be automatically measured by image processing, the image of the screen mesh existing in the pattern opening may affect as noise.

モノクロームの取得画像に対し膨張収縮処理(オープニング処理およびクロージング処理)を適用することにより、原画像からスクリーンメッシュ部分を除去する方法が、すでに公知である(例えば、特許文献1参照)。 A method of removing a screen mesh portion from an original image by applying an expansion / contraction treatment (opening treatment and closing treatment) to a monochrome acquired image is already known (see, for example, Patent Document 1).

特許第4652717号公報Japanese Patent No. 4652717

特許文献1に開示されている技術は、原理としてはノイズ除去の一般的な画像処理手法の一つであるが、メッシュ線幅の大きさに近いパターンをノイズとして消去してしまうことや、オープニング処理やクロージング処理により元の開口部の形状が変形するなどの課題がある。 The technique disclosed in Patent Document 1 is one of the general image processing methods for noise removal in principle, but it can erase a pattern close to the size of the mesh line width as noise and the opening. There is a problem that the original shape of the opening is deformed by the processing or the closing process.

このような自動計測の困難さゆえ、スクリーン印刷版のパターン形状の測定(検査)は、依然として目視による手動測定が支配的となっている。手動測定には、検査効率が低く、また、測定者による個人差が生じ得るため精度の確保が難しいという問題がある。 Due to the difficulty of such automatic measurement, manual measurement by visual inspection is still dominant in the measurement (inspection) of the pattern shape of the screen printing plate. Manual measurement has a problem that the inspection efficiency is low and it is difficult to secure the accuracy because individual differences may occur depending on the measurer.

本発明は上記課題に鑑みてなされたものであり、スクリーン印刷版のパターン形状(開口部形状)の計測(検査)などに用いる画像に適した画像処理の手法、および、これを実現する画像処理装置を提供することを、目的とする。 The present invention has been made in view of the above problems, and is an image processing method suitable for an image used for measuring (inspecting) the pattern shape (opening shape) of a screen printing plate, and an image processing for realizing the method. The purpose is to provide the device.

上記課題を解決するため、請求項1の発明は、ラインパターンの画像を含む処理対象画像から前記ラインパターンの存在位置に合致する所定の領域を抽出する画像処理装置であって、前記処理対象画像が表示される表示部と、前記処理対象画像に対し所定の操作を行える操作部と、前記所定の領域を抽出する際の抽出基準を設定する抽出基準設定処理部と、前記抽出基準に基づいて前記処理対象画像から前記所定の領域を抽出する領域抽出処理部と、を備え、前記所定の領域が、色相が所定の色相値の範囲内にある領域であって、かつ、前記ラインパターンの下地部分に存在する加工痕に起因する不規則な濃淡がある領域であり、前記抽出基準設定処理部は、操作者が前記表示部に表示された前記処理対象画像を視認しつつ前記操作部を操作することによって、前記処理対象画像から任意の画素範囲を選択することを可能とする範囲選択部と、前記操作者による前記操作部の操作によって選択された前記任意の画素範囲に属する画素の色相値の範囲を、HSV色座標系で記述された前記処理対象画像のデータに基づいて特定する色相範囲特定部と、を有しており、前記任意の画素範囲の選択として前記操作者によりなされる、前記処理対象画像において前記所定の領域に含まれると前記操作者が視認する領域からの前記濃淡を含めた小領域の選択に応答して、前記色相範囲特定部が特定する、前記小領域に含まれる画素の色相値の範囲のうちの全ての範囲又はあらかじめ設定された上限および下限の所定割合を除去した範囲を、前記抽出基準として設定し、前記領域抽出処理部は、前記処理対象画像において色相値が前記抽出基準に該当する画素を特定する画素特定部、を有しており、前記画素特定部が特定した全ての画素からなる領域を、前記所定の領域として抽出する、ことを特徴とする。 In order to solve the above problem, the invention of claim 1 is an image processing apparatus for extracting a predetermined region matching the existence position of the line pattern from a processing target image including an image of the line pattern, and the processing target image. Is displayed, an operation unit that can perform a predetermined operation on the image to be processed, an extraction standard setting processing unit that sets an extraction standard when extracting the predetermined area, and an extraction standard based on the extraction standard. A region extraction processing unit for extracting the predetermined region from the image to be processed is provided, and the predetermined region is a region in which the hue is within a predetermined hue value range and is a base of the line pattern. It is a region having irregular shading due to processing marks existing in the portion, and the extraction standard setting processing unit operates the operation unit while visually recognizing the processing target image displayed on the display unit. By doing so, a range selection unit that enables selection of an arbitrary pixel range from the image to be processed, and a hue value of pixels belonging to the arbitrary pixel range selected by the operation of the operation unit by the operator. Has a hue range specifying unit for specifying the range of the above based on the data of the image to be processed described in the HSV color coordinate system, and is performed by the operator as the selection of the arbitrary pixel range. In response to the selection of a small area including the shade from the area visually recognized by the operator when the image to be processed is included in the predetermined area, the image is included in the small area specified by the hue range specifying unit. The range obtained by removing the entire range of the hue value range of the pixels or the range obtained by removing the predetermined ratios of the upper and lower limits set in advance is set as the extraction reference, and the area extraction processing unit sets the hue in the image to be processed. It has a pixel specifying unit for specifying a pixel whose value corresponds to the extraction standard, and is characterized in that a region consisting of all the pixels specified by the pixel specifying unit is extracted as the predetermined region. ..

請求項2の発明は、請求項1に記載の画像処理装置であって、所定の撮像対象を撮像し、RGB色座標系で記述された撮像データを生成する撮像処理部と、RGB色座標系で記述された前記処理対象画像のデータをHSV色座標系のデータに変換可能な色空間変換部と、をさらに備え、HSV色座標系で記述された前記処理対象画像のデータが、所定の撮像対象物を前記撮像処理部にて撮像することにより得られた撮像データを前記色空間変換部にて変換することにより得られる、ことを特徴とする。 The invention of claim 2 is the image processing apparatus according to claim 1, which is an imaging processing unit that captures a predetermined imaging target and generates imaging data described in an RGB color coordinate system, and an RGB color coordinate system. Further provided with a color space conversion unit capable of converting the data of the processing target image described in the above into the data of the HSV color coordinate system, the data of the processing target image described in the HSV color coordinate system is a predetermined imaging. It is characterized in that it is obtained by converting the image pickup data obtained by taking an image of an object by the image pickup processing unit by the color space conversion unit.

請求項の発明は、請求項1または請求項に記載の画像処理装置であって、前記領域抽出処理部が、前記画素特定部によって特定された画素の色相値を、前記処理対象画像において前記所定の領域の像を与える色相値とは異なる色相値と置換する色相置換処理部、をさらに有することを特徴とする。 The invention of claim 3 is the image processing apparatus according to claim 1 or 2 , wherein the region extraction processing unit applies a hue value of a pixel specified by the pixel specifying unit to the image to be processed. It is characterized by further having a hue replacement processing unit that replaces a hue value different from the hue value that gives an image of the predetermined region.

請求項の発明は、請求項1ないし請求項のいずれかに記載の画像処理装置であって、前記領域抽出処理部によって抽出された前記所定の領域の全体または端部が、前記表示部に表示された前記処理対象画像において強調表示される、ことを特徴とする。 The invention of claim 4 is the image processing apparatus according to any one of claims 1 to 3 , wherein the whole or end of the predetermined area extracted by the area extraction processing unit is the display unit. It is characterized in that it is highlighted in the processed image displayed on the screen.

請求項の発明は、ラインパターンの画像を含む所定の撮像対象を撮像して得られる処理対象画像から前記ラインパターンの存在位置に合致する所定の領域を抽出する画像処理方法であって、前記所定の領域を抽出する際の抽出基準を設定する抽出基準設定工程と、前記抽出基準に基づいて前記処理対象画像から前記所定の領域を抽出する領域抽出工程と、を備え、前記所定の撮像対象が、下地面に所定のパターンが形成されたものであり、前記所定の領域が、前記処理対象画像において前記所定のパターンの像に含まれる、色相が所定の色相値の範囲内にある領域であって、かつ、前記ラインパターンの下地部分に存在する加工痕に起因する不規則な濃淡がある領域であり、前記抽出基準設定工程が、操作者が所定の表示手段に表示された前記処理対象画像を視認しつつ所定の操作手段を操作することによって、前記処理対象画像において前記所定の領域に含まれると前記操作者が視認する領域から前記濃淡を含めた任意の小領域を選択する範囲選択工程と、前記任意の小領域に属する画素の色相値の範囲を、HSV色座標系で記述された前記処理対象画像のデータに基づいて特定する色相範囲特定工程と、を有しており、前記色相範囲特定工程において特定された、前記任意の小領域に属する画素の色相値の範囲のうちの全ての範囲又はあらかじめ設定された上限および下限の所定割合を除去した範囲が前記抽出基準として設定され、前記領域抽出工程が、前記処理対象画像において色相値が前記抽出基準に該当する画素を特定する画素特定工程、を有しており、前記画素特定工程において特定された全ての画素からなる領域を、前記所定の領域として抽出する、ことを特徴とする。 The invention according to claim 5 is an image processing method for extracting a predetermined region matching the existence position of the line pattern from a processing target image obtained by imaging a predetermined imaging target including an image of the line pattern. An extraction standard setting step for setting an extraction standard when extracting a predetermined region and a region extraction step for extracting the predetermined region from the processing target image based on the extraction standard are provided, and the predetermined imaging target is provided. However, a predetermined pattern is formed on the base surface, and the predetermined region is a region in which the hue is included in the image of the predetermined pattern in the image to be processed and the hue is within the range of the predetermined hue value. It is a region having irregular shading due to processing marks existing in the base portion of the line pattern , and the extraction standard setting step is the processing target displayed on a predetermined display means by the operator. By operating a predetermined operating means while visually recognizing an image, a range selection for selecting an arbitrary small area including the shade from the area visually recognized by the operator when the image to be processed is included in the predetermined area. It has a step and a hue range specifying step of specifying a range of hue values of pixels belonging to the arbitrary small area based on the data of the processed image described in the HSV color coordinate system. The range obtained by removing the entire range of the hue values of the pixels belonging to the arbitrary small area or the predetermined ratios of the upper and lower limits set in advance specified in the hue range specifying step is set as the extraction reference. The region extraction step includes a pixel specifying step of specifying a pixel whose hue value corresponds to the extraction reference in the image to be processed, and a region consisting of all the pixels specified in the pixel specifying step. , It is characterized in that it is extracted as the predetermined region.

請求項の発明は、請求項に記載の画像処理方法であって、前記所定の撮像対象を撮像し、RGB色座標系で記述された撮像データを生成する撮像処理工程と、RGB色座標系で記述された前記処理対象画像のデータをHSV色座標系のデータに変換可能な色空間変換工程と、をさらに備え、HSV色座標系で記述された前記処理対象画像のデータは、所定の撮像対象物が前記撮像処理工程において撮像されることにより得られた撮像データが、前記色空間変換工程において変換されることにより得られる、ことを特徴とする。 The invention of claim 6 is the image processing method according to claim 5 , which is an imaging processing step of imaging a predetermined imaging target and generating imaging data described in an RGB color coordinate system, and an RGB color coordinate. Further comprising a color space conversion step capable of converting the data of the processing target image described in the system into the data of the HSV color coordinate system, the data of the processing target image described in the HSV color coordinate system is a predetermined. It is characterized in that the image pickup data obtained by imaging the image pickup object in the image pickup processing step is obtained by being converted in the color space conversion step.

請求項1ないし請求項の発明によれば、色相が所定の色相値の範囲内にあり、かつ、濃淡が視認される領域を、その一部を選択するという簡便な処理にて、好適に抽出することができる。色相に基づく処理を行うことで、RGB各色の色濃度値に基づく処理を行う場合に問題となる、濃淡が繰り返される部分における明暗や鮮やかさの相違の影響が、好適に排除される。 According to the first to sixth aspects of the invention, a simple process of selecting a part of a region where the hue is within a predetermined hue value range and the shade is visible is suitable. Can be extracted. By performing the processing based on the hue, the influence of the difference in brightness and vividness in the portion where the shade is repeated, which is a problem when the processing based on the color density value of each RGB color is performed, is suitably eliminated.

特に、請求項2および請求項の発明によれば、カメラによる撮像よって生成される、RGB色座標系で記述されたデータにより表される画像であっても、HSV色座標系で記述されたデータに変換することで、好適に抽出処理を行うことができる。 In particular, according to the inventions of claims 2 and 6 , even an image represented by data described in the RGB color coordinate system generated by imaging by a camera is described in the HSV color coordinate system. By converting to data, the extraction process can be preferably performed.

特に、請求項の発明によれば、抽出された領域の色相値がある色相値に置換されているので、当該領域を対象とする計測処理に際して、当該領域の特定が容易となる。これにより、計測処理が精度良く行えるようになる。 In particular, according to the invention of claim 3 , since the hue value of the extracted region is replaced with a certain hue value, it becomes easy to specify the region in the measurement process for the region. As a result, the measurement process can be performed with high accuracy.

特に、請求項の発明によれば、処理対象画像における抽出された領域の把握が容易となる。
In particular, according to the invention of claim 4 , it becomes easy to grasp the extracted region in the image to be processed.

計測装置100の概略的な構成を示す図である。It is a figure which shows the schematic structure of the measuring apparatus 100. 計測装置100に備わる機能的構成要素を示す機能ブロック図である。It is a functional block diagram which shows the functional component provided in the measuring apparatus 100. スクリーン印刷版10の一例についての撮像画像(部分拡大像)IM1を示す図である。It is a figure which shows the captured image (partially enlarged image) IM1 about an example of a screen printing plate 10. 画像処理の手順を示す図である。It is a figure which shows the procedure of image processing. 操作部133として備わるマウスでのオペレータのドラッグ操作によって、矩形領域REが選択されたときの、撮像画像IM2を示す図である。It is a figure which shows the captured image IM2 when the rectangular area RE is selected by the drag operation of the operator with the mouse provided as the operation part 133. 図5に示した矩形領域REに属する全ての画素の色相値についてのヒストグラムHG1を示す図である。It is a figure which shows the histogram HG1 about the hue value of all the pixels belonging to the rectangular region RE shown in FIG. 該当画素特定部191により特定された画素が占める範囲を黒色にて示す二値画像IM3aと、色相置換処理部192による置換後の像IM3bとを、例示する図である。It is a figure which illustrates the binary image IM3a which shows the range occupied by the pixel specified by the corresponding pixel identification part 191 in black, and the image IM3b after replacement by a hue replacement processing part 192. 置換前の撮像画像IM1を構成する全ての画素についてのヒストグラムHG2を示す図である。It is a figure which shows the histogram HG2 about all the pixels which make up the captured image IM1 before replacement. 撮像画像IM1を与えるRGB撮像データD0からR成分のみを抽出し、さらに二値化することにより得られる像IM1rを示す図である。It is a figure which shows the image IM1r obtained by extracting only the R component from the RGB image pickup data D0 which gives the image pickup image IM1, and further binarizing it. 金属板50上に形成されたラインパターン51に対し実施形態と同様の画像処理を適用した場合の様子を示す図である。It is a figure which shows the state when the same image processing as the embodiment is applied to the line pattern 51 formed on the metal plate 50.

<発明の概要>
図1は、本実施の形態に係る画像処理を実行可能な画像処理装置として機能する計測装置100の概略的な構成を示す図である。図2は、計測装置100に備わる機能的構成要素を示す機能ブロック図である。本実施の形態においては、計測装置100において行われる、スクリーン印刷版10を処理対象とする画像処理、および、これに関係する計測装置100の構成について、説明する。
<Outline of the invention>
FIG. 1 is a diagram showing a schematic configuration of a measuring device 100 that functions as an image processing device capable of performing image processing according to the present embodiment. FIG. 2 is a functional block diagram showing functional components included in the measuring device 100. In the present embodiment, the image processing for the screen printing plate 10 to be processed and the configuration of the measuring device 100 related thereto, which are performed in the measuring device 100, will be described.

計測装置100は、計測対象たるスクリーン印刷版10が載置されるステージ101と、カメラ本体111などを備え、ステージ101に載置されたスクリーン印刷版10を撮像する撮像部110(図2)と、3種類の照明手段(同軸照明121、リング照明122、および透過照明123)を備え、スクリーン印刷版10に対し種々の態様にて照明光を照射可能な照明部120(図2)と、計測装置100の各部の動作の制御とメッシュ位置の特定に必要な演算処理とを担う処理装置130とを、主として備える。計測装置100の構成の詳細については後述する。 The measuring device 100 includes a stage 101 on which the screen printing plate 10 to be measured is placed, a camera body 111, and an imaging unit 110 (FIG. 2) that captures the screen printing plate 10 mounted on the stage 101. A lighting unit 120 (FIG. 2) having three types of lighting means (coaxial lighting 121, ring lighting 122, and transmitted lighting 123) and capable of irradiating the screen printing plate 10 with illumination light in various modes, and measurement. It mainly includes a processing device 130 that controls the operation of each part of the device 100 and performs arithmetic processing necessary for specifying the mesh position. The details of the configuration of the measuring device 100 will be described later.

図3は、スクリーン印刷版10の一例についての撮像画像(部分拡大像)IM1を示す図である。スクリーン印刷版10は概略、アルミなどの金属からなる平面視矩形状の版枠1内に形成された乳剤膜2の一部に、印刷対象物に形成しようとするパターン(印刷パターン)に応じた開口部(パターン開口部)3を設けたものである(図1)。 FIG. 3 is a diagram showing a captured image (partially enlarged image) IM1 of an example of the screen printing plate 10. The screen printing plate 10 roughly corresponds to a pattern (printing pattern) to be formed on an object to be printed on a part of an emulsion film 2 formed in a plate frame 1 having a rectangular shape in a plan view made of a metal such as aluminum. An opening (pattern opening) 3 is provided (FIG. 1).

ただし、図1においてはスクリーン印刷版10の図示を簡略化している。実際のスクリーン印刷版10においては、図3に示すように、版枠1にスクリーンメッシュ4が張設されてなる。スクリーンメッシュ4は、それぞれが金属またはナイロン線材からなりかつ所定間隔にて離隔する多数の横糸4xおよび多数の縦糸4yが互いに交差(直交)するように製織された網目構造(メッシュ構造)をなしており、乳剤膜2は、係るスクリーンメッシュ4上に(いわば、スクリーンメッシュ4を下地面として)塗布形成されてなる。そのため、開口部3においては、スクリーンメッシュ4が露出している。なお、乳剤膜2は、所定の色にて設けられている。これは、スクリーンメッシュ4が露出している開口部3との識別性を確保するため、つまりは、視認性確保のためである。図示の制約上、図面からは看取できないが、図3に例示するスクリーン印刷版10の乳剤膜2は、実際には概ね赤紫色として視認されるものである。 However, in FIG. 1, the illustration of the screen printing plate 10 is simplified. In the actual screen printing plate 10, the screen mesh 4 is stretched on the plate frame 1 as shown in FIG. The screen mesh 4 has a mesh structure (mesh structure) woven so that a large number of weft threads 4x and a large number of warp threads 4y, each of which is made of a metal or nylon wire and is separated at a predetermined interval, intersect (orthogonally) with each other. The emulsion film 2 is formed by coating on the screen mesh 4 (so to speak, using the screen mesh 4 as a base surface). Therefore, the screen mesh 4 is exposed in the opening 3. The emulsion film 2 is provided with a predetermined color. This is for ensuring the distinction from the opening 3 where the screen mesh 4 is exposed, that is, for ensuring the visibility. Although it cannot be seen from the drawings due to the limitation of the illustration, the emulsion film 2 of the screen printing plate 10 illustrated in FIG. 3 is actually visually recognized as reddish purple.

本実施の形態においては、図3に例示する撮像画像IM1のような、開口部3を含む乳剤膜2の撮像画像を、計測装置100における画像処理の対象とする。本実施の形態に係る画像処理とは、概略、スクリーン印刷版10の像から、パターン開口部3以外の領域、つまりは乳剤膜2の形成領域を抽出することを、意図した処理である。これは、換言すれば、スクリーン印刷版10の撮像データにおいて、乳剤膜2の像を与える全ての画素を(当該像を与える画素範囲を)特定することを意図している。 In the present embodiment, the captured image of the emulsion film 2 including the opening 3 such as the captured image IM1 illustrated in FIG. 3 is the target of image processing in the measuring device 100. The image processing according to the present embodiment is roughly intended to extract a region other than the pattern opening 3, that is, a region where the emulsion film 2 is formed, from the image of the screen printing plate 10. In other words, it is intended to specify (the pixel range that gives the image) all the pixels that give the image of the emulsion film 2 in the image pickup data of the screen printing plate 10.

乳剤膜2はスクリーンメッシュ4上に塗布形成されているが、多くの場合、スクリーンメッシュ4は乳剤膜2を透過している。そのため、本来的には一様に同じ色味を呈するはずの乳剤膜2を目視であるいは顕微鏡にて観察した場合、係る透過に起因した濃淡(色味の相違)が、横糸4xおよび縦糸4yのそれぞれの延在方向において繰り返されていることが、確認される。なお、横糸4xおよび縦糸4yはそれぞれ概ね等間隔に配置されてはいるものの、位置ずれが少なからずあるため、乳剤膜2の濃淡は概ね周期的ではあるものの、必ずしも一定の周期にて繰り返されているわけではない。また、乳剤膜2において開口部3を形成する端部は、マクロ的には直線であっても、微視的には、スクリーンメッシュ4の存在により微細な凹凸形状をなしている。後述する、本実施の形態に係る画像処理は、これら乳剤膜2に固有の特徴を踏まえつつ、乳剤膜2の形成領域を抽出することを意図した処理となっている。 The emulsion film 2 is coated and formed on the screen mesh 4, but in many cases, the screen mesh 4 is transparent to the emulsion film 2. Therefore, when the emulsion film 2 which should originally exhibit the same color tone is visually or microscopically observed, the shade (difference in color tone) due to the permeation is the warp and weft 4x and the warp and weft 4y. It is confirmed that it is repeated in each extension direction. Although the warp and weft 4x and the warp and weft 4y are arranged at approximately equal intervals, the position shift is not small, so that the shading of the emulsion film 2 is substantially periodic, but is not necessarily repeated at a constant cycle. Not at all. Further, even if the end portion of the emulsion film 2 forming the opening 3 is macroscopically straight, microscopically, it has a fine uneven shape due to the presence of the screen mesh 4. The image processing according to the present embodiment, which will be described later, is a process intended to extract a formed region of the emulsion film 2 while taking into consideration the characteristics peculiar to the emulsion film 2.

なお、厳密にいえば、図3はあくまでスクリーン印刷版10の例示的な一態様についての撮像画像IM1であり、それゆえ、図中に存在するのはあくまで乳剤膜2、パターン開口部3、およびスクリーンメッシュ4の像であるが、本実施の形態においては、説明の簡単のため、これらの像を単に乳剤膜2、パターン開口部3、およびスクリーンメッシュ4と称することがある。以降の図においても同様とする。また、パターン開口部3を、計測対象パターンとも称する。 Strictly speaking, FIG. 3 is merely an image IM1 for an exemplary aspect of the screen printing plate 10, and therefore, only the emulsion film 2, the pattern opening 3, and the pattern opening 3 are present in the figure. Although it is an image of the screen mesh 4, in the present embodiment, these images may be simply referred to as an emulsion film 2, a pattern opening 3, and a screen mesh 4 for the sake of simplicity. The same shall apply in the following figures. Further, the pattern opening 3 is also referred to as a measurement target pattern.

また、図3においては、所定幅の線状のパターン開口部3が略平行に多数形成されたスクリーン印刷版10の撮像画像IM1を示しているが、スクリーン印刷版10における計測対象パターンの形状および配置はこれに限られるものではなく、矩形や円形その他、種々の形状のパターンが種々の配置にて形成されていてよい。 Further, FIG. 3 shows the captured image IM1 of the screen printing plate 10 in which a large number of linear pattern openings 3 having a predetermined width are formed substantially in parallel. The arrangement is not limited to this, and patterns of various shapes such as a rectangle, a circle, and the like may be formed in various arrangements.

<計測装置の構成>
次に、計測装置100の構成について、図1および図2を参照しつつ説明する。
<Configuration of measuring device>
Next, the configuration of the measuring device 100 will be described with reference to FIGS. 1 and 2.

図1に示すように、ステージ101は、その上面に計測対象物(図1の場合であればスクリーン印刷版10、以下同様)を水平姿勢にて載置固定できるように設けられてなる。固定には、吸着や、貼付、図示を省略する挟持手段による教示等、種々の手法が適用されてよい。なお、係る載置固定がなされた状態で、下方に配置されてなる透過照明123からの照明光が少なくとも撮像部110による撮像対象範囲に照射されるよう、少なくとも当該撮像対象範囲については、例えばガラスなどの透明な材料で構成される。 As shown in FIG. 1, the stage 101 is provided on the upper surface thereof so that an object to be measured (screen printing plate 10 in the case of FIG. 1, the same applies hereinafter) can be placed and fixed in a horizontal posture. For fixing, various methods such as adsorption, sticking, and teaching by a holding means (not shown) may be applied. It should be noted that, in the state where the mounting is fixed, at least the image pickup target range is, for example, glass so that the illumination light from the transmitted illumination 123 arranged below is irradiated to at least the image pickup target range by the image pickup unit 110. It is composed of transparent materials such as.

撮像部110は、ステージ101の上方に備わるカメラ本体111と、該カメラ本体111に接続され鉛直下方に延在する鏡筒112とを主に備える。鏡筒112の内部には、図示を省略する撮像用レンズその他の光学系113が設けられている。 The image pickup unit 110 mainly includes a camera body 111 provided above the stage 101, and a lens barrel 112 connected to the camera body 111 and extending vertically downward. Inside the lens barrel 112, an image pickup lens and other optical systems 113 (not shown) are provided.

カメラ本体111は、適宜の撮像用レンズを装着した状態で使用され、ステージ101に載置された被写体につき、RGB色座標系で表されるカラー画像を撮像可能とされてなる。 The camera body 111 is used with an appropriate imaging lens attached, and can capture a color image represented by an RGB color coordinate system for a subject placed on the stage 101.

照明部120は、上述のように、同軸照明121と、リング照明122と、透過照明123という、3種類の照明手段を備える。これらの照明手段は、相異なる特徴を有する。 As described above, the illumination unit 120 includes three types of illumination means: a coaxial illumination 121, a ring illumination 122, and a transmission illumination 123. These lighting means have different characteristics.

同軸照明121は、照明光の中心軸をカメラ本体111の画角の中心軸と一致させる態様にて、ステージ101に載置された計測対象物に向けて照明光を照射する照明手段である。具体的には、鏡筒112内のカメラ本体111からステージ101へと向かう撮像光路の途中に図示しないハーフミラーが備わっており、鏡筒112の側方に設けられた同軸照明121から出射された照明光は、該ハーフミラーにて反射されることにより撮像光路と同軸とされたうえで、計測対象物に向けて照射される。 The coaxial illumination 121 is an illumination means that irradiates the illumination light toward the measurement object mounted on the stage 101 in such a manner that the central axis of the illumination light coincides with the central axis of the angle of view of the camera body 111. Specifically, a half mirror (not shown) is provided in the middle of the imaging optical path from the camera body 111 in the lens barrel 112 to the stage 101, and is emitted from the coaxial illumination 121 provided on the side of the lens barrel 112. The illumination light is reflected by the half mirror to be coaxial with the imaging optical path, and then is irradiated toward the object to be measured.

リング照明122は、鏡筒112の外周にリング状(円環状)に配置された照明手段である。リング照明122は、ステージ101に載置された計測対象物に向けて照明光を照射するよう配置されてなる。 The ring illumination 122 is an illumination means arranged in a ring shape (annular shape) on the outer circumference of the lens barrel 112. The ring illumination 122 is arranged so as to irradiate the illumination light toward the measurement object placed on the stage 101.

透過照明123は、ステージ101の下方に配置されてなる照明手段であり、鉛直上方に向けて照明光を照射する。すなわち、透過照明123は、ステージ101に載置された計測対象物に向けて、同軸照明121およびリング照明122とは反対側から照明光を照射する。係る照明光は、ステージ101の透明な部分を介してスクリーン印刷版10の裏面に照射される。 The transmitted illumination 123 is an illumination means arranged below the stage 101, and irradiates the illumination light vertically upward. That is, the transmitted illumination 123 irradiates the measurement object mounted on the stage 101 with illumination light from the side opposite to the coaxial illumination 121 and the ring illumination 122. The illumination light is applied to the back surface of the screen printing plate 10 through the transparent portion of the stage 101.

これら同軸照明121と、リング照明122と、透過照明123とは、計測装置100の使用態様に応じて適宜に選択されあるいは組み合わされて、使用される。好ましくは、少なくとも撮像部110による撮像範囲全般が、均等に照明されるよう、各照明手段からの照明光の照射態様が定められる。 The coaxial illumination 121, the ring illumination 122, and the transmission illumination 123 are appropriately selected or combined and used according to the usage mode of the measuring device 100. Preferably, the irradiation mode of the illumination light from each illumination means is determined so that at least the entire imaging range by the imaging unit 110 is uniformly illuminated.

計測装置100はまた、撮像部110および照明部120をステージ101に対して移動させる所定の移動機構100M(図2)を備える。撮像部110が照明部120ともども移動機構100Mによって移動させられることにより、水平面内および鉛直方向における任意の撮像位置で、ステージ101に載置固定された計測対象物を撮像することが可能となっている。 The measuring device 100 also includes a predetermined moving mechanism 100M (FIG. 2) for moving the image pickup unit 110 and the illumination unit 120 with respect to the stage 101. By moving the image pickup unit 110 together with the illumination unit 120 by the moving mechanism 100M, it becomes possible to image an object to be measured mounted and fixed on the stage 101 at an arbitrary image pickup position in the horizontal plane and in the vertical direction. There is.

処理装置130は、CPU131aと、ROM131bと、RAM131cとを含む処理制御部131と、例えばディスプレイなどからなる表示部132と、マウス、キーボードやタッチパネルなどからなる操作部133と、ハードディスクなどからなる記憶部134とを備える。処理装置130は、例えば汎用のコンピュータによって実現可能である。 The processing device 130 includes a processing control unit 131 including a CPU 131a, a ROM 131b, and a RAM 131c, a display unit 132 including, for example, a display, an operation unit 133 including a mouse, a keyboard, a touch panel, and a storage unit including a hard disk. It is equipped with 134. The processing device 130 can be realized by, for example, a general-purpose computer.

計測装置100においては、記憶部134に記憶されてなる図示しない所定の処理プログラムが処理制御部131によって実行されることにより、図2に示す種々の機能的構成要素が、処理制御部131において仮想的な構成要素として実現されるようになっている。 In the measuring device 100, when a predetermined processing program (not shown) stored in the storage unit 134 is executed by the processing control unit 131, various functional components shown in FIG. 2 are virtualized in the processing control unit 131. It has come to be realized as a typical component.

具体的には、撮像処理部140と、照明制御部150と、移動制御部160と、色空間変換部170と、抽出基準設定処理部180と、領域抽出処理部190と、計測処理部200とが、主として実現される。 Specifically, the image pickup processing unit 140, the lighting control unit 150, the movement control unit 160, the color space conversion unit 170, the extraction standard setting processing unit 180, the area extraction processing unit 190, and the measurement processing unit 200. However, it is mainly realized.

撮像処理部140は、撮像部110による撮像を制御するとともに、撮像の結果得られたデータ(撮像データ)をカメラ本体111から取得し、処理制御部131内における所定の処理に供する。 The image pickup processing unit 140 controls the image pickup by the image pickup unit 110, acquires the data (imaging data) obtained as a result of the image pickup from the camera body 111, and performs a predetermined process in the process control unit 131.

具体的には、撮像処理部140は、撮像部110に、スクリーン印刷版10の撮像を実行させ、その撮像結果を、各画素の色濃度値をRGB色座標系(RGB色空間)に基づき記述したRGB撮像データD0として生成する。あるいは、撮像部110(より具体的にはカメラ本体111)においてRGB撮像データD0が生成され、撮像処理部140に受け渡される態様であってもよい。 Specifically, the image pickup processing unit 140 causes the image pickup unit 110 to perform imaging of the screen printing plate 10, and describes the image pickup result by describing the color density value of each pixel based on the RGB color coordinate system (RGB color space). It is generated as the RGB image pickup data D0. Alternatively, the RGB image pickup data D0 may be generated in the image pickup unit 110 (more specifically, the camera body 111) and passed to the image pickup processing unit 140.

なお、撮像処理部140は、撮像部110にて撮像される像(ライブビュー)を表示部132に表示させる役割も担う。 The image pickup processing unit 140 also plays a role of displaying the image (live view) imaged by the image pickup unit 110 on the display unit 132.

照明制御部150は、撮像部110による撮像の際の、照明部120による照明光の照射を制御する。具体的な照射態様は、計測対象の形状や色や計測対象位置などに応じて適宜に定められればよい。例えば、RGB撮像データD0における各画素の色濃度値が飽和しない程度の明るさにて照明光を照射する、といった対応などが想定される。 The illumination control unit 150 controls the irradiation of the illumination light by the illumination unit 120 at the time of imaging by the image pickup unit 110. The specific irradiation mode may be appropriately determined according to the shape and color of the measurement target, the position of the measurement target, and the like. For example, it is assumed that the illumination light is irradiated with a brightness such that the color density value of each pixel in the RGB image pickup data D0 is not saturated.

移動制御部160は、撮像部110および照明部120を移動させる移動機構100Mの動作を制御する。移動制御部160による移動機構100Mの制御態様には、操作部133を通じて計測装置100のオペレータ(操作者)から移動制御部160に与えられる移動指示に応じた手動制御と、あらかじめ設定された処理プログラムに従って撮像部110による撮像と移動機構100Mによる移動とが実行される自動制御とがある。後者は例えば、一の計測対象のあらかじめ定められた相異なる複数の箇所において撮像さらには計測を順次に行う場合などが想定される。 The movement control unit 160 controls the operation of the movement mechanism 100M that moves the image pickup unit 110 and the illumination unit 120. The control mode of the movement mechanism 100M by the movement control unit 160 includes manual control according to a movement instruction given to the movement control unit 160 by an operator (operator) of the measuring device 100 through the operation unit 133, and a preset processing program. According to this, there is an automatic control in which imaging by the imaging unit 110 and movement by the moving mechanism 100M are executed. The latter is assumed to be, for example, a case where imaging and further measurement are sequentially performed at a plurality of predetermined different locations of one measurement target.

色空間変換部170は、RGB色座標系に基づき記述されてなる色濃度値を、HSV色座標系(HSV色空間)に基づく記述に変換する処理を担う。 The color space conversion unit 170 is responsible for converting a color density value described based on the RGB color coordinate system into a description based on the HSV color coordinate system (HSV color space).

ある画素iのRGB色座標系における色濃度値を(R、G、B)=(Ri、Gi、Bi)とし(0≦Ri、Gi、Bi≦255)、値Ri、Gi、Biの最大値をMax、最小値をMinとするとき、HSV色座標系における色濃度値(H、S、V)=(Hi、Si、Vi)は、以下の公知の関係式にて表される。 The color density value of a pixel i in the RGB color coordinate system is (R, G, B) = (Ri, Gi, Bi) (0≤Ri, Gi, Bi≤255), and the maximum value of the values Ri, Gi, Bi. Is Max and Min is the minimum value, and the color density value (H, S, V) = (Hi, Si, Vi) in the HSV color coordinate system is expressed by the following known relational expression.

Hi=60・(Gi-Ri)/(Max-Min)+60 (Min=Biのとき);
Hi=60・(Bi-Gi)/(Max-Min)+180 (Min=Riのとき);
Hi=60・(Ri-Bi)/(Max-Min)+300 (Min=Giのとき);
Hi=不定 (Max=Minのとき);
Si=Max-Min;
Vi=Max。
Hi = 60 ・ (Gi-Ri) / (Max-Min) +60 (when Min = Bi);
Hi = 60 · (Bi-Gi) / (Max-Min) +180 (when Min = Ri);
Hi = 60 · (Ri-Bi) / (Max-Min) +300 (when Min = Gi);
Hi = indefinite (when Max = Min);
Si = Max-Min ;
Vi = Max.

ただし、上記関係式で求まるHiについてHi<0であるときは360をさらに加え、Hi>360であるときは360をさらに差し引いた値が、Hiとされる。 However, for Hi obtained by the above relational expression, when Hi <0, 360 is further added, and when Hi> 360, 360 is further subtracted, and the value is regarded as Hi.

色空間変換部170は、RGB撮像データD0においてRGB色座標系に基づき記述されてなる各画素の色濃度値を、上記の関係式に基づき変換することによって、全ての画素の画素値がHSV色座標系に基づき記述されてなるHSV撮像データD1を生成する。HSV撮像データD1は画素位置情報(座標)をキーとしてRGB撮像データD0と紐付けられたデータである。 The color space conversion unit 170 converts the color density value of each pixel described in the RGB image pickup data D0 based on the RGB color coordinate system based on the above relational expression, so that the pixel values of all the pixels are HSV colors. The HSV imaging data D1 described based on the coordinate system is generated. The HSV imaging data D1 is data associated with the RGB imaging data D0 using the pixel position information (coordinates) as a key.

なお、上記関係式で得られる色相Hの値Hiについては、色相環に対応して0≦Hi≦360なる範囲の値となるが、これを256階調に規格化した、規格化色相値Hnを、Hiの代わりに用いる態様であってもよい。この場合、近似的には、
Hn=(256/360)・Hi
である。
The value Hi of the hue H obtained by the above relational expression is a value in the range of 0 ≦ Hi ≦ 360 corresponding to the color wheel, but the standardized hue value Hn is standardized to 256 gradations. May be used instead of Hi. In this case, approximately
Hn = (256/360) ・ Hi
Is.

本実施の形態に係る計測装置100においては、撮像部110による撮像により得られたRGB撮像データD0そのままではなく、当該データを色空間変換部170にて変換したHSV撮像データD1が、撮像画像IM1から乳剤膜2の形成領域を抽出するにあたっての実際の処理に利用される。これは、撮像画像IM1には上述のようなスクリーンメッシュ4の透過の有無に起因した濃淡(色味の相違)が生じていることを、考慮したものである。なお、たとえ上述のように均等に照明光が照射された状態で撮像画像IM1が得られていたとしても、撮像場所や場所の相違に起因して濃淡が生じる可能性もある。 In the measuring device 100 according to the present embodiment, the RGB image pickup data D0 obtained by the image pickup by the image pickup unit 110 is not the same, but the HSV image pickup data D1 obtained by converting the data by the color space conversion unit 170 is the image pickup image IM1. It is used in the actual processing for extracting the formed region of the emulsion film 2 from the above. This is in consideration of the fact that the captured image IM1 has a shade (difference in color) due to the presence or absence of transmission of the screen mesh 4 as described above. Even if the captured image IM1 is obtained in a state where the illumination light is evenly irradiated as described above, there is a possibility that shading may occur due to a difference in the imaging location or location.

RGB撮像データD0においては色相の相違に加え、明暗や鮮やかさの相違がRGB各色の色濃度値に直接に影響する。そのため、RGB撮像データD0を処理対象とした場合、濃淡のある部分は、たとえ色相に顕著な差異がないとしても、明暗や鮮やかさに起因する色濃度値の相違に基づき複数の領域が存在している部分と認識されてしまい、結果として、乳剤膜2の抽出が適切に行われない可能性がある。一方、明度成分および彩度成分が色相成分から分離されてなるHSV撮像データD1を処理対象とすることで、そのような明暗や鮮やかさの相違の影響は除外される。その結果として、撮像画像IM1においては濃淡がある領域として視認されるものの、本来的にはある単一の色相値となっているか、あるいはせいぜい当該色相値を中心とした所定の色相値の範囲内で色相の相違が生じるに留まる、乳剤膜2の形成領域を、より精度よく抽出することができる。 In the RGB image pickup data D0, in addition to the difference in hue, the difference in brightness and vividness directly affects the color density value of each RGB color. Therefore, when the RGB image pickup data D0 is processed, a plurality of regions exist in the shaded portion based on the difference in the color density value due to the brightness and vividness even if there is no remarkable difference in hue. As a result, there is a possibility that the emulsion film 2 is not properly extracted. On the other hand, by targeting the HSV imaging data D1 in which the lightness component and the saturation component are separated from the hue component, the influence of such a difference in brightness and vividness is excluded. As a result, although it is visually recognized as a region with shading in the captured image IM1, it is originally a single hue value, or at most within a predetermined hue value centered on the hue value. It is possible to more accurately extract the formed region of the emulsion film 2, which only causes a difference in hue.

抽出基準設定処理部180は、計測対象物の像から所定の領域を抽出する際に用いる基準(抽出基準)を設定する処理(抽出基準設定処理)を担う。抽出基準設定処理部180は、係る抽出基準設定処理の実行のために、範囲選択部181と、色相範囲特定部182とを備える。 The extraction standard setting processing unit 180 is responsible for a process (extraction standard setting process) for setting a standard (extraction standard) used when extracting a predetermined region from an image of a measurement object. The extraction standard setting processing unit 180 includes a range selection unit 181 and a hue range specifying unit 182 for executing the extraction standard setting processing.

範囲選択部181は、計測装置100のオペレータが、表示部132に表示されている所定の像を視認しつつ操作部133を通じて当該像の任意の画素範囲を選択する(エリア指定する)ことを、可能とする部位である。計測装置100のオペレータは、表示部132に表示された撮像画像IM1において自らが選択しようとする範囲を確認しつつ、選択処理を行うことができる。係る範囲選択部181の作用によって、オペレータは、表示部132に表示された計測対象物の像を参照しつつ、抽出基準の設定に利用する画素範囲(小領域)を、当該像から選択することができる。係る場合において、表示部132に表示される計測対象物の像は、RGB撮像データD0によるものであってよいが、HSV撮像データD1によるものであってもよい。 The range selection unit 181 indicates that the operator of the measuring device 100 selects (designates an area) an arbitrary pixel range of the image through the operation unit 133 while visually recognizing a predetermined image displayed on the display unit 132. It is a possible part. The operator of the measuring device 100 can perform the selection process while confirming the range to be selected in the captured image IM1 displayed on the display unit 132. By the action of the range selection unit 181 the operator selects a pixel range (small area) to be used for setting the extraction standard from the image while referring to the image of the measurement target displayed on the display unit 132. Can be done. In such a case, the image of the measurement object displayed on the display unit 132 may be based on the RGB imaging data D0, but may also be based on the HSV imaging data D1.

具体的な領域の選択の仕方は、操作部133の具体的構成要素(マウス、キーボード、タッチパネル、デジタイザなど)の種類に応じた適宜のものでよい。例えば、操作部133に含まれるマウスによるクリック操作およびドラッグ操作や、キーボードのカーソルキーその他によるキー操作や、スタイラスペンなどによるタッチパネルへの直接の書き込みなどが例示される。簡便性や汎用性の点からは、マウスの使用が好適である。 The method of selecting a specific area may be appropriately selected according to the type of the specific component (mouse, keyboard, touch panel, digitizer, etc.) of the operation unit 133. For example, a click operation and a drag operation by a mouse included in the operation unit 133, a key operation by a cursor key or the like of a keyboard, a direct writing on a touch panel by a stylus pen or the like, and the like are exemplified. From the viewpoint of convenience and versatility, the use of a mouse is preferable.

また、選択される領域の形状は、任意の矩形、多角形、または円形であってよいが、不定形であってもよい。 Further, the shape of the selected region may be any rectangle, polygon, or circle, but may be irregular.

色相範囲特定部182は、HSV撮像データD1に基づいて、オペレータにより選択された領域に含まれる個々の画素の色相値を特定し、この特定された色相値の範囲を抽出基準として記述した抽出基準データD2を生成する。生成された抽出基準データD2は、領域抽出処理部190における抽出処理に利用される。 The hue range specifying unit 182 specifies the hue values of individual pixels included in the region selected by the operator based on the HSV imaging data D1, and describes the extracted hue value range as the extraction standard. Generate data D2. The generated extraction reference data D2 is used for extraction processing in the region extraction processing unit 190.

領域抽出処理部190は、HSV撮像データD1が与える像から、抽出基準データD2に記述された抽出基準をみたす領域を抽出する処理を担う。領域抽出処理部190は、これらの処理のために、該当画素特定部191と、色相置換処理部192とを備える。 The region extraction processing unit 190 is responsible for extracting a region satisfying the extraction criteria described in the extraction reference data D2 from the image given by the HSV imaging data D1. The region extraction processing unit 190 includes a corresponding pixel specifying unit 191 and a hue replacement processing unit 192 for these processes.

該当画素特定部191は、HSV撮像データD1に含まれる全ての画素のうち、色相値が抽出基準データD2に抽出基準として記述された画素範囲に該当する画素を、特定する。係る処理にて特定された全ての画素が、HSV撮像データD1が与える像にて占める範囲が、抽出処理にて抽出された領域ということになる。 The corresponding pixel specifying unit 191 specifies a pixel whose hue value corresponds to the pixel range described as the extraction reference in the extraction reference data D2 among all the pixels included in the HSV imaging data D1. The range occupied by the image given by the HSV imaging data D1 by all the pixels specified by the processing is the region extracted by the extraction processing.

色相置換処理部192は、該当画素特定部191によって特定された画素の色相値を、あらかじめ定めた色相値(好ましくは一の色相値)に置換することにより、処理対象データD3を生成する。 The hue replacement processing unit 192 generates the processing target data D3 by replacing the hue value of the pixel specified by the corresponding pixel identification unit 191 with a predetermined hue value (preferably one hue value).

計測処理部200は、処理対象データD3の表す像の任意の箇所を対象とした種々の計測処理の実行を、担う部位である。計測処理の具体的な内容は、個々のスクリーン印刷版10における乳剤膜2や開口部3の形成態様に応じて様々であり(例えば、開口部3の幅の計測、ランドの直径の計測など)、計測処理の実行には、種々の公知の手法が適用可能である。 The measurement processing unit 200 is a portion responsible for executing various measurement processes targeting an arbitrary portion of the image represented by the processing target data D3. The specific content of the measurement process varies depending on the formation mode of the emulsion film 2 and the opening 3 in each screen printing plate 10 (for example, measurement of the width of the opening 3, measurement of the diameter of the land, etc.). , Various known methods can be applied to the execution of the measurement process.

計測処理は、表示部132に処理対象データD3の表す像を表示させた状態で、オペレータが操作部133を操作しつつ当該像の任意の箇所のサイズを計測する態様であってもよいし、あらかじめ記憶部134に記憶されている計測処理プログラムにより自動処理として行われる態様であってもよい。 The measurement process may be an embodiment in which the operator measures the size of an arbitrary portion of the image while operating the operation unit 133 in a state where the display unit 132 displays the image represented by the processing target data D3. The mode may be such that it is automatically processed by the measurement processing program stored in the storage unit 134 in advance.

計測処理部200は、計測処理の結果を計測データD4として生成する。 The measurement processing unit 200 generates the result of the measurement processing as the measurement data D4.

<乳剤膜の形成領域の抽出処理>
次に、計測装置100において実行される、開口部3を含む乳剤膜2の撮像画像を対象としたスクリーン印刷版10の画像処理について説明する。係る画像処理は、具体的には、当該撮像画像から乳剤膜2の形成領域を抽出する処理である。図4は、係る画像処理の手順を示す図である。
<Extraction processing of the formed region of the emulsion film>
Next, the image processing of the screen printing plate 10 for the captured image of the emulsion film 2 including the opening 3 executed in the measuring device 100 will be described. Specifically, the image processing is a processing for extracting a formation region of the emulsion film 2 from the captured image. FIG. 4 is a diagram showing the procedure of the image processing.

まず、処理対象とされるスクリーン印刷版10がステージ101上に載置される(ステップS1)。併せて、スクリーン印刷版10は、適宜の態様にて固定される。 First, the screen printing plate 10 to be processed is placed on the stage 101 (step S1). At the same time, the screen printing plate 10 is fixed in an appropriate manner.

続いて、移動制御部160による制御のもと、移動機構100Mが動作することにより、乳剤膜2における抽出処理の対象範囲が撮像範囲に含まれるよう、撮像部110および照明部120が位置決めされる。そして、照明制御部150による制御に基づき照明部120が所定の態様にて照明光を照射した状態で、カメラ本体111によるスクリーン印刷版10の撮像が行われる(ステップS2)。 Subsequently, by operating the movement mechanism 100M under the control of the movement control unit 160, the image pickup unit 110 and the illumination unit 120 are positioned so that the target range of the extraction process in the emulsion film 2 is included in the image pickup range. .. Then, the screen printing plate 10 is imaged by the camera body 111 in a state where the lighting unit 120 irradiates the illumination light in a predetermined mode based on the control by the lighting control unit 150 (step S2).

撮像は、撮像処理部140による制御のもと、鏡筒112内の光学系113が適宜に調整されたうえで、カメラ本体111により実行される。撮像により生成されるRGB撮像データD0は、撮像処理部140から色空間変換部170に受け渡される。図3に示した撮像画像IM1が、RGB撮像データD0により表される撮像画像の一例であるとする。 The image pickup is performed by the camera body 111 after the optical system 113 in the lens barrel 112 is appropriately adjusted under the control of the image pickup processing unit 140. The RGB imaging data D0 generated by imaging is passed from the imaging processing unit 140 to the color space conversion unit 170. It is assumed that the captured image IM1 shown in FIG. 3 is an example of the captured image represented by the RGB captured data D0.

色空間変換部170は、上述した公知の関係式に従って、図3に示した撮像画像IM1を与えるRGB撮像データD0においてRGB色座標系に基づき記述された各画素の色濃度値を、HSV色座標系に基づく記述に変換し、HSV撮像データD1を生成する(ステップS3)。HSV撮像データD1により表される像の内容は撮像画像IM1と実質的に同じであるので、以降においては便宜上、図3に示した撮像画像IM1を、HSV撮像データD1により表される画像としても、取り扱うものとする。 The color space conversion unit 170 sets the color density value of each pixel described based on the RGB color coordinate system in the RGB image pickup data D0 giving the image captured image IM1 shown in FIG. 3 in HSV color coordinates according to the above-mentioned known relational expression. It is converted into a description based on the system and HSV imaging data D1 is generated (step S3). Since the content of the image represented by the HSV imaging data D1 is substantially the same as that of the captured image IM1, the captured image IM1 shown in FIG. 3 may be referred to as an image represented by the HSV imaging data D1 for convenience. , Should be handled.

HSV撮像データD1が生成されると、続いて、抽出基準設定処理部180の作用により、スクリーン印刷版10の像から乳剤膜2の形成領域を抽出する際の抽出基準を設定するための、抽出基準設定処理がなされる。 After the HSV imaging data D1 is generated, the extraction standard setting processing unit 180 acts to set an extraction standard for extracting the formation region of the emulsion film 2 from the image of the screen printing plate 10. The standard setting process is performed.

まず、範囲選択部181が、撮像画像IM1をRGB撮像データD0またはHSV撮像データD1に基づき表示部132に表示させるとともに、計測装置100のオペレータが操作部133を操作して、表示部132に表示された撮像画像IM1の任意の画素範囲を選択することが可能な状態を実現する。 First, the range selection unit 181 displays the image pickup image IM1 on the display unit 132 based on the RGB image pickup data D0 or the HSV image pickup data D1, and the operator of the measuring device 100 operates the operation unit 133 to display the image on the display unit 132. A state in which an arbitrary pixel range of the captured image IM1 can be selected is realized.

係る状態が実現されると、オペレータは操作部133を用いて、表示部132に表示されている撮像画像IM1を視認しつつ、当該撮像画像IM1における乳剤膜2の形成領域から、領域抽出の基準設定に利用する画素範囲(小領域)を選択する操作を行う(ステップS4)。図5は、操作部133として備わる図示しないマウスでのオペレータのドラッグ操作によって、矩形領域REが選択されたときの、撮像画像IM2を示す図である。 When such a state is realized, the operator uses the operation unit 133 to visually recognize the captured image IM1 displayed on the display unit 132, and is a reference for extracting a region from the formed region of the emulsion film 2 in the captured image IM1. An operation for selecting a pixel range (small area) used for setting is performed (step S4). FIG. 5 is a diagram showing a captured image IM2 when a rectangular region RE is selected by an operator drag operation with a mouse (not shown) provided as an operation unit 133.

概念的あるいは観念的にいえば、オペレータによる範囲選択は、撮像画像IM1のうち、抽出したい領域(本実施の形態では乳剤膜2)の像の代表例あるいはサンプルを、計測装置100に把握させる処理ともいえる。それゆえ、オペレータは、少なくとも、撮像画像IM1において乳剤膜2に含まれていると自身が視認する画素範囲(小領域)を選択する。好ましくは、オペレータは、乳剤膜2の典型的な様子が好適に現れていると自らが判断する画素範囲(小領域)を選択する。 Conceptually or conceptually speaking, the range selection by the operator is a process of causing the measuring device 100 to grasp a representative example or a sample of an image of a region to be extracted (emulsion film 2 in the present embodiment) in the captured image IM1. It can be said that. Therefore, the operator selects at least a pixel range (small area) that he / she visually recognizes as being contained in the emulsion film 2 in the captured image IM1. Preferably, the operator selects a pixel range (small area) that he / she determines that the typical appearance of the emulsion film 2 is preferably exhibited.

図3に示した撮像画像IM1の場合であれば、乳剤膜2の像においては、直下に格子状に存在するスクリーンメッシュ4が透過している部分と係る透過のない部分とからなる濃淡が繰り返されていることから、オペレータは、係る濃淡の繰り返しを相当程度含むように、範囲選択を行うのが好ましい。図5に示した矩形領域REは、それぞれの部分を十分に含む例となっている。もちろん、さらに広い範囲が選択されてもよい。あるいは、互いに離隔した複数の矩形領域REが選択される態様であってもよい。一方で、開口部3が含まれるような範囲選択は好ましくない。 In the case of the captured image IM1 shown in FIG. 3, in the image of the emulsion film 2, the shading consisting of the portion through which the screen mesh 4 existing in a grid pattern directly underneath is transmitted and the portion without transmission is repeated. Therefore, it is preferable that the operator selects the range so as to include the repetition of the shade to a considerable extent. The rectangular region RE shown in FIG. 5 is an example in which each portion is sufficiently included. Of course, a wider range may be selected. Alternatively, a plurality of rectangular regions RE separated from each other may be selected. On the other hand, it is not preferable to select a range that includes the opening 3.

オペレータによる範囲選択がなされると、これに応答して、色相範囲特定部182が、HSV撮像データD1の記述内容に基づいて、矩形領域REに属する全ての画素の色相値が占める色相範囲を特定し、当該範囲を抽出基準として設定する(ステップS5)。その際、色相範囲特定部182は、設定した抽出基準を記述した抽出基準データD2を生成する。 When the range is selected by the operator, in response to this, the hue range specifying unit 182 specifies the hue range occupied by the hue values of all the pixels belonging to the rectangular region RE based on the description content of the HSV imaging data D1. Then, the range is set as an extraction standard (step S5). At that time, the hue range specifying unit 182 generates the extraction standard data D2 that describes the set extraction standard.

なお、RGB撮像データD0とHSV撮像データD1とは色濃度値の記述の仕方が異なるのみであって画素は共通しているので、オペレータによる範囲選択の対象としている撮像画像IM1がRGB撮像データD0に基づく場合であっても、選択範囲に属する画素が特定されさえすれば、色相範囲特定部182による色相範囲の特定は問題なく行われる。 Since the RGB image pickup data D0 and the HSV image pickup data D1 differ only in the description method of the color density value and have common pixels, the captured image IM1 targeted for range selection by the operator is the RGB image pickup data D0. Even in the case based on the above, as long as the pixels belonging to the selected range are specified, the hue range specifying unit 182 can specify the hue range without any problem.

図6は、図5に示した矩形領域REに属する全ての画素の色相値についてのヒストグラムHG1を示す図である。ただし、図6においては、色相値としては規格化色相値が用いられている。係るヒストグラムHG1において度数が0ではない色相範囲ΔHaが、抽出基準として設定される。図6に示すような、ピークを有しつつ色相範囲に所定の広がりを有するヒストグラムHG1が得られるということは、矩形領域REにおける色相は単一ではないものの、ピーク中心の色相値を主とした、所定の色相値の範囲内にあることを、意味している。 FIG. 6 is a diagram showing a histogram HG1 for hue values of all pixels belonging to the rectangular region RE shown in FIG. However, in FIG. 6, a standardized hue value is used as the hue value. In the histogram HG1, the hue range ΔHa whose frequency is not 0 is set as the extraction reference. The fact that the histogram HG1 having a peak and having a predetermined spread in the hue range as shown in FIG. 6 means that the hue in the rectangular region RE is not single, but mainly the hue value at the center of the peak. , Means that it is within the range of the predetermined hue value.

なお、乳剤膜2によっては、複数のピークが現れる場合もあり、さらには、度数が0ではない色相範囲ΔHaが相異なる複数の範囲に分かれる場合もある。その場合、それら複数の範囲全てが抽出基準となる。 Depending on the emulsion film 2, a plurality of peaks may appear, and further, the hue range ΔHa having a non-zero power may be divided into a plurality of different ranges. In that case, all of these plurality of ranges serve as extraction criteria.

抽出基準データD2が生成されると、続いて、領域抽出処理部190により、抽出基準データD2に記述された抽出基準に該当する画素の特定と、特定された画素の色相値を置換する処理とが行われる。 When the extraction reference data D2 is generated, the region extraction processing unit 190 subsequently identifies the pixels corresponding to the extraction criteria described in the extraction reference data D2, and replaces the hue values of the specified pixels. Is done.

まず、該当画素特定部191が、HSV撮像データD1の記述内容を参照し、撮像画像IM1を構成する全ての画素のうち、色相値が抽出基準として設定された色相範囲に属する画素を特定する(ステップS6)。 First, the corresponding pixel specifying unit 191 refers to the description content of the HSV image pickup data D1 and identifies a pixel belonging to the hue range in which the hue value is set as the extraction reference among all the pixels constituting the image pickup image IM1 (. Step S6).

続いて、色相置換処理部192が、HSV撮像データD1に記述されてなる、該当画素特定部191によって特定された画素の色相値を、撮像画像IM1に実質的に現れていないとみなせる、もしくは、乳剤膜2およびスクリーンメッシュ4の色相値には含まれない、ある(好ましくは一の)色相値と置換する(ステップS7)。さらに、領域抽出処理部190は、色相置換処理部192による置換の結果に基づいて、処理対象データD3を生成する(ステップS8)。 Subsequently, the hue replacement processing unit 192 can consider that the hue value of the pixel specified by the corresponding pixel identification unit 191 described in the HSV image pickup data D1 does not substantially appear in the image pickup image IM1 or It is replaced with a certain (preferably one) hue value that is not included in the hue values of the emulsion film 2 and the screen mesh 4 (step S7). Further, the region extraction processing unit 190 generates the processing target data D3 based on the result of the replacement by the hue replacement processing unit 192 (step S8).

図7は、該当画素特定部191により特定された画素が占める範囲を黒色にて示す二値画像IM3aと、色相置換処理部192による置換後の像IM3bとを、例示する図である。図8は、置換前の撮像画像IM1を構成する全ての画素についてのヒストグラムHG2を示す図である。ただし、図8においても、色相値としては規格化色相値が用いられている。 FIG. 7 is a diagram illustrating a binary image IM3a showing a range occupied by a pixel specified by the corresponding pixel specifying unit 191 in black and an image IM3b after replacement by the hue replacement processing unit 192. FIG. 8 is a diagram showing a histogram HG2 for all the pixels constituting the captured image IM1 before replacement. However, also in FIG. 8, a standardized hue value is used as the hue value.

図7(a)に示す二値画像IM3aにおいては、該当画素特定部191によって特定された全ての画素の占める領域2bkが黒色にて表されている。なお、二値化は説明の便宜上のものであり、当該領域2bkを黒色にすることは必須ではない。また、図7(b)においては、当該領域2bkに属する画素の色相値(もしくは規格化色相値)が、色相置換処理部192によって0なる色相値(もしくは規格化色相値)にて置換にされている。なお、図示の制約上、図7(b)からは看取できないが、0なる色相値(もしくは規格化色相値)は赤色に相当する。 In the binary image IM3a shown in FIG. 7A, the region 2bk occupied by all the pixels specified by the corresponding pixel specifying unit 191 is shown in black. The binarization is for convenience of explanation, and it is not essential to make the region 2bk black. Further, in FIG. 7B, the hue value (or standardized hue value) of the pixel belonging to the region 2bk is replaced with a hue value (or standardized hue value) of 0 by the hue replacement processing unit 192. ing. Although it cannot be seen from FIG. 7B due to the limitation shown in the figure, the hue value (or standardized hue value) of 0 corresponds to red.

図3と図7とを対比すると、図7(a)に示す像IM3aにおける黒色領域2bkおよび図7(b)に示す像IM3bにおいて画素の色相値が0となっている(色相値が0に置換された)領域2αは、図3に示す撮像画像IM1における乳剤膜2の形成領域とほぼ一致している。 Comparing FIGS. 3 and 7, the hue value of the pixel is 0 in the black region 2bk in the image IM3a shown in FIG. 7A and the hue IM3b shown in FIG. 7B (the hue value becomes 0). The (replaced) region 2α substantially coincides with the region where the emulsion film 2 is formed in the captured image IM1 shown in FIG.

これはすなわち、色相置換処理部192による色相値の置換により形成されてなる像IM3bの領域2αが、撮像画像IM1から抽出された乳剤膜2の形成領域に相当するということを意味しており、ひいては、該当画素特定部191によって領域2αに含まれることになる画素を特定することで、乳剤膜2の形成領域が抽出されることを、意味している。それゆえ、領域2αを乳剤膜相当領域2αとも称する。 This means that the region 2α of the image IM3b formed by the substitution of the hue value by the hue replacement processing unit 192 corresponds to the formation region of the emulsion film 2 extracted from the captured image IM1. As a result, it means that the formation region of the emulsion film 2 is extracted by specifying the pixels to be included in the region 2α by the corresponding pixel specifying unit 191. Therefore, the region 2α is also referred to as an emulsion film equivalent region 2α.

また、図8に示すヒストグラムHG2においては、図6に示した色相範囲ΔHa以外の範囲にも度数を有する画素が存在する一方で、いずれの色相範囲とも異なる、規格化色相値が少なくとも0~40なる色相範囲ΔHbにおいては、度数が実質的に0である。それゆえ、色相置換処理部192による置換に、係る色相範囲ΔHbから選択した色相値を採用しても、乳剤膜2の形成領域以外における色相値には影響は生じない。図7(b)に示す像IM3bを得るに際して0なる色相値が採用されているのは、この点を踏まえたものとなっている。すなわち、色相置換処理部192による色相値の置換には、乳剤膜2の形成領域として抽出された乳剤膜相当領域2αの、他の領域との識別性を高める、強調表示としての効果もある。 Further, in the histogram HG2 shown in FIG. 8, while there are pixels having powers in a range other than the hue range ΔHa shown in FIG. 6, the normalized hue value different from any hue range is at least 0 to 40. In the hue range ΔHb, the frequency is substantially 0. Therefore, even if the hue value selected from the hue range ΔHb is adopted for the substitution by the hue replacement processing unit 192, the hue value other than the formation region of the emulsion film 2 is not affected. It is based on this point that the hue value of 0 is adopted when the image IM3b shown in FIG. 7B is obtained. That is, the replacement of the hue value by the hue replacement processing unit 192 also has an effect as a highlighting that enhances the distinctiveness of the emulsion film corresponding region 2α extracted as the formation region of the emulsion film 2 from other regions.

以上のことは、スクリーン印刷版10における乳剤膜2の形成領域が、領域抽出処理部190における、抽出基準データD2に基づく抽出処理によって、乳剤膜相当領域2αとして好適に抽出されることを意味する。 The above means that the formation region of the emulsion film 2 in the screen printing plate 10 is suitably extracted as the emulsion film corresponding region 2α by the extraction process based on the extraction reference data D2 in the region extraction processing unit 190. ..

なお、上述した0なる色相値による置換はあくまで例示である。色相置換処理部192における実際の置換に使用する色相値の具体的な値は、計測装置100のオペレータが撮像画像IM1に基づきあらかじめ適宜に設定してもよいし、HSV撮像データD1に記述されてなる個々の画素の色相値に基づいて、色相置換処理部192が設定する態様であってもよい。また、色味のない、白または黒に置換されてもよい。ただし、好ましくは、後工程の計測処理に際して、乳剤膜相当領域2αの特定や乳剤膜相当領域2αと開口部3との境界部分の識別が容易となるように、置換に用いる色相値が選択される。 It should be noted that the above-mentioned substitution with a hue value of 0 is merely an example. The specific value of the hue value used for the actual replacement in the hue replacement processing unit 192 may be appropriately set in advance by the operator of the measuring device 100 based on the captured image IM1, or is described in the HSV imaging data D1. It may be an embodiment set by the hue replacement processing unit 192 based on the hue value of each individual pixel. Further, it may be replaced with white or black, which has no tint. However, preferably, the hue value used for substitution is selected so that the emulsion film equivalent region 2α can be easily identified and the boundary portion between the emulsion film equivalent region 2α and the opening 3 can be easily identified in the measurement process in the subsequent step. To.

処理対象データD3は、色相置換処理部192による置換処理後の像IM3bを与える、HSV色座標あるいはRGB色座標にて記述されたデータそのものであってもよいし、計測処理部200により実行される計測の内容によっては、当該データをさらに加工したデータであってもよい。後者としては例えば、像IM3bから乳剤膜相当領域2αのエッジ部分を抽出したデータなどが例示される。 The data D3 to be processed may be the data itself described in HSV color coordinates or RGB color coordinates that gives the image IM3b after the replacement processing by the hue replacement processing unit 192, or is executed by the measurement processing unit 200. Depending on the content of the measurement, the data may be further processed. Examples of the latter include data obtained by extracting the edge portion of the emulsion film corresponding region 2α from the image IM3b.

また、像IM3bにおいては乳剤膜2の形成領域が乳剤膜相当領域2αに置換されているが、これに代えて、乳剤膜2の形成領域以外の領域が、単一の色相値あるいは白または黒に置換されてもよい。 Further, in the image IM3b, the formation region of the emulsion film 2 is replaced with the emulsion film corresponding region 2α, but instead, the region other than the formation region of the emulsion film 2 has a single hue value or white or black. May be replaced with.

あるいは、図7(a)に示す像IM3aのように抽出画素の占める領域2bkが黒色にて示された二値化画像を与えるデータが、処理対象データD3とされてもよい。 Alternatively, data that gives a binarized image in which the region 2bk occupied by the extracted pixels is shown in black as in the image IM3a shown in FIG. 7A may be the processing target data D3.

あるいはさらに、抽出された乳剤膜2の形成領域を視認容易に区別する態様として、色相置換処理部192による置換処理に代わる種々の手法が適用されてもよい。例えば、当該領域の境界部分(端部)のみが特定の色相値にて示される態様や、当該境界部分が表示部132にて点滅表示される態様などの、強調表示手法が、適用されてよい。 Alternatively, as an embodiment for easily visually distinguishing the formed region of the extracted emulsion film 2, various methods may be applied instead of the substitution processing by the hue substitution processing unit 192. For example, a highlighting method may be applied, such as a mode in which only the boundary portion (edge portion) of the region is shown by a specific hue value, or a mode in which the boundary portion is blinked and displayed on the display unit 132. ..

あるいはさらに、処理対象データD3にレイヤー構造を与え、置換前のスクリーン印刷版10の像と、乳剤膜相当領域2αの像あるいはこれを加工した像とが、相異なるレイヤーにて表現されるようになっていてもよい。係る場合、計測処理は後者のレイヤーを対象に行えばよい。 Alternatively, a layer structure is given to the processing target data D3 so that the image of the screen printing plate 10 before replacement and the image of the emulsion film equivalent region 2α or the processed image thereof are expressed by different layers. It may be. In such a case, the measurement process may be performed on the latter layer.

計測処理部200により行われた計測処理の結果は、計測データD4として出力される。 The result of the measurement processing performed by the measurement processing unit 200 is output as the measurement data D4.

乳剤膜相当領域2αは単一の色相値からなる領域であるので、たとえ元の乳剤膜2の形成領域と同様、スクリーンメッシュ4の存在に起因して微視的には凹凸が存在しているとしても、その形状の特定、例えばエッジ部分の特定は、容易かつ確実に行える。 Since the emulsion film corresponding region 2α is a region consisting of a single hue value, microscopic irregularities are present due to the presence of the screen mesh 4, even if the region is the same as the original emulsion film 2 forming region. Even so, the shape can be specified, for example, the edge portion can be specified easily and surely.

なお、図6に示した、オペレータにより選択された図5の矩形領域REに属する全ての画素の色相値についてのヒストグラムHG1と同様、図8に示す、置換前の撮像画像IM1を構成する全ての画素についてのヒストグラムHG2においても、色相範囲ΔHaにピークが存在する。それゆえ、一見すると、あえてオペレータによる範囲選択を行わずとも、図8に示すような撮像画像IM1についてのヒストグラムから、領域抽出の基準設定に利用する色相範囲を特定できるようにも思料される。しかしながら、この場合、どの色相値までが乳剤膜2の像に由来しているかが、必ずしも明確ではないことがある。例えば、図8に示すヒストグラムHG2の場合であれば、低色相値側で色相範囲ΔHaに隣接する範囲(具体的には色相値が170~180程度の範囲)においても、度数は0ではない。そのため、図8に示すヒストグラムHG2からは、少なくとも、乳剤膜2の像に相当する色相範囲の下限値を正確に定めることは困難である。せいぜい、曖昧さを残しつつ適宜の値に設定することができるに過ぎない。 Similar to the histogram HG1 for the hue values of all the pixels belonging to the rectangular region RE of FIG. 5 selected by the operator shown in FIG. 6, all the images IM1 before replacement shown in FIG. 8 are configured. Also in the histogram HG2 for pixels, there is a peak in the hue range ΔHa. Therefore, at first glance, it seems that the hue range used for the reference setting for region extraction can be specified from the histogram of the captured image IM1 as shown in FIG. 8 without intentionally selecting the range by the operator. However, in this case, it may not always be clear which hue value is derived from the image of the emulsion film 2. For example, in the case of the histogram HG2 shown in FIG. 8, the frequency is not 0 even in the range adjacent to the hue range ΔHa on the low hue value side (specifically, the range in which the hue value is about 170 to 180). Therefore, it is difficult to accurately determine at least the lower limit of the hue range corresponding to the image of the emulsion film 2 from the histogram HG2 shown in FIG. At best, it can be set to an appropriate value while leaving ambiguity.

例えば、オペレータが人為的に設定する場合、個人差が生じる可能性が高い。設定の仕方によっては、最終的に特定される乳剤膜相当領域2αは、実際の乳剤膜2の形成範囲と必ずしも十分に対応していない可能性も考えられる。また、判別分析法などの統計的処理手法を利用することで人為的なばらつき要因を排除する対応も考えられるが、必ずしも実際の像の様子が反映されず、精度のよい領域抽出が行えない場合もある。 For example, when the operator sets it artificially, there is a high possibility that individual differences will occur. Depending on the setting method, it is possible that the emulsion film corresponding region 2α finally specified does not necessarily sufficiently correspond to the actual formation range of the emulsion film 2. In addition, it is possible to eliminate artificial variation factors by using statistical processing methods such as discriminant analysis methods, but when the actual image is not always reflected and accurate region extraction cannot be performed. There is also.

本実施の形態に係る手法は、このような曖昧さに起因した領域抽出の不正確さを排除している点で好適である。 The method according to the present embodiment is preferable in that the inaccuracy of region extraction due to such ambiguity is eliminated.

一方で、本実施の形態に係る手法の場合、抽出基準設定のためのオペレータによる範囲選択には形状、サイズ、面積などに任意性がある。しかしながら、乳剤膜2の形成範囲からの選択がなされる限り、選択された画素範囲(小領域)に含まれる画素に基づくヒストグラムについては、度数の大小にこそ図6に示したヒストグラムHG1との相違があるとしても、度数が0ではない色相範囲ΔHaには実質的な差異が生じる可能性は小さい。しかも、乳剤膜2の形成範囲全てを選択する必要もない。また、マウス等による簡便な範囲選択も可能である。 On the other hand, in the case of the method according to the present embodiment, the range selection by the operator for setting the extraction standard has arbitrary shapes, sizes, areas, and the like. However, as long as the selection from the formation range of the emulsion film 2 is made, the histogram based on the pixels included in the selected pixel range (small area) is different from the histogram HG1 shown in FIG. 6 due to the magnitude of the frequency. Even if there is, it is unlikely that a substantial difference will occur in the non-zero hue range ΔHa. Moreover, it is not necessary to select the entire formation range of the emulsion film 2. It is also possible to easily select a range with a mouse or the like.

よって、本実施の形態に係る手法は、乳剤膜2の形成領域の特定について、簡便性と冗長性とを兼ね備えているということができる。 Therefore, it can be said that the method according to the present embodiment has both convenience and redundancy in specifying the formation region of the emulsion film 2.

また、図9は、比較のために示す、撮像画像IM1を与えるRGB撮像データD0からR成分のみを抽出し、さらに二値化することにより得られる像IM1rを示す図である。像IM1rにおいては、図7(b)における乳剤膜相当領域2αと同様の乳剤膜相当領域2βが黒色領域となっていることに加えて、パターン開口部3におけるスクリーンメッシュ4の像も、黒色となっていることが確認される。なお、図示は省略するが、G成分、B成分についても、像IM1rと同様の像が得られることが、確認されている。係る像から乳剤膜2の形成領域のみを抽出しようとすると、スクリーンメッシュ4の像を乳剤膜相当領域2βから分離する処理が必須となる。 Further, FIG. 9 is a diagram showing an image IM1r obtained by extracting only the R component from the RGB image pickup data D0 that gives the image captured image IM1 and further binarizing it, which is shown for comparison. In the image IM1r, in addition to the emulsion film corresponding region 2β similar to the emulsion film corresponding region 2α in FIG. 7B being a black region, the image of the screen mesh 4 in the pattern opening 3 is also black. It is confirmed that it is. Although not shown, it has been confirmed that the same image as the image IM1r can be obtained for the G component and the B component. If only the formation region of the emulsion film 2 is to be extracted from the image, a process of separating the image of the screen mesh 4 from the emulsion film corresponding region 2β is indispensable.

このことは、RGB撮像データD0のR成分、G成分、またはB成分の像を用いて乳剤膜2の形成領域のみを直接に抽出することは容易には行い得ないということを、さらには、本実施の形態に係る手法の方が抽出の確実性(精度)および簡単性(容易さ)の点で優れていることを、示している。 This further means that it is not easy to directly extract only the formation region of the emulsion film 2 by using the image of the R component, the G component, or the B component of the RGB image pickup data D0. It is shown that the method according to the present embodiment is superior in terms of certainty (accuracy) and simplicity (easiness) of extraction.

以上、説明したように、本実施の形態によれば、スクリーン印刷版においてスクリーンメッシュ上に塗布形成されてなるとともに一部にスクリーンメッシュの露出する開口部を有する乳剤膜の撮像画像を視認しつつ、スクリーンメッシュの透過の有無に起因した濃淡が繰り返される部分を含むようにその一部範囲を選択する、という簡便な処理によって、乳剤膜の形成領域の全体を好適に抽出することができる。 As described above, according to the present embodiment, while visually recognizing the captured image of the emulsion film which is formed by coating on the screen mesh in the screen printing plate and has an opening in which the screen mesh is partially exposed. The entire region where the emulsion film is formed can be suitably extracted by a simple process of selecting a part of the range so as to include a portion where shading due to the presence or absence of transmission of the screen mesh is repeated.

特に、色相に基づく処理を行うことで、RGB各色の色濃度値に基づく処理を行う場合に問題となる、濃淡が繰り返される部分における明暗や鮮やかさの相違の影響が排除されるので、撮像画像において濃淡の生じている乳剤膜の形成領域の全体につき、精度のよい抽出が実現される。さらには、抽出された形成領域を計測の対象とすることで、開口部の形状等、スクリーン印刷版の各部の形状を精度よく計測することが可能となる。 In particular, by performing the processing based on the hue, the influence of the difference in brightness and vividness in the portion where the shading is repeated, which is a problem when the processing based on the color density value of each RGB color is performed, is eliminated. Accurate extraction is realized for the entire formed region of the emulsion film in which the shading is generated. Furthermore, by targeting the extracted formed region as a measurement target, it is possible to accurately measure the shape of each part of the screen printing plate, such as the shape of the opening.

<変形例>
上述の実施の形態においては、オペレータが選択した範囲に属する全ての画素についての色相値から定まる色相範囲をそのまま抽出基準としているが、色相値が当該色相範囲の下限近傍および上限近傍である画素は、乳剤膜ではなくノイズに由来する可能性があることから、その影響を排除するべく、当該色相範囲の下限および上限の数%(例えば5%)程度を、抽出基準の設定に際して除外する態様であってもよい。
<Modification example>
In the above-described embodiment, the hue range determined from the hue values of all the pixels belonging to the range selected by the operator is used as the extraction standard as it is, but the pixels whose hue values are near the lower limit and the upper limit of the hue range are Since it may be derived from noise instead of emulsion film, in order to eliminate the influence, a few percent (for example, 5%) of the lower and upper limits of the hue range is excluded when setting the extraction standard. There may be.

上述の実施の形態における画像処理は、スクリーン印刷版の像を処理対象とし、かつ、後工程における計測の精度向上を目的としているが、これは必須の態様ではない。当該画像処理は少なくとも、所定の画像から、濃淡のある部分が繰り返されてなる領域を抽出する際に、汎用的に適用が可能である。 The image processing in the above-described embodiment targets the image of the screen printing plate and aims to improve the accuracy of measurement in the subsequent process, but this is not an essential aspect. The image processing can be applied to at least a general-purpose image when extracting a region in which a portion having a shade is repeated from a predetermined image.

<抽出処理の応用例>
上述の実施の形態における一連の画像処理の対象とされているのは、スクリーンメッシュ4の透過の有無に起因した濃淡の繰り返しがある乳剤膜2の像であるが、係る画像処理は、対象物に生じている濃淡にそのような繰り返しがなくとも、換言すれば濃淡が周期的ではなくとも、好適に適用できる場合がある。
<Application example of extraction processing>
The object of the series of image processing in the above-described embodiment is the image of the emulsion film 2 having repeated shading due to the presence or absence of transmission of the screen mesh 4, but the image processing is the object. Even if there is no such repetition in the shades generated in, in other words, even if the shades are not periodic, it may be suitably applicable.

また、抽出処理は、必ずしも後工程として計測処理を伴わずともよく、目視やパターンフィッティングなどによって、欠陥や異常状態などが発見・検出可能であれば足りる場合もある。 Further, the extraction process does not necessarily have to be accompanied by a measurement process as a post-process, and it may be sufficient if a defect or an abnormal state can be detected and detected by visual inspection or pattern fitting.

図10は、下地である金属板50の主面(下地面)上に所定のパターン形成処理を施すことにより形成されたラインパターン51に対し上述の実施形態と同様の画像処理を適用した場合の様子を示す図である。パターン形成処理としては、膜形成処理や着色処理などが例示される。 FIG. 10 shows a case where the same image processing as that of the above-described embodiment is applied to the line pattern 51 formed by performing a predetermined pattern forming process on the main surface (base surface) of the metal plate 50 which is the base. It is a figure which shows the state. Examples of the pattern forming process include a film forming process and a coloring process.

図10(a)は、撮像部110による金属板50のRGB撮像データD0に基づく撮像画像IM4aである。撮像画像IM4aには、ラインパターン51の一部(直角に屈曲した部分)が含まれている。なお、撮像画像IM4aは本来、カラー画像であり、該カラー画像においては、金属板50は概ねクリーム色からベージュに視認され、ラインパターン51は概ね青色から紺色に視認される。 FIG. 10A is an image captured image IM4a based on the RGB image pickup data D0 of the metal plate 50 by the image pickup unit 110. The captured image IM4a includes a part of the line pattern 51 (a portion bent at a right angle). The captured image IM4a is originally a color image, and in the color image, the metal plate 50 is visually recognized from cream to beige, and the line pattern 51 is visually recognized from blue to dark blue.

撮像画像IM4aからは、金属板50の表面に加工痕52が生じていることが確認される。加工痕52は、ラインパターン51の形成に先立つ金属板50の加工時(例えば研磨時)に形成されたものであり、図面視縦横に筋状に、不規則な(ランダムな)間隔、長さ、および太さにて存在する。 From the captured image IM4a, it is confirmed that the processing marks 52 are formed on the surface of the metal plate 50. The processing marks 52 are formed during processing (for example, during polishing) of the metal plate 50 prior to the formation of the line pattern 51, and are streaked in the vertical and horizontal directions in the drawing, with irregular (random) intervals and lengths. , And in thickness.

より詳細には、加工痕52の一部はラインパターン51の下地部分にも存在する。これを特に下地加工痕52aと称する。そして、ラインパターン51においては、このような下地加工痕52aがランダムに存在することに起因して、全体としては概ね一様な青色から紺色であるものの、色味がわずかに相違する部分がランダムに生じている。換言すれば、不規則な濃淡が視認される。 More specifically, a part of the processing mark 52 is also present in the base portion of the line pattern 51. This is particularly referred to as a base processing mark 52a. In the line pattern 51, due to the random presence of such surface processing marks 52a, the overall color is generally uniform blue to dark blue, but the portion where the color is slightly different is random. Is occurring in. In other words, irregular shades are visible.

図10(b)は、このような撮像画像IM4aを対象として、上述の実施形態と同様の色空間変換処理と、オペレータがラインパターン51の一部範囲(小領域)を選択することによる抽出基準設定処理と、設定された抽出基準に基づく抽出処理、および抽出処理結果に基づく置換処理とがなされることで得られた、像IM4bである。なお、繰り返しの濃淡が視認される撮像画像IM1とは異なり、撮像画像IM4aの場合、濃淡は不規則であるため、オペレータによる一部範囲(小領域)の選択は、係る濃淡が相当程度含まれるように、なされることが好ましい。 FIG. 10B shows an extraction standard for such a captured image IM4a by performing the same color space conversion process as in the above-described embodiment and by selecting a partial range (small area) of the line pattern 51 by the operator. It is an image IM4b obtained by performing the setting process, the extraction process based on the set extraction standard, and the replacement process based on the extraction process result. In addition, unlike the captured image IM1 in which repeated shades are visually recognized, in the case of the captured image IM4a, the shades are irregular, so that the operator selects a partial range (small area) to include such shades to a considerable extent. As such, it is preferable to be done.

像IM4bにおいては、該当画素特定部191によって特定された(抽出された)画素の色相値(もしくは規格化色相値)が、色相置換処理部192によって赤色に相当する0なる色相値(もしくは規格化色相値)にて示されている。以下、当該画素からなる領域を、被抽出領域51αとする。被抽出領域51α以外の領域については、白色とされている。 In the image IM4b, the hue value (or standardized hue value) of the pixel specified (extracted) by the corresponding pixel identification unit 191 becomes 0 hue value (or standardized) corresponding to red by the hue replacement processing unit 192. Hue value). Hereinafter, the region consisting of the pixels is referred to as the extracted region 51α. Regions other than the region to be extracted 51α are white.

係る像IM4bにおける被抽出領域51αの存在範囲は概ね、図10(a)に示す撮像画像IM4aにおけるラインパターン51の存在位置と合致している。特に、図10(b)においては、被抽出領域51αのうち円Cにて囲む範囲において突出部分が存在するが、これは、撮像画像IM4aにおいてラインパターン51から突出する欠陥部分51aに対応したものである。 The existing range of the extracted region 51α in the image IM4b generally matches the existing position of the line pattern 51 in the captured image IM4a shown in FIG. 10 (a). In particular, in FIG. 10B, there is a protruding portion in the range surrounded by the circle C in the extracted region 51α, which corresponds to the defective portion 51a protruding from the line pattern 51 in the captured image IM4a. Is.

このことは、上述の実施の形態に係る一連の画像処理を適用することにより得られた像を観察することによって、ラインパターン51における欠陥の発生の有無を検査することが可能であることを意味している。 This means that it is possible to inspect the presence or absence of defects in the line pattern 51 by observing the image obtained by applying the series of image processing according to the above-described embodiment. is doing.

すなわち、上述の実施の形態における一連の画像処理を適用することで、濃淡が周期的に生じている領域に限らず、ラインパターン51のように不規則な濃淡が生じている領域であっても、好適に抽出することが可能である。 That is, by applying the series of image processing in the above-described embodiment, not only the region where shading is periodically generated but also the region where irregular shading is generated such as the line pattern 51. , Can be suitably extracted.

仮に、図10(a)に示す撮像画像IM4aに対し特許文献1に記載されているような二値化処理を施すことによって、ラインパターン51の抽出(特定)を試みた場合、金属板50自体に存在する加工痕52とパターン形成処理によって形成されたラインパターン51との判別が困難となる。これに対し、上述の応用例のような、色相を利用した画像処理方法によれば、加工痕52が存在している場合であっても、金属板50の上にパターン形成処理が施されることによって形成された領域(ラインパターン51)を、簡便な手法で確実に抽出することができる。 If an attempt is made to extract (specify) the line pattern 51 by subjecting the captured image IM4a shown in FIG. 10A to a binarization process as described in Patent Document 1, the metal plate 50 itself It becomes difficult to distinguish between the processing marks 52 existing in the above and the line pattern 51 formed by the pattern forming process. On the other hand, according to the image processing method using hue as in the above-mentioned application example, the pattern forming process is performed on the metal plate 50 even when the processing marks 52 are present. The region (line pattern 51) formed thereby can be reliably extracted by a simple method.

以上を踏まえると、上述の実施の形態における一連の画像処理は、撮像すると「周期的なまたは不規則な濃淡」として写る下地面上に所定のパターンが形成されてなるものの像を処理対象とする場合に、好適であるといえる。そのようなものには、メッシュスクリーン、擦痕、凹凸のある表面、光沢のある表面などがある。特に、従来の二値化処理では下地由来の明暗とパターンの判別が困難であった、撮像すると明暗が混在して写るタイプの下地面にパターン形成処理が施されてなるものが対象となる場合に、優位性があるといえる。 Based on the above, the series of image processing in the above-described embodiment targets an image in which a predetermined pattern is formed on the base surface, which appears as "periodic or irregular shading" when imaged. In some cases, it can be said to be suitable. Such include mesh screens, striations, uneven surfaces, glossy surfaces, and the like. In particular, when it is difficult to distinguish between the light and darkness derived from the background and the pattern by the conventional binarization processing, the case where the pattern formation processing is applied to the underground of the type in which light and darkness are mixed when imaged is targeted. It can be said that there is an advantage.

1 版枠
2α 乳剤膜相当領域
2 乳剤膜
3 開口部(パターン開口部)
4 スクリーンメッシュ
4x 横糸
4y 縦糸
10 スクリーン印刷版
50 金属板
51 ラインパターン
52 加工痕
52a 下地加工痕
100 計測装置
100M 移動機構
101 ステージ
110 撮像部
111 カメラ本体
112 鏡筒
113 光学系
120 照明部
121 同軸照明
122 リング照明
123 透過照明
130 処理装置
1 Plate frame 2α Emulsion film equivalent area 2 Emulsion film 3 Opening (pattern opening)
4 Screen mesh 4x Weft 4y Warp 10 Screen printing plate 50 Metal plate 51 Line pattern 52 Processing mark 52a Base processing mark 100 Measuring device 100M Moving mechanism 101 Stage 110 Imaging unit 111 Camera body 112 Lens barrel 113 Optical system 120 Lighting unit 121 Coaxial lighting 122 Ring lighting 123 Transmission lighting 130 Processing device

Claims (6)

ラインパターンの画像を含む処理対象画像から前記ラインパターンの存在位置に合致する所定の領域を抽出する画像処理装置であって、
前記処理対象画像が表示される表示部と、
前記処理対象画像に対し所定の操作を行える操作部と、
前記所定の領域を抽出する際の抽出基準を設定する抽出基準設定処理部と、
前記抽出基準に基づいて前記処理対象画像から前記所定の領域を抽出する領域抽出処理部と、
を備え、
前記所定の領域が、色相が所定の色相値の範囲内にある領域であって、かつ、前記ラインパターンの下地部分に存在する加工痕に起因する不規則な濃淡がある領域であり、
前記抽出基準設定処理部は、
操作者が前記表示部に表示された前記処理対象画像を視認しつつ前記操作部を操作することによって、前記処理対象画像から任意の画素範囲を選択することを可能とする範囲選択部と、
前記操作者による前記操作部の操作によって選択された前記任意の画素範囲に属する画素の色相値の範囲を、HSV色座標系で記述された前記処理対象画像のデータに基づいて特定する色相範囲特定部と、
を有しており、前記任意の画素範囲の選択として前記操作者によりなされる、前記処理対象画像において前記所定の領域に含まれると前記操作者が視認する領域からの前記濃淡を含めた小領域の選択に応答して、前記色相範囲特定部が特定する、前記小領域に含まれる画素の色相値の範囲のうちの全ての範囲又はあらかじめ設定された上限および下限の所定割合を除去した範囲を、前記抽出基準として設定し、
前記領域抽出処理部は、
前記処理対象画像において色相値が前記抽出基準に該当する画素を特定する画素特定部、
を有しており、前記画素特定部が特定した全ての画素からなる領域を、前記所定の領域として抽出する、
ことを特徴とする画像処理装置。
An image processing device that extracts a predetermined area that matches the existence position of the line pattern from the image to be processed including the image of the line pattern.
A display unit on which the image to be processed is displayed and
An operation unit that can perform a predetermined operation on the image to be processed, and
An extraction standard setting processing unit that sets an extraction standard when extracting the predetermined area, and
An area extraction processing unit that extracts the predetermined area from the image to be processed based on the extraction standard, and a region extraction processing unit.
Equipped with
The predetermined region is a region where the hue is within a predetermined hue value range, and is a region having irregular shading due to processing marks existing in the base portion of the line pattern .
The extraction standard setting processing unit is
A range selection unit that enables an operator to select an arbitrary pixel range from the processing target image by operating the operation unit while visually recognizing the processing target image displayed on the display unit.
Hue range specification that specifies the range of hue values of pixels belonging to the arbitrary pixel range selected by the operation of the operation unit by the operator based on the data of the processing target image described in the HSV color coordinate system. Department and
A small region including the hue from the region that the operator visually recognizes as being included in the predetermined region in the processed image, which is made by the operator as the selection of the arbitrary pixel range. In response to the selection of, the range in which the entire range of the hue values of the pixels included in the small area specified by the hue range specifying unit is removed or the predetermined ratios of the preset upper and lower limits are removed. , Set as the extraction standard,
The area extraction processing unit is
A pixel identification unit that identifies pixels whose hue value corresponds to the extraction criterion in the image to be processed.
And extracts a region consisting of all the pixels specified by the pixel specifying unit as the predetermined region.
An image processing device characterized by this.
請求項1に記載の画像処理装置であって、
所定の撮像対象を撮像し、RGB色座標系で記述された撮像データを生成する撮像処理部と、
RGB色座標系で記述された前記処理対象画像のデータをHSV色座標系のデータに変換可能な色空間変換部と、
をさらに備え、
HSV色座標系で記述された前記処理対象画像のデータが、所定の撮像対象物を前記撮像処理部にて撮像することにより得られた撮像データを前記色空間変換部にて変換することにより得られる、
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
An imaging processing unit that captures a predetermined imaging target and generates imaging data described in the RGB color coordinate system.
A color space conversion unit capable of converting the data of the image to be processed described in the RGB color coordinate system into the data of the HSV color coordinate system, and
Further prepare
The data of the processing target image described in the HSV color coordinate system is obtained by converting the imaging data obtained by imaging a predetermined imaging target with the imaging processing unit by the color space conversion unit. Be,
An image processing device characterized by this.
請求項1または請求項に記載の画像処理装置であって、
前記領域抽出処理部が、
前記画素特定部によって特定された画素の色相値を、前記処理対象画像において前記所定の領域の像を与える色相値とは異なる色相値と置換する色相置換処理部、
をさらに有することを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2 .
The area extraction processing unit
A hue replacement processing unit that replaces the hue value of a pixel specified by the pixel identification unit with a hue value different from the hue value that gives an image of the predetermined region in the image to be processed.
An image processing apparatus characterized by further having.
請求項1ないし請求項のいずれかに記載の画像処理装置であって、
前記領域抽出処理部によって抽出された前記所定の領域の全体または端部が、前記表示部に表示された前記処理対象画像において強調表示される、
ことを特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 3 .
The entire or end portion of the predetermined region extracted by the region extraction processing unit is highlighted in the processing target image displayed on the display unit.
An image processing device characterized by this.
ラインパターンの画像を含む所定の撮像対象を撮像して得られる処理対象画像から前記ラインパターンの存在位置に合致する所定の領域を抽出する画像処理方法であって、
前記所定の領域を抽出する際の抽出基準を設定する抽出基準設定工程と、
前記抽出基準に基づいて前記処理対象画像から前記所定の領域を抽出する領域抽出工程と、
を備え、
前記所定の撮像対象が、下地面に所定のパターンが形成されたものであり、
前記所定の領域が、前記処理対象画像において前記所定のパターンの像に含まれる、色相が所定の色相値の範囲内にある領域であって、かつ、前記ラインパターンの下地部分に存在する加工痕に起因する不規則な濃淡がある領域であり、
前記抽出基準設定工程が、
操作者が所定の表示手段に表示された前記処理対象画像を視認しつつ所定の操作手段を操作することによって、前記処理対象画像において前記所定の領域に含まれると前記操作者が視認する領域から前記濃淡を含めた任意の小領域を選択する範囲選択工程と、
前記任意の小領域に属する画素の色相値の範囲を、HSV色座標系で記述された前記処理対象画像のデータに基づいて特定する色相範囲特定工程と、
を有しており、前記色相範囲特定工程において特定された、前記任意の小領域に属する画素の色相値の範囲のうちの全ての範囲又はあらかじめ設定された上限および下限の所定割合を除去した範囲が前記抽出基準として設定され、
前記領域抽出工程が、
前記処理対象画像において色相値が前記抽出基準に該当する画素を特定する画素特定工程、
を有しており、前記画素特定工程において特定された全ての画素からなる領域を、前記所定の領域として抽出する、
ことを特徴とする画像処理方法。
An image processing method for extracting a predetermined region matching the existence position of the line pattern from a processing target image obtained by imaging a predetermined imaging target including an image of a line pattern.
An extraction standard setting step for setting an extraction standard when extracting the predetermined area, and
A region extraction step of extracting the predetermined region from the image to be processed based on the extraction standard, and a region extraction step.
Equipped with
The predetermined imaging target has a predetermined pattern formed on the base surface.
The predetermined region is a region included in the image of the predetermined pattern in the image to be processed and whose hue is within the range of the predetermined hue value, and is a processing mark existing in the base portion of the line pattern. Areas with irregular hues due to
The extraction standard setting process
By operating the predetermined operation means while visually recognizing the processing target image displayed on the predetermined display means, the operator can visually recognize that the processing target image is included in the predetermined area. A range selection step of selecting an arbitrary small area including the shade, and
A hue range specifying step of specifying a range of hue values of pixels belonging to the arbitrary small area based on the data of the processed image described in the HSV color coordinate system.
The range obtained by removing the entire range of the hue values of the pixels belonging to the arbitrary small region or the predetermined ratios of the upper and lower limits set in advance , which are specified in the hue range specifying step. Is set as the extraction standard,
The region extraction step
A pixel identification step of specifying a pixel whose hue value corresponds to the extraction criterion in the image to be processed.
And extracts a region consisting of all the pixels specified in the pixel specifying step as the predetermined region.
An image processing method characterized by that.
請求項に記載の画像処理方法であって、
前記所定の撮像対象を撮像し、RGB色座標系で記述された撮像データを生成する撮像処理工程と、
RGB色座標系で記述された前記処理対象画像のデータをHSV色座標系のデータに変換可能な色空間変換工程と、
をさらに備え、
HSV色座標系で記述された前記処理対象画像のデータは、所定の撮像対象物が前記撮像処理工程において撮像されることにより得られた撮像データが、前記色空間変換工程において変換されることにより得られる、
ことを特徴とする画像処理方法。
The image processing method according to claim 5 .
An imaging processing step of imaging the predetermined imaging target and generating imaging data described in the RGB color coordinate system, and
A color space conversion step capable of converting the data of the image to be processed described in the RGB color coordinate system into the data of the HSV color coordinate system, and
Further prepare
The data of the processing target image described in the HSV color coordinate system is obtained by converting the imaging data obtained by imaging a predetermined imaging object in the imaging processing step in the color space conversion step. can get,
An image processing method characterized by that.
JP2020015292A 2020-01-31 2020-01-31 Image processing device and image processing method Active JP7082426B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020015292A JP7082426B2 (en) 2020-01-31 2020-01-31 Image processing device and image processing method
PCT/JP2020/038581 WO2021152924A1 (en) 2020-01-31 2020-10-13 Image processing device and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020015292A JP7082426B2 (en) 2020-01-31 2020-01-31 Image processing device and image processing method

Publications (3)

Publication Number Publication Date
JP2021124746A JP2021124746A (en) 2021-08-30
JP2021124746A5 JP2021124746A5 (en) 2021-10-07
JP7082426B2 true JP7082426B2 (en) 2022-06-08

Family

ID=77079731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020015292A Active JP7082426B2 (en) 2020-01-31 2020-01-31 Image processing device and image processing method

Country Status (2)

Country Link
JP (1) JP7082426B2 (en)
WO (1) WO2021152924A1 (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001228051A (en) 2000-02-15 2001-08-24 Seiko Epson Corp Apparatus and method for detection of point defect
JP2001309193A (en) 2000-04-18 2001-11-02 Minolta Co Ltd Image processing unit, image processing method, and recording medium with image processing program recorded therein
JP2002163650A (en) 2000-11-27 2002-06-07 Matsushita Electric Works Ltd Color extracting image processing device and color extracting method
CN1885345A (en) 2006-06-08 2006-12-27 天津城信通科技发展有限公司 Analysis method of digital image color analysis system
JP2008187433A (en) 2007-01-30 2008-08-14 Brother Ind Ltd Image reader and image reading-processing program
JP4652717B2 (en) 2004-04-26 2011-03-16 株式会社ミツトヨ Image processing apparatus and method, and program
JP2011242877A (en) 2010-05-14 2011-12-01 Panasonic Electric Works Sunx Co Ltd Image processor
JP2013106173A (en) 2011-11-14 2013-05-30 Casio Comput Co Ltd Image processor
JP2014203112A (en) 2013-04-01 2014-10-27 日本ユニシス株式会社 Image processor and program for image processing
JP2015056102A (en) 2013-09-13 2015-03-23 京セラ株式会社 Portable terminal, image retrieval program, and image retrieval method
JP2015217559A (en) 2014-05-15 2015-12-07 富士通株式会社 Inspection apparatus, inspection method, and inspection program
JP2018132355A (en) 2017-02-14 2018-08-23 独立行政法人 国立印刷局 Inspection method for screen printing plate

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194479A (en) * 1989-01-24 1990-08-01 Omron Tateisi Electron Co Picture processor
JPH1148457A (en) * 1997-08-07 1999-02-23 Dainippon Printing Co Ltd Method and apparatus for inspecting stripe like defect

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001228051A (en) 2000-02-15 2001-08-24 Seiko Epson Corp Apparatus and method for detection of point defect
JP2001309193A (en) 2000-04-18 2001-11-02 Minolta Co Ltd Image processing unit, image processing method, and recording medium with image processing program recorded therein
JP2002163650A (en) 2000-11-27 2002-06-07 Matsushita Electric Works Ltd Color extracting image processing device and color extracting method
JP4652717B2 (en) 2004-04-26 2011-03-16 株式会社ミツトヨ Image processing apparatus and method, and program
CN1885345A (en) 2006-06-08 2006-12-27 天津城信通科技发展有限公司 Analysis method of digital image color analysis system
JP2008187433A (en) 2007-01-30 2008-08-14 Brother Ind Ltd Image reader and image reading-processing program
JP2011242877A (en) 2010-05-14 2011-12-01 Panasonic Electric Works Sunx Co Ltd Image processor
JP2013106173A (en) 2011-11-14 2013-05-30 Casio Comput Co Ltd Image processor
JP2014203112A (en) 2013-04-01 2014-10-27 日本ユニシス株式会社 Image processor and program for image processing
JP2015056102A (en) 2013-09-13 2015-03-23 京セラ株式会社 Portable terminal, image retrieval program, and image retrieval method
JP2015217559A (en) 2014-05-15 2015-12-07 富士通株式会社 Inspection apparatus, inspection method, and inspection program
JP2018132355A (en) 2017-02-14 2018-08-23 独立行政法人 国立印刷局 Inspection method for screen printing plate

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ソシムデザイン編集部,Photoshopレッスンブック 初版 ,第1版,ソシム株式会社 片柳 秀夫,2019年05月10日,第139ページ
ソシムデザイン編集部,知識ゼロからはじめる GIMPの教科書 初版 The Textbook of GIMP,第1版,ソシム株式会社 片柳 秀夫,2019年09月20日,第68-69ページ

Also Published As

Publication number Publication date
JP2021124746A (en) 2021-08-30
WO2021152924A1 (en) 2021-08-05

Similar Documents

Publication Publication Date Title
US10184789B2 (en) Image inspection apparatus
JP6745173B2 (en) Image inspection apparatus, image inspection method, image inspection program, computer-readable recording medium, and recorded device
CN108445007B (en) Detection method and detection device based on image fusion
US10591285B2 (en) Image inspection apparatus
CN110658198B (en) Optical detection method, optical detection device and optical detection system
US7480407B2 (en) Surface region identification by image area segmentation
US10890537B2 (en) Appearance inspection device, lighting device, and imaging lighting device
JP2021177186A (en) Three-dimensional image processing device and three-dimensional image processing method
US20180350060A1 (en) Image Inspection Apparatus
JP4725298B2 (en) Visual inspection method using images
US20030059103A1 (en) Surface inspection of object using image processing
JP5861462B2 (en) Inspection standard registration method for solder inspection and board inspection apparatus using the method
JP5432864B2 (en) Inspection apparatus and inspection method
JP2007003297A (en) Inspection device of substrate, parameter setting method thereof and parameter setting device
JP6917780B2 (en) Image inspection equipment
JP7082426B2 (en) Image processing device and image processing method
WO2014013865A1 (en) Wafer appearance inspection device and method for setting sensitivity threshold value for wafer appearance inspection device
JP4715703B2 (en) Optical flare inspection apparatus and inspection method
JP4453503B2 (en) Substrate inspection device, substrate inspection method, inspection logic generation device and inspection logic generation method for substrate inspection device
JP2006105777A (en) Substrate inspection device, its parameter-setting method and parameter setting device
JP7342616B2 (en) Image processing system, setting method and program
US6943826B1 (en) Apparatus for debugging imaging devices and method of testing imaging devices
JP2006145228A (en) Unevenness defect detecting method and unevenness defect detector
JP4507785B2 (en) Substrate inspection device, parameter setting method and parameter setting device
US20230029432A1 (en) Soldering quality inspection method and soldering quality inspection apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210625

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210625

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210817

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20211006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220308

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220520

R150 Certificate of patent or registration of utility model

Ref document number: 7082426

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150