Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4788093B2 - Image correction processing program, driver program, and output device - Google Patents
[go: Go Back, main page]

JP4788093B2 - Image correction processing program, driver program, and output device - Google Patents

Image correction processing program, driver program, and output device Download PDF

Info

Publication number
JP4788093B2
JP4788093B2 JP2001302286A JP2001302286A JP4788093B2 JP 4788093 B2 JP4788093 B2 JP 4788093B2 JP 2001302286 A JP2001302286 A JP 2001302286A JP 2001302286 A JP2001302286 A JP 2001302286A JP 4788093 B2 JP4788093 B2 JP 4788093B2
Authority
JP
Japan
Prior art keywords
image
point
processing program
data
correction processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001302286A
Other languages
Japanese (ja)
Other versions
JP2003109000A (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.)
Max Co Ltd
Original Assignee
Max 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 Max Co Ltd filed Critical Max Co Ltd
Priority to JP2001302286A priority Critical patent/JP4788093B2/en
Priority to TW92101008A priority patent/TW200414079A/en
Publication of JP2003109000A publication Critical patent/JP2003109000A/en
Application granted granted Critical
Publication of JP4788093B2 publication Critical patent/JP4788093B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Cutting Processes (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、カッティングマシン或いはプロッタ装置等にて出力される文字・絵柄等の輪郭をスムーズに処理する画像補正処理プログラム及びドライバープログラム並びに出力装置に関する。
【0002】
【従来の技術】
従来、粘着剤付きのプラスチックシートを所望の形状に切り抜くカッティングマシンが提案されている。
【0003】
このカッティングマシンは、周面にプラスチックシートを載せる円筒形のプラテンローラと、プラテンローラの回転軸に沿って平行に延びるガイド軸と、このガイド軸にスライド可能に装着されるスライダーと、このスライダーに揺動可能に保持されるカッターホルダーと、カッターホルダーに保持されるカッターと、プラスチックシートを送るために前記プラテンローラを回転させるプラテンローラ駆動機構と、前記プラテンローラの回転と関連して前記スライダーをスライドさせるスライダー駆動機構と、前記カッターホルダーを前記プラテンローラに対して接触・離間させるホルダー駆動機構とを備えている。
【0004】
これらのプラテンローラ駆動機構はプラテンローラ駆動モーターとギア機構とで構成され、スライダー駆動機構はスライダー駆動モーターとプーリー機構とで構成され、ホルダー機構は電磁ソレノイドとプーリー機構で構成されている。
【0005】
プラテンローラ駆動モーター、スライダー駆動モーター及び電磁ソレノイドは、それぞれインターフェース回路を介してマイクロコンピュータに接続され、マイクロコンピュータからの出力により、カッターホルダーを相対的にプラスチックシートのXYZ座標系に沿って駆動させる。
【0006】
マイクロコンピュータに出力される原画像データは、通常、パーソナルコンピュータの図形処理プログラムにて作成・編集される。この図形処理プログラムにて作成された原画像データは、図形処理プログラムからパーソナルコンピュータのオペレーションシステムプログラムを経由してカッティングマシン用のドライバープログラムに送信され、このドライバープログラムに基づいて、カッティングマシンのカッターホルダーの上下動作やカッターの移動位置等を示す動作命令であるコマンドデータに変換され、カッティングマシンに送信される。このコマンドデータに基づいてカッティングマシンは動作する。
【0007】
カッティングマシンが前記コマンドデータに基づいて、画像を切り抜く場合、プラスチックシートのXY座標系は、プラテンローラの回転方向がX軸とされ、プラテンローラの回転軸方向がY軸とされる。
【0008】
画像データは、このXY座標系に基づいて位置が特定される線分データの集まりからなるベクターデータにより表されており、ドライバープログラムは、連続的に配列されたベクターデータに基づいて、原画像データをコマンドデータに変換し、該コマンドデータに基づき、制御プログラムがプラテンローラ駆動モーター、スライダー駆動モーター並びに電磁ソレノイドを駆動する。
【0009】
【発明が解決しようとする課題】
ところで、このようなカッティングマシンにより、文字・絵柄を切り取る場合に、文字・絵柄を構成する連続する2直線が短すぎると、文字・絵柄等の曲線部分が蛇行又は振動してギザギザが著しくなり、図5(1)に示すように見栄えが悪いという問題がある。
【0010】
特に、微細なカッターを使用するカッティングマシンにおいては、前述のように短い2直線を続けて切らせると、カッターの方向転換が著しく増加するため、カッターの刃先の消耗が激しくなったり、カッターが傷んだりする虞がある。
【0011】
そこで、本発明は、カッター若しくはプロッター等の出力装置にて、PC画面上の画像データを切り抜く場合若しくはラインを引く場合に、極力ギザギザの少ない出力結果を得るようにすることを目的とする。
【0012】
【課題を解決するための手段】
上記課題を解決するために、本願の請求項1の発明は、第1のXY座標に基づいて始点と終点を定められた線分を多数連結して構成される一次画像を構成するデータを、第2のXY座標に基づく二次画像を構成するデータに変換し、前記出力装置から出力する出力画像を滑らかにするために、前記二次画像を構成するデータを補正する画像補正処理プログラムであって、
前記二次画像を構成するデータのN番目(Nは1、2、3・・・と並ぶ整数)の線分は第2のXY座標において始点Aと終点Bとによって定められ、前記二次画像を構成するデータのN+1番目の線分は第2のXY座標において始点Bと終点Cとによって定められ、
前記二次画像を構成するデータの点ABC間において、線分AB、BCの加算値が補正処理を行う判断基準としての閾値L以下であって、点Bと線分ACの中点Mとの距離Hが、前記閾値より小さい中間値Lmid以下である場合に、点Bを省略して、前記線分AB、BCの代わりに線分ACを出力画像の線分として出力することを特徴とする画像補正処理プログラムとしたものである。
【0013】
また、本願の請求項2の発明は、第1のXY座標に基づいて始点と終点を定められた線分を多数連結して構成される一次画像を構成するデータを、第2のXY座標に基づく二次画像を構成するデータに変換し、前記出力装置から出力する出力画像を滑らかにするために、前記二次画像を構成するデータを補正する画像補正処理プログラムであって、
前記二次画像を構成するデータのN番目(Nは1、2、3・・・と並ぶ整数)の線分は第2のXY座標において始点Aと終点Bとによって定められ、前記二次画像のN+1番目の線分は第2のXY座標において始点Bと終点Cとによって定められ、
前記二次画像を構成するデータの点ABC間において、線分AB、BCの加算値が補正処理を行う判断基準としての閾値L以下であって、点Bと線分ACの中点Mとの距離Hが、前記閾値Lより小さく前記中間値Lmidより大きい上限値Lmaxと前記中間値Lmidの間にある場合には、点Bと点Mの間の置換点Rを算出して、前記点Bを置換点Rに置換し、前記線分AB、BCの代わりに線分AR、RCを出力画像の線分とすることを特徴とする画像補正処理プログラムとしたものである。
【0014】
更に、本願の請求項3の発明は、第1のXY座標に基づいて始点と終点を定められた線分を多数連結して構成される一次画像を構成するデータを、第2のXY座標に基づく二次画像を構成するデータに変換し、前記出力装置から出力する出力画像を滑らかにするために、前記二次画像を構成するデータを補正する画像補正処理プログラムであって、
前記二次画像を構成するデータのN番目(Nは1、2、3・・・と並ぶ整数)の線分は第2のXY座標において始点Aと終点Bとによって定められ、前記二次画像を構成するデータのN+1番目の線分は第2のXY座標において始点Bと終点Cとによって定められ、
前記二次画像の点ABC間において、線分AB、BCの加算値が補正処理を行う判断基準としての閾値L以下であって、点Bと線分ACの中点Mとの距離Hが、前記閾値より小さい中間値Lmid以下である場合に、点Bを省略して、前記線分AB、BCの代わりに線分ACを出力画像の線分として出力し、
前記距離Hが、前記閾値Lより小さく前記中間値Lmidより大きい上限値Lmaxと前記中間値Lmidの間にある場合には、点Bと点Mの間の置換点Rを算出して、前記点Bを置換点Rに置換し、前記線分AB、BCの代わりに線分AR、RCを出力画像の線分とすることを特徴とする画像補正処理プログラムとしたものである。
【0015】
本願の請求項4の発明は、請求項1〜請求項3のいずれかの画像補正処理プログラムであって、前記第2のXY座標の解像度が前記第1のXY座標の解像度より高いことを特徴とする画像補正処理プログラムとしたものである。
【0016】
本願の請求項5の発明は、請求項1〜請求項4のいずれかの画像補正処理プログラムを備えており、パーソナルコンピュータの図形処理プログラムにより描かれた画像データを前記出力装置が駆動するように出力するドライバープログラムであって、
前記図形処理プログラムにて描かれた画像データを前記画像補正処理プログラムにより変換し、変換した補正データに基づいて前記出力装置を駆動制御することを特徴とするドライバープログラムとしたものである。
【0017】
本願の請求項6の発明は、請求項1〜請求項4のいずれかの画像補正処理プログラム、若しくは、請求項5のドライバープログラム、のうちのいずれかを記憶していることを特徴とする出力装置としたものである。
【0018】
【発明の実施の形態】
以下、この発明の実施の形態にかかる画像補正処理プログラム並びに出力装置としてのカッティングマシンを図面を参考にしつつ説明する。
【0019】
図4は、カッティングマシン1とパーソナルコンピュータ2との接続状態を示す。パーソナルコンピュータ2には、通信ケーブル3を介して、カッティングマシン1が接続されている。
【0020】
カッティングマシン1は、幅の広いテープ状を有してロール状に巻かれたプラスチック製のカラーシートを供給するロールカセット(図示省略)と、ロールカセットから繰り出されたカラーシートをその長手方向に送るプラテンローラ4と、プラテンローラ4に接触・離間可能なカッターを先端部に備えたカッター5と、カッター5をプラテンローラ4に接触・離間するように上下方向に揺動するカッター支持部材6と、カッター支持部材6をプラテンローラ4の回転軸と平行な方向に移動させるスライダー部材7とを備えている。
【0021】
カラーシートは粘着剤層を有しており、剥離紙上に貼り合わせられている。剥離紙の両側部には、送り爪を通すためのスプロケット穴が一定ピッチで多数形成されている。プラテンローラ4の両側部には剥離紙のスプロケット穴に通すための送り爪が多数形成されている。プラテンローラ4は、プラテン駆動用モーター8及びギア機構により、正逆方向に回転可能とされる。スライダー部材7は、プラテンローラ4の回転軸に平行に延びるスクリュー軸9に螺合するナット部を備えており、スクリュー軸9をモーター10及びギア機構により正逆方向に回転させることにより、プラテンローラ4の回転軸に沿って左右に移動可能になっている。
【0022】
カッター支持部材6はプラテンローラ4に対して接近・離間可能なように、スライダー部材7に揺動自在に保持されており、スライダー部材7は電磁ソレノイド11を備えている。カッター支持部材6は電磁ソレノイド11の伸縮により揺動するようになっている。カッター支持部材6にはカッター5の軸部が軸周り方向に回動自在に保持される。カッター5の先端部は切り出しナイフのように三角形状に形成され、スライダー部材7及びプラテンローラ4の動きに合わせて刃先が回転するようになっている。
【0023】
プラテンローラ駆動用のモータ8及びスクリュー軸駆動用のモータ10並びに電磁ソレノイド11には、インターフェース回路を介してカッティングマシン1の電源回路及びマイクロコンピュータ12に接続されている。
【0024】
カッティングマシン1のマイクロコンピュータ12は、ROM及びパーソナルコンピュータ2からの画像データを保持するRAM並びにプロセッサを備えている。ROMには、カッティングマシン1を制御するための制御プログラム20とコマンド解析プログラム21とが記憶されている。
【0025】
コマンド解析プログラム21は、パーソナルコンピュータ2のドライバプログラム24からのコマンドを解析してカッティング制御用のデータを生成する。
【0026】
カッティングマシン1の制御用プログラム20は、コマンド解析プログラム21の制御用データに基づいて、カッティングマシン1のモータ8、10及び電磁ソレノイド11を駆動する。
【0027】
なお、ROMには、パーソナルコンピュータ2からのデータを送信されなくても、カッティングマシン3自身の状態等を表示・設定・変更するために必要な文字画像等のデータと、その他の制御に必要なデータ及びプログラムとが記憶されている。
【0028】
パーソナルコンピュータ2は、オペレーティングシステムプログラム22及び一次画像を作成・編集する図形編集プログラム23、カッティングマシン1のドライバプログラム24を有している。図形編集プログラム23は、カッティングマシン1によってカラーシートを切り抜くために、例えば連続直線等により小さな線分を連結して画像の輪郭を形成することが可能とされている。
【0029】
図形編集プログラム23により描かれた輪郭の画像は、前述の出力装置に出力するための一次画像データとなる。この一次画像データは、線分の集まりとして構成され、線分データの始点と終点の位置は図形編集プログラムが備えている第1のXY座標に基づいて定められる。
【0030】
この第1のXY座標及び後述する第2のXY座標は、一次画像データを構成する線分データの始点及び終点のX軸及びY軸方向の値を決めるために設定される。
【0031】
カッティングマシン1の駆動制御を行うためのドライバープログラム24は、パーソナルコンピュータ2に記憶されており、パーソナルコンピュータ2側でドライバープログラム24に詳細な指示を行うことができるようになっている。
【0032】
ドライバープログラム24には、図形編集プログラム23によって編集された一次画像データをスムージング処理するための第2のXY座標が設定可能とされている。この第2のXY座標は、第1のXY座標で表現された一次画像データを、カッティングマシン1の性能上の最高解像度に変換するためのものである。
【0033】
ドライバープログラム24は、一次画像データをカッティングマシンに出力する前に、第1のXY座標で表現された一次画像データを第2のXY座標に変換する。
【0034】
ドライバープログラム24は、変換した二次画像データの輪郭を滑らかに補正する線分補正プログラム25を有する。
【0035】
線分補正プログラム25にて補正された補正画像データは、カッティングマシン1のコマンド解析プログラム21に送信される。
【0036】
線分補正プログラム25が二次画像データを滑らかにするための画像補正は、連続する線分同士の連続する点を省略する方法と、当該点の代わりに置換点を用いる方法とがある。これらの画像補正は、この実施の形態では組み合わせて行われるが、いずれか一方でも良い。
【0037】
次に、この画像補正処理を図1のフローチャートにより説明する。画像補正処理は、前述の二次画像データの線分AB(N番目の線分、(Nは1、2、3・・・と並ぶ整数)以下同じ)と線分BC(N+1番目の線分)に関して行われる。これらの連続直線を構成する各点のデータは、図3に示すように、第2のXY座標により表される。
【0038】
先ず、二次画像データの始点A、通過点B(若しくは終点B)、点C間において、補正処理対象となる点ABCを抽出する(ステップ1)。この点ABCは、連続直線となるように連なる2本の線分を構成する点である。
【0039】
次に、抽出した点ABCにつき、線分AB、BCの長さを算出する(ステップ2、3)。
【0040】
ステップ4では、線分AB、BCの加算値を閾値Lと比較する。この閾値Lは出力装置としてのカッティングマシン1の特性に応じてドライバープログラムに予め設定する。このステップ5の判定は、例えば、線分AB、BCがそれぞれ長い直線からなる角部や線分AB又は線分BCのいずれかが長い直線を描く場合に、この画像補正を行わないで、原画通りにカッティングを行うためである。
【0041】
ステップ4にて、線分AB、BCの加算値が閾値L以上であると判断された場合(NOの場合:図2(2)(a)参照)には、補正をしないで通過点Bをそのまま残す。なお、ここで、フローチャートでは線分AB+線分BC≦閾値Lとしているが、線分AB+線分BC<閾値Lとしても良い。
【0042】
ステップ4の判定において、この加算値が閾値Lより小さいか若しくは以下である場合(YESの場合:図2(2)(a)参照)には、画像補正処理を行うために、ステップ5に移行し、線分ACについて、中点Mを算出し、更に、通過点Bと中点Mとの距離Hを算出する(ステップ6)。
【0043】
次のステップ7では、点Bと線分ACの中点Mとの距離Hが下限値Lminと中間値Lmidと上限値Lmaxの間に位置するかどうかを判定する。
【0044】
ここで、下限値Lmin≦離間距離H≦上限値Lmaxは、下限値Lmin<離間距離H<上限値Lmaxでも良い。
【0045】
ステップ7で、離間距離Hがこの範囲内にないと判断された場合(ステップ7でNOの場合)には、補正をしない(図2(2)(b)参照)。
【0046】
ステップ7で、離間距離Hがこの範囲内にあると判断された場合(ステップ7でYESの場合)には、ステップ8に移行し、離間距離Hが中間値Lmid以上であるかどうかを判定する。ステップ8の判定においてNOの場合には、ステップ9の省略法を用い、通過点Bを省略する(図2(2)(b)参照)。
【0047】
ステップ8の判定においてYESの場合には、通過点Bと中点Mとの中点である置換点Rを算出し(ステップ10)、置換法を用いる。置換法では、通過点Bを置換点Rに置換する(ステップ11:(図2(2)(b)参照)。
【0048】
なお、前記ステップ9の省略法では、図3の線分の始点終点を表すデータにおいて、例えば通過点Bを省略する場合には、通過点BのXYの座標位置を点Aの座標位置に書き換える処理を行う。具体的には、点A,B,Cとある場合に、点Bを省略する処理を行う場合には、出力結果においては見かけ上線分ACとなるが、データ上では点A,A,Cを結ぶ線となる。
【0049】
これによって、特別な処理を施すことなく、上記の抽出方法の基本をそのまま繰り返すだけで済むこととなり、処理が速められる。
【0050】
このような処理工程を経て、処理終了かどうかの判定を行い(ステップ12)、残りの点が無ければ(YES)、終了し、残りの点があれば(NO)、ステップ1の始めに戻る。
【0051】
尚、上記の下限値Lmin、中間値Lmid、上限値Lmaxは、カッティングマシン1の制御精度或いは解像度により設定変更可能なパラメータとするが、後述のオフセット量に応じてプログラムで適宜算出設定するようにしても良い。
【0052】
この下限値Lmin、上限値Lmax、中間値Lmidは、正確にカッティングするための機械動作の精度と、図柄等の出力画像の見栄えをきれいにする観点から決められる。
【0053】
即ち、図6に示すように、カッターの刃先は、カッター5の回転中心部TcとシートP等に接触する刃先後端部Cpにおいて、回転中心線部cが先行し、刃先後端部Cpが追従するようにオフセット量Osを持っている。
【0054】
従って、図柄等の切り抜きの場合、図柄の切り込み線分が短いにもかかわらず、線分が折れ曲がりの頻度が多いと、回転中心部に追従する切断部分が蛇行し易いために、切り抜かれた絵柄の輪郭に凹凸が生じやすい(図5(1)参照)。
【0055】
特に、曲線部において線分の振動が生じると、曲線部分が滑らかでなくなったり、短い間隔で角部があると不要な刃の動きが連続して生じる結果、切り抜かれた絵柄にギザギザが生じて見栄えが悪くなると共に、微細なカッターを使用するカッティングマシンにおいては、前述のような著しいギザギザの曲線を切らせると、カッターの方向転換が著しく増加するために、カッターの刃先の消耗が激しくなったり、カッターが傷んだりする原因となる。
【0056】
この実施の形態の画像補正処理プログラムでは、このようなカッターの切断部分の蛇行や振動を解消するために、絵柄を構成する線分の長さをある程度長く設定して滑らかさを出すとと共に、カッターの回転中心部Tcと刃先後端部Cpとのオフセット量Os並びにカットする紙の硬さや粘着剤の抵抗に基づいて、刃の方向制御を行いやすくするために、閾値L、下限値Lmin、上限値Lmax、中間値Lmidを設定する。
【0057】
閾値Lは、カッティングマシン1のステッピングモータ8、10が加速・減速を繰り返しても不具合が起こらない連続ステップ分の最小値に相当する移動距離の略2倍に設定され、カッター5がもっともスムーズにシートPをカットできる最小の長さである。一例としては、線分AB=0.7〜0.8mmがステッピングモータ8、10等の機械の特性及び設定上もっともスムーズにカットできる長さの最小値となることが判明している。
【0058】
また、下限値Lminは、0以上の数値であり、カッティングマシン1の最小動作距離間における任意の値であり、カッティングマシン1のステッピングモータ8、10による最小動作距離(通常0、025mm)の2倍とする。
【0059】
中間値Lmidは、オフセット量Osにほぼ等しい。オフセット量Osはカッター5の刃の切り込み深さにより異なり、初期設定値の一例としては、0.25mmが設定されるが、これに限るものではない。
【0060】
上限値Lmaxは、オフセット量Osのほぼ2倍とされる。
【0061】
なお、前記ステップ9の省略法において点A,B,Cを結ぶ線分中の点Bが省略された場合、次の段階では、点Cの次の点Dについて、点B,C,D間ではなく点A,C,D間において続けて補正の判断を行う。
【0062】
また、前記ステップ11の置換法において、点A,B,C中の点Bが点Rに置換された場合、次の段階では、点Cの次の点Dについて、点B,C,D間ではなく点R,C,D間において続けて補正の判断を行う。
【0063】
このようにして、二次画像データの補正を行うと、図3に示すような補正データが生成される。コマンド解析プログラム21は、線分補正プログラム25により送信される補正データに基づいて制御データを生成し、この制御データに基づいて制御プログラム20がモータ駆動やヘッドのアップダウンを制御する。
【0064】
上記の画像補正処理プログラムでは、置換点Rは、必ずしも点Bと点Mとを結ぶ中点でなくてもよく、点Rと点Mとの距離に数個の段階を設定し、その段階に応じて新たな置換点Rを設定しても良い。
【0065】
以上述べたように、この実施の形態の画像補正処理プログラムによれば、カッティングマシンの有する最高解像度を生かして画像データを再生処理する場合に、原画像データの量が多くて連続する2直線が短いために生じるモーターやカッターの不安定な動作を回避しつつ、滑らかな画像を表示することができ、カッティングマシンやプロッター装置によりカットシートを切り抜いたり、線画像を表示する場合に、図5(2)に示すように、滑らかなカットシートや線画像を得ることができる。
【0066】
また、上記の画像補正処理プログラムを用いることで、結果的に不要なカッターの動きがなくなり、カッターの刃先における早い摩耗や傷みを抑止することができる。
【0067】
さらに、以上の補正を行うことで、例えば、パーソナルコンピュータ2が16ビットのテーブルにより254dpiの解像度の処理を行っても、カッティングマシン1の切断処理結果は、データ数を変えることなく、見かけ上32ビットのテーブルにより処理され、1016dpiの解像度で出力されたと同様の結果を得ることが出来る。
【0068】
カッティングマシンを出力装置とした場合には、演算処理の方法が四則演算で処理できるので、現在市販されているマイクロコンピュータで処理するには充分な速度を得ることができ、メモリの増設や高度な数値演算処理回路を必要としない。
【0069】
また、上記実施の形態の画像補正処理プログラムは、パーソナルコンピュータ側の記憶装置にドライバープログラムの一部として保存しても良いし、カッティングマシンやプロッター装置等の出力装置のマイクロコンピュータの記憶装置に記憶しても良い。
【0070】
さらに、上述の画像補正処理プログラムを備えたドライバープログラムは、出力装置側に記憶しておいても良く、FDD・光ディスク・フラッシュメモリ等の外部記憶装置に記憶しても良い。
【0071】
【発明の効果】
以上述べたように、本願の請求項1乃至請求項6の画像補正処理プログラム及びドライバープログラム並びに出力装置によれば、画像データを出力装置で再生処理する場合に、滑らかな画像を表示することができ、カッティングマシンやプロッター装置によりカットシートを切り抜いたり、線画像を表示する場合に、滑らかなカットシートや線画像を得ることができる。
【0072】
また、出力装置としてカッティングマシンやプロッター装置を用いた場合には、連続する3点間の距離を閾値Lと比較して補正するかどうかを判別した上で、省略や置換の演算処理を行い、しかも、この演算処理の方法が四則演算で処理できるので、現在市販されているマイクロコンピュータで処理するには充分な速度を得ることができ、高度な数値演算処理回路を必要としない。
【0073】
さらに、高解像度の画像データのメモリ容量は大きいので、プリンタ、カッティングマシン或いはプロッター装置に対して送られてきた高解像度の画像データを補正するためには、通常大容量のメモリを必要とするが、このような画像補正処理プログラムによれば、メモリの増加を抑制できるため、経済的な小容量のメモリ搭載で済み、コストの低廉化を促進でき、刃の消耗を減らすことができる。
【0074】
また、この発明の画像補正処理プログラム及びドライバープログラム並びに出力装置によれば、例えば、入力されたデータが低解像度でなく、元々カッティングマシン等の出力装置における最高解像度であるにもかかわらず汚い場合、即ち、短い間隔で細かい振幅で振動しているギザギザの線分データの場合においても、線分を円滑にすることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態にかかる画像補正処理プログラムのフローチャート。
【図2】(1)は図1にかかる画像補正処理プログラムにて補正するときの概念図、(2)は2つの線分の加算値と閾値と比較処理、並びに、距離Hと上限値、中間値、下限値の比較処理の説明図。
【図3】図1の画像補正処理プログラムにて処理されるデータの概念図。
【図4】パーソナルコンピュータとカッティングマシンの接続関係を示す模式図。
【図5】(1)は補正しないでカッティングマシンに出力させた例及びその部分拡大図、(2)は本実施の形態のプログラムにより補正を行ってカッティングマシンに出力させた例及びその部分拡大図。
【図6】カッターのオフセット量を示す拡大図。
【符号の説明】
1 カッティングマシン(出力装置)
2 パーソナルコンピュータ
3 ケーブル
4 プラテンローラ
5 カッター
6 カッター支持部材
7 スライダー部材
20 制御プログラム
21 コマンド解析プログラム
23 図形処理のアプリケーションプログラム
24 ドライバプログラム
25 線分補正プログラム
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image correction processing program, a driver program, and an output device that smoothly process outlines of characters, patterns, and the like output by a cutting machine or a plotter device.
[0002]
[Prior art]
Conventionally, a cutting machine for cutting out a plastic sheet with an adhesive into a desired shape has been proposed.
[0003]
This cutting machine includes a cylindrical platen roller on which a plastic sheet is placed on a peripheral surface, a guide shaft extending in parallel along the rotation axis of the platen roller, a slider slidably mounted on the guide shaft, and a slider. A cutter holder held in a swingable manner; a cutter held in the cutter holder; a platen roller driving mechanism for rotating the platen roller to feed a plastic sheet; and the slider in relation to the rotation of the platen roller. A slider driving mechanism for sliding and a holder driving mechanism for bringing the cutter holder into contact with and separating from the platen roller are provided.
[0004]
These platen roller drive mechanisms are composed of a platen roller drive motor and a gear mechanism, the slider drive mechanism is composed of a slider drive motor and a pulley mechanism, and the holder mechanism is composed of an electromagnetic solenoid and a pulley mechanism.
[0005]
The platen roller drive motor, slider drive motor, and electromagnetic solenoid are connected to the microcomputer via interface circuits, respectively, and the cutter holder is driven relatively along the XYZ coordinate system of the plastic sheet by the output from the microcomputer.
[0006]
Original image data output to a microcomputer is usually created and edited by a graphic processing program of a personal computer. The original image data created by this graphic processing program is transmitted from the graphic processing program to the driver program for the cutting machine via the operation system program of the personal computer. Based on this driver program, the cutter holder of the cutting machine Is converted into command data, which is an operation command indicating the vertical movement of the blade, the moving position of the cutter, and the like, and transmitted to the cutting machine. The cutting machine operates based on this command data.
[0007]
When the cutting machine cuts out an image based on the command data, in the XY coordinate system of the plastic sheet, the rotation direction of the platen roller is the X axis, and the rotation axis direction of the platen roller is the Y axis.
[0008]
The image data is represented by vector data consisting of a collection of line segment data whose positions are specified based on this XY coordinate system, and the driver program can generate original image data based on the vector data arranged continuously. Is converted into command data, and the control program drives the platen roller drive motor, slider drive motor and electromagnetic solenoid based on the command data.
[0009]
[Problems to be solved by the invention]
By the way, when cutting a character / picture with such a cutting machine, if two continuous straight lines constituting the character / picture are too short, the curved portion of the character / picture, etc. meanders or vibrates, and the jaggedness becomes remarkable. As shown in FIG. 5 (1), there is a problem that it looks bad.
[0010]
In particular, in a cutting machine using a fine cutter, if the two straight lines are continuously cut as described above, the direction of the cutter is remarkably increased, so that the blade edge of the cutter becomes severely worn or damaged. There is a risk of dripping.
[0011]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to obtain an output result with as little jaggedness as possible when cutting out image data on a PC screen or drawing a line with an output device such as a cutter or a plotter.
[0012]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the invention of claim 1 of the present application is directed to data constituting a primary image configured by connecting a number of line segments whose start point and end point are determined based on the first XY coordinates. An image correction processing program that corrects data constituting the secondary image in order to convert the data constituting the secondary image based on the second XY coordinates and smooth the output image output from the output device. And
An Nth line segment (N is an integer aligned with 1, 2, 3,...) Of data constituting the secondary image is defined by a start point A and an end point B in a second XY coordinate, and the secondary image. The (N + 1) -th line segment of the data constituting is defined by the start point B and the end point C in the second XY coordinates,
Between the points ABC of the data constituting the secondary image, the added value of the line segments AB and BC is equal to or less than a threshold value L as a criterion for performing the correction process, and the point B and the midpoint M of the line segment AC When the distance H is equal to or less than the intermediate value Lmid smaller than the threshold, the point B is omitted, and the line segment AC is output as the line segment of the output image instead of the line segments AB and BC. This is an image correction processing program.
[0013]
In addition, the invention of claim 2 of the present application uses, as the second XY coordinates, data constituting a primary image configured by connecting a number of line segments having start points and end points determined based on the first XY coordinates. An image correction processing program for correcting data constituting the secondary image in order to convert the data constituting the secondary image based on the data and smoothing the output image output from the output device,
An Nth line segment (N is an integer aligned with 1, 2, 3,...) Of data constituting the secondary image is defined by a start point A and an end point B in a second XY coordinate, and the secondary image. The (N + 1) th line segment is defined by a start point B and an end point C in the second XY coordinates,
Between the points ABC of the data constituting the secondary image, the added value of the line segments AB and BC is equal to or less than a threshold value L as a criterion for performing the correction process, and the point B and the midpoint M of the line segment AC When the distance H is between the upper limit value Lmax smaller than the threshold value L and larger than the intermediate value Lmid and the intermediate value Lmid, a replacement point R between the point B and the point M is calculated, and the point B Is replaced with a replacement point R, and instead of the line segments AB and BC, line segments AR and RC are used as line segments of the output image.
[0014]
Further, the invention according to claim 3 of the present application uses, as the second XY coordinates, data constituting a primary image formed by connecting a number of line segments having start points and end points determined based on the first XY coordinates. An image correction processing program for correcting data constituting the secondary image in order to convert the data constituting the secondary image based on the data and smoothing the output image output from the output device,
An Nth line segment (N is an integer aligned with 1, 2, 3,...) Of data constituting the secondary image is defined by a start point A and an end point B in a second XY coordinate, and the secondary image. The (N + 1) -th line segment of the data constituting is defined by the start point B and the end point C in the second XY coordinates,
Between the points ABC of the secondary image, the added value of the line segments AB and BC is equal to or less than a threshold value L as a criterion for performing correction processing, and the distance H between the point B and the midpoint M of the line segment AC is When it is equal to or less than the intermediate value Lmid smaller than the threshold, the point B is omitted, and the line segment AC is output as the line segment of the output image instead of the line segments AB and BC,
When the distance H is between the upper limit value Lmax smaller than the threshold value L and greater than the intermediate value Lmid and the intermediate value Lmid, a replacement point R between the point B and the point M is calculated, and the point The image correction processing program is characterized in that B is replaced with a replacement point R, and the line segments AR and RC are used as the line segments of the output image instead of the line segments AB and BC.
[0015]
A fourth aspect of the present invention is the image correction processing program according to any one of the first to third aspects, wherein the resolution of the second XY coordinate is higher than the resolution of the first XY coordinate. Is an image correction processing program.
[0016]
The invention of claim 5 of the present application is provided with the image correction processing program of any one of claims 1 to 4 so that the output device drives image data drawn by a graphic processing program of a personal computer. A driver program to output,
An image data drawn by the graphic processing program is converted by the image correction processing program, and the output device is driven and controlled based on the converted correction data.
[0017]
The invention according to claim 6 of the present application stores any one of the image correction processing program according to any one of claims 1 to 4 or the driver program according to claim 5. It is a device.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image correction processing program and a cutting machine as an output apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0019]
FIG. 4 shows a connection state between the cutting machine 1 and the personal computer 2. A cutting machine 1 is connected to the personal computer 2 via a communication cable 3.
[0020]
The cutting machine 1 has a roll cassette (not shown) for supplying a plastic color sheet having a wide tape shape and wound in a roll shape, and sends the color sheet fed from the roll cassette in the longitudinal direction thereof. A platen roller 4, a cutter 5 provided with a cutter that can contact / separate the platen roller 4 at the tip, a cutter support member 6 that swings in the vertical direction so that the cutter 5 contacts / separates the platen roller 4, A slider member 7 for moving the cutter support member 6 in a direction parallel to the rotation axis of the platen roller 4 is provided.
[0021]
The color sheet has an adhesive layer and is bonded onto release paper. On both sides of the release paper, a large number of sprocket holes for passing the feeding claws are formed at a constant pitch. A number of feed claws for passing through the sprocket holes of the release paper are formed on both sides of the platen roller 4. The platen roller 4 can be rotated in forward and reverse directions by a platen driving motor 8 and a gear mechanism. The slider member 7 includes a nut portion that is screwed into a screw shaft 9 extending in parallel with the rotation axis of the platen roller 4. The platen roller is rotated by rotating the screw shaft 9 in the forward and reverse directions by a motor 10 and a gear mechanism. 4 is movable to the left and right along the rotation axis.
[0022]
The cutter support member 6 is swingably held by a slider member 7 so as to be able to approach and separate from the platen roller 4, and the slider member 7 includes an electromagnetic solenoid 11. The cutter support member 6 swings due to the expansion and contraction of the electromagnetic solenoid 11. The cutter support member 6 holds the shaft portion of the cutter 5 so as to be rotatable in the direction around the axis. The tip of the cutter 5 is formed in a triangular shape like a cutting knife, and the cutting edge rotates in accordance with the movement of the slider member 7 and the platen roller 4.
[0023]
The platen roller driving motor 8, the screw shaft driving motor 10 and the electromagnetic solenoid 11 are connected to the power supply circuit of the cutting machine 1 and the microcomputer 12 via an interface circuit.
[0024]
The microcomputer 12 of the cutting machine 1 includes a ROM and a RAM that holds image data from the personal computer 2 and a processor. In the ROM, a control program 20 and a command analysis program 21 for controlling the cutting machine 1 are stored.
[0025]
The command analysis program 21 analyzes commands from the driver program 24 of the personal computer 2 and generates cutting control data.
[0026]
The control program 20 of the cutting machine 1 drives the motors 8 and 10 and the electromagnetic solenoid 11 of the cutting machine 1 based on the control data of the command analysis program 21.
[0027]
In addition, even if data from the personal computer 2 is not transmitted to the ROM, data such as a character image necessary for displaying, setting, and changing the state of the cutting machine 3 itself, and other control are necessary. Data and programs are stored.
[0028]
The personal computer 2 has an operating system program 22, a graphic editing program 23 for creating and editing a primary image, and a driver program 24 for the cutting machine 1. In order to cut out the color sheet by the cutting machine 1, the graphic editing program 23 can form a contour of an image by connecting small line segments by, for example, continuous straight lines.
[0029]
The contour image drawn by the graphic editing program 23 becomes primary image data to be output to the aforementioned output device. This primary image data is configured as a collection of line segments, and the positions of the start point and end point of the line segment data are determined based on the first XY coordinates provided in the graphic editing program.
[0030]
The first XY coordinates and the second XY coordinates described later are set in order to determine the values of the start and end points of line segment data constituting the primary image data in the X-axis and Y-axis directions.
[0031]
A driver program 24 for controlling the driving of the cutting machine 1 is stored in the personal computer 2 so that detailed instructions can be given to the driver program 24 on the personal computer 2 side.
[0032]
The driver program 24 can set a second XY coordinate for smoothing the primary image data edited by the graphic editing program 23. The second XY coordinates are for converting the primary image data expressed by the first XY coordinates to the highest resolution in terms of the performance of the cutting machine 1.
[0033]
The driver program 24 converts the primary image data expressed by the first XY coordinates into the second XY coordinates before outputting the primary image data to the cutting machine.
[0034]
The driver program 24 has a line segment correction program 25 that smoothly corrects the contour of the converted secondary image data.
[0035]
The corrected image data corrected by the line segment correction program 25 is transmitted to the command analysis program 21 of the cutting machine 1.
[0036]
The image correction for the line segment correction program 25 to smooth the secondary image data includes a method of omitting consecutive points between consecutive line segments and a method of using a replacement point instead of the point. These image corrections are performed in combination in this embodiment, but either one may be performed.
[0037]
Next, this image correction process will be described with reference to the flowchart of FIG. The image correction processing includes the above-described secondary image data line segment AB (Nth line segment, where N is an integer aligned with 1, 2, 3,...) And line segment BC (N + 1th line segment). ). The data of each point constituting these continuous lines is represented by the second XY coordinates as shown in FIG.
[0038]
First, a point ABC to be corrected is extracted between the start point A, the passing point B (or the end point B), and the point C of the secondary image data (step 1). This point ABC is a point that constitutes two continuous line segments so as to form a continuous straight line.
[0039]
Next, the lengths of the line segments AB and BC are calculated for the extracted point ABC (steps 2 and 3).
[0040]
In step 4, the added value of the line segments AB and BC is compared with the threshold value L. This threshold value L is preset in the driver program according to the characteristics of the cutting machine 1 as an output device. For example, when the line segment AB or BC has a long straight line, or when either the line segment AB or the line segment BC draws a straight line, the determination in step 5 is performed without performing this image correction. This is for cutting on the street.
[0041]
If it is determined in step 4 that the added value of the line segments AB and BC is equal to or greater than the threshold value L (in the case of NO: see FIG. 2 (2) (a)), the passing point B is not corrected. Leave as it is. Here, in the flowchart, line segment AB + line segment BC ≦ threshold L is set, but line segment AB + line segment BC <threshold L may be set.
[0042]
If it is determined in step 4 that the added value is less than or less than the threshold value L (in the case of YES: see FIGS. 2 (2) and 2 (a)), the process proceeds to step 5 to perform image correction processing. Then, the midpoint M is calculated for the line segment AC, and the distance H between the passing point B and the midpoint M is calculated (step 6).
[0043]
In the next step 7, it is determined whether or not the distance H between the point B and the midpoint M of the line segment AC is located between the lower limit Lmin, the intermediate value Lmid, and the upper limit Lmax.
[0044]
Here, the lower limit value Lmin ≦ the separation distance H ≦ the upper limit value Lmax may be the lower limit value Lmin <the separation distance H <the upper limit value Lmax.
[0045]
If it is determined in step 7 that the separation distance H is not within this range (NO in step 7), no correction is made (see FIGS. 2 (2) and 2 (b)).
[0046]
If it is determined in step 7 that the separation distance H is within this range (YES in step 7), the process proceeds to step 8 to determine whether or not the separation distance H is equal to or greater than the intermediate value Lmid. . If the determination in step 8 is NO, the method of omitting step 9 is used and the passing point B is omitted (see FIGS. 2 (2) and 2 (b)).
[0047]
If the determination in step 8 is YES, a replacement point R that is the midpoint between the passing point B and the midpoint M is calculated (step 10), and a replacement method is used. In the replacement method, the passing point B is replaced with the replacement point R (step 11: (see FIGS. 2 (2) and 2 (b)).
[0048]
In the method of omitting step 9, in the data representing the start point and end point of the line segment in FIG. 3, for example, when the passing point B is omitted, the XY coordinate position of the passing point B is rewritten to the coordinate position of the point A. Process. Specifically, when processing is performed where point B is omitted when points A, B, and C are present, the output result is an apparent line segment AC, but the points A, A, and C are represented on the data. It becomes a connecting line.
[0049]
As a result, it is only necessary to repeat the basics of the above extraction method as it is without performing any special processing, thereby speeding up the processing.
[0050]
Through such processing steps, it is determined whether or not the processing is finished (step 12). If there are no remaining points (YES), the processing is finished. If there are remaining points (NO), the processing returns to the beginning of step 1. .
[0051]
The above lower limit value Lmin, intermediate value Lmid, and upper limit value Lmax are parameters that can be set and changed depending on the control accuracy or resolution of the cutting machine 1, but may be appropriately calculated and set by a program according to the offset amount described later. May be.
[0052]
The lower limit value Lmin, the upper limit value Lmax, and the intermediate value Lmid are determined from the viewpoint of improving the accuracy of the machine operation for accurate cutting and the appearance of the output image such as the design.
[0053]
That is, as shown in FIG. 6, the cutting edge of the cutter is such that the rotation center line portion c precedes the rotation center portion Tc of the cutter 5 and the blade edge rear end portion Cp contacting the sheet P or the like, and the blade edge rear end portion Cp is An offset amount Os is provided so as to follow.
[0054]
Therefore, in the case of a cutout of a pattern or the like, the cutout pattern that follows the center of rotation tends to meander when the line segment is bent even though the cutout line segment of the pattern is short, and the cutout pattern follows. As shown in FIG. 5 (1).
[0055]
In particular, if vibration of a line segment occurs in a curved part, the curved part becomes unsmooth, or if there are corners at short intervals, unnecessary blade movements occur continuously, resulting in jagged edges in the cut-out pattern. In the cutting machine that uses a fine cutter, the cutting edge of the cutter becomes sharply consumed when the sharp jagged curve as described above is cut. Cause the cutter to be damaged.
[0056]
In the image correction processing program of this embodiment, in order to eliminate such meandering and vibration of the cutting portion of the cutter, the length of the line segment constituting the pattern is set to be long to some extent, and smoothness is obtained. In order to facilitate the direction control of the blade based on the offset amount Os between the rotation center portion Tc of the cutter and the trailing edge portion Cp of the cutter, the hardness of the paper to be cut, and the resistance of the adhesive, a threshold value L, a lower limit value Lmin, An upper limit value Lmax and an intermediate value Lmid are set.
[0057]
The threshold value L is set to approximately twice the moving distance corresponding to the minimum value of the continuous steps at which no trouble occurs even if the stepping motors 8 and 10 of the cutting machine 1 repeatedly accelerate and decelerate, and the cutter 5 is the smoothest. This is the minimum length that can cut the sheet P. As an example, it has been found that the line segment AB = 0.7 to 0.8 mm is the minimum length that can be cut most smoothly in terms of the characteristics and settings of the machine such as the stepping motors 8 and 10.
[0058]
The lower limit value Lmin is a numerical value equal to or greater than 0, is an arbitrary value between the minimum operating distances of the cutting machine 1, and is 2 which is the minimum operating distance (usually 0, 025 mm) by the stepping motors 8 and 10 of the cutting machine 1. Double.
[0059]
The intermediate value Lmid is substantially equal to the offset amount Os. The offset amount Os varies depending on the cutting depth of the blade of the cutter 5, and is set to 0.25 mm as an example of an initial set value, but is not limited thereto.
[0060]
The upper limit value Lmax is approximately twice the offset amount Os.
[0061]
When the point B in the line segment connecting the points A, B, and C is omitted in the method of omitting the step 9, in the next stage, the point D next to the point C is between the points B, C, and D. Instead, the correction is continuously determined between points A, C, and D.
[0062]
Further, when the point B in the points A, B, and C is replaced with the point R in the replacement method in the step 11, in the next stage, the point D next to the point C is between the points B, C, and D. Instead, the correction is continuously determined between the points R, C, and D.
[0063]
When the secondary image data is corrected in this way, correction data as shown in FIG. 3 is generated. The command analysis program 21 generates control data based on the correction data transmitted by the line segment correction program 25, and the control program 20 controls motor drive and head up / down based on the control data.
[0064]
In the above image correction processing program, the replacement point R does not necessarily have to be a midpoint connecting the point B and the point M, and several steps are set for the distance between the point R and the point M, and Accordingly, a new replacement point R may be set.
[0065]
As described above, according to the image correction processing program of this embodiment, when the image data is reproduced using the highest resolution of the cutting machine, the amount of original image data is large and two continuous straight lines are generated. A smooth image can be displayed while avoiding unstable operation of the motor or cutter caused by the short length, and when cutting a cut sheet or displaying a line image with a cutting machine or plotter device, FIG. As shown in 2), a smooth cut sheet or line image can be obtained.
[0066]
In addition, by using the above-described image correction processing program, unnecessary movement of the cutter is eliminated as a result, and early wear and damage at the cutter edge can be suppressed.
[0067]
Furthermore, by performing the above correction, for example, even if the personal computer 2 performs a process of 254 dpi resolution using a 16-bit table, the cutting process result of the cutting machine 1 is apparently 32 without changing the number of data. It is possible to obtain the same result as processed by the bit table and output at a resolution of 1016 dpi.
[0068]
When the cutting machine is used as an output device, the arithmetic processing method can be processed by four arithmetic operations, so that it is possible to obtain a sufficient speed for processing by a microcomputer that is currently on the market. No numerical operation processing circuit is required.
[0069]
The image correction processing program of the above embodiment may be stored as a part of a driver program in a storage device on the personal computer side, or stored in a microcomputer storage device of an output device such as a cutting machine or a plotter device. You may do it.
[0070]
Furthermore, the driver program including the above-described image correction processing program may be stored on the output device side, or may be stored in an external storage device such as an FDD, an optical disc, or a flash memory.
[0071]
【The invention's effect】
As described above, according to the image correction processing program, the driver program, and the output device of claims 1 to 6 of the present application, when image data is reproduced by the output device, a smooth image can be displayed. When a cut sheet is cut out or a line image is displayed by a cutting machine or a plotter device, a smooth cut sheet or line image can be obtained.
[0072]
Further, when a cutting machine or a plotter device is used as an output device, after determining whether or not to correct the distance between three consecutive points by comparing with a threshold value L, an omission or replacement calculation process is performed. In addition, since this arithmetic processing method can be processed by four arithmetic operations, a sufficient speed can be obtained for processing by a microcomputer that is currently commercially available, and an advanced numerical arithmetic processing circuit is not required.
[0073]
Furthermore, since the memory capacity of high-resolution image data is large, in order to correct high-resolution image data sent to a printer, cutting machine, or plotter device, a large-capacity memory is usually required. According to such an image correction processing program, since an increase in memory can be suppressed, an economical small-capacity memory can be mounted, cost reduction can be promoted, and blade consumption can be reduced.
[0074]
Further, according to the image correction processing program and the driver program and the output device of the present invention, for example, when the input data is not low resolution and originally dirty at the highest resolution in the output device such as a cutting machine, That is, even in the case of jagged line segment data that vibrates with a small amplitude at short intervals, the line segment can be made smooth.
[Brief description of the drawings]
FIG. 1 is a flowchart of an image correction processing program according to an embodiment of the present invention.
2A is a conceptual diagram when correction is performed by the image correction processing program according to FIG. 1. FIG. 2B is an addition value of two line segments, a threshold value, a comparison process, and a distance H and an upper limit value. Explanatory drawing of the comparison process of an intermediate value and a lower limit.
3 is a conceptual diagram of data processed by the image correction processing program of FIG. 1. FIG.
FIG. 4 is a schematic diagram showing a connection relationship between a personal computer and a cutting machine.
FIGS. 5A and 5B are an example of output to a cutting machine without correction and a partial enlarged view thereof, and FIG. 5B is an example of correction performed by the program of the present embodiment and output to the cutting machine and a partial enlarged view thereof. Figure.
FIG. 6 is an enlarged view showing the offset amount of the cutter.
[Explanation of symbols]
1 Cutting machine (output device)
2 Personal computer
3 Cable
4 Platen roller
5 Cutter
6 Cutter support member
7 Slider member
20 Control program
21 Command analysis program
23 Graphic processing application program
24 Driver program
25 Line segment correction program

Claims (4)

第1のXY座標に基づいて始点と終点を定められた線分を多数連結して構成される一次画像を構成するデータを、出力装置の備える第2のXY座標に基づく二次画像を構成するデータに変換し、前記出力装置から出力する出力画像を滑らかにするために、前記二次画像を構成するデータを補正する画像補正処理プログラムであって、
前記二次画像を構成するデータのN番目(Nは1、2、3・・・と並ぶ整数)の線分は第2のXY座標において始点Aと終点Bとによって定められ、前記二次画像を構成するデータのN+1番目の線分は第2のXY座標において始点Bと終点Cとによって定められ、
前記二次画像を構成するデータの点ABC間において、線分AB、BCの加算値が補正処理を行う判断基準としての閾値L以下であって、点Bと線分ACの中点Mとの距離Hが、前記閾値より小さい中間値Lmid以下である場合に、点Bを省略して、前記線分AB、BCの代わりに線分ACを出力画像の線分として出力し、
前記距離Hが、前記閾値Lより小さく前記中間値Lmidより大きい上限値Lmaxと前記中間値Lmidの間にある場合には、点Bと点Mの間の置換点Rを算出して、前記点Bを置換点Rに置換し、前記線分AB、BCの代わりに線分AR、RCを出力画像の線分とすることを特徴とする画像補正処理プログラム。
The secondary image based on the second XY coordinates provided in the output device is constituted by data constituting the primary image constituted by connecting a number of line segments whose start points and end points are determined based on the first XY coordinates. An image correction processing program for correcting data constituting the secondary image in order to convert the data into data and to output an output image output from the output device,
An Nth line segment (N is an integer aligned with 1, 2, 3,...) Of data constituting the secondary image is defined by a start point A and an end point B in a second XY coordinate, and the secondary image. The (N + 1) -th line segment of the data constituting is defined by the start point B and the end point C in the second XY coordinates,
Between the points ABC of the data constituting the secondary image, the added value of the line segments AB and BC is equal to or less than a threshold value L as a criterion for performing the correction process, and the point B and the midpoint M of the line segment AC When the distance H is equal to or smaller than the intermediate value Lmid smaller than the threshold value, the point B is omitted, and the line segment AC is output as the line segment of the output image instead of the line segments AB and BC.
When the distance H is between the upper limit value Lmax smaller than the threshold value L and greater than the intermediate value Lmid and the intermediate value Lmid, a replacement point R between the point B and the point M is calculated, and the point An image correction processing program , wherein B is replaced with a replacement point R, and line segments AR and RC are used as line segments of an output image instead of the line segments AB and BC .
請求項1の画像補正処理プログラムであって、
前記第2のXY座標の解像度が前記第1のXY座標の解像度より高いことを特徴とする画像補正処理プログラム。
An image correction processing program according to claim 1,
An image correction processing program, wherein the resolution of the second XY coordinate is higher than the resolution of the first XY coordinate .
請求項1または請求項2に記載の画像補正処理プログラムを備えており、パーソナルコンピュータの図形処理プログラムにより描かれた画像データを前記出力装置が駆動するように出力するドライバープログラムであって、
前記図形処理プログラムにて描かれた画像データを前記画像補正処理プログラムにより変換し、変換した補正データに基づいて前記出力装置を駆動制御するとを特徴とするドライバープログラム。
A driver program comprising the image correction processing program according to claim 1 or 2 and outputting image data drawn by a graphic processing program of a personal computer so that the output device drives,
The converted image data drawn by the graphic processing program by the image correction processing program, a driver program characterized and this for driving and controlling the output device based on the converted correction data.
請求項1または請求項2に記載の画像補正処理プログラム、若しくは、請求項3のドライバープログラム、のうちのいずれか1つを記憶していることを特徴とする出力装置。3. An output device, wherein one of the image correction processing program according to claim 1 or claim 2 or the driver program according to claim 3 is stored.
JP2001302286A 2001-09-28 2001-09-28 Image correction processing program, driver program, and output device Expired - Fee Related JP4788093B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001302286A JP4788093B2 (en) 2001-09-28 2001-09-28 Image correction processing program, driver program, and output device
TW92101008A TW200414079A (en) 2001-09-28 2003-01-17 Image correction processing program, driver program, image output device, cutting system, and cutting machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001302286A JP4788093B2 (en) 2001-09-28 2001-09-28 Image correction processing program, driver program, and output device

