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 PDFInfo
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 49
- 238000004519 manufacturing process Methods 0.000 title claims description 26
- 238000003672 processing method Methods 0.000 title claims description 5
- 230000009467 reduction Effects 0.000 claims description 36
- 238000012937 correction Methods 0.000 claims description 16
- 238000005520 cutting process Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 27
- 230000008569 process Effects 0.000 description 22
- 238000003860 storage Methods 0.000 description 22
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000009966 trimming Methods 0.000 description 2
- 241001391944 Commicarpus scandens Species 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008719 thickening Effects 0.000 description 1
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には、画像の欠損部を修復する技術について開示されている。この技術は、欠損により分断された画像を構成する線分の端点を検出すると共に、線分を太線化することで、検出した一方の端点と他方の端点とを接続する。
ここで、特許文献1に係る技術は、シールの形状を表す画像が、シールの形状として十分な幅を有しない部分を有していても、当該部分は画像の欠損部分ではないため、当該部分の幅を修正できないという問題がある。よって、この画像に基づいた形状のシールを製造する場合には、当該細い部分の扱いが困難なシールが製造されてしまう。
Here, in the technology according to
そこで、本発明は、このような点に鑑み、その目的とするところは、切り抜きの形状を表す画像を適切に補正することができる画像処理装置、画像処理方法、画像処理プログラム、及びシール製造システムを提供することにある。 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.
以下、本発明の最良の実施形態について添付図面を参照しつつ説明する。 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
尚、シールが十分に扱い易いか否かの判定は、シールが十分に広い幅を有するか否かに基づいて判定される。具体的には、所定の閾値よりも幅が細い部分をシールが有する場合には、十分に扱い易いといえない。例えば、そのような幅の細い部分は十分な強度を有しないため、当該部分で折れ易い又は切れ易いからである。このため、所定の閾値は、シールの種類によって異なるが、当業者は、実験により最適な閾値を決定できる。 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
The
制御装置100aは、例えば、CPU(Central Processing Unit)であり、外部記憶装置100cに保存されたプログラムに従ってソフトウェア処理を実行することで、画像処理装置100の全体制御を行う。一時記憶装置100bは、例えば、DRAM(Dynamic Random Access Memory)であり、制御装置100aによるプログラムの実行時において、処理対象とする情報(データ)を一時的に記憶する。外部記憶装置100cは、例えば、ハードディスクドライブであり、画像を表すファイル、画像の一領域である画像領域を表すファイル、又は各種の設定を表す設定ファイルを記憶する。
The
画像出力装置100dは、例えば、通信カードであり、通信によりシール製造装置200へ画像ファイルを出力する。入力装置100eは、例えば、キーボードであり、表示装置100fは、例えば、液晶ディスプレイ(LCD:Liquid Crystal Display)である。入力装置100e及び表示装置100fは、ユーザーインターフェースを提供する。
The
次に、画像処理装置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
The
画像処理装置100が切抜情報生成処理を開始すると、図3(a)の画像取得部111は、画像を表す画像データを外部記憶装置100cから取得する(ステップS01)。尚、画像取得部111は、インターネットから画像データをダウンロードしても良い。
When the
次に、図3(a)の切抜データ取得部112は、画像取得部111が取得した画像データで表される画像を切り抜く形状(つまり、切抜形状)及び位置を表す切抜データを取得する。シールに印刷される画像領域を画像データから得るためである。具体的には、切抜データ取得部112は、画像データで表される画像から切り抜かない領域をマスクするマスクデータを、外部記憶装置100cから取得する。ここで、画像データで表される画像が、図4(a)に示す様な白鳥を表す画像であり、かつ白鳥を表す画像領域が印刷される画像領域として切り抜かれる場合には、切抜データ取得部112は、図4(b)に示す様な白鳥の形状をした白色の画像領域と、黒色の背景画像領域とを表すマスクデータを外部記憶装置100cから取得する。通常、白色は全ビットが値1のデータで表され、黒色は全ビットが値0のデータで表されるため、マスクデータを構成するビット列と画像データを構成するビット列とのAND演算によって、白色領域の形状及び位置に対応する領域を表すデータを画像データから切り抜けるためである。尚、マスクデータを取得した後に、切抜データ取得部112は、マスクデータの輝度を反転させる。図4(c)に示す様な、画像データで表される画像から切り抜かれる画像領域(以下、切抜領域という)を黒色で表すデータを生成するためである。尚、切抜データ取得部112は、例えば、ユーザーによる入力装置100eの操作に基づいてマスクデータを生成しても良い。この構成によれば、任意の画像領域を切り抜くことができる。
Next, the cutout
図2のステップS02を実行した後に、図3(a)のマージン設定部130は、所定の閾値である切抜マージンを設定記憶部120から読み込む(ステップS03)。次に、マージン設定部130は、切抜領域の幅を太くする量を表すマスクオフセットの値を切抜マージンの値で初期化する(ステップS04)。
After executing step S02 in FIG. 2, the
次に、領域縮小部140は、切抜領域を縮小するマイナスオフセット処理を実行する(ステップS05)。尚、領域縮小部140は、図3(b)に示す様に、第1形式変換部146、輪郭線幅設定部147、輪郭線色設定部148、及び第2形式変換部149で構成される。
Next, the
ここで、領域縮小部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
First, the first
図5(a)のステップS21を実行した後に、図3(b)の領域縮小部140は、切抜領域の輪郭線を表す表示線(以下、ストロークという)を「有り(有効)」に設定する(ステップS22)。尚、切抜領域の輪郭線とは、切抜領域と背景領域との境界を表す概念的な線であって、線幅を有しない。一方で、ストロークは、輪郭線をなぞった線であって、設定により変更される線幅を有する。
After executing step S21 in FIG. 5A, the
次に、輪郭線幅設定部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
Next, the outline
ここで、輪郭線幅設定部147がストロークの太さを切抜マージンの値に設定すると、ストロークの幅は、ストロークが表す輪郭線を基準として切抜画像の内側と外側との両側に、切抜マージンの値の半分だけそれぞれ拡大する。また、輪郭線色設定部148がストロークの色を切抜領域の背景色に設定すると、切抜領域の輪郭線から切抜マージンの値の半分だけ内側までの輪郭領域(つまり、切抜領域とストロークが表す領域とが重なった領域)が背景と同じ色となる。このため、切抜領域は、図7(c)に示す様に、切抜領域から輪郭領域が取り除かれた縮小領域に縮小される。この構成によれば、ある画像領域から当該画像領域の輪郭領域を容易に取り除くことができる。
Here, when the contour line
図5(a)のステップS24を実行した後に、図3(b)の第2形式変換部149は、縮小領域を表すパスデータを、ビットマップ形式のデータへ変換する(ステップS25)。その後、領域縮小部140は、マイナスオフセット処理の実行を終了する。
After executing step S24 of FIG. 5A, the
図2のステップS05において、領域縮小部140がマイナスオフセット処理を終了した後に、図3(a)の分断判定部150は、図5(a)のステップS25で生成したビットマップ形式のデータに対してパストレースを行う(ステップS06)。パストレースとは、画像領域を表すビットマップ形式のデータをトレースすることで、画像領域をパスデータで表すSVG形式のデータ(以下、トレースデータという)へビットマップ形式のデータを変換することをいう。
2, after the
次に、分断判定部150は、トレースデータが有するパスの数(つまり、パスデータの数)をカウントする(ステップS07)。ここで、図7(c)に示す縮小領域は、輪郭領域が取り除かれた結果、切抜マージンよりも幅が狭い部分(つまり、白鳥の首の付け根部分)で2つの連続領域に分断されている。この2つの連続領域は、図8に示す様な2つのパス(つまり、パスタグ領域)を有するトレースデータで表される。通常、1つの連続領域は、1つのパスで表されるためである。
Next, the
次に、分断判定部150は、切抜領域から輪郭領域を取り除いた結果、領域が分断されたか否かを判定する。具体的には、分断判定部150は、トレースデータが有するパスの数が、切抜領域を縮小する前のパスの数よりも増えたか否かを判定する。つまり、切抜領域を縮小する前のパスの数が値「1」であったため、制御装置100aは、トレースデータが有するパスの数が値「2」以上であるか否かを判定する(ステップS08)。この構成によれば、切抜領域が所定の閾値よりも細い部分を有するか否かを容易に判定できる。特に、輪郭領域の除去前後における切抜領域を構成する連続領域の数をパスの数で判定するため、切抜領域が所定の閾値よりも細い部分を有するか否かをより容易に判定できる。具体例として、切抜領域の輪郭線上に在る全ての点について、最も近い他の点までの距離を算出すると共に、算出した全ての距離が所定の閾値よりも長いか否かを判定する場合と比べて、切抜領域が所定の閾値よりも幅が細い部分を有するか否か容易に判定できる。
Next, the
ステップS08において、分断判定部150が、パスの数は値「2」以上であると判定した場合(ステップS08;Yes)に、マージン再設定部160は、マスクオフセットを切抜マージンだけさらに増加させた値へ再設定する(ステップS09)。
In step S08, when the
次に、領域拡大部170は、マスクデータから生成された切抜領域を拡大するプラスオフセット処理を実行する(ステップS10)。尚、領域拡大部170は、図3(c)に示す様に、切抜情報生成部171、第1形式変換部176、輪郭線幅設定部177、輪郭線色設定部178、及び第2形式変換部179で構成される。
Next, the
ここで、領域拡大部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
First, the cutout information generation unit 171 in FIG. 3C constituting the
次に、領域拡大部170は、ステップS22と同様に、ステップS32で取得したSVGデータで表される切抜領域のストロークを有効化する(ステップS33)。その後、輪郭線幅設定部177は、ステップS23と同様に、ストロークの太さをマスクオフセットに設定する(ステップS34)。次に、輪郭線色設定部178は、ステップS24と異なり、ストロークの色を切抜領域の色と同じ黒色に設定する(ステップS35)。
Next, similarly to step S22, the
つまり、ステップS34及びS35において、輪郭線幅設定部177がストロークの太さを設定前よりも太く設定すると共に、輪郭線色設定部178が、ストロークを切抜領域と同じ色に設定すると、ストロークと切抜領域とが外見上一体となる。このため、切抜領域に対してストロークで表される領域が追加されて、切抜領域の輪郭線の位置が外側へ移動する。よって、図4(c)に示した切抜領域は、図9(a)に示す様な、マスクオフセットだけより幅が広い拡大領域に補正される。この構成によれば、画像領域が所定の閾値よりも細い部分を有する場合に、当該部分を太く補正できる。またこの構成によれば、輪郭線の幅及び色を設定することで、画像領域を容易に拡大できる。
That is, in steps S34 and S35, when the outline
図5(b)のステップS35の処理を実行した後に、図3(c)の第2形式変換部179は、ステップS25と同様に、拡大された切抜領域を表すパスデータをビットマップ形式のデータに変換する(ステップS36)。次に、領域拡大部170は、パスデータをビットマップへ変換したデータを切抜データとする(ステップS37)。その後、領域拡大部170は、プラスオフセット処理の実行を終了する。
After executing the process of step S35 of FIG. 5B, the second
図2のステップS10において、図3(a)の領域拡大部170がプラスオフセット処理を終了した後に、領域縮小部140は、拡大領域に対してマイナスオフセット処理を実行する(ステップS05)。つまり、領域縮小部140は、拡大領域から拡大領域の輪郭領域を取り除く。
In step S10 in FIG. 2, after the
次に、分断判定部150は、マイナスオフセット処理で縮小された拡大領域に対して上記のステップS06からS08の処理を実行する(ステップS06からS08)。
ここで、マイナスオフセット処理で輪郭部分を取り除かれた拡大領域は、図9(b)に示す様な1つの連続領域からなる領域である。このため、分断判定部150は、輪郭部分を取り除かれた拡大領域を表すパスの数が値「1」であって、値「2」を越えないと判断する(ステップS08;No)。
Next, the
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
次に、図3(a)の切抜データ確定保存部196は、拡大領域を表す切抜データをシールの形状を表す領域として確定すると共に、確定した切抜データを外部記憶装置100cへ保存し、シール製造装置200へ出力する(ステップS11)。次に、画像切抜部180は、マスクデータの白色領域に対応する画像領域を、画像データで表される画像から切り抜いて、図9(c)に示す様な切抜画像を取得する(ステップS12)。その後、切抜画像保存部191は、切抜画像を表す切抜画像データを外部記憶装置100cへ保存すると共に、切抜画像データをシール製造装置200へ出力する(ステップS13)。その後、画像処理装置100は、処理の実行を終了する。
Next, the cutout data
尚、シール製造装置200は、ステップS11で画像処理装置100が出力した切抜データに基づいて、切抜データで表される拡大領域の形状を有するシールを製造する。また、シール製造装置200は、ステップS13で画像処理装置100が出力した切抜画像データで表される切抜画像を、拡大領域の形状を有するシールに印刷する。ここで、切抜データで表されるシールの形状は、切抜画像の形状よりも切抜マージンだけ広く幅を補正されているため、シール製造装置200が製造するシールは、図9(d)に示す様なシールの端から切抜画像が印刷された部分まで余白(マージン)を有する。この構成によれば、シールを製造する前に、製造されるシールが所定よりも細い部分を有するか否かを容易に判定できるだけでなく、判定結果に基づいて当該部分を太く補正できる。よって、折れ難くかつ切れ難いために取り扱いが容易なシールを製造できる。
Note that the
尚、本実施例において、領域拡大部170は、画像領域の輪郭線を表すストロークの幅及び色を変更することで、画像領域を拡大するとして説明したが、これに限定される訳ではない。例えば、領域拡大部170は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に、所定の割合だけ直接的に拡大する構成を採用できる。また例えば、領域拡大部170は、画像領域の輪郭線から予め定めたピクセル値だけ外側の画素を、画像領域を構成する画素の色に変更することで、画像領域を拡大する構成を採用できる。
In the present embodiment, the
同様に、領域縮小部140は、画像領域の輪郭線を表すストロークの幅及び色を変更することで、画像領域を縮小するとして説明したが、これに限定される訳ではない。領域縮小部140が用いる縮小方法は、縮小により所定値より細い部分で画像領域を分断する縮小方法であれば構わない。例えば、領域縮小部140は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に、所定の割合だけ直接的に縮小する構成を採用できる。また例えば、領域縮小部140は、画像領域の輪郭線から所定値だけ内側の画素を、背景領域を構成する画素の色に変更することで、画像領域を縮小する構成を採用できる。さらに例えば、領域縮小部140は、画像領域の大きさを縦方向(走査方向)及び横方向(副走査方向)に所定の割合だけ直接的に縮小させた後に、縮小させた画像領域の輪郭線から予め定めたピクセル値だけ内側の画素を、背景領域を構成する画素の色に変更する構成を採用できる。
Similarly, the
尚、本発明に係る機能を実現するための構成を予め備えた画処理信装置として提供できることはもとより、プログラムの適用により、既存の画像処理装置を本発明に係る画像処理装置として機能させることもできる。すなわち、上記実施形態で例示した画像処理装置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
この様プログラムの配布方法は任意であり、例えば、メモリカード、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
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から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.
前記領域補正手段は、前記領域縮小手段によって前記切り抜き部分の形状が分断されたと前記判定手段が判定した場合に、前記データで表される前記切り抜き部分の形状を補正することを特徴とする請求項4に記載の画像処理装置。 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 .
補正された前記切り抜き部分の形状が前記領域縮小手段によって分断されると、前記領域補正手段は、補正された前記切り抜き部分の形状の前記輪郭線の位置をさらに外側に補正し、
補正された前記切り抜き部分の形状が前記領域縮小手段によって分断されないと、補正された前記切り抜き部分の形状を切り抜きの形状を表す領域として確定する領域確定手段を、さらに備えることを特徴とする請求項4から6のいずれか一項に記載の画像処理装置。 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 .
前記データ取得ステップで取得した前記データで表される切り抜き部分の形状において第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.
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)
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)
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 |
-
2010
- 2010-01-19 JP JP2010009056A patent/JP5499727B2/en not_active Expired - Fee Related
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 |