This application is based upon, and claims the benefit of priority from, corresponding Japanese Patent Application No. 2013-226081 filed in the Japan Patent Office on Oct. 30, 2013, the entire contents of which are incorporated herein by reference.
Unless otherwise indicated herein, the description in this section is not prior art to the claims in this application and is not admitted to be prior art by inclusion in this section.
There is known screening that transforms an image into a halftone dot image using a screen such as a halftone screen and a line screen. The halftone dot image is constituted of periodic arrays of halftone dots expressed in tones. For execution of appropriate screening, in the screening, according to an attribution of the image before transformation, various parameters such as a mesh pattern (screen pattern), a screen line width, and a screen angle in the screening are set.
If the screening is performed on a character of light print density and a thin line, an interval between the halftone dots become large. Accordingly, a portion where the halftone dot is not arranged is generated at a part of an edge of the thin line in the halftone dot image or the character. As a result, a white void and a break may be seen at the character and the thin line.
Therefore, there is known the following method. A character and an edge part of a line are detected. According to attributions of the character and the line, one matrix is selected among a plurality of threshold matrixes of different growth methods and outputs the image.
A halftone dot addition device for adding halftone dots to halftone dot images according to an aspect of the disclosure includes an empty circle information acquiring unit and a halftone dot addition unit. The empty circle information acquiring unit obtains, in a Voronoi diagram having a generatrix corresponding to a halftone dot in a halftone dot image. The radius of an empty circle is a circle centering on a Voronoi vertex. The empty circle passes through the generatrix but not internally includes the generatrix. The halftone dot addition unit, if the radius of a target circle being the empty circle obtained, as a target, by the empty circle information acquiring unit is larger than a specific value, adds to the halftone dot image a halftone dot corresponding to a new generatrix, by adding the new generatrix to the inside of the target circle.
These as well as other aspects, advantages, and alternatives will become apparent to those of ordinary skill in the art by reading the following detailed description with reference where appropriate to the accompanying drawings. Further, it should be understood that the description provided in this summary section and elsewhere in this document is intended to illustrate the claimed subject matter by way of example and not by way of limitation.
Example apparatuses are described herein. Other example embodiments or features may further be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein. In the following detailed description, reference is made to the accompanying drawings, which form a part thereof.
The example embodiments described herein are not meant to be limiting. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the drawings, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are explicitly contemplated herein.
Hereinafter, an embodiment of the disclosure will be described by referring to the accompanying drawings.
First, the following describes a configuration of a Multifunction Peripheral (MFP) as a halftone dot addition apparatus according to this embodiment.
As illustrated in
The storage unit 17 stores a halftone dot addition program 17a executed by the control unit 18. The halftone dot addition program 17a may be installed to the MFP 10 at a production stage of the MFP 10, may be additionally installed from a storage medium such as an SD card and a Universal Serial Bus (USB) memory to the MFP 10, or may be additionally installed from a network to the MFP 10.
The control unit 18 includes, for example, a central processing unit (CPU), a read only memory (ROM) that stores a program and various data, and a random access memory (RAM) that is used for a work area of the CPU. The CPU executes a program stored in the ROM or the storage unit 17.
When the control unit 18 executes the halftone dot addition program 17a stored in the storage unit 17, the control unit 18 functions as an empty circle information acquiring unit 18a and a halftone dot addition unit 18b. The empty circle information acquiring unit 18a obtains a radius of an empty circle, which will be described later, in the Voronoi diagram. The halftone dot addition unit 18b adds a halftone dot to a halftone dot image.
The Voronoi diagram is a diagram in which the closet space from respective generatrixes present in a space is divided with a hyperplane such as a line and a surface. That is, the Voronoi diagram can be defined as a collection of Voronoi regions {V(p1), V(p2), . . . , V(pn)} with respect to a finite set P={p1, p2, . . . , pn} in a metric space. Here, the Voronoi region means a region V(pi) constituted of the following Formula 1 with respect to a distance function d. In the formula shown in Formula 1, d(p, pi) is a distance between a point p and a point pi while d(p, pj) is a distance between the point p and a point pj.
V(pi)={p|d(p,pi)≦d(p,pj),i≠j} [Formula 1]
The empty circle means a circle that does not include a generatrix inside of the empty circle. Here, the Voronoi diagram has a property that a Voronoi vertex is present at a position at the same distance from the plurality of generatrixes close to one another. Accordingly, centering the Voronoi vertex, the empty circle passing through the plurality of generatrixes is present.
As illustrated in
The following describes operations by the MFP 10.
When an output of an image based on image data is instructed, the control unit 18 of the MFP 10 executes the halftone dot addition program 17a and operates as illustrated in
As illustrated in
At S101, the control unit 18 transforms, for example, the image 21, which is illustrated in
As illustrated in
At S102, the control unit 18 generates, for example, the Voronoi diagram 30 illustrated in
As illustrated in
As illustrated in
As illustrated in
The halftone dot addition unit 18b targets the one empty circle 35 that has not yet been targeted among the empty circles 35 present in the Voronoi diagram 30, which is generated at S102 (S133). Then, the halftone dot addition unit 18b determines whether or not the radius obtained at S131 of the target empty circle 35 (hereinafter referred to as a “target circle Q”) is larger than a specific value set in advance (S134).
When it is determined that the value is larger than the specific value at S134, the halftone dot addition unit 18b performs the halftone dot addition process illustrated in
As illustrated in
As illustrated in
In Formula 2, R(Q), and R(Si) are coordinates of the temporary Voronoi vertex Xi, the point R(Q), and the point R(Si), respectively.
The halftone dot addition unit 18b may calculate the coordinate of the temporary Voronoi vertex Xi, where the ratio of the length of the line segment R(Q)Xi and the length of the line segment XiR(Si) becomes r(Q):r(Si) based on the radius r(Q) of the target circle Q and the radius r(Si) of the adjacent circle Si. Additionally, the halftone dot addition unit 18b may calculate the coordinate of the temporary Voronoi vertex Xi according to a rule other than the rule based on the radius r(Q) of the target circle Q and the radius r(Si) of the adjacent circle Si. For example, the halftone dot addition unit 18b may set the middle point of the line segment R(Q)R(Si) as the temporary Voronoi vertex Xi.
In
Here, the temporary generatrix P′i is a point that internally divides the line segment R(Q)Xi. Accordingly, the coordinate of the temporary generatrix P′i is expressed by a formula expressed by the following Formula 3.
In Formula 3, P′i, R(Q), and Xi are coordinates of the temporary generatrix P′i, the point R(Q), and the temporary Voronoi vertex Xi, respectively. R(Q)P′i is a length of the line segment R(Q)P′i connecting the point R(Q) and the temporary generatrix P′i. P′iXi is a length of the line segment P′iXi connecting the temporary generatrix P′i and the temporary Voronoi vertex Xi. Here, the line segment R(Q)P′i satisfies the relationship expressed by the following Formula 4 between the line segment R(Q)Xi, which connects the point R(Q) and the temporary Voronoi vertex Xi, and the line segment P′iXi. Since the line segment P′iXi is the radius of the temporarily empty circle Q′i, the relationship expressed by the following Formula 5 is met.
R(Q)P′i=R(Q)Xi−P′iXi [Formula 4]
P′iXi=P1iXi [Formula 5]
In Formula 4, R(Q)Xi is a length of the line segment R(Q)Xi. In Formula 5, P1iXi is a length of the line segment P1iXi connecting the generatrix P1i and the temporary Voronoi vertex Xi.
Accordingly, as illustrated in
In
Pk=R(Q)+vec(R(Q),P′1)+vec(R(Q),P′2) [Formula 7]
In Formula 7, Pk is the coordinate of the generatrix Pk.
As illustrated in
When the process of S164 is terminated, the halftone dot addition unit 18b terminates the halftone dot addition process illustrated in
As illustrated in
When the repeat process of S132 is terminated, the halftone dot addition unit 18b terminates the halftone dot adjustment process illustrated in
Accordingly, for example, as illustrated in
As illustrated in
A method for outputting an image includes, for example, printing using the printer 14.
As described above, when the radius of the target circle Q in the Voronoi diagram 30 is larger than the specific value (YES at S134), the MFP 10 adds the new generatrix 31 to the inside of the target circle Q. The MFP 10 adds the halftone dot 22a corresponding to the new generatrix 31 to the halftone dot image 22 (S164). This ensures reducing a white void and a break at the part of the edge of the image even if information stored in advance is little.
The MFP 10 determines the position of the new generatrix 31 based on the position of the center of the target circle Q and the position of the center of the adjacent circle Si (S161 to S164). This ensures adding the new halftone dot 22a at an appropriate position corresponding to the position of the nearby halftone dots 22a.
The MFP 10 determines the position of the new generatrix 31 based on the position of the center of the target circle Q and the position of the center of the two adjacent circles Si (S161 to S164). This ensures adding the new halftone dot 22a at a further appropriate position corresponding to the position of the nearby halftone dots 22a.
The MFP 10 determines not only the position of the center of the target circle Q and the position of the center of the adjacent circles Si but also determines the position of the new generatrix 31 based on the radius of the target circle Q and the radius of the adjacent circle Si (S161 to S164). Accordingly, the new halftone dot 22a can be added to a further appropriate position according to the position of the nearby halftone dots 22a.
This embodiment arranges the generatrix 31 of the Voronoi diagram 30 at the center of the halftone dot 22a in the halftone dot image 22. However, insofar as the generatrix 31 is at a position corresponding to the halftone dot 22a, the generatrix 31 may be arranged at a position other than the center of the halftone dot 22a.
The halftone dot addition apparatus of the disclosure is the MFP in this embodiment. However, the halftone dot addition apparatus may be an image forming apparatus other than the MFP such as a copying machine and a printer, and also may be a computer other than the image forming apparatus such as a general-purpose personal computer.
While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2013-226081 | Oct 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5293539 | Spence | Mar 1994 | A |
20020051147 | Asai | May 2002 | A1 |
20040032600 | Burns et al. | Feb 2004 | A1 |
20140160214 | Conesa et al. | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
1392048 | Feb 2004 | EP |
2013-009124 | Jan 2013 | JP |
Number | Date | Country | |
---|---|---|---|
20150116780 A1 | Apr 2015 | US |