Publications (2)

Publication Number Publication Date
JP2003109000A JP2003109000A (en) 2003-04-11
JP4788093B2 true JP4788093B2 (en) 2011-10-05

Family

ID=19122553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001302286A Expired - Fee Related JP4788093B2 (en) 2001-09-28 2001-09-28 Image correction processing program, driver program, and output device

Country Status (2)

Country Link
JP (1) JP4788093B2 (en)
TW (1) TW200414079A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5499727B2 (en) * 2010-01-19 2014-05-21 カシオ計算機株式会社 Image processing apparatus, image processing method, image processing program, and seal manufacturing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143725A (en) * 1991-11-21 1993-06-11 Toppan Printing Co Ltd Clipping device
JPH06155382A (en) * 1992-11-13 1994-06-03 Roland D G Kk Cutting plotter
JP3459155B2 (en) * 1996-07-29 2003-10-20 ローランドディー.ジー.株式会社 Compression processing method of machining shape data in shape machining system
JP2000222589A (en) * 1999-01-29 2000-08-11 Roland Dg Corp Method and apparatus for compressing two-dimensional contour shape data

Also Published As

Publication number Publication date
TW200414079A (en) 2004-08-01
JP2003109000A (en) 2003-04-11

Similar Documents

Publication Publication Date Title
US4437150A (en) Tool manipulating method and apparatus for multiple job processing
EP0276027B1 (en) Apparatus for cutting sheet material
US10442105B2 (en) Cutting line positioning apparatus and method that reduce breakage during sheet cutting
JP4788093B2 (en) Image correction processing program, driver program, and output device
JP4208024B2 (en) Printing apparatus, printing system, and printing method
WO2004063986A1 (en) Image correction program, driver program, image output device, cutting system, and cutting machine
JP3985565B2 (en) Printing apparatus, printing system, and printing method
JP3034368B2 (en) Cutting method for cutter plotter
JP3498160B2 (en) Sheet cutting method in cutting plotter
JPH06155383A (en) Cutting pattern forming method in cutting plotter
JP2761288B2 (en) Cutting correction method in cutting plotter
JP4208023B2 (en) Printing apparatus, printing system, and printing method
JP3932093B2 (en) Printer and control method thereof
JP2009233884A (en) Printing data preparing apparatus and printing data preparing program
WO2016208341A1 (en) Cutting data preparing device, cutting data preparing method, and cutting data preparing program
JP2588981Y2 (en) Cutting plotter
JPH0557680A (en) Connected line segment cut processing method in cutting plotter
JPH08309953A (en) Stamp engraving system
JPS62263081A (en) printing device
JP5524004B2 (en) Cutting data generation program, cutting plotter, cutting system, and cutting method
JP2006167898A (en) Cutting device
JPH0825084B2 (en) Seal stamping device
JPH0557679A (en) Cutting method for connecting line segment in cutting plotter
JPH0742683U (en) Cutting plotter
JP3877786B2 (en) Paper-driven XY plotter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110513

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110704

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140729

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4788093

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees