JP5499727B2 - Image processing apparatus, image processing method, image processing program, and seal manufacturing system - Google Patents

Image processing apparatus, image processing method, image processing program, and seal manufacturing system Download PDF

Info

Publication number
JP5499727B2
JP5499727B2 JP2010009056A JP2010009056A JP5499727B2 JP 5499727 B2 JP5499727 B2 JP 5499727B2 JP 2010009056 A JP2010009056 A JP 2010009056A JP 2010009056 A JP2010009056 A JP 2010009056A JP 5499727 B2 JP5499727 B2 JP 5499727B2
Authority
JP
Japan
Prior art keywords
shape
image
cutout
cutout portion
value
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.)
Expired - Fee Related
Application number
JP2010009056A
Other languages
Japanese (ja)
Other versions
JP2011150403A5 (en
JP2011150403A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2010009056A priority Critical patent/JP5499727B2/en
Publication of JP2011150403A publication Critical patent/JP2011150403A/en
Publication of JP2011150403A5 publication Critical patent/JP2011150403A5/ja
Application granted granted Critical
Publication of JP5499727B2 publication Critical patent/JP5499727B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、切り抜きの形状を表す画像を処理する画像処理装置、画像処理方法、画像処理プログラム、及びシール製造システムに関する。 The present invention relates to an image processing apparatus , an image processing method, an image processing program, and a seal manufacturing system that process an image representing a cutout shape.

特許文献1には、画像の欠損部を修復する技術について開示されている。この技術は、欠損により分断された画像を構成する線分の端点を検出すると共に、線分を太線化することで、検出した一方の端点と他方の端点とを接続する。   Patent Document 1 discloses a technique for repairing a defective portion of an image. This technique detects one end point of a line segment constituting an image divided by a defect, and connects the detected one end point to the other end point by thickening the line segment.

特開2007−172336号公報JP 2007-172336 A

ここで、特許文献1に係る技術は、シールの形状を表す画像が、シールの形状として十分な幅を有しない部分を有していても、当該部分は画像の欠損部分ではないため、当該部分の幅を修正できないという問題がある。よって、この画像に基づいた形状のシールを製造する場合には、当該細い部分の扱いが困難なシールが製造されてしまう。   Here, in the technology according to Patent Document 1, even if the image representing the shape of the seal has a portion that does not have a sufficient width as the shape of the seal, the portion is not a defective portion of the image. There is a problem that the width of cannot be corrected. Therefore, when a seal having a shape based on this image is manufactured, a seal that is difficult to handle the thin portion is manufactured.

そこで、本発明は、このような点に鑑み、その目的とするところは、切り抜きの形状を表す画像を適切に補正することができる画像処理装置、画像処理方法、画像処理プログラム、及びシール製造システムを提供することにある。 Therefore, in view of such a point, the present invention aims at an image processing apparatus , an image processing method, an image processing program, and a seal manufacturing system capable of appropriately correcting an image representing a cutout shape. Is to provide.

上記目的を達成するため、本発明の第一の観点に係る画像処理装置は、
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段と、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段と、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段と、を備えることを特徴としている。
また上記目的を達成するため、本発明の第二の観点に係る画像処理方法は、
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得ステップと、
前記データ取得ステップが取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定ステップと、
前記判定ステップにより前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正ステップと、
を含むことを特徴としている。
In order to achieve the above object, an image processing apparatus according to the first aspect of the present invention provides:
Data acquisition means for acquiring data representing the shape of a clipped portion that is one area of an image to be clipped;
Determination means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquisition means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. And a region correcting means for correcting the shape of the cutout portion.
In order to achieve the above object, an image processing method according to the second aspect of the present invention includes:
A data acquisition step of acquiring data representing the shape of a cutout portion that is one area of an image to be cutout;
A determination step of determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquisition step;
When it is determined in the determination step that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. An area correction step for correcting the shape of the cut-out portion;
It is characterized by including.

また上記目的を達成するため、本発明の第の観点に係る画像処理プログラムは、
コンピューターを、
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段、
として機能させることを特徴としている。
In order to achieve the above object, an image processing program according to the third aspect of the present invention provides:
Computer
Data acquisition means for acquiring data representing the shape of a cutout portion, which is an area of an image to be cutout;
Determining means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquiring means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. Area correction means for correcting the shape of the cutout portion;
It is characterized by making it function as.

更に、上記目的を達成するため、本発明の第の観点に係るシール製造システムは、
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段と、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段と、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段と、
前記領域補正手段が補正した前記切り抜き部分の形状に基づいて前記画像からシールを製造するシール製造手段と、を備えることを特徴としている。
Furthermore, in order to achieve the above object, a seal manufacturing system according to the fourth aspect of the present invention includes:
Data acquisition means for acquiring data representing the shape of a clipped portion that is one area of an image to be clipped;
Determination means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquisition means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. Area correction means for correcting the shape of the cutout portion;
Seal manufacturing means for manufacturing a seal from the image based on the shape of the cutout portion corrected by the region correction means.

本発明に係る画像処理装置、画像処理装置、画像処理プログラム、及びシール製造システムによれば、切り抜きの形状を表す画像を適切に補正することができる。 According to the image processing device , the image processing device, the image processing program , and the seal manufacturing system according to the present invention, it is possible to appropriately correct the image representing the shape of the cutout.

(a)は、本実施例のシール製造システムの一構成例を表すシステム構成図であり、(b)は、画像処理装置の一構成例を表すハードウェア構成図である。(A) is a system configuration diagram showing a configuration example of a seal manufacturing system of the present embodiment, (b) is a hardware configuration diagram showing a configuration example of an image processing apparatus. 制御部が実行する切抜データ生成処理の一例を表すフローチャートである。It is a flowchart showing an example of the cut-out data production | generation process which a control part performs. (a)は、画像処理装置が有する機能の一例を表す機能ブロック図であり、(b)は、領域縮小部の一例を表す機能ブロック図であり、(c)は、領域拡大部の一例を表す機能ブロック図である。(A) is a functional block diagram showing an example of the function which an image processing apparatus has, (b) is a functional block diagram showing an example of an area | region reduction part, (c) is an example of an area expansion part. It is a functional block diagram to represent. (a)は、画像データで表される画像の一例を表す図であり、(b)は、マスクデータで表される画像領域の一例を表す図であり、(c)は、切抜データで表される切抜領域の一例を表す図である。(A) is a figure showing an example of the image represented by image data, (b) is a figure showing an example of the image area | region represented by mask data, (c) is represented by clipping data. It is a figure showing an example of the cut-out area | region performed. (a)は、制御部が実行するマイナスオフセット処理の一例を表すフローチャートであり、(b)は、制御部が実行するプラスオフセット処理の一例を表すフローチャートである。(A) is a flowchart showing an example of the minus offset process which a control part performs, (b) is a flowchart showing an example of the plus offset process which a control part performs. SVG形式の切抜データの一例を表す図である。It is a figure showing an example of the cut data of a SVG format. (a)は、ストロークを設定する切抜データの一部分を表す図であり、(b)は、ストロークを設定された切抜領域の一例を表す図であり、(c)は、縮小領域の一例を表す図である。(A) is a figure showing a part of cutout data for setting a stroke, (b) is a figure showing an example of a cutout area set with a stroke, and (c) is an example of a reduced area. FIG. 縮小領域を表す切抜データの一例を表す図である。It is a figure showing an example of the cut-out data showing a reduction area. (a)は、拡大領域の一例を表す図であり、(b)は、拡大領域を縮小した領域の一例を表す図であり、(c)は、切抜画像の一例を表す図であり、(d)は、シール製造装置が製造するシールの一例を表す図である。(A) is a figure showing an example of an enlarged area, (b) is a figure showing an example of the area | region which reduced the enlarged area, (c) is a figure showing an example of a cut-out image, (d) is a figure showing an example of the seal | sticker which a seal | sticker manufacturing apparatus manufactures.

以下、本発明の最良の実施形態について添付図面を参照しつつ説明する。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the accompanying drawings.

本実施形態に係るシール製造システム1は、図1(a)に示す様に、画像処理装置100及びシール製造装置200で構成される。シール製造システム1は、画像処理装置100でシールを切り抜く形状(以下、切抜形状という)を決定すると共に、決定した切抜形状に基づいてシール製造装置200でシールを製造する。ここで、画像処理装置100は、決定した形状のシールが十分に扱い易いか否かを判定し、十分な扱い易さを有しないと判定すると、十分に扱い易い形状となる様に切抜形状を修正する。   A seal manufacturing system 1 according to this embodiment includes an image processing apparatus 100 and a seal manufacturing apparatus 200 as shown in FIG. The seal manufacturing system 1 determines a shape (hereinafter referred to as a cutout shape) in which the image processing apparatus 100 cuts out the seal, and manufactures a seal with the seal manufacturing apparatus 200 based on the determined cutout shape. Here, the image processing apparatus 100 determines whether or not the seal having the determined shape is sufficiently easy to handle. If the image processing apparatus 100 determines that the seal is not sufficiently easy to handle, the image processing apparatus 100 forms a cutout shape so as to be a sufficiently easy to handle shape. Correct it.

尚、シールが十分に扱い易いか否かの判定は、シールが十分に広い幅を有するか否かに基づいて判定される。具体的には、所定の閾値よりも幅が細い部分をシールが有する場合には、十分に扱い易いといえない。例えば、そのような幅の細い部分は十分な強度を有しないため、当該部分で折れ易い又は切れ易いからである。このため、所定の閾値は、シールの種類によって異なるが、当業者は、実験により最適な閾値を決定できる。   Note that whether or not the seal is sufficiently easy to handle is determined based on whether or not the seal has a sufficiently wide width. Specifically, if the seal has a portion whose width is narrower than a predetermined threshold, it cannot be said that it is sufficiently easy to handle. For example, since such a narrow portion does not have sufficient strength, it is easy to break or break at the portion. For this reason, although a predetermined threshold value changes with kinds of seal, those skilled in the art can determine an optimal threshold value by experiment.

次に、シール製造システム1を構成する画像処理装置100のハードウェア構成について説明する。
画像処理装置100は、パーソナルコンピューターで構成され、図1(b)に示す様な制御装置100a、一時記憶装置100b、外部記憶装置100c、画像出力装置100d、入力装置100e、表示装置100fを備える。
Next, the hardware configuration of the image processing apparatus 100 constituting the seal manufacturing system 1 will be described.
The image processing apparatus 100 includes a personal computer, and includes a control device 100a, a temporary storage device 100b, an external storage device 100c, an image output device 100d, an input device 100e, and a display device 100f as shown in FIG.

制御装置100aは、例えば、CPU(Central Processing Unit)であり、外部記憶装置100cに保存されたプログラムに従ってソフトウェア処理を実行することで、画像処理装置100の全体制御を行う。一時記憶装置100bは、例えば、DRAM(Dynamic Random Access Memory)であり、制御装置100aによるプログラムの実行時において、処理対象とする情報(データ)を一時的に記憶する。外部記憶装置100cは、例えば、ハードディスクドライブであり、画像を表すファイル、画像の一領域である画像領域を表すファイル、又は各種の設定を表す設定ファイルを記憶する。   The control device 100a is, for example, a CPU (Central Processing Unit), and performs overall control of the image processing device 100 by executing software processing according to a program stored in the external storage device 100c. The temporary storage device 100b is, for example, a DRAM (Dynamic Random Access Memory), and temporarily stores information (data) to be processed when the control device 100a executes a program. The external storage device 100c is, for example, a hard disk drive, and stores a file representing an image, a file representing an image area which is one area of the image, or a setting file representing various settings.

画像出力装置100dは、例えば、通信カードであり、通信によりシール製造装置200へ画像ファイルを出力する。入力装置100eは、例えば、キーボードであり、表示装置100fは、例えば、液晶ディスプレイ(LCD:Liquid Crystal Display)である。入力装置100e及び表示装置100fは、ユーザーインターフェースを提供する。   The image output device 100d is, for example, a communication card, and outputs an image file to the seal manufacturing device 200 by communication. The input device 100e is, for example, a keyboard, and the display device 100f is, for example, a liquid crystal display (LCD). The input device 100e and the display device 100f provide a user interface.

次に、画像処理装置100が、図1(b)に示したハードウェアを用いて実行するソフトウェア処理について説明を行う。
図1(b)の制御装置100aは、図2に示す様な、切抜形状を表す切抜データを生成する切抜データ生成処理を実行する。また、制御装置100aは、図3(a)に示す画像取得部111、切抜データ取得部112、マージン設定部130、領域縮小部140、分断判定部150、マージン再設定部160、領域拡大部170、画像切抜部180、切抜画像保存部191、及び切抜データ確定保存部196をとして下記の処理を行い、一時記憶装置100bは、設定記憶部120として機能する。
Next, software processing executed by the image processing apparatus 100 using the hardware illustrated in FIG. 1B will be described.
The control apparatus 100a of FIG.1 (b) performs the cutting data production | generation process which produces | generates the cutting data showing a cutting shape as shown in FIG. In addition, the control device 100a includes an image acquisition unit 111, a cutout data acquisition unit 112, a margin setting unit 130, an area reduction unit 140, a division determination unit 150, a margin resetting unit 160, and an area enlargement unit 170 illustrated in FIG. The image cutout unit 180, the cutout image storage unit 191, and the cutout data confirmation storage unit 196 perform the following processing, and the temporary storage device 100b functions as the setting storage unit 120.

画像処理装置100が切抜情報生成処理を開始すると、図3(a)の画像取得部111は、画像を表す画像データを外部記憶装置100cから取得する(ステップS01)。尚、画像取得部111は、インターネットから画像データをダウンロードしても良い。   When the image processing apparatus 100 starts the cutout information generation process, the image acquisition unit 111 in FIG. 3A acquires image data representing an image from the external storage device 100c (step S01). Note that the image acquisition unit 111 may download image data from the Internet.

次に、図3(a)の切抜データ取得部112は、画像取得部111が取得した画像データで表される画像を切り抜く形状(つまり、切抜形状)及び位置を表す切抜データを取得する。シールに印刷される画像領域を画像データから得るためである。具体的には、切抜データ取得部112は、画像データで表される画像から切り抜かない領域をマスクするマスクデータを、外部記憶装置100cから取得する。ここで、画像データで表される画像が、図4(a)に示す様な白鳥を表す画像であり、かつ白鳥を表す画像領域が印刷される画像領域として切り抜かれる場合には、切抜データ取得部112は、図4(b)に示す様な白鳥の形状をした白色の画像領域と、黒色の背景画像領域とを表すマスクデータを外部記憶装置100cから取得する。通常、白色は全ビットが値1のデータで表され、黒色は全ビットが値0のデータで表されるため、マスクデータを構成するビット列と画像データを構成するビット列とのAND演算によって、白色領域の形状及び位置に対応する領域を表すデータを画像データから切り抜けるためである。尚、マスクデータを取得した後に、切抜データ取得部112は、マスクデータの輝度を反転させる。図4(c)に示す様な、画像データで表される画像から切り抜かれる画像領域(以下、切抜領域という)を黒色で表すデータを生成するためである。尚、切抜データ取得部112は、例えば、ユーザーによる入力装置100eの操作に基づいてマスクデータを生成しても良い。この構成によれば、任意の画像領域を切り抜くことができる。   Next, the cutout data acquisition unit 112 in FIG. 3A acquires cutout data representing a shape (that is, a cutout shape) and a position to cut out the image represented by the image data acquired by the image acquisition unit 111. This is because the image area printed on the sticker is obtained from the image data. Specifically, the cutout data acquisition unit 112 acquires mask data for masking a region that is not cut out from the image represented by the image data from the external storage device 100c. Here, when the image represented by the image data is an image representing a swan as shown in FIG. 4A and the image area representing the swan is cut out as an image area to be printed, the cut-out data acquisition is performed. The unit 112 acquires mask data representing a white image area having a swan shape as shown in FIG. 4B and a black background image area from the external storage device 100c. In general, white is represented by data having a value of 1 for all bits, and black is represented by data having a value of 0. Therefore, white is obtained by performing an AND operation on a bit string constituting mask data and a bit string constituting image data. This is because data representing an area corresponding to the shape and position of the area is cut out from the image data. Note that after the mask data is acquired, the cutout data acquisition unit 112 inverts the brightness of the mask data. This is for generating data representing in black the image area cut out from the image represented by the image data (hereinafter referred to as the cutout area) as shown in FIG. Note that the cutout data acquisition unit 112 may generate mask data based on, for example, an operation of the input device 100e by the user. According to this configuration, an arbitrary image area can be cut out.

図2のステップS02を実行した後に、図3(a)のマージン設定部130は、所定の閾値である切抜マージンを設定記憶部120から読み込む(ステップS03)。次に、マージン設定部130は、切抜領域の幅を太くする量を表すマスクオフセットの値を切抜マージンの値で初期化する(ステップS04)。   After executing step S02 in FIG. 2, the margin setting unit 130 in FIG. 3A reads a clipping margin that is a predetermined threshold value from the setting storage unit 120 (step S03). Next, the margin setting unit 130 initializes the value of the mask offset indicating the amount by which the width of the cutout area is increased with the value of the cutout margin (step S04).

次に、領域縮小部140は、切抜領域を縮小するマイナスオフセット処理を実行する(ステップS05)。尚、領域縮小部140は、図3(b)に示す様に、第1形式変換部146、輪郭線幅設定部147、輪郭線色設定部148、及び第2形式変換部149で構成される。   Next, the area reduction unit 140 executes a minus offset process for reducing the cutout area (step S05). As shown in FIG. 3B, the area reduction unit 140 includes a first format conversion unit 146, a contour line width setting unit 147, a contour line color setting unit 148, and a second format conversion unit 149. .

ここで、領域縮小部140が実行するステップS05のマイナスオフセット処理について説明する。ステップS05の処理は、図5(a)に示す様な処理である。
先ず、領域縮小部140を構成する図3(b)の第1形式変換部146は、切抜データをトレースして、SVG(Scalable Vector Graphics)形式のデータへ変換する(ステップS21)。具体的には、第1形式変換部146は、ビットマップ形式で表される切抜データを、図6の様なSVG形式のデータへ変換する。このSVG形式に変換されたデータは、パスタグで囲まれたパスタグ領域と、Gタグで囲まれたGタグ領域とで構成される。パスタグ領域は、連続した(つまり、分断されていない)1つの連続領域を表すパスを表すパスデータが格納される領域である。尚、パスデータは、1以上の座標値及びコマンドで連続領域の形状及び位置を表す。また、Gタグ領域は、1以上のパスタグ領域をグループ化すると共に、グループ化したパスタグ領域で表される領域の輪郭線の有無、幅、及び色を定めるデータが格納される領域である。具体的には、図6に示す様な、「stroke:none」と記載されているGタグ領域は、切抜領域の輪郭線を「無し」に設定する。
Here, the minus offset process of step S05 executed by the area reduction unit 140 will be described. The process of step S05 is a process as shown in FIG.
First, the first format conversion unit 146 of FIG. 3B constituting the region reduction unit 140 traces the cutout data and converts it into SVG (Scalable Vector Graphics) format data (step S21). Specifically, the first format conversion unit 146 converts the cut-out data represented in the bitmap format into data in the SVG format as shown in FIG. The data converted into the SVG format is composed of a path tag area surrounded by path tags and a G tag area surrounded by G tags. The path tag area is an area in which path data representing a path representing one continuous area (that is, not divided) is stored. The path data represents the shape and position of the continuous area with one or more coordinate values and commands. The G tag area is an area in which one or more pass tag areas are grouped, and data for determining the presence / absence, width, and color of the outline of the area represented by the grouped pass tag areas is stored. Specifically, as shown in FIG. 6, the G tag region described as “stroke: none” sets the outline of the cutout region to “none”.

図5(a)のステップS21を実行した後に、図3(b)の領域縮小部140は、切抜領域の輪郭線を表す表示線(以下、ストロークという)を「有り(有効)」に設定する(ステップS22)。尚、切抜領域の輪郭線とは、切抜領域と背景領域との境界を表す概念的な線であって、線幅を有しない。一方で、ストロークは、輪郭線をなぞった線であって、設定により変更される線幅を有する。   After executing step S21 in FIG. 5A, the area reduction unit 140 in FIG. 3B sets a display line (hereinafter referred to as a stroke) representing the outline of the cutout area to “present (valid)”. (Step S22). The outline of the cutout area is a conceptual line that represents the boundary between the cutout area and the background area, and does not have a line width. On the other hand, the stroke is a line that traces the outline, and has a line width that is changed by setting.

次に、輪郭線幅設定部147は、ストロークの太さを、図2のステップS03で読み込んだ切抜マージンに設定する(ステップS23)。具体的には、輪郭線幅設定部147は、図7(a)に示す様な記載「stroke-width:131.28205872」に、切抜データを構成するGタグ領域の一部を書き換える。Gタグ領域が書き換えられたデータで表される切抜領域は、図7(b)に示す様な、設定された値(つまり、切抜マージンの値「131.28205872」)の太さのストロークを有する。尚、図7(b)は、作図上の都合により、ストロークの色を実際に設定される白色とは異なる黒色で表し、切抜領域の色を実際の黒色とは異なる白色で表している。
次に、輪郭線色設定部148は、切抜領域のストローク色を背景色と同じ白色に設定する(ステップS24)。
Next, the contour line width setting unit 147 sets the stroke thickness to the cutout margin read in step S03 of FIG. 2 (step S23). Specifically, the contour line width setting unit 147 rewrites a part of the G tag area constituting the cutout data to the description “stroke-width: 131.28205872” as shown in FIG. The cutout area represented by the data in which the G tag area is rewritten has a stroke having a thickness of a set value (that is, the value of the cutout margin “131.28205872”) as shown in FIG. In FIG. 7B, for the convenience of drawing, the stroke color is represented by black different from the actually set white, and the color of the cutout region is represented by white different from the actual black.
Next, the outline color setting unit 148 sets the stroke color of the cutout region to the same white color as the background color (step S24).

ここで、輪郭線幅設定部147がストロークの太さを切抜マージンの値に設定すると、ストロークの幅は、ストロークが表す輪郭線を基準として切抜画像の内側と外側との両側に、切抜マージンの値の半分だけそれぞれ拡大する。また、輪郭線色設定部148がストロークの色を切抜領域の背景色に設定すると、切抜領域の輪郭線から切抜マージンの値の半分だけ内側までの輪郭領域(つまり、切抜領域とストロークが表す領域とが重なった領域)が背景と同じ色となる。このため、切抜領域は、図7(c)に示す様に、切抜領域から輪郭領域が取り除かれた縮小領域に縮小される。この構成によれば、ある画像領域から当該画像領域の輪郭領域を容易に取り除くことができる。   Here, when the contour line width setting unit 147 sets the thickness of the stroke to the value of the trimming margin, the stroke width is set to the margin of the trimming margin on both the inside and outside of the cropped image with reference to the contour line represented by the stroke. Enlarge each by half of the value. When the outline color setting unit 148 sets the stroke color as the background color of the cutout area, the outline area from the outline of the cutout area to the inside by half of the value of the cutout margin (that is, the area represented by the cutout area and the stroke) (The area where and overlap) becomes the same color as the background. For this reason, the cutout area is reduced to a reduced area in which the outline area is removed from the cutout area, as shown in FIG. According to this configuration, the contour area of the image area can be easily removed from the image area.

図5(a)のステップS24を実行した後に、図3(b)の第2形式変換部149は、縮小領域を表すパスデータを、ビットマップ形式のデータへ変換する(ステップS25)。その後、領域縮小部140は、マイナスオフセット処理の実行を終了する。   After executing step S24 of FIG. 5A, the second format converter 149 of FIG. 3B converts the path data representing the reduced area into bitmap format data (step S25). Thereafter, the area reduction unit 140 ends the execution of the minus offset process.

図2のステップS05において、領域縮小部140がマイナスオフセット処理を終了した後に、図3(a)の分断判定部150は、図5(a)のステップS25で生成したビットマップ形式のデータに対してパストレースを行う(ステップS06)。パストレースとは、画像領域を表すビットマップ形式のデータをトレースすることで、画像領域をパスデータで表すSVG形式のデータ(以下、トレースデータという)へビットマップ形式のデータを変換することをいう。   2, after the region reduction unit 140 completes the minus offset process, the division determination unit 150 in FIG. 3A performs the bitmap format data generated in step S25 in FIG. The path trace is performed (step S06). Path tracing refers to converting bitmap format data into SVG format data (hereinafter referred to as trace data) in which the image area is represented by path data by tracing the bitmap format data representing the image area. .

次に、分断判定部150は、トレースデータが有するパスの数(つまり、パスデータの数)をカウントする(ステップS07)。ここで、図7(c)に示す縮小領域は、輪郭領域が取り除かれた結果、切抜マージンよりも幅が狭い部分(つまり、白鳥の首の付け根部分)で2つの連続領域に分断されている。この2つの連続領域は、図8に示す様な2つのパス(つまり、パスタグ領域)を有するトレースデータで表される。通常、1つの連続領域は、1つのパスで表されるためである。   Next, the division determination unit 150 counts the number of paths that the trace data has (that is, the number of path data) (step S07). Here, the reduced region shown in FIG. 7C is divided into two continuous regions at a portion narrower than the cutout margin (that is, the base portion of the swan's neck) as a result of removing the contour region. . These two continuous areas are represented by trace data having two paths (that is, path tag areas) as shown in FIG. This is because one continuous area is usually represented by one path.

次に、分断判定部150は、切抜領域から輪郭領域を取り除いた結果、領域が分断されたか否かを判定する。具体的には、分断判定部150は、トレースデータが有するパスの数が、切抜領域を縮小する前のパスの数よりも増えたか否かを判定する。つまり、切抜領域を縮小する前のパスの数が値「1」であったため、制御装置100aは、トレースデータが有するパスの数が値「2」以上であるか否かを判定する(ステップS08)。この構成によれば、切抜領域が所定の閾値よりも細い部分を有するか否かを容易に判定できる。特に、輪郭領域の除去前後における切抜領域を構成する連続領域の数をパスの数で判定するため、切抜領域が所定の閾値よりも細い部分を有するか否かをより容易に判定できる。具体例として、切抜領域の輪郭線上に在る全ての点について、最も近い他の点までの距離を算出すると共に、算出した全ての距離が所定の閾値よりも長いか否かを判定する場合と比べて、切抜領域が所定の閾値よりも幅が細い部分を有するか否か容易に判定できる。   Next, the division determination unit 150 determines whether or not the region has been divided as a result of removing the contour region from the cutout region. Specifically, the division determination unit 150 determines whether or not the number of paths included in the trace data is larger than the number of paths before the cutout area is reduced. That is, since the number of paths before the cutout area is reduced is the value “1”, the control device 100a determines whether or not the number of paths included in the trace data is greater than or equal to the value “2” (step S08). ). According to this configuration, it can be easily determined whether or not the cutout region has a portion thinner than a predetermined threshold value. In particular, since the number of continuous regions constituting the cutout region before and after the removal of the contour region is determined by the number of passes, it can be more easily determined whether or not the cutout region has a portion thinner than a predetermined threshold value. As a specific example, for all points on the outline of the cutout region, the distance to the nearest other point is calculated, and it is determined whether or not all the calculated distances are longer than a predetermined threshold. In comparison, it can be easily determined whether or not the cutout region has a portion whose width is narrower than a predetermined threshold.

ステップS08において、分断判定部150が、パスの数は値「2」以上であると判定した場合(ステップS08;Yes)に、マージン再設定部160は、マスクオフセットを切抜マージンだけさらに増加させた値へ再設定する(ステップS09)。   In step S08, when the division determination unit 150 determines that the number of passes is greater than or equal to the value “2” (step S08; Yes), the margin resetting unit 160 further increases the mask offset by the cutout margin. The value is reset (step S09).

次に、領域拡大部170は、マスクデータから生成された切抜領域を拡大するプラスオフセット処理を実行する(ステップS10)。尚、領域拡大部170は、図3(c)に示す様に、切抜情報生成部171、第1形式変換部176、輪郭線幅設定部177、輪郭線色設定部178、及び第2形式変換部179で構成される。   Next, the area enlarging unit 170 executes a plus offset process for enlarging the cutout area generated from the mask data (step S10). As shown in FIG. 3C, the region enlargement unit 170 includes a cutout information generation unit 171, a first format conversion unit 176, a contour line width setting unit 177, a contour line color setting unit 178, and a second format conversion. Part 179.

ここで、領域拡大部170が実行するステップS10のプラスオフセット処理について説明する。ステップS10の処理は、図5(b)に示す様な処理である。
先ず、領域拡大部170を構成する図3(c)の切抜情報生成部171は、図2のステップS02の処理と同様に、切抜データを取得する(ステップS31)。次に、第1形式変換部176は、図5(a)のステップS21と同様に、ステップS31で取得した切抜データをSVGデータへ変換する(ステップS32)。
Here, the plus offset process of step S10 executed by the area enlargement unit 170 will be described. The process of step S10 is a process as shown in FIG.
First, the cutout information generation unit 171 in FIG. 3C constituting the region enlargement unit 170 acquires cutout data in the same manner as the process in step S02 in FIG. 2 (step S31). Next, the first format conversion unit 176 converts the cutout data acquired in step S31 into SVG data (step S32), similarly to step S21 in FIG.

次に、領域拡大部170は、ステップS22と同様に、ステップS32で取得したSVGデータで表される切抜領域のストロークを有効化する(ステップS33)。その後、輪郭線幅設定部177は、ステップS23と同様に、ストロークの太さをマスクオフセットに設定する(ステップS34)。次に、輪郭線色設定部178は、ステップS24と異なり、ストロークの色を切抜領域の色と同じ黒色に設定する(ステップS35)。   Next, similarly to step S22, the region enlargement unit 170 validates the stroke of the cutout region represented by the SVG data acquired in step S32 (step S33). After that, the contour line width setting unit 177 sets the stroke thickness to the mask offset, similarly to step S23 (step S34). Next, unlike step S24, the outline color setting unit 178 sets the stroke color to the same black as the color of the cutout region (step S35).

つまり、ステップS34及びS35において、輪郭線幅設定部177がストロークの太さを設定前よりも太く設定すると共に、輪郭線色設定部178が、ストロークを切抜領域と同じ色に設定すると、ストロークと切抜領域とが外見上一体となる。このため、切抜領域に対してストロークで表される領域が追加されて、切抜領域の輪郭線の位置が外側へ移動する。よって、図4(c)に示した切抜領域は、図9(a)に示す様な、マスクオフセットだけより幅が広い拡大領域に補正される。この構成によれば、画像領域が所定の閾値よりも細い部分を有する場合に、当該部分を太く補正できる。またこの構成によれば、輪郭線の幅及び色を設定することで、画像領域を容易に拡大できる。   That is, in steps S34 and S35, when the outline width setting unit 177 sets the stroke thickness to be thicker than before setting and the outline color setting unit 178 sets the stroke to the same color as the cutout region, the stroke and The cutout area is integrated with the appearance. For this reason, an area represented by a stroke is added to the cutout area, and the position of the outline of the cutout area moves outward. Therefore, the cutout region shown in FIG. 4C is corrected to an enlarged region wider than the mask offset as shown in FIG. 9A. According to this configuration, when the image region has a portion thinner than the predetermined threshold, the portion can be corrected to be thick. Further, according to this configuration, the image area can be easily enlarged by setting the width and color of the contour line.

図5(b)のステップS35の処理を実行した後に、図3(c)の第2形式変換部179は、ステップS25と同様に、拡大された切抜領域を表すパスデータをビットマップ形式のデータに変換する(ステップS36)。次に、領域拡大部170は、パスデータをビットマップへ変換したデータを切抜データとする(ステップS37)。その後、領域拡大部170は、プラスオフセット処理の実行を終了する。   After executing the process of step S35 of FIG. 5B, the second format conversion unit 179 of FIG. 3C converts the path data representing the enlarged cut-out area into bitmap format data as in step S25. (Step S36). Next, the area enlargement unit 170 sets the data obtained by converting the pass data into a bitmap as cut data (step S37). Thereafter, the area enlargement unit 170 ends the execution of the plus offset process.

図2のステップS10において、図3(a)の領域拡大部170がプラスオフセット処理を終了した後に、領域縮小部140は、拡大領域に対してマイナスオフセット処理を実行する(ステップS05)。つまり、領域縮小部140は、拡大領域から拡大領域の輪郭領域を取り除く。   In step S10 in FIG. 2, after the region enlargement unit 170 in FIG. 3A completes the plus offset process, the region reduction unit 140 performs a minus offset process on the enlarged region (step S05). That is, the area reduction unit 140 removes the outline area of the enlarged area from the enlarged area.

次に、分断判定部150は、マイナスオフセット処理で縮小された拡大領域に対して上記のステップS06からS08の処理を実行する(ステップS06からS08)。
ここで、マイナスオフセット処理で輪郭部分を取り除かれた拡大領域は、図9(b)に示す様な1つの連続領域からなる領域である。このため、分断判定部150は、輪郭部分を取り除かれた拡大領域を表すパスの数が値「1」であって、値「2」を越えないと判断する(ステップS08;No)。
Next, the division determination unit 150 performs the above-described processing from steps S06 to S08 on the enlarged region reduced by the minus offset processing (steps S06 to S08).
Here, the enlarged region from which the contour portion has been removed by the minus offset processing is a region composed of one continuous region as shown in FIG. For this reason, the division determination unit 150 determines that the number of paths representing the enlarged region from which the outline portion has been removed is the value “1” and does not exceed the value “2” (step S08; No).

次に、図3(a)の切抜データ確定保存部196は、拡大領域を表す切抜データをシールの形状を表す領域として確定すると共に、確定した切抜データを外部記憶装置100cへ保存し、シール製造装置200へ出力する(ステップS11)。次に、画像切抜部180は、マスクデータの白色領域に対応する画像領域を、画像データで表される画像から切り抜いて、図9(c)に示す様な切抜画像を取得する(ステップS12)。その後、切抜画像保存部191は、切抜画像を表す切抜画像データを外部記憶装置100cへ保存すると共に、切抜画像データをシール製造装置200へ出力する(ステップS13)。その後、画像処理装置100は、処理の実行を終了する。   Next, the cutout data confirmation storage unit 196 in FIG. 3A confirms the cutout data representing the enlarged region as a region representing the shape of the seal, and stores the confirmed cutout data in the external storage device 100c to manufacture the seal. It outputs to the apparatus 200 (step S11). Next, the image cutout unit 180 cuts out the image area corresponding to the white area of the mask data from the image represented by the image data, and obtains a cutout image as shown in FIG. 9C (step S12). . Thereafter, the cut-out image storage unit 191 stores cut-out image data representing the cut-out image in the external storage device 100c and outputs the cut-out image data to the seal manufacturing apparatus 200 (step S13). Thereafter, the image processing apparatus 100 ends the execution of the process.

尚、シール製造装置200は、ステップS11で画像処理装置100が出力した切抜データに基づいて、切抜データで表される拡大領域の形状を有するシールを製造する。また、シール製造装置200は、ステップS13で画像処理装置100が出力した切抜画像データで表される切抜画像を、拡大領域の形状を有するシールに印刷する。ここで、切抜データで表されるシールの形状は、切抜画像の形状よりも切抜マージンだけ広く幅を補正されているため、シール製造装置200が製造するシールは、図9(d)に示す様なシールの端から切抜画像が印刷された部分まで余白(マージン)を有する。この構成によれば、シールを製造する前に、製造されるシールが所定よりも細い部分を有するか否かを容易に判定できるだけでなく、判定結果に基づいて当該部分を太く補正できる。よって、折れ難くかつ切れ難いために取り扱いが容易なシールを製造できる。   Note that the seal manufacturing apparatus 200 manufactures a seal having the shape of the enlarged region represented by the cut data based on the cut data output by the image processing apparatus 100 in step S11. In addition, the sticker manufacturing apparatus 200 prints the cutout image represented by the cutout image data output from the image processing apparatus 100 in step S13 on the sticker having the shape of the enlarged region. Here, since the width of the shape of the seal represented by the cutout data is corrected by a cutout margin wider than the shape of the cutout image, the seal manufactured by the seal manufacturing apparatus 200 is as shown in FIG. A margin (margin) is provided from the edge of the sticker to the portion where the cut-out image is printed. According to this configuration, before manufacturing the seal, not only can it be easily determined whether the manufactured seal has a portion thinner than a predetermined one, but the portion can be corrected thickly based on the determination result. Accordingly, a seal that is easy to handle because it is difficult to break and difficult to cut can be manufactured.

尚、本実施例において、領域拡大部170は、画像領域の輪郭線を表すストロークの幅及び色を変更することで、画像領域を拡大するとして説明したが、これに限定される訳ではない。例えば、領域拡大部170は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に、所定の割合だけ直接的に拡大する構成を採用できる。また例えば、領域拡大部170は、画像領域の輪郭線から予め定めたピクセル値だけ外側の画素を、画像領域を構成する画素の色に変更することで、画像領域を拡大する構成を採用できる。   In the present embodiment, the area enlarging unit 170 has been described as enlarging the image area by changing the width and color of the stroke representing the outline of the image area. However, the present invention is not limited to this. For example, the area enlarging unit 170 can employ a configuration in which the size of the image area is directly enlarged by a predetermined ratio in the vertical direction (scanning direction) and the horizontal direction (sub-scanning direction). Further, for example, the region enlarging unit 170 can adopt a configuration in which the image region is expanded by changing pixels outside the outline of the image region by a predetermined pixel value to the color of the pixels constituting the image region.

同様に、領域縮小部140は、画像領域の輪郭線を表すストロークの幅及び色を変更することで、画像領域を縮小するとして説明したが、これに限定される訳ではない。領域縮小部140が用いる縮小方法は、縮小により所定値より細い部分で画像領域を分断する縮小方法であれば構わない。例えば、領域縮小部140は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に、所定の割合だけ直接的に縮小する構成を採用できる。また例えば、領域縮小部140は、画像領域の輪郭線から所定値だけ内側の画素を、背景領域を構成する画素の色に変更することで、画像領域を縮小する構成を採用できる。さらに例えば、領域縮小部140は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に所定の割合だけ直接的に縮小させた後に、縮小させた画像領域の輪郭線から予め定めたピクセル値だけ内側の画素を、背景領域を構成する画素の色に変更する構成を採用できる。   Similarly, the area reduction unit 140 has been described as reducing the image area by changing the width and color of the stroke representing the outline of the image area, but the present invention is not limited to this. The reduction method used by the region reduction unit 140 may be a reduction method that divides an image region at a portion thinner than a predetermined value by reduction. For example, the area reduction unit 140 can employ a configuration in which the size of the image area is directly reduced by a predetermined ratio in the vertical direction (scanning direction) and the horizontal direction (sub-scanning direction). In addition, for example, the region reduction unit 140 can adopt a configuration in which the image region is reduced by changing pixels inside the image region by a predetermined value to the color of the pixels forming the background region. Further, for example, the area reduction unit 140 directly reduces the size of the image area by a predetermined ratio in the vertical direction (scanning direction) and the horizontal direction (sub-scanning direction), and then reduces the outline of the reduced image area. From this, it is possible to adopt a configuration in which a pixel that is inside by a predetermined pixel value is changed to the color of the pixel that forms the background region.

尚、本発明に係る機能を実現するための構成を予め備えた画処理信装置として提供できることはもとより、プログラムの適用により、既存の画像処理装置を本発明に係る画像処理装置として機能させることもできる。すなわち、上記実施形態で例示した画像処理装置100による各機能構成を実現させるための画像処理プログラムを、既存の画像処理装置を制御するコンピュータ(CPUなど)が実行できる様に適用することで、本発明に係る画像処理装置100として機能させることができる。   In addition, not only can an image processing communication apparatus provided with a configuration for realizing the functions according to the present invention be provided in advance, but also an existing image processing apparatus can be made to function as the image processing apparatus according to the present invention by applying a program. it can. That is, by applying an image processing program for realizing each functional configuration by the image processing apparatus 100 exemplified in the above embodiment so that a computer (such as a CPU) that controls the existing image processing apparatus can be executed. It can function as the image processing apparatus 100 according to the invention.

この様プログラムの配布方法は任意であり、例えば、メモリカード、CD−ROM、又はDVD−ROMなどの記録媒体に格納して配布できる他、インターネットなどの通信媒体を介して配布することもできる。   The distribution method of such a program is arbitrary. For example, the program can be distributed by being stored in a recording medium such as a memory card, a CD-ROM, or a DVD-ROM, or can be distributed via a communication medium such as the Internet.

以上本発明の好ましい実施例について詳述したが、本発明は係る特定の実施例に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形、変更が可能である。   Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the specific embodiments, and various modifications, within the scope of the gist of the present invention described in the claims, It can be changed.

1・・・シール製造システム、100・・・画像処理装置、100a・・・制御装置、100b・・・一時記憶装置、100c・・・外部記憶装置、100d・・・画像出力装置、100e・・・入力装置、100f・・・表示装置、111・・・画像取得部、112・・・切抜データ取得部、120・・・設定記憶部、130・・・マージン設定部、140・・・領域縮小部、150・・・分断判定部、160・・・マージン再設定部、170・・・領域拡大部、180・・・画像切抜部、191・・・切抜画像保存部、196・・・切抜データ確定保存部、200・・・シール製造装置 DESCRIPTION OF SYMBOLS 1 ... Seal manufacturing system, 100 ... Image processing apparatus, 100a ... Control apparatus, 100b ... Temporary storage device, 100c ... External storage device, 100d ... Image output device, 100e ... Input device, 100f ... display device, 111 ... image acquisition unit, 112 ... clipping data acquisition unit, 120 ... setting storage unit, 130 ... margin setting unit, 140 ... area reduction , 150 ... Fragment determination part, 160 ... Margin resetting part, 170 ... Area enlargement part, 180 ... Image cutout part, 191 ... Cutout image storage part, 196 ... Cutout data Determining storage unit, 200 ... seal manufacturing apparatus

Claims (18)

切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段と、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段と、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段と、
を備えることを特徴とする画像処理装置。
Data acquisition means for acquiring data representing the shape of a clipped portion that is one area of an image to be clipped;
Determination means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquisition means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. Area correction means for correcting the shape of the cutout portion;
An image processing apparatus comprising:
前記第1の値は任意に設定可能であることを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the first value can be arbitrarily set. 前記第2の値は、前記第1の値を単位として設定されることを特徴とする請求項1又は2に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the second value is set with the first value as a unit. 前記データ取得手段が取得した前記データで表される前記切り抜き部分の輪郭線の位置を、第3の値だけ内側へ補正した領域へ、前記切り抜き部分の形状を縮小する領域縮小手段を更に備え、
前記判定手段は、前記領域縮小手段により縮小された前記切り抜き部分の形状が分断されたか否かで、縮小前の切り抜き部分の形状において前記第1の値より幅の狭い画像部分があるか否かを判定することを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。
A region reduction means for reducing the shape of the cutout portion to a region in which the position of the outline of the cutout portion represented by the data acquired by the data acquisition means is corrected inward by a third value;
The determination means determines whether or not there is an image part having a width smaller than the first value in the shape of the cutout part before reduction depending on whether or not the shape of the cutout part reduced by the area reduction part is divided. the image processing apparatus according to any one of claims 1 to 3, wherein the determining.
前記判定手段は、前記領域縮小手段によって縮小される前の前記切り抜き部分の形状を構成する連続領域の数と、縮小された後の前記切り抜き部分の形状を構成する連続領域の数とに基づいて、前記領域縮小手段によって前記切り抜き部分の形状が分断されたか否かを判定し、
前記領域補正手段は、前記領域縮小手段によって前記切り抜き部分の形状が分断されたと前記判定手段が判定した場合に、前記データで表される前記切り抜き部分の形状を補正することを特徴とする請求項に記載の画像処理装置。
The determination means is based on the number of continuous areas constituting the shape of the cutout portion before being reduced by the area reduction means and the number of continuous areas constituting the shape of the cutout portion after being reduced. Determining whether or not the shape of the cutout portion is divided by the area reduction means;
The area correction means corrects the shape of the cutout portion represented by the data when the determination means determines that the shape of the cutout portion is divided by the area reduction means. 5. The image processing apparatus according to 4 .
前記第3の値は、前記画像を前記切り抜き部分の形状を表すデータで切り抜く際のマージンであることを特徴とする請求項又はに記載の画像処理装置。 Said third value, the image processing apparatus according to claim 4 or 5, characterized in that a margin for cutting out the image in data representing the shape of the cut-out portion. 前記領域補正手段による補正後の切り抜き部分の形状を表すデータを、前記切り抜き対象となる画像を印刷して切り抜く場合の切り抜きのマスクデータとして出力する出力手段を更に備えることを特徴とする請求項からのいずれか一項に記載の画像処理装置。 5. The image processing apparatus according to claim 4 , further comprising: an output unit that outputs data representing a shape of a cutout portion corrected by the region correction unit as cutout mask data when the image to be cutout is printed and cut out. 7. The image processing device according to any one of items 1 to 6 . 前記領域縮小手段は、前記データ取得手段が取得した前記データで表される前記切り抜き部分の形状の前記輪郭線を表示する表示線の幅を前記第3の値に基づいて前記輪郭線よりも内側に太くすることで、前記切り抜き部分の形状を縮小することを特徴とする請求項からのいずれか一項に記載の画像処理装置。 The area reduction means sets the width of the display line for displaying the outline of the shape of the cutout portion represented by the data acquired by the data acquisition means to the inside of the outline based on the third value. the by thick, the image processing apparatus according to any one of claims 4 to 7, characterized in that to reduce the shape of the cut-out portion. 前記領域縮小手段は、前記切り抜き部分の形状から前記表示線と重なった領域を取り除くことで、前記切り抜き部分の形状を縮小することを特徴とする請求項に記載の画像処理装置。 The image processing apparatus according to claim 8 , wherein the region reduction unit reduces the shape of the cutout portion by removing a region overlapping the display line from the shape of the cutout portion. 前記領域縮小手段は、前記表示線の色を、前記切り抜き部分の形状を表すデータの背景色に設定することで、前記切り抜き部分の形状を縮小することを特徴とする請求項に記載の画像処理装置。 9. The image according to claim 8 , wherein the area reduction unit reduces the shape of the cutout portion by setting a color of the display line to a background color of data representing the shape of the cutout portion. Processing equipment. 前記領域補正手段は、前記データ取得手段が取得した前記データで表される前記切り抜き部分の形状の前記輪郭線を表示する表示線の幅を前記輪郭線よりも前記第2の値に基づいて外側に太くすることで、前記切り抜き部分の形状を補正することを特徴とする請求項から10のいずれか一項に記載の画像処理装置。 The area correction unit is configured to set a width of a display line for displaying the contour line of the shape of the cutout portion represented by the data acquired by the data acquisition unit to an outer side based on the second value than the contour line. the by thick, the image processing apparatus according to any one of claims 4 to 10, characterized in that to correct the shape of the cut-out portion. 前記領域補正手段は、前記切り抜き部分の形状に対して前記表示線で表される領域を追加することで、前記切り抜き部分の形状を補正することを特徴とする請求項11に記載の画像処理装置。 The image processing apparatus according to claim 11 , wherein the region correction unit corrects the shape of the cutout portion by adding a region represented by the display line to the shape of the cutout portion. . 前記領域補正手段は、前記表示線の色を、前記切り抜き部分の形状を表すデータの色に設定することで、前記切り抜き部分の形状を補正することを特徴とする請求項11に記載の画像処理装置。 The image processing according to claim 11 , wherein the region correction unit corrects the shape of the cutout portion by setting a color of the display line to a color of data representing the shape of the cutout portion. apparatus. 前記判定手段は、前記領域縮小手段によって縮小された前記切り抜き部分の形状をSVG形式で表すデータを生成すると共に、前記SVG形式の前記データに含まれるパスの数に基づいて前記切り抜き部分の形状を構成する前記連続領域の前記数を算出することを特徴とする請求項に記載の画像処理装置。 The determination unit generates data representing the shape of the cutout portion reduced by the region reduction unit in SVG format, and determines the shape of the cutout portion based on the number of paths included in the data in the SVG format. The image processing apparatus according to claim 5 , wherein the number of the continuous areas to be configured is calculated. 前記領域縮小手段による縮小によって前記データで表される前記切り抜き部分の形状が分断されると、前記領域縮小手段は、前記領域補正手段によって補正された前記切り抜き部分の形状の輪郭線の位置を前記第3の値だけ内側へ補正した領域へ縮小し、
補正された前記切り抜き部分の形状が前記領域縮小手段によって分断されると、前記領域補正手段は、補正された前記切り抜き部分の形状の前記輪郭線の位置をさらに外側に補正し、
補正された前記切り抜き部分の形状が前記領域縮小手段によって分断されないと、補正された前記切り抜き部分の形状を切り抜きの形状を表す領域として確定する領域確定手段を、さらに備えることを特徴とする請求項からのいずれか一項に記載の画像処理装置。
When the shape of the cutout portion represented by the data is divided by the reduction by the region reduction means, the region reduction means sets the position of the contour line of the shape of the cutout portion corrected by the region correction means. Reduce to the area corrected inward by the third value,
When the corrected shape of the cutout portion is divided by the region reduction unit, the region correction unit further corrects the position of the contour line of the corrected cutout shape to the outside,
2. The apparatus according to claim 1, further comprising: a region determining unit that determines the corrected shape of the cutout portion as a region representing the shape of the cutout when the corrected shape of the cutout portion is not divided by the region reduction unit. The image processing apparatus according to any one of 4 to 6 .
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得ステップと、A data acquisition step of acquiring data representing the shape of a cutout portion that is one area of an image to be cutout;
前記データ取得ステップで取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定ステップと、A determination step of determining whether or not there is an image portion whose width is narrower than the first value in the shape of the cutout portion represented by the data acquired in the data acquisition step;
前記判定ステップにより前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正ステップと、When it is determined in the determination step that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. An area correction step for correcting the shape of the cut-out portion;
を含むことを特徴とする画像処理方法。An image processing method comprising:
コンピューターを、
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段、
として機能させることを特徴とする画像処理プログラム。
Computer
Data acquisition means for acquiring data representing the shape of a cutout portion, which is an area of an image to be cutout;
Determining means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquiring means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. Area correction means for correcting the shape of the cutout portion;
An image processing program that functions as an image processing program.
切り抜き対象となる画像の一領域である切り抜き部分の形状を表すデータを取得するデータ取得手段と、
前記データ取得手段が取得した前記データで表される切り抜き部分の形状において第1の値より幅の狭い画像部分があるか否かを判定する判定手段と、
前記判定手段により前記第1の値より幅の狭い画像部分があると判定された場合に、その判定された画像部分の幅を、前記第1の値に基づく第2の値だけ広くすることで前記切り抜き部分の形状を補正する領域補正手段と、
前記領域補正手段が補正した前記切り抜き部分の形状に基づいて前記画像からシールを製造するシール製造手段と、を備えることを特徴とするシール製造システム。
Data acquisition means for acquiring data representing the shape of a clipped portion that is one area of an image to be clipped;
Determination means for determining whether or not there is an image portion having a width smaller than the first value in the shape of the cutout portion represented by the data acquired by the data acquisition means;
When it is determined by the determination means that there is an image portion having a width smaller than the first value, the width of the determined image portion is increased by a second value based on the first value. Area correction means for correcting the shape of the cutout portion;
And a seal manufacturing unit that manufactures a seal from the image based on the shape of the cutout portion corrected by the region correction unit.
JP2010009056A 2010-01-19 2010-01-19 Image processing apparatus, image processing method, image processing program, and seal manufacturing system Expired - Fee Related JP5499727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010009056A JP5499727B2 (en) 2010-01-19 2010-01-19 Image processing apparatus, image processing method, image processing program, and seal manufacturing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010009056A JP5499727B2 (en) 2010-01-19 2010-01-19 Image processing apparatus, image processing method, image processing program, and seal manufacturing system

Publications (3)

Publication Number Publication Date
JP2011150403A JP2011150403A (en) 2011-08-04
JP2011150403A5 JP2011150403A5 (en) 2013-02-07
JP5499727B2 true JP5499727B2 (en) 2014-05-21

Family

ID=44537346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010009056A Expired - Fee Related JP5499727B2 (en) 2010-01-19 2010-01-19 Image processing apparatus, image processing method, image processing program, and seal manufacturing system

Country Status (1)

Country Link
JP (1) JP5499727B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020036600A1 (en) * 2018-08-17 2020-02-20 Hewlett-Packard Development Company, L.P. Packing a three-dimensional build bed

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3520773B2 (en) * 1998-07-16 2004-04-19 マックス株式会社 Cutting plotter
JP4788093B2 (en) * 2001-09-28 2011-10-05 マックス株式会社 Image correction processing program, driver program, and output device
JP2003289433A (en) * 2002-03-28 2003-10-10 Fuji Photo Film Co Ltd Picture clipping apparatus
JP2007086925A (en) * 2005-09-20 2007-04-05 Fuji Xerox Co Ltd Image processing apparatus, control method for image processing apparatus, and program

Also Published As

Publication number Publication date
JP2011150403A (en) 2011-08-04

Similar Documents

Publication Publication Date Title
CN104966092B (en) A kind of image processing method and device
JP2014183446A (en) Image processing apparatus and computer program
JP5200786B2 (en) Difference extraction apparatus and difference extraction program
JP5499727B2 (en) Image processing apparatus, image processing method, image processing program, and seal manufacturing system
JP2010074342A (en) Image processing apparatus, image forming apparatus, and program
JP5067882B2 (en) Image processing apparatus, image processing method, and program
JP2018156274A (en) Image processing apparatus, image processing method, and program
JP4910635B2 (en) Image processing apparatus and image processing program
JP2018137509A (en) Image processing device, image reading device, and program
US20060119897A1 (en) Output apparatus and program thereof
JPWO2013027572A1 (en) Ridge direction extraction device, ridge direction extraction method, ridge direction extraction program
JP6880833B2 (en) Control device for causing the print execution unit to execute printing
JP5056063B2 (en) Image processing apparatus and image processing program
JP2008269131A (en) Image processor and image processing program
JP6413450B2 (en) Image processing apparatus, image forming apparatus, and program
JP4435141B2 (en) Character recognition device, character recognition method, and character recognition program
JP2019174887A (en) Image processing device
JP2019121870A (en) Image processing apparatus, control method of the same, and program
JP4911065B2 (en) Image processing apparatus and program
JP5496230B2 (en) Image processing apparatus, image processing method, and program
JP2010020463A (en) Line drawing processor, line drawing processing method and program
JP4379571B2 (en) Image processing apparatus and image processing method
JP6707903B2 (en) Output device and computer program
JP2008306447A (en) Image processor and program
JP2008219326A (en) Image processing device and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131205

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: 20140212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140225

R150 Certificate of patent or registration of utility model

Ref document number: 5499727

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees