JP6174190B2 - Image forming apparatus, image output program, and image output method - Google Patents
Image forming apparatus, image output program, and image output method Download PDFInfo
- Publication number
- JP6174190B2 JP6174190B2 JP2016089491A JP2016089491A JP6174190B2 JP 6174190 B2 JP6174190 B2 JP 6174190B2 JP 2016089491 A JP2016089491 A JP 2016089491A JP 2016089491 A JP2016089491 A JP 2016089491A JP 6174190 B2 JP6174190 B2 JP 6174190B2
- Authority
- JP
- Japan
- Prior art keywords
- halftone dot
- image
- circle
- halftone
- point
- 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
Images
Landscapes
- Color, Gradation (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、網点画像に網点を追加する画像形成装置、画像出力プログラムおよび画像出力方法に関する。 The present invention relates to an image forming apparatus for adding a halftone dot to a halftone dot image, an image output program, and an image output method.
従来、網目スクリーン、万線スクリーンなどのスクリーンを用いて、画像を、階調表現された網点の周期的な配列で構成された網点画像に変換するスクリーニングが知られている。適切なスクリーニングが実行されるために、スクリーニングにおいては、変換前の画像の属性に応じて、スクリーンにおける網目の形状(スクリーンパターン)や、スクリーン線幅、スクリーン角度などの各種のパラメータが設定される。 2. Description of the Related Art Conventionally, screening using a screen such as a halftone screen or a line screen is known that converts an image into a halftone dot image composed of a periodic arrangement of halftone dots represented by gradation. In order to perform appropriate screening, various parameters such as the mesh shape (screen pattern), screen line width, and screen angle are set according to the attributes of the image before conversion. .
薄い濃度の文字や細線に対してスクリーニングが実行されると、網点同士の間隔が広くなるので、文字や細線の縁の部分に網点画像において網点が配置されない箇所が生じて、文字や細線に白抜けや途切れが発生しているように見えることがある。 When screening is performed on lightly-concentrated characters and fine lines, the distance between the halftone dots is widened, resulting in a portion where no halftone dots are arranged in the halftone dot image at the edges of the characters and fine lines. It may appear that white lines or discontinuities occur in the thin lines.
そこで、従来、文字や線の縁の部分を検出して、文字や線の属性に応じて、成長方法の異なる複数の閾値マトリックスの中から1つを選択して出力する方法が知られている(例えば、特許文献1参照。)。 Therefore, conventionally, there is known a method of detecting the edge portion of a character or line, selecting one of a plurality of threshold matrices having different growth methods according to the character or line attribute, and outputting the selected one. (For example, refer to Patent Document 1).
しかしながら、従来の方法においては、複数の閾値マトリックスを用意する必要があるので、閾値マトリックスのために多くの記憶容量が必要であるという問題がある。 However, in the conventional method, since it is necessary to prepare a plurality of threshold matrixes, there is a problem that a large storage capacity is required for the threshold matrixes.
そこで、本発明は、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる画像形成装置、画像出力プログラムおよび画像出力方法を提供することを目的とする。 Therefore, the present invention provides an image forming apparatus, an image output program, and an image output method capable of suppressing the occurrence of white spots and breaks in the edge portion of an image even when there is little information to be stored in advance. With the goal.
本発明の画像形成装置は、網点画像に網点を追加する網点追加装置であって、前記網点画像の前記網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得手段と、前記空円情報取得手段によって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加手段とを備えることを特徴とする。 An image forming apparatus according to the present invention is a halftone dot adding device for adding a halftone dot to a halftone dot image, the Voronoi diagram having a generating point corresponding to the halftone dot of the halftone dot image, centering on the Voronoi point An empty circle information acquisition unit that acquires a radius of an empty circle that passes through the generating point and does not include the generating point inside, and an object circle that is the empty circle of the target acquired by the empty circle information acquiring unit Halftone dot adding means for adding the halftone dot corresponding to the new mother point to the halftone image by adding the new mother point inside the target circle when the radius is larger than a specific value; It is characterized by providing.
この構成により、本発明の画像形成装置は、網点画像の網点に対応する母点を備えているボロノイ図において対象の空円である対象円の半径が特定の値より大きい場合に、対象円の内側に新たな母点を追加することによって新たな母点に対応する網点を網点画像に追加するので、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる。 With this configuration, the image forming apparatus according to the present invention allows the object circle when the radius of the object circle, which is the object empty circle, is larger than a specific value in the Voronoi diagram including the generating point corresponding to the halftone dot of the halftone image. Since a halftone dot corresponding to the new mother point is added to the halftone image by adding a new mother point inside the circle, even if there is little information to be stored in advance, the white area at the edge of the image Occurrence of disconnection and interruption can be suppressed.
また、本発明の画像形成装置において、前記網点追加手段は、前記対象円の中心の位置と、前記対象円が通る前記母点については2つの前記母点のみを通る前記空円である隣接円の中心の位置とに基づいて前記新たな母点の位置を決定しても良い。 In the image forming apparatus according to the aspect of the invention, the halftone dot adding unit may include a position of the center of the target circle and the empty circle that passes through only the two mother points with respect to the mother point through which the target circle passes. The position of the new generating point may be determined based on the position of the center of the circle.
この構成により、本発明の画像形成装置は、対象円の中心の位置と、対象円が通る母点については2つの母点のみを通る空円である隣接円の中心の位置とに基づいて新たな母点の位置を決定するので、周囲の網点の位置に応じた適切な位置に新たな網点を追加することができる。 With this configuration, the image forming apparatus according to the present invention is newly based on the position of the center of the target circle and the position of the center of the adjacent circle that is an empty circle that passes through only two generating points for the generating point that the target circle passes. Therefore, a new halftone dot can be added at an appropriate position according to the positions of the surrounding halftone dots.
また、本発明の画像形成装置において、前記網点追加手段は、前記対象円の中心の位置と、2つの前記隣接円の中心の位置とに基づいて前記新たな母点の位置を決定しても良い。 In the image forming apparatus according to the aspect of the invention, the halftone dot adding unit may determine the position of the new base point based on the center position of the target circle and the center positions of the two adjacent circles. Also good.
この構成により、本発明の画像形成装置は、対象円の中心の位置と、2つの隣接円の中心の位置とに基づいて新たな母点の位置を決定するので、周囲の網点の位置に応じた更に適切な位置に新たな網点を追加することができる。 With this configuration, the image forming apparatus of the present invention determines the position of a new base point based on the position of the center of the target circle and the positions of the centers of two adjacent circles. A new halftone dot can be added at a more appropriate position.
また、本発明の画像形成装置において、前記網点追加手段は、前記対象円の半径と、前記隣接円の半径とにも基づいて前記新たな母点の位置を決定しても良い。 In the image forming apparatus of the present invention, the halftone dot adding unit may determine the position of the new base point based on the radius of the target circle and the radius of the adjacent circle.
この構成により、本発明の画像形成装置は、対象円の中心の位置と、隣接円の中心の位置とだけでなく、対象円の半径と、隣接円の半径とにも基づいて新たな母点の位置を決定するので、周囲の網点の位置に応じた更に適切な位置に新たな網点を追加することができる。 With this configuration, the image forming apparatus according to the present invention has a new base point based on not only the center position of the target circle and the center position of the adjacent circle but also the radius of the target circle and the radius of the adjacent circle. Therefore, a new halftone dot can be added at a more appropriate position according to the positions of the surrounding halftone dots.
本発明の画像出力プログラムは、網点画像に網点を追加する網点追加プログラムであって、前記網点画像の前記網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得手段、および、前記空円情報取得手段によって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加手段としてコンピューターを機能させることを特徴とする。 An image output program according to the present invention is a halftone dot addition program for adding a halftone dot to a halftone dot image, the Voronoi point being a center in a Voronoi diagram having a generating point corresponding to the halftone dot of the halftone dot image. An empty circle information acquisition unit that acquires a radius of an empty circle that is a circle that passes through the generating point and does not include the generating point inside, and an object circle that is the empty circle of the object acquired by the empty circle information acquisition unit As a halftone dot adding means for adding the halftone dot corresponding to the new mother point to the halftone image by adding the new mother point inside the target circle when the radius of is larger than a specific value It is characterized by functioning a computer.
この構成により、本発明の画像出力プログラムは、網点画像の網点に対応する母点を備えているボロノイ図において対象の空円である対象円の半径が特定の値より大きい場合に、対象円の内側に新たな母点を追加することによって新たな母点に対応する網点を網点画像に追加するので、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる。 With this configuration, the image output program of the present invention allows the target circle when the radius of the target circle, which is the target empty circle, is larger than a specific value in the Voronoi diagram including the generating points corresponding to the halftone dots of the halftone image. Since a halftone dot corresponding to the new mother point is added to the halftone image by adding a new mother point inside the circle, even if there is little information to be stored in advance, the white area at the edge of the image Occurrence of disconnection and interruption can be suppressed.
本発明の画像出力方法は、網点画像に網点を追加する網点追加方法であって、前記網点画像の前記網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得ステップと、前記空円情報取得ステップによって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加ステップとを備えることを特徴とする。 The image output method of the present invention is a halftone dot adding method for adding a halftone dot to a halftone dot image, the Voronoi diagram having a generating point corresponding to the halftone dot of the halftone dot image, centering on the Voronoi point An empty circle information acquisition step of acquiring a radius of an empty circle that is a circle that passes through the generating point and does not include the generating point inside, and an object circle that is the empty circle of the object acquired by the empty circle information acquiring step A halftone dot adding step of adding the halftone dot corresponding to the new mother point to the halftone dot image by adding the new mother point inside the target circle when the radius is larger than a specific value; It is characterized by providing.
この構成により、本発明の画像出力方法は、網点画像の網点に対応する母点を備えているボロノイ図において対象の空円である対象円の半径が特定の値より大きい場合に、対象円の内側に新たな母点を追加することによって新たな母点に対応する網点を網点画像に追加するので、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる。 With this configuration, the image output method of the present invention enables the target object when the radius of the target circle, which is a target empty circle, is larger than a specific value in the Voronoi diagram including the generating points corresponding to the halftone dots of the halftone image. Since a halftone dot corresponding to the new mother point is added to the halftone image by adding a new mother point inside the circle, even if there is little information to be stored in advance, the white area at the edge of the image Occurrence of disconnection and interruption can be suppressed.
本発明の画像形成装置、画像出力プログラムおよび画像出力方法は、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる。 The image forming apparatus, the image output program, and the image output method of the present invention can suppress the occurrence of white spots or breaks in the edge portion of the image even if the information stored in advance is small.
以下、本発明の一実施の形態について、図面を用いて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
まず、本実施の形態に係る画像形成装置としてのMFP(Multifunction Peripheral)の構成について説明する。 First, the configuration of an MFP (Multifunction Peripheral) as an image forming apparatus according to the present embodiment will be described.
図1は、本実施の形態に係るMFP10の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of
図1に示すように、MFP10は、利用者による種々の操作が入力されるボタンなどの入力デバイスである操作部11と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、原稿から画像を読み取る読取デバイスであるスキャナー13と、用紙などの記録媒体に印刷を実行する印刷デバイスであるプリンター14と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部15と、LAN(Local Area Network)、インターネットなどのネットワーク経由で外部の装置と通信を行うネットワーク通信デバイスであるネットワーク通信部16と、EEPROM(Electrically Erasable Programmable Read Only Memory)、HDD(Hard Disk Drive)などの記憶デバイスである記憶部17と、MFP10全体を制御する制御部18とを備えている。
As shown in FIG. 1, the
記憶部17は、制御部18によって実行される画像出力プログラムとしての網点追加プログラム17aを記憶している。網点追加プログラム17aは、MFP10の製造段階でMFP10にインストールされていても良いし、SDカード、USB(Universal Serial Bus)メモリーなどの記憶媒体からMFP10に追加でインストールされても良いし、ネットワーク上からMFP10に追加でインストールされても良い。
The storage unit 17 stores a halftone
制御部18は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。CPUは、ROMまたは記憶部17に記憶されているプログラムを実行するようになっている。 The control unit 18 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) storing programs and various data, and a RAM (Random Access Memory) used as a work area of the CPU. Yes. The CPU executes a program stored in the ROM or the storage unit 17.
制御部18は、記憶部17に記憶されている網点追加プログラム17aを実行することによって、ボロノイ図において後述の空円の半径を取得する空円情報取得手段18a、および、網点画像に網点を追加する網点追加手段18bとして機能する。
The control unit 18 executes a halftone
なお、ボロノイ図とは、空間中に存在する各母点から最も近い空間を線や面などの超平面で区切った図である。つまり、ボロノイ図は、距離空間内の有限部分集合P={p1,p2,・・・,pn}に対するボロノイ領域{V(p1),V(p2),・・・,V(pn)}の集合と定義することができる。ここで、ボロノイ領域とは、距離関数dに対して次の数1で構成される領域V(pi)のことである。なお、数1に示す式において、d(p,pi)は、点pと、点piとの距離であり、d(p,pj)は、点pと、点pjとの距離である。
また、空円とは、内側に母点を含まない円である。ここで、ボロノイ図の性質には、互いに近接する複数の母点から等距離の位置にボロノイ点が存在するという性質がある。したがって、ボロノイ点を中心として複数の母点を通る空円が存在する。 An empty circle is a circle that does not include a generating point inside. Here, the property of the Voronoi diagram is that a Voronoi point exists at a position equidistant from a plurality of generating points close to each other. Therefore, there is an empty circle that passes through a plurality of generating points around the Voronoi point.
図2は、MFP10によって生成されるボロノイ図30の一例を示す図である。
FIG. 2 is a diagram illustrating an example of the Voronoi diagram 30 generated by the
図2に示すように、ボロノイ図30においては、網点画像の網点の中心が母点31である。母点31がそれぞれ含まれるボロノイ領域32は、ボロノイ辺33によって区切られている。ボロノイ辺33同士の交点は、ボロノイ点34と呼ばれている。
As shown in FIG. 2, in the Voronoi diagram 30, the center of the halftone dot of the halftone image is the
次に、MFP10の動作について説明する。
Next, the operation of the
MFP10の制御部18は、画像データに基づいた画像の出力が指示されると、網点追加プログラム17aを実行して図3に示すように動作する。なお、画像データは、例えば、スキャナー13によって原稿から画像が読み取られることによって入力されたり、ファックス通信部15によって画像がFAX受信されることによって入力されたり、ネットワーク通信部16によって印刷データが受信されることによって入力されることができる。
When instructed to output an image based on the image data, the control unit 18 of the
図3は、画像データに基づいて画像を出力する場合のMFP10の動作のフローチャートである。
FIG. 3 is a flowchart of the operation of the
図3に示すように、制御部18は、画像データからスクリーニングによって網点画像を生成する(S101)。 As shown in FIG. 3, the control unit 18 generates a halftone image by screening from the image data (S101).
図4(a)は、制御部18によって扱われる画像データに基づいた画像21の一例を示す図である。図4(b)は、図4(a)に示す画像21から生成される網点画像22の一例を示す図である。
FIG. 4A is a diagram illustrating an example of the
制御部18は、S101において、例えば図4(a)に示す画像21をスクリーニングによって図4(b)に示す網点画像22に変換する。網点画像22は、網点22aによって構成されている画像である。
In S101, for example, the control unit 18 converts the
図3に示すように、制御部18は、S101の処理が終了すると、S101において生成した網点画像22の網点22aの中心を母点31としたボロノイ図30を生成する(S102)。
As shown in FIG. 3, when the processing of S101 is completed, the control unit 18 generates a Voronoi diagram 30 with the center of the
制御部18は、S102において、例えば図2に示すボロノイ図30を生成する。 In S102, the control unit 18 generates, for example, the Voronoi diagram 30 shown in FIG.
図3に示すように、制御部18は、S102の処理が終了すると、S101において生成した網点画像22の網点22aの数を調整する図5に示す網点調整処理を実行する(S103)。
As shown in FIG. 3, when the process of S102 ends, the control unit 18 executes a halftone dot adjustment process shown in FIG. 5 for adjusting the number of
図5は、図3に示す網点調整処理のフローチャートである。 FIG. 5 is a flowchart of the halftone dot adjustment process shown in FIG.
図5に示すように、制御部18の空円情報取得手段18aは、S102において生成したボロノイ図30において、ボロノイ点34を中心として3つの母点31を通り内側に母点31を含まない円である空円35(図6参照。)のそれぞれの中心の座標および半径を取得する(S131)。ここで、空円情報取得手段18aは、空円35の中心のボロノイ点34の座標を空円35の中心の座標とする。また、空円情報取得手段18aは、空円35が通る母点31と、空円35の中心のボロノイ点34との距離を空円35の半径とする。
As shown in FIG. 5, the empty circle information acquisition unit 18 a of the control unit 18 is a circle that does not include the
図5に示すように、制御部18の網点追加手段18bは、S131の処理が終了すると、変数kを初期値である“1”にした後、S133〜S135の処理の実行と、その後の変数kへの増分値である“1”の加算とを、終値である“空円の数”を変数kが超えるまで繰り返す(S132)。ここで、“空円の数”とは、S102において生成したボロノイ図30において存在する空円35の総数である。
As shown in FIG. 5, when the process of S131 is completed, the halftone
網点追加手段18bは、S102において生成したボロノイ図30において存在する空円35のうち未だ対象にしていない空円35を1個対象にした後(S133)、対象の空円35(以下「対象円Q」と言う。)のS131において取得された半径が事前に設定されている特定の値より大きいか否かを判断する(S134)。
The halftone dot adding means 18b sets one
網点追加手段18bは、特定の値より大きいとS134において判断すると、網点画像22に網点22aを追加する図7に示す網点追加処理を実行する(S135)。
If the halftone
図7は、図5に示す網点追加処理のフローチャートである。 FIG. 7 is a flowchart of the halftone dot addition process shown in FIG.
図7に示すように、網点追加手段18bは、変数iを初期値である“1”にした後、S162およびS163の処理の実行と、その後の変数iへの増分値である“1”の加算とを、終値である“2”を変数iが超えるまで繰り返す(S161)。 As shown in FIG. 7, the halftone dot adding means 18b sets the variable i to “1” which is the initial value, and then executes the processes of S162 and S163 and then increments the variable i to “1”. Is repeated until the variable i exceeds the final value “2” (S161).
図8は、図7に示す網点追加処理において扱われる仮ボロノイ点Xiを示す図である。 FIG. 8 is a diagram showing temporary Voronoi points X i handled in the halftone dot addition process shown in FIG.
図8においては、対象円Qと、対象円Qが通る母点31については2つの母点31のみを通る空円35(以下「隣接円Si」と言う。)とが示されている。ここで、隣接円Siは、1つの対象円Qに対して少なくとも2つ存在し、そのうち1つを隣接円S1とし、残りのうち1つを隣接円S2とする。隣接円Si上の母点31のうち対象円Q上の母点31でもある2つの母点の何れか一方を母点P1iとし、他方を母点P2iとする。仮ボロノイ点Xiは、対象円Qの中心を示す点R(Q)と、隣接円Siの中心を示す点R(Si)とを結ぶ線分R(Q)R(Si)上の点であって、仮のボロノイ点である。
In FIG. 8, the target circle Q and the empty circle 35 (hereinafter referred to as “adjacent circle S i ”) passing through only two
図7に示すように、網点追加手段18bは、特定の規則に応じて仮ボロノイ点Xiの座標を算出する(S162)。ここで、特定の規則としては、種々の規則が採用されることができる。例えば、網点追加手段18bは、次の数2で表される式のように、点R(Q)および仮ボロノイ点Xiを結ぶ線分R(Q)Xiの長さと、仮ボロノイ点Xiおよび点R(Si)を結ぶ線分XiR(Si)の長さとの比率が、対象円Qの半径r(Q)と、隣接円Siの半径r(Si)とに基づいたr(Q)1/2:r(Si)1/2になる仮ボロノイ点Xiの座標を算出しても良い。
数2において、Xi、R(Q)、R(Si)は、それぞれ、仮ボロノイ点Xi、点R(Q)、点R(Si)の座標である。 In Equation 2, X i , R (Q), and R (S i ) are the coordinates of the temporary Voronoi point X i , the point R (Q), and the point R (S i ), respectively.
なお、網点追加手段18bは、線分R(Q)Xiの長さと、線分XiR(Si)の長さとの比率が、対象円Qの半径r(Q)と、隣接円Siの半径r(Si)とに基づいたr(Q):r(Si)になる仮ボロノイ点Xiの座標を算出しても良い。また、網点追加手段18bは、対象円Qの半径r(Q)と、隣接円Siの半径r(Si)とに基づいた規則以外の規則に応じて仮ボロノイ点Xiの座標を算出しても良い。例えば、網点追加手段18bは、線分R(Q)R(Si)の中点を仮ボロノイ点Xiとしても良い。
The halftone
図9は、図7に示す網点追加処理において扱われる仮母点P'iを示す図である。 FIG. 9 is a diagram showing temporary mother points P ′ i handled in the halftone dot addition process shown in FIG.
図9において、仮空円Q'iは、S162において座標が算出された仮ボロノイ点Xiを中心とし、母点P1iおよび母点P2iを通る仮の空円である。そして、仮母点P'iは、仮空円Q'iが通る仮の母点であって、線分R(Q)R(Si)と、仮空円Q'iとの交点である。なお、線分R(Q)R(Si)と、仮空円Q'iとの交点が2つ存在する場合には、対象円Qの中心を示す点R(Q)に近い方が仮母点P'iである。 In FIG. 9, the provisional empty circle Q ′ i is a provisional empty circle centered on the provisional Voronoi point X i for which the coordinates have been calculated in S162 and passing through the mother point P1 i and the mother point P2 i . The provisional generating point P ′ i is a provisional generating point through which the provisional empty circle Q ′ i passes, and is an intersection of the line segment R (Q) R (S i ) and the provisional empty circle Q ′ i. . When there are two intersections between the line segment R (Q) R (S i ) and the provisional empty circle Q ′ i , the one closer to the point R (Q) indicating the center of the target circle Q The mother point P ' i .
ここで、仮母点P'iは、線分R(Q)Xiを内分する点である。したがって、仮母点P'iの座標は、次の数3で表される式によって表される。
数3において、P'i、R(Q)、Xiは、それぞれ、仮母点P'i、点R(Q)、仮ボロノイ点Xiの座標である。また、R(Q)P'iは、点R(Q)および仮母点P'iを結ぶ線分R(Q)P'iの長さである。
また、P'iXiは、仮母点P'iおよび仮ボロノイ点Xiを結ぶ線分P'iXiの長さである。ここで、線分R(Q)P'iは、点R(Q)および仮ボロノイ点Xiを結ぶ線分R(Q)Xiと、線分P'iXiとの間で、次の数4で表される関係が成り立つ。また、線分P'iXiは、仮空円Q'iの半径であるので、次の数5で表される関係が成り立つ。
P ′ i X i is the length of a line segment P ′ i X i connecting the temporary generating point P ′ i and the temporary Voronoi point X i . Here, the line segment R (Q) P ′ i is between the line segment R (Q) X i connecting the point R (Q) and the temporary Voronoi point X i and the line segment P ′ i X i. The relationship represented by Equation 4 is established. Further, since the line segment P ′ i X i is the radius of the provisional empty circle Q ′ i , the relationship expressed by the following equation 5 holds.
数4において、R(Q)Xiは、線分R(Q)Xiの長さである。数5において、P1iXiは、母点P1iおよび仮ボロノイ点Xiを結ぶ線分P1iXiの長さである。 In Equation 4, R (Q) X i is the length of the line segment R (Q) X i . In Equation 5, P1 i X i is the length of the line segment P1 i X i connecting the base point P1 i and the temporary Voronoi point X i .
したがって、図7に示すように、網点追加手段18bは、S162の処理が終了すると、次の数6で表される式によって仮母点P'iの座標を算出する(S163)。
図10は、図7に示す網点追加処理において扱われる追加の網点の中心を示す母点Pkを示す図である。 FIG. 10 is a diagram showing a base point P k indicating the center of an additional halftone dot handled in the halftone dot addition process shown in FIG.
図10において、追加の網点の中心を示す母点Pkの座標は、対象円Qの中心を示す点R(Q)の座標と、点R(Q)を始点とし仮母点P'1を終点とするベクトルを示すvec(R(Q),P'1)と、点R(Q)を始点とし仮母点P'2を終点とするベクトルを示すvec(R(Q),P'2)とを用いて、次の数7に示す式で表される。
数7において、Pkは、母点Pkの座標である。 In Equation 7, P k is the coordinate of the generating point P k .
図7に示すように、網点追加手段18bは、S161における繰り返しの処理が終了すると、追加の網点の中心を示す母点Pkの座標を、数7で表される式によって算出する(S164)。
As shown in FIG. 7, the halftone
網点追加手段18bは、S164の処理が終了すると、図7に示す網点追加処理を終了する。
The halftone
図5に示すように、網点追加手段18bは、特定の値より大きくはないとS134において判断すると、S135の網点追加処理を実行しない。
As shown in FIG. 5, when the halftone
網点追加手段18bは、S132における繰り返しの処理が終了すると、図5に示す網点調整処理を終了する。
The halftone
したがって、例えば図4(b)に示す網点画像22は、S164において座標を算出した母点Pkを中心とする網点23の分だけ、図11に示すように網点22aが追加される。なお、追加される網点22aの大きさは、他の網点22aの大きさと同一である。
Therefore, for example, in the
図3に示すように、制御部18は、S103の網点調整処理が終了すると、S103の網点調整処理によって網点22aの数が調整された網点画像22を出力して(S104)、図3に示す動作を終了する。
As shown in FIG. 3, when the halftone dot adjustment process in S103 is completed, the control unit 18 outputs a
なお、画像の出力方法は、例えば、プリンター14による印刷である。
Note that the image output method is, for example, printing by the
以上に説明したように、MFP10は、ボロノイ図30において対象円Qの半径が特定の値より大きい場合に(S134でYES)、対象円Qの内側に新たな母点31を追加することによって新たな母点31に対応する網点22aを網点画像22に追加する(S164)ので、事前に記憶しておく情報が少なくても、画像の縁の部分の白抜けや途切れの発生を抑えることができる。
As described above, when the radius of the target circle Q is larger than a specific value in the Voronoi diagram 30 (YES in S134), the
また、MFP10は、対象円Qの中心の位置と、隣接円Siの中心の位置とに基づいて新たな母点31の位置を決定する(S161〜S164)ので、周囲の網点22aの位置に応じた適切な位置に新たな網点22aを追加することができる。
Further, since the
また、MFP10は、対象円Qの中心の位置と、2つの隣接円Siの中心の位置とに基づいて新たな母点31の位置を決定する(S161〜S164)ので、周囲の網点22aの位置に応じた更に適切な位置に新たな網点22aを追加することができる。
Further, the
また、MFP10は、対象円Qの中心の位置と、隣接円Siの中心の位置とだけでなく、対象円Qの半径と、隣接円Siの半径とにも基づいて新たな母点31の位置を決定する(S161〜S164)ので、周囲の網点22aの位置に応じた更に適切な位置に新たな網点22aを追加することができる。
In addition, the
なお、本実施の形態において、ボロノイ図30の母点31は、網点画像22の網点22aの中心に配置されるが、網点22aに対応する位置であれば、網点22aの中心以外の位置に配置されても良い。
In the present embodiment, the
また、本発明の画像形成装置は、本実施の形態においてMFPであるが、コピー機、プリンターなど、MFP以外の画像形成装置であっても良い。 The image forming apparatus of the present invention is an MFP in the present embodiment, but may be an image forming apparatus other than the MFP, such as a copier or a printer.
10 MFP(画像形成装置)
17a 網点追加プログラム(画像出力プログラム)
18a 空円情報取得手段
18b 網点追加手段
21 画像
22 網点画像
22a、23 網点
30 ボロノイ図
31、P1i、P2i 母点
34 ボロノイ点
35 空円
Q 対象円
Si 隣接円
10 MFP (image forming apparatus)
17a Halftone dot addition program (image output program)
18a Empty circle information acquisition means 18b Halftone dot addition means 21
Q Target yen
Si adjacent circle
Claims (6)
前記網点画像生成手段によって前記画像データから生成された前記網点画像の網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として3つの前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得手段と、
前記空円情報取得手段によって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加手段と、
前記網点追加手段によって前記網点画像に前記網点が追加された場合に前記網点追加手段によって前記網点が追加された前記網点画像を出力する網点画像出力手段と
を備えることを特徴とする画像形成装置。 Halftone image generation means for generating a halftone image from image data;
In the Voronoi diagram comprising a generating point corresponding to the halftone dot of the halftone image generated from the image data by the halftone image generating means, the generating point is passed inward through the three generating points with a Voronoi point as a center. Empty circle information acquisition means for acquiring the radius of an empty circle that is a circle not including
When the radius of the target circle that is the empty circle of the target acquired by the empty circle information acquisition unit is larger than a specific value, the new generating point is added by adding the new generating point inside the target circle Halftone dot adding means for adding the halftone dot corresponding to the halftone dot image;
Halftone dot image output means for outputting the halftone dot image added with the halftone dot when the halftone dot is added to the halftone dot image by the halftone dot adding means. An image forming apparatus.
前記網点追加手段は、前記対象円の隣接円の中心としての前記ボロノイ点の位置を前記ボロノイ図から取得し、
前記隣接円は、3つの前記母点を通る前記空円であるが、前記対象円が通る3つの前記母点については2つの前記母点のみを通り、
前記網点追加手段は、
前記対象円の中心の位置と、
前記隣接円の中心の位置と
に基づいて前記新たな母点の位置を決定することを特徴とする請求項1に記載の画像形成装置。 The halftone dot adding means acquires the position of the Voronoi point as the center of the target circle from the Voronoi diagram,
The halftone dot adding means acquires the position of the Voronoi point as the center of an adjacent circle of the target circle from the Voronoi diagram,
The adjacent circle is the empty circle that passes through the three generating points, but the three generating points that the target circle passes through only the two generating points,
The halftone dot adding means includes
The position of the center of the target circle;
The image forming apparatus according to claim 1, wherein the position of the new generating point is determined based on the position of the center of the adjacent circle.
前記対象円の中心の位置と、
2つの前記隣接円の中心の位置と
に基づいて前記新たな母点の位置を決定することを特徴とする請求項2に記載の画像形成装置。 The halftone dot adding means includes
The position of the center of the target circle;
The image forming apparatus according to claim 2, wherein the position of the new generating point is determined based on the positions of the centers of the two adjacent circles.
前記対象円の半径と、
前記隣接円の半径と
にも基づいて前記新たな母点の位置を決定することを特徴とする請求項2または請求項3に記載の画像形成装置。 The halftone dot adding means includes
A radius of the target circle;
The image forming apparatus according to claim 2, wherein the position of the new generating point is determined based on the radius of the adjacent circle.
前記網点画像生成手段によって前記画像データから生成された前記網点画像の網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として3つの前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得手段、
前記空円情報取得手段によって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加手段、および、
前記網点追加手段によって前記網点画像に前記網点が追加された場合に前記網点追加手段によって前記網点が追加された前記網点画像を出力する網点画像出力手段
としてコンピューターである画像形成装置を機能させることを特徴とする画像出力プログラム。 Halftone image generating means for generating a halftone image from image data;
In the Voronoi diagram comprising a generating point corresponding to the halftone dot of the halftone image generated from the image data by the halftone image generating means, the generating point is passed inward through the three generating points with a Voronoi point as a center. Empty circle information acquisition means for acquiring the radius of an empty circle that is a circle not including
When the radius of the target circle that is the empty circle of the target acquired by the empty circle information acquisition unit is larger than a specific value, the new generating point is added by adding the new generating point inside the target circle Halftone dot adding means for adding the halftone dot corresponding to the halftone dot image, and
An image which is a computer as a halftone image output means for outputting the halftone image with the halftone dot added by the halftone dot addition means when the halftone dot is added to the halftone dot image by the halftone dot addition means An image output program for causing a forming apparatus to function.
画像データから網点画像を生成する網点画像生成ステップと、
前記網点画像生成ステップによって前記画像データから生成された前記網点画像の網点に対応する母点を備えているボロノイ図においてボロノイ点を中心として3つの前記母点を通り内側に前記母点を含まない円である空円の半径を取得する空円情報取得ステップと、
前記空円情報取得ステップによって取得された対象の前記空円である対象円の半径が特定の値より大きい場合に前記対象円の内側に新たな前記母点を追加することによって前記新たな母点に対応する前記網点を前記網点画像に追加する網点追加ステップと、
前記網点追加ステップによって前記網点画像に前記網点が追加された場合に前記網点追加ステップによって前記網点が追加された前記網点画像を出力する網点画像出力ステップと
を備えることを特徴とする画像出力方法。 An image output method executed by an image forming apparatus,
A halftone dot image generation step for generating a halftone dot image from the image data;
In the Voronoi diagram including a generating point corresponding to the halftone dot of the halftone image generated from the image data by the halftone image generating step, the generating point passes through the three generating points centering on the Voronoi point. An empty circle information acquisition step for acquiring the radius of an empty circle that is a circle not including
When the radius of the target circle that is the empty circle of the target acquired by the empty circle information acquisition step is larger than a specific value, the new generating point is added by adding the new generating point inside the target circle Adding a halftone dot corresponding to the halftone dot image to the halftone image;
A halftone image output step of outputting the halftone image with the halftone dot added by the halftone dot addition step when the halftone dot is added to the halftone dot image by the halftone dot addition step. A featured image output method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016089491A JP6174190B2 (en) | 2016-04-27 | 2016-04-27 | Image forming apparatus, image output program, and image output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016089491A JP6174190B2 (en) | 2016-04-27 | 2016-04-27 | Image forming apparatus, image output program, and image output method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013226081A Division JP5940506B2 (en) | 2013-10-30 | 2013-10-30 | Halftone dot addition device, halftone dot addition program, and halftone dot addition method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016171581A JP2016171581A (en) | 2016-09-23 |
JP6174190B2 true JP6174190B2 (en) | 2017-08-02 |
Family
ID=56982636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016089491A Expired - Fee Related JP6174190B2 (en) | 2016-04-27 | 2016-04-27 | Image forming apparatus, image output program, and image output method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6174190B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009100230A (en) * | 2007-10-16 | 2009-05-07 | Canon Inc | Image processing apparatus and method thereof |
JP4929122B2 (en) * | 2007-10-16 | 2012-05-09 | キヤノン株式会社 | Image processing apparatus and method, and program |
JP2010093439A (en) * | 2008-10-06 | 2010-04-22 | Canon Inc | Data processing apparatus, data processing method, and computer program |
JP5742367B2 (en) * | 2011-03-29 | 2015-07-01 | 富士ゼロックス株式会社 | Image processing apparatus and image processing program |
JP5723809B2 (en) * | 2011-06-20 | 2015-05-27 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and image forming method |
-
2016
- 2016-04-27 JP JP2016089491A patent/JP6174190B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2016171581A (en) | 2016-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4844271B2 (en) | Image processing apparatus and image processing method | |
JP5874721B2 (en) | Image processing apparatus, image correction method, and program | |
US10706340B2 (en) | Image processing apparatus and method for controlling the same with character attribute indicating that pixel is pixel of a character | |
US10440226B2 (en) | Image processing apparatus, control method of image processing apparatus, and storage medium with performing smoothing on object other than character | |
JP5940506B2 (en) | Halftone dot addition device, halftone dot addition program, and halftone dot addition method | |
JP6884597B2 (en) | Image processing equipment, image processing methods and programs | |
US20170208211A1 (en) | Image processing apparatus, image processing method, and storage medium | |
US10546220B2 (en) | Image processing apparatus that generates halftone image, image processing method, and storage medium | |
US9992371B2 (en) | Image forming apparatus, storage medium, and color conversion method | |
JP5863001B2 (en) | Image processing apparatus, image forming apparatus, and program | |
US20190158703A1 (en) | Image forming apparatus, image forming method, and storage medium | |
JP6429036B2 (en) | Image forming apparatus and image forming program | |
JP6174190B2 (en) | Image forming apparatus, image output program, and image output method | |
US9398194B2 (en) | Image processing apparatus and method performing density adjustment on image data based on generated density characteristics data | |
JP6380763B2 (en) | Image forming apparatus, color conversion program, and color conversion method | |
JP2017135433A (en) | Image processing apparatus and program | |
JP2010268359A (en) | Image processing apparatus, and image processing program | |
US9462155B2 (en) | Method, device, and program product for dot area extraction based on periodicity of different numbers on pixels in crossing directions | |
JP6413450B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP6455675B2 (en) | Electronic device and font image output program | |
JP6648451B2 (en) | Low overhead near unit scaling technology | |
JP6985943B2 (en) | Image processing device and its control method and program | |
JP5989065B2 (en) | Image forming system, printer driver, image forming apparatus, and rendering program | |
JP6707903B2 (en) | Output device and computer program | |
JP6248451B2 (en) | Image reading apparatus, image reading method, and image reading program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170303 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170314 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170509 |
|
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: 20170607 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170705 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6174190 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |