Method of restoring a picture cell by estimation with high density

Information

  • Patent Grant
  • 4360883
  • Patent Number
    4,360,883
  • Date Filed
    Wednesday, August 6, 1980
    44 years ago
  • Date Issued
    Tuesday, November 23, 1982
    41 years ago
Abstract
Out of nine equal square picture cells forming a picture, only four picture cells surrounding the central picture cell which is to be restored by estimation are utilized. The central picture cell is divided into four equal square sub-cells. The densities of the sub-cells are determined from the mutual relations between the central picture cell and the four surrounding picture cells to determine the density of the central picture cell.
Description

BACKGROUND OF THE INVENTION
This invention relates to a method of restoring a picture cell by estimation with high density in a copying machine.
FIG. 1 shows a picture consisting of nine equal square picture cells obtained by sampling a copying original.
Heretofore, in restoring the central picture cell X by estimation, the estimation is carried out by approximation over linear polynominals including the density data of the eight picture elements A, B, C, D, E, F, G and H surrounding the central picture cell X. The estimation coefficients of the picture cells B, D, E and G are about 0.5, and those of the picture cells A, C, F and H are about -0.25 for Japanese and European languages if they are of a sentence pattern. Therefore, in estimating the central picture element X, there is no substantially great difference in picture quality between the case where all of the picture cells A through H are utilized and the case where only four picture cells B, D, E and G are utilized. This is due to the mutual relations between the central picture cell X and the surrounding picture cells A through H. In other words, the estimation is greatly affected by the picture cells B, G, D and E which are positioned above, below, at the left-hand side and at the right-hand side of the central picture cell X, and is not so affected by the remaining picture cells A, C, F and H.
SUMMARY OF THE INVENTION
In view of the foregoing, an object of this invention is to provide a method of restoring a picture cell by estimation in which the number of picture cells utilized for the estimation is reduced, which contributes to simplification of the algorithm of restoring the picture cell by estimation.
Another object of the invention is to provide a method of restoring a picture cell by estimation by which the construction of a copying machine is simplified and the manufacturing cost thereof can be reduced.
The novel features which are considered characteristic of this invention are set forth in the appended claims. This invention itself, however, as well as other objects and advantages thereof will become more apparent from the following detailed description when read in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS
In the accompanying drawings:
FIG. 1 is an explanatory diagram showing picture cells forming a picture sampled and for a description of a conventional method, which has been already referred to;
FIG. 2 is an explanatory diagram for a description of a method of restoring a picture cell by estimation according to the invention;
FIG. 3 is a flow chart showing algorithm according to the invention; and
FIG. 4 is a block diagram showing a picture cell restoring device for realizing the flow shown in FIG. 3.





DETAILED DESCRIPTION OF THE INVENTION
FIG. 2 shows five picture cells out of nine picture cells forming a picture, which are obtained by sampling a copying original. The five picture cells are utilized in a method of restoring a picture cell by estimation according to this invention. The picture cell to be restored is positioned at the center of the five cells and is designated by reference character S.sub.3.
The picture cell S.sub.3 is divided into four equal squares which are referred to as sub-cells O.sub.1, O.sub.2, O.sub.3 and O.sub.4, respectively. The output conditions of these sub-cells O.sub.1 through O.sub.4 are determined from the density data of the remaining picture cells S.sub.1, S.sub.5, S.sub.2 and S.sub.4 which are positioned above, below, on the left-hand side and on the right-hand side of the central picture cell S.sub.3, respectively, to restore the central picture cell S.sub.3 by estimation.
The algorithm in restoring the central picture cell by estimation is as follows:
(1) The following equations are calculated: ##EQU1## where S.sub.1, S.sub.2, S.sub.4 and S.sub.5 are the densities of the respective picture cells, and each of the values S.sub.1, S.sub.2, S.sub.4 and S.sub.5 is one (1) when the respective picture cell is black, zero (0) when white, and a value between one and zero when grey.
(2) Then, the central picture cell S.sub.3 is subjected to quinary quantization. If the resultant value is represented by S.sub.3.sup.q, then S.sub.3.sup.q =1/5, 2/5, 3/5, 4/5, 5/5. The following determinations are effected:
When the quantized picture cell S.sub.3.sup.q =1/5, ##EQU2## (3) When 2/5.ltoreq.S.sub.3.sup.q .ltoreq.4/5, the data T.sub.1, T.sub.2, T.sub.3 and T.sub.4 calculated as above are arranged in the order of magnitude, and the data thus arranged will be represented by T.sub.i, T.sub.j, T.sub.k and T.sub.l, respectively.
(4) Then, with O.sub.i.sup.- =1 and O.sub.j =O.sub.k =O.sub.l.sup.- =0, 1/5 is subtracted from S.sub.3.sup.q.
(5) As a result of this subtraction, if S.sub.3.sup.q is smaller than 1/5, then the algorithm is completed; and if S.sub.3.sup.q is larger than 1/5, then the algorithm is advanced to the next step.
(6) With O.sub.j.sup.- =1, 1/5 is subtracted from S.sub.3.sup.q.
(7) As a result of this subtraction, if S.sub.3.sup.q is smaller than 1/5, then the algorithm is completed; and if S.sub.3.sup.q is larger than 1/5, then the algorithm is advanced to the next step.
(8) O.sub.k =1
(9) Completion
The flow of the above-described algorithms (1) through (9) is as indicated in FIG. 3. These algorithms are carried out for the entire surface of an original to be copied, but are not effected for the end portions of the original.
FIG. 4 is a block diagram showing a picture cell restoring device for realizing the flow indicated in FIG. 3. The picture cell restoring device comprises: an address counter 1 for counting the absolute address of the central picture cell S.sub.3 (the provision of the address counter 1 being not always necessary); an address specifying section 2 operating to specify the addresses of the picture cells S.sub.1 through S.sub.5 according to data from the address counter 1; a memory 3 for temporarily storing data read out; a level decoder for deciding the density levels of the picture cells S.sub.1 through S.sub.5 ; an address counter signal converter circuit 5 which controls the algorithms described above according to data from the address counter 1 and suspends the logical decision at the end portions of an original to be copied; and a logical decision circuit 6 which is operated when the density level of the picture cell S.sub.3 is 2/5, 3/5 or 4/5.
The picture cell restoring device further comprises: a black picture cell generating circuit 7; and a white picture cell generating circuit 8. When the density level of the picture cell S.sub.3 is 1/5, the entire picture cell (O.sub.1 -O.sub.4) is estimated as white, and when 5/5, black.
As is apparent from the above description, according to the invention, it is unnecessary to use all of the eight picture cells to restore the central picture cell unlike the conventional method. That is, the aimed picture cell can be restored by estimation only with four picture cells above, below, right and, left readily when compared with the eight-picture-cell method. This will contribute to simplification of the copying machine and to reduction in the manufacturing cost thereof.
Claims
  • 1. A method of restoring a picture cell by estimation which comprises the steps of:
  • sampling a picture to obtain a plurality of equal size square picture cells as samples;
  • selecting a picture cell to be restored;
  • determining the optical density (S.sub.3) of said picture cell to be restored;
  • determining the optical densities of four picture cells which are adjacently positioned above, below, at the left side, and at the right side of the picture cell to be restored, said optical densities being represented by the values S.sub.1, S.sub.5, S.sub.2 and S.sub.4 respectively;
  • dividing said picture cell to be restored into four equal sized square sub-cells, said four sub-cells being identified as upper left, upper right, lower left, and lower right;
  • determining estimated optical densities O.sub.1, O.sub.2, O.sub.3 and O.sub.4 for said four sub-cells from mutual relationships between the optical density (S.sub.3) of said picture cell to be restored and the optical densities (S.sub.1, S.sub.5, S.sub.2 and S.sub.4) of said four picture cells adjacently positioned about said picture cell to be restored, the optical density of said upper left sub-cell being represented by O.sub.1, the density of said upper right sub-cell being represented by O.sub.2, the density of said lower left sub-cell being represented by O.sub.3, and the density of said lower right sub-cell being represented by O.sub.4 ;
  • outputting by means of a decoder a first control signal to generate a black picture cell when the value of each of said estimated optical densities is 1;
  • outputting by means of said decoder a second control signal to generate a white picture cell when the value of each of said estimated optical densities is 0; and
  • outputting by means of said decoder a third control signal to generate at least one black sub-cell which has an estimated optical density of 1 and to generate white sub-cells for the remainder of said sub-cells which remainder of said sub-cells have an estimated optical density of 0.
  • 2. A method of restoring a picture cell by estimation as recited in claim 1 wherein said step of determining the estimated optical densities for said four sub-cells comprises the steps for:
  • quantizing the optical density (S.sub.3) of said picture cell to be restored into one of five levels (quinary quantization) such that said quantized value (S.sup.q.sub.3) is represented as one of the numbers 1/5, 2/5, 2/5, 4/5 and 5/5;
  • analyzing the results of said quantization as follows:
  • when S.sup.q.sub.3 =1/5, then O.sub.1 =O.sub.2 =O.sub.3 =O.sub.4 =0, and
  • when S.sup.q.sub.3 =5/5, then O.sub.1 =O.sub.2 =O.sub.3 =O.sub.4 =1
  • wherein 0 represents white and 1 represents black;
  • further analyzing the results of said quantization for the condition S/5<S.sup.q.sub.3 <4/5 as follows:
  • when S.sup.q.sub.3 =2/5, then O.sub.l =1 and O.sub.j =O.sub.k = O.sub.l =0
  • when S.sup.q.sub.3 =3/5, then O.sub.i =O.sub.j =1 and O.sub.k =O.sub.l =
  • when S.sup.q.sub.3 =4/5, then O.sub.i =O.sub.j =O.sub.k =1 and O.sub.l =0
  • wherein O.sub.i, O.sub.j, O.sub.k, O.sub.l represent unassigned sub-cell optical densities;
  • calculating four summed optical densities (T.sub.1, T.sub.2, T.sub.3, T.sub.4) from said optical density values S.sub.1, S.sub.5, S.sub.4 and S.sub.2 such that:
  • T.sub.1 =S.sub.1 +S.sub.2
  • T.sub.2 =S.sub.1 +S.sub.4
  • T.sub.3 =S.sub.2 +S.sub.5
  • T.sub.4 =S.sub.4 +S.sub.5
  • arranging said four summed optical densities T.sub.1, T.sub.2, T.sub.3 and T.sub.4 in the order of their magnitudes and relabeling said summed optical densities as T.sub.i, T.sub.j, T.sub.k and T.sub.l respectively, such that T.sub.i >T.sub.j >T.sub.k >T.sub.l ;
  • relating T.sub.i, T.sub.j, T.sub.k and T.sub.l to the ordered optical densities T.sub.1, T.sub.2, T.sub.3, T.sub.4 such that the subscripts i, j, k, l are identified as each being one of the numbers 1, 2, 3, 4; and
  • determining the estimated optical densities for the sub-cells O.sub.1, O.sub.2, O.sub.3 and O.sub.4 by assigning the values O.sub.i, O.sub.j, O.sub.l to the sub-cells O.sub.1, O.sub.2, O.sub.3, O.sub.4 based upon the above determined identities of i, j, k, l.
Priority Claims (1)
Number Date Country Kind
53-32767 Mar 1978 JPX
Parent Case Info

This is a continuation, of application Ser. No. 020,055, filed on Mar. 13, 1979, now abandoned.

US Referenced Citations (4)
Number Name Date Kind
2962550 Brink Nov 1960
3999047 Green Dec 1976
4131883 Lundstrom Dec 1978
4150400 Wong Apr 1979
Non-Patent Literature Citations (2)
Entry
Appel et al.; "Automatic Filling of Bounded Areas in a Raster Display"; IBM Tech. Discl. Bulletin; vol. 21, No. 3, Aug. 1978; pp. 1300-1303.
Stucki; "Optimal Digital Halftone Pattern Generation Method"; IBM Tech. Discl. Bulletin; vol. 17, No. 9, Feb. 1975; pp. 2779-2780.
Continuations (1)
Number Date Country
Parent 20055 Mar 1979