JP7265857B2 - Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material - Google Patents

Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material Download PDF

Info

Publication number
JP7265857B2
JP7265857B2 JP2018214085A JP2018214085A JP7265857B2 JP 7265857 B2 JP7265857 B2 JP 7265857B2 JP 2018214085 A JP2018214085 A JP 2018214085A JP 2018214085 A JP2018214085 A JP 2018214085A JP 7265857 B2 JP7265857 B2 JP 7265857B2
Authority
JP
Japan
Prior art keywords
sheet material
image
double
area
masked
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
JP2018214085A
Other languages
Japanese (ja)
Other versions
JP2020085440A (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.)
Kurashiki Spinning Co Ltd
Totofolder Manufacturing Inc
Original Assignee
Kurashiki Spinning Co Ltd
Totofolder Manufacturing Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kurashiki Spinning Co Ltd, Totofolder Manufacturing Inc filed Critical Kurashiki Spinning Co Ltd
Priority to JP2018214085A priority Critical patent/JP7265857B2/en
Publication of JP2020085440A publication Critical patent/JP2020085440A/en
Application granted granted Critical
Publication of JP7265857B2 publication Critical patent/JP7265857B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Treatment Of Fiber Materials (AREA)

Description

本発明は、1枚布部分と2枚布部分とを有する額縁包布等の一重部分と二重部分とを有するシート材の画像処理装置及びシート材の画像処理方法に関する。 TECHNICAL FIELD The present invention relates to an image processing apparatus and an image processing method for a sheet material having a single portion and a double portion, such as a picture frame covering having a single cloth portion and a double cloth portion.

リネンサプライ業界では、タオル(バスタオル、フェイスタオル)、シーツ等の大量の洗濯物が処理される。この洗濯物は、使用された結果、穴が開いたり汚れが付着した場合には人によってチェックされて不良品として除外される。また、この洗濯物のチェックを自動化することが試みられている(例えば、特許文献1参照。)。 In the linen supply industry, a large amount of laundry such as towels (bath towels, face towels) and sheets is processed. If the laundry has holes or stains as a result of use, it is checked by a person and excluded as a defective item. Attempts have also been made to automate this laundry check (see, for example, Patent Document 1).

特開2000-329701号公報JP-A-2000-329701

ところで、シーツには1枚布で構成されたフラットシーツの他に、一部が2枚布地部分(二重部分)で構成された袋状シーツが存在する。例えば、二重部分が額縁状になったいわゆるボックスシーツやフィットシーツと呼ばれる構造や、少なくとも一縁部が袋状になったクイックシーツ、ポケットシーツ、Mシーツ等と呼ばれる構造がある。
しかし、上記特許文献1に記載の検査装置では、上記のように1枚布部分(一重部分)と2枚布部分(二重部分)とを有する袋状シーツの場合に、一重部分と二重部分との間の境界の陰影を汚れとして誤検出することがある。
Sheets include flat sheets made of one piece of cloth, and bag-like sheets partially made of two pieces of cloth (double portion). For example, there are so-called boxed sheets and fitted sheets in which the double portion has a picture frame shape, and structures called quick sheets, pocket sheets, M sheets, etc. in which at least one edge has a bag shape.
However, in the inspection apparatus described in Patent Document 1, in the case of a bag-like sheet having a single cloth portion (single-ply portion) and a two-ply cloth portion (double portion) as described above, the single-ply portion and the double-ply portion are used. Shadows on the boundary between parts may be erroneously detected as dirt.

そこで、本発明は、一重部分と二重部分とを有するシート材であっても、その一重部分と二重部分との間の境界を汚れ等とする誤検出を抑制できる画像が得られる画像処理装置を提供することを目的とする。 Therefore, the present invention provides image processing capable of obtaining an image capable of suppressing erroneous detection of the boundary between the single-layered portion and the double-layered portion as dirt, etc., even for a sheet material having a single-layered portion and a double-layered portion. The purpose is to provide an apparatus.

本発明に係る一重部分と二重部分とを有するシート材の画像処理装置は、面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材を搬送する搬送部と、
前記搬送部によって搬送されてきた前記シート材を撮像してシート材画像を得る撮像部と、
前記シート材画像から前記一重部分と前記二重部分との境界をマスクしたマスク付画像を得るマスク付与部と、
を備える。
An image processing apparatus for a sheet material having a single portion and a double portion according to the present invention is a conveying section for conveying a sheet material having a single portion of a single sheet material and a double portion of a double sheet material. and,
an imaging unit that captures an image of the sheet material conveyed by the conveying unit to obtain a sheet material image;
a mask applying unit for obtaining a masked image in which a boundary between the single portion and the double portion is masked from the sheet material image;
Prepare.

本発明に係るシート材の画像処理方法は、面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材の画像を得るステップと、
前記シート材画像の重心付近の明るさを算出するステップと、
前記重心付近の明るさより所定の閾値以上の明るい領域を前記二重部分の領域として抽出するステップと、
前記シート材画像の中で、前記二重部分の領域以外の領域を前記一重部分の領域とするステップと、
前記二重部分の領域と前記一重部分の領域との境界を検出するステップと、
前記境界から所定範囲にわたるマスク領域を作成して、前記シート材画像に前記マスク領域を付加したマスク付画像を得るステップと、
を含む。
An image processing method for a sheet material according to the present invention comprises the steps of obtaining an image of a sheet material having a single portion of a single planar material and a double portion of a double planar material;
calculating the brightness near the center of gravity of the sheet material image;
a step of extracting an area brighter than a predetermined threshold value or more than the brightness near the center of gravity as the area of the double portion;
a step of setting a region other than the double portion region in the sheet material image as the single portion region;
detecting a boundary between the double portion area and the single portion area;
obtaining a masked image by adding the masked area to the sheet material image by creating a masked area over a predetermined range from the boundary;
including.

本発明に係るシート材の画像処理装置及びシート材の画像処理方法によれば、一重部分と二重部分とを有するシート材であっても、その一重部分と二重部分との間の境界を汚れ等とする誤検出を抑制できる画像が得られる。 According to the sheet material image processing apparatus and the sheet material image processing method according to the present invention, even in a sheet material having a single-layered portion and a double-layered portion, the boundary between the single-layered portion and the double-layered portion is It is possible to obtain an image capable of suppressing erroneous detection of dirt or the like.

実施の形態1に係る画像処理装置の構成を示す平面図である。1 is a plan view showing the configuration of an image processing apparatus according to Embodiment 1; FIG. 図1の画像処理装置の鉛直方向とシート材の搬送方向とに垂直な方向から見た撮像光学系の構成を示す概略図である。2 is a schematic diagram showing the configuration of an imaging optical system viewed from a direction perpendicular to the vertical direction of the image processing apparatus of FIG. 1 and the conveying direction of a sheet material; FIG. 実施の形態1に係る画像処理装置の構成を示すブロック図である。1 is a block diagram showing the configuration of an image processing apparatus according to Embodiment 1; FIG. 図3の画像処理装置のマスク付与部によって実行されるマスク付与方法のフローチャートである。4 is a flowchart of a mask applying method executed by a mask applying unit of the image processing apparatus of FIG. 3; 実施例1における一重部分と二重部分とを有するシート材の画像の一例である。5 is an example of an image of a sheet material having a single portion and a double portion in Example 1. FIG. 図5Aの画像から抽出した二重部分を示す図である。Figure 5B shows a double portion extracted from the image of Figure 5A; 図5Aの画像において、一重部分と二重部分との境界をマスクしたマスク付画像を示す図である。FIG. 5B is a diagram showing a masked image obtained by masking a boundary between a single portion and a double portion in the image of FIG. 5A; 実施例2における一重部分と二重部分とを有するシート材の画像の一例である。10 is an example of an image of a sheet material having a single portion and a double portion in Example 2. FIG. 図7Aの画像において、一重部分と二重部分との境界をマスクしたマスク付画像を示す図である。7B is a diagram showing a masked image obtained by masking a boundary between a single portion and a double portion in the image of FIG. 7A; FIG. 実施例3における一重部分と二重部分とを有するシート材の画像の一例である。11 is an example of an image of a sheet material having a single portion and a double portion in Example 3. FIG. 図8Aの画像において、一重部分と二重部分との境界をマスクしたマスク付画像を示す図である。FIG. 8B is a diagram showing a masked image obtained by masking a boundary between a single portion and a double portion in the image of FIG. 8A;

第1の態様に係る一重部分と二重部分とを有するシート材の画像処理装置は、面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材を搬送する搬送部と、
前記搬送部によって搬送されてきた前記シート材を撮像してシート材画像を得る撮像部と、
前記シート材画像から前記一重部分と前記二重部分との境界をマスクしたマスク付画像を得るマスク付与部と、
を備える。
An image processing apparatus for a sheet material having a single portion and a double portion according to a first aspect conveys a sheet material having a single portion with a single sheet material and a double portion with a double sheet material. a conveying unit;
an imaging unit that captures an image of the sheet material conveyed by the conveying unit to obtain a sheet material image;
a mask applying unit for obtaining a masked image in which a boundary between the single portion and the double portion is masked from the sheet material image;
Prepare.

通常、シート材の二重の袋状になった口の部分は折り返して縫って三重になっている。この厚くなった三重部分の影響で一重部分と二重部分の境界が周囲に比べて黒く影のように撮像される。従って、上記構成のように、この三重部分の影をエッジ強調フィルタ等で抽出することで境界を検出し、境界をマスクすることができる。 Usually, the double bag-shaped opening of the sheet material is folded back and sewn to form a triple layer. Due to the effect of this thickened triple portion, the boundary between the single portion and the double portion is imaged darker than the surroundings, like a shadow. Therefore, as in the above configuration, by extracting the shadow of this triple portion with an edge enhancement filter or the like, the boundary can be detected and the boundary can be masked.

第2の態様に係る画像処理装置は、上記第1の態様において、前記マスク付与部は、前記シート材画像から前記二重部分の領域を抽出し、
前記得られた画像の中で、前記二重部分以外の領域を一重部分として検出し、
前記二重部分の領域と前記一重部分の領域との境界を検出し、
前記境界から所定範囲にわたるマスク領域を作成して、前記シート材画像に前記マスク領域を付加したマスク付画像を得てもよい。
In the image processing apparatus according to a second aspect, in the first aspect, the mask applying unit extracts the double portion region from the sheet material image,
Detecting a region other than the double portion as a single portion in the obtained image,
detecting a boundary between the double portion area and the single portion area;
A masked image may be obtained by creating a masked area covering a predetermined range from the boundary and adding the masked area to the sheet material image.

