Back to EveryPatent.com
United States Patent |
5,206,741
|
Shimura
,   et al.
|
April 27, 1993
|
Image processing apparatus
Abstract
An image processing apparatus for outputting image data to a printing unit,
including an input receives data input from an external unit, an generator
generates pixel image data in accordance with the input data, stores the
pixel image data, converts the resolution of the pixel image data, and an
outputs the pixel image data whose resolution has been converted. In the
apparatus the image data generator determines the resolution of the pixel
image data when it is stored in accordance with the memory capacity.
Inventors:
|
Shimura; Akihiro (Tokyo, JP);
Ueda; Shigeru (Wako, JP)
|
Assignee:
|
Canon Kabushiki Kaisha (Tokyo, JP)
|
Appl. No.:
|
866295 |
Filed:
|
April 13, 1992 |
Foreign Application Priority Data
Intern'l Class: |
H04M 001/00 |
Field of Search: |
358/400,402,404,426,261.4
|
References Cited
U.S. Patent Documents
4316222 | Feb., 1982 | Subramaniam | 358/261.
|
4543612 | Sep., 1985 | Matsunaga et al. | 358/261.
|
5033106 | Jul., 1991 | Kita | 358/426.
|
5063459 | Nov., 1991 | Nakatana et al. | 358/404.
|
Foreign Patent Documents |
12793 | Jul., 1980 | EP.
| |
389298 | Sep., 1990 | EP.
| |
Primary Examiner: Brinich; Stephen
Attorney, Agent or Firm: Fitzpatrick, Cella, Harper & Scinto
Parent Case Text
This application is a continuation of application Ser. No. 07,728,265 filed
Jul. 11, 1991 now abandoned.
Claims
What is claimed is:
1. An image processing apparatus for outputting image data to a printing
unit, comprising:
input means for inputting data from an external unit;
image data generating means for generating pixel image data in accordance
with the input data;
memory means for storing the pixel image data;
resolution converting means for converting a resolution of the pixel image
data; and
output means for outputting the pixel image data whose resolution is
converted by said resolution converting means,
wherein the image data generating means determines the resolution of the
pixel image data when it is stored into the memory means in accordance
with a memory capacity of the memory means.
2. An apparatus according to claim 1, wherein the memory capacity of the
memory means is expanded.
3. An apparatus according to claim 1, wherein the resolution converting
means determines the resolution of the pixel image data to be generated in
a manner such that the resolution of the pixel image data which is
generated from the output means is set to be constant irrespective of the
resolution of the pixel image data when the pixel image data is stored in
the memory means.
4. An apparatus according to claim 3, wherein the resolution converting
means changes the resolution of the pixel image data so as to be equal to
a recording resolution of a printing unit to which the pixel image data is
to be output by the output means.
5. An apparatus according to claim 1, wherein the input means receives code
data from an external unit and the image data generating means has means
for generating a pattern corresponding to the input code data.
6. An apparatus according to claim 1, wherein the resolution converting
means changes the resolution of the pixel image data by executing an
interpolating process on the pixel image data.
7. An apparatus according to claim 6, wherein the resolution converting
means executes a smoothing process when the interpolating process is
performed.
8. A method of generating pixel image data which is printed by a printing
unit, comprising the steps of:
inputting data from an external unit;
generating and outputting pixel image data whose resolution is determined
by a size of memory which is constructed so as to store the pixel image
data; and
converting, if necessary, the resolution of the pixel image data stored in
the memory in a manner such that the resolution of the output pixel image
data is independent on the resolution determined in the pixel image data
generating step.
9. A method according to claim 8, wherein, in said resolution converting
step, an interpolating process of the pixel image data is executed.
10. A method according to claim 8, wherein said resolution converting step
includes a smoothing process.
11. An apparatus according to claim 1, further comprising a printing unit
for performing printing on the basis of the pixel image data output from
said output means.
12. A method according to claim 8, further comprising the step of
performing printing on the basis of the pixel image data.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates to an image processing apparatus for processing image
data to be printed by a printing unit.
2. Related Background Art
Generally, in a printing apparatus represented by a laser beam printer or
the like, pixel image data according to a resolution of a print mechanism
unit is produced in an image memory by an image processing apparatus and
is printed by the print mechanism unit.
To hold a pixel image of an image of a predetermined size in the image
memory, however, a memory area which is specified by the resolution of the
printing apparatus is necessary. Therefore, for instance, in the case of
outputting the image data to a printing apparatus of a high resolution,
there is the drawback that a larger memory area is needed to keep a pixel
image of an image of the same size as compared with the case of a printing
apparatus of a low resolution. Such a drawback is remarkable,
particularly, in the case of using a color printing apparatus or the case
of executing a gradation recording.
SUMMARY OF THE INVENTION
It is an object of the invention to provide an image processing apparatus
which can avoid the above drawbacks.
Another object of the invention is to provide an image processing apparatus
which receives code data such as a page description language or the like
and can develop the image in a form according to a memory capacity.
Still another object of the invention is to provide an image processing
apparatus in which, even if a printing apparatus of a high resolution or a
high precision is connected, a high quality image according to the
printing apparatus can be reproduced without increasing memory capacity.
The above and other objects, features, and advantages of the present
invention will become apparent from the following detailed description
with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic block diagram showing a construction of a printing
apparatus according to an embodiment of the invention;
FIG. 2 is a detailed block diagram showing a construction of a conversion
unit shown in FIG. 1; and
FIG. 3 is a flowchart showing a processing procedure in the embodiment of
FIG. 1.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The preferred embodiment according to the invention will be described in
detail hereinbelow with reference to the drawings.
Description of construction (FIGS. 1 and 2)
FIG. 1 is a schematic block diagram showing a construction of a printing
apparatus according to the preferred embodiment. In the diagram, reference
numeral 1 denotes a CPU to control the whole apparatus and 2 indicates a
bus of the CPU 1. The bus 2 comprises an address bus, a data bus, and
various control buses. Reference numeral 3 denotes an input unit for
supplying input data which is given from a host computer or the like (not
shown) to the printing apparatus and 4 indicates a ROM in which a program
of the CPU 1, which will be explained hereinbelow, data, pattern data of
characters, figures, and the like have been stored. The ROM 4 is not
limited to a ROM, but any memory having a function to store a program,
data, and the like can also be used. A work RAM 5 is used as a work area
of the CPU 1, a memory area for the data supplied from the input unit 3,
and the like.
An image memory 6 is used in drawing a pixel image when pixel image data is
to be produced. A capacity of the image memory 6 can be made variable.
That is, the image memory 6 can be expanded. The work RAM 5 and the image
memory 6 can be constructed physically of the same RAM and the capacity of
the area which is used as an image memory 6 in such a RAM can be made
variable. or a combination of both of them may also be used. Reference
numeral 8 denotes a print mechanism unit in a printing apparatus such as a
laser beam printer, ink jet printer, wire dot printer, or the like. The
print mechanism unit 8 actually forms an image on a paper or the like. The
print mechanism unit 8 may have either a construction in which the density
of pixels is variable or a construction in which an image can be printed
by providing a gradation for every pixel. Or, the print mechanism unit 8
can also have a construction in which an image can be printed by providing
a color tone for every pixel or a construction based on a combination of
those constructions.
A conversion unit 7 converts the pixel image data produced in the image
memory 6 into data having a resolution equal to the output resolution of
the print mechanism unit 8 and supplies the results to the print mechanism
unit 8. The conversion unit 7 does not perform the conversion when the
resolution of the pixel image data produced in the image memory 6
coincides with the output resolution of the print mechanism unit 8.
A construction of the above conversion unit 7 will now be described with
reference to a block diagram shown in FIG. 2.
The conversion unit 7 in the embodiment has two kinds of pixel image data
producing means which can produce pixel image data whose pixel density is
equal to 400 pixels per inch and the number of gradations per pixel is
equal to 2 for the print mechanism unit 8 in which a pixel density is
equal to 800 pixels per inch and the number of gradations per pixel is
equal to 2, that is, which can produce a binary image and which can
produce pixel image data at the same resolution as that of the print
mechanism unit 8.
In FIG. 2, reference numeral 201 denotes pixel image data supplied from the
image memory 6 and 202 indicates a smoothing circuit which is realized by
a method disclosed in JP-B-53-24146 or the like. The smoothing circuit 202
executes an outline correction or the like on an image having a pixel
density of 400 pixels/inch, converting it into an image having a pixel
density of 800 pixels/inch. Reference numeral 203 denotes image data which
has been converted by the smoothing circuit 202; 204 a selection circuit
for selecting and outputting either the input pixel image 201 or the
output 203 from the smoothing circuit 202 in accordance with a selection
control signal 205, which will be explained hereinbelow. Reference numeral
205 denotes the selection control signal which is controlled by the CPU 1
and is used to control selection of one of the two inputs 201 and 203 by
the selection circuit 204. Reference numeral 206 denotes output image data
which is supplied from the selection circuit 204 to the print mechanism
unit 8.
Description of processing procedure (FIG. 3)
A processing procedure of the apparatus with the foregoing construction
will now be described in accordance with a flowchart shown in FIG. 3.
In the preferred embodiment, the case where there is no physical difference
between the work RAM 5 and the image memory 6 and those memories 5 and 6
are arranged in the same RAM will now be explained as an example.
In step S301, total capacity of the RAM is calculated. For instance, if the
total capacity of the RAM is fixed, it is sufficient to set the total
capacity of the RAM to a fixed value. If the total capacity of the RAM is
variable, the total capacity of the RAM is calculated on the basis of
read/write tests of the RAM, a sense port of the total capacity of the
RAM, a combination thereof, or the like. In the next step S302, capacity
which can be used as an image memory 6, in the total capacity of the RAM
obtained in step S301, is calculated. That is, the capacity which can be
used as an image memory 6 is obtained by subtracting the capacity of the
work RAM 5 which is necessary for the work at hand from the total capacity
of the RAM.
In step S303, a resolution of an image to be generated is determined from
the capacity of the image memory 6 obtained in step S302. For instance, if
a memory capacity of one original of the A4 size (210 mm.times.297 mm) is
the capacity required for the image memory 6, the resolution of the output
image is determined in accordance with the capacity of the image memory 6.
That is, if the capacity of the image memory 6 is equal to or less than
7.4 Mbytes, the resolution of the output image is set to 400 pixels/inch.
If the capacity is equal to or larger than 7.4 Mbytes, the resolution of
the output image is set to 800 pixels/inch. In the next step S304, a pixel
image for the image data supplied from the input unit 3 is produced in
accordance with the resolution determined in step S303 and is developed in
the image memory 6.
There is generated the selection control signal 205 to select the output
203 of the smoothing circuit 202 shown in FIG. 2 in the case where the
resolution decided on in step S303 is equal to 400 pixels/inch, or to
select the input pixel image data 201 in the case where the resolution is
equal to 800 pixels/inch. The pixel image data 206 selected by the
selection control signal 205 is supplied to the print mechanism unit 8 and
is printed.
After completion of the printing, in the next step S305, a check is made to
see if the capacity of the work RAM has changed or not. Thus, for
instance, if registration, deletion, or the like of a character pattern
has been executed, the processing routine is returned to step S302 and the
resolution is again determined. However, if the capacity is not changed,
the processing routine is returned to step S304 and the above printing
processes are repeated.
As described above, the resolution of the pixel image data to be produced
is decided in accordance with the memory capacity which is assigned to the
pixel image data and the pixel image data can be produced and printed at
the resolution decided.
Another embodiment
The invention is not limited to the foregoing embodiment but various
modifications are possible within the spirit and scope of the appended
claims of the invention.
In the above embodiment, the resolution which is used has been set to 400
pixels/inch and 800 pixels/ inch. However, the resolution to be used can
be also set to other values and is not limited to just two values but can
be set to a plurality of values. In this case, the apparatus is obviously
changed in a manner such that a number of smoothing circuits and the like
as shown in FIG. 2 equal to the number of resolutions which is used, are
provided, and the outputs of the smoothing circuits are supplied to the
selection circuit 204.
In the illustrated embodiment, the resolution of the print mechanism unit 8
has been fixed to 800 pixels/inch. However, the resolution can be also set
to another different resolution. As a print mechanism unit 8, it is also
possible to use a print mechanism unit in which paper feeding speed, a
sub-scanning speed, and the like are variable and which can print at a
plurality of resolutions. In this case, the conversion unit 7 performs the
storage or safekeeping and thinning-out of image data according to the set
resolution in the print mechanism unit 8 and the drawing resolution in the
image memory 6.
Even by the above modification, the resolution of the pixel image data to
be produced is determined in accordance with the memory capacity which is
assigned to the pixel image data, and the produced pixel image data can be
printed.
Although the case where the image memory 6 is changed according to the
capacity of the work RAM 5 has been described the invention can be also
applied to the case where the image memory 6 is made variable by expanding
the memory.
The size of image memory 6 can be set by a command from an external host
computer or by a dip switch or a panel switch, and the drawing resolution
of the pixel image data in the image memory 6 can be also determined in
accordance with the set size.
As described above, according to the invention, the pixel image data can be
produced and printed at a high resolution in accordance with the capacity
of the memory area.
The present invention is not limited to the foregoing embodiments but many
modifications and variations are possible within the spirit and scope of
the invention, as defined in the appended claims.
Top