第3の態様に係る画像処理装置は、上記第2の態様において、前記シート材画像の中で、重心付近の明るさより所定の閾値以上の明るい領域又は所定の閾値以下の暗い領域を二重部分の領域として検出してもよい。 In the image processing apparatus according to a third aspect, in the above-described second aspect, in the sheet material image, a region brighter than or equal to a predetermined threshold or darker than or equal to a predetermined threshold than the brightness near the center of gravity is doubled. may be detected as a region of

上記三重部分の影はシート材のシワ等との判別が難しい場合がある。そこで、上記構成のように、重心付近の明るさと比較で二重部を検出するほうが、よりロバストに境界をマスクすることができる。 It may be difficult to distinguish the shadow of the triple portion from wrinkles of the sheet material. Therefore, as in the above configuration, the boundary can be masked more robustly by detecting the double portion by comparing with the brightness near the center of gravity.

第4の態様に係る画像処理装置は、上記第1から第3のいずれかの態様において、前記撮像部は、拡散反射光による画像を得てもよい。 In the image processing apparatus according to a fourth aspect, in any one of the first to third aspects, the imaging section may obtain an image using diffusely reflected light.

第5の態様に係る画像処理装置は、上記第1から第4のいずれかの態様において、前記マスク付画像に基づいて前記シート材の欠陥を検出する検査部をさらに備えてもよい。 An image processing apparatus according to a fifth aspect, in any one of the first to fourth aspects, may further include an inspection unit that detects defects in the sheet material based on the masked image.

第6の態様に係るシート材の画像処理方法は、面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材画像を得るステップと、
前記シート材画像の重心付近の明るさを算出するステップと、
前記重心付近の明るさより所定の閾値以上の明るい領域を前記二重部分の領域として抽出するステップと、
前記シート材画像の中で、前記二重部分の領域以外の領域を前記一重部分の領域とするステップと、
前記二重部分の領域と前記一重部分の領域との境界を検出するステップと、
前記境界から所定範囲にわたるマスク領域を作成して、前記シート材画像に前記マスク領域を付加したマスク付画像を得るステップと、
を含む。
A sheet material image processing method according to a sixth aspect includes the steps of obtaining a sheet material image having a single portion of a single sheet material and a double portion of a double sheet material;
calculating the brightness near the center of gravity of the sheet material image;
a step of extracting an area brighter than a predetermined threshold value or more than the brightness near the center of gravity as the area of the double portion;
a step of setting a region other than the double portion region in the sheet material image as the single portion region;
detecting a boundary between the double portion area and the single portion area;
obtaining a masked image by adding the masked area to the sheet material image by creating a masked area over a predetermined range from the boundary;
including.

以下、実施の形態に係る一重部分と二重部分とを有するシート材の画像処理装置及びシート材の画像処理方法について、添付図面を参照しながら説明する。なお、図面において実質的に同一の部材については同一の符号を付している。 An image processing apparatus for a sheet material having a single portion and a double portion and an image processing method for a sheet material according to an embodiment will be described below with reference to the accompanying drawings. In addition, the same code|symbol is attached|subjected about the substantially same member in drawing.

(実施の形態1)
<シート材の画像処理装置>
図1は、実施の形態1に係る画像処理装置10の構成を示す平面図である。図2は、図1の画像処理装置の鉛直方向とシート材の搬送方向とに垂直な方向から見た撮像光学系の構成を示す概略図である。図3は、実施の形態1に係る画像処理装置10の構成を示すブロック図である。なお、図では、便宜上、シート材1の搬送方向をX方向、シート材の搬送方向に垂直な幅方向をY方向、鉛直上方をZ方向として示している。
(Embodiment 1)
<Image processing device for sheet materials>
FIG. 1 is a plan view showing the configuration of an image processing apparatus 10 according to Embodiment 1. FIG. FIG. 2 is a schematic diagram showing the configuration of an imaging optical system viewed from a direction perpendicular to the vertical direction of the image processing apparatus of FIG. 1 and the conveying direction of the sheet material. FIG. 3 is a block diagram showing the configuration of the image processing apparatus 10 according to Embodiment 1. As shown in FIG. In the drawing, for convenience, the conveying direction of the sheet material 1 is shown as the X direction, the width direction perpendicular to the sheet material conveying direction is shown as the Y direction, and the vertically upward direction is shown as the Z direction.

実施の形態1に係る画像処理装置10は、一重部分と二重部分とを有するシート材1を搬送する搬送部11と、搬送部11によって搬送されてきたシート材1を撮像してシート材画像を得る撮像部14と、マスク付画像を得るマスク付与部35aと、を備える。シート材1は、例えば、図5Aに示すように、面状素材が一重の一重部分2と面状素材が二重の二重部分4とを有する。二重部分4は両側部(図5Aでいう上下の縁部)が閉じられて袋状になっている。マスク付与部35aは、得られた画像から二重部分の領域を検出し、一重部分の領域と二重部分の領域との境界をマスクしたマスク付画像を得る。なお、マスク付与部35aは、後述するようにコンピュータ装置で実行可能なプログラムであってもよい。
これによって、図5A等に示すように、一重部分2と二重部分4とを有するシート材1であっても、その一重部分2と二重部分4との間の境界3を汚れ等とする誤検出を抑制できる画像が得られる。
The image processing apparatus 10 according to the first embodiment includes a conveying section 11 that conveys a sheet material 1 having a single portion and a double portion, and an image of the sheet material 1 conveyed by the conveying portion 11 to obtain a sheet material image. and a mask applying unit 35a for obtaining an image with a mask. For example, as shown in FIG. 5A, the sheet material 1 has a single portion 2 in which the planar material is single and a double portion 4 in which the planar material is double. The double portion 4 is shaped like a bag by closing both sides (upper and lower edges in FIG. 5A). The mask applying unit 35a detects the double portion region from the obtained image, and obtains a masked image in which the boundary between the single and double portion regions is masked. Note that the mask applying unit 35a may be a program that can be executed by a computer device, as will be described later.
As a result, as shown in FIG. 5A and the like, even in a sheet material 1 having a single portion 2 and a double portion 4, the boundary 3 between the single portion 2 and the double portion 4 is stained. An image that can suppress erroneous detection can be obtained.

以下に、この画像処理装置10を構成する構成部材について説明する。 Constituent members constituting the image processing apparatus 10 will be described below.

<搬送部>
搬送部11によってシート材1を検査台12に搬送する。搬送部11は、例えば、ベルトコンベアを用いることができる。
<Conveyor>
The sheet material 1 is conveyed to the inspection table 12 by the conveying unit 11 . For example, a belt conveyor can be used as the transport unit 11 .

<検査台>
検査台12は、例えば黒色の検査台を用いることができる。
<Inspection table>
A black inspection table, for example, can be used as the inspection table 12 .

<光源部>
光源部13には、例えば、ランプ、LED等の通常の光源であれば使用できる。好ましくは均一な拡散光を照射する拡散照明がよい。
<Light source part>
For the light source unit 13, for example, a normal light source such as a lamp or an LED can be used. Diffusion illumination that irradiates uniform diffused light is preferable.

<撮像部>
撮像部14は、図2に示すように、光源13a、13bと同じ上方に配置される。また、撮像部14は、光源13a、13bに対して正反射位置にはなく、拡散反射光による画像を得ることができる。撮像部14によって、シート材1の画像を得ることができる。
撮像部14は、ラインカメラ又はエリアカメラを用いることができる。また、撮像部14は、例えば、CCD、CMOS等の撮像素子と、撮像素子を制御する撮像制御手段とを含んでもよい。
なお、撮像部14は、シート材1に対して光源13a、13bの反対側に設置してもよい。この場合は、光源13a、13bは透過光照明として機能する。透過光照明で撮像する場合は、検査台12は照明に干渉しない位置(シート材1から離れた位置、例えば図2の撮像部14の位置)に設置すればよい。
<Imaging unit>
The imaging unit 14 is arranged above the light sources 13a and 13b, as shown in FIG. In addition, the imaging unit 14 is not in a specular reflection position with respect to the light sources 13a and 13b, and can obtain an image with diffusely reflected light. An image of the sheet material 1 can be obtained by the imaging unit 14 .
A line camera or an area camera can be used as the imaging unit 14 . The imaging unit 14 may also include, for example, an imaging device such as a CCD or CMOS, and imaging control means for controlling the imaging device.
Note that the imaging unit 14 may be installed on the opposite side of the sheet material 1 from the light sources 13a and 13b. In this case, the light sources 13a and 13b function as transmitted light illumination. When imaging with transmitted light illumination, the inspection table 12 may be installed at a position that does not interfere with the illumination (a position away from the sheet material 1, for example, the position of the imaging unit 14 in FIG. 2).

<制御部(コンピュータ装置)>
制御部30は、例えば、コンピュータ装置である。このコンピュータ装置としては、汎用的なコンピュータ装置を用いることができ、例えば、図3に示すように、処理部31、記憶部32、表示部33を含む。なお、さらに、入力装置、記憶装置、インタフェース等を含んでもよい。
制御部30によって、搬送部11と、光源部13と、撮像部14と、を制御する。
<Control unit (computer device)>
The control unit 30 is, for example, a computer device. A general-purpose computer device can be used as this computer device, and includes, for example, a processing unit 31, a storage unit 32, and a display unit 33, as shown in FIG. Furthermore, an input device, a storage device, an interface, etc. may be included.
The control unit 30 controls the transport unit 11 , the light source unit 13 and the imaging unit 14 .

<処理部>
処理部31は、例えば、中央処理演算子(CPU)、マイクロコンピュータ、又は、コンピュータで実行可能な命令を実行できる処理装置であればよい。
<Processing part>
The processing unit 31 may be, for example, a central processing operator (CPU), a microcomputer, or any other processing device capable of executing computer-executable instructions.

<記憶部>
記憶部32は、例えば、ROM、EEPROM、RAM、フラッシュSSD、ハードディスク、USBメモリ、磁気ディスク、光ディスク、光磁気ディスク等の少なくとも一つであってもよい。
記憶部32には、プログラム35を含む。なお、制御部30がネットワークに接続されている場合には、必要に応じてプログラム35をネットワークからダウンロードしてもよい。
<Memory part>
The storage unit 32 may be, for example, at least one of ROM, EEPROM, RAM, flash SSD, hard disk, USB memory, magnetic disk, optical disk, magneto-optical disk, and the like.
The storage unit 32 contains a program 35 . In addition, when the control unit 30 is connected to a network, the program 35 may be downloaded from the network as necessary.

<プログラム>
プログラム35には、マスク付与部35aを含んでいればよい。マスク付与部35aは、実行時には、記憶部32から読み出されて処理部31にて実行される。このマスク付与部35aによって、マスク付画像を得ることができる。
<マスク付与部(マスク付与方法)>
図4は、図3の画像処理装置のマスク付与部によって実行されるマスク付与方法のフローチャートである。このマスク付与部35aのプログラムについて、図4のフローチャートを用いて説明する。
(1)まず、検査台が黒バックである場合のシート材の黒バックの画像を得る(S01)。例えば、図5A、図7A、図8Aに示すような画像が得られる。
(2)次に、得られた黒バックの画像のシート材の重心付近の明るさとして、例えば平均明度(平均濃度)を算出する(S02)。なお、ここでは、シート材の重心、つまり中心には、通常、一枚布しかない一重部分が存在することを前提としている。つまり、ここでいう「平均明度」とは、一枚布の一重部分の平均濃度である。そこで、中心に二枚布の二重部分が存在する場合には、重心ではなく、一枚布しかない一重部分である箇所から平均明度を算出するようにすればよい。平均明度を算出する領域は一重部分全体でもよいし、所定の一部分の領域でもよい。
(3)次いで、シート材の重心付近の平均明度より所定の閾値以上の明るい領域を抽出する(S03、図5B)。この抽出した領域がシート材の2重部分である。つまり、黒バックであるので、一枚布の一重部分よりも二枚布の二重部分の明度がより高くなる。なお、透過光照明で撮像している場合は、シート材の重心付近の平均明度より所定の閾値以下の暗い領域を抽出する。透過光照明であるので、一枚布の一重部分よりも二枚布の二重部分の明度が低くなるからである。
(4)黒バックの画像の中で、上記二重部分以外の領域を一重部分の領域とする(S04)。
(5)さらに、抽出した二重部分の領域とそれ以外の一重部分の領域との境界を抽出する(S05)。この場合、境界は、二重部分と一重部分との間である。
(6)次いで、その境界から所定範囲にわたるマスク領域を作成して、上記画像に上記マスク領域を付加したマスク付画像を得る(S06、図6、図7B、図8B)。この場合、境界の形状(境界形状)に基づいてマスク領域を作成する。例えば、境界形状を構成する画素から所定数の画素までをマスク領域としてもよいし、境界形状を構成する画素を基に膨張処理を施してマスク領域を作成してもよい。なお、マスク領域は、一重部分と二重部分との境界から所定範囲にわたる領域である。そこで、二重部分がシート部分の一端にある場合に限られず、両端にある場合、周囲にある場合であってもマスク領域を付加できる。
以上によって、一重部分と二重部分との境界をマスクしたマスク付画像を得ることができる。これによって、一重部分と二重部分との間の境界を汚れ等とする誤検出を抑制できる。
<Program>
It is sufficient that the program 35 includes a mask applying section 35a. The mask applying unit 35a is read from the storage unit 32 and executed by the processing unit 31 at the time of execution. A masked image can be obtained by the mask applying unit 35a.
<Mask applying unit (mask applying method)>
FIG. 4 is a flowchart of a mask applying method executed by the mask applying unit of the image processing apparatus of FIG. The program of this mask applying unit 35a will be described with reference to the flow chart of FIG.
(1) First, an image of the black background of the sheet material is obtained when the inspection table is a black background (S01). For example, images as shown in FIGS. 5A, 7A, and 8A are obtained.
(2) Next, for example, the average brightness (average density) is calculated as the brightness near the center of gravity of the sheet material of the obtained black background image (S02). Here, it is assumed that the center of gravity of the sheet material, that is, the center, usually has a single-ply portion where there is only one piece of cloth. In other words, the "average lightness" referred to here is the average density of the single-ply portion of a piece of cloth. Therefore, when there is a double portion of the two-ply cloth in the center, the average brightness should be calculated from the single-ply portion having only one piece of cloth instead of the center of gravity. The region for which the average brightness is calculated may be the entire single portion or a predetermined partial region.
(3) Next, an area brighter than a predetermined threshold value is extracted from the average brightness near the center of gravity of the sheet material (S03, FIG. 5B). This extracted region is the double portion of the sheet material. In other words, since it is a black background, the brightness of the double portion of the two-ply cloth is higher than that of the single-ply portion of the single cloth. When the image is captured with transmitted light illumination, a region darker than the average brightness near the center of gravity of the sheet is extracted by a predetermined threshold value or less. This is because, since transmitted light illumination is used, the brightness of the double-layered portion of the two-layered cloth is lower than that of the single-layered portion of the single-layered cloth.
(4) In the black background image, the area other than the double portion is defined as a single portion (S04).
(5) Further, the boundary between the extracted double portion area and the other single portion area is extracted (S05). In this case the boundary is between the double and single parts.
(6) Next, a masked area is created over a predetermined range from the boundary, and a masked image is obtained by adding the masked area to the image (S06, FIGS. 6, 7B, and 8B). In this case, a mask area is created based on the shape of the boundary (boundary shape). For example, pixels forming the boundary shape to a predetermined number of pixels may be used as the mask region, or expansion processing may be performed based on the pixels forming the boundary shape to create the mask region. Note that the mask area is an area extending over a predetermined range from the boundary between the single portion and the double portion. Therefore, the mask area can be added not only when the double portion is at one end of the sheet portion, but also when it is at both ends and even when it is on the periphery.
As described above, it is possible to obtain a masked image in which the boundary between the single portion and the double portion is masked. As a result, it is possible to suppress erroneous detection that the boundary between the single portion and the double portion is soiled or the like.

なお、必要に応じて検査部35bを含んでいてもよい。検査部35bによって、例えば、マスク付与部35aによって得られたマスク付画像8に基づいて、シート材の欠陥を検査できる。シート材の欠陥としては、例えば、穴、汚れ等である。この検査部35bも、実行時には、記憶部32から読み出されて処理部31にて実行される。
本発明は、一重部分と二重部分の境界形状を正確に抽出できるため、境界形状に基づいてマスク領域を作成することで、マスク領域を最小限に抑えることができ、より高精度な検査が可能となる。
In addition, the inspection part 35b may be included as needed. The inspection unit 35b can inspect the sheet material for defects, for example, based on the masked image 8 obtained by the mask applying unit 35a. Defects in the sheet material include, for example, holes and stains. The inspection unit 35b is also read from the storage unit 32 and executed by the processing unit 31 at the time of execution.
Since the present invention can accurately extract the boundary shape of the single portion and the double portion, by creating the mask area based on the boundary shape, the mask area can be minimized and more accurate inspection can be performed. It becomes possible.

<表示部>
表示部33は、例えば、マスク付与部35aによって得られたマスク付画像8を表示できればよい。
<Display section>
The display unit 33 may display the masked image 8 obtained by the mask applying unit 35a, for example.

(実施例1)
図5Aは、実施例1における一重部分2と二重部分4とを有するシート材1の画像の一例である。図5Bは、図5Aの画像から抽出した二重部分4を示す図である。図6は、図5Aの画像において、一重部分2と二重部分4との境界をマスク領域6でマスクしたマスク付画像8を示す図である。
図5Aに示すように、一重部分2と二重部分4とを有するシート材1は、黒バックで撮像すると、一重部分2より二重部分4がより明るい画像が得られる。これは、反射光で撮像した場合に、一枚布の一重部分の方が背景の色がより透過して見えるためである。特に黒バックの画像で両者の間で所定の閾値を超える明度差が生じる。透過光で撮像した場合は、その逆で二重部分4より一重部分2がより明るい画像が得られる。一重部分の方が透過率が高いからである。
そこで、シート材画像のシート材1の重心付近の平均明度を算出し、平均明度より所定の閾値以上の明るい領域を二重部分4の領域として抽出する。
次いで、シート材画像の中で、上記二重部分4の領域以外の領域を一重部分2とし、一重部分2と二重部分4との境界3を検出する。
その境界3から所定範囲にわたるマスク領域6を作成して、上記シート材画像に上記マスク領域6を付加したマスク付画像8を得る。
(Example 1)
FIG. 5A is an example of an image of a sheet material 1 having a single portion 2 and a double portion 4 in Example 1. FIG. FIG. 5B shows a double portion 4 extracted from the image of FIG. 5A. FIG. 6 is a diagram showing a masked image 8 obtained by masking the boundary between the single portion 2 and the double portion 4 in the image of FIG. 5A with a mask region 6. FIG.
As shown in FIG. 5A, when the sheet material 1 having the single layer 2 and the double layer 4 is imaged with a black background, an image of the double layer 4 is brighter than that of the single layer 2 is obtained. This is because when the image is captured with reflected light, the background color appears to be more transparent in the single-ply portion of the single piece of cloth. Especially in a black background image, a brightness difference exceeding a predetermined threshold occurs between the two. Conversely, when an image is captured with transmitted light, the single-layered portion 2 is brighter than the double-layered portion 4, resulting in a brighter image. This is because the single-layer portion has a higher transmittance.
Therefore, the average brightness in the vicinity of the center of gravity of the sheet material 1 in the sheet material image is calculated, and a region brighter than the average brightness by a predetermined threshold value or more is extracted as the double portion 4 region.
Next, in the sheet material image, the area other than the area of the double portion 4 is defined as the single portion 2, and the boundary 3 between the single portion 2 and the double portion 4 is detected.
A masked area 6 is created over a predetermined range from the boundary 3, and a masked image 8 is obtained by adding the masked area 6 to the sheet material image.

(実施例2)
図7Aは、実施例2における一重部分2と二重部分4とを有するシート材1の画像の一例である。図7Bは、図7Aの画像において、一重部分2と二重部分4との境界をマスク領域6でマスクしたマスク付画像を示す図である。
この実施例2においても実施例1と同様に一重部分2と二重部分4との境界をマスク領域6でマスクしたマスク付画像8aを得ることができる。
(Example 2)
FIG. 7A is an example of an image of a sheet material 1 having a single portion 2 and a double portion 4 in Example 2. FIG. 7B is a diagram showing a masked image obtained by masking the boundary between the single portion 2 and the double portion 4 in the image of FIG. 7A with a mask region 6. FIG.
In the second embodiment, as in the first embodiment, a masked image 8a can be obtained in which the boundary between the single portion 2 and the double portion 4 is masked with the mask area 6. FIG.

(実施例3)
図8Aは、実施例3における一重部分2と二重部分4とを有するシート材1の画像の一例である。図8Bは、図8Aの画像において、一重部分2と二重部分4との境界をマスク領域6でマスクしたマスク付画像を示す図である。
実施例3においても実施例1及び2と同様に一重部分2と二重部分4との境界をマスク領域6でマスクしたマスク付画像8bを得ることができる。
(Example 3)
FIG. 8A is an example of an image of a sheet material 1 having a single portion 2 and a double portion 4 in Example 3. FIG. 8B is a diagram showing a masked image obtained by masking the boundary between the single portion 2 and the double portion 4 in the image of FIG. 8A with a mask region 6. FIG.
In Example 3, as in Examples 1 and 2, a masked image 8b in which the boundary between the single portion 2 and the double portion 4 is masked with the mask area 6 can be obtained.

なお、本開示においては、前述した様々な実施の形態及び/又は実施例のうちの任意の実施の形態及び/又は実施例を適宜組み合わせることを含むものであり、それぞれの実施の形態及び/又は実施例が有する効果を奏することができる。 It should be noted that the present disclosure includes appropriate combinations of any of the various embodiments and / or examples described above, and each embodiment and / or The effects of the embodiment can be obtained.

本発明に係るシート材の画像処理装置及びシート材の画像処理方法によれば、一重部分と二重部分とを有するシート材であっても、その一重部分と二重部分との間の境界を汚れ等とする誤検出を抑制できる画像が得られる。そこで、1枚布部分と2枚布部分とを有する額縁包布等の一重部分と二重部分とを有するシート材の画像処理に有用である。 According to the sheet material image processing apparatus and the sheet material image processing method according to the present invention, even in a sheet material having a single-layered portion and a double-layered portion, the boundary between the single-layered portion and the double-layered portion is It is possible to obtain an image capable of suppressing erroneous detection of dirt or the like. Therefore, it is useful for image processing of a sheet material having a single-ply portion and a double-ply portion, such as a picture frame wrapping cloth having a single cloth portion and a double cloth portion.

1、1a、1b シート材
2 一重部分
3 境界
4 二重部分
6 マスク領域
8、8a、8b マスク付画像
10 画像処理装置
11 搬送部
12 検査台
13、13a、13b 光源部
14、14a、14b、14c 撮像部
30 制御部(コンピュータ装置)
31 処理部
32 記憶部
33 表示部
35 プログラム
35a マスク付与部
35b 検査部
1, 1a, 1b Sheet material 2 Single portion 3 Boundary 4 Double portion 6 Mask area 8, 8a, 8b Masked image 10 Image processing device 11 Conveying unit 12 Inspection table 13, 13a, 13b Light source unit 14, 14a, 14b, 14c imaging unit 30 control unit (computer device)
31 processing unit 32 storage unit 33 display unit 35 program 35a mask applying unit 35b inspection unit

Claims (3)

面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材を搬送する搬送部と、
前記搬送部によって搬送されてきた前記シート材を撮像してシート材画像を得る撮像部と、
前記シート材画像から前記一重部分と前記二重部分との境界をマスクしたマスク付画像を得るマスク付与部と、
前記マスク付画像に基づいて前記シート材の欠陥を検出する検査部と、
を備え、
前記マスク付与部は、前記シート材画像の中で、重心付近の明るさより所定の閾値以上の明るい領域又は所定の閾値以下の暗い領域を前記二重部分の領域として抽出し、
前記二重部分の領域以外の領域を前記一重部分の領域として抽出し、
前記二重部分の領域と前記一重部分の領域との境界形状を検出し、
前記境界形状を構成する画素を基に膨張処理を施し、前記境界形状を構成する画素から所定範囲にわたるマスク領域を作成して、前記シート材画像に前記マスク領域を付加したマスク付画像を得る、
一重部分と二重部分とを有するシート材の画像処理装置。
a conveying unit for conveying a sheet material having a single portion with a single sheet material and a double portion with a double sheet material;
an imaging unit that captures an image of the sheet material conveyed by the conveying unit to obtain a sheet material image;
a mask applying unit for obtaining a masked image in which a boundary between the single portion and the double portion is masked from the sheet material image;
an inspection unit that detects defects in the sheet material based on the image with the mask;
with
The mask applying unit extracts, from the sheet material image, an area that is brighter than a predetermined threshold or darker than a predetermined threshold or darker than a predetermined threshold as the area of the double portion, and
extracting a region other than the double portion region as the single portion region;
detecting a boundary shape between the double portion area and the single portion area;
performing expansion processing based on the pixels forming the boundary shape, creating a mask region over a predetermined range from the pixels forming the boundary shape, and adding the mask region to the sheet material image to obtain a masked image;
An image processing apparatus for sheet material having a single portion and a double portion.
前記撮像部は、拡散反射光による画像を得る、請求項1に記載のシート材の画像処理装置。 2. The sheet material image processing apparatus according to claim 1, wherein said imaging unit obtains an image using diffusely reflected light. 面状素材が一重の一重部分と面状素材が二重の二重部分とを有するシート材画像を得るステップと、
前記シート材画像の重心付近の明るさを算出するステップと、
前記重心付近の明るさより所定の閾値以上の明るい領域又は所定の閾値以下の暗い領域を前記二重部分の領域として抽出するステップと、
前記シート材画像の中で、前記二重部分の領域以外の領域を前記一重部分の領域とするステップと、
前記二重部分の領域と前記一重部分の領域との境界形状を検出するステップと、
前記境界形状を構成する画素を基に膨張処理を施し、前記境界形状を構成する画素から所定範囲にわたるマスク領域を作成して、前記シート材画像に前記マスク領域を付加したマスク付画像を得るステップと、
前記マスク付画像に基づいて前記シート材の欠陥を検出するステップと、
を含む、シート材の画像処理方法。
obtaining a sheet material image having a single portion with a single sheet material and a double portion with a double sheet material;
calculating the brightness near the center of gravity of the sheet material image;
a step of extracting an area brighter than a predetermined threshold or darker than a predetermined threshold or darker than the brightness near the center of gravity as the double portion area;
a step of setting a region other than the double portion region in the sheet material image as the single portion region;
detecting a boundary shape between the double portion area and the single portion area;
a step of performing expansion processing based on the pixels forming the boundary shape, creating a mask area covering a predetermined range from the pixels forming the boundary shape, and obtaining a masked image in which the mask area is added to the sheet material image; and,
detecting defects in the sheet material based on the masked image;
An image processing method for sheet material, comprising:
JP2018214085A 2018-11-14 2018-11-14 Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material Active JP7265857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018214085A JP7265857B2 (en) 2018-11-14 2018-11-14 Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018214085A JP7265857B2 (en) 2018-11-14 2018-11-14 Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material

Publications (2)

Publication Number Publication Date
JP2020085440A JP2020085440A (en) 2020-06-04
JP7265857B2 true JP7265857B2 (en) 2023-04-27

Family

ID=70907446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018214085A Active JP7265857B2 (en) 2018-11-14 2018-11-14 Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material

Country Status (1)

Country Link
JP (1) JP7265857B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008128822A (en) 2006-11-21 2008-06-05 Kurabo Ind Ltd Device and method for inspecting appearance of sheet material having translucency

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3902823B2 (en) * 1996-11-29 2007-04-11 大日本印刷株式会社 Streak defect inspection method and apparatus
JP3960127B2 (en) * 2001-06-04 2007-08-15 富士電機システムズ株式会社 Appearance inspection device
JP2007256119A (en) * 2006-03-23 2007-10-04 Fujitsu Ltd Inspection device, lamination apparatus and inspection method
JP5881278B2 (en) * 2010-05-20 2016-03-09 株式会社プレックス Cloth piece inspection apparatus and inspection method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008128822A (en) 2006-11-21 2008-06-05 Kurabo Ind Ltd Device and method for inspecting appearance of sheet material having translucency

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ウルトラアイ Master SCZ-4 取扱説明書,日本,株式会社プレックス,2013年,1~54頁

Also Published As

Publication number Publication date
JP2020085440A (en) 2020-06-04

Similar Documents

Publication Publication Date Title
KR101389502B1 (en) Cloth inspection device and inspection method
US9870611B2 (en) Drug inspection device
JP6682809B2 (en) Inspection system and inspection method
JP2016224051A (en) Method of inspecting washed or cleaned items of laundry
JP7265857B2 (en) Image processing apparatus for sheet material having single portion and double portion and image processing method for sheet material
JP6120405B2 (en) Cloth inspection equipment
US11769248B2 (en) Image processing device, image processing method, and image processing non-transitory computer readable medium for verifying detectable range of defect image
JP7350146B2 (en) Image processing device for sheet material with patterns
JP5771110B2 (en) Sheet material inspection apparatus and inspection method
JP7185500B2 (en) Sheet material image processing device
JP6801156B2 (en) Sheet inspection device
JP6574402B2 (en) Image inspection apparatus, image inspection method, and image inspection program
KR102547281B1 (en) System and method for generating a sewing path and automatic sewing machine having the same
JP6623545B2 (en) Inspection system, inspection method, program, and storage medium
JP5818948B2 (en) Cloth piece inspection device
JP7056918B2 (en) Sewage detector
KR101358370B1 (en) Semiconductor package inspection apparatus and inspection method thereof
JP4355479B2 (en) DEFECT LEVEL INFORMATION SETTING METHOD IN DEFECTED CRACK DETECTOR
JP2019045451A (en) Inspection apparatus, inspection method and program
JPH06500395A (en) inspection of clothing
JP7137438B2 (en) Cloth posture determination device, posture determination method, and cloth
JP2021004748A (en) Appearance inspection management system, appearance inspection management device, appearance inspection management method, and program
TW202033930A (en) Inspection apparatus, manufacture apparatus and inspection method of packaging container for smoking article
JP2022083641A (en) Wrinkle inspection device and wrinkle determination device
JP2015175821A (en) Antiglare inspection equipment, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220817

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20220817

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20220905

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20220906

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20221104

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20221108

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20230131

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20230307

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20230404

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20230404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230417

R150 Certificate of patent or registration of utility model

Ref document number: 7265857

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150