WO2005076592A1 - 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム - Google Patents

所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム Download PDF

Info

Publication number
WO2005076592A1
WO2005076592A1 PCT/JP2005/002527 JP2005002527W WO2005076592A1 WO 2005076592 A1 WO2005076592 A1 WO 2005076592A1 JP 2005002527 W JP2005002527 W JP 2005002527W WO 2005076592 A1 WO2005076592 A1 WO 2005076592A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel group
pixel
image
data
dot
Prior art date
Application number
PCT/JP2005/002527
Other languages
English (en)
French (fr)
Inventor
Toshiaki Kakutani
Original Assignee
Seiko Epson Corporation
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
Priority claimed from JP2004033487A external-priority patent/JP2005224983A/ja
Priority claimed from JP2004044649A external-priority patent/JP4375050B2/ja
Priority claimed from JP2004082709A external-priority patent/JP4375071B2/ja
Application filed by Seiko Epson Corporation filed Critical Seiko Epson Corporation
Priority to US10/589,069 priority Critical patent/US7830553B2/en
Priority to CN200580004501.6A priority patent/CN1918898B/zh
Priority to EP05710373A priority patent/EP1722549A4/en
Publication of WO2005076592A1 publication Critical patent/WO2005076592A1/ja
Priority to US12/925,234 priority patent/US8023154B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels
    • H04N1/4051Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels producing a dispersed dots halftone pattern, the dots having substantially the same size
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/21Ink jet for multi-colour printing
    • B41J2/2121Ink jet for multi-colour printing characterised by dot size, e.g. combinations of printed dots of different diameter
    • B41J2/2128Ink jet for multi-colour printing characterised by dot size, e.g. combinations of printed dots of different diameter by means of energy modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/4105Bandwidth or redundancy reduction for halftone screened pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • H04N1/415Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information in which the picture-elements are subdivided or grouped into fixed one-dimensional or two-dimensional blocks

Definitions

  • Image output system for outputting images
  • the present invention relates to a technique for outputting an image based on image data, and more particularly, to a technique for outputting an image by performing predetermined image processing on image data and generating dots at an appropriate density.
  • Image output devices that output images by forming dots on various output media such as print media and liquid crystal screens are widely used as output devices for various types of image equipment.
  • images are handled in a state where they are subdivided into small areas called pixels. Dots (or even formed in these pixels. When dots are formed in pixels, it is of course possible to see each pixel) For example, it is only possible to determine whether a dot is formed or not, but if we look at a region with a certain size, it is possible to cause the density of the formed dot to vary. By changing the dot formation density, it is possible to output multi-tone images.
  • An object of the present invention is to provide a simple image processing technology that can be executed without using a device having a high processing capability such as a personal computer.
  • the present invention provides an image processing apparatus that performs predetermined image processing on image data, and an image output that outputs an image on an output medium by forming dots based on the result of the image processing.
  • “number data” is transferred between the image processing device and the image output device.
  • the “number of pieces of data” is data representing the number of dots to be formed for each pixel group in which a plurality of pixels constituting an image are grouped by a predetermined number.
  • the invention of the present application handles the number data exchanged between the two devices. I. It has a common feature here and has the feature on the image processing device side (first mode), and outputs the feature to an image. This was realized as one with the device (second mode) and one with both devices (third mode). Hereinafter, these features will be briefly described. First, a first embodiment of the present invention will be described.
  • the first image output system of the present invention employs the following configuration. That is,
  • An image output system comprising: an image processing apparatus that performs predetermined image processing on image data; and an image output apparatus that outputs an image on an output medium by forming a dot based on a result of the image processing.
  • the image processing device includes:
  • Correspondence storage means for storing a correspondence between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group.
  • a number data supply unit that generates a number data for each of the pixel groups and supplies the generated number data to the image output device by referring to the correspondence relationship;
  • the image output device is the image output device
  • Pixel position determining means for determining the pixel position
  • a dot forming means for forming a dot on the output medium based on the determined pixel position
  • the image output method of the present invention corresponding to the first image output system described above performs a predetermined image processing on image data, and forms a dot on an output medium based on the obtained result.
  • a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group.
  • a second relationship storing a combination of a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and a number data representing the number of dots formed in the pixel group.
  • a fifth step of forming a dot on the output medium based on the determined pixel position is performed in the image output system and the image output method according to the present invention.
  • an image is divided into a plurality of pixel groups, and number data representing the number of dots formed in the pixel groups is generated and supplied to the image output device.
  • the order of the pixels at which dots are formed in the pixel group is stored in advance.
  • the image output device determines a pixel position where a dot is formed in the pixel group based on the supplied number data and the order of the pixel, and outputs an image by forming a dot.
  • the data representing the number of dots for each pixel group can be much smaller than the data representing the presence or absence of dot formation for all pixels of an image. For this reason, if the number data is supplied to the image output device, the data can be supplied quickly, and the image can be output quickly.
  • the correspondence between the combination of the pixel group classification number and the pixel group gradation value and the number data is stored in advance, and the number data is referred to by referring to this correspondence. Generate.
  • the process of generating the number data by referring to the correspondence is an extremely simple process.
  • the pixel group tone value of the pixel group can be obtained very easily.
  • the classification number can be determined very easily.
  • the processing can be a very simple process. For this reason, it is possible to quickly generate the number data, and furthermore, it is possible to quickly supply the image data to the image output device and quickly output the image. Furthermore, if the number data can be generated by such an extremely simple process, it is possible to quickly generate the number data even in a device such as a computer that does not have a high processing capability. . Therefore, for example, the image data can be directly
  • the image data it is also possible to supply the image data to the image output device, generate the number data inside the image output device, and output the image.
  • a plurality of sets of pixel sequences are stored: When the number data is received, one pixel sequence is selected from each of the plurality of sequences to determine a pixel position. It may be. The pixel position in the pixel group is determined based on the pixel order and the number data. Therefore,
  • the classification number of the pixel group may be given by classifying each pixel group into a plurality of types according to the position in the image. In this way, a classification number can be appropriately assigned as necessary without assigning a classification number to the pixel group in advance. Also, by assigning according to the position in the image, the classification number is assigned appropriately.
  • a dither matrix in which a plurality of thresholds are two-dimensionally arranged is assumed, and a classification number set based on the dither matrix, the number data, and a pixel sequence are used to obtain an image. May be output.
  • a description will be given focusing on a certain pixel group.
  • a classification number of a pixel group is given based on the relative position of the pixel group with respect to the matrix when dither matrix is applied to the image.
  • the number of dots formed in the pixel group is obtained by applying a dither method using dither matrix.
  • the number data representing the number of dots thus obtained is stored in association with the combination of the classification number and the pixel group gradation value. Further, when the dither matrix is applied to the image, the order of the pixels in the pixel group is determined according to the magnitude of the threshold value set in the area corresponding to the pixel group,
  • the obtained order is stored for each classification number.
  • the classification number, the number of pixels, and the pixel order are set based on the same dither matrix, a dot is formed for each pixel using the dither method. It is possible to output an image with exactly the same image quality as when judging the presence or absence of the image.
  • the image data of the pixels grouped as a pixel group has the same gradation value
  • the presence or absence of dot formation is determined for each pixel using the dither method, and a dot is formed from the individual data.
  • a dot is formed at exactly the same pixel position.
  • the first image processing apparatus of the present invention has the following configuration. That is, An image processing apparatus that generates control data used by an image output device that forms a dot and outputs an image to control the formation of the dot by adding predetermined image processing to image data that represents the image And
  • Pixel group tone value determining means For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group. Pixel group tone value determining means,
  • Correspondence storage storing a correspondence between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group.
  • the present invention is characterized in that it comprises: a number data output unit that generates number data for each of the pixel groups by referring to the correspondence relationship and outputs the number data as the control data. Further, the first image processing method of the present invention corresponding to the first image processing apparatus is used in an image output apparatus for forming a dot and outputting an image reward for controlling the formation of the dot. An image processing method for generating control data by adding predetermined image processing to image data representing the image,
  • a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group.
  • the image is divided into a plurality of pixel groups by grouping a plurality of pixels constituting the image by a predetermined number and forming each pixel group.
  • Number data representing the number of dots formed in the pixel group is generated, and the number data obtained for each pixel group is output as control data.
  • the data representing the number of dots for each pixel group can be much smaller than the data representing the presence or absence of dot formation for all pixels of the image. By doing so, it becomes possible to output control data quickly.
  • the correspondence between the combination of the pixel group classification number and the pixel group gradation value and the number data is stored in advance, and the number is determined by referring to the correspondence. Generating data.
  • the process of generating the quantity data by referring to the correspondence is an extremely simple process, so that it is possible to output the control data quickly.
  • the image processing apparatus of the present invention can be configured by incorporating it into a device that does not have a high processing capability, such as a convenience store. It is also possible to carry out the image processing method of the present invention using a device having no ability.
  • the classification number of the pixel group may be given by classifying each pixel group into a plurality of types according to the position in the image. In this way, it is not necessary to assign a classification number to a pixel group in advance, and it is also possible to appropriately assign a classification number by assigning a classification number according to a position in an image.
  • the number of pixels can be reduced without explicitly forming a pixel group by grouping a predetermined number of pixels.
  • Data may be generated. That is, the image data is changed to a resolution such that the size of the pixel after conversion matches the size of the pixel group.
  • one of the pixels whose resolution has been adjusted is treated as a pixel group to assign a classification number, and the gradation value of the image data for each pixel is treated as a pixel group gradation value.
  • the number data of the pixel group is generated without explicitly grouping the plurality of pixels into the pixel group. Due to the demands on image quality, it is common to print images at a higher resolution than the resolution of the image data. In such a case, if the number data is generated by the above-described method, the image data can be converted to a resolution lower than the resolution to be printed, and the number data can be generated. In general, the higher the resolution, the larger the amount of data becomes, and the more difficult it becomes to handle.
  • the number data representing the number of dots formed in the pixel group data representing a combination of the number of dots for a plurality of types of dots with different gradation values to be expressed is generated. You may do it.
  • the plurality of types of dots expressing different gradation values may be, for example, a plurality of types of dots having different dot sizes, or a plurality of types of dots having different dot densities. You can also. Furthermore,
  • pixels of four pixels in the main scanning direction and two or four pixels in the sub-scanning direction are grouped as a pixel group, and the pixel group gradation value is assigned to each pixel group. It may be determined. As a group of pixels ⁇ ) As the number of pixels decreases, the types of classification numbers increase, so the correspondence is complicated. Therefore, from this viewpoint, it is preferable that the number of pixels grouped into a pixel group is large. On the other hand, since the gradation values of the pixels included in the pixel group are combined into the pixel group gradation values, if the number of pixels combined in the pixel group is too large, the image quality may be deteriorated.
  • the first image output device of the present invention has the following configuration. That is,.
  • An image output device that outputs an image corresponding to the image data by forming a dot on an output medium according to the image data, For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group. Pixel group tone value determining means,
  • Correspondence storage storing a correspondence between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group.
  • Number data generating means for generating number data for each of the pixel groups by referring to the correspondence relationship
  • Pixel position determining means for determining a pixel position at which a pixel is formed
  • Dot forming means for forming a dot on the output medium based on the determined pixel position.
  • the image is divided into a plurality of pixel groups, and the number data representing the number of dots formed in the pixel group is generated.
  • the pixel group tone value of the pixel group is obtained, and then generated by referring to the correspondence relationship between the combination of the pixel group classification number and the pixel group tone value and the count data. I do.
  • a pixel position where a dot is to be formed in the pixel group is determined from the number data, and an image is output by forming a dot at the determined pixel.
  • the pixel group gradation value of the pixel group can be obtained very easily. Therefore, if the correspondence between the combination of the pixel group classification number and the pixel group gradation value and the number data is determined in advance, and the number data is determined by referring to such correspondence, the number data can be extremely easily determined. Can be generated. For this reason, an image output device can be used without using a device having a high processing capability such as a combination device. Forming the number data in the device, determining the pixel position, and then forming the dots is preferable because the image can be output quickly. Further, the present invention can be realized using a computer by reading a program for implementing the above-described image output method or image processing method into a computer. Therefore, the present invention also includes the following program or a recording medium on which the program is recorded. That is, the first image output program of the present invention corresponding to the above-described first image output method includes:
  • a computer-implemented program for performing predetermined image processing on image data and forming a dot on an output medium based on the obtained result to output an image using a computer
  • a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group.
  • a fourth function for determining the pixel position where the dot is formed is stored, and the dots are arranged in the pixel group based on the number data supplied for each pixel group and the order of the pixels.
  • a first image processing program of the present invention corresponding to the above-described image processing method includes: A method of generating control data used by an image output device for forming a dot and outputting an image to control the formation of the dot by applying predetermined image processing to the image data representing the image, A program for realizing using a computer, wherein for each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value which is a gradation value representing the pixel group is displayed. (A) determining based on image data of each pixel in the pixel group;
  • the step (C) of generating the number data for each of the pixel groups by referring to the correspondence and outputting the number data as the control data is realized. Further, it is of course possible to grasp the present invention as a recording medium on which the first image processing and image output program is recorded. If such a program or a program recorded on a recording medium is read at the convenience of a computer, and the various functions described above are realized using the computer, image processing and data transfer can be performed at high speed, and a simple Image processing can be realized. Next, a second embodiment of the present invention will be described.
  • the second image output system of the present invention is:
  • An image output system comprising: an image processing apparatus that performs predetermined image processing on image data; and an image output apparatus that outputs an image on an output medium by forming a dot based on a result of the image processing.
  • the image processing apparatus includes:
  • the image is divided into a group of pixels in which a plurality of pixels are grouped by a predetermined number, and number data representing the number of dots formed in each of the pixel groups is generated based on the image data.
  • Means for generating quantity data
  • Number data supply means for supplying the number data generated for each pixel group to the image output device
  • the image output device is the image output device
  • Order value obtaining means for obtaining, for each pixel in the pixel group, an order value indicating an order in which dots are formed in the pixel group;
  • Correspondence storage means for storing a correspondence between a combination of the order value and the number data and the presence or absence of dot formation in a pixel having the order value
  • the presence / absence of dot formation for each pixel in the pixel group is determined by referring to the correspondence for each combination of the number data and the respective order values.
  • Means for determining whether or not to form a dot
  • the gist is to provide Further, the second image output method of the present invention corresponding to the second image output system,
  • the gist is to provide In the second image output system and image output method according to the present invention, an image is divided into a plurality of pixel groups, number data is generated for each pixel group, and supplied to the image output device.
  • the image output device obtains an order value indicating the order in which dots are formed for each pixel in the pixel group: ⁇ .
  • a continuous integer value starting from “1” may be set in advance for each pixel in the pixel group, and this integer value may be read and replaced with the order value.
  • a real value of a different value may be set in advance for each pixel, and the order value of each pixel may be determined according to the order of the magnitude of the real value.
  • a context may be set between the pixels, and the order value of each pixel may be determined based on the context.
  • the image output device also stores the correspondence between the combination of the order value and the number data and the presence or absence of dot formation in pixels having the order value. Then, when the number data for the pixel group is received, the correspondence relationship is referred to based on a combination of the number data and the order value for each pixel in the pixel group, so that a dot for each pixel in the pixel group is obtained. Determine the presence or absence of formation. An image is output by forming dots on an output medium according to the presence or absence of dot formation determined in this way.
  • the data representing the number of dots for each pixel group is far smaller than the data representing the presence or absence of dot formation for all the pixels of the image. Small data. For this reason, if the number data for each pixel group is supplied to the image output device, the data can be supplied promptly, and the image can be output quickly.
  • the image output device receives the number data output for each pixel group, the image output device refers to the correspondence relationship based on a combination of the number data and the order value of each pixel in the pixel group, thereby obtaining the number of pixels in the pixel group. Is determined for each pixel.
  • the presence or absence of dot formation for each pixel in the pixel group can be immediately determined from the number data, so that it is extremely quick and It can be easily determined, and the image can be output quickly. Furthermore, the presence / absence of dot formation can be determined by such an extremely simple process. Even if the image output device does not have a high processing capability like an image processing device, the number of dots can be reduced. It is possible to quickly determine the presence or absence of dot formation for each pixel from the evening. In such an image output system, the order value of each pixel may be obtained as follows to determine whether or not to form dots.
  • a plurality of sets of the order of pixels in which dots are formed in the pixel group are stored, and one order is selected for each pixel group from the plurality of sets. Then, an order value for each pixel in the pixel group may be obtained based on the selected order, and the presence or absence of dot formation for each pixel may be determined based on the obtained order value. Whether or not a dot is formed for each pixel in the pixel group is determined based on the number data and the order value.
  • the number data is generated based on a dither matrix that associates a threshold value with each of the two-dimensionally arranged pixels, and is acquired based on the same dither matrix.
  • the order value may be used to determine whether or not dots are formed for each pixel. That is, the dither matrix is divided into a plurality of pixel groups, and the number of dots formed in the pixel group is obtained to generate number data.
  • the divided dither matrix By using the divided dither matrix to determine the presence or absence of dot formation for each pixel in the pixel group, data of the number of dots formed in the pixel group may be generated. Alternatively, in order to generate the number data, since it is not necessary to know the pixel position where the dot is formed, the following can be simplified. First, only the threshold set for the divided dither matrix is stored for each pixel group. Next, a gradation value (representative gradation value) representing the pixel group is determined. As the representative gradation value, the average value of the image data of each pixel can be used, or since the image data has an approximate value between adjacent pixels, the pixel at a predetermined position in the pixel group Can be used as the representative gradation value.
  • the number of threshold values smaller than the representative gradation value can be obtained for each pixel group, and the obtained value can be used as the number of dots of the pixel group.
  • the presence or absence of dot formation for each pixel in the pixel group is determined as follows.
  • the dither matrix used for generating the number data is divided into a plurality of pixel groups in advance, and a plurality of sets of the pixel order determined based on the threshold value associated with each pixel in the pixel group are stored. .
  • the order value of each pixel is determined for each pixel group based on the magnitude relationship of the threshold value associated with each pixel in the pixel group, and a plurality of sets of the obtained order values are stored as the pixel order. Then, when the number data of the pixel group is received, the order of 1 corresponding to the position of the pixel group on the image is selected, and the order value of each pixel is obtained based on the order, and then the dot form is obtained. It is also possible to determine the presence or absence of the configuration. As will be described in detail later, in this way, the number of pixels in the pixel group is generated based on the dither matrix, and whether or not dots are formed for each pixel in the pixel group is determined in the same dither matrix.
  • the second image output device of the present invention has the following configuration. That is,
  • An image output device that receives an image data on which predetermined image processing has been performed, and forms a dot on an output medium based on the image data, thereby outputting an image
  • Number data representing the number of dots to be formed in the pixel group in a state where a plurality of pixels constituting the image are grouped into a predetermined number of pixels to divide the image.
  • an order value obtaining means for obtaining an order value indicating an order in which dots are formed in the pixel group
  • a correspondence relationship storage unit that stores a correspondence relationship between a combination of the order value and the number data, and whether or not dots are formed in pixels having the order value
  • a dot formation presence / absence determining means for determining the presence / absence of dot formation by referring to the correspondence for each combination of the number data and the order value for each pixel in the pixel group receiving the number data;
  • the gist is to provide A second image output method of the present invention corresponding to the second image output device described above receives image data on which predetermined image processing has been performed, and forms a dot on an output medium based on the image data.
  • Step (A) In a state in which a plurality of pixels constituting the image are grouped into a pixel group by a predetermined number in order to divide the image, the number data representing the number of dots to be formed in the pixel group is received as the image data.
  • Determining the presence or absence of dot formation by referring to the correspondence for each combination of the number data and the order value for each pixel in the pixel group that has received the number data; (E) forming a dot on the output medium in accordance with the determined presence or absence of the dot formation;
  • the gist is to provide In the second image output apparatus and the second image output method, when the number data of the pixel group is received, the combination of the order value and the number data and the presence / absence of dot formation in the pixel having the order value are determined. The presence or absence of dot formation is determined for each pixel in the pixel group while referring to the correspondence. An image is output by forming dots on the output medium in accordance with the presence or absence of dot formation determined in this way. As will be described later, if the number data of the pixel group can be received quickly, the image can be output quickly.
  • the presence or absence of the dot formation of 1: for each pixel can be determined by referring to the correspondence set for each combination of the number data and the order value, so that the determination can be made easily and quickly. it can. For this reason, it is possible to output an image quickly, and to output an image at a sufficiently practical speed even in an image output device that does not have a high processing capability.
  • the second image output device a plurality of sets of pixels in which dots are formed in a pixel group are stored, and the order value of each pixel is stored for each of the pixels.
  • one order is selected for each pixel group from the plurality of orders, and the presence or absence of dot formation for each pixel is determined using the order value obtained based on the order. It may be.
  • the same is applied to a plurality of pixel groups. Since no dot is formed at the pixel position, it is possible to avoid that the area where the dot is formed in the same pattern becomes conspicuous and the image quality is deteriorated.
  • a plurality of types of dots having different gradation values to be expressed can be output, and the number of various types of dots formed in the pixel group may be received as number data.
  • the plurality of types of dots having different gradation values may be, for example, a plurality of types of dots having different dot sizes, or a plurality of types of dots having different dot densities. It can also be. Furthermore, when one dot is formed in a pseudo manner by forming fine dots at a predetermined density, it is possible to use a plurality of types of dots having different densities of fine dots. It is. When these various dots can be formed, a combination of the number of various dots is received as number data. Then, the correspondence between the combination of the order value and the number data and the type of dot formed in the pixel having the order value is stored, and when the count data is received, the correspondence is referred to.
  • the type of dot formed in each pixel may be determined, and various dots may be formed on the output medium according to the determined presence / absence of dot formation. If the presence or absence of dot formation for each pixel in the pixel group is determined with reference to the correspondence, even if the number data is data indicating a combination of the number of dots for multiple types of dots, each pixel The presence or absence of dot formation for can be determined very easily, as in the case of data simply representing the number of dots. For this reason, it is preferable because the presence or absence of the dot formation can be quickly determined and the image can be quickly output. In such an image output device, it is necessary to receive the number data for a pixel group in which eight to sixteen pixels each having a predetermined positional relationship are put together.
  • the number of pixels grouped as a pixel group increases, the number of pixel groups decreases, so that the number data can be received quickly.
  • the number of pixels to be collected in the pixel group is too large, the image quality may be deteriorated.
  • experience has shown that the best results can be obtained when 8 to 6 pixels are combined into a pixel group. That is, as will be described in detail later, if the number of pixels to be grouped into a pixel group is changed from 8 pixels to 16 pixels, the data amount of the number data is reduced to half of the data indicating the presence or absence of dot formation for each pixel. It can be reduced to the following, and data can be received quickly.
  • the positional relationship of a plurality of pixels grouped into a pixel group may be, for example, a positional relationship such that each pixel forms a rectangular shape, such as four pixels in the main scanning direction and two pixels in the sub-scanning direction.
  • the image processing output device of the present invention has the following configuration. That is,
  • An image processing output device that outputs an image corresponding to the image data by forming a dot on an output medium in accordance with the image data
  • the image is divided into a set of pixel groups in which a plurality of pixels are grouped by a predetermined number, and the number data representing the number of dots formed in each of the pixel groups is generated based on the image data.
  • Data generation means
  • an order value obtaining means for obtaining an order value indicating an order in which dots are formed in the pixel group
  • a correspondence relationship storage unit that stores a correspondence relationship between a combination of the order value and the number data, and whether or not dots are formed in pixels having the order value
  • the presence or absence of dot formation is determined by referring to the correspondence for each combination of the number data and the order value. Means for determining whether a dot is to be formed,
  • the gist is to provide In the image processing output device of the present invention as well, the image is divided into a plurality of pixel groups, and number data representing the number of dots formed in the pixel groups is generated. Next, the presence or absence of the dot formation for each pixel in the pixel group is determined with reference to the correspondence between the combination of the order value and the number data and the presence or absence of the dot formation in the pixel having the order value. An image is output by forming dots on an output medium according to the presence / absence of dot formation determined in this way. If the presence or absence of dot formation for each pixel is determined with reference to the correspondence set for each combination of the number data and the order value in this way, it is possible to determine easily and quickly.
  • the present invention can be realized by using a computer to read a program for implementing the above-described image output method or image processing output method into a computer. Therefore, the present invention includes an embodiment as a program or a recording medium on which the program is recorded. If such a program or a program recorded on a recording medium is read at the convenience of a computer and the various functions described above are realized using the computer, it is possible to easily and quickly output an image.
  • a third embodiment of the present invention will be described. In the third embodiment, the image in the first embodiment
  • the third image output system of the present invention employs the following configuration. That is, an image output system including an image processing apparatus that performs predetermined image processing on image data and an image output apparatus that outputs an image on an output medium by forming a dot based on the result of the image processing. So,
  • the image processing device includes:
  • Pixel group tone value determining means for determining For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is calculated based on image data of each pixel in the pixel group.
  • a first correspondence which is a correspondence between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group is referred to.
  • a number data supply unit that generates a number data for each of the pixel groups and supplies the generated number data to the image output device;
  • the image output device is the image output device
  • An order value storage unit that stores, for each pixel in the pixel group, an order value indicating an order in which dots are formed in the pixel group;
  • a second correspondence relationship which is a correspondence relationship between the combination of the order value and the number data and the presence / absence of dot formation in the pixel having the order value
  • the pixel group receiving the number data is referred to.
  • a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group.
  • each of the pixels in the pixel group that generated the number data is referred to.
  • the gist is that it is provided.
  • the image is divided into a plurality of pixel groups, and a number data representing the number of dots formed in the pixel groups is generated.
  • the image output device supplies the supplied number data.
  • the data representing the number of dots for each pixel group can be much smaller than the data representing the presence or absence of dot formation for all pixels of an image.
  • the number data is supplied to the image output device, the data can be supplied quickly, and the image can be output quickly.
  • the number data is generated by referring to the correspondence (first correspondence) between the combination of the pixel group classification number and the pixel group gradation value and the number data.
  • the process of generating quantity data by referring to the correspondence is a very simple process.
  • the pixel group gradation value of the pixel group can be obtained very easily.
  • the classification number can be determined very easily, so that the process of generating the quantity data can be a very simple process.
  • the image output device determines whether or not to form dots for each pixel in the pixel group as follows. First, an order value indicating the order in which dots are formed in the pixel group is stored in advance for each pixel in the pixel group. Then, by referring to the correspondence (second correspondence) between the combination of the order value and the count data and the presence / absence of dot formation at the pixel having the order value, the pixel group to which the count data is supplied is referred to. For each pixel inside, determine whether or not to form dots.
  • the dot for each pixel in the pixel group can be determined. Since the presence / absence of formation can be determined immediately from the number data, it is possible to determine very quickly and easily, and furthermore, it is possible to output an image quickly. Furthermore, if the process of generating the number data and the process of determining the presence or absence of dot formation for each pixel in the pixel group from the number data can be executed by such a very simple process,
  • the classification number of the pixel group may be given by classifying each pixel group into a plurality of types according to the position in the image. In this way, a classification number can be appropriately assigned as needed without assigning a classification number to a pixel group in advance. Also, by assigning according to the position in the image, the classification number can be assigned appropriately. From such a viewpoint, the present invention can be understood as the following image output device. That is, the third image output apparatus of the present invention corresponding to the third image output system or the third image output method described above,
  • An image output device that outputs an image corresponding to the image data by forming a dot on an output medium in accordance with the image data
  • Pixel group tone value determining means For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group.
  • Pixel group tone value determining means A first correspondence, which is a correspondence between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group is referred to.
  • a number data generating means for generating number data for each of the pixel groups;
  • An order value storage unit that stores, for each pixel in the pixel group, an order value indicating an order in which dots are formed in the pixel group;
  • each of the pixels in the pixel group that generated the number data is referred to.
  • the gist is to provide In the third image output device, the image is divided into a plurality of pixel groups, and the number data is generated for each pixel group by referring to the first correspondence. Next, by referring to the second correspondence, the presence or absence of dot formation for each pixel in the pixel group is determined from the number data. An image is output by forming dots on the output medium based on the result determined in this way. Thus, if the image data is converted while referring to these correspondences, it is possible to output the image easily and quickly. Furthermore, it is possible to configure an image output device capable of outputting an image at a sufficiently practical speed even in a device such as a computer that does not have a high processing capability.
  • the present invention in the third aspect can be understood as an image processing control system that performs up to generation of dots to be formed. That is, A first image processing apparatus for performing predetermined image processing on image data, and control data used for controlling the formation of dots when forming dots on an output medium and outputting an image.
  • An image processing control system comprising: a second image processing device that generates based on a result of the image processing.
  • the first image processing device includes:
  • Pixel group tone value determining means for determining For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is calculated based on image data of each pixel in the pixel group.
  • a first correspondence relationship which is a correspondence relationship between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group.
  • the second image processing device includes:
  • Order value storage means for storing, for each element in the pixel group, an order value indicating the order in which dots are formed in the pixel group;
  • Control data generating means for generating the control data by determining whether or not dots are formed for each pixel in the
  • the image processing control method of the present invention corresponding to the above-described image processing control system includes a control data used for controlling the formation of the dot when forming the dot and outputting the image.
  • An image processing control method generated by applying predetermined image processing to image data representing an image, For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group. (A)
  • a first correspondence relationship which is a correspondence relationship between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group, is referred to.
  • a second correspondence relationship which is a correspondence relationship between the combination of the order value and the number data and the presence / absence of dot formation in a pixel having the order value
  • the number data in the pixel group that generated the number data is referred to.
  • the gist is to provide
  • the image is divided into a plurality of pixel groups by forming a pixel group by grouping a plurality of pixels constituting the image by a predetermined number. Generates the number data representing the number of dots formed inside.
  • control data is generated by determining the presence or absence of dot formation for each pixel in the pixel group based on the number data generated for each pixel group. As will be described later, data representing the number of dots for each pixel group is smaller than data representing the presence / absence of dot formation for all pixels of the image. Control data can be generated easily and quickly.
  • the number data When generating the number data, the number data is generated by referring to the first correspondence, that is, the correspondence between the combination of the pixel group classification number and the pixel group gradation value and the number data. Therefore, the number data can be generated quickly and with extremely simple processing. Furthermore, when generating the control data from the number data, the second correspondence, that is, the correspondence between the combination of the order value and the number data and the presence / absence of dot formation in the pixels having the order value is also considered. Because it is generated by reference, it is quick and extremely simple processing,
  • Control data can be generated from the number data. As a result, control data can be easily and quickly generated from the image data, and further, by using the generated control data, an image can be output quickly. Furthermore, since control data can be generated from image data by extremely simple processing, control data can be generated at a sufficiently practical speed even for devices that do not have high processing capabilities such as computers. It is possible.
  • the present invention can be understood as the following image processing control device. That is, the image processing control system of the present invention corresponding to the image processing control system or the image processing control method described above includes:
  • An image output device that forms a dot and outputs an image generates control data used to control the formation of the dot by performing predetermined image processing on the image data representing the image.
  • Pixel group tone value determining means For each pixel group in which a plurality of pixels constituting the image are grouped by a predetermined number, a pixel group gradation value that is a gradation value representing the pixel group is determined based on image data of each pixel in the pixel group. Pixel group tone value determining means,
  • a first correspondence which is a correspondence relationship between a combination of a classification number assigned to each pixel group and a pixel group gradation value of the pixel group, and number data representing the number of dots formed in the pixel group
  • a number data supply unit for generating number data for each of the pixel groups by referring to the relationship
  • Order value storage means for storing, for each pixel in the pixel group, an order value indicating an order in which dots are formed in the pixel group;
  • the gist is to provide In such an image processing control device, after an image is divided into a plurality of pixel groups, number data is generated for each pixel group from the image data by referring to the first correspondence relationship, and then the second correspondence relationship is generated. By reference, control data is generated from the number data for each pixel group. As described above, by performing conversion while referring to these correspondences, it is possible to easily and quickly generate control data. Furthermore, it is possible to configure an image processing apparatus that can generate control data at a sufficiently practical speed even for a device that does not have a high processing capability, such as a convenience store. In such an image processing control system, image processing control method, or image processing control device, the following may be performed.
  • a plurality of sets of the order of the pixels in which the dots are formed in the pixel group are stored, and the order value of each pixel in the pixel group is stored for each order of each pixel.
  • an order of 1 is selected for each pixel group from the plurality of sets, and the presence or absence of dot formation for each pixel in the pixel group is determined using the order value stored in the selected order.
  • This generates control data.
  • the presence or absence of dot formation for each pixel in the pixel group is determined by the number data of the pixel group. It is determined based on the order value of each pixel in the pixel group.
  • the order value of each pixel is different for each pixel group. Therefore, even when the same number data continues over a plurality of pixel groups, dots are not formed at the same pixel positions in these pixel groups because the order values are different. For this reason, it is possible to reliably avoid the region where the dots are formed in the same pattern from being conspicuous and the image quality deteriorating.
  • the classification number of the pixel group can be assigned in the same manner as in the first embodiment of the present invention.
  • a dither matrix in which a plurality of thresholds are two-dimensionally arranged is assumed, and a classification number set based on the dither matrix is set.
  • the control data may be generated using the data, the count data, and the order value.
  • description will be made focusing on a certain pixel group.
  • a pixel group classification number is assigned based on the relative position of the pixel group with respect to the matrix when dither matrix is applied to the image.
  • the number of dots formed in the pixel group is obtained by applying a dither method using a dither matrix.
  • the number data representing the number of dots thus obtained is stored as a first correspondence in association with the combination of the classification number and the pixel group gradation value. Further, when the dither matrix is applied to the image, the order value for each pixel in the pixel group is determined according to the threshold value set in the region corresponding to the pixel group, and the obtained order value is obtained. Are stored as the order of a plurality of sets of pixels. Then, when the number data of the pixel group is generated, the order of 1 corresponding to the position of the pixel group is selected on the image, and the order value set in the order is used to select each pixel. Control data is generated by judging the presence or absence of all dot formation.
  • the presence or absence of dot formation for each pixel using the dither method It is possible to output an image with exactly the same image quality as that in the case of judging.
  • the image data of the pixels grouped as a pixel group has the same gradation value
  • the presence or absence of dot formation for each pixel is determined by using the dither method, and the number data is used for each pixel.
  • the presence or absence of dot formation is determined, a dot is formed at exactly the same pixel position.
  • the classification number, the number data, and the order value may be set based on a dither matrix having a so-called blue noise mask characteristic.
  • the “dither matrix having the blue noise mask characteristic” in this specification refers to the following matrix.
  • the dots are generated irregularly, and the spatial frequency component of the set threshold value is the dither matrix having the largest component in the high frequency region where one cycle is 2 pixels or less.
  • dots may be formed in a regular pattern near a specific brightness, such as a bright (high brightness) image. If the classification number, quantity data, and ordinal value are set based on such a dither matrix having a blue noise mask characteristic, an image can be output with a dot distribution reflecting the blue noise mask characteristic.
  • the classification number, the number data, and the order value may be set based on a dither matrix having so-called green noise mask characteristics.
  • the “dither matrix having a green noise mask characteristic” in this specification refers to the following matrix.
  • the dots are generated irregularly, and the set spatial frequency component of the threshold is a dither matrix having the largest component in an intermediate frequency region in which one cycle is from two pixels to more than ten pixels.
  • a dot may be formed in a regular pattern near a specific brightness.
  • image output equipment such as the so-called laser printer
  • the use of dither matrices having such a green noise mask characteristic allows the isolated Dot generation can be suppressed. As a result, images with stable image quality can be output quickly. Note that such a method can be adopted in the first and second aspects of the present invention. Of course.
  • a predetermined number of pixels are explicitly collected by adjusting the resolution of image data to the following resolution.
  • the number data may be generated without forming a pixel group. That is, the image data is changed to a resolution such that the size of the pixel after conversion matches the size of the pixel group.
  • a classification number is assigned by treating each of the pixels whose resolution has been adjusted as a pixel group, and the gradation value of the image data for each pixel is treated as a pixel group gradation value. Generate count data for each pixel.
  • the number data of the pixel group is generated without explicitly grouping the plurality of pixels into the pixel group.
  • the image data can be converted to a resolution lower than the resolution to be printed, and the number data can be generated.
  • the higher the resolution the greater the data volume and the more difficult it becomes to handle the image data.
  • Generating the number data at a lower resolution generally facilitates the handling of the data. Even the process of generating evening can be speeded up.
  • image processing control method, or image processing control device as the number data representing the number of dots formed in the pixel group, a plurality of types of dots having different gradation values are expressed.
  • the plurality of types of dots expressing different gradation values may be, for example, a plurality of types of dots having different dot sizes, or a plurality of types of dots having different dot densities. You You can also. Furthermore, by forming fine dots at a predetermined density,
  • a plurality of types of dots having different densities of fine dots can be used.
  • the number data for each pixel group can be calculated. Generate. Then, by referring to a second correspondence relationship indicating a correspondence relationship between the combination of the order value and the number data and the dot type formed in the pixel having the order value, the number generated for each pixel group is obtained. Control data is generated by determining whether or not various dots are formed for each pixel from the data.
  • the number data is data indicating a combination of the number of dots for a plurality of types of dots, but simply data representing the number of dots As in the case of, the number data can be generated very easily.
  • S always, when judging the presence or absence of dot formation for each pixel, as the number of types of dots increases, the process of making judgments becomes more complicated, and it tends to be complicated, so refer to the first correspondence.
  • By generating the number data it is preferable to increase the number of types of the dots because the number can be relatively quickly generated.
  • the process of determining the presence or absence of dot formation for each pixel tends to be complicated as the number of types of dots increases, but the presence or absence of formation of various dots is determined by referring to the second correspondence. Once determined, it can be easily determined even if there are many types of dots. That is, it is possible to relatively quickly determine whether or not to form dots. After all, the larger the number of types of dots, the faster the control data can be generated from the image data, which is preferable. Further, the above-described image processing control system, image processing control method, or image processing In the control device, four to sixteen pixels having a predetermined positional relationship with each other may be grouped as a pixel group to determine a pixel group gradation value.
  • the number of pixel groups increases as the number of pixels grouped as a pixel group decreases, the first correspondence becomes complicated. Therefore, from this viewpoint, it is preferable that the number of pixels grouped into a pixel group is large.
  • the gradation values of the pixels included in the pixel group are combined into the pixel group gradation values, if the number of pixels combined in the pixel group is too large, the image quality may be deteriorated. Based on these points, the best experience can be obtained from a case where 8 to 16 pixels are grouped together into a pixel group, but 4 to 16 pixels are collected. Sufficient results can be obtained even when grouped.
  • the positional relationship of a plurality of pixels combined into a pixel group may be, for example, a positional relationship that forms a rectangular shape with respect to each other, such as four pixels in the main scanning direction and two pixels in the sub-scanning direction. From experience, it is possible to obtain good image quality.
  • the present invention can be realized by using a computer to read a program for implementing the above-described image output method or image processing control method. Therefore, the present invention also includes the following program or an embodiment as a recording medium on which the program is recorded.
  • FIG. 1 is an explanatory diagram illustrating a first embodiment of the present invention using a printing system as an example.
  • FIG. 2 is an explanatory diagram illustrating a configuration of a computer as an image processing apparatus according to the present embodiment.
  • FIG. 3 is an explanatory diagram illustrating a schematic configuration of a color printer according to the present embodiment.
  • FIG. 4 is an explanatory diagram showing an arrangement of inkjet nozzles in the ink ejection head.
  • FIG. 5 is a flowchart showing the overall flow of the image printing process of the first embodiment.
  • FIG. 6 is an explanatory diagram conceptually illustrating a part of the dither matrix.
  • FIG. 7 is an explanatory diagram conceptually showing a state in which the presence or absence of dot formation is determined for each pixel with reference to the dither matrix.
  • FIGS. 8A to 8D are explanatory diagrams showing a state in which image data is converted into data representing the presence or absence of dot formation using the dither method.
  • FIGS. 9A to 9D are explanatory diagrams showing how to generate data indicating the presence or absence of dot formation for each pixel from the data of the number of dots.
  • FIG. 10 is a flowchart illustrating the flow of the count data generation process according to the first embodiment.
  • FIG. 11a to FIG. 11c are explanatory diagrams showing a concept for determining a classification number for each pixel group. .
  • FIGS. 12a to 12d are explanatory diagrams showing a method of determining the classification number of the pixel group.
  • FIG. 13 is an explanatory diagram showing a specific method for determining a classification number of a pixel group.
  • FIG. 14 is an explanatory diagram conceptually showing a conversion table referred to for obtaining the number data from the pixel group classification number and the pixel group gradation value.
  • FIG. 15 is an explanatory diagram conceptually showing how appropriate number data is determined according to the combination of the pixel group classification number and the pixel group gradation value.
  • FIG. 16 is a flowchart illustrating the flow of the pixel position determination process according to the first embodiment.
  • FIG. 17 is an explanatory diagram showing the results of trial calculation of the data size of the conversion table under various conditions.
  • FIG. 18 is a flowchart showing the flow of an image printing process according to a modification of the first embodiment.
  • FIGS. 19a to 19c are explanatory diagrams showing the processing performed in the resolution adjustment processing.
  • FIG. 20 is a flowchart showing the flow of the number data generation process performed in the image printing process of the modified example.
  • FIG. 21 is a flowchart showing the flow of processing for determining the number of large, medium, and small dots formed in a pixel group using a so-called dither method.
  • FIG. 22 is a flowchart showing the flow of processing for determining whether or not each of large, medium, and small dots is formed by performing halftone processing on a selected pixel.
  • FIG. 23 is an explanatory view conceptually showing a dot density conversion table referred to when converting the gradation value of image data into density data for each of large, medium and small dots.
  • FIG. 24 is an explanatory diagram conceptually showing a state in which the presence or absence of large, medium and small dots is determined while applying the dither method to each pixel in the pixel group.
  • FIG. 25 is an explanatory diagram conceptually showing a state in which the number of large, medium, and small dots formed in the pixel group is obtained.
  • FIG. 26 is an explanatory diagram showing a correspondence table in which combinations of the numbers of large, medium, and small dots formed in a pixel group are associated with coded number data.
  • FIG. 27 is a flowchart illustrating the flow of the count data generation process according to the second embodiment.
  • FIG. 28 is an explanatory diagram conceptually showing a conversion table referred to in the count data generation processing of the second embodiment.
  • FIG. 29 is a flowchart illustrating the flow of the pixel position determination process according to the second embodiment.
  • FIG. 30 is an explanatory diagram conceptually showing a decoding table referred to for decoding the number data coded in the pixel position determination processing of the second embodiment.
  • FIG. 31 is an explanatory diagram conceptually showing how pixel positions for forming large, medium, and small dots are determined with reference to an order matrix.
  • FIG. 32 is an explanatory view conceptually showing another mode of the decoding table referred to for decoding the encoded number data.
  • FIG. 33 is an explanatory diagram showing the results of trial calculation of the data size of the conversion table under various conditions in the second embodiment.
  • FIG. 34 is an explanatory diagram for describing the second embodiment of the present invention using a printing system as an example.
  • FIG. 35 is a flowchart illustrating the overall flow of the image printing process according to the third embodiment.
  • FIG. 36 is a flowchart illustrating the flow of the count data generation process according to the third embodiment.
  • FIG. 37 is a flowchart showing the flow of the dot on-off state determination process of the third embodiment.
  • FIGS. 38a to 38c are explanatory diagrams conceptually showing a state in which the presence / absence of dot formation is determined for each pixel in the dot formation presence / absence determination processing of the third embodiment.
  • FIG. 39 is an explanatory diagram conceptually showing a conversion template referred to for determining whether or not a dot is formed for a target pixel.
  • FIG. 40 is a flowchart showing the flow of a dot formation presence / absence determination process according to a modification.
  • FIGS. 41a to 41d are explanatory diagrams showing a method of generating a plurality of order value matrices referred to in the dot formation presence / absence determination processing of the modified example.
  • FIGS. 42a to 42d are explanatory diagrams showing a method of selecting an order value matrix corresponding to a pixel group.
  • FIG. 7 is an explanatory diagram specifically showing a method of selecting.
  • FIG. 44 is an explanatory diagram showing the results of trial calculation of the amount of memory required to store the order value matrix, assuming a dither matrix of various sizes and a pixel group of various sizes.
  • FIG. 45 is a flowchart showing the flow of a process for determining the number of various large, medium, and small dots formed in the pixel group and generating the number data.
  • FIG. 46 is a flowchart showing the flow of processing for determining whether or not various large, medium, and small dots are formed without referring to the conversion table.
  • FIG. 47 is an explanatory diagram conceptually showing a conversion table referred to in the dot formation presence / absence determination processing of the fourth embodiment.
  • FIG. 48 is an explanatory diagram summarizing the results of trial calculation of the amount of memory required to store the conversion table for each pixel group size.
  • FIG. 49 is an explanatory diagram for describing the third embodiment of the present invention using a printing system as an example.
  • FIG. 50 is a flowchart showing the flow of the count data generation process of the fifth example).
  • FIG. 51 is a flowchart showing the flow of the dot formation presence / absence determination processing of the fifth embodiment.
  • FIG. 52 is an explanatory diagram conceptually illustrating a dither matrix having a blue noise mask characteristic and a spatial frequency characteristic of a threshold set in the dither matrix having a green noise mask characteristic.
  • FIG. 1 is an explanatory diagram illustrating a first embodiment of the present invention using a printing system as an example.
  • the printing system includes a computer 10 as an image processing device, a printer 20 as an image output device, and the like.
  • a predetermined program is loaded into the computer 10 and executed, the computer 10 10 and pudding 20 as a whole function as an integrated image output system.
  • the printer 20 prints an image by forming dots on a print medium.
  • the computer 10 performs predetermined image processing on the image data of the image to be printed, so that the printer 20 generates data for controlling the formation of dots for each pixel. Supply.
  • a typical printing system prints an image as follows.
  • image data is converted into data representing the presence or absence of dot formation on a pixel-by-pixel basis by performing predetermined image processing at a short time. Then, the obtained data is supplied to a printer, and the printer prints an image by forming a dot according to the supplied data.
  • the printing system illustrated in Fig. 1 prints an image as follows.
  • the computer 10 divides an image into a plurality of pixel groups by grouping pixels constituting an image into a predetermined number of adjacent pixels. Then, for each pixel group, number data representing the number of dots formed in the pixel group is generated and supplied to the printer 20.
  • the printer 20 When the printer 20 receives the number data for each pixel group, it determines the pixel position for forming a dot for each pixel group with reference to the order storage module.
  • the order storage module stores the order of pixels in each of which a dot is formed in a pixel group.
  • the pixel position determination module determines a pixel position where a dot is to be formed, based on the order of the pixels and the number data of the pixel group.
  • the image is printed by the dot forming module forming dots at the pixel positions determined in this way.
  • the number data for each pixel group can be a much smaller data amount.
  • the number data of the pixel group is generated in the computer 10 as follows. First, in a pixel group tone value determination module, pixel group tone values are determined for a plurality of pixel groups that divide an image. Pixel group gradation value is the gradation that represents the pixel group And is determined based on the image data of each pixel included in the pixel group. Also, the correspondence storage module contains
  • the correspondence between the combination of the classification number assigned to the pixel group and the pixel group gradation value and the number data of the pixel group having the combination is stored.
  • the classification number of the pixel group can be set by classifying each pixel group into a plurality of types according to the position in the image, or when the image is always divided in the same manner.
  • An appropriate classification number can be assigned in advance to each pixel group.
  • the counting data overnight supply module refers to the correspondence between the classification number and the pixel group gradation value and the number data to obtain the classification number and the pixel group gradation value of each pixel group.
  • the number data is determined for each pixel group based on the pixel data, it is supplied to the printer 20.
  • the pixel group gradation value of the pixel group can be easily obtained.
  • the classification number of each pixel group can be easily determined and assigned.
  • the number data can be easily obtained from the classification number and the pixel group gradation value.
  • the printing system illustrated in FIG. 1 can generate the number data for each pixel group very quickly, and can supply the generated number data to the printer 20 very quickly. Therefore, even if the image has a large number of pixels, the image can be printed quickly.
  • FIG. 2 is an explanatory diagram illustrating a configuration of a computer 100 as an image processing apparatus according to the present embodiment.
  • the computer 100 is a well-known computer configured by connecting a ROM 104, an RA 106, and the like to each other via a bus 116, centering on a CPU 102.
  • the computer 100 has a disk controller DDC 109 for reading data such as a flexible disk 124 and a compact disk ⁇ 26, and a peripheral device interface PIF 100 for exchanging data with peripheral devices.
  • the video interface VIF 112 for driving the CRT 114 is connected.
  • the PIF 108 is connected to a color printer 200 described later, a hard disk 118, and the like.
  • FIG. 3 is an explanatory diagram illustrating a schematic configuration of the color printer 200 of the present embodiment.
  • the color printer 200 is an inkjet printer that can form dots of four color inks of cyan, magenta, yellow, and black.
  • a total of six ink dots including cyan (light cyan) ink with a low dye or pigment concentration and magenta (light magenta) ink with a low dye or pigment concentration, are used.
  • a formable inkjet printer can also be used.
  • the light cyan ink and the light magenta ink may be abbreviated as C ink, M ink, Y ink, K ink, LC ink, and LM ink, respectively.
  • the color printer 200 has a mechanism for driving a print head 241, which is mounted on a carriage 240, to discharge ink and form dots.
  • the carriage 240 is equipped with an ink cartridge 242 for storing K ink, and an ink cartridge 243 for storing various inks of C ink, M ink and ⁇ ink.
  • each ink in the cartridge is discharged through an introduction pipe (not shown) to discharge ink for each color provided on the lower surface of the print head 241. Supplied to heads 2 4 4 to 2 4 7.
  • the control circuit 260 includes a CPU, a ROM, a RAM, a PIF (peripheral device interface), and the like, which are interconnected by a bus. The control circuit 260 controls the operation of the carriage mode 230 and the paper feed mode 230 by controlling the operation of the carriage mode.
  • the main scanning operation and the sub-scanning operation of the cartridge 240 are controlled, and the control of ejecting ink droplets from each nozzle at an appropriate timing is performed based on the print data supplied from the computer 100.
  • the color printer 200 can print a color image by forming ink dots of each color at appropriate positions on the print medium under the control of the control circuit 260. Also, by controlling the drive signal waveform supplied to the nozzles to eject ink droplets,
  • the color printer 200 having the hardware configuration as described above drives the carriage motor 230 so that the ink discharge heads 24 4 to 24 7 of each color are printed on the printing paper P.
  • the printing paper P is moved in the sub-scanning direction by moving it in the main scanning direction and driving the paper feed module 235.
  • the control circuit 260 synchronizes with the main scanning and sub-scanning movements of the carriage 240,
  • the color printer 200 prints a color image on printing paper by driving the nozzles to discharge ink droplets at the timing.
  • the color printer 200 also has a CPU, RAM, ROM, etc. in the control circuit 260, the processing performed by the computer 100 is performed in the color printer 200. It is also possible. In such a case, the image data of the image captured by the digital camera 120 or the like is directly supplied to the color printer 200, and the necessary image processing is performed in the control circuit 260, so that the color data can be obtained. It is also possible to print an image directly from the printer 200.
  • the first half of the image printing process is performed by the computer 100, and the second half is performed by the color printer 200. It can be implemented inside the printer 200 or inside a device that generates image data, such as a digital camera 120. That is, according to the image printing process of the present embodiment, as will be described in detail later, the first half of the process can be made very simple, so that a CPU that does not have high processing capability is used. But it can be done quickly. Therefore, even when the first half of the image printing process is incorporated in the color printer 200, digital camera, or the like, a sufficiently practical printing system can be configured.
  • step S100 the computer # 100 starts reading image data
  • the image data is RGB color image data
  • the present invention is not limited to color image data, but can be similarly applied to monochrome image data.
  • the present invention can be similarly applied to a monochrome printer as well as a color printer.
  • a color conversion process is performed (step S102).
  • Color conversion processing refers to RGB color image data represented by a combination of R, G, and B gradation values, and an image represented by a combination of gradation values for each color of ink used for printing. This is the process of converting to data. As described above, the color printer 200 prints an image using four color inks of C,, ⁇ , and K. Therefore, in the color conversion processing of the first embodiment, the image data represented by each of the RGB colors is converted into data represented by the gradation values of each of the colors C,, ⁇ , and K. The color conversion process is performed by referring to a three-dimensional numerical table called a color conversion table (LUT).
  • LUT three-dimensional numerical table
  • the gradation values of each color of C, M, ⁇ , and K obtained by the color conversion for the RGB image data are stored in advance.
  • RGB color image data can be rapidly converted into C, M, Y, and K image data.
  • the resolution conversion processing is started (step S104).
  • the resolution conversion process is a process of converting the resolution of the image data into a resolution at which the printer 200 prints an image (print resolution). If the resolution of the image data is lower than the print resolution, interpolation is performed to generate new image data between pixels.
  • the computer # 100 starts the number data generation process (step S106).
  • the number data generation process one image is divided into a plurality of pixel groups by grouping a predetermined number of adjacent pixels into a pixel group. Then, data representing the number of dots to be formed in each pixel group, that is, number data, is determined for each pixel group. In general, whether or not a dot is formed at a certain pixel depends on the image data of that pixel.
  • the number data representing the number of dots formed in the pixel group is Can be determined based on the image data.
  • the number data determined for each pixel group is output to the color printer 200.
  • the count data generation process the count data is generated for each pixel group based on the image data of each pixel in this way, and then the color data is supplied to the color printer 200.
  • the CPU incorporated in the control circuit 260 of the color printer 200 receives the number data supplied from the computer 100, it starts a pixel position determination process (step S108). Although the details of the processing will be described later, the following processing is roughly performed in the pixel position determination processing.
  • the number data supplied from the computer 100 is data representing the number of dots to be formed in the pixel group, and the number of dots to be formed in which pixel in the pixel group is determined. Is uncertain It is in a stable state. Therefore, when printing an image, it is necessary to determine the pixel positions where dots are actually formed in the pixel group from the supplied number data.
  • the pixel position determination processing an order indicating the ease of dot formation for each pixel in the pixel group, in other words, an order of pixels indicating the order in which dots are formed among a plurality of pixels in the pixel group is stored. By referring to this order, a process of determining pixel positions for forming dots based on the number data is performed.
  • step SI10 a process of forming the dot at the determined pixel position is performed. That is, as described with reference to FIG. 3, the ink ejection head is driven to eject ink droplets while repeating the main scanning and the sub-scanning of the carriage 240, so that the ink is printed on the printing paper. Form dots. By forming the dots in this manner, an image corresponding to the entire image is printed. As described above, in the image printing process of the first embodiment, only the data of the number of dots to be formed in the pixel group is supplied from the computer 100 to the color printer 200.
  • the number of dots formed in a pixel group obtained by combining a plurality of pixels can be expressed with a much smaller data amount.
  • the number of dots formed in the pixel group can be any of nine from zero to eight. If there are 9 patterns, 4 bits can be used for expression, so the number of dots formed in a pixel group can be expressed with a data length of 4 bits. In this way, the number of dots formed in the pixel group can be represented by a much smaller amount of data than the data indicating the presence or absence of dot formation for each pixel. It is possible to supply data to the pudding 200 very quickly. In addition, as will be described in detail later, if the pixel positions for forming the dots are properly determined, the image quality does not deteriorate even when only the data of the number of dots is supplied.
  • the dither method is a typical method used to convert image data into a data representing whether dots are formed or not for each pixel.
  • a threshold value is set for a matrix called dither matrix, and the tone value of the image data is compared with the threshold value set in the dither matrix for each pixel to obtain the tone value of the image data.
  • FIG. 6 is an explanatory diagram conceptually illustrating a part of the dither matrix.
  • the matrix shown in the figure has 128 pixels in the horizontal direction (main scanning direction) and 64 pixels in the vertical direction (sub-scanning direction), for a total of 8192 pixels.
  • the threshold value uniformly selected from the range of 255 is randomly stored.
  • the reason why the gradation value of the threshold value is selected from the range of ⁇ to 255 is
  • the image data is 1-byte data that can take gradation values of 0 to 255
  • the gradation value of the image data is equal to the threshold value
  • dots are formed only in pixels whose tone value of the image data is greater than the threshold value (that is, dots are not formed in pixels whose tone value is equal to the threshold value)
  • Dots are never formed on pixels having the same threshold value as the maximum possible gradation value.
  • a threshold can be taken
  • the range is a range obtained by removing the maximum gradation value from the range that the image data can take.
  • the range in which the threshold can be set is a range obtained by removing the minimum gradation value from the range in which the image data can be set.
  • the possible gradation values of the image data are 0 to 255, and dots are formed in the pixels having the same threshold value as the image data. It is set to 5 5.
  • the size of the dither matrix is not limited to the size as illustrated in FIG.
  • FIG. 7 is an explanatory diagram conceptually showing a state in which the presence or absence of a dot shape is determined for each pixel while referring to a dither matrix.
  • determining whether or not a dot is formed first, a pixel to be determined is selected, and the gradation value of the image data for this pixel is compared with a threshold value stored at a corresponding position in the dither matrix. I do.
  • the thin dashed arrow shown in FIG. 7 schematically shows that the gradation value of the image data is compared with the threshold value stored in the dither matrix for each pixel. .
  • the tone value of the image data is 97, and the threshold value of the dither matrix is 1, so that it is determined that a dot is formed in this pixel.
  • the arrow indicated by the solid line in FIG. 7 schematically shows a state in which it is determined that a dot is formed in this pixel, and the result of the determination is written in the memory.
  • the tone value of the image data is 97, and the threshold of dither matrix is 177, which is larger than the threshold. Therefore, no dot is formed for this pixel.
  • FIGS. 8A to 8D are explanatory diagrams showing a state in which image data is converted into data indicating the presence or absence of dot formation using the dither method.
  • Fig. 8a is an enlarged view of a part of the image data. The small rectangles in the figure represent the pixels, and the numerical values displayed in each rectangle represent the gradation values of the image data. ing. As shown, the image data tends to be assigned similar (or identical) tone values between adjacent pixels.
  • FIG. 8b shows that the threshold is set at the corresponding position in the dither matrix.
  • adjacent pixels are grouped by a predetermined number into a pixel group, and the number of pixels determined to form dots in the pixel group is counted.
  • a pixel group consisting of 4 pixels in the main scanning direction (horizontal direction in Fig. 8a) and 2 pixels in the sub-scanning direction (vertical direction in Fig. 8a), for a total of 8 pixels each I do.
  • FIG. 8d shows the number of dots obtained by counting the pixels determined to form dots for each of the pixel groups thus grouped.
  • FIGS. 9a to 9d are explanatory diagrams showing how to generate data indicating the presence or absence of dot formation for each image from the number data.
  • FIG. 9A shows a value obtained by counting the number of dots formed for each pixel group in FIG. 8D.
  • FIG. 9B shows a dither matrix referred to in FIG. 8C to determine whether or not dots are formed for each pixel.
  • the gradation value of the image data is compared with the threshold value set at the corresponding pixel position of the dither matrix, and if the gradation value of the image data is larger, It is determined that a dot is to be formed in a dot, and the smaller the threshold of dither matrix, the easier it is to form a dot. From this, it can be considered that the dither matrix represents the order of pixels in which dots are formed. Focusing on such properties of the dither matrix, it is possible to determine a pixel position where a dot is formed from the number of dots formed in the pixel group. For example, to explain the pixel group at the upper left corner shown in FIG.
  • the number of dots formed in this pixel group is three.
  • the pixel position at the upper left corner that is, the pixel position where the threshold value “1” is set, is the pixel where dots are most easily formed. It can be said that there is. Therefore, one of the three dots formed in this pixel group can be considered to be formed in the pixel at the upper left corner. Similarly, the remaining two dots are the second most likely to form dots in this group of pixels (ie, the pixels for which the threshold ⁇ 42 in the dither matrix of FIG.
  • a dot is formed on a pixel where a dot is likely to be formed (that is, a pixel for which the threshold value “58” is set).
  • the presence or absence of dot formation is affected not only by the threshold value set in the dither matrix, but also by the gradation value of the image data, so if the gradation value of the image data is extremely large,
  • a dot may be formed before a pixel for which a smaller threshold is set.
  • image data tends to be assigned an approximate (or the same) gradation value to adjacent pixels. Therefore, in most cases, pixels in which dots are easily formed (that is, pixels in a dither matrix) are used. It can be considered that a dot is formed from (a pixel having a small set threshold value).
  • the pixel positions at which dots are formed can be determined based on the number of dots and the threshold value of dither matrix. For example,
  • the number of dots is three, so referring to the dither matrix in Fig. 9b,
  • the three dots are a pixel with a threshold of “2 2”, a pixel with a threshold of “3 3”,
  • the pixel is formed for each of the pixels for which the threshold “91” is set.
  • the results shown in FIG. 9C can be obtained.
  • the hatched pixels are pixels determined to form dots.
  • the pixel position determined from the number data coincides with the pixel position determined for each pixel. This means that the presence or absence of dot formation is determined for each pixel with reference to the dither matrix, and the dot formed in the pixel group is determined.
  • the result of comparing the tone value of the image data with the threshold value of the dither matrix to determine the presence or absence of dot formation for each pixel is completely the same as that of the pixel. It is guaranteed that a dot can be formed at the position.
  • the first condition is that the gradation value of each pixel has the same value in the pixel group
  • the second condition is whether or not dot formation is performed for each pixel on the computer 100 side.
  • the dither matrix referred to when judging is the same as the dither matrix referenced to determine the pixel position from the number data on the color printer 200 side. In the dither method described with reference to FIG.
  • the threshold value set in the dither matrix and the gradation value of the image data are compared, and the presence or absence of dot formation is determined based on which value is larger. Deciding.
  • the explanation has been given using FIGS. 9a to 9d. In this way, the pixel positions at which dots are formed are determined in order from the pixel with the smallest threshold set in the dither matrix. That is, in order to determine the pixel position, it is not necessary to reach the threshold value, but it is sufficient that the order in which dots are easily formed in the pixel group is known. Therefore, instead of the dither matrix shown in Fig.
  • a matrix in which values (order values) indicating the order in which dots are formed are set for each pixel in the pixel group as shown in Fig. 9d.
  • a matrix is referred to as an order matrix.
  • a pixel position is determined from the number data while referring to the order matrix for each pixel group. It is also possible.
  • FIG. 10 is a flowchart illustrating the flow of the count data generation process according to the first embodiment.
  • the description will be made assuming that the number data generation process is performed by the computer 100.
  • the number data generation process can be an extremely simple process. It is also possible to carry out in the digital camera 120.
  • description will be given according to the flowchart.
  • the pixels to be grouped as a pixel group do not need to be pixels in which the vertical and horizontal positions are aligned in a rectangular shape as described above. good.
  • a pixel group classification number and a pixel group gradation value are determined (step S202). The classification number of the pixel group can be determined extremely easily by using a method described later. Also,
  • the pixel group gradation value can also be easily determined as follows. For example, the average value of the tone values assigned to each pixel in the pixel group can be obtained and used as the pixel group tone value, or the tone value assigned to the most pixels in the pixel group Further, the gradation value of a pixel at a specific position in the pixel group can be used as the pixel group gradation value.
  • the number data is determined by referring to a conversion table described later (step S204). As will be described in detail later, in the conversion table, appropriate number data is stored in advance in association with the combination of the pixel group classification number and the pixel group gradation value.
  • the number data can be immediately obtained by referring to the conversion table. This point will be explained in detail later.
  • the process returns to step S200 to generate a new pixel group and repeat a series of subsequent processes. These operations are repeated, and when it is determined that the processing has been completed for all the pixels (step S206: yes), the number data obtained for each pixel group is output to the color printer 200 (step S202).
  • FIG. 11a to FIG. 11c are explanatory diagrams showing a concept for determining a classification number for each pixel group.
  • Fig. 11a conceptually shows how one pixel group was generated by combining 8 pixels in total at the upper left corner of the image, 4 pixels in the horizontal direction and 2 pixels in the vertical direction. Things.
  • the gradation value of the image data assigned to the pixel is compared with the threshold value set at the corresponding position in the dither matrix, and the presence or absence of dot formation is determined for each pixel.
  • a predetermined number of adjacent pixels are grouped together as a pixel group, so that the thresholds set in the dither matrix are generated by grouping the predetermined number of pixels corresponding to the pixel group together.
  • FIG. 11b shows a state in which the thresholds set for the dither matrix shown in FIG. 6 are generated in groups of four in the horizontal direction and two in the vertical direction to generate a plurality of blocks.
  • the dither matrix is divided into 32 blocks in each of the vertical and horizontal directions, for a total of 10 24 blocks. Now, as shown in FIG. 11b, these blocks are numbered sequentially from No. 1 to No. 124. Then, when dither matrix is applied to the image data, the pixel groups are classified according to the serial number of the block applied to the position of each pixel group. For example, as shown in Fig. 11c, the block with the serial number 1 in Fig. 11b is applied to the pixel group at the upper left corner of the image. It is classified into pixel groups.
  • step S202 of FIG. 10 when dither matrix is applied to the image data, each pixel group is classified by the serial number of the block applied to the pixel group, and the corresponding classification number is A process of deciding and giving it to the pixel group is performed.
  • FIGS. 12a to 12d are explanatory diagrams showing a method of determining the classification number of a pixel group.
  • FIG. 12a shows one pixel group generated in the image.
  • a method of determining a classification number by focusing on this pixel group will be described.
  • the pixel group of interest for determining the classification number will be referred to as the pixel group of interest.
  • the pixel at the upper left corner of the image is taken as the origin, and the pixel position is represented by the number of pixels in the main scanning direction and the sub-scanning direction from the origin.
  • the position of the pixel group is represented by the pixel position of the pixel at the upper left corner of the pixel group.
  • pixels indicating the position of the pixel group of interest are indicated by black circles. Assume that the pixel position of this pixel is (X, Y). Then, since the size of each pixel group is 4 pixels in the main scanning direction and 2 pixels in the sub scanning direction,
  • n pixel groups are arranged on the left side of the pixel group of interest, and m pixel groups are arranged above the pixel group of interest.
  • the pixel group is obtained by applying dither matrix to the image data.
  • the classification is based on the serial number of the block applied to the pixel group of interest (see Figs. 11a to 11c). Thus, the same pixel group is classified into different classification numbers.
  • any method can be applied to the image data while moving the dither matrix, but here, for convenience of explanation, the simplest method, namely, moving the dither matrix in the horizontal direction is also used. It will be described as.
  • Fig. 12b conceptually shows how dither matrix is applied to image data repeatedly while moving it little by little in the horizontal direction.
  • Fig. 12c conceptually shows how dither matrices are applied to the pixel group of interest shown in Fig. 12a while using dither matrices repeatedly as shown in Fig. 12 b.
  • the dither matrix is moved in this manner, one of the blocks in the dither matrix is applied to the target pixel group.
  • the block of the M-th row and the N-th column in the dither matrix is applied to the target pixel group.
  • n pixel groups on the left side of the pixel group of interest there are n pixel groups on the left side of the pixel group of interest and m pixel groups on the upper side, so that between N and n and between M and m Respectively
  • N n-i n t (n / 3 2) X 3 2 + 1
  • int is an operator indicating that a value after the decimal point is truncated to be converted to an integer. That is, int (n / 3 2) represents an integer value obtained by truncating the value after the decimal point from the calculation result of ⁇ ⁇ 32.
  • M and N are obtained from the above-described relational expression shown in FIG. It may be used as the classification number of the pixel group of interest.
  • the values of M and N can be extremely small without performing calculations as shown in Figure 12d. Can be obtained easily. Hereinafter, this point will be described.
  • FIG. 13 is an explanatory diagram specifically showing a method of determining the classification number of the pixel group of interest. Assume that the position of the pixel group of interest is (X, Y), and that X and Y are represented by ⁇ 0 bits.
  • FIG. 13A conceptually shows 10-bit binary data representing the numerical value X. In the figure,
  • a serial number from 1 to 10 is assigned from the most significant bit to the least significant bit.
  • the number n of pixel groups on the left side of the pixel group of interest can be obtained by subtracting 1 from the numerical value X and dividing by 4.
  • the division by 4 can be performed by shifting rightward by 2 bits, so that 1 is subtracted from the numerical value X, and the obtained binary data is 2 bits rightward. It is sufficient to shift the bits by a fraction.
  • the numerical value X does not take an arbitrary value, it can only take a numerical value that can be expressed in the form of 4 n + 1, so without subtracting ⁇ , simply binary data is divided into two bits to the right. Just make it bit shift,
  • the number n of pixel groups can be obtained.
  • Fig. 13 (b) conceptually shows the number n of binary numbers obtained by bit-shifting the numerical value X in this way.
  • int (n / 32) is calculated. That is, the operation of dividing the number n by 32 and rounding down the number after the decimal point is performed. Division by 32 can be performed by shifting the binary data bitwise by 5 bits to the right. I will.
  • int (n / 32) binary data can be obtained by simply shifting the number n of binary data by 5 bits to the right.
  • Figure 13 (c) shows the binary data of int (n / 32) obtained by bit-shifting the number n. The int (nZ32) obtained in this way is multiplied by 32.
  • FIG. 13 (d) conceptually shows binary data of int (n / 3 2) X 32 obtained by bit-shifting the number n. Then, subtracting int (n / 32) X 32 from the number n yields the numerical value N described above.
  • the binary data of the number n see Fig. 13 (b)
  • the binary data of ⁇ nt (n / 32) X 32 see Fig. 13 (d)
  • the upper 5 bits are common, and the lower 5 bits of the value on the subtraction side are all “0”. Therefore, if the lower 5 bits of the value to be subtracted (number n) are extracted as they are,
  • the numerical value N can be obtained extremely simply by applying the mask data shown in Fig. 13 (.f) to the binary data shown in Fig. 13 (b). is there.
  • the mask data shown in Fig. 13 (g) is applied to the binary data of the numerical value X indicating the position of the pixel group of interest shown in Fig. 13 (a), and the fourth to eighth bits are applied.
  • the numerical value N can also be obtained by directly extracting the data. In FIG. 13, the case where the numerical value N indicating the block position in the dither matrix is obtained from the numerical value X of the coordinate value (X, Y) indicating the position of the pixel group of interest has been described. Can be obtained from the numerical value Y.
  • the serial number of this block allows the pixel of interest As described above with reference to FIG. 10, the group number of the group can be quickly determined.
  • the classification number and the pixel group of the pixel group thus obtained are obtained.
  • the number data is obtained from the gradation values by referring to the conversion table (see step S204 in FIG. 10). In the following, a description will be given of a conversion table referred to in order to obtain the quantity data.
  • FIG. 14 is an explanatory diagram conceptually showing a conversion table referred to to acquire the number data from the pixel group classification number and the pixel group gradation value.
  • appropriate number data is stored in advance in association with the combination of the pixel group classification number and the pixel group gradation value.
  • FIG. 15 is an explanatory diagram conceptually showing a state in which an appropriate number is determined in accordance with a combination of a pixel group classification number and a pixel group gradation value.
  • the classification number of the pixel group is No. 1.
  • the block with the serial number 1 in the dither matrix is applied to the pixel group with the classification number "I incense.
  • Figure 15 (a) shows the threshold set for the port with the serial number 1
  • the pixel group gradation value is 0.
  • the gradation value of each pixel Ie
  • FIG. 15 (b) conceptually shows how the number data is determined when the pixel group gradation value is 0. In this case, no dot is formed at any of the pixels in the pixel group, and thus the number data becomes zero.
  • FIG. 15 (c) conceptually shows how the number data is determined when the pixel group gradation value is one. In this case, assuming that all the pixels in the pixel group have image data with a gradation value of 1, the gradation value of each pixel is compared with the threshold value shown in FIG. 5 (a). As a result, in the pixel at the upper left corner in the pixel group, it is determined that the tone value of the image data and the threshold value are equal to form a dot,
  • the number data 1 is set for the combination having the classification number 1 and the pixel group gradation value 1.
  • the number data is determined. For example, when the pixel group gradation value is 2, the count data becomes ⁇ as shown in FIG. 15 (d), and when the pixel group gradation value is 100, FIG. 15 (e) As shown in the figure, the number data is 3.
  • FIGS. 15 (c) When the pixel group gradation value is 2, the count data becomes ⁇ as shown in FIG. 15 (d), and when the pixel group gradation value is 100, FIG. 15 (e) As shown in the figure, the number data is 3.
  • 15 (f) and 15 (g) show that the number data is determined when the pixel group gradation value is 200 and the pixel group gradation value is 255. Is conceptually shown.
  • Figure 14 In the row corresponding to the class number 1 (horizontal column shown in the table), the number of data set in association with each pixel group gradation value is determined in this manner. This is count data. If this operation is performed for all the classification numbers from No. 1 to No. 124, finally, the number data corresponding to all combinations of all the classification numbers and all the pixel group gradation values is determined. can do.
  • corresponding number data is set in advance according to the combination of the classification number and the pixel group gradation value.
  • FIG. 16 is a flowchart showing the flow of the pixel position determination process of the first embodiment. This process is a process executed by the CPU incorporated in the control circuit 260 of the color printer 200. In the following, referring to the flow chart shown in FIG.
  • step S300 one pixel group to be processed is selected (step S300), and the number data of the pixel group is obtained (step S302).
  • step S302 it is assumed that the number data as shown in FIG. 9A has been supplied. It is assumed that the pixel group at the upper left corner in FIG. 9A is selected as the pixel group to be processed. in this case,
  • step S302 of FIG. 16 "3" is obtained as the number data of the selected pixel group.
  • a pixel position where a dot is formed in the pixel group is determined by referring to the order matrix (step S304).
  • the order matrix is a matrix indicating the easiness of dot formation for each pixel in the pixel group.
  • the pixel group to be processed is the pixel group at the upper left corner in the image, and therefore the order matrix is also the matrix at the corresponding location (that is, the 8 pixels at the upper left corner in Fig. 9d). Matrix).
  • the quantity data is "3"
  • the pixel position forming the dot is the pixel at the upper left corner and the two pixels to the right Pixel and the lower right pixel.
  • the pixels where the dots are formed are indicated by diagonal lines.
  • the pixel position at which a dot is to be formed is determined based on the number data while referring to the order matrix in this manner.
  • the description has been made assuming that the pixel position is determined with reference to the order matrix.
  • the dither matrix is the same as the order matrix in that the order of each pixel in the pixel group is indicated. Therefore, it goes without saying that a dither matrix may be referred to instead of the order matrix.
  • a dither matrix may be referred to instead of the order matrix.
  • step S306 when the processing has been completed for all the pixel groups (step S306: yes), the pixel position determination processing shown in FIG. 16 is completed, and the processing returns to the image printing processing shown in FIG.
  • the details of the number data generation processing (step S106 in FIG. 5) and the pixel position determination processing (step S108 in FIG. 5) performed during the image printing processing of the first embodiment are described above in detail. did.
  • a pixel group is generated by grouping a predetermined number of pixels, and a classification number and a pixel group gradation value are determined for the pixel group, and then the number data is generated.
  • the pixel group classification number and the pixel group gradation value can be obtained very easily as described above.
  • the number table can be generated extremely easily by referring to the conversion table described above.
  • the quantity data generated in this way has a much smaller amount of data than data representing the presence or absence of dot formation for each pixel. Data can be output very quickly. That is, in the above-described number data generation processing, the generation and output of the number data can be performed at high speed, and the image can be printed quickly by that amount.
  • the process of generating the count data is not merely a process of referring to the conversion table, and the classification number and pixel group gradation value used to refer to the conversion table can be obtained by extremely simple processing.
  • processing can be performed at a sufficiently practical speed even when a device such as a computer 100 that does not have high data processing capability is used. Furthermore, since the processing content is extremely simple, most of the processing is performed not by software using a CPU but by hardware using an IC chip incorporating a dedicated logic circuit. It is easy to do this, and it is possible to process at extremely high speed. Therefore, even when a device that generates image data such as a digital camera 120 and a color printer 200 are directly connected, the count data generation processing is performed inside the digital camera 120 and the color printer 200. By doing so, it is also possible to print images quickly.
  • FIG. 17 is an explanatory diagram showing the results of trial calculation of the data size of the conversion table under various conditions. As shown in Fig.
  • the number data is set for each combination of the classification number and the pixel group gradation value, so the data size of the conversion template is It is determined by the number, the range of possible pixel group gradation values, and the data length per piece of number data.
  • the number of classification numbers is equal to the number of blocks generated by dividing the dither matrix, and is ultimately determined by the size of the dither matrix and the size of the pixel group.
  • the size of the dither matrix is 64 ⁇ 64 (ie, 64 pixels in the main scanning direction and 6 pixels in the sub-scanning direction).
  • ⁇ 28 x 64 (128 pixels in the main scanning direction, 64 pixels in the sub-scanning direction), 128 x 128 (128 pixels in the main scanning direction, 128 in the sub-scanning direction) It is assumed that there are three sizes of (1 2 8 pixels).
  • the pixel group sizes are 2 x 2 (2 pixels in the main scanning direction, 2 pixels in the sub-scanning direction), 4 x 2 (4 pixels in the main scanning direction, 2 pixels in the sub-scanning direction), 4 x 4 (4 pixels in the main scanning direction,
  • the pixel group gradation value can take 256 values from 0 to 255, and that the data length of the number data is 1 byte.
  • the dither matrix size is 128 ⁇ 64
  • the pixel group size is 4 ⁇ 2
  • the trial calculation result is shown in FIG. It is shown.
  • the calculation result of the conversion table size will be described using this condition as a representative example.
  • the number of blocks is the number of blocks obtained by dividing the dither matrix into the same size as the pixel group.
  • the pixel training (128 ⁇ 64) of the dither matrix is calculated by dividing the number of pixels per pixel group (4 X 2) divides by 10 24.
  • This value is the number of classification numbers in the conversion table.
  • the pixel group tone value can take 256 values from 0 to 255, so the combination of the classification number and the pixel group tone value is 10 24 X 25
  • the data amount of the conversion table is eventually calculated to be 256 bytes. As is clear from the above calculation method, the data amount of the conversion table tends to increase as the size of the dither matrix increases and the number of classification numbers increases. "Mouth ⁇ 1 (this,
  • the data amount of the conversion table tends to increase.
  • the size of the conversion table is about 64 x 64 to 128 x 128, so from the calculation results shown in Fig. 17, the data amount of the conversion table is 1 M except for extremely special cases. It does not exceed the byte, and it is about 256 KB! ⁇ ⁇ It is about 512 KB.
  • a matrix larger than the dither matrix used in the estimation in Fig. 17 may be used, but even in this case, the amount of data in the conversion table will not be large enough to reduce the memory capacity. .
  • the column labeled “Number of states Z pixel group” in the second column from the right end indicates the number of states that the pixel group can take (that is, the type of number of dots that can be formed in one pixel group).
  • the number of bits required to represent the number of states is shown in the column labeled “Number of bits used” at the right end.
  • the number data is 1-byte data
  • the smaller the size of the pixel group the larger the data amount of the conversion table.
  • the smaller the size of the pixel group the smaller the number of bits used. Therefore, the reduction rate of the data amount in consideration of this point increases.
  • the amount of data in the conversion table is even smaller than the result of the trial calculation in Fig. 17, and it is considered that a maximum of about 256 KB is sufficient in practice.
  • the data amount of the color conversion table (LUT) referred to in the color conversion process (step S102 in FIG. 5) during the above-described image printing process is usually 1.5 M or more, The data volume of 56 Kbytes is not a large data volume.
  • FIG. 18 is a flowchart showing a flow of an image printing process according to a modification of the first embodiment.
  • the image printing process of the modified example is different from the image printing process of the first embodiment shown in FIG. 5 in that the resolution of the image data is not converted to the printing resolution, but the data having a lower resolution than the printing resolution is used. There is a great difference between the point that conversion is made and the point that pixel groups are not explicitly formed in the count data generation process, but the other points are almost the same.
  • the image printing process according to the modified example will be described focusing on the difference from the image printing process according to the first embodiment.
  • the image printing process of the modified example similarly to the image printing process of the first embodiment, when the process is started, first, the image data is read (step S400), and the color conversion process is performed (step S4). 0 2).
  • FIGS. 19a to 19c are explanatory diagrams showing the processing performed in the resolution adjustment processing.
  • FIG. 19a conceptually illustrates image data after color conversion
  • FIG. 19b conceptually illustrates image data generated by the resolution adjustment processing.
  • FIG. 19c shows image data of the print resolution.
  • the image data generated by the resolution adjustment processing has lower resolution than the printing resolution. More specifically, the resolution of the image data generated by the resolution adjustment process is 1/4 of the printing resolution in the main scanning direction and 1/2 of the printing resolution in the sub scanning direction.
  • the pixels generated by the resolution adjustment process are four times larger in the main scanning direction and twice as large in the sub-scanning direction as the pixels with the printing resolution shown in Fig. 19c. Converted to pixels.
  • the resolution adjustment process of the modified example the resolution of the image data is converted so that the size of one pixel after the resolution conversion matches the size of the pixel group generated by collecting the printing resolution pixels. Yes, it does the processing.
  • the number data generation process is started after the resolution of the image data after the color conversion is adjusted in this way (step S406 in FIG. 18).
  • step S500 one pixel to be processed is selected (step S500).
  • the pixel selected here is a pixel larger than the pixel of the printing resolution as shown in FIG. 9B. However, the size of this pixel matches the size of the pixel group generated by combining the pixels of the print resolution in the first embodiment described above. Then, the selected pixel is treated as if it were a pixel group in the first embodiment, and the classification number for this pixel is determined (step S502).
  • the classification number can be determined according to the method in the first embodiment by replacing the pixel groups in FIGS. 11a to 13 with pixels. Next, by referring to the conversion table shown in FIG.
  • the number data for the selected pixel is obtained (step S504).
  • the gradation value of the image data assigned to the selected pixel can be used as it is. In this way, when the number data is obtained for the pixel selected as the processing target, it is determined whether or not the processing has been completed for all the pixels (step S506). Untreated If there is any pixel remaining (step S506: no), the process returns to step S500 to select a new pixel to be processed, and then performs a series of subsequent processes. These operations are repeated, and when it is determined that the processing has been completed for all pixels (step S506: yes), the number data obtained for each pixel is output to the color printer 200 (step S508).
  • the number data generation process of the modification shown in FIG. 18 ends. Subsequent to the above-described number data generation processing, a pixel position determination processing is performed (step S408).
  • the pixel position determination processing is the same as the image printing processing of the first embodiment described above in the image printing processing of the modified example. That is, the number data supplied from the computer 100 is received, and the pixel position where a dot is formed in the pixel group is determined by referring to the order matrix. Next, dots are formed at the pixel positions thus determined (step S410).
  • the number data can be generated while the image data is data having a resolution lower than the printing resolution.
  • the resolution decreases, the amount of image data decreases, so that the data can be handled quickly and the amount of memory temporarily required for processing can be reduced.
  • simplification and speeding up of the process can be realized at the same time.
  • high-resolution printing is effective for printing high-quality images, but it is not always necessary to increase the resolution of image data in accordance with the increase in printing resolution. It is not necessary. It is possible to improve print quality by simply receiving low-resolution image data and simply dividing large pixels into smaller pixels and increasing the apparent resolution. For example, low-resolution image data as shown in FIG. 19b is received, each pixel is divided into a plurality of pixels, and converted into a high-resolution image data as shown in FIG. 19c. In the image data obtained in this way, the apparent resolution is higher, but it is not possible to achieve a smooth gradation change corresponding to the resolution, and from the viewpoint of expressing the gradation change smoothly. There is no difference from low resolution image data.
  • image data can represent multiple gradations for individual pixels. For example, when the image data is one byte data, 256 gradations can be expressed per pixel. On the other hand, when printing an image by forming dots, each pixel can take only two passes, whether or not to form a dot. The number of gradations that can be expressed per area is only a few at most. In other words,
  • the image printing process of the modified example can be suitably applied to a case where image data of low resolution is received and an image is printed after the apparent resolution is increased.
  • the resolution is adjusted as necessary, and then the individual pixels are treated as if they were a group of pixels, and the number data is generated.
  • the size of the pixels of the received image data matches the size of the pixel group, the number data of each pixel can be generated as it is without adjusting the resolution. It is possible to print an image on a computer.
  • the dot that can be formed by the color printer 200 is described as one type. But today, with the goal of improving print quality,
  • Printers that can form various types of dots, such as dots with different sizes and dots with different ink densities, are widely used.
  • the invention of the present application can provide a great effect even when applied to such multi-value dot printing.
  • a second embodiment a case where the present invention is applied to a multi-valued dot printing will be described.
  • the image printing process of the second embodiment is the same as the image printing process of the first embodiment shown in FIG. 5 for the flowchart.
  • an outline of the image printing process of the second embodiment will be briefly described by using the flowchart of FIG.
  • the image printing process of the second embodiment is started, first, the image data is read by the computer 100, and then the color conversion process is performed (corresponding to steps S100 and S102 in FIG. 5). .
  • a resolution conversion process is performed to convert the resolution of the image data into a print resolution (corresponding to step S104), and then the number data generation process is started (corresponding to step S106).
  • the color printer 200 can form only one type of dot.
  • the number data generation process the number data representing the number of dots formed in the pixel group was generated for each pixel group and output to the color printer 200.
  • the number data generation process the number data representing the number of dots formed in the pixel group was generated for each pixel group and output to the color printer 200.
  • the color printer 200 can form three types of dots having different sizes, that is, large dots, medium dots, and small dots.
  • number data indicating how many large dots, medium dots, and small dots are formed in each pixel group is generated. It will be. Although details will be described later, in order to efficiently output the number data with a small data amount, the number of large dots, medium dots, and small dots is not output as it is, but is output in a coded state. The details of the count data generation processing of the second embodiment will be described later.
  • the CPU incorporated in the control circuit 260 of the color printer 200 receives the number data supplied from the computer 100, it starts a pixel position determination process (corresponding to step S108 in FIG. 5). .
  • the number data supplied in a coded state is decoded into data indicating the number of large dots, medium dots, and small dots. After that, the pixel positions for forming these dots are determined. After determining the pixel positions at which various large, medium and small dots are to be formed, dots are formed at the determined pixel positions (corresponding to step S110 in FIG. 5). By forming a large dot, a medium dot, and a small dot in this way, an image corresponding to the image data is printed.
  • the process of generating the number data in which the number of medium dots and small dots is coded will be described.
  • the coded number data can be generated very easily by referring to the conversion table based on the pixel group classification number and the pixel group gradation value.
  • a brief description will be given of a process of determining the number of large, medium, and small dots formed in a pixel group using a so-called dither method.
  • a process of encoding the number of large, medium, and small dots will be described, and then, a detailed process performed in the number data generation process of the second embodiment will be described.
  • FIG. 21 is a flowchart showing the flow of processing for determining the number of large dots, medium dots, and small dots formed in a pixel group by applying the dither method.
  • the details of this processing are disclosed in Japanese Patent No. 3292210. Therefore, the processing shown in FIG. 29 can be regarded as a method in which the method disclosed in Japanese Patent Laid-Open No. 3922104 is performed for each pixel group.
  • the number of large, medium, and small dots is determined, first, when the process is started, a predetermined number of pixels adjacent to each other are grouped to form a pixel group (step S600).
  • a total of eight pixels that is, four pixels in the main scanning direction and two pixels in the sub-scanning direction, are collected as a pixel group.
  • one pixel to be processed is selected (step S602) to determine whether or not to form a dot from the pixel group, and a large dot, a medium dot, and a small dot are selected for the selected processed pixel.
  • the presence or absence of the formation is determined (step S604).
  • the presence or absence of large, medium and small dots is determined as follows.
  • FIG. 22 is a flowchart showing the flow of a process for determining whether or not large dots, medium dots, and small dots are to be formed by performing a half-I-one process on one selected pixel.
  • the image data of the pixel to be processed is converted into density data of each dot of large dot, medium dot, and small dot (Step S65) 0).
  • the density data is data indicating the density of dots to be formed.
  • the density data indicates that the higher the gradation value, the higher the density of dots formed.
  • the gradation value “255” of the density data indicates that the dot formation density is 100%, that is, that dots are formed in all pixels.
  • a tone value of “0” indicates that the dot formation density is 0%, that is, no dot is formed at any pixel. Conversion to such density data can be performed by referring to a numerical table called a dot density conversion table.
  • the dot density conversion table shows the density data for each of the small dot, medium dot, and large dot with respect to the gradation value of the image data obtained by color conversion. Is set. In the region where the image data is in the vicinity of the gradation value “0”, the density data of the medium dot and the large dot are both set to the gradation value “0”. The density data of small dots increases as the gradation value of the image data increases. When the image data reaches a certain gradation value, it starts to decrease this time,
  • the density data of the medium dot begins to increase.
  • the density data of the small dot becomes the gradation value “0”
  • the density data of the medium dot starts to decrease, and instead, the large dot becomes large dot. Density data will gradually increase.
  • the gradation value of the image data is converted into large dot density data, medium dot density data, and small dot density data while referring to this dot density conversion table. I do.
  • step S654 This judgment is made by comparing the density data of the large dot with the threshold value of the dither matrix set at the corresponding position of the pixel to be processed. If the density data is larger, it is determined that a large dot is formed at the pixel to be processed (step S654: yes), and the process exits the half-toning process and is shown in FIG. The process returns to the number of dots determination process. Conversely, if the threshold value is larger than the large dot density data, it is determined that a large dot is not formed at the pixel to be processed (step S654: n0), and this time the middle dot is used. The process of determining the presence or absence of a bird is started.
  • the density data of the large dot and the density data of the medium dot are added to calculate intermediate data for the medium dot (step S656). Then, the presence or absence of the formation of the medium dot is determined by comparing the obtained middle data for the medium dot with the threshold value of the dither matrix (step S6585). And
  • step S660 If the intermediate data for the middle dot is larger, it is determined that a middle dot is to be formed in the pixel to be processed (step S660: yes), and the process exits the half-toning process. The process returns to the dot number determination process of 1. Conversely, if the threshold value is larger than the middle dot for the middle dot, it is determined that no middle dot is formed at the pixel to be processed (step S660: no), and the small dot is The process of determining the presence or absence of a bird is started. To determine whether or not a small dot is formed, the intermediate data for the medium dot and the density data for the small dot are added to calculate the intermediate data for the small dot (step S6662).
  • the presence / absence of small dots is determined by comparing the obtained intermediate data for small dots with the threshold value of dither matrix (step S6664). If the intermediate data for the small dot is larger, it is determined that a small dot is formed at the pixel to be processed. Conversely, if the threshold is larger than the intermediate data for the small dot, Judge that neither dot is formed.
  • the process returns from the halftone process shown in FIG. 22 to the dot number determination process shown in FIG.
  • FIG. 24 is an explanatory diagram conceptually showing a state in which the presence or absence of large, medium, and small dots is determined for each pixel in the pixel group while applying the dither method.
  • all the pixels in the pixel group have the same gradation value, and therefore, the density data of each of the large, medium and small dots has the same gradation value.
  • Figure 24 (a) shows the density data of large, medium, and small dots obtained for each pixel in the pixel group.
  • the density data of the large dot is “2” and the density data of the medium dot is Assume that “90” and the density data of the small dots are “32 j.”
  • Figure 24 (b) is stored in the dither matrix at the position corresponding to the pixel group. Represents a threshold value. When determining whether or not a large dot is formed, the density of the large dot is compared with these thresholds. Here, it is assumed that the density data of the large dot is “2” for any of the pixels. Therefore, the only pixels that are determined to form a large dot are pixels for which the threshold value “1” is set. In Fig. 24 (b), the pixels determined to form large dots are:
  • the intermediate data for medium dots is calculated by adding the density data “2” of the large dots and the density data “90” of the medium dots. 9 2 ”and the dither matrix threshold. As a result, it is determined that a medium dot is formed only in two pixels, a pixel for which the threshold value “4 2” is set and a pixel for which the threshold value “5 8” is set. In FIG.
  • pixels for which it is determined that a medium dot is to be formed are displayed with slightly fine diagonal lines. Then, for a pixel in which neither a large dot nor a medium dot is formed, it is considered that either a small dot is formed or a dot is not formed.
  • the small dot density data “3 2” is added to the intermediate data “9 2” for the medium dot
  • the intermediate data for the small dot is calculated, and the obtained intermediate data “1 24 J” is compared with the threshold of the dither matrix. As a result, only the pixel for which the threshold ⁇ 09 is set is small dot. Is determined to be formed. In FIG. 24 (d), pixels for which small dots are determined to be formed are indicated by coarse diagonal lines.
  • steps S602 to S606 of the number-of-dots determination process shown in Fig. 2 ⁇ the intermediate data is calculated for each pixel in the pixel group as described above, It is determined whether dots are formed. When the determination is completed for all pixels in the pixel group (step S606res), the number of large dots, medium dots, and small dots formed in the pixel group is obtained (step S6).
  • the pixel group shown in Fig. 24 has one large dot, two medium dots, and one small dot.
  • it is determined whether or not the above processing has been performed on all the pixels of the image (step S610). If unprocessed pixels remain, the process returns to step S600 to repeat a series of processes. If it is determined that the process has been completed for all pixels of the image, the process proceeds to step S600.
  • the process of determining the number of dots by the dither method ends. As a result, the image data is divided into a plurality of pixel groups, and the number of large dots, medium dots, and small dots formed in each pixel group is obtained.
  • Figure 25 shows a large dot for each pixel group.
  • the obtained number of dots is output to the printer in a coded state.
  • the number of dots for each pixel group is calculated three times. Must be output. In this case, the effect of rapidly outputting an image from the computer 100 to the color printer 200 to quickly print an image is diminished. Therefore, instead of outputting the number of each dot individually, a combination of the numbers of each dot, for example, a combination of (K large dots, L medium dots, and N small dots) is set for each combination.
  • FIG. 26 is an explanatory diagram showing a correspondence table in which a combination of the numbers of large, medium, and small dots formed in a pixel group is set in association with a code sequence.
  • the correspondence table illustrated in FIG. 26 for example, for a combination in which the number of large dots, medium dots, and small dots is 0,
  • Code data “0” is associated.
  • a combination of 0 large dots, 0 medium dots, and 1 small dot is associated with code data “1”.
  • unique code data is set in advance for each combination of the number of dots.
  • the combination number of the large, medium and small dots is as follows. Each of the pixels in the pixel group can form a large dot, a medium dot, or a small dot.However, since a single pixel does not have multiple dots, the total number of dots is The number of pixels does not exceed (8 in the above embodiment). Therefore, the combination of the numbers of these large, medium, and small dots overlaps among the four states of "form large dots", “form medium dots”, “form small dots", and "do not form dots”. Is equal to the number of combinations when selecting eight times,
  • n H r is an operator for calculating the number of combinations (the number of overlapping combinations) obtained when selecting r times from n types of objects while allowing duplication.
  • N C r is an operator for calculating the number of unions obtained when r selections are made r times from n types of objects without allowing duplication. It means that there are 1 65 combinations of the number of large, medium, and small dots as shown in the following. 1 6 5 ways If there is, it can be expressed if there is an 8-bit data length. After all, instead of outputting three times, the number of large dots, the number of medium dots, and the number of small dots, only one output of 8-bit coded number data is performed, and various dots are formed in the pixel group.
  • FIG. 27 is a flowchart illustrating the flow of the count data generation process according to the second embodiment.
  • the number data generation processing of the second embodiment is also performed by the computer 100.
  • the number data generation processing of the second embodiment is extremely simple. Since the processing can be performed, the processing can be performed in the color printer 200 or the digital camera 120.
  • Floatia When the number data generation process according to the second embodiment is started, which will be described first, first, a predetermined number of pixels adjacent to each other are grouped to generate a pixel group (step S700).
  • a pixel group classification number and a pixel group gradation value are determined (step S702).
  • the method of determining the pixel group classification number and the pixel group gradation value is the same as that of the first embodiment described above, and thus the description is omitted here. However, both the classification number and the pixel group gradation value are extremely simple. You can decide. Next, by referring to the conversion table from the pixel group classification number and the pixel group gradation value,
  • FIG. 28 is an explanatory diagram conceptually showing a conversion table referred to in the count data generation processing of the second embodiment.
  • the conversion table of the second embodiment stores in advance coded number data in association with the combination of the pixel group classification number and the pixel group gradation value. Therefore, in the count data generation processing of the second embodiment, the count data in a coded state is determined immediately by simply determining the pixel group classification number and the pixel group gradation value and referring to the conversion table. It is possible.
  • the coded number data for one pixel group is obtained, it is determined whether or not the processing has been completed for all the pixels of the image data (step S 706).
  • step S706 If unprocessed pixels remain (step S706: n0), the process returns to step S700 to generate a new pixel group, and repeats a series of subsequent processes. These operations were repeated, and it was determined that processing for all pixels was completed. (Step S 706: yes), the coded number data obtained for each pixel group is output to the color printer 200 (Step S 708), and the second data shown in FIG. The number data generation process of the second embodiment ends.
  • C-1 Pixel position determination processing of the second embodiment:
  • FIG. 9 is a flowchart illustrating a flow of a pixel position determination process according to the second embodiment.
  • This processing differs from the pixel position determination processing of the first embodiment described above with reference to FIG. 16 in that the number data is decoded and converted to data indicating the number of large, medium, and small dots to be formed. The difference is that the pixel position is determined for each of the small and medium dots.
  • the pixel position determination process of the second embodiment will be described while focusing on these differences.
  • FIG. 30 is an explanatory diagram conceptually showing a decoding table referred to for decoding the number data coded in the pixel position determination processing of the second embodiment.
  • the decoding table combinations of dot numbers of large dots, medium dots, and small dots corresponding to the coded number data are set. For example, if the coded quantity data is “1”, the large dot and medium dot The number is 0, and it is decoded to a combination of the number of dots where the number of small dots is 1.
  • step S804 of FIG. 29 the encoded number data is converted into data representing the number of large, medium, and small dots by referring to such a decoding table.
  • step S800 the order matrix stored at the position corresponding to the pixel group being processed.
  • a process of determining the pixel positions for forming these dots from the number of large, medium, and small dots is performed (step S800). 6).
  • the hierarchical matrix is a matrix indicating the easiness of dot formation for each pixel in the pixel group.
  • FIG. 31 is an explanatory diagram conceptually showing how pixel positions forming large, medium, and small dots are determined with reference to an order matrix. For example, by decoding the count data,
  • a pixel position at which a large dot is to be formed is determined.
  • the number of large dots is one.
  • a large dot is formed at a pixel whose order value is set to “ ⁇ ” in the order matrix.
  • N the number of large dots
  • a large dot is to be formed in a pixel for which the order value is set in the order matrix from “ ⁇ ” to “ ⁇ ”.
  • pixel positions where large dots are formed are indicated by fine diagonal lines.
  • the pixel position for forming the medium dot is determined. The number of medium dots is two, and a large dot is formed at the pixel position where the order value "1" is set, so the medium dot is the pixel position where the order value "2" is set and the order value Pixel position where "3" is set Formed with the device.
  • pixel positions where medium dots are formed are indicated with a slightly rough diagonal line. Finally, the pixel position where a small dot is formed is determined. Since the number of small dots is one, a large dot is formed at the pixel position with an order value of “1” and a medium dot is formed at the pixel position with an order value of “2” and “3”. An order value “4” is formed at the set pixel position. In FIG. 31, pixel positions where small dots are formed are displayed with coarse hatching. In step S806 of FIG. 29, a process of determining a pixel position at which a dot is formed in the order of large dot, medium dot, and small dot is performed with reference to the order matrix.
  • step S808 After decoding the coded number data for one pixel group and determining the pixel positions forming the large, medium, and small dots, it is determined whether or not the processing has been completed for all the pixel groups. Step 9 of step S808). If an unprocessed pixel group remains (step S808: n0), the process returns to step S800 and repeats a series of subsequent processes for the new pixel group. When it is determined that the pixel positions have been determined for all the pixel groups in this way (step S808: yes), the process exits the pixel position determination process of the second embodiment shown in FIG. 29 and returns to the image printing process. Then, various dots are formed on the printing paper. As a result, an image corresponding to the image data is printed.
  • the encoded number data is decoded, it is decoded into data of the number of dots of various dots.
  • the decoding may be performed to the total number of dots, medium dots, and small dots.
  • the total of large dots and medium dots is three, and the large dot That is, the total of the middle, small, and small dots is four.
  • FIG. 32 is an explanatory view conceptually showing a decoding table referred to for decoding the encoded number data in this way.
  • the process of determining the pixel position can be speeded up as follows. For example, the case where the pixel position of the middle dot is determined in FIG. 31 is described. Since the total number of the large dot and the middle dot is decoded as three, the order value changes from “ ⁇ ” to “ Select up to 3 pixels. Then, it is determined that a medium dot is to be formed at the selected pixel, excluding pixels at which other dots (large dots) have already been formed.
  • the order value of the pixels forming the medium dot differs depending on the number of large dots, and the order of the pixels forming the small dot The order value depends on the number of large and medium dots. For this reason, when determining the pixel positions for forming the medium dot and small dot, it is necessary to always select a pixel with an appropriate order value while considering the large dot or the number of large dots and medium dots. .
  • a pixel having an appropriate order value can be selected without considering the number of large dots and medium dots, so that the process of determining a pixel position can be speeded up.
  • the coded number data is immediately obtained by simply referring to the conversion table. Obtainable. Therefore, the coded quantity data Evening can be generated very quickly, and the processing content can be extremely simple. In this regard, while comparing with the case of generating piece data without using a conversion table,
  • processing speed may be reduced by performing pipeline processing.
  • coded number data when referring to the conversion table, coded number data can be obtained without any conditional branching as shown in Fig. 27, and therefore, the effect of the pipeline processing can be sufficiently achieved.
  • the count data generation process of the second embodiment is not only a simple process, but can be said to be a process suitable for high-speed processing from such a point.
  • the process of generating the coded count data is merely a process of referring to the conversion table, and is executed using a CPU without high data processing capability or a chip incorporating a dedicated logic circuit. It is also easy to do.
  • FIG. 33 is an explanatory diagram showing the results of trial calculation of the data size of the conversion table under various conditions.
  • the data size of the conversion table in the second embodiment is also determined by the number of classification numbers, the range of possible pixel group gradation values, and the per-number data. Determined by De Ichibancho.
  • the number of classification numbers is determined by the size of the dither matrix and the size of the pixel group.
  • the data length of the number data is determined by the number of states per pixel group, that is, the type of combination of the number of large, medium, and small dots that can occur in one pixel group. For example, as described above, one pixel group is composed of eight pixels, and one pixel is If there are four possible states: large dot formation, medium dot formation, small dot formation, and no dot formation, there are 1655 combinations of numbers of large, medium and small dots. I have. If there are 16 5 ways, it can be expressed if it has an 8-bit data length, so the data length per piece of data is 1 byte. Similarly, when one pixel group is composed of 16 pixels, a data length of 10 bits is required for each data item, so that the data length is 2 bytes.
  • Figure 33 shows the results of trial calculation of the data amount of the conversion table for each combination of the size of the dither matrix and the size of the pixel group.
  • the data length required for one piece of data is shown on the right side of FIG.
  • the data amount of the conversion table in the second embodiment is also at most 1 M byte, and is actually 256 K bytes I ⁇ to 5 12 K bytes. It is considered to be in the order of bytes.
  • the amount of data is small enough to fit in the cache memory of a general computer, and also to the memory of imaging devices such as digital cameras 120 and color printers 200. , And can be fully mounted.
  • the data compression ratio is calculated as follows. For example, describing the case of the above-described embodiment, the number of pixels included in the pixel group is eight. Also, large dots, medium dots, small dots Since there are four states of formation and dot formation, a data length of 2 bits per pixel is required. Therefore, to express the type of dot formed for each pixel, a 16-bit data length is required for each pixel group.
  • the data compression ratio is about 0.5, although it varies depending on the conditions. In other words, by encoding the combination of the number of large, medium, and small dots, the data amount can be reduced by almost half compared to the case of outputting the type of dot and the presence or absence of formation for each pixel. It can output to 200 quickly.
  • FIG. 34 An example of the image output system according to the second embodiment of the present invention is shown in FIG. 34 as a printing system for printing an image.
  • the configuration of each part in FIG. 34 is similar to the first mode described with reference to FIG. are doing.
  • the printing system illustrated in FIG. 34 prints an image as follows. First, the computer OA divides an image into a plurality of pixel groups by grouping pixels constituting an image into a predetermined number of adjacent pixel groups. Then, for each pixel group, number data representing the number of dots formed in the pixel group is generated.
  • the number data generation module provided in the OA converts the image into a The division is performed to generate number data for each pixel group.
  • the generated quantity data is supplied from the quantity data supply module provided in the computer 1OA to the printer 20A.
  • the dot formation presence / absence determination module provided in the printer 2 OA determines the presence / absence of dot formation for each pixel in the pixel group.
  • the dot forming module prints an image by forming a dot on a print medium according to the presence or absence of the dot formation determined for each pixel.
  • the number data for each pixel group can be a much smaller data amount. Therefore, computer ⁇ 0
  • the printer 20A can receive the data very quickly; ⁇ possible It is. Further, upon receiving the number data, the printer 2 OA determines whether or not to form dots for each pixel included in the pixel group as follows. First, for each pixel in the pixel group, an order value indicating the order in which dots are formed in the pixel group is stored in the order value storage module. Further, the correspondence between the combination of the order value and the number data and the presence / absence of dot formation for the pixels having the order value is stored in the correspondence storage module in advance.
  • the hardware configuration of the printing apparatus according to the third embodiment is the same as that of the first embodiment, and thus the description is omitted.
  • An overall flow of the image printing process in the third embodiment is shown in a flowchart of FIG.
  • the flowchart in FIG. 35 is almost the same as the processing in the first embodiment (FIG. 5), and the contents of the count data generation processing described as step S107 are different from those in the first embodiment.
  • the difference is that a dot formation presence / absence determination process is performed in step S109 instead of the pixel position determination process in step S108. Therefore, when the processing is started, the computer 100 starts reading image data (step S100), and performs color conversion processing after reading the color image data (step S102). When the color conversion processing is completed, the resolution conversion processing is started (step S104).
  • the computer 100 After converting the resolution to the print resolution, the computer 100 starts the count data generation process (step S107).
  • the details of the count data generation process will be described later in detail (Fig. 36), and here only the outline will be described.
  • the number data generation process one image is divided into a plurality of pixel groups by grouping adjacent pixels into a predetermined number of pixel groups. Then, data indicating the number of dots to be formed in each pixel group, that is, number data, is determined for each pixel group. In general, whether or not a dot is formed at a certain pixel depends on the image data of that pixel. Therefore, the number data representing the number of dots formed in the pixel group is also determined by the It can be determined based on image data.
  • the number data determined for each pixel group is output to the color printer 200.
  • the number data generation process the number data is generated for each pixel group based on the image data of each pixel in this manner, and then, The processing for supplying to the color printer 200 is performed.
  • the CPU incorporated in the control circuit 260 of the color printer 200 receives the number data supplied from the computer 100, it starts a dot formation presence / absence determination process (step S109). Although detailed processing contents will be described later, the following processing is roughly performed in the dot formation presence / absence determination processing.
  • the number data supplied from the convenience store 100 is data representing the number of dots to be formed in the pixel group, and the number of dots is formed in any pixel in the pixel group. It is uncertain if they will.
  • a process of forming a dot on an output medium is performed according to the determined presence or absence of dot formation.
  • Step S110 The actual dot formation has already been described, and will not be described.
  • the data of the number of dots to be formed in the pixel group is supplied from the computer 100 to the printer 200, and the data is supplied to the pixel group. It does not supply data on the presence or absence of dot formation for each pixel included.
  • the number of dots to be formed in a pixel group can be represented by a much smaller data amount than data representing the presence or absence of dot formation for each pixel.
  • the computer 100 Data can be supplied very quickly to the network 200.
  • the number of dots formed in the pixel group can be represented by a much smaller data amount than the data indicating the presence or absence of dot formation for each pixel.
  • the color printing is performed from the computer 100. Data can be supplied to the printer 200 very quickly.
  • the color printer 200 determines whether or not to form dots for each pixel in the pixel group using a method described later. This makes it possible to make decisions very quickly.
  • the image quality does not deteriorate even if only the data of the number of dots is supplied.
  • FIG. 36 is a flowchart showing the flow of the count data generation process of the third embodiment.
  • a pixel group is generated by grouping a predetermined number of pixels (step S200a).
  • a total of eight pixels, four pixels in the main scanning direction and two pixels in the sub-scanning direction, are grouped into a pixel group.
  • one pixel of interest (pixel of interest) to be processed is set from among a plurality of pixels that have been put together as a pixel group (step S202a). Then, by comparing the tone value of the image data assigned to the pixel of interest with the threshold value of the dither matrix, the presence or absence of dot formation for the pixel of interest is determined (step S204a). That is, as shown in FIG.
  • Step S206a it is determined whether or not the above processing has been performed on the selected pixels in the pixel group (step S206a), and if unprocessed pixels remain in the pixel group (step S206).
  • Step S202a: no a series of processes following Step S202a are performed.
  • step S208a the number of pixels for the processed pixel group is generated (step S208a).
  • the number of dots formed in the pixel group is counted, and the obtained number of dots is used as number data.
  • step S210a when the processing for one pixel group is completed, it is determined whether or not the processing has been completed for all pixels of the image (step S210a), and if unprocessed pixels remain, Return to step S200a to generate a new pixel group, A series of processing is performed to generate the number data of the pixel group (step S208a). By repeating such processing, when the processing for all the pixels in the image is completed (step S210a: yes), the number data obtained for each pixel group is sent to the color printer 200. (Step S212a), and the number data generation process shown in FIG. 36 ends. As a result, the number data for each pixel group is supplied to the color printer 200.
  • step S109 in FIG. 35 a process for determining the presence or absence of dot formation for each pixel in the pixel group based on the number data supplied from the computer # 00 will be described.
  • FIG. 37 is a flowchart showing the flow of the dot formation presence / absence determination processing of the third embodiment. This process is a process executed by a CPU built in the control circuit 260 of the color printer 200.
  • FIGS. 38a, 38b, and 38c are explanatory diagrams conceptually showing how the presence or absence of dot formation is determined for each pixel in the dot formation presence / absence determination processing. In the following, with reference to FIGS. 38A to 38C, the contents of the dot formation presence / absence determination processing according to the third embodiment will be described in accordance with the flowchart shown in FIG.
  • step S300a When the dot on / off state determination process is started, first, one pixel group is selected (step S300a), and the number data of the pixel group is obtained (step S302a). Here, it is assumed that the number data as shown in FIG. 38A has been supplied.
  • step S304a Next, one target pixel is selected from the pixels included in the selected pixel group (step S304a), and a value (order) indicating the order in which dots are formed in the target pixel in the pixel group is selected. Value) (step S306a).
  • the order value of the target pixel is It can be easily obtained by referring to a preset order value matrix as shown in 38b. In the order value matrix illustrated in FIG.
  • an order value is set in advance for the pixel position of each pixel constituting the pixel group.
  • the order value “1” is set for the pixel at the upper left corner in the pixel group
  • the order value “6” is set for the pixel to the right of that pixel.
  • the order value set at the position of the target pixel is acquired with reference to such an order value matrix.
  • only one set of order value matrices is stored. A plurality of matrices may be stored, and the order value of the target pixel may be acquired while switching the order value matrix for each pixel group.
  • FIG. 39 is an explanatory diagram conceptually showing a conversion template referred to in determining whether or not a dot is formed for a target pixel.
  • the presence or absence of dot formation is set in the conversion table in association with the combination of the order value and the number data.
  • the order value takes a value from ⁇ to 8
  • the order number takes a value from 0 to 8. Therefore, in the conversion table, values indicating whether or not to form dots are set in association with the 72 combinations of these combinations.
  • “1” is set for a combination that forms a dot
  • “0” is set for a combination that does not form a dot.
  • the order value is “1 J” and the count data is It is “3” as shown in a.
  • the order value “1 J” The value set for the combination of the number data “3 J” is “1 J, that is, it can be determined that a dot is to be formed for this pixel.
  • step S 30 in FIG. In 8a by referring to the conversion table, the presence or absence of dot formation for the target pixel is immediately determined from the count data for the pixel group and the order value of the target pixel.
  • step S310a After determining the presence or absence of dot formation for one pixel, it is determined whether or not the presence or absence of dot formation has been determined for all pixels in the selected pixel group (step S310a). If there are still pixels for which the presence or absence of dot formation has not yet been determined (step S310a: n0), the process returns to step S304a and a new pixel is selected from the pixel group. As a target pixel This process is repeated, and if it is determined that dot formation has been determined for all pixels in the pixel group (step S310a: yes), then the number data is counted.
  • step S312a It is determined whether or not the processing has been completed for all the supplied pixel groups (step S312a), and if an unprocessed pixel group remains (step S312a: n0) Returning to step S300a, a new pixel group is selected, and a series of subsequent processing is performed.By repeating such processing, the number of data supplied from the computer is reduced to dot formation for each pixel.
  • step S306a yes
  • the dot formation presence / absence determination processing of the third embodiment when the number data of the pixel group is received, the order value of the target pixel is obtained by referring to the order value matrix, and the obtained order value and number data are obtained.
  • the process of determining the presence or absence of dot formation only refers to stored data, it can be easily executed in hardware using a chip incorporating a dedicated logic circuit. If the processing for determining the presence or absence of dot formation is performed in hardware, processing can be performed at even higher speed, and an image can be printed more quickly.
  • the effect of increasing the processing speed in recent computers employing fewer pipelines and employing pipeline processing can be obtained.
  • the above-described dot formation presence / absence determination processing of the third embodiment includes various elements that enable quick processing. Therefore, under any conditions, the number data is printed for each pixel. It can be quickly converted to data indicating the presence or absence of formation, and in turn, images can be printed quickly.
  • one or more sets of order value matrices are set in advance, and the same order value matrix is always referred to or referred to.
  • the description has been made assuming that the presence or absence of dot formation for each pixel is determined while randomly switching the order value matrix.
  • the order value matrix is generated based on the dither matrix, and the position of the pixel group is determined. In response By determining the presence or absence of dot formation with reference to the appropriate order value matrix, it is possible to determine the presence or absence of dot formation more appropriately, and thus to print high-quality images. .
  • FIG. 40 is a flowchart showing the flow of a dot formation presence / absence determination process according to a modification.
  • the process is the same as the process shown in FIG. 37 except for step S330a. That is, in this modification, after obtaining the number data of the selected pixel group (step S302a), the order corresponding to the selected pixel group is selected from the order value matrix stored in a plurality of sets. The value matrix is read (step S330a).
  • step S330a Such processing will be described in detail with reference to FIGS. 41a to 41d and FIGS. 42a to 42d.
  • FIG. 41 a to 41 d are explanatory diagrams showing a method of generating a plurality of order value matrices referred to in the dot formation presence / absence determination processing of the modified example.
  • one pixel group is assumed to be composed of a total of eight pixels, four pixels in the main scanning direction and two pixels in the sub-scanning direction.
  • the threshold of tricks the threshold of 4 pixels in the main scanning direction and 2 pixels in the sub-scanning direction, a total of 8 pixels each, is collected into a block.
  • FIG. 41a is an explanatory diagram conceptually showing a state in which threshold values for eight pixels at the upper left corner of the dither matrix are grouped into blocks.
  • FIG. 41a is an explanatory diagram conceptually showing a state in which threshold values for eight pixels at the upper left corner of the dither matrix are grouped into blocks.
  • the dither matrix has a size of 128 pixels in the main scanning direction and 64 pixels in the sub-scanning direction. If pixels of 4 pixels in the main scanning direction and 2 pixels in the sub-scanning direction are grouped into blocks, the dither matrix will be 32 blocks each in the main scanning direction and the sub-scanning direction, and a total of 10 2 4 Will be divided into blocks. These blocks are numbered serially from number 1 to number 124, as shown in Figure 4 lb. Then, one set of ordinal values matrix is generated from each block from No. 1 to No. 104.
  • FIG. 41c is an explanatory diagram showing a state in which an order value matrix is generated from the block having the serial number 1. In the left half of Fig.
  • the threshold of the dither matrix included in the block with the serial number 1 is shown.
  • the tone value of the image data is compared with the threshold value of the dither matrix, and it is determined that a dot is formed when the image data is larger. Therefore, a pixel having a smaller threshold value of the dither matrix is more likely to form a dot. Therefore, the pixel in which the first dot is formed in the first block shown in FIG. 41C can be considered as a pixel for which the threshold value “1” is set. Therefore, “1” is set to this pixel as the order value.
  • the pixel in which the second dot is formed can be considered as a pixel for which the threshold value “4 2”, which is the second smallest threshold value, is set. Therefore, the order value “2” is set for this pixel.
  • the serial number 1 shown in the right half of FIG. The order value matrix of incense can be obtained.
  • Fig. 4 1d shows the order value matrix of serial number 2 by setting the order value "1" to the order value "8” in order from the pixel for which the small threshold is set in the block. Is generated.
  • FIGS. 42 a to 42 d are explanatory diagrams showing a method of selecting an order value matrix corresponding to a pixel group. Now, as shown in Fig.
  • the pixel group for which dot on-off state is to be determined is the n-th pixel group in the main scanning direction and m in the sub-scanning direction based on the upper left corner of the image. It is assumed that it is at the position of the pixel group.
  • the position of such a pixel group is represented by a coordinate value (n, m).
  • the size of the dither matrix is not usually as large as the image. For this reason, the dithering method uses one dither matrix repeatedly while shifting its position slightly with respect to the image. For the same reason, one dither matrix is repeatedly used while being moved little by little in the process of determining whether or not to form a dot as shown in FIG.
  • Fig. 42b conceptually shows how the dither matrix is used repeatedly while gradually moving it in the main scanning direction.
  • the size of the block that divides the dither matrix is the same as the size of the pixel group that generated the number data, so the dither matrix was moved as shown in Fig. 42b.
  • each block of the dither matrix matches the position of the pixel group. In other words, any block that divides the dither matrix is applied to all pixel groups.
  • one dither matrix includes 32 blocks in each of the main scanning direction and the sub-scanning direction, and the coordinates of a pixel group to be processed. Values are (n, m),
  • N and M can be obtained by the following equations.
  • N n ⁇ i n t (n / 32) X 32
  • int is an operator indicating that the value after the decimal point is truncated to be converted into an integer. That is, int (n / 32) represents an integer value obtained by truncating the number after the decimal point in the calculation result of nZ32. Therefore, when determining the presence or absence of dot formation for a certain pixel group, N and M are obtained from the coordinate values (n, m) of the pixel group by the above equation, and then the pixels are located at the corresponding positions in the dither matrix. It is sufficient to obtain the serial number of the block and use the order value matrix generated from the block. However, in practice, the values of M and N can be obtained very easily without performing the calculations shown in Fig. 42d.
  • FIG. 43 is an explanatory diagram specifically showing a method of selecting an applicable order value matrix from the coordinate values (n, m) of the pixel group.
  • the symbol (a) in FIG. 43 conceptually shows 10-bit binary data representing the numerical value n.
  • serial numbers from 1 to 10 are assigned from the most significant bit to the least significant bit.
  • int nZ32
  • I will.
  • the binary data of int (n / 32) can be obtained by simply shifting the binary data of the numerical value n shown in code (a) in Fig. 43 by 5 bits to the right. Obtainable.
  • FIG. 43 (c) conceptually shows ⁇ n t (n / 3 2) ⁇ 32 binary data obtained by bit-shifting the numerical value n. Then, by subtracting .int (n / 32) X 32 from the numerical value n, the aforementioned numerical value N can be obtained.
  • the binary number of the number n see (a) in Figure 43) and i n t
  • Step S of the dot formation existence determination process shown in FIG. 43 the case where the numerical value N indicating the block position in the dither matrix is obtained from the numerical value n of the coordinate value (n, m) of the pixel group has been described. Therefore, the numerical value indicating the block position can be obtained very easily from the numerical value m. After all, if the coordinate values (n, m) of the pixel group are given, the numerical values N, M are obtained from the numerical values n, m. Thus, it is possible to know what sequence number matrix the serial number is applied to the pixel group. Step S of the dot formation existence determination process shown in FIG.
  • Step S304a After reading the order value matrix corresponding to the pixel group as described above, From the pixel group, one target pixel for which dot formation is to be determined is selected (step S304a), and the order value of the target pixel is obtained with reference to the order value matrix below. (Step S306a), refer to the conversion table.
  • Step S308a The process of determining whether or not a dot is formed for the target pixel (Step S308a) is repeated until all the pixels in the pixel group and all the pixel groups are completed. Is completed (step S312a: yes), the dot formation presence / absence determination processing of the modification shown in Fig.
  • a plurality of order value matrices are generated based on the dither matrix, and the presence or absence of dot formation for a certain pixel group is determined by the dither method. Is applied, the presence or absence of dot formation is determined using the order value matrix generated from the dither matrix of the portion applied to the position of the pixel group. It is possible to determine the presence or absence of dot formation so that a distribution similar to the distribution of dots obtained by using a dot is obtained.
  • the threshold is set with an appropriate distribution so that it can be formed, a high-quality image can be printed if the distribution according to the dot distribution by the dither matrix is obtained. Furthermore, if the dither matrix used to generate the order value matrix and the dither matrix used in the count data generation processing shown in FIG. 36 are the same matrix, the first embodiment will be described. As described above (see Figs. 8a to 8d and 9a to 9d), the dot distribution reconstructed from the count data almost always has a dot formation for each pixel using the dither method. The dot distribution is exactly the same as when the presence or absence is determined.
  • the dot distribution will be different, but in the image data, the approximation between adjacent pixels will be similar. In many cases, the dot distribution will be the same, since they tend to have (or have the same) tone values. Therefore, the presence or absence of dot formation can be determined so as to obtain an appropriate dot distribution, and a high-quality image can be printed accordingly.
  • the memory capacity required to store the conversion template will be described. As shown in Fig. 39, whether or not dots are formed is set in the conversion table for each combination of the order value and the number data, so the data size of the conversion table can take the order value and the number data, respectively. It is determined by the number and the data length required to indicate the presence or absence of dot formation for one pixel. Since the order value indicates the order in which dots are formed at each pixel in the pixel group, the order value is included in one pixel group. It can take the same type of value as the number of pixels.
  • the number data represents the number of dots that can be formed in the pixel group, it can take a value from 0 to the number of pixels, and therefore can take the value of the number of pixels + 1 value. Further, here, it is assumed that one pixel only takes a state of whether a dot is formed or not, so that the presence or absence of dot formation for one pixel can be expressed by one bit. After all, the memory capacity for storing the conversion table is n, where n is the number of pixels included in the pixel group.
  • the amount of memory for storing the order value matrix is determined by the amount of memory required for each matrix and the number of matrixes.
  • the order value matrix the order in which dots are formed at each pixel in the pixel group is set, so the amount of memory per matrix is determined by the number of pixels included in the pixel group.
  • the number of order value matrices is equal to the number of blocks obtained when the dither matrix is divided by blocks of the same size as the pixel group, as described above with reference to FIGS. 41a to 41d.
  • FIG. 44 is an explanatory diagram showing the results of a trial calculation of the amount of memory required to store the order value matrix, assuming a dither matrix of various sizes and a pixel group of various sizes.
  • the size of the dither matrix is 64 ⁇ 64 (ie, 64 pixels in the main scanning direction and 64 pixels in the sub-scanning direction), and 128 ⁇ 64 (128 pixels in the main scanning direction, 64 pixels in the sub-scanning direction), and 128 x 128 (128 pixels in the main scanning direction, 128 pixels in the sub-scanning direction) Is assumed.
  • the pixel group sizes are 2 X 2 (2 pixels in the main scanning direction, 2 pixels in the sub-scanning direction), 4 X 2 (4 pixels in the main scanning direction, 2 pixels in the sub-scanning direction), 4 X 4 ( Three types of sizes are assumed: 4 pixels in the main scanning direction and 4 pixels in the sub-scanning direction.
  • the trial calculation result is shown in FIG. Is shown.
  • the number of order value matrices is the number of blocks obtained by dividing the dither matrix by the same size as the pixel group, so the number of pixels of the dither matrix (1 2 8 X 6 4) per pixel group Dividing by the number of pixels of (4 X 2) gives 10 24.
  • the ordinal value set in the ordinal value matrix takes eight values from 1 to 8, so what is one ordinal value? If it is a bit, it can be expressed.
  • Figure 44 summarizes the results of a trial calculation of the amount of memory required to store all order value matrices under various conditions. As is clear from the results of the trial calculation shown in the figure, it is considered that at most 10 Kbytes of memory is required to store the order value matrix. For this reason, the amount of memory required to store the conversion table and the order value matrix does not become so large as to be a hindrance to mounting it in an actual product.
  • the dot that can be formed by the color printer 200 is one type.
  • printers capable of forming various types of dots such as dots of different sizes and dots of different ink densities (so-called multi-valued dot printers), are widely used to improve print quality. Have been.
  • the invention of the present application can provide a great effect even when applied to such a multi-valued dot printer.
  • a fourth embodiment a case will be described in which the present invention is applied to a multilevel dot printing system.
  • the flowchart of the image printing process of the fourth embodiment is the same as the image printing process of the first embodiment shown in FIG. 35.
  • the outline of the image printing process of the fourth embodiment will be briefly described with reference to the flowchart of FIG.
  • the image printing process of the fourth embodiment is started, first, the image data is read by the computer 00, and then the color conversion process is performed (steps S100 and S102 in FIG. 35). Equivalent). Next, a resolution conversion process is performed to solve the image data. After converting the image resolution into the printing resolution (equivalent to step S104), the number data generation process is started (equivalent to step S106).
  • the color printer 200 can form only one type of dot, and in the number data generation process, the number representing the number of dots formed in the pixel group is used. The data was generated and output to a color printer 200.
  • the color printer 200 can form a plurality of types of dots.
  • count data is generated, which indicates how many large dots, medium dots, and small dots are formed in each pixel group. Will be done.
  • the number of large dots, medium dots, and small dots is not output as it is, but output in a coded state. . Details of the number data generation processing of the second embodiment will be described later.
  • the dots that can be formed by the color printer 200 are described as large dots, medium dots, and small dots, which are dots having different sizes, but of course, the types of dots are different. Is not limited to the case of different sizes. For example, when a plurality of types of dots having different densities of the ink forming the dots are used, or when one dot is formed in a simulated manner by forming a plurality of fine dots, the density of the fine dot is determined.
  • the CPU built in the control circuit 260 of the color printer 200 receives the number data supplied from the computer 100, the CPU starts the dot formation presence / absence determination processing. (Equivalent to step SI08 in Fig. 35).
  • the dot formation presence / absence determination processing of the fourth embodiment when the coded number data is received, a large dot, a medium dot, and a small dot are obtained for each pixel in the pixel group. A process is performed to determine which dot is to be formed or whether no dot is formed.
  • various dots are formed according to the obtained results (corresponding to step SI10 in FIG. 35).
  • an image corresponding to the image data is printed.
  • FIG. 45 is a flowchart showing the flow of a process for determining the number of large dots, medium dots, and small dots to be formed in a pixel group and generating the number of dots. It has already been described that the details of such processing are disclosed in Japanese Patent No. 3292210. Hereinafter, description will be given according to the flowchart.
  • a predetermined number of adjacent pixels are put together to form a pixel group (step S500a).
  • a total of eight pixels that is, four pixels in the main scanning direction and two pixels in the sub-scanning direction, are collected as a pixel group.
  • one pixel to be processed is selected (step S502a), and a large dot, medium dot is selected for the selected processed pixel.
  • step S504a it is determined whether small dots are formed. Onaka Judgment of the presence or absence of the formation of small dots means that a multi-tone image is eventually converted to a low number of gradations by a combination of large, medium and small dots, which is a half in a broad sense.
  • step S506a It is determined whether the processing has been completed for all the pixels in the pixel group while determining whether to form any of the small dots or not to form any of the dots. ), If it has been completed (step S506a: yes), the number of large dots, medium dots, and small dots formed in the pixel group is obtained (step S508a). As described above, when the number of various dots formed in the S element group is obtained, a combination of the numbers of the various types of dots (for example, a combination of one large dot, two medium dots, and one small dot) ) Is performed (step S51Oa). This is due to the following reasons.
  • the number of dots must be output three times for one pixel group.
  • the combination of the number of each dot is converted into an individual code set for each combination.
  • the process of coding the combination of the large, medium, and small dots has already been described in the first embodiment (see FIG. 26), and a description thereof will be omitted.
  • step S500a If unprocessed pixels remain, the process returns to step S500a and repeats a series of subsequent processes. When it is determined that processing has been completed for all pixels of the image, the coded number data is deleted. The output is performed (step S5 14a), and the count data generation process shown in FIG. 45 ends.
  • the coded number data generated for each pixel group is received, and the presence or absence of dot formation is determined for each pixel in the pixel group.
  • the processing will be described.
  • the presence / absence of dot formation is immediately determined from the count data and the order value by referring to the conversion table.
  • the conversion table it is possible to immediately determine the presence or absence of the formation of small and medium-sized dots from the coded number data and the order value.
  • the dot data from the number data is used without using a conversion table.
  • a process for determining whether or not a mouse is formed will be described.
  • a dot formation presence / absence determination process of the fourth embodiment will be described in which the presence / absence of various large / medium / small dots can be quickly determined from the number data by referring to the conversion table.
  • FIG. 46 is a flowchart showing the flow of processing for determining whether or not various large, medium, and small dots are formed without referring to the conversion table.
  • the following is a brief description according to the flowchart.
  • each pixel in the pixel group is roughly referred to with reference to the read order value matrix.
  • the order value matrix is a matrix that sets the order in which dots are formed for each pixel in the pixel group, as described above with reference to FIGS. 41a to 41d. The manner in which the presence or absence of formation of various large, medium, and small dots is determined for each pixel with reference to the order value matrix has already been described with reference to FIG.
  • a pixel that forms a large dot is determined (step S608a in FIG. 46).
  • the number of large dots is one, the pixel where the dot is most likely to be formed, that is, the pixel whose order value is set to ⁇ 1 ”in the order value matrix is large.
  • N it is determined that a large dot is to be formed in a pixel for which the order value is set to a value from “1 J to“ N ”in the order value matrix.
  • pixels forming large dots are displayed with fine diagonal lines.
  • the pixels for forming the large dots are determined from the pixels in which no large dots are formed (step S 6 ⁇ O a). From the pixels in which neither a large dot nor a medium dot is formed, the pixel that forms a small dot is determined (step S612a), and finally, a large dot, a medium dot, and a small dot are formed. It is determined that a dot is not formed for a pixel that has not been subjected to the process (step S614a).
  • step S it is determined whether or not the processing has been completed for all the pixel groups (step S). 6 16 a). If an unprocessed pixel group remains (step S616 &: ⁇ 0), the process returns to step 3600a and repeats a series of processes for a new pixel group. When it is determined that the processing has been completed for all the pixel groups in this way (step S616a: yes), the dot formation determination processing shown in FIG. 46 ends.
  • the coded number data when the coded number data is received, it is decoded into data indicating the number of large / medium / small dots to be formed in the pixel group, and then any dot is determined for each pixel. It is a two-step process of deciding whether to form a bird. However, by referring to the conversion table, the dots to be formed in each pixel can be immediately determined without decoding the number data.
  • a dot formation presence / absence determination processing for determining whether or not a dot is to be formed with reference to a conversion table will be described.
  • This dot formation presence / absence determination processing is different from the dot formation presence / absence determination processing of the modified example described with reference to FIG. 40 in the third embodiment described above only in the conversion table to be referred to.
  • the processing flow is the same. Therefore, in the following, while diverting the flow chart of FIG. 40, a dot formation presence / absence determination as a modification of the fourth embodiment will be described.
  • the dot formation presence / absence determination processing is started, first, one pixel group is selected, and the number data of the pixel group is obtained (corresponding to steps S300a and S302a). ). Next, an order value matrix corresponding to the selected pixel group is read from the order value matrix stored in a plurality of sets (corresponding to step S330a).
  • n and m are obtained from the coordinates (n, m) of the pixel group. Extract bits and find N and M, respectively. Then, select and read the order value matrix generated from the N rows and M columns block in the dither matrix. After reading the order value matrix corresponding to the pixel group as described above, select one target pixel from which the dot formation is to be determined from the pixel group being processed (step S3). 0 4a).
  • the order value of the target pixel is obtained by referring to the read order value matrix (equivalent to step S306a), and then the dot formation for the target pixel is performed by referring to the conversion table. Is determined (equivalent to step S308a).
  • data indicating the presence or absence of dot formation is set for each combination of the number data and the order value ( See Figure 39).
  • the conversion table referred to in the dot formation presence / absence determination processing of this modification large, medium, and small dots are formed for each combination of the number of encoded states and the order value. Or data indicating whether a dot is not formed.
  • the presence or absence of dot formation can be immediately determined.
  • the dot formation presence / absence determination processing of the second embodiment by referring to such a conversion table, it is immediately determined whether a large, medium, or small dot is formed in the target pixel, or whether a dot is not formed. (Equivalent to step S308a in FIG. 40).
  • the presence / absence of dot formation is determined with reference to a conversion table as shown in FIG. 47, the presence / absence of dot formation for large / medium / small dots is appropriately determined. The reason will be described.
  • the third embodiment as described above with reference to FIGS.
  • a two-step operation when determining whether or not to form dots without referring to the conversion template, a two-step operation is roughly performed. Has passed. That is, first, in the first stage, the coded number data is converted into the number of large, medium, and small dots. In the subsequent second step, the presence or absence of dot formation for each pixel is determined according to the order value matrix.
  • the coded number data and the combination of the numbers of the large, medium, and small dots have a one-to-one relationship. In other words, if one coded number data is given, the combination of the numbers for various dots can be uniquely determined.
  • the presence or absence of dot formation for each pixel is determined according to the order value matrix. That is, if the order value matrix is determined, there is a one-to-one relationship between the combination of the numbers of various dots and the presence or absence of dot formation for each pixel. As described above, the combination of the numbers for each type of dot is uniquely determined from the coded number data. Therefore, if the ordinal value matrix is determined, the number combination is determined from the coded number data. For each pixel in the pixel group, the presence or absence of the formation of various dots is uniquely determined.
  • the order value and the type of the dot formed in the pixel having the order value are determined in advance for all the number data, and are converted into the conversion table as shown in FIG. 47. Set it. Then, when determining the presence or absence of dot formation for the target pixel in the pixel group, the order value of the target pixel is obtained by referring to the order value matrix, and then the order value is obtained by referring to the conversion table.
  • step S310a in FIG. 40 If there are still pixels for which the presence or absence of dot formation has not been determined, the process returns to the portion corresponding to step S304a, a new target pixel is selected, and a series of subsequent processes are performed.
  • step S312a the count data It is determined whether or not the processing has been completed for all the pixel groups supplied with (step S312a). If an unprocessed pixel group remains, the process returns to the beginning, selects a new pixel group, and performs a series of subsequent processing. Such processing is repeated, and when the processing is completed for all the pixel groups, the dot formation presence / absence determination processing of this modified example is completed.
  • the dot formation presence / absence determination processing of the fourth embodiment including the modified example described above when the coded number data is received, the order value of the target pixel is obtained by referring to the order value matrix.
  • the main processing content of the dot on / off state determination processing in these embodiments is very simple processing in which data is read out with reference to the order value matrix and the conversion table. Therefore, even with a color printer 200 that does not have a high data processing capability like the computer 100, it can be executed sufficiently quickly, and the image can be printed quickly accordingly. Become.
  • the dot on / off state determination processing of the fourth embodiment it is possible to determine whether or not a dot is formed on the target pixel simply by referring to the matrix or the sample, and the conditional branch is included in the processing. As described above, the speed of processing by a CPU with a specific pipeline structure etc. will be faster. As described above, in the dot formation presence / absence determination processing (including the modified example) of the fourth embodiment, the dot formation presence / absence for each pixel in the pixel group is determined easily and quickly. Although it is possible to specify them, it is necessary to store a large number of order value matrices and a conversion table as shown in Fig. 47.
  • the amount of memory required to store the conversion table and the order value matrix is also included in the product in the dot formation existence determination process of the fourth embodiment, as in the third embodiment described above. It will not be so large as to be an obstacle to doing so.
  • the order value matrix is the same as in the third embodiment described above. In other words, the amount of memory for storing the order value matrix is determined by the size of the dither matrix and the size of the pixel group. As shown in Fig. 44, about 10 Kbytes of memory is used. If there is enough, it will be possible to store enough. Next, the memory capacity required for storing the conversion table will be described. As shown in FIG.
  • the conversion table can be sufficiently stored if it is several kilobytes. Therefore, in the dot formation presence / absence determination processing of the fourth embodiment, the order value matrix and the conversion Only a small amount of memory is needed to store the table, and the memory capacity does not hinder the product from being installed.
  • FIG. 49 is an explanatory diagram illustrating a third embodiment of the present invention, taking a printing system as an example.
  • the printing system includes a computer 10B as an image processing device, a printer 20B as an image output device, and the like.
  • a predetermined program is loaded on the computer 10B and executed, the printing system is executed.
  • the fact that the computer 10B and the printer 20B function as an integrated image output system as a whole is the same as in the second embodiment.
  • the printing system illustrated in FIG. 49 prints an image as follows.
  • the computer 10B divides an image into a plurality of pixel groups by grouping pixels constituting the image into a predetermined number of adjacent pixels. Then, for each pixel group, number data representing the number of dots to be formed in the pixel group is generated and supplied to the printer 20B. The number data supplied to the printer 20B is converted by the dot formation presence / absence determination module into data representing the presence / absence of dot formation for each pixel in the pixel group. Next, an image is printed by the dot formation module forming a dot on a print medium according to the presence or absence of the dot formation determined for each pixel.
  • the number data for each pixel group can be a much smaller data amount. Therefore, instead of supplying data representing whether dots are formed or not for each pixel from the computer 10B to the printer 20B. Instead, if the number data for each pixel is supplied, the data can be transferred very quickly.
  • the pixel group number data is generated in the computer 10B as follows. First, in a pixel group tone value determination module, pixel group tone values are determined for a plurality of pixel groups that divide an image.
  • the pixel group gradation value is a gradation value representing the pixel group, and is determined based on image data of each pixel included in the pixel group.
  • the first correspondence relationship storage module stores the correspondence relationship between the combination of the classification number assigned to the pixel group and the pixel group gradation value and the number data of the pixel group having the combination. It is stored as Here, the classification number of the pixel group can be set by classifying each pixel group into a plurality of types according to the position in the image, or when the image is always divided in the same manner. Can be assigned an appropriate classification number in advance for each pixel group. Furthermore, it is possible to easily assign a classification number to a random number by using a random number or the like.
  • the number data supply module determines the number data for each pixel group based on the classification number of each pixel group and the pixel group gradation value while referring to such a first correspondence. To the printer 20B.
  • the pixel group gradation value of the pixel group can be easily obtained. Also, when a classification number is assigned to each pixel group, the classification number of each pixel group can be easily determined and assigned. Further, referring to the stored first correspondence, the number data can be easily obtained from the classification number and the pixel group gradation value. Therefore, in the printing system shown in FIG. 49, the number data for each pixel group can be generated extremely quickly, and the generated number data can be supplied to the printer 20B very quickly. it can. Further, the printer 2 OB determines whether or not to form a dot for each pixel in the pixel group based on the supplied number data in the following manner.
  • an order value indicating the order in which dots are formed in the pixel group is stored in the order value storage module. Further, the correspondence between the combination of the order value and the number data and the presence / absence of dot formation for the pixel having the order value is stored in the second correspondence storage module as a second correspondence. Then, when the count data is received for each pixel group, the order value of each pixel in the pixel group is obtained, and the second correspondence is referred to for each combination of the count data and the order value, thereby obtaining Determines the presence or absence of dot formation for pixels.
  • the computer 10B supplies the number data to the printer 20B;
  • the number data since the number data is generated with reference to the stored first correspondence relationship, the number data can be generated quickly and easily.
  • the received number data is converted into data indicating the presence or absence of dot formation for each pixel while referring to the second correspondence, so that the number data can be converted quickly and easily.
  • the third embodiment of the present invention includes the image processing device (computer 10 B) in the first embodiment and the image output device (printer in the second embodiment) 20 B) Can.
  • the fifth and sixth embodiments will be described in detail using such a printing system as an example.
  • the computer 100 and the color printer 200 perform image processing (image printing processing) internally performed by the computer 100 and the color printer 200, respectively, in the third embodiment (FIG. 35). ) And its big flow are the same, so the explanation is omitted.
  • FIG. 50 is a flowchart showing the flow of the count data generation process in the fifth embodiment.
  • the count data generation process is performed by the combination printer 100.
  • the count data generation process can be an extremely simple process. Alternatively, it can be implemented inside a digital camera 120 or the like.
  • This number data generation process is the same as that described in the first embodiment, which is one of the first aspects of the invention (see FIG. 10), except for step S 204, so that step S 204 Instead of step S 205, the processing will be briefly described below with reference to a flowchart.
  • the number data generation process of the fifth embodiment When the number data generation process of the fifth embodiment is started, first, a predetermined number of pixels adjacent to each other are grouped to generate a pixel group (step S200), and the classification number of the pixel group and the pixel group gradation The value is determined (step S202). The determination of the pixel group classification number and the pixel group gradation value has already been described in the first embodiment. Pixel group classification number and pixel group floor After the adjustment value is determined, the number data is determined by referring to the first conversion table (step S205). This first conversion table is the same table as the conversion table shown in FIG. 14 in the first embodiment. As described above, in this table, appropriate number data is stored in advance in association with the combination of the pixel group classification number and the pixel group gradation value. As described above, once the pixel group classification number and the pixel group gradation value are determined, the number data can be immediately obtained by referring to the first conversion table.
  • step S206 it is determined whether or not the processing has been completed for all the pixels of the image data (step S206), and if unprocessed pixels remain (step S2). 06: no), returning to step S200, generating a new pixel group, and repeating a series of subsequent processes. These operations are repeated, and if it is determined that the processing has been completed for all pixels (step S206: yes), the number data obtained for each pixel group is output to the color printer 200 (step S206). S208), the count data generation process of the fifth embodiment shown in FIG. 50 is completed.
  • FIG. 51 is a flowchart showing the flow of the dot formation presence / absence determination processing of the fifth embodiment.
  • This process is a process executed by the CPU incorporated in the control circuit 260 of the power printer 200.
  • This process is the same as the process of determining the presence or absence of dot formation (FIG. 37) in the third embodiment described as one of the second aspects of the present invention except for step S3008a.
  • step S309a in place of step S308a in step 7.
  • step S300a When the dot formation presence / absence determination processing is started, first, one pixel group is selected (step S300a), and the number data of the pixel group is obtained (step S302a). Next, one target pixel is selected from the pixels included in the selected pixel group.
  • Step S304a a value (order value) indicating the order in which dots are formed at the target pixel in the pixel group is obtained (Step S304a).
  • the order value of the target pixel can be easily obtained by referring to a preset order value matrix as shown in FIG. 38B.
  • the presence or absence of dot formation for the target pixel is determined by referring to the second conversion table (step S309a).
  • the second conversion table referred to to determine the presence or absence of dot formation for the target pixel is the same as that used in the third embodiment (see FIG. 39). While the first conversion table described above stores the number data in association with the combination of the classification number and the pixel group gradation value (see FIG. 14), the second conversion table stores the number data. As shown in FIG. 39, the presence or absence of dot formation is set in association with the combination of the order value and the number data.
  • the second conversion table contains A value indicating the presence or absence of dot formation is set in association with the 72 combinations obtained by combining these.
  • the order value is "1" as shown in Fig. 38b, and the count data is shown in Fig. 38a. As shown, it is "3".
  • the value set for the combination of the order value “1” and the count data “3” is “1”, that is, the dot is set for this pixel. Can be determined to form.
  • step S309a in FIG. 51 by referring to the second conversion table, the dot formation for the target pixel is performed from the number data of the pixel group and the order value of the target pixel. The decision is immediately made.
  • step S31O After determining the presence or absence of dot formation for one pixel selected as the target pixel in this way, it is determined whether the presence or absence of dot formation has been determined for all pixels in the selected pixel group (step S31O). a). If there are still pixels in the pixel group for which dot formation has not yet been determined (step S310a: n0), the process returns to step S304a, and the process returns to step S304. A new pixel is selected as a target pixel, and the subsequent series of processing is performed. When such processing is repeated and it is determined that dot formation is determined for all pixels in the pixel group (step S310a: yes), then processing is performed for all pixel groups to which the number data is supplied. It is determined whether or not has been completed (step S312a).
  • step S312a n0
  • the process returns to step S300a to select a new pixel group and perform a series of subsequent processes.
  • the number data supplied from the computer is converted into data indicating the presence or absence of dot formation for each pixel.
  • step S306a yes
  • the process for determining whether or not to form a dot shown in FIG. 51 is completed, and the process returns to the image printing process.
  • the contents of the number data generation processing (FIG. 50) and the dot formation presence / absence determination processing (FIG. 51) performed during the image printing processing of the fifth embodiment have been described above.
  • a pixel group is generated by grouping a predetermined number of pixels, and After determining the classification number and the pixel group gradation value, the number data is generated.
  • the pixel group classification number and the pixel group gradation value can be obtained very easily as described above. Then, if the classification number and the pixel group gradation value are known, the number data can be generated extremely easily by referring to the above-mentioned first conversion table.
  • the number data generated in this way is much smaller than the data indicating the presence or absence of dot formation for each pixel. It is possible to output data very quickly. That is, in the above-described number data generation processing, the generation and output of the number data can be executed at high speed.
  • the order value of the target pixel is obtained by referring to the order value matrix.
  • the presence or absence of dot formation for each pixel in the pixel group is determined by referring to the second conversion table using the obtained order value and number. In this way, it is possible to quickly determine whether or not a dot is formed simply by referring to the order value matrix and the second conversion table.
  • the process of generating the number data is merely a process of referring to the table, and the classification number and the pixel group gradation value used to refer to the first conversion table are obtained by extremely simple processing. be able to.
  • the process of determining the presence or absence of dot formation from the count data is merely a process of referring to a table. For this reason, any of the processes can be performed at a sufficiently practical speed even when a device having no high data processing capability such as the computer 100 is used.
  • most of the processing is based on data stored in matrices or tables. It is very simple to simply refer to the data, so it is easy to execute it hardware-wise using an IC chip incorporating a dedicated logic circuit, instead of executing it software-wise using a CPU. is there. If the processing is executed in a hardware manner, it will be possible to execute the processing at a much higher speed, and it will be possible to print an image correspondingly faster.
  • the type of dot that can be formed by the color printer 200 is described as one type.
  • a printer that forms many types of ink dots a so-called multi Value dot printers.
  • the computer 100 directly obtained the number data by referring to the second conversion template.
  • the printer 200 directly refers to the second conversion table to determine whether or not to form a dot on the target pixel from the number data and the order value.
  • the number data is coded and generated.
  • the image printing process of the sixth embodiment as in the fifth embodiment, the entire process is performed according to FIG.
  • the generation of the count data on the computer 100 side is performed according to the flowchart shown in FIG.
  • an outline of the image printing processing of the sixth embodiment will be briefly described while diverting the flowchart of FIG. 35.
  • the image printing process of the sixth embodiment is started, first, the image data is read by the computer 100, and then the color conversion process is performed (steps S100 and S100 in FIG. 35). 2 equivalent). Next, a resolution conversion process is performed to convert the resolution of the image data into a print resolution (corresponding to step S104), and then the number data generation process is started (corresponding to step S107).
  • the generated number data is output to the printer 200 side.
  • the printer 200 side determines whether or not to form dots.
  • a process (equivalent to step S109) is performed, and a process for forming a dot (equivalent to step S110) is performed according to the determination.
  • the number data generation process (corresponding to step S107) generates number data for large, medium, and small dots, and encodes the parentheses.
  • the color printer 20.0 can form only one type of dot. In the count data generation processing, one type of dot formed in the pixel group is used.
  • the color printer 200 can form three types of dots having different sizes, that is, a large dot, a medium dot, and a small dot. For this reason, in the number data generation process of the sixth embodiment, the number data indicating how many large dots, medium dots, and small dots are formed in the pixel group is generated. Also, in order to output the count data efficiently with a small amount of data, the number of large dots, medium dots, and small dots is not output as it is, but is output in a coded state. This method of encoding and outputting is described in FIGS. 21 to 26 as the first embodiment.
  • the computer 100 of the sixth embodiment first determines the number of large, medium, and small dots to be formed by using the dither method (FIG. 21 or FIG. 25), and thereafter, the first conversion table (FIG. 21).
  • the number data is coded using Fig. 26).
  • coded number data is generated through a two-step process. In the process described above, the number of large, medium, and small dots to be formed in a pixel group is determined using the dither method, and the obtained combination of the number of dots is coded and then supplied to the printer. It was explained as having gone through.
  • the image data of the pixel group can be directly converted to coded number data and output to the color printer 200. It is. This makes it possible to generate the quantity data very quickly, and the processing for generating the quantity data becomes extremely simple. As a result, it is possible to generate the number data at a sufficiently practical speed without using a device such as a computer having a high processing capability.
  • the count data generation process shown in FIG. 27 can be adopted. In this process, the pixel group classification number and the pixel When the gradation value of the group is determined (FIG.
  • step S702 the coded number data is obtained at once from the classification number and the gradation value of the pixel group by referring to the conversion table.
  • Step S704 The method of determining the pixel group classification number and the pixel group gradation value has been described above, and thus the description is omitted here.
  • the first conversion table referred to in this processing is shown in FIG.
  • coded number data is stored in advance in association with a combination of a pixel group classification number and a pixel group gradation value. Therefore, in the number data generation processing of the sixth embodiment, the classification is immediately performed (one step) by simply determining the classification number of the pixel group and the pixel group gradation value and referring to the first conversion table.
  • the color printer 200 of the sixth embodiment receives the coded number data and determines whether or not large, medium and small dots are formed.
  • the dot formation presence / absence determination processing of the fifth embodiment described above the presence / absence of dot formation is immediately determined from the number data and the order value by referring to the second conversion table.
  • the presence / absence of large / medium / small dot formation can be immediately determined from the coded number data and the order value. It is.
  • FIG. 47 An example of the second conversion table used is shown in FIG. The principle of determining the presence or absence of dot formation with reference to a second conversion table as shown in FIG. 47 will be briefly described. As shown in Figure 30 There is a one-to-one relationship between the number of pieces of data obtained and the combination of the numbers of large, medium and small dots. In other words, if one coded number data is provided, the combination of the numbers for various dots can be uniquely determined. On the other hand, when the number of various dots formed in the pixel group is decoded, as shown in FIG.
  • the coded number data is immediately obtained by simply referring to the first conversion table. Obtainable. Therefore, the encoded number data can be generated very quickly.
  • the dot formation presence / absence determination process of the second embodiment described above when the coded number data is received, the order value of the target pixel is acquired by referring to the order value matrix, and then the number data and the order value are obtained.
  • the second conversion table it is possible to determine the presence or absence of formation of various dots without decoding the number data.
  • the number data generation processing and the dot formation presence / absence determination processing can both be executed extremely quickly, but in addition to this, the processing contents can be made extremely simple.
  • the number data generation processing will be described. If you decide to use the dither method to determine the number of dots without consulting the first conversion table, you will need to perform a complicated process. In addition, the resulting combination of dot numbers must be coded. On the other hand, by referring to the first conversion table, the same processing can be performed by an extremely simple processing as shown in FIG.
  • the use of the memory in the image printing process of the sixth embodiment is also described in the first aspect of the present invention.
  • the first and second conversion templates are both large enough to fit in a general computer cache memory. It has a small amount of data, and can be fully loaded into image devices such as digital camera 120 and memory of color printer 200.
  • image devices such as digital camera 120 and memory of color printer 200.
  • the present invention can be suitably applied to a liquid crystal display device or the like that expresses an image in which the gradation changes continuously by dispersing bright spots on the liquid crystal display screen at an appropriate density.
  • a liquid crystal display device or the like that expresses an image in which the gradation changes continuously by dispersing bright spots on the liquid crystal display screen at an appropriate density.
  • FIG. 52 is an explanatory diagram conceptually illustrating a set spatial frequency characteristic of a dither matrix having a blue noise mask characteristic and a dither matrix having a Darine noise mask characteristic.
  • the horizontal axis shows the period instead of the spatial frequency. Needless to say, the shorter the period, the higher the spatial frequency.
  • the vertical axis in FIG. 52 indicates the spatial frequency component in each cycle. The frequency components shown are 02527
  • the solid line in the figure conceptually shows the spatial frequency component of the blue noise mask.
  • the blue noise mask has the largest frequency component in a high frequency region where the length of one cycle is 2 pixels or less. Since the threshold of the Bull noise mask is set to have such a spatial frequency characteristic, when the presence or absence of the dot formation is determined based on the Bull noise mask, the dots are separated from each other. It tends to be formed in a state.
  • the broken line in the figure conceptually shows the spatial frequency component of the green noise mask. As shown in the figure, the green noise mask has the largest frequency component in an intermediate frequency region in which one cycle length is from 2 pixels to more than 10 pixels.
  • the threshold value of the green noise mask is set to have such spatial frequency characteristics, when the presence or absence of dot formation is determined based on the green noise mask, the threshold value is determined in units of several dots. While the dots are being formed, the mass of the dots tends to be formed in a dispersed state as a whole. Therefore, if the number data of the pixel group is determined or the pixel position is determined based on the dither matrix having such a blue noise mask characteristic or a green noise mask characteristic, processing is performed on a pixel group basis. Nevertheless, a dot can be formed with a distribution reflecting the blue noise mask characteristic or the green noise mask characteristic. In the above description, as shown in FIGS.
  • a plurality of ordinal value matrices generated based on the dither matrix are stored in advance, and the number data of the pixel groups is stored.
  • the order value matrix corresponding to the pixel group is used to determine whether or not to form dots for each pixel.
  • the presence or absence of dot formation may be determined as follows. That is, a plurality of order value matrices are stored in advance, and when the number data is received, whether or not dots are formed for each pixel is determined using one order value matrix randomly selected for each pixel group. May be determined. Further, more simply, it is possible to store only one set of the order value matrix and determine the presence or absence of dot formation for each pixel using this matrix.

Abstract

 隣接する画素を所定数ずつまとめて画像を複数の画素群に分割し、画素群を代表する画素群階調値を決定する。そして、画素群毎に付与された分類番号および画素群階調値の組合せと、画素群に形成されるドット個数のデータとを対応付けた変換テーブルを参照して、画素群の個数データを決定する。次いで、画素群内でドットの形成され易さを表す画素の序列を参照しながら、ドットを形成する画素位置を個数データに示される個数だけ決定してドットを形成する。個数データは、画素位置の情報を含まないためデータ量が小さく、迅速にデータをやり取り可能である。また、変換テーブルを参照することで個数データを迅速に決定することができる。このために、高画質な画像データを迅速に出力することが可能となり、高画質な画像を簡素な処理で迅速に出力可能な技術を提供することができる。

Description

明細書 所定領域内に形成されるドッ卜個数の情報に基づいて
画像を出力する画像出力システム 技術分野
この発明は、 画像データに基づいて画像を出力する技術に関し、 詳しくは、 画 像データに所定の画像処理を施してドッ卜を適切な密度で発生させることにより、 画像を出力する技術に関する。 背景技術
印刷媒体や液晶画面といった各種の出力媒体上にドッ卜を形成することで画像 を出力する画像出力装置は、 各種画像機器の出力装置として広く使用されている。 これら画像出力装置では、 画像は画素と呼ばれる小さな領域に細分された状態で 扱われており、 ドット (まこれら画素に形成される。 ドットを画素に形成した場合、 もちろん画素 Ίつ 1つについて見れば、 ドッ卜が形成されるか否かのいずれかの 状態しか取り得ない。 しかし、 ある程度の広さを持った領域で見れば、 形成する ドッ卜の密度に粗密を生じさせることは可能であり、 ドッ卜の形成密度を変える ことによって多階調の画像を出力することが可能である。
例えば、 印刷用紙上に黒いインクのドットを形成する場合、 ドットが密に形成さ れている領域は暗く見えるし、 逆にドッ卜がまばらに形成されている領域は明る ヽ見え また、
液晶画面に輝点のドッ卜を形成する場合、 ドッ卜が密に形成された領域は明るく 見え、 まばらに形成された領域は暗く見える。 従って、 ドットの形成密度を適切 に制御してやれば、 多階調の画像を出力することが可能となる。 このように、 適 J:刀な形成密度が得られるようにドッ卜の形成を制御するためのデータは、 出力し ようとする画像に所定の画像処理を施すことによって発生させる 近年では、 これら画像出力装置には、 出力画像の高画質化ゃ大画像化が要請さ れるようになってきた。 高画質化の要請に対しては、 画像をより細かな画素に分 割することが効果的である。 画素を小さくしてやれば、 画素に形成されるドット が目立たなくなるので画質を向上させることができる。 また、 大画像化の要請に 対しては、 画素数の増加によって対応する。 もちろん、 個々の画素を大きくする ことによっても出力画像を大きくすることはできるが、 これでは画質の低下を招 いてしまうので、 大型化の要請に対しては画素数を増加させることが効果的であ る。 もっとも、 画像を構成する画素数が増加すると画像処理に時間がかかってしま い、 画像を迅速に出力することが困難となる。 そこで、 画像処理を迅速に実行可 能とする技術が提案されている (例えば、 特開 2 0 0 2— 1 8 5 7 8 9号公報参 照) 。 . しかし、 画像処理を迅速に行ったとしても、 画像データの転送に、 あるいは処 理済みの画像デー夕の転送に時間がかかってしまったのでは、 画像の出力を迅速 化する効果にも自ずから限界がある。 また、 近年では、 デジタルカメラなどで撮影した画像のデータを、 印刷装置な どの画像出力装置に直接供給して直ちに画像を出力したいという要請も存在する。 このような場合は、 いわゆるパーソナルコンピュータ等のような高い処理能力を 備えた画像処理装置を用いて画像処理を行うことはできない。 従って、 デジタル カメラなどの画像撮影装置あるいは画像出力装置のいずれか、 若しくは両者で分 担して実行可能なように、 簡素な画像処理としておく必要がある。 発明の開示
この発明は従来技術における上述した課題を解決するためになされたものであ り、 十分な出力画質を維持したまま、 画像処理およびデータ転送を高速に実行可 能であるとともに、 画像処理のためにパーソナルコンピュータ等のような高い処 理能力を有する機器を用いずとも実行可能な、 簡素な画像処理技術の提供を目的 とする。 かかる目的を達成するために、 本発明は、 画像データに所定の画像処理を施す 画像処理装置と、 該画像処理の結果に基づいてドットを形成することにより出力 媒体上に画像を出力する画像出力装置とを備える画像出力システムにおいて、 こ の画像処理装置と画像出力装置との間で、 「個数データ」 を転送する。 「個数デ 一夕」 とは、 画像を構成する複数の画素を所定個数ずつまとめた画素群毎に形成 すべきドット個数を表すデータである。 本願発明は、 両装置間でやり取りされる この個数データの扱い Ί.こおいて共通の特徴を備え、 その特徴を画像処理装置側に 持つもの (第 1の態様) と、 その特徴を画像出力装置側に持つものと (第 2の態 様) 、 両装置に持つもの (第 3の態様) として実現された。 以下、 これらの特徴 について簡略に説明する。 まず、 本発明の第 1の態様について説明する。 本発明の第 1の画像出力システ 厶は、 次の構成を採用した。 すなわち、
画像データに所定の画像処理を施す画像処理装置と、 該画像処理の結果に基づ いてドッ卜を形成することにより出力媒体上に画像を出力する画像出力装置とを 備える画像出力システムであって、
前記画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶してい る対応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数デ一 夕を生成して前記画像出力装置に供給する個数データ供給手段と
を備えており、
前記画像出力装置は、
前記画素群内で各画素にドットが形成される画素の序列を記憶しておき、 前 記画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内で ドッ卜が形成される画素位置を決定する画素位置決定手段と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成するドッ卜 形成手段と
を備えていること 要旨とする。 また、 上記第 1の画像出力システムに対応する本発明の画像出力方法は、 画像データに所定の画像処理を施して、 得られた結果に基づいて出力媒体上に ドッ卜を形成することによって、 画像を出力する画像出力方法であって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する第 1の工程と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数デ一夕との対応関係を記憶しておく第 2の工程と、
前記対応関係を参照することにより、 前記各々の画素群についての個数デ一夕 を生成する第 3の工程と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する第 4の工程と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成する第 5のェ 程と を備えていることを要旨とする。 かかる本発明の画像出力システムおよび画像出力方法においては、 画像を複数 の画素群に分割し、 画素群内に形成されるドッ卜個数を表す個数データを生成し て、 画像出力装置に供給する。 画像出力装置には、 画素群内でドットが形成され る画素の序列が予め記憶されている。 画像出力装置は、 供給された個数データと 該画素の序列とに基づいて、 画素群内でドッ卜が形成される画素位置を決定して、 ドッ卜を形成することにより画像を出力する。 詳細には後述するが 画像の全画素についてドッ卜形成の有無を表すデータに 比べれば、 画素群毎にドッ卜の個数を表すデータは遙かに小さなデータとするこ とができる。 このため、 画像出力装置に個数データを供給してやれば、 迅速にデ 一夕を供給することが可能となり、 延いては画像を迅速に出力することが可能と なる。 ' また、 個数データの生成に際しては、 画素群の分類番号および画素群階調値の 組合せと、 個数データとの対応関係を予め記憶しておき、 この対応関係を参照す ることによって個数データを生成する。 対応関係を参照して個数データを生成す る処理は極めて簡単な処理である。 加えて、 後ほど詳細に説明す.るように、 画素 群の画素群階調値は極めて容易に求めることができる。 また、 必要な場合は分類 番号も極めて容易に決定することができるから、 結局、 個数データを生成する処 理は極めて簡素な処理とすることができる。 このため、 個数データを迅速に生成 することが可能となり、 延いては画像出力装置に迅速に供給して、 画像を速やか に出力することが可能となる。 更に、 このように極めて簡素な処理で個数データを生成することができれば、 コンピュータなどのように高度な処理能力を有さない機器においても、 個数デ一 夕を迅速に生成することが可能である。 従って、 例えば、 画像データをコンビュ 一夕などを介さずに直接、
画像出力装置に供給し、 画像出力装置の内部で個数データを生成して、 画像を出 力することも可能となる。 こうした画像出力システムにおいては、 画素の序列を複数組記憶しておき: 個 数データを受け取ると、 これら複数の序列の中から画素群毎に 1の序列を選択し て、 画素位置を決定することとしてもよい。 画素群内での画素位置は、 画素の序列と個数データとに基づいて決定される。 従って、
複数組の序列の中から 1の序列を選択しながら画素位置を決定してやれば、 例え、 同じ個数データが続いた場合でも、 複数の画素群に亘つて同じ画素位置にドッ卜 が形成されることがない。 このため、 同じパターンでドットが形成された領域が 目立ってしまい、 画質が悪化することを確実に回避することが可能となる。 ここで、 画素群の分類番号は、 各画素群を画像中での位置に応じて複数種類に 分類することによって付与することとしても良い。 こうすれば、 画素群に予め分 類番号を付与しておかずとも、 必要に応じて適宜、 分類番号を付与することがで きる。 また、 画像中での位置に応じて付与することで、 分類番号を適切に付与す ることが可能となる。 こうした画像出力システムにおいては、 複数の閾値が二次元的に配列されたデ ィザマトリックスを想定し、 このディザマトリックスに基づいて設定された分類 番号と個数データと画素の序列とを用いて、 画像を出力することとしてもよい。 一例として、 ある画素群に着目して説明する。 先ず、 画像にディザマ卜リックス を適用したときの、 マ卜リックスに対する画素群の相対位置に基づいて、 画素群 の分類番号を付与してやる。 次に、 その画素群内では全画素が画素群階調値を有 するものとして、 ディザマ卜リックスを用いてディザ法を適用することにより、 該画素群内に形成されるドットの個数を求める。 こうして求めたドットの個数を 表す個数データを、 分類番号および画素群階調値の組合せと対応付けて記憶して おく。 更に、 ディザマトリックスを画像に適用したときに、 画素群に対応する領 域に設定されている閾値の大きさに従って、 その画素群についての画素の序列を 決定し、
得られた序列を分類番 毎に記憶しておく。 詳細には後述するが、 このように分類番号と個数デ一夕と画素の序列とを、 同 じディザマ卜リックスに基づいて設定しておけば、 ディザ法を用いて画素毎にド ッ卜形成の有無を判断した場合と全く同等の画質で画像を出力することが可能と なる。 特に、 画素群としてまとめられる画素の画像データが同じ階調値を有して いる場合は、 ディザ法を用いて画素毎にドット形成の有無を判断した場合と、 個 数データからドッ卜を形成する画素位置を決定した場合とで、 全く同じ画素位置 にドッ卜が形成されることになる。 また、 従来技術が有する前述した課題の少なくとも一部を解決するために、 本 発明の第 1の画像処理装置は次の構成を採用した。 すなわち、 ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制御するた めに用いる制御データを、 該画像を表す画像データに所定の画像処理を加えて生 成する画像処理装置であつて、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶している対 応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する個数データ出力手段と を備えるこ とを要旨とする。 また、 上記第 1の画像処理装置に対応する本発明の第 1の画像処理方法は、 ドッ卜を形成して画俸を出力する画像出力装置が該ドッ卜の形成を制御するた めに用いる制御データを、 該画像を表す画像データに所定の画像処理を加えて生 成する画像処理方法であつて、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する工程 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておくェ 程 (B ) と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する工程 (C ) と を備えることを要旨 とする。 かかる本発明の第 1の画像処理装置および画像処理方法においては、 前記画像 を構成する複数の画素を所定個数ずつまとめて画素群毎を形成することで、 画像 を複数の画素群に分割し、 画素群内に形成されるドッ卜個数を表す個数データを 生成して、 画素群毎に得られた個数デ一夕を制御データとして出力する。 述するように、 画像の全画素についてドッ卜形成の有無を表すデータに比べ れば、 画素群毎にドッ卜の個数を表すデ一夕は遙かに小さなデータとすることが できるため、 こうすることで制御データを迅速に出力することが可能となる。 また、 かかる画像処理装置および画像処理方法では、 画素群の分類番号および 画素群階調値の組合せと、 個数データとの対応関係を予め記憶しておき、 この対 応関係を参照することによって個数データを生成している。 対応関係を参照して 個数データを生成する処理は極めて簡単な処理であり、 そのため制御データを迅 速に出力することが可熊となる。 加えて、 極めて簡単に個数データを生成することができることから、 コンビュ —夕などのように高度な処理能力を有さない機器に組み込んで本発明の画像処理 装置を構成したり、 あるいは高度な処理能力を有さない機器を用いて、 本発明の 画像処理方法を実施することも可能となる。 また、 画素群の分類番号は、 各画素群を画像中での位置に応じて複数種類に分 類することによって付与することとしても良い。 こうすれば、 画素群に予め分類 番号を付与しておく必要が無いだけでなく、 画像中での位置に応.じて付与するこ とで適切に分類番号を付与することが可能となる。 このような画像処理装置においては、 画像デ一夕の解像度を次のような解像度 に調整しておくことにより、 明示的には所定数の画素をまとめて画素群を形成す ることなく、 個数データを生成することとしてもよい。 すなわち、 変換後の画素 の大きさが画素群の大きさと一致するような解像度に、 画像データを変更する。 次いで、 解像度が調整された画素の 1つ Ίつを画素群として取り扱うことで分類 番号を付与するとともに、 各画素についての画像データの階調値を画素群階調値 として取り扱うことにより、 1つ 1つの画素について個数デ一夕を生成する。 こ うして明示的には複数の画素を画素群にまとめることなく、 画素群の個数データ を生成する。 画質上の要請から、 画像データの解像度よりも高い解像度で画像を印刷するこ とがしばしば行われる。 このような場合に、 上述した方法で個数デ一夕を生成し てやれば、 画像データを、 印刷しょうとする解像度よりも低い解像度に変換して 個数データを生成することができる。 画像データは一般に解像度が高くなるほど デ一夕量が多くなつて取り扱いが困難となることから、 より低い解像度のままで 個数データを生成することで、 データの取り扱いが容易になるとともに、 個数デ —夕を生成する処理も迅速化することが可能となる。 上述した画像処理装置においては、 画素群内に形成されるドッ卜個数を表す個 数データとして、 表現する階調値が互いに異なる複数種類のドットについてのド ッ卜個数の組合せを表すデータを生成することとしてもよい。 ここで、 表現する 階調値が互いに異なる複数種類のドットとは、 例えば、 ドットの大きさが異なる 複数種類のドットとすることもできるし、 あるいは、 ドットの濃度が異なる複数 種類のドットとすることもできる。 更には、
微細なドッ卜を所定の密度で形成することで擬似的に 1つのドッ卜を形成してい る場合には、 微細なドッ卜の密度が異なった複数種類のドッ卜とすることも可能 である。 対応関係を参照することによって個数データを生成する場合、 個数データが複 数種類のドッ卜についてのドッ卜個数の組合せを示すデータであっても、 単にド ッ卜個数を表すデータである場合と同様に、 極めて容易に個数データを生成する ことができる。 通常、 画素毎にドット形成の有無を判断する場合は、 ドットの種 類が多くなると、 それに連れて判断する処理もいきおい複雑なものとなり勝ちで あるから、 対応関係を参照して個数データを生成することで、 ドットの種類が多 くなるほど、 相対的に迅速に生成することが可能となるので好ましい。 また、 上述した画像処理装置においては、 主走査方向には 4画素ずつ、 副走査 方向には 2画素または 4画素ずつの画素を画素群としてまとめて、 各画素群に画 素群階調値を決定することとしてもよい。 画素群としてまとめ^)画素数が少なくなるほど、 分類番号の種類が増加するの で、 対応関係は複雑なものとなる。 従って、 この観点からは、 画素群にまとめる 画素数は多い方が好ましい。 一方、 画素群に含まれる画素の階調値は画素群階調 値にまとめられてしまうから、 画素群にまとめる画素数があまりに多くなつたの では画質の悪化を引き起こすおそれが生じる。 こうした点を踏まえると、 主走査 方向には 4画素ずつ、 副走査方向には 2画素または 4画素ずつの画素を画素群と してまとめた場合に、 経験上、 最も良好な結果を得ることができる。 また、 従来技術が有する前述した課題の少なくとも一部を解決するために、 本 発明の第 1の画像出力装置は次の構成を採用した。 すなわち、 .
画像データに応じて出力媒体上にドッ卜を形成することにより、 該画像データ に対応した画像を出力する画像出力装置であって、 前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶している対 応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成する個数データ生成手段と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する画素位置決定手段と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成するドット形 成手段と を備えていることを要旨とする。 かかる本発明の第 1 画像出力装置においても、 画像を複数の画素群に分割し、 画素群内に形成されるドッ卜個数を表す個数デ一夕を生成する。 個数データの生 成に際しては、 画素群の画素群階調値を求めた後、 画素群の分類番号および画素 群階調値の組合せと、 個数デ一夕との対応関係を参照することによって生成する。 そして、 画素群内でドットを形成する画素位置を個数データから決定して、 決定 した画素にドッ卜を形成することによって画像を出力する。 後述するように、 画素群の画素群階調値は極めて容易に求めることができる。 従って、 画素群の分類番号および画素群階調値の組合せと、 個数データとの対応 関係を予め求めておき、 かかる対応関係を参照することによって個数データを決 定すれば、 極めて容易に個数データを生成することができる。 このため、 コンビ ユー夕などのような高度な処理能力を有する機器を用いることなく、 画像出力装 置内で個数データを生成し、 画素位置を決定した後、 ドットを形成することによ リ、 迅速に画像を出力することが可能となるので好適である。 更に本発明は、 上述した画像出力方法あるいは画像処理方法を実現するための プログラムをコンピュータに読み込ませ、 コンピュータを用いて実現することも 可能である。 従って、 本発明は次のようなプログラム、 あるいは該プログラムを 記録した記録媒体としての態様も含んでいる。 すなわち、 上述した第 1の画像出 力方法に対応する本発明の第 1の画像出力プログラムは、
画像データに所定の画像処理を施して、 得られた結果に基づいて出力媒体上に ドットを形成することによって画像を出力する方法を、 コンピュータを用いて実 現するためのプログラムであって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する第 1の機能と、
前記画素群毎に付与 れた分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておく第 2の機能と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成する第 3の機能と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する第 4の機能と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成する第 5の機 能と を実現することを要旨とする。 上述した画像処理方法に対応する本発明の第 1の画像処理プログラムは、 ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制御するた めに用いる制御データを、 該画像を表す画像データに所定の画像処理を加えて生 成する方法を、 コンピュータを用いて実現するためのプログラムであって、 前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する工程 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておくェ 程 (B ) と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する工程 (C ) と を実現することを要 旨とする。 また、 上記の第 1の画像処理および画像出力プログラムを記録した記録媒体し て本発明を把握するこ ももちろん可能である。 こうしたプログラム、 あるいは記録媒体に記録されているプログラムをコンビ ユー夕に読み込ませ、 該コンピュータを用いて上述の各種機能を実現させれば、 画像処理およびデータ転送を高速に実行可能であるとともに、 簡素な画像処理を 実現することが可能となる。 次に本発明の第 2の態様について説明する。 本発明の第 2の画像出力システム は、
画像データに所定の画像処理を施す画像処理装置と、 該画像処理の結果に基づ いてドッ卜を形成することにより出力媒体上に画像を出力する画像出力装置とを 備える画像出力システムであって、 前記画像処理装置は、
前記画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該各々の画素群内に形成されるドッ卜の個数を表す個数データを、 前記画像デー 夕に基づいて生成する個数データ生成手段と、
前記画素群毎に生成された個数データを、 前記画像出力装置に供給する個数 データ供給手段と
を備えており、
前記画像出力装置は、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示 す順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記画素群についての個数データを受け取ると、 該個数データと前記各々の 順序値との組合せ毎に前記対応関係を参照することにより、 該画素群内の各画素 についてのドッ卜形成 有無を決定するドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する ドッ卜形成手段と
を備えることを要旨とする。 また、 上記の第 2の画像出力システムに対応する本発明の第 2の画像出力方法 は、
画像データに所定の画像処理を施して、 得られた結果に基づいてドッ卜を形成 することにより、 出力媒体上に画像を出力する画像出力方法であって、
前記画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該 各々の画素群内に形成されるドットの個数を表す個数データを、 前記画像データ に基づいて生成する第 Ίの工程と、 前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する第 2の工程と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶しておく第 3の工程と、
前記個数データを生成した画素群内の各画素について、 該個数データと前記順 序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を決 定する第 4の工程と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の工程と
を備えることを要旨とする。 かかる本発明の第 2の画像出力システムおよび画像出力方法においては、 画像 を複数の画素群に分割し、 画素群毎に個数データを生成して、 画像出力装置に供 給する。 画像出力装置では、 画素群内の各画素についてドットが形成される順番 を示す順序値を取得す: δ。 各画素の順序値を取得するに際しては、 例えば、 画素 群内の各画素に 「1」 から始まる連続した整数値を予め設定しておき、 この整数 値を読み出して順序値と読み替えても良いし、 あるいは、 各画素に異なる値の実 数値を予め設定しておき、 実数値の大きさの順に従って、 各画素の順序値を決定 しても良い。 更には、 各画素間に前後関係を設定しておき、 これら前後関係に基 づいて各画素の順序値を決定しても良い。 また、 画像出力装置には、 順序値およ び個数データの組合せと、 該順序値を有する画素におけるドッ卜形成の有無との 対応関係も記憶されている。 そして、 画素群についての個数データを受け取ると、 該個数データと該画素群内の各画素についての順序値との組合せから該対応関係 を参照することによって、 画素群内の各画素についてのドッ卜形成の有無を決定 する。 こうして決定したドット形成の有無に従って、 出力媒体上にドットを形成 することによって画像を出力する。 この発明によっても、 第 1の画像出力システムおよび画像出力方法と同様、 画 像の全画素についてドッ卜形成の有無を表すデータに比べれば、 画素群毎にドッ 卜の個数を表すデータは遙かに小さなデータとすることができる。 このため、 画 素群毎の個数データを画像出力装置に供給してやれば、 迅速にデータを供給する ことが可能となり、 延いては画像を迅速に出力することが可能となる。 また、 画像出力装置は画素群毎に出力された個数データを受け取ると、 個数デ 一夕と画素群内の各画素についての順序値との組合せから対応関係を参照するこ とによって、 画素群内の各画素についてのドット形成の有無を決定している。 こ のように対応関係を参照しながらドッ卜形成の有無を決定してやれば、 画素群内 の各画素についてのドッ卜形成の有無を、 個数データから直ちに決定することが できるので、 極めて迅速に且つ簡便に決定可能であり、 延いては画像を迅速に出 力することが可能となる。 更に、 このように極めて簡素な処理でドッ卜形成の有無を決定することができ れぱ、 画像出力装置が画像処理装置のようには高度な処理能力を有さない場合で も、 個数デ一夕から各画素についてのドッ卜形成有無を迅速に決定することが可 能である。 こうした画像出力システムにおいては、 各画素の順序値を次のようにして取得 して、 ドット形成の有無を決定しても良い。 先ず、 画素群内でドットが形成され る画素の序列を複数組記憶しておき、 これら複数組の序列の中から画素群毎に 1 の序列を選択する。 そして、 選択した序列に基づいて、 該画素群.内の各画素につ いての順序値を取得し、 得られた順序値に基づいて各画素のドット形成の有無を 決定してもよい。 画素群内の各画素についてのドッ卜形成有無は、 個数データと順序値とに基づ いて決定される。 従って、 複数組の序列の中から 1の序列を選択して、 その序列 に基づいて取得された順序値を用いてドッ卜形成の有無を決定してやれば、 例え、 同じ個数データが続いた場合でも、 複数の画素群に亘つて同じ画素位置にドット が形成されることがない。 このため、 同じパターンでドットが形成された領域が 目立ってしまい、 画質が悪化することを確実に回避することが可能となる。 また、 こうした画像出力システムにおいては、 二次元的に配列された画素の各 々に閾値を対応付けたディザマトリックスに基づいて個数データを生成するとと もに、 同じディザマ卜リックスに基づいて取得された順序値を用いて、 各画素の ドット形成の有無を決定することとしても良い。 すなわち、 ディザマトリックス を複数の画素群に分割し、 画素群内に形成されるドッ卜個数を求めて個数データ を生成する。 個数デ一夕の生成に際しては、
分割されたディザマトリックスを用いて、 画素群内の各画素についてドット形成 の有無を判断することにより、 画素群内に形成されるドッ卜個数のデータを生成 すればよい。 あるいは、 個数データを生成するためには、 ドットが形成される画 素位置までは分からなくても良いことから、 簡易的には次のようにすることもで きる。 先ず、 分割されたディザマ卜リックスに設定されている閾値のみを画素群 毎に記憶しておく。 次いで、 画素群を代表する階調値 (代表階調値) を決定する。 代表階調値には、 各画素の画像データの平均値を用いることもできるし、 あるい は、 画像データは隣接する画素間では近似した値を有することから、 画素群内の 所定位置の画素の画像データを代表階調値とすることも可能である。
そして、 代表階調値より小さな閾値の個数を画素群毎に求めて、 得られた値をそ の画素群のドット個数とすることもできる。 このようにして生成した個数データを受け取ると、 画素群内の各画素について のドット形成の有無を、 次のようにして決定する。 予め、 個数データの生成に用 いたディザマ卜リックスを複数の画素群に分割し、 画素群内の各画素に対応付け られた閾値に基づいて決定された画素の序列を、 複数組記憶しておく。 あるいは、 画素群内の各画素に対応付けられた閾値の大小関係に基づいて画素群毎に各画素 の順序値を決定し、 得られた順序値を画素の序列として複数組記憶しておく。 そ して、 画素群の個数データを受け取ると、 画像上での該画素群の位置に対応した 1の序列を選択して、 該序列に基づいて各画素の順序値を取得した後、 ドット形 成の有無を決定することとしてもよい。 詳細には後述するが、 このようにして、 ディザマ卜リックスに基づいて画素群 の個数デ一夕を生成し、 該画素群内の各画素についてのドット形成の有無を、 同 じディザマ卜リックスに基づいて決定してやれば、 ディザ法を用いて画素毎にド ッ卜形成の有無を判断した場合と同等の画質で画像を出力することが可能となる。 特に、 画素群としてまとめられる画素の画像データが同じ階調値を有している場 合は、 ディザ法を用いて画素毎にドット形成の有無を判断した場合と、 個数デー 夕からドッ卜を形成する画素位置を決定した場合とで、 全く同じ画素位置にドッ 卜が形成されることになる。 また、 従来技術が有する前述した課題の少なくとも一部を解決するために、 本 発明の第 2の画像出力装置は次の構成を採用した。 すなわち、
所定の画像処理が施された画像デー夕を受け取って、 該画像デー夕に基づいて 出力媒体上にドッ卜を形成することにより、 画像を出力する画像出力装置であつ て、
前記画像を分割するために該画像を構成する複数の画素を所定個数ずつ画素群 としてまとめた状態で、 該画素群内に形成すべきドッ卜の個数を表す個数データ を、 前記画像データとして受け取る個数データ受取手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記個数データを受け取った画素群内の各画素について、 該個数データと前記 順序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を 決定するドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備えることを要旨とする。 また、 上記の第 2の画像出力装置に対応する本発明の第 2の画像出力方法は、 所定の画像処理が施された画像データを受け取って、 該画像データに基づいて 出力媒体上にドットを形成することにより、 画像を出力する画像出力方法であつ て、
前記画像を分割するために該画像を構成する複数の画素を所定個数ずつ画素群 としてまとめた状態で、 該画素群内に形成すべきドッ卜の個数を表す個数データ を、 前記画像データとして受け取る工程 (A ) と、
前記画素群内の各画素について、 該画素群内でドットが形成される順番を示す 順序値を取得する工程 (B ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドット形成の有無との対応関係を記憶しておく工程 (C ) と、
前記個数データを受け取った画素群内の各画素について、 該個数データと前記 順序値との組合せ毎に前記対応関係を参照することにより、 ドット形成の有無を 決定する工程 (D ) と、 前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するェ 程 (E ) と
を備えることを要旨とする。 かかる第 2の画像出力装置および第 2の画像出力方法においては、 画素群の個 数データを受け取ると、 順序値および個数データの組合せと、 該順序値を有する 画素におけるドッ卜形成の有無との対応関係を参照しながら、 画素群内の各画素 についてのドッ卜形成の有無を決定する。 こうして決定したドッ卜形成の有無に 従って、 出力媒体上にドットを形成することによって画像を出力する。 後述するように、 画素群の個数データであれば迅速にデータを受け取ることが できるので、 画像を迅速に出力することが可能である。 また、 各画素につい 1:の ドッ卜形成の有無は、 個数データおよび順序値の組合せ毎に設定された対応関係 を参照することによって決定することができるので、 簡便に且つ迅速に決定する ことができる。 このため、 画像を迅速に出力することが可能であるとともに、 高 度な処理能力を有さない画像出力装置においても、 十分に実用的な速度で画像を 出力することが可能となる。 こうした第 2の画像出力装置においては、 画素群内でドッ卜が形成される画素 の序列を複数組記憶しているとともに、 該画素の序列毎に各画素についての前記 順序値を記憶しておき、
個数データを受け取ると、 これら複数の序列の中から画素群毎に 1の序列を選択 し、 該序列に基づいて取得された順序値を用いて各画素のドッ卜形成の有無を決 定することとしてもよい。 こうすれば、 同じ個数データが連続した場合でも、 複数の画素群に亘つて同じ 画素位置にドッ卜が形成されることがないので、 同じパターンでドッ卜が形成さ れた領域が目立ってしまい、 画質が悪化することを回避することが可能となる。 このような画像出力装置においては、 表現する階調値の異なる複数種類のドッ 卜を出力可能として、 画素群内に形成される各種ドットの個数を、 個数データと して受け取ることとしてもよい。 ここで、 表現する階調値の異なる複数種類のド ッ卜とは、 例えば、 ドットの大きさが異なる複数種類のドットとすることもでき るし、 あるいは、 ドットの濃度が異なる複数種類のドットとすることもできる。 更には、 微細なドッ卜を所定の密度で形成することで擬似的に 1つのドッ卜を形 成している場合には、 微細なドットの密度が異なった複数種類のドットとするこ とも可能である。 これら各種ドットを形成可能な場合は、 各種ドットの個数の組 合せを個数データとして受け取る。 そして、 順序値および前記個数データの組合 せと、 該順序値を有する画素に形成されるドッ卜種類との対応関係を記憶してお き、 假数データを受け取ると、 該対応関係を参照することによって、 各画素に形 成されるドットの種類き決定し、 決定したドット形成の有無に従って、 出力媒体 上に各種ドッ卜を形成することとしてもよい。 画素群内の各画素についてドッ卜形成有無を、 対応関係を参照しながら決定す る場合は、 個数データが複数種類のドッ卜についてのドッ卜個数の組合せを示す データであっても、 各画素についてのドット形成の有無を、 単にドットの個数を 表すデータである場合と同様に、 極めて容易に決定することができる。 このため、 ドッ卜形成有無を迅速に決定することができ、 延いては画像を迅速に出力するこ とが可能となるので好ましい。 こうした画像出力装置においては、 互いに所定の位置関係にある 8画素ないし 1 6画素ずつの画素がまとめられた画素群について、 個数データを受け取ること とレてもよい。 画素群としてまとめる画素数が多くなるほど画素群の数は少なくなるので、 個 数データを迅速に受け取ることができる。 一方、 画素群にまとめる画素数があま りに多くなつたのでは画質の悪化を引き起こすおそれが生じる。 こうした点を踏 まえると、 経験上、 8画素から Ί 6画素ずつの画素を画素群としてまとめた場合 に、 最も良好な結果を得ることができる。 すなわち、 詳細には後述するが、 画素 群にまとめられる画素数を 8画素から 1 6画素にしておけば、 個数データのデー 夕量を、 画素毎にドッ卜形成の有無を表したデータの半分以下に低減することが でき、 迅速にデータを受け取ることができる。 また、 画素群にまとめられる複数 の画素の位置関係は、 例えば、 主走査方向に 4画素ずつ、 副走査方向に 2画素ず つといったように、 互いに矩形形状を成すような位置関係としておけば、 経験上、 良好な画質を得ることが可能である。 また、 本発明の画像処理出力装置は次の構成を採用した。 すなわち、
画像データに応じて出力媒体上にドッ卜を形成することにより、 該画像データ に対応した画像を出力する画像処理出力装置であって、
画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該各々 の画素群内に形成されるドッ卜の個数を表す個数データを、 前記画像データに基 づいて生成する個数データ生成手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記個数データを生成した画素群内の各画素について、 該個数データと前記順 序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を決 定するドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備えることを要旨とする。 かかる本発明の画像処理出力装置においても、 画像を複数の画素群に分割し、 画素群内に形成されるドット個数を表す個数データを生成する。 次いで、 順序値 および個数データの組合せと、 該順序値を有する画素におけるドッ卜形成の有無 との対応関係を参照しながら、 画素群内の各画素についてのドッ卜形成の有無を 決定する。 こうして決定したドット形成の有無に従って、 出力媒体上にドットを 形成することによって画像を出力する。 各画素についてのドッ卜形成の有無を、 このように個数データおよび順序値の 組合せ毎に設定された対応関係を参照しながら決定してやれば、 簡便に且つ迅速 に決定することができる。 このため、 画像を迅速に出力することが可能であると ともに、 高度な処理能力を有さない画像出力装置においても、 十分に実用的な速 度で画像を出力することが可能となる。 更に本発明は、 上述した画像出力方法や画像処理出力方法を実現するためのプ ログラムをコンピュータに読み込ませ、 コンピュータを用いて実現することも可 能である。 従って、 本発明はプログラム、 あるいは該プログラムを記録した記録 媒体としての態様も含んでいる。 こうしたプログラム、 あるいは記録媒体に記録されているプログラムをコンビ ユー夕に読み込ませ、 該コンピュータを用いて上述の各種機能を実現させれば、 簡便に且つ迅速に画像を出力することが可能となる。 次に、 本発明の第 3の態様について説明する。 第 3の態様では、 第 1の態様に おける画
像処理装置と、 第 2の態様における画像出力装置とを組み合わせたものに相当し ている。 本発明の第 3の画像出力システムは、 次の構成を採用した。 すなわち、 画像データに所定の画像処理を施す画像処理装置と、 該画像処理の結果に基づ いてドッ卜を形成することにより出力媒体上に画像を出力する画像出力装置とを 備える画像出力システムであって、
前記画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の 対応関係を参照するこ により、 前記各々の画素群についての個数デ一夕を生成 して前記画像出力装置に供給する個数データ供給手段と
を備えており、
前記画像出力装置は、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示 す順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前 記個数データを受け取った画素群内の各画素についてドッ卜形成の有無を決定す るドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する ドッ卜形成手段と を備えていることを要旨とする。 また、 上記の第 3の画像出力システムに対応する本発明の第 3の画像出力方法 は、
画像データに応じて出力媒体上にドットを形成することにより、 該画像データ に対応した画像を出力する画像出力方法であって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する第 1の工程と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 Ίの対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 第 2の工程と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶しておぐ第 3の工程と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前記 個数データを生成した画素群内の各画素について、 ドッ卜形成の有無を決定する 第 4の工程と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の工程と
を備えていることを要旨とする。 かかる本発明の第 3の画像出力システムおよび第 3の画像出力方法においては、 画像を複数の画素群に分割し、 画素群内に形成されるドット個数を表す個数デ一 夕を生成して、 画像出力装置に供給する。 画像出力装置は、 供給された個数デー 夕に基づいて、 画素群内の各画素についてドット形成の有無を決定した後、 決定 の結果に従って出力媒体上にドッ卜を形成することによって画像を出力する。 詳細には後述するが、 画像の全画素についてドッ卜形成の有無を表すデータに 比べれば、 画素群毎にドットの個数を表すデータは遙かに小さなデータとするこ とができる。 このため、 画像出力装置に個数データを供給してやれば、 迅速にデ 一夕を供給することが可能となり、 延いては画像を迅速に出力することが可能と なる。 また、 個数データの生成に際しては、 画素群の分類番号および画素群階調値の 組合せと、 個数データとの対応関係 (第 1の対応関係) を参照することによって 個数データを生成する。 対応関係を参照して個数データを生成する処理は極めて 簡単な処理である。 加えて、 後ほど詳細に説明するように、 画素群の画素群階調 値は極めて容易に求めることができる。 また、 必要な場合は分類番号も極めて容 易に決定することができるから、 結局、 個数データを生成する処理は極めて簡素 な処理とすることができる。 このため、 個数データを迅速に生成することが可能 となり、 延いては画像出力装置に迅速に供給して、 画像を速やかに出力すること が可能となる。 更に、 画像出力装置では、 次のようにして、 画素群内の各画素についてドット 形成の有無を決定する。 先ず、 画素群内でドットが形成される順番を示す順序値 を、 画素群内の各画素について予め記憶しておく。 そして、 順序値および個数デ 一夕の組合せと、 該順序値を有する画素におけるドッ卜形成の有無との対応関係 (第 2の対応関係) を参照することによって、 個数データが供給された画素群内 の各画素について、 ドット形成の有無を決定する。 このように対応関係を参照し ながらドッ卜形成の有無を決定してやれば、 画素群内の各画素についてのドッ卜 形成の有無を、 個数データから直ちに決定することができるので、 極めて迅速に 且つ簡便に決定することが可能であり、 延いては画像を迅速に出力することが可 能となる。 更に、 個数データを生成する処理も、 個数データから画素群内の各画素につい てのドッ卜形成有無を決定する処理も、 このように極めて簡素な処理で実行する ことができれば、
コンピュータなどのようには高度な処理能力を有さない機器においても、 十分に 実用的な速度で処理することが可能である。 従って、 例えば画像データを、 コン ピュー夕などを介さずに直接、 画像出力装置に供給し、 画像データにこれらの画 像処理を画像出力装置の内部で施して、 適切に画像を出力することも可能となる。 また、 画素群の分類番号は、 各画素群を画像中での位置に応じて複数種類に分 類することによって付与することとしても良い。 こうすれば、 画素群に予め分類 番号を付与しておかず も、 必要に応じて適宜、 分類番号を付与することができ る。 また、 画像中での位置に応じて付与することで、 分類番号を適切に付与する ことが可能となる。 このような観点からは、 本発明を次のような画像出力装置として把握すること も可能である。 すなわち、 上記の第 3の画像出力システム、 あるいは第 3の画像 出力方法に対応する本発明の第 3の画像出力装置は、
画像データに応じて出力媒体上にドッ卜を形成することにより、 該画像データ に対応した画像を出力する画像出力装置であって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、 前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 個数データ生成手段と、
前記画素群内の各画素について、 該画素群内でドットが形成される順番を示す 順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前記 個数データを生成した画素群内の各画素について、 ドッ卜形成の有無を決定する ドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備えることを要旨とする。 かかる第 3の画像出 装置においては、 画像を複数の画素群に分割し、 第 1の 対応関係を参照することによって画素群毎に個数データを生成する。 次いで、 第 2の対応関係を参照することによって、 個数データから画素群内の各画素につい てのドッ卜形成の有無を決定する。 こうして決定した結果に基づいて出力媒体上 にドットを形成することによって画像を出力する。 このように、 これら対応関係 を参照しながら画像データを変換してやれば、 簡便に且つ迅速に画像を出力する ことが可能である。 更に、 コンピュータなどのようには高度な処理能力を有さな い機器においても、 十分に実用的な速度で画像を出力可能な画像出力装置を構成 することが可能となる。 第 3の態様における本発明は、 形成すべきドットの生成までを行なう画像処理 制御システムとして把握することが可能である。 すなわち、 画像データに所定の画像処理を施す第 1の画像処理装置と、 出力媒体上にドッ トを形成して画像を出力する際に該ドッ卜の形成を制御するために用いられる制 御データを、 該画像処理の結果に基づいて生成する第 2の画像処理装置とを備え る画像処理制御システムであって、
前記第 1の画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 前記画素群に形成するドット個数を表す個数データとの対応関係たる第 1の 対応関係を参照することにより、 前記各々の画素群についての個数データを生成 する個数データ生成手段と
を備えており、
前記第 2の画像処理装置は、
前記画素群内の各兩素について、 該画素群内でドットが形成される順番を示 す順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数 デ一夕を受け取った画素群内の各画素についてドッ卜形成の有無を決定すること により、 前記制御データを生成する制御データ生成手段と
を備えていることを要旨とする。 また、 上記の画像処理制御システムに対応する本発明の画像処理制御方法は、 ドッ卜を形成して画像を出力する際に該ドッ卜の形成を制御するために用いら れる制御データを、 該画像を表す画像データに所定の画像処理を加えることで生 成する画像処理制御方法であつて、 前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する工程 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 工程 (B ) と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶しておく工程 (C ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数デ —夕を生成した画素群内の各画素についてドッ卜形成の有無を決定することによ り、 前記制御データを生成する工程 (D ) と
を備えることを要旨とする。
' .
かかる本発明の画像処理制御システムおよび画像処理制御方法においても、 画 像を構成する複数の画素を所定数ずつまとめて画素群を形成することで、 画像を 複数の画素群に分割し、 画素群内に形成されるドッ卜個数を表す個数データを生 成する。 次いで、 画素群毎に生成した個数データに基づいて、 画素群内の各画素 についてドット形成の有無を決定することにより、 制御データを生成する。 後述するように、 画像の全画素についてドッ卜形成の有無を表すデータに比べ れぱ、 画素群毎にドットの個数を表すデータは小さなデータであるため、 データ の取り扱いが容易となり、 その分だけ簡便に且つ迅速に制御データを生成するこ とが可能となる。 また、 個数データを生成するに際しては、 第 1の対応関係、 すなわち、 画素群 の分類番号および画素群階調値の組合せと、 個数データとの対応関係を参照する ことによつて生成しているため、 迅速に且つ極めて簡単な処理で個数データを生 成することができる。 更に、 個数データから制御デ一夕を生成するに際しても、 第 2の対応関係、 すなわち、 順序値および個数データの組合せと、 該順序値を有 する画素におけるドッ卜形成の有無との対応関係を参照することによって生成し ているため、 迅速に且つ極めて簡単な処理によって、
個数データから制御データを生成することができる。 結局、 画像データから制御 データを簡便且つ迅速に生成することができ、 延いては生成した制御データを用 いることによって画像を迅速に出力することが可能となる。 更に、 画像データから制御データを極めて簡単な処理で生成することができる ので、 コンピュータなどのように高度な処理能力を有さない機器においても、 十 分に実用的な速度で制御データを生成することが可能である。
. .
このような観点からは、 本発明を次のような画像処理制御装置として把握する ことも可能である。 すなわち、 上記の画像処理制御システム、 あるいは画像処理 制御方法に対応する本発明の画像処理制御装置は、
ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制御するた めに用いる制御データを、 該画像を表す画像データに所定の画像処理を加えるこ とによつて生成する画像処理装置であつて、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 個数データ供給手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数デ —夕を生成した画素群内の各画素についてドッ卜形成の有無を決定することによ り、 前記制御データを生成する制御データ生成手段と
を備えることを要旨とする。 かかる画像処理制御装置においては、 画像を複数の画素群に分割した後、 第 1 の対応関係を参照することによって画像データから画素群毎に個数データを生成 し、 次いで、 第 2の対応関係を参照することによって、 画素群毎の個数データか ら制御データを生成する。 このように、 これら対応関係を参照しながら変換すれ ぱ、 簡便に且つ迅速に 御データを生成することが可能である。 更に、 コンビュ 一夕などのようには高度な処理能力を有さない機器においても、 十分に実用的な 速度で制御データを生成可能な画像処理装置を構成することが可能となる。 こうした画像処理制御システム、 画像処理制御方法、 あるいは画像処理制御装 置においては、 次のようにしても良い。 先ず、 画素群内でドットが形成される画 素の序列を複数組記憶しておき、 それぞれの画素の序列毎に、 画素群内の各画素 についての順序値を記憶しておく。 そして、 複数組の序列の中から画素群毎に 1 の序列を選択し、 選択した序列に記憶されている順序値を用いて、 画素群内の各 画素についてのドッ卜形成の有無を決定することにより、 制御データを生成する。 画素群内の各画素についてのドッ卜形成の有無は、 その画素群の個数データと 該画素群内の各画素の順序値とに基づいて決定される。 ここで、 複数組の序列の 中から、 画素群毎に 1の序列を選択しながらドッ卜形成の有無を決定してやれば、 各画素の順序値は画素群毎に異なったものとなる。 従って、 複数の画素群に亘っ て、 同じ個数データが続いた場合でも、 順序値が異なっているために、 これら画 素群で同じ画素位置にドットが形成されることがない。 このため、 同じパターン でドッ卜が形成された領域が目立ってしまい、 画質が悪化することを確実に回避 することが可能となる。 ここで、 画素群の分類番号は、 本発明の第 1の態様と同様に付与することがで きる。 また、 こうした画像処理制御システム、 画像処理制御方法、 あるいは画像処理 制御装置においては、 複数の閾値が二次元的に配列されたディザマ卜リックスを 想定し、 このディザマトリックスに基づいて設定された分類番号と個数データと 順序値とを用いて、 制 デ一夕を生成することとしてもよい。 一例として、 ある 画素群に着目して説明する。 先ず、 画像にディザマ卜リックスを適用したときの、 マトリックスに対する画素群の相対位置に基づいて、 画素群の分類番号を付与し てやる。 次に、 その画素群内では全画素が画素群階調値を有するものとして、 デ ィザマトリックスを用いてディザ法を適用することにより、 該画素群内に形成さ れるドットの個数を求める。 こうして求めたドットの個数を表す個数データを、 分類番号および画素群階調値の組合せと対応付けて、 第 1の対応関係として記憶 しておく。 更に、 ディザマトリックスを画像に適用したときに、 画素群に対応す る領域に設定されている閾値の大きさに従って、 その画素群内の各画素について の順序値を決定し、 得られた順序値の組を複数組の画素の序列と.して記憶してお く。 そして、 画素群の個数データを生成したら、 画像上で該画素群の位置に対応 した 1の序列を選択して、 該序列に設定されている順序値を用いて各画素につい てのドッ卜形成の有無を判断することにより、 制御データを生成する。 詳細には後述するが、 このように分類番号と個数デ一夕と順序値とを、 同じデ ィザマ卜リックスに基づいて設定しておけば、 ディザ法を用いて画素毎にドッ卜 形成の有無を判断した場合と全く同等の画質で画像を出力することが可能となる。 特に、 画素群としてまとめられる画素の画像データが同じ階調値を有している場 合は、 ディザ法を用いて画素毎にドット形成の有無を判断した場合と、 個数デー 夕から各画素についてのドッ卜形成の有無を決定した場合とでは、 全く同じ画素 位置にドッ卜が形成されることになる。 ここで、 ディザ法を用いた場合と全く同じ画素位置にドットが形成されること からも明らかなように、 分類番号、 個数データ、 順序値を、 ディザマトリックス を用いて設定しておくことで、 ドッ卜の発生状況を比較的自由に制御することが 可能である。 すなわち、 ドットの発生状況は、 画像データを画素群単位で処理し ているにも関わらず画.素群の大きさの影響はほとんど受けず、 分類番号や順序値 などを設定するために用いたディザマ卜リックスに大きく依存する。 そして、 特 に、 画素群としてまとめられる画素の画像データが同じ階調値を有している場合 は、 ドットの発生状況は、 ディザマ卜リックスによって完全に決定されることに なる。 こうした特性に鑑みて、 分類番号、 個数データ、 順序値を設定するに際しては、 いわゆるブルーノイズマスク特性を有するディザマトリックスに基づいて設定す ることとしても良い。 ここで、 本明細書における 「ブルーノイズマスク特性を有 するディザマトリックス」 とは、 次のようなマトリックスを言う.。 すなわち、 ド ッ卜を不規則に発生させるとともに、 設定されている閾値の空間周波数成分は、 1周期が 2画素以下の高周波数領域に最も大きな成分を有するディザマトリック スを言う。 尚、 明るい (明度の高い) 画像など、 特定の明度付近では規則的なパ ターンでドッ卜が形成される場合があっても良い。 分類番号、 個数データ、 順序値を、 このようなブルーノイズマスク特性を有す るディザマ卜リックスに基づいて設定しておけば、 ブルーノイズマスク特性が反 映されたドット分布で画像を出力することができる。 すなわち、 個数データの生 成とドッ卜形成の有無とを画素群単位で行っているにも関わらず、 ドッ卜の分布 には画素群に相当する周期的なパターンが発生することがない。 それでいて、 画 素群単位で個数データを扱うことにより、 画像を迅速に出力することが可能であ リ、 従って、 高画質な画像を迅速に出力することができる。 なお、 かかる手法は、 本発明の第 1, 第 2の態様においても採用可能なことは勿論である。 あるいは、 分類番号、 個数データ、 順序値を設定するに際しては、 いわゆるグ リーンノイズマスク特性を有するディザマ卜リックスに基づいて設定することと しても良い。 ここで、 本明細書における 「グリーンノイズマスク特性を有するデ ィザマトリックス」 とは、 次のようなマ卜リックスを言う。 すなわち、 ドットを 不規則に発生させるとともに、 設定されている閾値の空間周波数成分は、 1周期 が 2画素から十数画素の中間周波数領域に最も大きな成分を有するディザマトリ ックスを言う。 尚、 ここでも、 特定の明度付近であれば規則的なパターンでドッ 卜が形成される場合があっても良い。 いわゆるレーザープリン夕などのように、 1画素程度の微細なドッ卜を安定し て形成することが苦手な画像出力機器では、 こうしたグリーンノィズマスク特性 を有するディザマ卜リックスを用いることにより、 孤立したドットの発生を抑制 することができる。 その結果、 安定した画質の画像を迅速に出力することが可能 となる。 なお、 かかる手法は、 本発明の第 1, 第 2の態様においても採用可能な ことは勿論である。 こうした画像処理制御システム、 画像処理制御方法、 あるいは画像処理制御装 置においては、 画像データの解像度を次のような解像度に調整しておくことによ リ、 明示的には所定数の画素をまとめて画素群を形成することなく、 個数データ を生成することとしてもよい。 すなわち、 変換後の画素の大きさが画素群の大き さと一致するような解像度に、 画像データを変更する。 次いで、 解像度が調整さ れた画素の 1つ 1つを画素群として取り扱うことで分類番号を付与するとともに、 各画素についての画像データの階調値を画素群階調値として取り扱うことにより、 1つ 1つの画素について個数データを生成する。 こうして明示的には複数の画素 を画素群にまとめることなく、 画素群の個数データを生成する。 画質上の要請から、 画像データの解像度よりも高い解像度で画像を印刷するこ とがしばしば行われる。 このような場合に、 上述した方法で個数データを生成し てやれば、 画像デーダを、 印刷しょうとする解像度よりも低い解像度に変換して 個数データを生成することができる。 画像デ一夕は一般に解像度が高くなるほど データ量が多くなつて取り扱いが困難となることから、 より低い解像度のままで 個数データを生成することで、 データの取り扱いが容易になるとともに、 個数デ 一夕を生成する処理も迅速化することが可能となる。 また、 上述した画像処理制御システム、 画像処理制御方法、 あるいは画像処理 制御装置においては、 画素群内に形成されるドッ卜個数を表す個数データとして、 表現する階調値が互いに異なる複数種類のドッ卜についてのドッ卜個数の組合せ を表すデータを生成することとしてもよい。 ここで、 表現する階調値が互いに異 なる複数種類のドットとは、 例えば、 ドットの大きさが異なる複数種類のドット とすることもできるし、 あるいは、 ドットの濃度が異なる複数種類のドットとす ることもできる。 更には、 微細なドットを所定の密度で形成することで擬似的に
1つのドッ卜を形成している場合には、 微細なドッ卜の密度が異なった複数種類 のドッ卜とすることも可能である。 このような各種ドットの個数の組合せを表す個数データと、 分類番号および画 素群階調値の組合せとの対応関係を示す第 1の対応関係を参照することによって、 画素群毎の個数データを生成する。 そして、 順序値および個数データの組合せと、 該順序値を有する画素に形成されるドッ卜種類との対応関係を示す第 2の対応関 係を参照することによって、 画素群毎に生成された個数データから、 各画素につ いて各種ドットの形成の有無を決定することにより、 制御データを生成する。 第 1の対応関係を参照することによって個数データを生成する場合、 個数デー 夕が複数種類のドッ卜についてのドッ卜個数の組合せを示すデータであっても、 単にドット個数を表すデータである場合と同様に、 極めて容易に個数データを生 成することができる。 S常、 画素毎にドット形成の有無を判断する場合は、 ドッ 卜の種類が多くなると、 それに連れて判断する処理もいきおい複雑なものとなり 勝ちであるから、 第 1の対応関係を参照して個数データを生成することで、 ドッ 卜の種類が多くなるほど、 相対的に迅速に生成することが可能となるので好まし い。 また、 画素毎にドット形成の有無を決定する処理も、 ドットの種類が多くな るほど複雑なものとなりがちであるが、 第 2の対応関係を参照しながら各種ドッ 卜についての形成の有無を決定してやれば、 ドッ卜の種類が多くなつても簡便に 決定することができる。 すなわち、 相対的には迅速にドット形成の有無を決定す ることができる。 結局、 ドットの種類が多くなるほど、 画像データから制御デー 夕を迅速に生成することが可能となるので好ましい。 更に、 上述した画像処理制御システム、 画像処理制御方法、 あるいは画像処理 制御装置においては、 互いに所定の位置関係にある 4個ないし 1 6個ずつの画素 を画素群としてまとめて、 画素群階調値を決定することとしても良い。 画素群としてまとめる画素数が少なくなるほど、 画素群の個数が増加するので、 第 1の対応関係は複雑なものとなる。 従って、 この観点からは、 画素群にまとめ る画素数は多い方が好ましい。 一方、 画素群に含まれる画素の階調値は画素群階 調値にまとめられてしまうから、 画素群にまとめる画素数があまりに多くなつた のでは画質の悪化を引き起こすおそれが生じる。 こうした点を踏まえると、 経験 上、 最も良好な結果を得ることができるのは、 8画素から 1 6画素ずつの画素を 画素群としてまとめた場合であるが、 4画素から 1 6画素ずつを画素群としてま とめた場合でも十分な結果を得ることができる。 また、 画素群にまとめられる複 数の画素の位置関係は、 例えば、 主走査方向に 4画素ずつ、 副走査方向に 2画素 ずっといつたように、 互いに矩形形状を成すような位置関係としておけば、 経験 上、 良好な画質を得ることが可能である。 更に本発明は、 上述した画像出力方法あるいは画像処理制御方法を実現するた めのプログラムをコンピュータに読み込ませ、 コンピュータを用いて実現するこ とも可能である。 従って、 本発明は次のようなプログラム、 あるいは該プロダラ 厶を記録した記録媒体としての態様も含んでいる。 図面の簡単な説明
図 1は、 印刷システムを例にとって本発明の第 1の態様を説明するための説 明図である。
図 2は、 本実施例の画像処理装置としてのコンピュー夕の構成を示す説明図 である。
図 3は、 本実施例のカラープリン夕の概略構成を示す説明図である。 図 4は、 インク吐出用ヘッドにおけるインクジェットノズルの配列を示す説 明図である。
図 5は、 第 1実施例の画像印刷処理の全体的な流れを示すフローチヤ一卜で ある。
図 6は、 ディザマ卜リックスの一部を概念的に例示した説明図である。
図 7は、 ディザマ卜リックスを参照しながら各画素についてのドッ卜形成の 有無を判断している様子を概念的に示した説明図である。
図 8 aないし図 8 dは、 ディザ法を用いて画像データをドッ卜形成の有無を 表すデータに変換している様子を示した説明図である。
図 9 aないし図 9 dは、 ドット個数のデータから画素毎にドット形成の有無 を表すデータを生成する様子を示した説明図である。
図 1 0は、 第 1実施例の個数データ生成処理の流れを示すフローチャートで ある。
図 1 1 aないし図 1 1 cは、 画素群毎の分類番号を決定するための考え方を 示した説明図である。 .
図 1 2 aないし図 1 2 dは、 画素群の分類番号を決定する方法を示した説明 図である。
図 1 3は、 画素群の分類番号を決定する具体的な方法を示した説明図である。 図 1 4は、 画素群の分類番号と画素群階調値とから個数データを取得するた めに参照される変換テーブルを概念的に示した説明図である。
図 1 5は、 画素群の分類番号と画素群階調値との組合せに応じて適切な個数 データを決定する様子を概念的に示した説明図である。
図 1 6は、 第 1実施例の画素位置決定処理の流れを示すフローチャートであ る。
図 1 7は、 変換テーブルのデータサイズを各種条件で試算した結果を示す説 明図である。 図 1 8は、 第 1実施例における変形例の画像印刷処理の流れを示したフロー チヤ一卜である。
図 1 9 aないし図 1 9 cは、 解像度調整処理で行われる処理について示した 説明図である。
図 2 0は、 変形例の画像印刷処理で行われる個数データ生成処理の流れを示 すフローチヤ一卜である。
図 2 1は、 画素群内に形成される大中小各ドッ卜の個数をいわゆるディザ法 を用いて決定する処理の流れを示すフローチヤ一卜である。
図 2 2は、 選択した画素についてハーフトーン処理を行うことにより大中小 各ドッ卜の形成有無を判断する処理の流れを示すフローチヤ一卜である。
図 2 3は、 画像データの階調値を大中小各ドッ卜についての密度データに変 換する際に参照されるドッ卜密度変換テーブルを概念的に示した説明図である。
図 2 4は、 画素群内の各画素についてディザ法を適用しながら大中小各ドッ 卜の形成有無を判断している様子を概念的に示した説明図である。
図 2 5は、 画素群 に大中小各ドッ卜の形成個数が得られた様子を概念的に 示した説明図である。
図 2 6は、 画素群に形成される大中小各ドッ卜の個数の組合せとコード化さ れた個数データとが対応付けて設定された対応テーブルを示す説明図である。
図 2 7は、 第 2実施例の個数データ生成処理の流れを示すフローチャートで ある。
図 2 8は、 第 2実施例の個数データ生成処理において参照される変換テープ ルを概念的に示した説明図である。
図 2 9は、 第 2実施例の画素位置決定処理の流れを示すフローチャートであ る。
図 3 0は、 第 2実施例の画素位置決定処理中でコード化された個数データを 復号するために参照される復号テーブルを概念的に示した説明図である。 図 3 1は、 序列マトリックスを参照しながら大中小各ドットを形成する画素 位置を決定している様子を概念的に示した説明図である。
図 3 2は、 コード化された個数データを復号するために参照される復号テ一 ブルの他の態様を概念的に表した説明図である。
図 3 3は、 第 2実施例における変換テーブルのデータサイズを各種条件下で 試算した結果を示す説明図である。
図 3 4は、 印刷システムを例にとって本発明の第 2の態様を説明するための 説明図である。
図 3 5は、 第 3実施例の画像印刷処理の全体的な流れを示すフローチャート である。
図 3 6は、 第 3実施例の個数デ一夕生成処理の流れを示すフローチャートで ある。
図 3 7は、 第 3実施例のドット形成有無決定処理の流れを示すフローチヤ一 卜である。
図 3 8 aないし図.3 8 cは、 第 3実施例のドッ卜形成有無決定処理において 各画素についてのドッ卜形成の有無が決定される様子を概念的に示した説明図で ある。
図 3 9は、 対象画素についてのドッ卜形成の有無を決定するために参照され る変換テ一プルを概念的に示した説明図である。
図 4 0は、 変形例のドッ卜形成有無決定処理の流れを示すフローチヤ一卜で ある。
図 4 1 aないし 4 1 dは、 変形例のドッ卜形成有無決定処理において参照さ れる複数の順序値マ卜リックスを生成する方法について示した説明図である。
図 4 2 aないし 4 2 dは、 画素群に対応する順序値マトリックスを選択する 方法を示した説明図である。
図 4 3は、 画素群の座標値 (n, m) から適用する順序値マ卜リックスを選 択する方法を具体的に示した説明図である。
図 4 4は、 各種大きさのディザマトリックスと各種大きさの画素群とを想定 して順序値マトリックスを記憶するために必要なメモリ量を試算した結果を示す 説明図である。
図 4 5は、 画素群内に形成される大中小の各種ドットの個数を決定して個数 データを生成する処理の流れを示すフローチヤ一卜である。
図 4 6は、 変換テーブルを参照することなく大中小の各種ドッ卜の形成有無 を決定する処理の流れを示すフローチヤ一卜である。
図 4 7は、 第 4実施例のドッ卜形成有無決定処理で参照される変換テーブル を概念的に示した説明図である。
図 4 8は、 変換テーブルを記憶するために必要なメモリ量を画素群の大きさ 毎に試算した結果をまとめた説明図である。
図 4 9は、 印刷システムを例にとって本発明の第 3の態様を説明するための 説明図である。
図 5 0は、 第 5実)^例の個数データ生成処理の流れを示すフローチャートで ある。
図 5 1は、 第 5実施例のドッ卜形成有無決定処理の流れを示すフローチヤ一 卜である。
図 5 2は、 ブルーノイズマスク特性を有するディザマトリックス、 およびグ リーンノイズマスク特性を有するディザマトリックスに設定されている閾値の空 間周波数特性を概念的に例示した説明図である。 発明を実施するための最良の形態
以下では、 本発明の作用 ·効果をより明確に説明するために、 本発明の実施の 形態を、
次のような順序に従って説明する。 A. 発明の第 1の態様:
B . 第 1実施例:
B- 1. 装置構成:
B— 2. 第 1実施例の画像印刷処理の概要:
B— 3. 個数データから画素位置を決定可能な原理:
B— 4. 第 1実施例の個数データ生成処理:
B- 5. 分類番号の決定方法:
B- 6. 第 1実施例の画素位置決定処理:
B- 7. 変形例:
C. 第 2実施例:
C- 1. 第 2実施例の画像印刷処理:
C- 2. 第 2実施例の個数データ生成処理:
C- 2 - 1. ディザ法を用いた大中小ドッ卜の形成個数の決定処理: C- 2 -2. 大中小ドットの形成個数のコード化処理:
C— 2— 3. 窣換テーブルを利用した個数データ生成処理:
C— 3. 第 2実施例の画素位置決定処理:
D. 発明の第 2の態様:
E . 第 3実施例:
E- Ί . 個数データ生成処理:
E- 2. ドッ卜形成有無決定処理:
E— 3. 変形例:
F . 第 4実施例:
F- 1. 第 4実施例の画像印刷処理の概要:
F- 2. 第 4実施例の個数データ生成処理:
F- 3. 第 4実施例のドッ卜形成有無決定処理:
F— 3— 1. 変換テーブルを参照しないドッ卜形成有無決定処理: F - 3 - 2 . 変換テーブルを参照するドッ卜形成有無決定処理: G . 発明の第 3の態様:
H . 第 5実施例:
H— 1 . 第 5実施例の個数データ生成処理:
H— 2 . 第 5実施例のドッ卜形成有無決定処理:
H— 3 . 変形例:
に 第 6実施例: に 発明の第 1の態様:
最初に、 図 1を参照しながら、 本発明の第 1の態様について説明する。 図 1は、 印刷システムを例にとって、 本発明の第 1の態様を説明するための説明図である。 本印刷システムは、 画像処理装置としてのコンピュータ 1 0と、 画像出力装置と してのプリンタ 2 0等から構成されており、 コンピュータ 1 0に所定のプロダラ 厶がロードされて実行されると、 コンピュータ 1 0およびプリン夕 2 0などが全 体として、 一体の画像出力システムとして機能する。 プリンタ 2 0は、 印刷媒体 上にドットを形成することによって画像を印刷する。 コンピュータ 1 0は、 印刷 しょうとする画像の画像データに所定の画像処理を施すことによって、 プリンタ 2 0が画素毎にドッ卜の形成を制御するためのデータを生成して、 該プリンタ 2 0に供給する。 一般的な印刷システムでは、 次のようにして画像を印刷する。 先ず、 コンビュ 一夕で所定の画像処理を施すことにより、 画像データを、 画素毎にドット形成の 有無を表すデータに変換する。 次いで、 得られたデータをプリンタに供給し、 プ リン夕では供給されたデータに従ってドッ卜を形成することによって画像を印刷 している。 ここで、 印刷しょうとする画像の画素数が多くなると、 それに伴って、 画像処理に要する時間が増加して、 画像を迅速に印刷することが困難となる。 ま た、 画素数が多くなるにつれて、 画素毎にドット形成の有無を表すデータのデー タ量が増加するので、 コンピュータからプリンタにデータを出力するために要す る時間が長くなり、 それだけ印刷に要する時間が増加してしまう。 こうした点に鑑みて、 図 1 に例示した印刷システムでは、 次のようにして画像 を印刷する。 先ず、 コンピュータ 1 0では、 画像を構成する画素を互いに隣接し た所定個数ずつ画素群としてまとめることで、 画像を複数の画素群に分割する。 そして、 各画素群について、 画素群内に形成するドット個数を表す個数データを 生成してプリンタ 2 0に供給する。
プリンタ 2 0では、 各画素群についての個数データを受け取ると、 序列記憶モジ ユールを参照しながら、 画素群毎にドットを形成する画素位置を決定する。 序列 記憶モジュールには、 画素群内で各画素にドッ卜が形成される画素の序列が記憶 されている。 画素位置決定モジュールは、 この画素の序列と画素群についての個 数データとに基づいて、 ドットを形成する画素位置を決定する。 このようにして 決定された画素位置に、. ドット形成モジュールがドットを形成することによって 画像が印刷される。 ここで、 画素毎にドット形成の有無を表すデータに比べれば、 画素群毎の個数 データは遙かに小さなデータ量とすることができる。 従って、 コンピュータ 1 0 から画素毎にドッ卜形成の有無を表したデータをプリンタ 2 0に供給する代わり に、 画素毎の個数データを供給してやれば、 極めて迅速にデータを転送すること が可能となる。 また、 画素群の個数データは、 コンピュータ 1 0内で次のようにして生成され る。 先ず、 画素群階調値決定モジュールにおいて、 画像を分割する複数の画素群 について画素群階調値が決定される。 画素群階調値とは、 画素群を代表する階調 値であり、 該画素群内に含まれる各画素の画像データに基づいて決定される。 ま た、 対応関係記憶モジュールには、
画素群に付与された分類番号と画素群階調値との組合せと、 該組合せを有する画 素群の個数データとの対応関係が記憶されている。 ここで画素群の分類番号は、 各画素群を画像中での位置に応じて複数種類の分類することによつて設定するこ ともできるし、 また、 画像がいつも同じように分割される場合などには、 各画素 群毎に予め適切な分類番号を付与しておくこともできる。 更に、 簡便には、 乱数 などを用いてランダムに分類番号を付与することも可能である。 そして、 個数デ 一夕供給モジュールでは、 このような分類番号および画素群階調値の組合せと、 個数データとの対応関係を参照しながら、 各画素群の分類番号と画素群階調値と に基づいて個数データを画素群毎に決定した後、 プリン夕 2 0に供給する。 詳細には後述するが、 画素群の画素群階調値は容易に求めることができる。 ま た、 画素群毎に分類番号を付与する場合も各画素群の分類番号を容易に決定して 付与することが可能で る。 更に、 記憶しておいた対応関係を参照してやれば、 分類番号および画素群階調値から個数データも容易に求めることができる。 この ことから、 図 1 に例示した印刷システムでは、 画素群毎の個数データを極めて迅 速に生成することができ、 生成した個数データを極めて迅速にプリン夕 2 0に供 給することができる。 従って、 たとえ画素数の多い画像であっても迅速に画像を 印刷することが可能となる。 また、 個数データは容易に生成することができるの で、 そのための画像処理は極めて簡素な処理となる。 このため、 個数データを生 成するためにコンピュータ 1 0のような高度な処理能力を有する機器を用いずと も、 プリン夕 2 0あるいはデジタルカメラなどの内部で個数データを生成するこ とも可能となる。 以下では、 こうした印刷システムを例にとって、 本発明の各種 実施例について詳細に説明する。 B . ¾ 1実施例:
B— 1 . 装置構成:
図 2は、 本実施例の画像処理装置としてのコンピュータ 1 0 0の構成を示す説 明図である。 コンピュータ 1 0 0は、 C P U 1 0 2を中心に、 R O M 1 0 4や R A 1 0 6などが、 バス 1 1 6で互いに接続して構成された周知のコンピュータ である。 コンピュータ 1 0 0には、 フレキシブルディスク 1 2 4やコンパク卜ディスク Ί 2 6等のデータを読み込むためのディスクコントローラ D D C 1 0 9や、 周辺 機器とデータの授受を行うための周辺機器インターフェース P I F 1 0 8、 C R T 1 1 4を駆動するためのビデオインターフェース V I F 1 1 2等が接続されて いる。 P I F 1 0 8には、 後述するカラープリンタ 2 0 0や、 ハードディスク 1 1 8等が接続されている。 また、 デジタルカメラ 1 2 0やカラースキャナ 1 2 2 等を P I F 1 0 8に接続すれば、 デジタルカメラ 1 2 0やカラ一スキャナ 1 2 2 で取り込んだ画像を印刷することも可能である。 また、 ネットワークインターフ エースカード N I C 1 1 0を装着すれば、 コンピュータ 1 0 0を通信回線 3 0 0 に接続して、 通信回線に接続された記憶装置 3 1 0に記憶されているデータを取 得することもできる。 図 3は、 本実施例のカラープリンタ 2 0 0の概略構成を示す説明図である。 力 ラープリンタ 2 0 0はシアン, マゼン夕, イエロ, ブラックの 4色インクのドッ 卜を形成可能なインクジェットプリンタである。 もちろん、 これら 4色のインク に加えて、 染料または顔料濃度の低いシアン (淡シアン) インクと、 染料または 顔料濃度の低いマゼン夕 (淡マゼン夕) インクとを含めた合計 6色のインクドッ 卜を形成可能なインクジェットプリン夕を用いることもできる。 尚、 以下では場 合によって、 シアンインク, マゼン夕インク, イエロインク, ブラックインク, 淡シアンインク, 淡マゼンタインクのそれぞれを、 Cインク, Mインク, Yイン ク, Kインク, L Cインク, L Mインクと略称することがあるものとする。 カラープリンタ 2 0 0は、 図示するように、 キャリッジ 2 4 0に搭載された印 字ヘッド 2 4 1を駆動してインクの吐出およびドット形成を行う機構と、 このキ ャリッジ 2 4 0をキヤリッジモータ 2 3 0によってプラテン 2 3 6の軸方向に往 復動させる機構と、 紙送りモータ 2 3 5によって印刷用紙 Pを搬送する機構と、 ドッ卜の形成やキヤリッジ 2 4 0の移動および印刷用紙の搬送を制御する制御回 路 2 6 0などから構成されている。 キャリッジ 2 4 0には、 Kインクを収納するインクカー卜リッジ 2 4 2と、 C インク, Mインク, 丫インクの各種インクを収納するインク力一卜リッジ 2 4 3 とが装着されている。 インクカートリッジ 2 4 2, 2 4 3をキャリッジ 2 4 0に 装着すると、 カートリッジ内の各インクは図示しない導入管を通じて、 印字へッ ド 2 4 1の下面に設けられた各色毎のインク吐出用へッド 2 4 4ないし 2 4 7に 供給される。 図 4は、 インク吐出用へッド 2 4 4ないし 2 4 7におけるインクジエツ卜ノズ ル N zの配列を示す説明図である。 図示するように、 インク吐出用ヘッドの底面 には、 C, , Y, Κの各色のインクを吐出する 4組のノズル列が形成されてお リ、 1組のノズル列あたり 4 8個のノズル Ν ζが、 一定のノズルピッチ で配列 されている。 制御回路 2 6 0は、 C P Uや、 R O M、 R A M , P I F (周辺機器インターフ エース) 等がバスで相互に接続されて構成されている。 制御回路 2 6 0は、 キヤ リッジモ一夕 2 3 0および紙送りモー夕 2 3 5の動作を制御することによってキ ャリッジ 2 4 0の主走査動作および副走査動作を制御するとともに、 コンビユー タ 1 0 0から供給される印刷データに基づいて、 各ノズルから適切なタイミング でインク滴を吐出する制御を行う。 こうして、 制御回路 2 6 0の制御の下、 印刷 媒体上の適切な位置に各色のインクドッ卜を形成することによって、 カラープリ ン夕 2 0 0はカラー画像を印刷することができる。 また、 インク滴を吐出するためにノズルに供給される駆動信号波形を制御して やれば、
吐出されるインク滴の大きさを変更して、 大きさの異なるインクドッ卜を形成す ることもできる。 このようにしてインクドットの大きさを制御すれば、 印刷しよ うとする画像の領域に応じて異なる大きさのインクドッ卜を使い分けてやること で、 より高画質の画像を印刷することも可能となる。 尚、 各色のインク吐出ヘッドからインク滴を吐出する方法には、 種々の方法を 適用することができる。. すなわち、 ピエゾ素子を用いてインクを吐出する方式や、 インク通路に配置したヒータでインク通路内に泡 (バブル) を発生させてインク 滴を吐出する方法などを用いることができる。 また、 インクを吐出する代わりに、 熱転写などの現象を利用して印刷用紙上にインクドッ卜を形成する方式や、 静電 気を利用して各色のトナー粉を印刷媒体上に付着させる方式のプリン夕を使用す ることも可能である。 以上のようなハードウエア構成を有するカラ一プリンタ 2 0 0は、 キヤリッジ モータ 2 3 0を駆動することによって、 各色のインク吐出用へッド 2 4 4ないし 2 4 7を印刷用紙 Pに対して主走査方向に移動させ、 また紙送りモ一夕 2 3 5を 駆動することによって、 印刷用紙 Pを副走査方向に移動させる。 制御回路 2 6 0 は、 キャリッジ 2 4 0の主走査および副走査の動きに同期させながら、 適切な夕 イミングでノズルを駆動してインク滴を吐出することによって、 カラープリンタ 2 0 0は印刷用紙上にカラー画像を印刷している。 尚、 カラープリンタ 2 0 0にも、 制御回路 2 6 0内には C P U, R A M , R O Mなどが搭載されていることから、 コンピュータ 1 0 0が行う処理をカラープリ ン夕 2 0 0内で実施することも可能である。 このような場合は、 デジタルカメラ 1 2 0などで撮影した画像の画像データをカラ一プリンタ 2 0 0に直接供給して、 制御回路 2 6 0内で必要な画像処理を実施することにより、 カラープリンタ 2 0 0から直接画像を印刷することも可能となる。
B - 2 . 第 1実施例の画像印刷処理の概要:
以下では、 上記のようなコンピュータ 1 0 0およびカラープリンタ 2 0 0が、 画像を印刷するために、 それぞれの内部で行われる画像処理 (画像印刷処理) に ついて説明する。
ここでは、 理解の便宜き図るため、 初めに画像印刷処理の全体像について簡単に 説明し、
次に、 こうした画像印刷処理が可能である原理について説明する。 そして最後に、 それぞれの処理の詳細な内容について説明する。 尚、 以下では、 画像印刷処理の前半部分はコンピュータ 1 0 0で実施され、 後 半部分はカラープリン夕 2 0 0で実施されるものとして説明するが、 コンビユー 夕 Ί 0 0が行う処理をカラープリンタ 2 0 0の内部で実施したり、 あるいはデジ タルカメラ 1 2 0など、 画像データを生成する機器の内部で実施することも可能 である。 すなわち、 本実施例の画像印刷処理によれば、 後ほど詳細に説明するよ うに、 前半部分の処理をたいへん簡素なものとすることができるので、 高い処理 能力を有していない C P Uを用いた場合でも迅速に実施することが可能である。 このため、 カラープリンタ 200やデジタルカメラなどに画像印刷処理の前半部 分を組み込んだ場合でも、 十分に実用的な印刷システムを構成することができる。 図 5は、 第 1実施例の画像印刷処理の全体的な流れを示すフローチャートであ る。 以下では、 図 5を参照しながら、 画像印刷処理の全体像について簡単に説明 する。 第 1実施例の画像印刷処理を開始すると、 先ず初めに、 コンピュータ Ί 0 0が画像データの読み込みを開始する (ステップ S 1 00) 。 ここでは、 画像デ 一夕は R G Bカラー画像データであるものとして説明するが、 カラー画像データ に限らず、 モノクロ画像データについても同様に適用することができる。 また、 カラ一プリン夕に限らず単色プリンタについても同様に適用することが可能であ る。 カラー画像データの読み込みに続いて、 色変換処理を行う (ステップ S 1 0 2) 。 色変換処理とは、 R, G, Bの階調値の組合せによって表現されている R G Bカラ一画像データき、 印刷のために使用されるインク各色についての階調値 の組合せによって表現された画像データに変換する処理である。 前述したように、 カラープリンタ 200は C, , Υ, Kの 4色のインクを用いて画像を印刷して いる。 そこで、 第 1実施例の色変換処理では R G B各色によって表現された画像 データを、 C, , Υ, Kの各色の階調値によって表現されたデータに変換する。 色変換処理は、 色変換テーブル (L UT) と呼ばれる 3次元の数表を参照するこ とで行う。 L UTには、 RG Bカラー画像データに対して、 色変換によって得ら れる C, M, Υ, K各色の階調値が予め記憶されている。 ステップ S 1 02の処 理では、 この L UTを参照することにより、 R G Bカラー画像データを C, M, Y, K各色の画像デー夕に迅速に色変換することが可能となって.いる。 色変換処理を終了すると、 解像度変換処理を開始する (ステップ S 1 04) 。 解像度変換処理とは、 画像データの解像度を、 プリンタ 2 0 0が画像を印刷する 解像度 (印刷解像度) に変換する処理である。 画像データの解像度が印刷解像度 よりも低い場合は、 補間演算を行って画素間に新たな画像データを生成し、 逆に 画像データの解像度が印刷解像度よりも高い場合には、 一定の割合でデータを間 引くことによって、 画像データの解像度を印刷解像度に一致させる処理を行う。 以上のようにして解像度を印刷解像度に変換したら、 コンピュータ〗 0 0は、 個数データ生成処理を開始する (ステップ S 1 0 6 ) 。 個数データ生成処理の詳 細な内容は後ほど詳しく説明することとして、 ここでは概要のみを説明する。 個 数データ生成処理では、 隣接する画素を所定個数ずつ画素群としてまとめること により、 1つ画像を複数の画素群に分割する。 そして、 それぞれの画素群の中で 形成すべきドッ卜の個数を表すデータ、 すなわち個数データを画素群毎に決定す る。 一般に、 ある画素にドットが形成されるか否かは、 その画素の画像データに 依存して決まるから、 画素群内に形成されるドッ卜の個数を表す個数データにつ いても、 画素群についての画像データに基づいて決定することができる。 次いで、 各画素群について決定した個数データを、 カラープリンタ 2 0 0に向かって出力 する。 個数デ一夕生成処理では、 このようにして、 各画素についての画像データ に基づいて個数データを画素群毎に生成した後、 カラープリン夕 2 0 0に供給す る処理を行う。 カラープリン夕 2 0 0の制御回路 2 6 0に内蔵された C P Uは、 コンピュータ 1 0 0から供給された個数データを受け取ると、 画素位置決定処理を開始する (ステップ S 1 0 8 ) 。 詳細な処理内容については後述するが、 画素位置決定処 理では大まかには次のような処理を行う。 上述したように、 コンピュータ 1 0 0 から供給される個数データは、 画素群に形成すべきドットの個数を表すデータで あり、 その個数のドッ卜を画素群内のいずれの画素に形成するかについては未確 定な状態となっている。 そこで、 画像を印刷するに際しては、 画素群内で実際に ドッ卜を形成する画素位置を、 供給された個数データから確定しておく必要があ る。 画素位置決定処理では、 画素群内の各画素についてドットの形成され易さを 示す序列、 換言すれば、 画素群内の複数の画素の中でドットが形成される順序を 示す画素の序列を記憶しておき、 この序列を参照しながら、 ドットを形成する画 素位置を個数データに基づいて決定する処理を行う。 画素位置決定処理の詳細に ついても後述する。 以上のようにして、 ドットを形成すべき画素位置を決定したら、 決定した画素 位置にドットを形成する処理を行う (ステップ S I 1 0 ) 。 すなわち、 図 3を用 いて説明したように、 キヤリッジ 2 4 0の主走査および副走査を繰り返しながら インク吐出用へッドを駆動してインク滴を吐出することにより、 印刷用紙上にィ ンクのドットを形成する。 こうしてドットを形成することにより、 画像デ一夕に 対応した画像が印刷されることになる。 このように、 第 1実施例の画像印刷処理では、 コンピュータ 1 0 0からカラー プリンタ 2 0 0に向かって、 画素群に形成すべきドッ卜個数のデータのみを供給 しており、 画素群内でドッ卜が形成される画素位置についてのデータまでは供給 していない。 画像を構成する画素毎にドッ卜形成の有無を表現することに比べれ ば、 複数の画素をまとめた画素群に形成するドットの個数は遙かに少ないデータ 量で表現することができることから、 このような方法を採用することで、 コンビ ユー夕 1 0 0からカラープリン夕 2 0 0に向かって極めて迅速にデータを供給す ることが可能となる。 例えば、 1つの画素群に 8つの画素がまとめられており、 形成可能なドットは 1種類であるとする。 この場合、 各画素はドットが形成されるか否かのいずれか の状態しか取り得ないから、 画素あたり 1 ビットのデータ長となる。 画素群に含 まれる全画素について、 ドッ卜が形成される画素位置まで含めて表現しようとす ると、 8ビットのデータ長となる。
一方、 画素群内に形成されるドットの個数は、 0個〜 8個のいずれかの 9通りし か取り得ない。 9通りであれば 4ビットあれば表現することができるから、 画素 群に形成するドッ卜の個数は 4ビッ卜のデータ長で表現可能となる。 このように、 画素毎にドッ卜形成の有無を表すデータに比べて、 画素群内に形成されるドッ卜 個数は遙かに少ないデータ量で表現することができるので、 コンピュータ 1 0 0 からカラープリン夕 2 0 0に向かって極めて迅速にデータを供給することが可能 となるのである。 加えて、 詳細には後述するが、 ドットを形成する画素位置を適切に決定してや れば、 ドット個数のデータのみを供給した場合でも、 画質が悪化することはない。 特に、 所定の条件下では、 画素毎にドット形成の有無を表すデータを供給した場 合と全く同じ結果を得 ことが可能である。 更に、 後述するアルゴリズムを用いれば、 個数データを生成する処理は極めて 簡素な処理によって実現することができ、 しかも極めて迅速に実行することが可 能である。 このため、 コンピュータ 1 0 0のような高度な処理能力を有する画像 処理装置を用いずとも、 例えばデジタルカメラ Ί 2 0やカラープリンタ 2 0 0な どの内部で実行することも可能である。 こうした場合には、 デジタルカメラ 1 2 0で撮影した画像データを直接カラープリン夕 2 0 0に供給して、 高画質なカラ 一画像を印刷することも可能となる。 B - 3 . 個数データから画素位置を決定可能な原理:
以下では、 上述した方法を採用した場合、 すなわち、 コンピュータ 1 0 0から は画素群に形成するドッ卜個数のデータを供給し、 このドッ卜個数のデータから 実際にドッ卜を形成する画素位置をカラープリン夕 2 0 0側で決定した場合でも、 画質を悪化させることなく画像を印刷することが可能な原理について説明する。 説明の都合上、 先ず初めに、 ディザ法について説明する。 ディザ法とは、 画像 データを画素毎にドッ卜形成の有無を表すデ一夕に変換するために用いられる代 表的な手法である。 この手法では、 ディザマ卜リックスと呼ばれるマ卜リックス に閾値を設定しておき、 画像データの階調値とディザマトリックスに設定されて いる閾値とを画素毎に比較して、 画像データの階調値の方が大きい画素について はドットを形成すると判断し、 そうでない画素についてはドットを形成しないと 判断する。 このような判斷を画像中の全画素について行えば、 画像データを画素 毎にドッ卜形成の有無を表すデータに変換することができる。 図 6は、 ディザマトリックスの一部を概念的に例示した説明図である。 図示し たマ卜リックスには、 横方向 (主走査方向) に 1 2 8画素、 縦方向 (副走査方 向) に 6 4画素、 合計 8 1 9 2個の画素に、 階調値 1〜2 5 5の範囲から万遍な く選択された閾値がランダムに記憶されている。 ここで、 閾値の階調値が〗〜 2 5 5の範囲から選択されているのは、
本実施例では、 画像データが階調値 0〜2 5 5の値を取り得る 1バイ卜データと していることに加えて、 画像データの階調値と閾値とが等しい場合には、 その画 素にはドッ卜を形成するものと判断していることによるものである。 すなわち、 ドッ卜が形成されるのは画像データの階調値が閾値よりも大きい画 素に限る (すなわち階調値と閾値が等しい画素にはドットは形成,しない) とした 場合、 画像データの取り得る最大階調値と同じ値の閾値を有する画素には、 決し てドットが形成されることはない。 こうしたことを避けるため、 閾値の取り得る 範囲は、 画像データの取り得る範囲から最大階調値を除いた範囲とする。 逆に、 画像データの階調値と閾値が等しい画素にもドッ卜を形成するとした場合、 画像 データの取り得る最小階調値と同じ値の閾値を有する画素には、 常にドッ卜が形 成されてしまうことになる。 こうしたことを避けるため、 閾値の取り得る範囲は、 画像データの取り得る範囲から最小階調値を除いた範囲とする。 本実施例では、 画像データの取り得る階調値が 0 ~ 2 5 5であり、 画像データと閾値が等しい画 素にはドットを形成するとしていることから、 閾値の取り得る範囲を 1 ~ 2 5 5 としておくのである。 尚、 ディザマトリックスの大きさは、 図 6に例示したよう な大きさに限られるものではなく、 縦と横の画素数が同じマトリックスも含めて 種々の大きさとすることができる。 図 7は、 ディザマトリックスを参照しながら、 各画素についてのドット形 の 有無を判断している様子を概念的に示した説明図である。 ドッ卜形成の有無を判 断するに際しては、 先ず、 判断しょうとする画素を選択し、 この画素についての 画像データの階調値と、 ディザマトリックス中で対応する位置に記憶されている 閾値と比較する。 図 7中に示した細い破線の矢印は、 画像データの階調値と、 デ ィザマトリックスに記憶されている閾値とを、 画素毎に比較していることを模式 的に表したものである。 例えば、 画像データの左上隅の画素については、 画像デ 一夕の階調値は 9 7であり、 ディザマトリックスの閾値は 1であるから、 この画 素にはドットを形成すると判断する。 図 7中に実線で示した矢印は、 この画素に はドッ卜を形成すると判断して、 判断結果をメモリに書き込んでいる様子を模式 的に表したものである。 一方、 この画素の右隣の画素については、 画像データの 階調値は 9 7、 ディザマ卜リックスの閾値は 1 7 7であり、 閾値の方が大きいの で、 この画素についてはドットを形成しないと判断する。 ディザ法では、 こうし てディザマトリックスを参照しながら、 画素毎にドットを形成するか否かを判断 することで、 画像データを画素毎にドッ卜形成の有無を表すデータに変換する。 図 8 aないし図 8 dは、 ディザ法を用いて画像データをドッ卜形成の有無を表 すデータに変換している様子を示した説明図である。 図 8 aは、 画像データの一 部を拡大して示したものであり、 図中の小さな矩形は画素を、 そして、 それぞれ の矩形の中に表示された数値は画像データの階調値を表している。 図示されてい るように、 画像データは、 隣接する画素間では近似する (若しくは同一の) 階調 値が割り当てられる傾向がある。 こうした傾向は、 高画質化の要請から画像デー 夕の解像度は高くなる傾向にあるが、 隣接する画素間で近似若しくは同一の階調 値が割り当てられる傾向は、 画像デー夕の解像度が高くなるほど顕著となってい る。 図 8 bは、 ディザマトリックスの対応する位置に閾値が設定されている様子を 示している。 図 8 aに示した画像データの階調値と、 図 8 bに示したディザマ卜 リックスの閾値とを画素毎に比較することによって、 ドッ卜形成の有無を判断す る。 図 8 cは、 こうし!:画素毎にドット形成の有無を判断した結果を示しており、 図中で斜線を付した画素がドッ卜を形成すると判断された画素である。 ここで、 隣接する画素を所定数ずつ画素群としてまとめ、 画素群内でドットを 形成すると判断された画素の個数を数えることを考える。 一例として、 主走査方 向 (図 8 a中では横方向) に 4画素分、 副走査方向 (図 8 a中では縦方向) に 2 画素分の、 合計 8画素ずつを画素群としてまとめるものとする。 図 8 dは、 こう してまとめられたそれぞれの画素群について、 ドッ卜を形成すると判断された画 素を数えることによって得られたドッ卜個数を示している。 第 1実施例の画像印 刷処理において、 コンピュータ 1 0 0からカラープリンタ 2 0 0に供給されるの は、 このような画素群毎の個数のデータである。 個数デ一夕には、 ドットを形成 する画素位置に関する情報は含まれていないが、 次のようにすれば、 個数データ からドットを形成する画素位置の情報を復元して、 画素毎にドッ卜形成の有無を 表すデ一夕を生成することができる。 図 9 aないし図 9 dは、 個数のデータから、 画累毎にドット形成の有無を表す データを生成する様子を示した説明図である。 図 9 aは、 図 8 dで画素群毎に形 成するドットの個数を数えて得られた値を表している。 また、 図 9 bは、 図 8 c で画素毎にドッ卜形成の有無を判断するために参照したディザマトリックスを示 している。 前述したようにディザ法では、 画像データの階調値と、 ディザマトリ ックスの対応する画素位置に設定された閾値とを比較して、 画像デ一夕の喈調値 の方が大きければ、 その画素にはドットを形成すると判断しており、 ディザマト リックスの閾値が小さくなるほどドットが形成され易くなる。 このことから、 デ ィザマトリックスはドッ卜が形成される画素の序列を表していると考えることが できる。 ディザマトリックス 有するこうした性質に着目すれば、 画素群内に形成され るドットの個数から、 ドットが形成される画素位置を決定することができる。 例 えば、 図 9 aに示した一番左上隅の画素群について説明すると、 この画素群に形 成されるドット個数は 3である。 また、 図 9 bに示したディザマ卜リックスを参 照すれば、 この画素群内では、 左上隅にある画素位置すなわち閾値 「1」 が設定 されている画素位置が最もドットが形成され易い画素であると言える。 従って、 この画素群内で 3つ形成されるドッ卜の中の 1つは、 左上隅の画素に形成されて いるものと考えることができる。 同様にして、 残りの 2つのドットは、 この画素 群内で 2番目にドッ卜が形成され易い画素 (すなわち図 9 bのディザマトリック スで閾値 Γ 4 2」 が設定されている画素) と、 3番目にドットが形成され易い画 素 (すなわち閾値 「5 8」 が設定されている画素) とに形成されるものと考える ことができる。 もちろん、 ドット形成の有無は、 ディザマ卜リックスに設定された閾値だけで なく、 画像データの階調値によっても影響されるから、 画像データの階調値が極 端に大きければ、
より小さな閾値が設定されている画素よりも先にドッ卜が形成されることも起こ リ得る。
しかし、 前述したように画像データには、 隣接する画素には近似する (若しくは 同一の) 階調値が割り当てられる傾向があるから、 ほとんどの場合はドットが形 成され易い画素 (すなわちディザマトリックスに設定された閾値の小さな画素) からドットが形成されると考えることができる。 図 9 aに示した他の画素群についても、 同様にして、 ドット個数とディザマ卜 リックスの閾値とに基づいて、 ドッ卜を形成する画素位置を決定することができ る。 例えば、
図 9 aの上述した画素群の下にある画素群 (左端上から 2番目の画素群) につい ては、 ドット個数は 3個であるから、 図 9 bのディザマ卜リックスを参照すれば、 これら 3つのドットは、 閾値 「2 2」 が設定された画素と、 閾値 「3 3」 が設定 された画素と、
閾値 「9 1」 が設定された画素とに、 それぞれ形成されると考えることができる。 図 9 aに示した 4つの画素群について、 このようにして個数データからドッ卜 を形成する画素位置を決定すると、 図 9 cに示した結果を得ることができる。 図 9 c中で、 斜線を付して示した画素はドッ卜を形成すると判断された画素である。 図 9 cと図 8 cとを比較すれば明らかなように、 個数データから決定した画素位 置は、 画素毎に決定した画素位置と一致している。 このことは、 ディザマ卜リツ クスを参照して画素毎にドッ卜形成の有無を判断し、 画素群内に形成されるドッ 卜の個数のみを記憶しておけば、 画素位置までは記憶していなくても、 ディザマ 卜リックスとドッ卜個数とから、 ドッ卜が形成される画素位置を復元可能なこと を示している。 このことから、 コンピュータ 1 0 0から画素群毎の個数データを 供給し、 カラープリンタ 2 0 0側で個数データからドッ卜を形成する画素位置を 決定した場合でも、 画素位置を適切に決定して、 画質を悪化させることなく画像 を印刷することが可能となるのである。 また、 個数データからドッ卜を形成する画素位置を適切に決定するためには、 画像データの階調値が画素群内で大きく異なっていなければ良い。 前述したよう に、 画像データは隣接する画素間では近似した階調値を有する特性があるから、 こうした条件はほとんどの場合に成立しており、 従って、 個数データのみをカラ
—プリンタ 2 0 0に供給した場合でも、 画質を悪化させることなく画像を印刷す ることができるのである。 特に、 次の 2つの条件が満足される場合には、 画像データの階調値とディザマ トリックスの閾値とを比較してドッ卜形成の有無を画素毎に判断した結果と、 完 全に同じ画素位置にドッ卜を形成可能なことが保証される。 先ず〗つ目の条件は、 画素群内で各画素の階調値が同一の値を有することであり、 2つ目の条件は、 コ ンピュー夕 1 0 0側で画素毎にドット形成の有無を判断する際に参照したディザ マ卜リックスと、 カラープリンタ 2 0 0側で個数データから画素位置を決定する ために参照するディザマ卜リックスとが、 同一のマ卜リックスであることである。 尚、 図 7で説明したディザ法においては、 ディザマ卜リックスに設定された閾 値と画像データとの階調値とを比較して、 いずれの値が大きいかによつてドッ卜 形成の有無を判断している。 これに対して、 個数データから画素群内でドットが 形成される画素位置を決定する場合には、 図 9 aないし図 9 dを用いて説明した ように、 ドットが形成される画素位置を、 ディザマ卜リックスに設定された閾値 の小さな画素から順番に決定している。 すなわち、 画素位置を決定するためには、 閾値の値まで必要なわけではなく、 画素群内でドッ卜が形成され易い順番が分か つていれば良い。 このことから、 図 9 bに示すディザマトリックスの代わりに、 図 9 dに示すような画素群内の各画素について、 ドットが形成される順序を示す 値 (順序値) が設定されたマ卜リックス (本明細書中では、 このようなマ卜リツ クスを序列マトリックスと呼ぶものとする) を記憶しておき、 画素群毎に序列マ 卜リックスを参照しながら、 個数データから画素位置を決定することも可能であ る。
B— 4 . 第 1実施例の個数データ生成処理:
以下では、 図 5に示した第 1実施例の画像印刷処理において、 画像データから 個数データを生成する処理 (ステップ S 1 0 6 ) について説明する。 図 1 0は、 第 1実施例の個数データ生成処理の流れを示すフローチャートである。 ここでは、 個数データ生成処理はコンピュータ 1 0 0で実施されるものとして説明するが、 後述するように、 個数データ生成処理は極めて簡素な処理とすることができるか ら、 カラープリンタ 2 0 0あるいはデジタルカメラ 1 2 0内で実施することも可 能である。 以下、 フローチャートに従って説明する。 第 1実施例の個数データ生成処理を開始すると、 先ず初めに、 互いに隣接する 所定個数の画素をまとめて画素群を生成する (ステップ S 2 0 0 ) 。 ここでは、 主走査方向に 4画素分、 副走査方向に 2画素分の合計 8つの画素を画素群にまと めるものとする。 尚、 画素群としてまとめる画素は、 このように矩形状に縦横の 位置が揃った画素である必要はなく、 互いに隣接し且つ所定の位置関係にあれば どのような画素を画素群としてまとめても良い。 次いで、 画素群の分類番号と、 画素群階調値とを決定する (ステップ S 2 0 2 ) 。 画素群の分類番号は、 後述する方法を用いれば、 極めて簡便に決定するこ とができる。 また、
画素群階調値についても、 次のようにして簡単に決定することができる。 例えば、 画素群内の各画素に割り当てられた階調値の平均値を求めて画素群階調値とする ことができるし、 あるいは画素群の中で最も多くの画素に割り当てられた階調値、 更には、 画素群内で特定の位置にある画素の階調値を画素群階調値とすることも できる。 こうして、 画素群の分類番号と画素群階調値とを決定したら、 後述する変換テ 一ブルを参照することによって個数データを決定する (ステップ S 2 0 4 ) 。 詳 細には後述するが、 変換テーブルには、 画素群の分類番号と画素群階調値との組 合せに対応付けて、 適切な個数データが予め記憶されている。 従って、 画素群の 分類番号と画素群階調値とが決定されれば、 変換テ一ブルを参照することで直ち に個数データを求めることが可能である。 この点についても、 後ほど詳しく説明 する。 以上のようにして、 1つの画素群について個数データが得られたら、 画像デー 夕の全画素について処理を終了したか否かを判断する (ステップ S 2 0 6 ) 。 そ して、 未処理の画素が残っている場合は (ステップ S 2 0 6 : n 0 ) 、 ステップ S 2 0 0に戻って新たな画素群を生成し、 続く一連の処理を繰り返す。 こうした 操作を繰り返し、 全画素についての処理が終了したと判断されたら (ステップ S 2 0 6 : y e s ) 、 各画素群について得られた個数データをカラープリンタ 2 0 0に出力して (ステップ S 2 0 8 ) 、 図 1 0に示す第 Ί実施例の個数データ生成 処理を終了する。 B— 5 . 分類番号の決定方法: ここで、 上述した第 1実施例の個数データ生成 処理中で、 画素群の分類番号を決定する方法について説明する。 以下では、 先ず 初めに、 画素群の分類番号を付与する考え方を説明した後、 分類番号を付与する 具体的な方法について説明する。 図 1 1 aないし図 1 1 cは、 画素群毎の分類番号を決定するための考え方を示 した説明図である。 図 1 1 aは、 画像の一番左上隅の箇所において、 横方向に 4 画素、 縦方向に 2画素の合計 8画素をまとめることによって画素群を 1つ生成し た様子を概念的に示したものである。 前述したように、 ディザ法では画素に割り当てられた画像データの階調値と、 ディザマトリックスの対応する位置に設定されている閾値とを比較して、 画素毎 にドット形成の有無を判断している。 一方、 本実施例では、 隣接する所定数の画 素を画素群としてまとめているから、 ディザマ卜リックスに設定されている閾値 についても、 画素群に対応する所定数ずつまとめてブロックを生成することにす る。 図 1 1 bは、 図 6に示したディザマ卜リックスに設定されている閾値を、 横 方向に 4つ、 縦方向に 2つずつまとめて複数のブロックを生成した様子を示して いる。 図 6に示したディザマ卜リックスは、 横方向 (主走査方向) に 1 2 8画素 分、 縦方向 (副走査方向) に 6 4画素分の合計 8 1 9 2画素分の閾値が設定され ているから、 これら閾値を横方向に 4つ、 縦方向に 2つずつブロックにまとめれ ぱ、 ディザマ卜リックスは縦横それぞれ 3 2個ずつ、 合計 1 0 2 4個のブロック に分割されることになる。 今、 図 1 1 bに示すように、 これらプロックに 1番〜 1 0 2 4番までの通し番 号を付しておく。 そして、 画像データにディザマ卜リックスを適用した時に、 各 画素群の位置に適用されるブロックの通し番号によって、 画素群を分類してやる。 例えば、 図 1 1 cに示したように、 画像の一番左上隅にある画素群には、 図 1 1 b中の通し番号 1番のブロックが適用されるから、 この画素群は分類番号 1番の 画素群に分類するのである。
以上が、 画素群を分類する際の基本的な考え方である。 図 1 0のステップ S 2 0 2では、 このように、 画像データにディザマ卜リックスを適用したときに、 画 素群に適用されるブロックの通し番号によって各画素群を分類し、 対応する分類 番号を決定して画素群に付与する処理を行う。 次に、 画素群の分類番号を決定するための具体的な方法について説明する。 図 1 2 aないし図 1 2 dは、 画素群の分類番号を決定する方法を示した説明図であ る。 図 1 2 aは、 画像中で生成された 1つの画素群を表している。 ここでは、 こ の画素群に着目して分類番号を決定する方法について説明する。 尚、 以下では、 分類番号を決定するために着目している画素群を、 着目画素群と呼ぶことにする。 今、 画像の一番左上隅にある画素を原点に取って、 原点からの主走査方向およ び副走査方向への画素数によって画素位置を表すものとする。 また、 画素群の位 置は、 画素群の左上隅にある画素の画素位置によって表すものとする。 図 1 2 a では、 着目画素群の位置を示す画素に黒丸を付して表示している。 この画素の画 素位置が (X, Y ) であったとする。 すると、 各画素群の大きさは、 主走査方向 に 4画素、 副走査方向に 2画素としているから、
X = 4 n + 1、 Y = 2 m + 1 となるような n、 m (ここで、 n, mは 0 以上の正整数) が存在する。 換言すれば、 着目画素群の左側には n個の画素群が 並んでおり、 着目画素群の上側には m個の画素群が並んでいることになる。 ここで、 前述したように画素群は、 画像データにディザマ卜リックスを適用し たときに、 着目画素群に適用されるブロックの通し番号に基づいて分類すること としているから (図 1 1 aないし図 1 1 c参照のこと) 、 ディザマトリックスを 移動させながら画像データに適用する方法によって、 同じ画素群でも異なった分 類番号に分類されることになる。 実際には、 ディザマ卜リックスを移動させなが ら画像データに適用する方法はどのような方法でも構わないが、 ここでは説明の 便宜から、 最も単純な方法すなわちディザマトリックスを横方向に移動させるも のとして説明する。 図 1 2 bには、 ディザマ卜リックスを横方向に少しずつ移動 させながら、 繰り返し画像データに適用している様子が概念的に示されている。 図 1 2 cは、 図 1 2 bに示すようにディザマ卜リックスを繰り返して用いなが ら、 図 1 2 aに示した着目画素群にディザマ卜リックスを適用している様子を概 念的に表している。 このようにディザマトリックスを移動させていくと、 ディザ マ卜リックス中のいずれかのプロックが、 着目画素群に適用されることになる。 ここでは、 着目画素群には、 ディザマ卜リックス中で M行 N列目のブロックが適 用されたものとする。 すると、
図 1 2 aに示したように着目画素群の左側には n個の画素群があり、 上側には m 個の画素群があるから、 Nと n、 および Mと mとの間には、 それぞれ
N = n - i n t ( n / 3 2 ) X 3 2 + 1
M = m ― i n t ( m / 3 2 ) X 3 2 + 1
の関係が成り立つている。 ここで、 i n tは、 小数点以下を切り捨てて整数化す ることを表す演算子である。 すなわち、 i n t ( n / 3 2 ) は、 Π Ζ 3 2の計算 結果に対して小数点以下の数値を切リ捨てることによつて得られた整数値を表し ている。 このように、 着目画素群の位置が分かれば、 図 1 2 dに表示した上述の 関係式から数値 Mおよび Nを求めて、 ディザマ卜リックス中で M行 N列目にある ブロックのブロック番号を、 その着目画素群の分類番号としてやればよい。 もつ とも実際には、 M, Nの値は、 図 1 2 dに示すような計算を実行せずとも、 極め て簡便に求めることができる。 以下、 この点について説明する 図 1 3は、 着目画素群の分類番号を決定する方法を具体的に示した説明図であ る。 着目画素群の位置を (X, Y) として、 X, Yが Ί 0ビットで表現されてい るものとする。 図 1 3 (a) は、 数値 Xを表す 1 0ビットの 2進数データを概念 的に示している。 図では、
各ビッ卜を識別するために、 最上位ビッ卜から最下位ビッ卜に向かって 1香から 1 0番までの通し番号を付して表示している。 図 1 2 aないし図 1 2 dを用いて前述したように、 着目画素群の左側にある画 素群の個数 nは、 数値 Xから 1を減算して 4で除算すれば得ることができる。 こ こで、 4での除算は、 2ビット分だけ右方向にシフトさせることで実施すること ができるから、 数値 Xから 1を減算して、 得られた 2進数データを右方向に 2ビ ッ卜分だけビットシフトさせればよい。 更に、 数値 Xは任意の値を取るのではな く、 4 n+ 1の形式で表現可能な数値しか取り得ないから、 Ίを減算せずに、 単 に 2進数データを右方向に 2ビッ卜分だけビッ卜シフ卜させるだけで、
画素群の個数 nを得ることができる。 図 1 3 (b) は、 こうして数値 Xをビット シフ卜して得られた個数 nの 2進数デ一夕を概念的に表している。 次いで、 i n t (n/32) を算出する。 すなわち、 個数 nを 32で除算して、 小数点以下の数値を切り捨てる操作を行う。 32による除算は、 2進数データを 右方向に 5ビット分だけビットシフトさせることで実行可能であり、 また、 デー 夕を整数形式で扱っていれば、 小数点以下の数値は自動的に切り捨てられてしま う。 結局、 i n t (n/32) の 2進数データは、 個数 nの 2進数データを、 単 に右方向に 5ビット分だけビットシフトさせることで得ることができる。 図 1 3 (c) は、 個数 nをビッ卜シフ卜して得られた i n t (n/32) の 2進数デー タを概念的に表している こうして得られた i n t (nZ32) に 32を乗算する。 32による乗算は、 2進数データを 5ビッ卜分だけ左方向にビットシフ卜することで実施することが でさる。 図 1 3 (d) は、 個数 nをビッ卜シフ卜して得られた i n t (n/3 2) X 32の 2進数データを概念的に表している。 次いで、 個数 nから i n t (n/32) X 32を減算すれば、 前述の数値 Nを 得ることができる。 個数 nの 2進数データ (図 1 3 (b) 参照) と ί n t (n/ 32) X 32の 2進数データ (図 1 3 ( d ) 参照) とを比較すれば明らかなよう に、 これら 2進数データは、 上位の 5ビットは共通しており、 減算する側の数値 の下位 5ビットは全て 「0」 となっている。 従って、 減算される側の数値 (個数 n) の下位 5ビットをそのまま抜き出せば、
求める数値 Mを得ることができる。 すなわち、 図 1 3 (b) に示した 2進数デー 夕に対して、 図 1 3 (.f ) に示すようなマスクデータを作用させるだけで、 極め て簡便に数値 Nを得ることが可能である。 あるいは、 図 1 3 (a) に示した着目 画素群の位置を示す数値 Xの 2進数データに、 図 1 3 (g) のようなマスクデー 夕を作用させて、 4番目〜 8番目のビッ卜データを直接抜き出すことによつても、 数値 Nを得ることができる。 図 1 3では、 着目画素群の位置を示す座標値 (X, Y) の数値 Xから、 ディザ マトリックス中でのプロック位置を示す数値 Nを求める場合について説明したが、 全く同様にして、 ブロック位置を示す数値 Mも数値 Yから求めることができる。 結局、 着目画素群の位置が分かれば、 2進数データから特定のビット位置のデ一 夕を抜き出すだけで、 着目画素群がディザマトリックス中で何行何列目のブロッ クに対応するかを知ることができ、 このブロックの通し番号によって、 着目画素 群の分類番号を迅速に決定することが可能なのである 図 1 0を用いて前述したように、 第 1実施例の個数データ生成処理では、 こう して得られた画素群の分類番号と画素群階調値とから、 変換テーブルを参照する ことによって個数データを取得する (図 1 0のステップ S 2 0 4参照) 。 以下で は、 個数デ一夕を得るために参照される変換テーブルについて説明する。 図 1 4は、 画素群の分類番号と画素群階調値とから個数データを取得するため に参照される変換テーブルを概念的に示した説明図である。 図示されているよう に、 変換テーブルには、 画素群の分類番号と画素群階調値との組合せに対応付け て、 適切な個数データが予め記憶されている。 図 1 1 aないし図 1 1 cを用いて 前述したように、 ここでは画素群は分類番号 1番〜 1 0 2 4香のいずれかに分類 され、 また、 画素群階調値は 0〜2 5 5のいずれかの階調値を取り得るとしてい るから、 分類番号と画素群階調値との組合せは、 1 0 2 4 X 2 5 6 = 2 6 2 1 4 4の組合せが存在する。 変換テーブルには、 この全ての組合せに対して個数デー 夕が設定されており、 この個数データは次のようにして決定されている。 図 1 5は、 画素群の分類番号と画素群階調値との組合せに応じて、 適切な個数 デ一夕を決定する様子を概念的に示した説明図である。 一例として、 画素群の分 類番号が 1番であるとする。 分類番号 "I香の画素群には、 ディザマトリックス中 で通し番号 1番のブロックが適用される。 図 1 5 ( a ) には、 通し番号 1番のプ 口ックに設定されている閾値が示されている。 今、 画素群階調値が 0であるとする。 この場合は、 画素群中の全画素が階調値 0の画像データを有するものとする。 そして、 各画素の階調値 (すなわち
「0」 ) と図 1 5 ( a ) に示した閾値とを比較し、 階調値の方が大きい (若しく は同じ) 画素については、 ドットを形成するものと判断する。 画素群の全画素に ついてこうした判断を行った後、 ドットの個数を数えて、 得られた値を個数デー タとする。 図 1 5 ( a ) に示したいずれの閾値も、
階調値 0よりは大きいから、 ドッ卜を形成すると判断される画素は存在しない。 そこで、
分類番号が 1番で画素群階調値が 0の組合せについては、 個数デ一夕 0を設定す る。 図 1 5 ( b ) は、 画素群階調値が 0の場合の個数データを決定している様子 を概念的に表している。 この場合は、 画素群内のいずれの画素にもドットは形成 されず、 従って、 個数データは 0となる。 図 1 5 ( c ) は、 画素群階調値が 1の場合に個数データを決定する様子を概念 的に示している。 この場合は、 画素群内の全画素が階調値 1の画像データを有す るものとして、 各画素の階調値を図〗 5 ( a ) に示した閾値と比較する。 その結 果、 画素群内で左上隅にある画素では、 画像データの階調値と閾値とが等しくな つてドットを形成する 判断され、
他の画素についてはドットを形成しないと判断される。 図 1 5 ( c ) に表示され た斜線の付された丸印は、 その画素にドッ卜を形成すると判断されたことを表し ている。 この結果、 分類番号が 1番で画素群階調値が 1の組合せについては、 個 数データ 1が設定される。 こうした操作を、 0〜2 5 5までの全ての画素群階調値について行うことによ り、 個数データを決定していく。 例えば、 画素群階調値が 2の場合は、 図 1 5 ( d ) に示したように、 個数データは Ί となり、 画素群階調値が 1 0 0の場合は、 図 1 5 ( e ) に示すように個数データは 3となる。 図 1 5 ( f ) および図 1 5 ( g ) には、 画素群階調値が 2 0 0の場合および画素群階調値が 2 5 5の場合に、 それぞれの個数データを決定する様芋が概念的に示されている。 図 1 4中で、 分 類番号 1に該当する行 (表中に示された横方向の欄) の部分に、 各画素群階調値 に対応付けて設定されている個数デ一夕は、 このようにして決定された個数デー タである。 こうした操作を、 1番〜 1 0 2 4番までの全ての分類番号について行 えば、 最終的に、 全ての分類番号と全ての画素群階調値とのあらゆる組合せに対 応する個数データを決定することができる。 図〗 4に示した変換テーブルには、 分類番号と画素群階調値との組合せに応じて、 対応する個数データが予め設定さ れている。
B - 6 . 第 1実施例の画素位置決定処理:
次に、 前述した第 1実施例の画像印刷処理において、 個数データから画素群内 でドットを形成する画素位置を決定する処理 (図 5のステップ S 1 0 8 ) につい て説明する。 図 1 6は、 第 1実施例の画素位置決定処理の流れを示すフローチヤ —卜である。 かかる処理は、 カラープリンタ 2 0 0の制御回路 2 6 0に内蔵され た C P Uによって実行される処理である。 以下では、 前述した図 9 aないし図 9 dを参照しながら、 図〗 6に示すフローチャートに従って、
第 1実施例の画素位置決定処理の内容について説明する。 尚、 図 9 aなしい図 9 dは、 個数データからドッ卜を形成する画素位置を決定可能な原理を説明するた めに用いられたものである。 画素位置決定処理を開始すると、 先ず初めに、 処理の対象とする画素群を 1つ 選択し (ステップ S 3 0 0 ) 、 その画素群の個数データを取得する (ステップ S 3 0 2 ) 。 ここでは、 図 9 aに示すような個数データが供給されたものとする。 そして、 処理対象の画素群として、 図 9 a中で一番左上隅の画素群が選択された ものとする。 この場合は、
図 1 6のステップ S 3 0 2では、 選択した画素群の個数データとして、 「3」 が 取得されることになる。 次いで、 序列マトリックスを参照することにより、 画素群内でドットが形成さ れる画素位置を決定する (ステップ S 3 0 4 ) 。 序列マトリックスとは、 図 9 d に例示されているように、 画素群内の各画素についてドッ卜の形成され易さを示 したマ卜リックスである。 ここでは、 処理対象の画素群は、 画像中で一番左上隅 にある画素群であるとしているから、 序列マトリックスも該当する箇所のマトリ ックス (すなわち、 図 9 dで左上隅にある 8画素分のマトリックス) を参照する。 そして、 個数データが 「3」 であるから、
序列マトリックス中でドッ卜の形成され易さが、 1番から 3番までの画素にドッ 卜が形成されるものと判断する。 その結果、 図 9 cの一番左上隅の画素群に示さ れているように、 処理対象の画素群については、 ドットを形成する画素位置は一 番左上隅の画素と、 その 2つ右隣の画素と、 更に右下の画素の 3つの画素位置に 決定することができる。 尚、 図 9 cでは、 ドットが形成される画素には斜線を付 して表示している。 図 1 6のステップ S 3 0 4では、 このようにして序列マトリ ックスを参照しながら、 個数データに基づいてドットを形成する画素位置を決定 する。 尚、 ここでは序列マトリックスを参照して画素位置を決定するものとして説明 した。 しかし、 図 9 aないし図 9 dにおいても前述したように、 画素群内で各画 素の序列を示している点については、 ディザマトリックスも序列マ卜リックスと 同様である。 従って、 序列マトリックスに代えて、 ディザマトリックスを参照し ても良いことはもちろんである。 以上のようにして、 ステップ S 3 0 0において選択した画素群についての画素 位置を決定したら、 全ての画素群についての処理を終了したか否かを判断する (図 1 6のステップ S 3 0 6 ) 。 未処理の画素群が残っていれば (ステップ S 3 0 6 : n o ) 、 ステップ S 3 0 0に戻って新たな画素群を選択し、 続く一連の処 理を行う。 こうした処理を繰り返すことにより、 図 9 aに例示した個数データは、 図 9 cに示すような、 ドッ卜を形成する画素位置を示すデータに変換されていく。 そして、 全ての画素群について処理が終了したら (ステップ S 3 0 6 : y e s ) 、 図 1 6に示した画素位置決定処理を終了して、 図 5の画像印刷処理に復帰する。 以上、 第 1実施例の画像印刷処理中で行われる個数データ生成処理 (図 5のス テツプ S 1 0 6 ) 、 および画素位置決定処理 (図 5のステップ S 1 0 8 ) の内容 について詳しく説明した。 上述した個数データ生成処理では、 所定数の画素をま とめて画素群を生成し、 その画素群について分類番号と画素群階調値を決定した 後、 個数データを生成する。 画素群の分類番号および画素群階調値は上述したよ うに極めて容易に求めることができる。 そして、 分類番号および画素群階調値が 分かれば、 前述した変換テーブルを参照することによって、 極めて容易に個数デ 一夕を生成することができる。 こうして生成された個数データは、 画素毎にドッ 卜形成の有無を表すデータに比べて、 デ一夕量が遙かに小さくなつているため、 コンピュータ 1 0 0からカラープリンタ 2 0 0に向かって極めて迅速にデータを 出力することができる。 すなわち、 上述した個数データ生成処理では、 個数デー 夕の生成および出力を高速に実行することが可能であり、 その分だけ画像を迅速 に印刷することが可能となるのである。 加えて、 個数データを生成する処理は、 単に変換テーブルを参照する処理に過 ぎず、 変換テーブルを参照するために使用する分類番号や画素群階調値も、 極め て簡便な処理で求めることができるので、 コンピュータ〗 0 0のような高いデー 夕処理能力を備えていない機器を用いた場合でも、 十分に実用的な速度で処理す ることができる。 更に、 処理内容が極めて簡素なものであることから、 処理の大部分は、 C P U を用いてソフトウェア的に実行するのではなく、 専用の論理回路を組み込んだ I Cチップを用いてハードウエア的に実行することも容易であり、 こうすることで 極めて高速に処理することも可能である。 従って、 デジタルカメラ 1 2 0などの 画像データを生成する機器と、 カラープリンタ 2 0 0とを直接接続した場合でも、 個数データ生成処理をデジタルカメラ 1 2 0やカラープリンタ 2 0 0の内部で実 行することで、 迅速に画像を印刷することも可能となる。 加えて、 上述した個数データ生成処理では、 変換テーブルを参照することによ つて個数データを求めているので、 ディザマ卜リックスを記憶しておく必要も無 い。 もっとも、 ディザマ卜リックスの代わりに変換テーブルを記憶しておく必要 があるので、 変換テ一プルのデータサイズがあまりに大きくなつたのでは、 メモ リ容量の点から制約を受けることになる。 しかし、 以下に説明するように、 変換 テーブルのデータサイズは決して大きなものではなく、 メモリ容量の点から制約 を受けることはない。 . 図 1 7は、 各種条件下での変換テーブルのデータサイズを試算した結果を示す 説明図である。 図 1 4に示すように、 変換テーブルには、 分類番号および画素群 階調値の組合せ毎に個数デー夕が設定されているから、 変換テ一プルのデー夕サ ィズは、 分類番号の個数と、 画素群階調値が取り得る範囲と、 個数データ 1つ当 たりのデ一夕長とによって決定される。 また、 分類番号の個数は、 ディザマトリ ックスを分割して生成したプロック数と等しいから、 結局、 ディザマ卜リックス のサイズと画素群の大きさとによって決定される。 図 1 7では、 各種サイズのデ ィザマ卜リックスと、 各種大きさの画素群とを想定し、 これらを組合せた時の変 換テーブルのデータ量が試算示されている。 具体的には、 ディザマトリックスの 大きさとしては、 6 4 X 6 4 (すなわち主走査方向に 6 4画素、 副走査方向に 6 4画素) 、 Ί 2 8 X 6 4 (主走査方向に 1 2 8画素、 副走査方向に 6 4画素) 、 1 2 8 X 1 2 8 (主走査方向に 1 2 8画素、 副走査方向に 1 2 8画素) の 3種類 のサイズを想定している。 画素群のサイズとしては、 2 X 2 (主走査方向に 2画 素、 副走査方向に 2画素) 、 4 X 2 (主走査方向に 4画素、 副走査方向に 2画 素) 、 4 X 4 (主走査方向に 4画素、
副走査方向に 4画素) の 3種類のサイズを想定している。 また、 ここでは、 画素 群階調値は 0〜 2 5 5の 2 5 6通りの値を取り得るものとし、 個数データのデー 夕長は 1バイ卜であるものとしている。 上述した実施例に対応する条件、 すなわち、 ディザマトリックスサイズが 1 2 8 X 6 4であり、 画素群の大きさが 4 X 2の条件での試算結果は、 図 1 7では、 破線で囲って示されている。 以下では、 この条件を代表例として用いながら、 変 換テーブルサイズの試算結果について説明する。 ブロック数は、 ディザマ卜リツ クスを画素群と同じサイズで分割して得られるブロックの個数であるから、 ディ ザマトリックスの画素教 ( 1 2 8 X 6 4 ) を画素群当たりの画素数 (4 X 2 ) で 除算して、 1 0 2 4となる。 この値が、 変換テーブルの分類番号の個数となる。 ここでは、 画素群階調値は 0〜 2 5 5までの 2 5 6通りの値を取り得るとしてい るから、 分類番号と画素群階調値との組合せは、 1 0 2 4 X 2 5 6通り存在して いる。 この組合せ毎に、 1バイ卜のデータ長の個数データが記憶されるから、 結 局、 変換テーブルのデータ量は、 2 5 6 Κバイ卜と算出される。 上述した算出方法から明らかなように、 変換テーブルのデータ量は、 ディザマ 卜リックスのサイズが大きくなつて分類番号の個数が増えるほど大きくなる傾向 ¾る。 『口《1 (こ、
画素群の大きさが小さくなるほど分類番号の個数が増えるので、 変換テーブルの データ量は大きくなる傾向にある。 ここで、 実際に用いられるディザマ卜リック スのサイズは、 6 4 X 6 4 ~ 1 2 8 X 1 2 8程度であるから、 図 1 7に示した試 算結果から、 変換テーブルのデータ量は、 極めて特殊な場合を除いて 1 Mバイト を越えることはなく、 2 5 6 Kバイ ! ^ ~ 5 1 2 Kバイ卜程度に収まっている。 も ちろん、 図 1 7の試算で用いたディザマトリックスよりも大きなマトリックスを 使用する場合もあるが、 その場合でも、 変換テーブルのデータ量はメモリ容量を 圧迫するほど大きなものにはならないと考えられる。 また、 図 1 7に示した試算では、 個数データ 1つ当たりのデータ長は 1バイ卜 であるとしたが、 実際には 1バイ卜ものデ一夕長は不要であり、 これを考慮すれ ば、 変換テーブルのデータ量は更に小さなものとなる。 この点について、 再び図 1 7を参照しながら説明する。 図中で、 破線で囲った条件 (上述した実施例の条 件) について説明すると、 画素群内の画素数は 8つであるから、 画素群当たりに 形成されるドッ卜個数は 0個〜 8個までの合計 9つの状態を取り得る。 9つの状 態であれば 4ビットあれば表現することができるから、 個数データ 1つあたりの データ長は 4ビットあれば良く、 従って、 変換テーブルのデータ量も 1 2 8 Kバ イトと半減する。 図 1 7で、 右端から 2列目の 「状態数 Z画素群」 と表示された 欄には、 画素群が取り得る状態数 (すなわち 1つの画素群に形成され得るドット 個数の種類) が示されており、 右端の 「使用ビット数」 と表示された欄には、 状 態数を表現するために必要なビット数 (すなわち、 個数データ 1つ当たりのデー 夕長) が示されている。 前述したように、 個数データが 1バイ卜データであるとした場合は、 画素群の 大きさが小さくなるほど変換テーブルのデータ量は大きくなる。 しかし、 図 1 7 の右端の欄に示されているように、 画素群の大きさが小さくなるほど使用ビッ卜 数は小さくなるので、 この点を考慮したときのデータ量の低減率は大きくなる。 実際、 画素群の画素数が 8つの場合は、 使用ビット数を考慮することでデータ量 が半減するが、 画素群の画素数が 4つの場合はデータ量は 3 Z 8と、 4割以下に 減少する。 こうした点を考慮すれば、 変換テーブルのデータ量は図 1 7の試算結 果よりも更に減少し、 実際には高々 2 5 6 Kバイ卜程度あれば十分であると考え られる。 前述した画像印刷処理中の色変換処理 (図 5のステップ S 1 0 2 ) で参照する 色変換テーブル (L U T ) のデータ量が、 通常は 1 . 5 M以上になることと比べ れば、 2 5 6 Kバイ卜というデータ量は決して大きなデータ量ではない。 むしろ、 現在の一般的なコンピュータのキャッシュメモリにも十分に収まる程度の小さな データ量と言うことができる。 従って、 コンピュータ 1 0 0で個数データ生成処 理を実行する場合、 変換テーブルのデータ量が記憶容量を圧迫することはあり得 ないと考えられる。 また、 コンピュータではなく、
デジタルカメラ 1 2 0などの画像機器やカラープリン夕 2 0 0の内部で個数デー 夕生成処理を実施する場合も、 2 5 6 Kバイ卜程度であれば、 特別にメモリを追 加せずとも既存のメモリで吸収することが可能である。 特に、 現在の一般的なプ リン夕では、 プリンタ内部の処理を実行するために 1 0 Mバイ卜程度のメモリを 搭載していることから、 2 5 6 Kバイ卜程度の変換テーブルを記憶することでメ モリ容量が圧迫されることはない。 B— 7 . 変形例:
上述した第 1実施例の画像印刷処理では、 画像データを印刷解像度に変換した 後、 所定数の画素をまとめて画素群を形成して個数データを生成した。 しかし、 画像データを印刷解像度よりも低解像度のデータに一旦変換し、 明示的には画素 群を形成することなく個数データを生成することとしても良い。 以下では、 こう した第 1実施例の変形例について説明する。 図 1 8は、 第 1実施例の変形例の画像印刷処理の流れを示したフローチヤ一卜 である。
変形例の画像印刷処理は、 図 5に示した第 1実施例の画像印刷処理に対して、 画 像データの解像度を印刷解像度に変換するのではなく、 印刷解像度よりも低解像 度のデータに変換する点と、 個数データ生成処理において明示的には画素群を形 成していない点が大きく異なっているが、 他の点についてはほぼ同様である。 以 下では、 第 1実施例の画像印刷処理との相違点を中心として、 変形例の画像印刷 処理について説明する。 変形例の画像印刷処理においても、 第 1実施例の画像印刷処理と同様に、 処理 を開始すると先ず初めに画像データを読み込んで (ステップ S 4 0 0 ) 、 色変換 処理を行う (ステップ S 4 0 2 ) 。 次いで、 変形例の画像印刷処理では、 画像データに解像度調整処理を施して、 印刷解像度よりも低解,度の画像デ一夕に一旦変換する (ステップ S 4 0 4 ) 。 図 1 9 aないし図 1 9 cは、 解像度調整処理で行われる処理について示した説明 図である。 図 1 9 aは、 色変換後の画像データを概念的に表しており、 図 1 9 b は、 解像度調整処理によって生成される画像データを概念的に表している。 また、 図 1 9 cは、 印刷解像度の画像データを示している。 図 1 9 と図1 9 cとを比 較すれば明らかなように、 解像度調整処理によって生成される画像データは、 印 刷解像度よりも低解像度のデータである。 より詳しくは、 解像度調整処理によつ て生成される画像データの解像度は、 主走査方向には印刷解像度の 1 / 4、 副走 査方向には印刷解像度の 1 / 2の解像度となっている。 換言すれば、 解像度調整 処理によって生成される画素は、 図 1 9 cに示した印刷解像度の画素に対して、 主走査方向には 4倍、 副走査方向には 2倍の大きさを有する大きな画素に変換さ れる。 そして、 続いて行われる個数データ生成処理では、 図 1 9 bに示す大きな画素が、 あたかも図 1 9 cに示すように印刷解像度の画素を所定数ずつまとめて生成した 画素群であるかのように扱って、 個 ^[データを生成する。 すなわち、 変形例の解 像度調整処理では、 解像度変換後の 1画素の大きさが、 印刷解像度の画素をまと めて生成した画素群の大きさと一致するように、 画像データの解像度を変換する 処理を行うのである。 変形例の画像印刷処理では、 こうして色変換後の画像データの解像度を調整し た後、 個数データ生成処理を開始する (図 1 8のステップ S 4 0 6 ) 。 図 2 0は、 変形例の画像印刷処理で行われる個数データ生成処理の流れを示すフローチヤ一 卜である。 かかる処理を開始すると、 先ず初めに、 処理対象とする画素を 1つ選 択する (ステップ S 5 0 0 ) 。 ここで選択する画素は、 図〗 9 bに示すような、 印刷解像度の画素よりも大きな画素である。 しかし、 この画素の大きさは、 前述 した第 1実施例において印刷解像度の画素をまとめて生成した画素群の大きさと 一致している。 そこで、. 選択した画素をあたかも第 1実施例における画素群のよ うに扱って、 この画素についての分類番号を決定する (ステップ S 5 0 2 ) 。 分 類番号は、 図 1 1 aないし図 1 3における画素群を画素と読み替えてやれば、 第 1実施例における方法に準じて決定することができる。 次いで、 図 1 4に示す変換テーブルを参照することにより、 選択した画素につ いての個数データを取得する (ステップ S 5 0 4 ) 。 変換テーブルを参照する際 に用いる画素群階調値には、 選択した画素に割り当てられている画像データの階 調値をそのまま使用することができる。 こうして、 処理対象として選択した画素について個数データが取得されたら、 全画素について処理を終了したか否かを判断する (ステップ S 5 0 6 ) 。 未処理 の画素が残っている場合は (ステップ S 5 0 6 : n o ) 、 ステップ S 5 0 0に戻 つて新たな処理対象の画素を選択した後、 続く一連の処理を行う。 こうした操作 を繰り返し、 全画素について処理を終了したと判断されたら (ステップ S 5 0 6 : y e s ) 、 各画素について得られた個数データをカラープリンタ 2 0 0に出力 して (ステップ S 5 0 8 ) 、 図 1 8に示す変形例の個数データ生成処理を終了す る。 以上のような個数データ生成処理に続いて、 画素位置決定処理を行う (ステツ プ S 4 0 8 ) 。 画素位置決定処理については、 変形例の画像印刷処理においても 前述した第 1実施例の画像印刷処理と同様である。 すなわち、 コンピュータ 1 0 0から供給された個数データを受け取って、 序列マ卜リックスを参照することに より、 画素群内でドッ卜が形成される画素位置を決定する。 次いで、 こうして決定された画素位置にドットを形成していく (ステップ S 4 1 0 )
その結果、 印刷用紙上に適切な密度でドットが形成されて、 画像データに対応す る画像が印刷されることになる。 上述した変形例の画像印刷処理では、 画像データを印刷解像度よりも低い解像 度のデータとしたまま、 個数データを生成することができる。 解像度が低くなれ ば画像データのデータ量は小さくなるので、 その分だけデータを迅速に取り扱う ことが可能になるとともに、 処理に際して一時的に必要となるメモリ量も低減さ せることも可能となる。 また、 画素群を生成する処理や、 生成した画素群につい ての画素群階調値を算出する処理も不要となるので、 処理の簡素化と迅速化とを 同時に実現することが可能となる。 尚、 高画質な画像を印刷するためには、 高い解像度で印刷することが効果的で あることは言うまでも無いが、 必ずしも、 印刷解像度を高くすることに合わせて 画像データの解像度も高くする必要があるわけではない。 低解像度の画像データ を受け取って、 単に大きな画素を小さな画素に分割し、 見かけ上の解像度を高く するだけでも、 印刷画質を改善することが可能である。 例えば、 図 1 9 bに示す ような低解像度の画像データを受け取って、 各画素を複数の画素に分割し、 図 1 9 cに示すような高解像度の画像デ一夕に変換する。 こうして得られた画像デー 夕は見かけ上の解像度は高くなつているものの、 解像度に見合うだけ滑らかな階 調変化が可能になっているわけではなく、 階調変化を滑らかに表現する観点から 見れば低解像度の画像データと何ら変わるところはない。 しかし、 次のような理 由から、 見かけ上の解像度を高くするだけでも印刷画質を向上させることが可能 であるため、 こうした処理も現在では比較的頻繁に行われるようになつている。 以下では、 見かけ上の解像度を向上させるだけでも印刷画質が改善される理由 について簡単に説明する。 画像データは、 一般的に、 個々の画素について多階調 を表現することが可能である。 例えば、 画像データが 1バイ卜データである場合 には、 画素あたり 2 5 6階調を表現することができる。 これに対して、 ドットを 形成して画像を印刷する場合は、 個々の画素ではドッ卜を形成するか否かの 2通 リしか取り得ず、 例えドットの大きさなどを変えたとしても、 画素あたりに表現 可能な階調数は高々数階調に過ぎない。 換言すれば、
ドッ卜を形成して画像を印刷する場合、 画像データと同じ解像度で印刷すると、 個々の画素が有する画像データの情報量が大きく失われている。 これに対して、 画像を印刷する際に、 1つの画素を複数の画素に分割してドッ卜を形成してやれ ば、 画像データの個々の画素が有する情報量をドッ卜の形成状態に反映させるこ とが可能となり、 印刷画質が向上するのである。 変形例の画像印刷処理は、 このように、 低解像度の画像データを受け取って、 見かけ上の解像度を高解像度化した後に画像を印刷する場合に好適に適用するこ とが可能である。
すなわち、 画像データを受け取ると、 必要に応じて解像度を調整した後、 個々の 画素をあたかも画素群のように扱って個数データを生成する。 こうすれば、 受け 取った画像データの解像度を高解像度化することなく、 印刷解像度の画像を迅速 に印刷することが可能となる。 特に、 受け取った画像データの画素の大きさが、 画素群の大きさと一致している場合には、 解像度を調整することなく、 そのまま 各画素の個数データを生成することができるので、 より一層速やかに画像を印刷 することが可能である。
C . 第 2実施例:
以上に説明した第 1実施例では、 カラープリンタ 2 0 0で形成可能なドッ卜は 1種類であるものとして説明した。 しかし、 今日では、 印刷画質を向上させるこ とを目的として、
大きさの異なるドッ卜や、 インク濃度の異なるドッ卜など、 多種のドッ卜を形成 可能なプリン夕 (いわゆる多値ドットプリンタ) が広く使用されている。 本願の 発明は、 こうした多値ドッ卜プリン夕に適用した場合にも、 大きな効果を得るこ とができる。 以下では、 第 2実施例として、 本願発明を多値ドットプリン夕に適 用した場合について説明する。
C— 1 . 第 2実施例の画像印刷処理の概要:
第 2実施例の画像印刷処理は、 フローチヤ一卜については、 図 5に示した第 1 実施例の画像印刷処理と同様である。 以下では、 図 5のフローチャートを流用し ながら、 第 2実施例の画像印刷処理の概要について簡単に説明する。 第 2実施例の画像印刷処理を開始すると、 先ず初めに、 コンピュータ 1 0 0で 画像データを読み込んだ後、 色変換処理を行う (図 5のステップ S 1 0 0および ステップ S 1 0 2相当) 。 次いで、 解像度変換処理を行って、 画像データの解像 度を印刷解像度に変換した後 (ステップ S 1 0 4相当) 、 個数データ生成処理を 開始する (ステップ S 1 0 6相当) 。 前述したように、 第 1実施例では、 カラープリンタ 2 0 0が形成可能なドット は 1種類であるものとしており、 個数データ生成処理では、 画素群内に形成され るドッ卜個数を表す個数データを画素群毎に生成して、 カラープリンタ 2 0 0に 出力した。 これに対して、
第 2実施例では、 カラープリンタ 2 0 0は、 大きさの異なる 3種類のドット、 す なわち大ドット、 中ドット、 小ドットを形成可能であるものとする。 このことと 対応して、 第 2実施例の個数データ生成処理では、 画素群内に、 大ドット、 中ド ッ卜、 小ドッ卜がそれぞれ何個ずつ形成されるかを表す個数データを生成するこ とになる。 また、 詳細 は後述するが、 個数データを少ないデータ量で効率よく 出力するために、 大ドット、 中ドット、 小ドットの個数をそのまま出力するので はなく、 コード化された状態で出力する。 第 2実施例の個数データ生成処理の詳 細については後述する。 カラープリンタ 2 0 0の制御回路 2 6 0に内蔵された C P Uは、 コンピュータ 1 0 0から供給された個数データを受け取ると、 画素位置決定処理を開始する (図 5のステップ S 1 0 8相当) 。 詳細には後述するが、 第 2実施例の画素位置 決定処理では、 コード化された状態で供給された個数データを、 大ドット、 中ド ッ卜、 小ドットの個数を示すデ一夕に復号した後、 これらドットを形成する画素 位置を決定する。 こうして、 大中小の各種ドットを形成すべき画素位置を決定したら、 決定した 画素位置にドットを形成する (図 5のステップ S 1 1 0相当) 。 こうして大ドッ 卜、 中ドット、 小ドットを形成することにより、 画像データに対応した画像が印 刷される。
C— 2 . 第 2実施例の個数データ生成処理:
次に、 上述した第 2実施例の画像印刷処理において、 画素群内に形成される大 ドッ卜、
中ドッ卜、 小ドッ卜の個数がコード化された個数データを生成する処理について 説明する。 後述するように、 コード化された個数データも、 画素群の分類番号と 画素群階調値とに基づいて変換テーブルを参照することにより、 極めて容易に生 成することができる。 こうしたことが可能である理由を説明するために、 先ず初 めに、 画素群内に形成される大中小ドットの個数を、 いわゆるディザ法を用いて 決定する処理について簡単に説明する。 次いで、 大中小ドットの個数をコード化 する処理について説明し、 その後に、 第 2実施例の個数データ生成処理で行われ る詳細な処理内容について説明する。
C一 2— 1 . ディザ法を用いた大中小ドッ卜の形成個数の決定処理:
図 2 1は、 画素群内に形成される大ドット、 中ドット、 小ドットの個数を、 デ ィザ法を適用して決定する処理の流れを示すフローチヤ一卜である。 尚、 かかる 処理の詳細については、 特許 3 2 9 2 1 0 4号に開示されている。 従って図 2 9 に示した処理は、 特許大 3 2 9 2 1 0 4号に開示された手法を画素群単位で行な うものと見ることができる。 大中小ドットの個数を決定する場合も、 処理を開始 すると先ず初めに、 互いに隣接する所定数の画素をまとめて画素群を形成する (ステップ S 6 0 0 ) 。 ここでは、 前述した実施例と同様に、 主走査方向に 4画 素、 副走査方向に 2画素の合計 8つの画素を画素群としてまとめるものとする。 次いで、 画素群の中からドット形成の有無を判断するべく、 処理対象とする画 素を 1つ選択して (ステップ S 6 0 2 ) 、 選択した処理画素について、 大ドット、 中ドット、 小ドットの形成有無を判断する (ステップ S 6 0 4 ) 。 大中小ドット の形成有無は次のようにして判断する。 図 2 2は、 選択した 1つの画素についてハーフ I ^一ン処理を行うことにより、 大ドット、 中ドット、 小ドットの形成有無を判断する処理の流れを示すフローチ ヤー卜である。 大中小ドットのハーフトーン処理を開始すると、 先ず初めに処理 対象とする画素についての画像データを、 大ドット、 中ドット、 小ドットの各ド ッ卜についての密度データに変換する (ステップ S 6 5 0 ) 。 ここで、 密度デ一 夕とは、 ドットをどの程度の密度で形成するかを表すデータである。 密度データ は、 大きな階調値となるほどドッ卜が高い密度で形成されることを表している。 例えば、 密度データの階調値 「2 5 5」 は、 ドットの形成密度が 1 0 0 %、 すな わち全ての画素にドッ.卜が形成されることを表しており、 密度データの階調値 「0」 は、 ドットの形成密度が 0 %、 すなわちいずれの画素にもドットが形成さ れないことを表している。 こうした密度データへの変換は、 ドット密度変換テー ブルと呼ばれる数表を参照することによって行うことができる。 図 2 3は、 画像データの階調値を大中小各ドットについての密度データに変換 する際に参照されるドッ卜密度変換テーブルを概念的に示した説明図である。 図 示されているように、 ドット密度変換テーブルには、 色変換によって得られた画 像データの階調値に対して、 小ドット ·中ドット ■大ドッ卜の各ドッ卜について の密度データが設定されている。 画像データが階調値 「0」 近傍の領域では、 中 ドット ·大ドットの密度データはいずれも階調値 「0」 に設定されている。 小ド ッ卜の密度データは、 画像データの階調値が大きくなるに連れて増加して行くが、 画像データがある階調値に達すると今度は逆に減少し始め、
代わりに中ドッ卜の密度データが増加し始める。 画像データの階調値が更に増加 して、 ある階調値に達すると、 小ドットの密度データが階調値 「0」 となり、 中 ドッ卜の密度データが減少し始めて、 代わりに大ドッ卜の密度データが少しずつ 増加していく。 図 2 2のステップ S 6 5 2では、 このドット密度変換テーブルを 参照しながら、 画像データの階調値を、 大ドットの密度データ、 中ドットの密度 データ、 小ドットの密度データに変換する処理を行う。 このようにして、 処理対象とする画素について、 大中小各ドットの密度データ が得られたら、 先ず初めに大ドットについての形成有無を判断する (図 2 2のス テツプ S 6 5 4 ) 。 かかる判断は、 大ドットの密度データと、 処理対象としてい る画素の対応する位置に設定されているディザマトリックスの閾値とを比較する ことによって行う。 そして、 密度データの方が大きい場合は処理対象の画素には 大ドッ卜を形成するものと判断し (ステップ S 6 5 4 : y e s ) 、 ハーフ卜一ン 処理を抜けて図 2 1 に示したドッ卜個数決定処理に復帰する。 逆に、 大ドッ卜の密度データよりも閾値の方が大きい場合は処理対象の画素に は大ドッ卜は形成されないと判断して (ステップ S 6 5 4 : n 0 ) 、 今度は中ド ッ卜について形成有無を判断する処理を開始する。 中ドッ卜の形成有無の判断に は、 大ドットの密度データと中ドットの密度データとを加算して、 中ドット用の 中間データを算出する (ステップ S 6 5 6 ) 。 そして、 得られた中ドット用の中 間データと、 ディザマ卜リックスの閾値とを比較することにより、 中ドットの形 成有無を判断する (ステップ S S 6 5 8 ) 。 そして、
中ドッ卜用の中間データの方が大きい場合は処理対象の画素には.中ドッ卜を形成 するものと判断し (ステップ S 6 6 0 : y e s ) 、 ハーフ卜一ン処理を抜けて図 2 1のドッ卜個数決定処理に復帰する。 逆に、 中ドッ卜用の中間デ一夕よりも閾値の方が大きい場合は処理対象の画素 には中ドットも形成されないと判断して (ステップ S 6 6 0 : n o ) 、 今度は小 ドッ卜について形成有無を判断する処理を開始する。 小ドッ卜の形成有無の判断 には、 中ドット用の中間データと小ドットの密度データとを加算して、 小ドット 用の中間データを算出する (ステップ S 6 6 2 ) 。 そして、 得られた小ドット用 の中間データと、 ディザマ卜リックスの閾値とを比較することにより、 小ドット の形成有無を判断する (ステップ S 6 6 4 ) 。 そして、 小ドット用の中間データ の方が大きい場合は処理対象の画素には小ドッ卜を形成するものと判断し、 逆に、 小ドット用の中間データよりも閾値の方が大きい場合には、 いずれのドットも形 成されないものと判断する。 以上のような処理を行えば、 処理対象としている画 素について、 大ドット、 中ドット、 小ドットのいずれのドットを形成するか、 若 しくは、 いずれのドットも形成しないかを判斷することができるので、 図 2 2に 示したハーフトーン処理を抜けて図 2 1のドッ卜個数決定処理に復帰する。
,
上述した処理を行いながら大中小の各ドッ卜の形成有無を判断する様子につい て、 図 2 4を参照しながら補足して説明する。 図 2 4は、 画素群内の各画素につ いて、 ディザ法を適用しながら大中小各ドッ卜の形成有無を判断している様子を 概念的に示した説明図である。 ここでは、 説明が煩雑となることを避けるために、 画素群内の全画素が同じ階調値を有しており、 従って、 大中小各ドットの密度デ 一夕も同じ階調値を有しているものとする。 図 2 4 ( a ) は、 画素群内の各画素 について得られた大中小ドットの密度データを示しており、 いずれの画素も、 大 ドットの密度データが 「2」 、 中ドットの密度データが 「9 0」 、 小ドットの密 度データが 「3 2 j であったものとする。 図 2 4 ( b ) は、 ディザマトリックス中で、 画素群に対応する位置に記憶され ている閾値を表している。 大ドットの形成有無を判断する際には、 大ドットの密 度デ一夕と、 これら閾値とを比較する。 ここでは、 いずれの画素についても、 大 ドットの密度データは 「2」 であるとしているから、 大ドットを形成すると判断 される画素は、 閾値 「1」 が設定された画素だけである。 図 2 4 ( b ) には、 大 ドッ卜が形成されると判断された画素には、
細かい斜線を付して表示している。 その他の画素については、 中ドットか小ドッ 卜のどちらかが形成されるか、 若しくはいずれのドッ卜も形成されないかのいず れかであると考えられる。 そこで、 中ドットの形成有無を判断する。 中ドットの形成有無の判断に際しては、 大ドットの密度データ 「2」 と中ドッ 卜の密度データ 「9 0」 とを加算して中ドット用の中間データを算出し、 得られ た中間データ 「9 2」 とディザマ卜リックスの閾値とを比較する。 その結果、'閾 値 「4 2」 が設定された画素と、 閾値 「5 8」 が設定された画素の 2つの画素に のみ、 中ドットが形成されるものと判断される。 図 2 4 ( c ) には、 中ドットが 形成されると判断された画素には、 少し細かい斜線を付して表示している。 そし て、 大ドットも中ドットも形成されない画素については、 小ドットが形成される か、 ドッ卜が形成されないかのいずれかであると考えられる。
そこで、 中ドット用の中間データ 「9 2」 に小ドットの密度データ 「3 2」 を加 算して、
小ドット用の中間データを算出し、 得られた中間データ 「1 2 4 J とディザマ卜 リックスの閾値とを比較する。 その結果、 閾値 Π 0 9」 が設定された画素にの み、 小ドットが形成されるものと判断される。 図 2 4 ( d ) には、 小ドットが形 成されると判断された画素には、 粗い斜線を付して表示している。 図 2 〗 に示したドッ卜個数決定処理のステップ S 6 0 2 ~ S 6 0 6では、 以上 のようにして画素群内の各画素について中間データを算出しながら、 大中小の各 ドットについての形成有無を判断していく。 こうして、 画素群内の全画素につい て判断を終了したら (ステップ S 6 0 6 r e s ) , 画素群内に形成される大ド ッ卜、 中ドット、 小ドッ卜の個数を取得する (ステップ S 6 0 8 ) 。 図 2 4に例 示した画素群については、 大ドット 1個、 中ドット 2個、 小ドット 1個となる。 こうして、 大中小の各ドットのドット個数を取得したら、 画像の全画素につい て以上の処理を行ったか否かを判断する (ステップ S 6 1 0 ) 。 そして、 未処理 の画素が残っている場合は、 ステップ S 6 0 0に戻って続く一連の処理を繰り返 し、 画像の全画素について処理を終了したと判断されたら、 図 2 1 に示したディ ザ法によるドット個数決定処理を終了する。 その結果、 画像データは複数の画素 群に分割され、 各画素群に形成される大ドット、 中ドット、 小ドットの個数が得 られることになる。 図 2 5は、 画素群毎に大ドッ卜、
中ドッ卜、 小ドッ卜の形成個数が得られた様子を概念的に示した説明図である。 C— 2— 2 . 大中小ドッ卜の形成個数のコ一ド化処理:
以上のようにして画素群毎に各ドッ卜の個数が求められたら、 求めたドッ卜の 個数をコード化した状態でプリン夕に出力する。 すなわち、 例えば図 2 5に示す ように、 ドットの種類が大中小の 3種類である場合、 ドットの種類毎に形成する 個数を出力したのでは、 1つの画素群について 3回ずつドッ卜個数を出力しなけ ればならない。 これでは、 コンピュータ 1 0 0からカラープリンタ 2 0 0にデ一 夕を迅速に出力することで画像を迅速に印刷するという効果が減殺されてしまう。 そこで、 各ドットの個数を個別に出力するのではなく、 各ドットの個数の組合せ、 例えば (大ドットが K個、 中ドットが L個、 小ドットが N個) という組合せを、 組合せ毎に設定された個別のコードに変換した後、 得られたコードを出力するの である。 大中小各ドッ卜の組合せをコード化する処理は、 ドッ卜個数の組合せとコード データとを対応付けた状態で予め対応テーブルに記憶しておき、 この対応テープ ルを参照することで行う。 図 2 6は、 画素群に形成される大中小各ドットの個数 の組合せと、 コードデ一夕とが対応付けて設定された対応テーブルを示す説明図 である。 図 2 6に例示の対応テーブルには、 例えば大ドット、 中ドット、 小ドッ 卜の個数がいずれも 0個である組合せには、
コードデータ 「0」 が対応付けられている。 また、 大ドットが 0個、 中ドットが 0個、 小ドットが 1個の組合せには、 コードデータ 「1」 が対応付けられている。 このように対応テーブルには、 各ドットの個数の組合せ毎に、 予め固有のコード データが対応付けて設定されている。 ここで、 大中小ドットの個数の組合せ数は、 次のようなものとなる。 画素群内 の各画素には、 大ドット、 中ドット、 小ドットのいずれのドットも形成され得る が、 1つの画素に複数のドットが形成されることはないから、 ドット個数の合計 が画素群内の画素数 (.上述した実施例でば 8個) を越えることはない。 従って、 これら大中小ドットの個数の組合せは、 「大ドットを形成する」 、 「中ドットを 形成する」 、 「小ドットを形成する」 、 「ドットを形成しない」 の 4つの状態の 中から重複を許して 8回選択するときの組合せの数に等しくなるから、
4 H s ( = 4 + 8 - 1 C s )
によって求められ、 1 6 5通りの組合せが存在していることになる。 ここで、 n H r は、 n種類の物の中から重複を許して r回選択したときに得られる組合せ の数 (重複組合せ数) を求める演算子である。 また、 n C r は、 n種類の物の中 から重複を許さずに r回選択したときに得られる組合の数を求める演算子である。 のように、 大中小各ドットの個数の組合せが 1 6 5通り存在していることか コードデータも 「0」 〜 Γ 1 6 4」 の 1 6 5通りあればよい。 1 6 5通りで あれば、 8ビットのデ一夕長があれば表現することができる。 結局、 大ドットの 個数、 中ドットの個数、 小ドットの個数と、 3回出力する代わりに、 8ビットの コード化された個数データを 1回出力するだけで、 画素群に形成する各種ドッ卜 の個数を出力することが可能となる。 そこで、 図 2 5に示すような画素群毎に得 られたドット個数の組合せを、 図 2 6に示すような対応テーブルを参照しながら コ一ド化された個数データに変換してからプリンタに供給することで、 個数デー 夕の供給を迅速化して画像を迅速に印刷するのである。
C - 2 - 3 . 変換テーブルを利用した第 2実施例の個数データ生成処理:
以上では、 画素群内に形成する大中小ドッ卜の個数をディザ法を用いて決定し た後、 得られたドッ卜個数の組合せをコード化してからプリン夕に供給するとい う、 言わば 2段階の処理を経るものとして説明した。 しかし、 第 2実施例の個数 データ生成処理では、 変換テーブルを参照することにより、 画素群の画像データ をコード化された個数データに直接変換して、 カラープリンタ 2 0 0に出力する。 このため、 個数データ^極めて迅速に生成することが可能となるとともに、 個数 データを生成する処理もたいへん簡素なものとなる。 このため、 コンピュータの ような高い処理能力を有する機器を用いずとも、 十分に実用的な速度で個数デ一 夕を生成することが可能となる。 以下では、 こうした第 2実施例の個数デ一夕生 成処理について説明する。 図 2 7は、 第 2実施例の個数データ生成処理の流れを示すフローチャートであ る。 尚、
以下では、 第 2実施例の個数データ生成処理もコンピュータ 1 0 0で実施される ものとして説明するが、 前述した第 1実施例と同様に、 第 2実施例の個数データ 生成処理も極めて簡素な処理とすることができるから、 カラープリンタ 2 0 0あ るいはデジタルカメラ 1 2 0内で実施することも可能である。 以下、 フローチヤ 一卜に従って説明する 第 2実施例の個数データ生成処理を開始すると、 先ず初めに、 互いに隣接する 所定個数の画素をまとめて画素群を生成する (ステップ S 7 0 0 ) 。 ここでは、 上述した実施例と同様に、 主走査方向に 4画素分、 副走査方向に 2画素分の合計 8つの画素を画素群にまとめるものとする。 次いで、 画素群の分類番号と、 画素 群階調値とを決定する (ステップ S 7 0 2 ) 。 画素群の分類番号および画素群階 調値の決定方法は、 前述した第 1実施例と同様であるため、 ここでは説明は省略 するが、 分類番号および画素群階調値はいずれも極めて簡便に決定することがで きる。 次いで、 画素群の分類番号と画素群階調値とから変換テーブルを参照すること により、
コード化された個数データを決定する (ステップ S 7 0 4 ) 。 図 2 8は、 第 2実 施例の個数データ生成処理において参照される変換テーブルを概念的に示した説 明図である。 図示されているように、 第 2実施例の変換テーブルには、 画素群の 分類番号と画素群階調値との組合せに対応付けて、 コード化された個数データが 予め記憶されている。 従って、 第 2実施例の個数データ生成処理においては、 画 素群の分類番号および画素群階調値を決定して変換テーブルを参照するだけで、 直ちにコード化された状態の個数データを決定することが可能である。 以上のようにして、 1つの画素群についてコード化された個数データが得られ たら、 画像データの全画素について処理を終了したか否かを判断する (ステップ S 7 0 6 ) 。 そして、 未処理の画素が残っている場合は (ステップ S 7 0 6 : n 0 ) 、 ステップ S 7 0 0に戻って新たな画素群を生成し、 続く一連の処理を繰り 返す。 こうした操作を繰り返し、 全画素についての処理が終了したと判断された ら (ステップ S 7 0 6 : y e s ) 、 各画素群について得られたコード化済みの個 数データをカラープリンタ 2 0 0に出力して (ステップ S 7 0 8 ) 、 図 2 7に示 す第 2実施例の個数データ生成処理を終了する。 C一 3 . 第 2実施例の画素位置決定処理:
次に、 第 2実施例のカラープリンタ 2 0 0において、 コード化された個数デ一 夕を受け取って大中小各ドッ卜を形成する画素位置を決定する処理について説明 する。 図 2 9は、
第 2実施例の画素位置決定処理の流れを示すフローチヤ一卜である。 かかる処理 は、 図 1 6を用いて前述した第 1実施例の画素位置決定処理に対して、 個数デー 夕を復号して大中小各ドッ卜の形成個数を示すデータに変換する点と、 大中小各 ドットについて画素位置を決定する点とが大きく異なっている。 以下では、 これ ら相違点に焦点を当てながら、 第 2実施例の画素位置決定処理について説明する。 第 2実施例の画素位置決定処理を開始すると、 先ず初めに、 画素位置を決定し ようとする画素群を〗つ選択し (ステップ S 8 0 0 ) 、 その画素群の個数データ を取得する (ステップ S 8 0 2 ) 。 こうして取得された個数データは、 コード化 されたデ一夕となっている。 そこで、 個数データを復号して、 大ドット、 中ドッ 卜、 小ドットについての個数を示すデータに変換する処理を行う (ステップ S 8 0 4 ) 。 個数データを復号する処理は、 復号テーブルを参照することによって行 う。 図 3 0は、 第 2実施例の画素位置決定処理中でコード化された個数データを 復号するために参照される復号テーブルを概念的に示した説明図である。 図示されるように、 復号テーブルには、 コード化された個数デ^夕に対応する 大ドット、 中ドット、 小ドットのドット個数の組合せが設定されている。 例えば、 コード化された個数データが 「1」 である場合は、 大ドットおよび中ドットの個 数は 0個で、 小ドットの個数が 1個であるドット個数の組合せに復号される。 図 2 9のステップ S 8 0 4では、 このような復号テーブルを参照することにより、 コード化された個数データを大中小各ドッ卜の個数を表すデータに変換する。 次いで、 処理中の画素群に対応する位置に記憶されている序列マトリックスを 参照することにより、 大中小各ドットの個数から、 これらドットを形成する画素 位置を決定する処理を行う (ステップ S 8 0 6 ) 。 序列マ卜リックスとは、 図 9 dに例示されているように、 画素群内の各画素についてドッ卜の形成され易さを 示したマトリックスである。 図 3 1は、 序列マトリックスを参照しながら、 大中 小各ドッ卜を形成する画素位置を決定している様子を概念的に示した説明図であ る。 例えば、 個数データを復号することにより、
大ドッ卜の個数が 1個、 中ドッ卜の個数が 2個、 小ドッ卜の個数が 1個の組合せ が得られたものとする。 画素位置の決定に際しては、 先ず初めに大ドットを形成する画素位置を決定す る。 ここでは、 大ドットの個数は 1個であるとしているから、 最もドットの形成 されやすい画素、
すなわち、 序列マトリックスで順序値が 门」 に設定されている画素に大ドット が形成されるものと判断する。 ここで、 大ドッ卜の個数が N個である場合は、 序 列マトリックスで順序値が Π」 から 「Ν」 までの値が設定されている画素に大 ドットを形成するものと判断する。 図 3 1では、 大ドットを形成する画素位置に は、 細かい斜線を付して表示している。 次いで、 中ドットを形成する画素位置を決定する。 中ドットの個数は 2個であ り、 順序値 「1」 が設定されている画素位置には大ドットが形成されるから、 中 ドットは順序値 「2」 が設定された画素位置と順序値 「3」 が設定された画素位 置とに形成される。 図 3 1では、 中ドットが形成される画素位置には、 少し粗い 斜線を付して表示している。 最後に、 小ドットを形成する画素位置を決定する。 小ドットの個数は 1個であ り、 順序値 「1」 の画素位置には大ドットが、 順序値 「2」 および 「3」 の画素 位置には中ドットが形成されるから、 小ドットは順序値 「4」 が設定された画素 位置に形成される。 図 3 1では、 小ドットが形成される画素位置には、 粗い斜線 を付して表示している。 図 2 9のステップ S 8 0 6では、 このようにして序列マ 卜リックスを参照しながら、 大ドット、 中ドット、 小ドットの順番でドットを形 成する画素位置を決定する処理を行う。 こうして、 1つの画素群について、 コード化された個数データを復号し、 大中 小の各ドッ卜を形成する画素位置を決定したら、 全画素群について処理を終了し たか否かを判断する (図 2 9のステップ S 8 0 8 ) 。 そして、 未処理の画素群が 残っている場合は (ステップ S 8 0 8 : n 0 ) 、 ステップ S 8 0 0に戻って、 新 たな画素群について続く一連の処理を繰り返す。 こうして全ての画素群について 画素位置を決定したと判断されたら (ステップ S 8 0 8 : y e s ) 、 図 2 9に示 す第 2実施例の画素位置決定処理を抜けて、 画像印刷処理に復帰した後、 印刷用 紙上に各種ドットを形成する。 この結果、 画像データに対応した画像が印刷され ることになる。 尚、 以上の説明では、 コード化された個数データを復号する際に、 各種ドット のドット個数のデータに復号するものとして説明した。 しかし、 上述したように、 大ドット、 中ドット、 小ドットの順番で画素位置を決定することから、 各種ドッ 卜のドット個数ではなく、 大ドットの個数、 大ドットと中ドットの合計個数、 大 ドッ卜と中ドッ卜と小ドッ卜の合計個数に復号することとしても良い。 例えば、 図 3 〗 に示した例では、 大ドッ卜 1個、 中ドット 2個、 小ドット 1個と復号する 代わりに、 大ドッ卜 1個、 大ドットと中ドッ卜の合計が 3個、 大ドットと中ドッ 卜と小ドッ卜の合計が 4個と復号するのである。 図 3 2は、 コード化された個数データをこのように復号するために参照される 復号テーブルを概念的に表した説明図である。 このように復号しておけば、 次の ように画素位置を決定する処理を迅速化することができる。 例えば、 図 3 1 にお いて中ドッ卜の画素位置を決定する場合について説明すると、 大ドッ卜と中ドッ 卜の合計個数が 3個と復号されているので、 順序値が 「〗」 から 「3」 までの画 素を選択する。 そして、 既に他のドット (大ドット) が形成されている画素を除 いて、 選択した画素に中ドッ卜を形成すると判断する。 大ドットが 1個、 中ドットが 2個、 小ドットが 1個と復号した場合は、 中ドッ 卜を形成する画素の順序値は大ドットの個数によって異なり、 また、 小ドットを 形成する画素の順序値は大ドッ卜および中ドッ卜の個数によって異なってくる。 このため、 中ドッ卜および小ドッ卜を形成する画素位置を決定するに際しては、 常に大ドット、 あるいは大ドットおよび中ドットの個数を考慮しながら、 適切な 順序値の画素を選択する必要がある。 これに対して、 大ドットが 1個、 大ドット および中ドッ卜の合計が 3個、 大ドッ卜と中ドッ卜と小ドッ卜の合計が 4個と復 号しておけば、 大ドット、 あるいは大ドットおよび中ドットの個数を考慮せずと も、 適切な順序値の画素を選択することができるので、 画素位置を決定する処理 を迅速化することが可能となる。 以上に説明した第 2実施例の個数データ生成処理では、 画素群についての分類 番号と画素群階調値とを決定したら、 変換テーブルを参照するだけで、 直ちにコ ード化された個数データを得ることができる。 従って、 コード化された個数デー 夕を極めて迅速に生成することができるとともに、 処理内容も極めて簡素なもの とすることができる。 この点につき、 変換テーブルを利用せずに個数データを生成する場合と比較し ながら、
若干の補足説明を行う。 ディザ法を用いることにより、 変換テーブルを参照する ことなく ドッ卜個数を決定する場合、 図 2 1および図 2 2に示されるような複雑 な処理を行う必要がある。 更に、 得られたドット個数の組合せをコード化しなけ ればならない。 これに対して、 変換テーブルを参照すれば、 同様の処理を、 図 2 7に示すような簡素な処理で行うことができる。 加えて、 図 2 2に示されているように、 画素群内の各画素について大中小ドッ 卜の形成有無を判断する際には、 大ドッ卜の形成有無、 および中ドッ卜の形成有 無によって条件分岐が発生する。 C P Uでは高速な処理を可能とするために、 パ ィプライン処理と呼ばれる技術が採用されているが、 条件分岐が発生すると、 パ ィプライン処理による効果を得ることができない。 場合によっては、 パイプライ ン処理を行うことで処理速度が低下してしまうことすらある。 これに対して、 変 換テーブルを参照する場合は、 図 2 7に示したように条件分岐を伴うことなく、 コード化された個数データを得ることができ、 従って、 パイプライン処理の効果 を十分に引き出して迅速な処理を行うことが可能である。 第 2実施例の個数デー 夕生成処理は、 単に処理が簡素なだけでなく、 このような点からも高速処理に適 した処理であると言うことができる。 加えて、 コード化された個数データを生成する処理は単に変換テーブルを参照 する処理に過ぎず、 高いデータ処理能力を備えていない C P Uや、 更には専用の 論理回路を組み込んだチップを用いて実行することも容易である。 このため、 個 数データ生成処理をデジタルカメラ 1 2 0やカラープリンタ 2 0 0の内部で実行 することで、 デジタルカメラ 1 2 0などの画像データを生成する機器と力ラープ リン夕 2 0 0とを直接接続して、 画像を印刷することも容易に実現することが可 能である。 もちろん、 個数データはコード化されてデータ量が小さくなつているので、 迅 速に出力することが可能であり、 迅速に画像を印刷することも可能である。 更に、 上述した第 2実施例の個数データ生成処理は、 変換テーブルを参照して 直ちにコード化された個数データを得ることが可能であり、 従って、 図 6に例示 するようなディザマ卜リックスや、 階調デ一夕を各種ドッ卜の密度データに変換 するための図 2 3に例示するようなドッ卜密度変換テーブルを参照する必要がな い。 このため、 第 2実施例においては、 ディザマ卜リックスやドット密度変換テ 一ブルを記憶しておく必要が無くなる。 もっとも、 これらの代わりに変換テープ ルを記憶しておかなければならないが、 以下に示すように、 第 2実施例において も、 変換テーブルのデータサイズは決して大きなものではなく、 メモリ容量の点 から制約を受けることはない。 図 3 3は、 各種条件下での変換テーブルのデータサイズを試算した結果を示す 説明図である。 図 1 4に示した第 1実施例と同様に、 第 2実施例においても変換 テーブルのデータサイズは、 分類番号の個数と、 画素群階調値が取り得る範囲と、 個数データ 1つ当たりのデ一夕長とによって決定される。 ここで、 分類番号の個 数は、 ディザマトリックスのサイズと画素群の大きさとによって決定される。 ま た、 個数データのデータ長は、 画素群当たりの状態数、 すなわち、 1つの画素群 内で起こり得る大中小ドットの個数の組合せの種類によって決定される。 例えば、 前述したように、 1つの画素群が 8つの画素で構成されており、 1つの画素が取 り得る状態が、 大ドットを形成、 中ドットを形成、 小ドットを形成、 ドットを形 成しないの 4つの状態である場合は、 大中小ドッ卜の個数の組合せは 1 6 5通り 存在している。 1 6 5通りであれば 8ビットのデータ長があれば表現することが できるから、 個数データ 1つ当たりのデータ長は 1バイ卜となる。 同様にして、 1つの画素群が 1 6個の画素から構成されている場合は、 個数デ一夕 1つ当たり のデータ長は 1 0ビッ卜必要となるので、 2バイ卜のデータとなる。 図 3 3には、 ディザマトリックスのサイズと、 画素群の大きさとの組合せ毎に、 変換テーブルのデータ量を試算した結果が示されている。 尚、 図 3 3の右側には、 個数データ 1つ当たりに必要なデータ長が示されている。 図 3 3の試算結果に示されているように、 第 2実施例においても変換テーブル のデータ量は、 高々 1 Mバイ卜であり、 実際には 2 5 6 Kバイ I ^〜 5 1 2 Kバイ 卜程度に収まると考えられる。 この程度であれば、 一般的なコンピュータのキヤ ッシュメモリにも十分に収まる程度の小さなデ一夕量であり、 また、 デジタル力 メラ 1 2 0などの画像機器やカラープリンタ 2 0 0のメモリにも、 十分に搭載可 能である。 最後に、 図 3 3に表示されているデータ圧縮率について付言しておく。 図 3 3 に示されたデータ圧縮率とは、 画素毎にドット形成の有無を表すデータを出力す る代わりに、 画素群内に形成されるドッ卜の個数の組合せをコード化した状態で 出力することで、 データ量がどの程度圧縮されるかを表す指標である。 データ圧 縮率が大きくなる程、 コンピュータ 1 0 0からカラープリンタ 2 0 0にデータを 迅速に出力することが可能となる。 データ圧縮率は、 次のようにして算出される。 例えば、 上述した実施例の場合について説明すると、 画素群内に含まれる画素は 8個である。 また、 画素単独で、 大ドットを形成、 中ドットを形成、 小ドットを 形成、 ドットを形成せず、 の 4つの状態を取り得るから、 1画素当たり 2ビット のデータ長が必要となる。 従って、 画素毎に形成するドットの種類を表現しょう とすると、 画素群当たり 1 6ビットのデ一夕長が必要となる。 これに対して、 ド ッ卜個数の組合せをコード化してやれば、 画素群当たり 8ビッ卜あれば足りる。 結局、 1 6ビットのデータ長を 8ビットに圧縮することが可能となるので、 デー 夕圧縮率は 0 . 5となる。 図 3 3に示されているように、 データ圧縮率は、 条件によって変動するものの、 おおむね 0 . 5程度となっている。 すなわち、 大中小各ドットの個数の組合せを コード化することで、 画素毎にドットの種類と形成有無とを出力する場合に比べ て、 データ量をほぼ半減させることができ、 個数データをカラープリンタ 2 0 0 に迅速に出力することができる。
この結果、 画像を迅速に印刷することが可能となるのである。 D . 発明の第 2の態様.:
次に本発明の第 2の態様とその詳細である第 3、 第 4実施例について説明する。 本発明の第 2の態様である画像出力システムの一例を、 画像の印刷を行なう印刷 システムとして、 図 3 4に示した。 図 3 4における各部の構成は、 図 Ίを用いて 説明した第 1の態様と同様に、 画像処理装置としてのコンピュータ 1 O Aと画像 出力装置としてのプリンタ 2 O Aとの間では、 個数データをやり取りしている。 図 3 4に例示した印刷システムでは、 次のようにして画像を印刷する。 先ず、 コンピュータ〗 O Aでは、 画像を構成する画素を互いに隣接した所定個数ずつ画 素群としてまとめることで、 画像を複数の画素群に分割する。 そして、 各画素群 について、 画素群内に形成するドット個数を表す個数データを生成する。 コンビ ユー夕 Ί O Aに設けられた個数データ生成モジュールは、 画像を複数の画素群に 分割して、 各画素群について個数データを生成する。 こうして生成された個数デ 一夕は、 コンピュータ 1 O Aに設けられた個数データ供給モジュールからプリン 夕 2 0 Aに向かって供給される。 プリンタ 2 O Aに設けられたドット形成有無決定モジュールは、 個数データ供 給モジュールから供給された個数データを受け取ると、 画素群内の各画素につい てドット形成の有無を決定する。 次いで、 ドット形成モジュールが、 各画素につ いて決定されたドッ卜形成の有無に従って、 印刷媒体上にドッ卜を形成すること によって画像を印刷する。 ここで、 画素毎にドット形成の有無を表すデータに比べれば、 画素群毎の個数 データは遙かに小さなデータ量とすることができる。 従って、 コンピュータ】 0
Aから画素毎にドッ卜形成の有無を表したデータをプリンタ 2 0 Aに供給する代 わりに、 画素毎の個数データを供給してやれば、 プリンタ 2 0 Aは極めて迅速に データを受け取ること;^可能である。 また、 プリンタ 2 O Aは、 個数データを受け取ると、 次のようにして、 画素群 内に含まれる各画素についてのドット形成の有無を決定する。 先ず、 画素群内の 各画素について、 画素群内でドットが形成される順番を示す順序値を、 順序値記 憶モジュールに記憶しておく。 また、 順序値および個数データの組合せと、 該順 序値を有する画素についてのドッ卜形成の有無との対応関係を、 対応関係記憶モ ジュールに予め記憶しておく。 そして、 画素群についての個数データを受け取る と、 画素群内の各画素についての順序値を取得して、 個数データと順序値との組 合せ毎に対応関係を参照することによって、 各画素についてのドッ卜形成の有無 を決定する。 このように対応関係を参照しながらドット形成の有無を決定してや れば、 個数データを迅速に変換することが可能である。 従って、 コンピュータ 1 0 Aから個数デー夕を迅速に受け取ることが可能であることと相まって、 迅速に 画像を印刷することが可能となる。 以下では、 こうした印刷システムを例にとつ て、 本発明の第 2の態様を第 3, 第 4実施例について詳細に説明する。 E . 第 3実施例:
第 3実施例としての印刷装置のハードウェア構成は、 第 1実施例と同様なので、 説明は省略する。 第 3実施例のにおける画像印刷処理の全体的な流れを、 図 3 5 のフローチヤ一卜に示した。 図 3 5のフローチヤ一卜は、 第 1実施例における処 理 (図 5 ) とほぼ同一であり、 ステップ S 1 0 7とし記載した個数データ生成処 理の内容が、 第 1実施例とは異なっており、 更にステップ S 1 0 8の画素位置決 定処理に代えて、 ステップ S 1 0 9としてドッ卜形成有無決定処理を行なう点が 異なっている。 従って、 処理を開始すると、 コンピュータ 1 0 0が画像データの 読み込みを開始し (ステップ S 1 0 0 ) 、 カラー画像データの読み込みに続いて、 色変換処理を行う (ステップ S 1 0 2 ) 。 色変換処理を終了すると、 解像度変換 処理を開始する (ステップ S 1 0 4 ) 。 解像度を印刷解像度に変換したら、 コン ピュー夕 1 0 0は、 個数データ生成処理を開始する (ステップ S 1 0 7 ) 。 個数 データ生成処理の詳細な内容は後ほど詳しく説明する (図 3 6 ) こととして、 こ こでは概要のみを説明する。 個数データ生成処理では、 隣接する画素を所定個数 ずつ画素群としてまとめることにより、 1つ画像を複数の画素群に分割する。 そ して、 それぞれの画素群の中で形成すべきドットの個数を表すデータ、 すなわち 個数データを画素群毎に決定する。 一般に、 ある画素にドッ卜が形成されるか否 かは、 その画素の画像データに依存して決まるから、 画素群内に形成されるドッ 卜の個数を表す個数データについても、 画素群についての画像データに基づいて 決定することができる。 次いで、 各画素群について決定した個数データを、 カラ 一プリンタ 2 0 0に向かって出力する。 個数データ生成処理では、 このようにし て、 各画素についての画像データに基づいて個数デ一夕を画素群毎に生成した後、 カラープリン夕 2 0 0に供給する処理を行う。 カラープリン夕 2 0 0の制御回路 2 6 0に内蔵された C P Uは、 コンピュータ 1 0 0から供給された個数データを受け取ると、 ドット形成有無決定処理を開始 する (ステップ S 1 0 9 ) 。 詳細な処理内容については後述するが、 ドット形成 有無決定処理では大まかには次のような処理を行う。 上述したように、 コンビュ 一夕 1 0 0から供給される個数データは、 画素群に形成すべきドットの個数を表 すデータであり、 その個数のドッ卜を画素群内のいずれの画素に形成するかにつ いては未確定な状態となっている。 そこで、 画像を印刷するに先立って、 画素群 内の各画素についてドッ卜形成の有無を決定しておく必要がある。 ドット形成有 無決定処理では、 画素群内の各画素について、 該画素群内でドットが形成される 順番を示す順序値を記憶しておき、 該順序値および個数データに基づいてドッ卜 形成の有無を決定することで、 迅速に決定することが可能となっている。 ドット 形成有無を決定する処理の詳細についても後述する。
.
以上のようにして、 画素群内の各画素についてドッ卜形成の有無を決定したら、 決定したドッ卜形成の有無に従って、 出力媒体上にドッ卜を形成する処理を行う
(ステップ S 1 1 0 ) 。 ドット形成の実際については、 既に説明したので、 省略 する。 このように、 第 1実施例の画像印刷処理では、 コンピュータ〗 0 0から方ラー プリンタ 2 0 0に向かって、 画素群に形成すべきドッ卜個数のデータのみを供給 しており、 画素群に含まれる各画素についてのドッ卜形成の有無に関するデータ までは供給していない。 画素毎にドット形成の有無を表すデータに比べれば、 画 素群に形成するドッ卜の個数は遙かに少ないデータ量で表現することができるこ とから、 このような方法を採用することで、 コンピュータ 1 0 0からカラ一プリ ンタ 2 0 0に向かって極めて迅速にデータを供給することが可能となる。 こうし た効果は、 第 1, 第 2実施例と同様である。 このように、 画素毎にドット形成の有無を表すデータに比べれば、 画素群に形 成するドットの個数は遙かに少ないデータ量で表現することが可能である。 第 1 実施例の画像印刷処理では、 コンピュータ 1 0 0からカラープリン夕 2 0 0に向 かって、 画素群に形成すべきドット個数のデータのみを供給することにより、 コ ンピュー夕 Ί 0 0からカラープリンタ 2 0 0に向かって極めて迅速にデータを供 給することが可能となる。 また、 カラ一プリンタ 2 0 0は、 コンピュータ Ί 0 0から画素群毎に個数デー 夕を受け取ると、 画素群内の各画素についてのドット形成の有無を、 後述する方 法を用いて決定することで、 極めて迅速に決定することが可能となっている。 カロ えて、 詳細には後述するが、 各画素についてのドット形成の有無を適切に決定し てやれば、 ドット個数のデータのみを供給した場合でも、 画質が悪化することは ない。 特に、 後述する所定の条件においては、 画素毎にドット形成の有無を表す データを供給した場合と全く同じ結果を得ることが可能である。
E - 1 . 個数データ生成処理:
以下では、 図 3 5に示した第 3実施例の画像印刷処理において、 画像データか ら個数データを生成する処理 (図 3 5のステップ S 1 0 7 ) について説明する。 図 3 6は、 第 3実施例の個数データ生成処理の流れを示すフローチヤ一卜である。 以下、 フローチャートに従って、 第 3実施例の個数データ生成処理について説明 する。 第 3実施例の個数データ生成処理を開始すると、 先ず初めに、 互いに隣接する 所定個数の画素をまとめて画素群を生成する (ステップ S 2 0 0 a ) 。 ここでは、 主走査方向に 4画素分、 副走査方向に 2画素分の合計 8つの画素を画素群にまと めるものとする。 尚、 画素群としてまとめる画素は、 このように矩形状に縦横の 位置が揃った画素である必要はなく、 互いに隣接し且つ所定の位置関係にあれば どのような画素を画素群としてまとめても良いことは、 他の実施例と同様である。 次いで、 画素群としてまとめた複数の画素の中から、 処理対象として着目する 画素 (着目画素) を 1つ設定する (ステップ S 2 0 2 a ) 。 そして、 着目画素に 割り当てられた画像データの階調値とディザマトリックスの閾値とを比較するこ とにより、 着目画素についてのドット形成の有無を判断する (ステップ S 2 0 4 a ) 。 すなわち、 第 1実施例の図 7に示したように、 画像データの方が大きい画 素にはドッ卜を形成するものと判断し、 逆にディザマ卜リックスの閾値の方が大 きい画素についてはドッ卜を形成しないと判断する。 次いで、 画素群内の拿ての画素について以上のような処理を行ったか否かを判 断し (ステップ S 2 0 6 a ) 、 画素群中に未処理の画素が残っている場合は (ス テツプ S 2 0 6 a : n o ) 、 ステップ S 2 0 2 aに戻って続く一連の処理を行う。 こうして画素群内の全ての画素について、 ドッ卜形成有無の判断を終了したら (ステップ S 2 0 6 a : y e s ) , 処理した画素群についての個数デ一夕を生成 する (ステップ S 2 0 8 a ) 。 ここでは、 画素群内に形成されるドットの個数を 計数し、 得られたドットの個数を個数データとする。 個数デ一夕の生成例は、 第 1実施例 (図 8 aないし図 8 d参照) と同様なので、 詳しい説明は省略する。 以上のようにして、 1つの画素群についての処理を終了したら、 画像の全画素 について処理を終了したか否かを判断し (ステップ S 2 1 0 a ) 、 未処理の画素 が残っていれば、 ステップ S 2 0 0 aに戻って新たな画素群を生成した後、 続く 一連の処理を行って、 その画素群の個数データを生成する (ステップ S 208 a) 。 こうした処理を繰り返して行くことにより、 画像中の全画素についての処 理を終了したら (ステップ S 2 1 0 a : y e s) 、 各画素群について得られた個 数データをカラープリン夕 200に向かって出力して (ステップ S 21 2 a) , 図 36に示した個数データ生成処理を終了する。 その結果、 各画素群についての 個数データがカラープリン夕 200に供給されることになる。
E-2. ドット形成有無決定処理:
次に、 コンピュータ〗 00から供給された個数デ一夕に基づいて、 画素群内の 各画素についてドッ卜形成の有無を決定する処理 (図 35のステップ S 1 09) について説明する。
図 37は、 第 3実施例のドッ卜形成有無決定処理の流れを示すフローチヤ一卜で ある。 かかる処理は、 カラープリンタ 200の制御回路 260に内蔵された C P Uによって実行される処理である。 また、 図 38 a, 38 b, 38 cは、 このド ッ卜形成有無決定処理 おいて、 各画素についてのドッ卜形成の有無が決定され る様子を概念的に示した説明図である。 以下では、 図 38 aないし図 38 cを参 照しながら、 図 37に示すフローチャー卜に従って、 第 3実施例のドッ卜形成有 無決定処理の内容について説明する。 ドット形成有無決定処理を開始すると、 先ず初めに、 画素群を 1つ選択し (ス テツプ S 300 a) 、 その画素群の個数データを取得する (ステップ S 302 a) 。 ここでは、 図 38 aに示すような個数データが供給されたものとする。 次いで、 選択した画素群に含まれる各画素の中から対象とする画素を 1つ選択 し (ステップ S 304 a) 、 該画素群内で対象画素にドッ卜が形成される順番を 示す値 (順序値) を取得する (ステップ S 306 a) 。 対象画素の順序値は、 図 3 8 bに示すような、 予め設定されている順序値マトリックスを参照することで 容易に取得することができる。 図 3 8 bに例示した順序値マ卜リックスには、 画 素群を構成する各画素の画素位置について、 順序値が予め設定されている。 例え ば、 画素群内で一番左上隅にある画素については、 順序値 「1」 が設定されてお リ、 その画素の右隣の画素については、 順序値 「6」 が設定されている。 ステツ プ S 3 0 6 aでは、 このような順序値マトリックスを参照して、 対象画素の位置 に設定されている順序値を取得する。 尚、 説明が煩雑となることを避けるために、 ここでは、 順序値マトリックスは 1組のみが記憶されており、 常に同じ順序値マ トリックスを用いて順序値を得るものとして説明するが、 順序値マトリックスを 複数組記憶しておき、 画素群毎に順序値マトリックスを切り換えながら、 対象画 素の順序値を取得することとしても良い。 こうして順序値を取得したら、 変換テーブルを参照することによって、 対象画 素についてのドット形成の有無を決定する (ステップ S 3 0 8 a ) 。 図 3 9は、 対象画素についてのドッ卜形成の有無を決定するために参照される変換テ一プル を概念的に示した説明図である。 図示されているように、 変換テーブルには、 順 序値と個数データとの組合せに対応付けて、 ドッ卜形成の有無が設定されている。 ここでは、 画素群は 8つの画素から構成されているから、 順序値は〗〜 8までの 値を取り、 個数デ一夕は 0〜8までの値を取る。 従って、 変換テーブルには、 こ れらを組合せた 7 2通りの組合せに対応付けて、 ドット形成の有無を示す値が設 定されている。 図 3 9に示した例では、 ドットを形成する組合せに 「1」 が、 ド ッ卜を形成しない組合せには 「0」 が設定されている。
—例として、 図 3 8に示した画素群内で一番左上隅にある画素について説明す ると、 図 3 8 bに示すように順序値は 「 1 J であり、 個数データは図 3 8 aに示 したように 「3」 である。 図 3 9の変換テーブルを参照すると、 順序値 「1 J 、 個数データ 「3 J の組合せに対して設定されている値は 「1 J 、 すなわち、 この 画素についてはドットを形成するものと決定することができる。 このように、 図 3 7のステップ S 3 0 8 aでは変換テーブルを参照することで、 画素群について の個数データと対象画素の順序値とから、 対象画素についてのドッ卜形成の有無 を直ちに決定するのである。 こうして、 対象画素として選択した 1つの画素についてドッ卜形成の有無を決 定したら、 選択した画素群内の全画素について、 ドット形成の有無を決定したか 否かを判断する (ステップ S 3 1 0 a ) 。 そして、 画素群内で未だドッ卜形成の 有無を決定していない画素が残っている場合は (ステップ S 3 1 0 a : n 0 ) 、 ステップ S 3 0 4 aに戻って、 画素群の中から新たな画素を対象画素として選択 し、 続く一連の処理を行う。 こうした処理を繰り返し、 画素群内の全画素についてドッ卜形成の有無を決定 したと判断されたら (ステップ S 3 1 0 a : y e s ) 今度は、 個数データの供 給された全画素群について処理を終了したか否かを判断する (ステップ S 3 1 2 a ) 。 そして、 未処理の画素群が残っていれば (ステップ S 3 1 2 a : n 0 ) 、 ステップ S 3 0 0 aに戻って新たな画素群を選択し、 続く一連の処理を行う。 こ うした処理を繰り返すことにより、 コンピュータから供給された個数デ一夕は、 画素毎にドット形成の有無を示すデータに変換されていく。 そして、 全ての画素 群について処理が終了したら (ステップ S 3 0 6 a : y e s ) 、 図 3 7に示した ドッ卜形成有無決定処理を終了して、 図 3 5の画像印刷処理に復帰する。 以上に説明した第 3実施例のドッ卜形成有無決定処理においては、 画素群の個 数データを受け取ると、 順序値マトリックスを参照することによって対象画素の 順序値を取得し、 得られた順序値と個数データを用いて変換テーブルを参照する という極めて単純な方法によって、 ドット形成の有無を決定することが可能であ る。 従って、 画素毎にドット形成の有無を表すデータを、 個数データから極めて 迅速に生成することが可能となる。 更に、 ドット形成の有無を決定する処理は、 記憶されているデータを参照して いるだけなので、 専用の論理回路を組み込んだチップを用いてハードウエア的に 実行することも容易である。 ドット形成の有無を決定する処理をハードウエア的 に実行してやれば、 より一層高速に処理することが可能であり、 それだけ画像を 迅速に印刷することができる。 また、 この実施例でも、 条件分岐が少なく、 パイプライン処理などを採用した 近年のコンピュータにおける処理速度が高速化するという効果が得られることは、 前述した第 2実施例と同様である。 このように、 上述した第 3実施例のドット形成有無決定処理は、 迅速な処理を 可能とする種々の要素を備えているため、 どのような条件においても、 個数デー 夕を、 画素毎にドット形成の有無を表すデータに迅速に変換することができ、 延 いては画像を迅速に印刷することが可能となる。 E— 3 . 変形例:
上述した第 1実施例のドッ卜形成有無決定処理においては、 予め 1組または複 数組の順序値マ卜リックスを設定しておき、 常に同じ順序値マ卜リックスを参照 して、 あるいは参照する順序値マ卜リックスをランダムに切り換えながら、 各画 素についてのドッ卜形成の有無を決定するものとして説明した。 しかし、 第 1実 施例において説明したように (図 8 aないし図 8 d、 図 9 aないし図 9 d参照) 、 順序値マ卜リックスをディザマ卜リックスに基づいて生成し、 画素群の位置に応 じて適切な順序値マ卜リックスを参照しながらドッ卜形成の有無を決定してやれ ば、 より適切にドット形成の有無を決定することができ、 従って高画質な画像を 印刷することが可能となる。 以下では、 こうした第 3実施例における変形例のド ッ卜形成有無決定処理について説明する。 図 4 0は、 変形例のドッ卜形成有無決定処理の流れを示すフローチャートであ る。 図示するように、 この変形例では、 ステップ S 3 3 0 a以外は、 図 3 7に示 した処理と同一である。 即ち、 この変形例では、 選択した画素群の個数データを 取得 (ステップ S 3 0 2 a ) した後、 複数組記憶されている順序値マ卜リックス の中から、 選択した画素群に対応する順序値マトリックスを読み込む (ステップ S 3 3 0 a ) 。 かかる処理について、 図 4 1 aないし図 4 1 dおよび図 4 2 aな いし図 4 2 dを参照しながら詳しく説明する。 図 4 1 aないし図 4 1 dは、 変形例のドッ卜形成有無決定処理において参照さ れる複数の順序値マ卜リックスを生成する方法について示した説明図である。 前 述したように、 1つの画素群は、 主走査方向には 4画素ずつ、 副走査方向には 2 画素ずつの合計 8つの画素から構成されているとしているから、 これと対応して、 ディザマ卜リックスの閾値も、 主走査方向に 4画素分ずつ、 副走査方向に 2画素 分ずつの合計 8画素分ずつの閾値をブロックにまとめてやる。 図 4 1 aは、 ディ ザマトリックスの左上隅にある 8画素分の閾値をブロックにまとめている様子を 概念的に示した説明図である。 ここではディザマ卜リックスは、 図 6 (第 1実施 例) に示したように、 主走査方向には 1 2 8画素分、 副走査方向には 6 4画素分 の大きさを有するものとしているから、 主走査方向に 4画素分、 副走査方向に 2 画素分ずつの画素をブロックにまとめれば、 ディザマトリックスは主走査方向お よび副走査方向にそれぞれ 3 2プロックずつ、 全体では 1 0 2 4個のブロックに 分割されることになる。 これらのブロックに、 図 4 l bに示すように、 1番から 1 0 2 4番までの通し 番号を付しておく。 そして、 1番から 1 0 2 4番までの各ブロックから 1組ずつ 順序値マ卜リックスを生成する。 図 4 1 cは、 通し番号 1番のプロックから、 順 序値マトリックスを生成している様子を示した説明図である。 図 4〗 Cの左側半 分には、 通し番号 1番のブロックに含まれるディザマトリックスの閾値が示され ている。 図 7を用いて前述したように、 ディザ法では画像データの階調値とディ ザマ卜リックスの閾値とを比較して、 画像データの方が大きい場合にドッ卜を形 成すると判断しているから、 ディザマトリックスの閾値が小さい画素ほどドッ卜 が形成され易くなる。 従って、 図 4 1 Cに示した 1番のブロックの中で 1番初め にドットが形成される画素は、 閾値 「1」 が設定された画素と考えることができ る。 そこで、 この画素には順序値として 「1」 を設定する。 同様に、 2番目にド ッ卜が形成される画素は、 2番目に小さな閾値である閾値 「4 2」 が設定された 画素と考えることができる。 そこで、 この画素には順序値 「2」 を設定する。 こ のようにして、 ブロック内に設定されている閾値の小さな画素から順番に、 順序 値 「1」 から順序値 「8」 までを決定してやれば、 図 4 1 cの右側半分に示した 通し番号 1香の順序値マ卜リックスを得ることができる。 図 4 1 dは、 同様にして、 ブロック内で小さな閾値が設定されている画素から 順番に、 順序値 「1」 から順序値 「8」 までを設定することで、 通し番号 2番の 順序値マトリックスを生成した様子を示している。 図 4 1 bに示した通し番号 「1」 番から通し番号 「1 0 2 4」 番までの全てのプロックについて、 以上のよ うな操作を行うことにより、 通し番号 「1」 香から 「1 0 2 4」 番までの順序値 マトリックスを生成して記憶しておく。 図 4 0のステップ S 3 3 0 aでは、 これら 门」 番から 门 0 2 4」 番の順序 値マトリックスの中から、 ドッ卜形成の有無を決定しょうとする画素群に対応す るマトリックスを選択して読み込む処理を行う。 図 4 2 aないし図 4 2 dは、 画 素群に対応する順序値マ卜リックスを選択する方法を示した説明図である。 今、 ドット形成の有無を決定しょうとしている画素群が、 図 4 2 aに示すように、 画 像の一番左上隅を基準として主走査方向に n個目の画素群、 副走査方向に m個目 の画素群の位置にあるとする。 また、 このような画素群の位置を、 座標値 (n, m) によって表すものとする。 ここで、 ディザマトリックスの大きさは、 通常は、 画像のようには大きくはな い。 このためディザ法では、 Ίつのディザマ卜リックスを、 画像デ一夕に対して 少しずつ位置をずらしながら繰り返して使用している。 これと同じ理由から、 図 4 0に示したドッ卜形成有無決定処理においても、 1つのディザマ卜リックスを 少しずつ移動させながら繰り返して使用する。 ディザマトリックスを移動させる 方法は、 ディザ法においては種々の方法が使用されており、 ドット形成有無を決 定する場合も種々の移動方法を適用することができるが、 ここでは説明の便宜か ら、 最も単純な方法すなわちディザマ卜リックスを主走査方向に移動させるもの として説明する。 図 4 2 bには、 ディザマトリックスを主走査方向に少しずつ移 動させながら、 繰り返して使用する様子が概念的に示されている。 図 4 1 aに示したように、 ディザマ卜リックスを分割するブロックの大きさは、 個数データを生成した画素群の大きさと一致しているから、 図 4 2 bに示すよう にディザマトリックスを移動させていくと、 ディザマトリックスの各ブロックは 画素群の位置に一致する。 換言すれば、 全ての画素群には、 ディザマトリックス を分割するいずれかのプロックが適用されることになる。 今、 処理しょうとしている画素群には、 ディザマ卜リックス中で主走査方向に N個目、
副走査方向に M個目のブロックが適用されたものとする。 図 41 bに示すように、 ここでは、 1つのディザマトリックスには主走査方向 ·副走査方向にそれぞれ 3 2個ずつのブロックが含まれるとしておリ、 また、 処理しょうとする画素群の座 標値は (n, m) 、
すなわち、 画像の左上隅を基準として主走査方向に n個目、 副走査方向に m個目 の位置にあるとしているから、 N、 Mはそれぞれ次式で求めることができる。
N= n ― i n t ( n/32) X 32
M = m 一 i n t (m/32) X 32
ここで、 i n tは、 小数点以下を切り捨てて整数化することを表す演算子であ る。 すなわち、 i n t (n/32) は、 n Z 32の計算結果に対して小数点以下 の数値を切り捨てることによって得られた整数値を表している。 従って、 ある画 素群についてドット形成の有無を決定する場合には、 画素群の座標値 (n, m) から上式によって N, Mを求めた後、 ディザマトリックス中で対応する位置にあ るブロックの通し番号き取得して、 そのブロックから生成された順序値マ卜リツ クスを用いればよい。 もっとも実際には、 M, Nの値は、 図 42 dに示すような計算を実行せずとも、 極めて簡便に求めることができる。 以下、 この点について説明する。 図 43は、 画素群の座標値 (n, m) から、 適用する順序値マトリックスを選択する方法を 具体的に示した説明図である。 図 43符号 (a) は、 数値 nを表す 1 0ビットの 2進数データを概念的に示している。 図 43符号 (a) では、 各ビットを識別す るために、 最上位ビットから最下位ビットに向かって 1番から 1 0番までの通し 番号を付して表示している。 順序値マ卜リックスの選択に際しては、 先ず初めに、 i n t (nZ32) を算 出する。 すなわち、 数値 nを 32で除算して、 小数点以下の値を切り捨てる操作 を行う。 32による除算は、 2進数データを右方向に 5ビット分だけビットシフ 卜させることで実行可能であり、 また、 データを整数形式で扱っていれば、 小数 点以下の値は自動的に切り捨てられてしまう。 結局、 i n t (n/32) の 2進 数デ一夕は、 図 43の符号 (a) に示した数値 nの 2進数データを、 単に右方向 に 5ビッ卜分だけビッ卜シフトさせることで得ることができる。 図 43の符号
(b) は、 数値 nをビッ卜シフトして得られた i n t (n/32) の 2進数デー 夕を概念的に表している。 こうして得られた i n t (n/32) に 32を乗算する。 32による乗算は、 2進数データを 5ビッ卜分だけ左方向にビットシフ卜することで実施することが できる。 図 43 (c) は、 数値 nをビットシフトして得られた ί n t (n/3 2) X 32の 2進数データを概念的に表している。 次いで、 数値 nから、. i n t (n/32) X 32を減算すれば、 前述の数値 N を得ることができる。 数値 nの 2進数デ一夕 (図 43の (a) 参照) と i n t
(n/32) X 32の 2進数データ (図 43の符号 (c) 参照) とを比較すれば 明らかなように、 これら 2進数データは、 上位の 5ビットは共通しており、 減算 する側の数値の下位 5ビットは全て 「0」 となっている。 従って、 減算される側 の数値 (数値 n) の下位 5ビットをそのまま抜き出せば、 求める数値 Nを得るこ とができる。 すなわち、 図 43の符号 (a) に示した 2進数データと、 図 43の 符号 (e) に示すようなマスクデータとの論理積を求めるだけで、 極めて簡便に 数値 Nを得ることが可能である。 図 43では、 画素群の座標値 (n, m) の数値 nから、 ディザマトリックス中 でのプロック位置を示す数値 Nを求める場合について説明したが、 全く同様にし て、 ブロック位置を示す数値 (めについても、 数値 mから極めて簡便に求めること ができる。 結局、 画素群の座標値 (n, m) が与えられれば、 数値 n、 mから数 値 N、 Mを求めることにより、 その画素群には通し番号が何番の順序値マ卜リツ クスが適用されるかを知ることができるのである。 図 4 0に示したドッ卜形成有 無決定処理のステップ S 3 3 0 aでは、 このようにして、 画素群に対応するマ卜 リックスを選択して読み込む処理を行う。 以上のようにして、 画素群に対応する順序値マトリックスを読み込んだら、 処 理中の画素群の中から、 ドッ卜形成の有無を決定しょうとする対象画素を 1つ選 択し (ステップ S 3 0 4 a ) 、 以下、 順序値マ卜リックスを参照した対象画素の 順序値の取得 (ステップ S 3 0 6 a ) 、 変換テーブルを参照することによる対象 画素についてのドッ卜形成の有無の決定 (ステップ S 3 0 8 a ) などの処理を、 画素郡内の全画素、 および全画素群について完了するまで繰り返す。 全ての画素 群について処理が終了したら (ステップ S 3 1 2 a : y e s ) 、 図 4 0に示した 変形例のドッ卜形成有無決定処理を終了して、 図 3 5の画像印刷処理に復帰する。 以上に説明した変形例のドッ卜形成有無決定処理においては、 ディザマ卜リッ クスに基づいて複数の順序値マ卜リックスを生成する。 そして、 ある画素群につ いてドット形成の有無を決定する際には、 ディザ法を適用したときに、 その画素 群の位置に適用される部分のディザマ卜リックスから生成された順序値マ卜リッ クスを用いて、 ドット形成の有無を決定する。 こうすれば、 ディザマトリックス を用いて得られたドッ卜の分布に準じた分布が得られるように、 ドッ卜形成の有 無を決定することができる。 周知のように、 ディザマトリックスには、 ドットが 適切な分布で形成されるように、 適切な分布で閾値が設定されているから、 ディ ザマトリックスによるドットの分布に準じた分布が得られれば、 高画質な画像を 印刷することが可能となる。 更に、 順序値マ卜リックスを生成するために用いるディザマトリックスと、 図 3 6に示した個数データ生成処理中で使用するディザマ卜リックスとを同じマ卜 リックスとしておけば、 第 1実施例で説明したように (図 8 aないし図 8 dおよ び図 9 aないし図 9 d参照) 、 個数データから復元したドット分布は、 ほとんど の場合は、 ディザ法を用いて画素毎にドッ卜形成の有無を判断した場合と全く同 じドット分布となる。 もちろん、 前述したように、 画素群内で画像データの階調 値が大きく変化している場合には、 ドット分布は異なったものとなるが、 画像デ 一夕には隣接する画素間では近似した (若しくは同一の) 階調値を有する傾向が あるため、 多くの場合、 ドット分布は同一となる。 従って、 適切なドット分布と なるようにドッ卜形成の有無を決定することができ、 それだけ高画質な画像を印 刷することが可能となる。 もっとも、 上述した変形例のドット形成有無決定処理では、 変換テーブルに加 えて、 複数 (上述した例では 1 0 2 4個) の順序値マトリックスを記憶しておく 必要がある。 これらテーブルおよびマ卜リックスを記憶するために、 あまりに多 くのメモリを使用したのでは、 実際の製品に搭載する上で好ましいことではない。 しかし、 以下に説明するように、 変換テーブルおよび順序値マトリックスを記憶 するために多くのメモリを使用することはない。 先ず、 変換テ一プルを記憶するために必要なメモリ容量について説明する。 図 3 9に示したように、 変換テーブルには、 順序値および個数データの組合せ毎に ドット形成の有無が設定されているから、 変換テーブルのデータサイズは、 順序 値および個数データがそれぞれ取り得る個数と、 1画素分のドット形成の有無を 表すために必要なデータ長とによって決定される。 順序値は、 画素群内の各画素 にドッ卜が形成される順番を示しているから、 順序値は 1つの画素群に含まれる 画素数と同じ種類の値を取り得る。 また、 個数データは、 画素群内に形成され得 るドッ卜の個数を表しているから、 0個から画素数までの値を取ることができる ので、 画素数 + 1通りの値を取り得る。 更に、 ここでは、 1つの画素にはドット が形成されるか否かのいずれかの状態しか取らないとしているから、 1画素分の ドット形成の有無は、 1 ビットあれば表現することができる。 結局、 変換テープ ルを記憶するためのメモリ容量は、 画素群に含まれる画素数を nとすると、
n X ( n + 1 ) ビッ卜
あればよい。 画素群に含まれる画素数は、 高々 1 6個程度だから、 変換テーブル を記憶するために要するメモリ量は僅かなものである。 次に、 順序値マトリックスを記憶するために必要なメモリ量について説明する。 順序値マ卜リックスを記憶するためのメモリ量は、 マ卜リックス 1つ当たりに要 するメモリ量と、 マ卜リックスの個数とによって決定される。 順序値マ卜リック スには、 画素群内の各画素にドットが形成される順番が設定されているから、 マ 卜リックス 1つ当たりのメモリ量は、 画素群に含まれる画素数によって決まる。 また、 順序値マ卜リックスの個数は、 図 4 1 aないし図 4 1 dを用いて前述した ように、 ディザマ卜リックスを画素群と同じ大きさのプロックで分割した時に得 られるブロック数に等しいから、 ディザマ卜リックスの大きさと、 画素群の大き さとによって決定される。 結局、 順序値マ卜リックスを記憶するために必要なメ モリ量は、 ディザマ卜リックスの大きさと、 画素群の大きさとによって決定され ることになる。 図 4 4は、 各種大きさのディザマトリックスと、 各種大きさの画素群とを想定 して、 順序値マトリックスを記憶するために必要なメモリ量を試算した結果を示 す説明図である。 具体的には、 ディザマ卜リックスの大きさとしては、 6 4 X 6 4 (すなわち主走査方向に 6 4画素、 副走査方向に 6 4画素) 、 1 2 8 X 6 4 (主走査方向に 1 2 8画素、 副走査方向に 6 4画素) 、 1 2 8 X 1 2 8 (主走査 方向に 1 2 8画素、 副走査方向に 1 2 8画素) の 3種類のサイズを想定している。 画素群の大きさとしては、 2 X 2 (主走査方向に 2画素、 副走査方向に 2画素) 、 4 X 2 (主走査方向に 4画素、 副走査方向に 2画素) 、 4 X 4 (主走査方向に 4 画素、 副走査方向に 4画素) の 3種類のサイズを想定している。 上述した実施例 に対応する条件、 すなわち、 ディザマ卜リックスサイズが 1 2 8 X 6 4であり、 画素群の大きさが 4 X 2の条件での試算結果は、 図 4 4では、 破線で囲って示さ れている。 以下では、 この条件を代表例として用いながら、 順序値マトリックス の試算例について説明する。 順序値マ卜リックスの個数は、 ディザマ卜リックスを画素群と同じサイズで分 割して得られるプロックの個数であるから、 ディザマ卜リックスの画素数 (1 2 8 X 6 4 ) を画素群当たりの画素数 (4 X 2 ) で除算して、 1 0 2 4となる。 ま た、 順序値マトリックスに設定される順序値は、 1〜8までの 8通りの値を取る から、 1つの順序値は?ビッ卜あれば表現することができる。 順序値マ卜リック スには 8つの順序値が設定されているから、 1つの順序値マトリックスを記憶す るために必要なメモリ量は、 3 X 8 = 2 4ビット ( 3バイ卜) となる。 順序値マ 卜リックスの個数は 1 0 2 4個あるから、 全ての順序値マ卜リックスを記憶する ために必要なメモリ量は、 3 Kバイ卜と求めることができる。 また、 画素群に含まれる画素数が 4つの場合は、 順序値は 1 ~ 4までの 4通り の値を取るから、 1つの順序値は 2ビッ卜あれば表現することができる。 順序値 マ卜リックスには 4つの順序値が設定されるから、 1つの順序値マ卜リックスを 記憶するために要するメモリ量は、 2 X 4 = 8ビット (1バイト) となる。 同様 に、 画素群に含まれる画素数が 1 6個の場合は、 1つの順序値を表現するために 要するデータ長は 4ビット、 これが 1 6個あるから、 順序値マトリックスを記憶 するために要するメモリ量は、 4 X 1 6 = 6 4ビット (8バイ卜) となる。 図 4 4には、 各種条件で、 全ての順序値マトリックスを記憶するために必要な メモリ量を試算した結果がまとめて示されている。 図示されている試算結果を見 れば明らかなように、 順序値マ卜リックスを記憶しておくために必要なメモリ量 は、 高々 1 0 Kバイトあれば十分と考えられる。 このため、 変換テーブルや順序 値マトリックスを記憶するために必要なメモリ量が、 実際の製品に搭載する上で 障害になるほど大きくなることはない。 F . 第 4実施例:
以上に説明した第 3実施例では、 カラ一プリンタ 2 0 0で形成可能なドッ卜は 1種類であるものとして説明した。 しかし、 今日では、 印刷画質を向上させるこ とを目的として、 大きさの異なるドットや、 インク濃度の異なるドットなど、 多 種のドットを形成可能なプリンタ (いわゆる多値ドットプリンタ) が広く使用さ れている。 本願の発明は、 こうした多値ドットプリンタに適用した場合にも、 大 きな効果を得ることができる。 以下では、 第 4実施例として、 本願発明を多値ド ッ卜プリン夕に適用した場合について説明する。
F - 1 . 第 4実施例の画像印刷処理の概要:
第 4実施例の画像印刷処理は、 フローチャートについては、 図 3 5に示した第 1実施例の画像印刷処理と同様である。 以下では、 図 3 5のフローチャートを流 用しながら、 第 4実施例の画像印刷処理の概要について簡単に説明する。 第 4実施例の画像印刷処理を開始すると、 先ず初めに、 コンピュータ 0 0で 画像データを読み込んだ後、 色変換処理を行う (図 3 5のステップ S 1 0 0およ びステップ S 1 0 2相当) 。 次いで、 解像度変換処理を行って、 画像データの解 像度を印刷解像度に変換した後 (ステップ S 1 0 4相当) 、 個数データ生成処理 を開始する (ステップ S 1 0 6相当) 。 前述したように、 第 3実施例では、 カラ一プリンタ 2 0 0が形成可能なドット は 1種類であるものとしており、 個数データ生成処理では、 画素群内に形成され るドッ卜個数を表す個数データを生成して、 カラープリンタ 2 0 0に出力した。 これに対して、 第 4実施例では、 カラープリンタ 2 0 0は、 複数種類のドットを 形成可能である。 ここでは、 大きさの異なる 3種類のドット、 すなわち大ドット、 中ドット、 小ドットを形成可能であるものとする。 このことと対応して、 第 2実 施例の個数データ生成処理では、 画素群内に、 大ドット、 中ドット、 小ドットが それぞれ何個ずつ形成されるかを表すデータを、 個数データを生成することにな る。 また、 詳細には後述するが、 個数データを少ないデータ量で効率よく出力する ために、 大ドット、 中ドット、 小ドットの恼数をそのまま出力するのではなく、 コード化された状態で出力する。 こうした第 2実施例の個数データ生成処理の詳 細については後述する。 尚、 ここでは、 カラープリンタ 2 0 0が形成可能なドッ 卜は、 大ドット、 中ドット、 小ドットと、 互いに大きさの異なるドットであるも のとして説明するが、 もちろん、 ドットの種類が異なるのであれば、 大きさが異 なる場合に限られるものではない。 例えば、 ドットを形成するインクの濃度が異 なる複数種類のドットとしたり、 あるいは、 微細なドットを複数形成することで 擬似的に 1つのドッ卜を形成する場合には、 微細なドッ卜の密度が異なる複数種 類のドッ卜とすることも可能である。 カラープリンタ 2 0 0の制御回路 2 6 0に内蔵された C P Uは、 コンピュータ 1 0 0から供給された個数デ一夕を受け取ると、 ドット形成有無決定処理を開始 する (図 3 5のステップ S I 0 8相当) 。 詳細には後述するが、 第 4実施例のド ッ卜形成有無決定処理では、 コード化された状態の個数データを受け取ると、 画 素群内の各画素について、 大ドット、 中ドット、 小ドットのいずれのドットを形 成するか、 あるいはドッ卜を形成しないかを決定する処理を行う。 こうして、 大中小の各種ドットについてドット形成の有無を決定したら、 得ら れた結果に従って各種ドットを形成する (図 3 5のステップ S I 1 0相当) 。 こ うして大ドット、 中ドット、 小ドットを形成することにより、 画像データに対応 した画像が印刷される。
F - 2 . 第 4実施例の個数データ生成処理:
次に、 上述した第 2実施例の画像印刷処理において、 画素群内に形成される大 ドット、 中ドット、 小ドットの個数がコード化された個数データを生成する処理 について説明する。 図 4 5は、 画素群内に形成される大ドッ卜、 中ドット、 小ドットの個数を決定 して、 個数デ一夕を生成する処理の流れを示すフローチャートである。 尚、 かか る処理の詳細については、 特許 3 2 9 2 1 0 4号に開示されていることは既に説 明した。 以下、 フローチャートに従って説明する。 処理を開始すると先ず初めに、 互いに隣接する所定数の画素をまとめて画素群を形成する (ステップ S 5 0 0 a ) 。 ここでは、 前述の第 3実施例と同様に、 主走査方向に 4画素、 副走査方向 に 2画素の合計 8つの画素を画素群としてまとめるものとする。 次いで、 画素群の中からドット形成の有無を判断するべく、 処理対象とする画 素を 1つ選択した後 (ステップ S 5 0 2 a ) 、 選択した処理画素について、 大ド ッ卜、 中ドット、 小ドットの形成有無を判断する (ステップ S 5 0 4 a ) 。 大中 小ドッ卜の形成の有無の判断は、 結局多階調の画像を大中小ドッ卜の組み合わせ による低い階調数に変換することを意味しており、 これを広義の意味でのハーフ
I ^一ン (多値化) 処理と呼ぶ。 こうしたハーフとリーン処理については、 第 1実 施例において 「ハーフトーン処理」 として、 図 2 2ないし図 2 4および図 2 6を 用いて詳しく説明したので、 ここでの説明は省略する。 ハーフ I一ン処理により、 処理対象としている画素について、 大ドット、 中ド ッ卜、
小ドットのいずれのドットを形成するか、 若しくは、 いずれのドットも形成しな いかを判断しつつ、 画素群内の総ての画素について処理が完了したかを判断し (ステップ S 5 0 6 a ) 、 修了していたら (ステップ S 5 0 6 a : y e s ) 、 画 素群内に形成される大ドット、 中ドット、 小ドットの個数を取得する (ステップ S 5 0 8 a ) 。 以上のようにして、 S素群内に形成される各種ドットの個数が得られたら、 各 種ドッ卜の個数の組合せ (例えば、 大ドット 1個、 中ドット 2個、 小ドット 1個 という組合せ) をコード化する処理を行う (ステップ S 5 1 O a ) 。 これは、 次 のような理由によるものである。 例えばドッ卜の種類が大中小の 3種類である場 合、 ドットの種類毎に形成する個数を出力したのでは、 1つの画素群について 3 回ずつドット個数を出力しなければならず、 コンピュータ 1 0 0からカラ一プリ ン夕 2 0 0にデータを迅速に出力することで画像を迅速に印刷するという効果が 減殺されてしまう。 そこで、 各ドットの個数を個別に出力するのではなく、 各ド ッ卜の個数の組合せを、 組合せ毎に設定された個別のコードに変換しておくので ある。 大中小各ドットの組合せをコード化する処理は、 第 1実施例で既に説明し た (図 2 6参照) ので、 説明は省略する。 こうして、 画素群毎のドッ卜個数の組合せをコード化した個数データが得られ たら、 画像の全画素について以上の処理を行ったか否かを判断する (ステップ s
5 1 2 a ) 。 そして、 未処理の画素が残っている場合は、 ステップ S 5 0 0 aに 戻って続く一連の処理を繰り返し、 画像の全画素について処理を終了したと判断 されたら、 コード化された個数データを出力して (ステップ S 5 1 4 a ) 、 図 4 5に示した個数デ一夕生成処理を終了する。
F - 3 . 第 4実施例のドッ卜形成有無決定処理:
次に、 上述した第 4実施例の画像印刷処理において、 画素群毎に生成されたコ ード化された状態の個数データを受け取り、 画素群内の各画素についてドット形 成の有無を決定する処理について説明する。 前述した第 3実施例のドッ卜形成有 無決定処理では、 変換テーブルを参照することで、 個数データと順序値とから直 ちにドッ卜形成の有無を決定したが、 第 4実施例のドッ卜形成有無決定処理にお いても同様に、 変換テーブルを参照することにより、 コード化された個数データ と順序値とから直ちに木中小ドットの形成有無を決定することが可能である。 こ のような処理が可能な理由を明らかにするとともに、 こうした処理を行うことで 処理が高速化されることを示すために、 以下では、 先ず初めに、 変換テーブルを 用いずに個数データからドッ卜形成の有無を決定する処理について説明する。 そ して、 次に、 変換テーブルを参照することで、 個数データから大中小各種ドット の形成有無を迅速に決定可能な、 第 4実施例のドット形成有無決定処理について 説明する。
F— 3—〗 . 変換テーブルを参照しないドッ卜形成有無定処理:
図 4 6は、 変換テーブルを参照することなく、 大中小各種ドッ小の形成有無を 決定する処理の流れを示すフローチヤ一卜である。 以下では、 フローチヤ一卜に 従って簡単に説明する。 処理を開始すると、 先ず初めに、 画素位置を決定しょう とする画素群を 1つ選択し (ステップ S 6 0 0 a ) 、 その画素群の個数データを 取得する (ステップ S 6 0 2 a ) 。 こうして取得された個数データは、 コード化 されたデータとなっている。 そこで、 個数データを復号して、 大ドット、 中ドッ 卜、 小ドットについての個数を示すデータに変換する処理を行う (ステップ S 6 0 4 a ) 。 個数データを復号する処理は、 復号テーブルを参照することによって 行う (図 3 0参照) 。 次いで、 個数データを復号した画素群に対応する順序値マ卜リックスを読み込 んだ後 (ステップ S 6 0 6 a ) 、 読み込んだ順序値マトリックスを参照しながら、 画素群内の各画素について大ドット、 中ドット、 小ドットの形成有無を判断して いく。 ここで順序値マ卜リックスとは、 図 4 1 aないし図 4 1 dを用いて前述し たように、 画素群内の各画素についてドッ卜が形成される順番を設定したマトリ ックスである。 順序値マトリックスを参照しながら、 大中小の各種ドットについ ての形成有無を画素毎に決定する際の様子は、 図 3 1を用いて既に説明した。 各画素についてのドッ卜形成の有無を決定するに際しては、 先ず初めに大ドッ 卜を形成する画素を決定する (図 4 6のステップ S 6 0 8 a ) 。 ここでは、 大ド ッ卜の個数は 1個であるとしているから、 最もドットの形成されやすい画素、 す なわち、 順序値マ卜リックスで順序値が Γ 1」 に設定されている画素に大ドッ卜 が形成されるものと判断する。 ここで、 大ドットの個数が N個である場合は、 順 序値マトリックスで順序値が 「1 J から 「N」 までの値が設定されている画素に 大ドットを形成するものと判断する。 図 3 1では、 大ドットを形成する画素には、 細かい斜線を付して表示されていた。 大ドットを形成する画素を決定したら、 大ドットが形成されなかった画素の中 から、 今度は、 中ドットを形成する画素を決定し (ステップ S 6 〗 O a ) 、 更に 大ドッ卜も中ドッ卜も形成されない画素の中から、 小ドッ卜を形成する画素を決 定し (ステップ S 6 1 2 a ) 、 最後に、 大ドット、 中ドット、 小ドットのいずれ も形成されなかった画素については、 ドットを形成しないものと判断する (ステ ップ S 6 1 4 a ) 。 こうして、 1つの画素群について、 コード化された個数データを復号し、 大中 小の各ドッ卜を形成する画素を決定したら、 全画素群について処理を終了したか 否かを判断する (ステップ S 6 1 6 a ) 。 そして、 未処理の画素群が残っている 場合は (ステップ S 6 1 6 & : 门 0 ) 、 ステップ3 6 0 0 aに戻って、 新たな画 素群について続く一連の処理を繰り返す。 こうして全ての画素群について処理を 終了したと判断されたら (ステップ S 6 1 6 a : y e s ) 、 図 4 6に示したドッ 卜形成有無決定処理を終了する。
F— 3— 2 . 変換テーブルを参照するドッ卜形成有無決定処理:
以上に説明したドッ卜形成有無の決定処锂では、 コード化された個数データを 受け取ると、 画素群内に形成する大中小ドッ卜の個数を示すデータに復号した後、 各画素についていずれのドッ卜を形成するかを決定するという、 言わば 2段階の 操作を経ている。 しかし、 変換テーブルを参照すれば、 各画素に形成するドット を、 個数データを復号することなく直ちに決定することができる。 以下では、 ド ッ卜形成の受けを決定するもう一つの処理方法として、 変換テーブルを参照して ドッ卜形成の有無を決定するドッ卜形成有無決定処理について説明する。 このドッ卜形成有無決定処理は、 前述した第 3実施例において図 4 0を用いて 説明した変形例のドッ卜形成有無決定処理に対して、 参照する変換テーブルが異 なっているだけであり、 処理の流れは同様である。 そこで、 以下では、 図 4 0の フローチヤ一卜を流用しながら、 第 4実施例の変形例としてのドッ卜形成有無決 定処理について説明する このドッ卜形成有無決定処理を開始すると、 先ず初めに画素群を 1つ選択し、 その画素群の個数データを取得する (ステップ S 3 0 0 a , S 3 0 2 a相当) 。 次いで、 複数組記憶されている順序値マトリックスの中から、 選択した画素群に 対応する順序値マ卜リックスを読み込んでやる (ステップ S 3 3 0 a相当) 。 す なわち、 図 4 1 aないし図 4 1 dおよび図 4 1 aないし図 4 2 dを用いて前述し たように、 画素群の座標値 (n, m) から、 nおよび mの下位 5ビットを抜き出 して、 それぞれ N, Mを求める。 そして、 ディザマトリックス中で N行 M列のプ ロックから生成された順序値マ卜リックスを選択して、 読み込んでやればよい。 以上のようにして、 画素群に対応する順序値マトリックスを読み込んだら、 処 理中の画素群の中から、 ドッ卜形成の有無を決定しょうとする対象画素を 1つ選 択する (ステップ S 3 0 4 a相当) 。 そして、 読み込んでおいた順序値マトリツ クスを参照することで, 対象画素の順序値を取得した後 (ステップ S 3 0 6 a相 当) 、 変換テーブルを参照することによって、 対象画素についてのドット形成の 有無を決定する (ステップ S 3 0 8 a相当) 。 ここで、 前述した第 3実施例のドッ卜形成有無決定処理において参照した変換 テーブルには、 個数データと順序値との組合せ毎に、 ドット形成の有無を表すデ 一夕が設定されていた (図 3 9参照のこと) 。 これに対して、 この変形例のドッ 卜形成有無決定処理で参照する変換テーブルには、 コード化された状態の個数デ 一夕と順序値との組合せ毎に、 大中小いずれのドットを形成するか、 あるいはド ッ卜を形成しないかを示すデータが設定されている。 図 4 7は、 この変形例のドッ卜形成有無決定処理で参照される変換テーブルを 概念的に示した説明図である。 図 2 6を用いて前述したように、 コード化された 個数データは 0〜1 6 4までの 1 6 5通りの値を取り得る。 また、 〗つの画素群 は 8つの画素から構成されているとしているから、 順序値は 1〜 8までの 8通り の値を取り得る。 この変形例の変換テーブルには、 これら 1 6 5 X 8 = 1 3 2 0 通りの組合せ毎に、 ドットを形成しないことを示す値 「0」 、 小ドットを形成す ることを示す値 「1 J 、 中ドッ卜を形成することを示す値 「2」 、 大ドッ卜を形 成することを示す値 「3」 のいずれかが設定されている。 従って、 画素群の個数 データと対象画素の順序値とが分かれば、 直ちにドット形成の有無を決定するこ とができる。 第 2実施例のドット形成有無決定処理では、 このような変換テープ ルを参照することで、 対象画素に大中小いずれのドットを形成するのか、 あるい はドットを形成しないのかを、 直ちに決定するのである (図 4 0のステップ S 3 0 8 a相当) 。 ここで、 図 4 7に示すような変換テーブルを参照しながらドッ卜形成の有無を 決定した場合でも、 大中小ドットについてのドット形成の有無は適切に決定され る。 その理由について説明する。 第 3実施例の説明のところで、 図 3 0, 図 3 1 を用いて前述したように、 変換テ一プルを参照することなく ドット形成の有無を 決定する場合は、 大きくは 2段階の操作を経ている。 すなわち、 先ず第 1段階で は、 コード化された個数データを大中小の各種ドットの個数に変換する。 続く第 2段階では、 順序値マ卜リックスに従って各画素についてのドッ卜形成の有無を 決定する。 ここで、 図 3 0に示したように、 コード化された個数データと、 大中 小ドットについての個数の組合せとは、 一対一の関係にある。 換言すれば、 コー ド化された個数データが 1つ与えられれば、 各種ドッ卜についての個数の組合せ は一意的に決定することができる。 一方、 画素群内に形成される各種ドットの個数が復号されると、 図 3 Ί に示し たように、 順序値マ卜リックスに従って、 各画素についてのドッ卜形成の有無が 決定される。 すなわち、 順序値マ卜リックスが決まっていれば、 各種ドットにつ いての個数の組合せと、 各画素についてのドット形成の有無とは、 一対一の関係 にある。 上述したように、 各種ドットについての個数の組合せは、 コード化され た個数データから一意的に決定されるから、 結局、 順序値マ卜リックスが決まつ ていれば、 コード化された個数データから、 画素群内の各画素について、 各種ド ッ卜の形成有無は一意的に決定されることになる。 各種ドッ卜の個数と順序値マ卜リックスとに従って、 各画素についてのドッ卜 形成の有無が決定される操作については、 第 1実施例の変形例 (図 3 0, 図 3 1 ) を参照されたい。 結局、 この変形例によれば、 全ての個数データについて、 順序値とその順序値 を有する画素に形成されるドッ卜の種類とを予め決定しておき、 図 4 7に示すよ うな変換テーブルに設定しておく。 そして、 画素群内の対象画素についてドット 形成の有無を決定する場合には、 順序値マ卜リックスを参照することで対象画素 の順序値を求め、 次いで変換テーブルを参照することで、 その順序値に形成され るドッ卜の種類を取得すれば、 ドッ卜形成の有無を適切に決定することが可能と なるのである。 こうして、 1つの対象画素についてドッ卜形成の有無を決定したら、 選択した 画素群内の全画素について、 ドット形成の有無を決定したか否かを判断する (図 4 0のステップ S 3 1 0 a相当) 。 未だ、 ドッ卜形成の有無を決定していない画 素が残っていれば、 ステップ S 3 0 4 aに相当する箇所まで戻って、 新たな対象 画素を選択し、 続く一連の処理を行う。 こうした処理を繰り返し、 画素群内の全 画素についてドット形成の有無を決定したと判断されたら、 今度は、 個数データ が供給された全画素群について処理を終了したか否かを判断する (ステップ S 3 1 2 a相当) 。 そして、 未処理の画素群が残っていれば、 一番初めまで戻って新 たな画素群を選択し、 続く一連の処理を行う。 こうした処理を繰り返し、 全ての 画素群について処理が終了したら、 この変形例のドッ卜形成有無決定処理を終了 する。 以上に説明した変形例を含む第 4実施例のドッ卜形成有無決定処理においては、 コード化された状態の個数データを受け取ると、 順序値マ卜リックスを参照して 対象画素の順序値を取得した後、 個数データと順序値とから変換テーブルを参照 することで、 個数デ一夕を復号することなく各種ドットについての形成有無を決 定することができる。 このため、 画素毎にドット形成有無を決定する処理を迅速 に実行することが可能となり、 延いては画像を迅速に出力することが可能となる。 また、 これらの実施例のドット形成有無決定処理の主な処理内容は、 順序値マ トリックスや変換テーブルを参照してデータを読み出しているだけであり、 極め て単純な処理である。 従って、 コンピュータ 1 0 0のようには高いデータ処理能 力を備えていないカラープリンタ 2 0 0においても、 十分に迅速に実行すること が可能であり、 それだけ画像を迅速に印刷することが可能となる。 更に、 第 4実施例のドット形成有無決定処理では、 マトリックスあるいはテ一 プルを参照するだけで対象画素についてのドッ卜形成の有無を決定することが可 能であり、 処理中に条件分岐が含まれていないため、 特定のパイプライン構造な どを備えた C P Uでの処理が高速になることは、 既に説明した通りである。 以上に説明したように、 第 4実施例のドッ卜形成有無決定処理 (変形例を含 む) では、 画素群内の各画素についてのドット形成有無を、 簡便に且つ迅速に決 定することが可能であるが、 多数の順序値マ卜リックスと図 4 7に示したような 変換テーブルを記憶しておく必要がある。 とはいえ、 第 4実施例のドット形成有 無決定処理においても、 前述した第 3実施例と同様に、 変換テーブルおよび順序 値マ卜リックスを記憶するために必要なメモリ量は、 製品に搭載する際の障害に なるほど大きくなることはない。 以下、 この点について簡単に説明しておく。 先ず、 序列値マ卜リックスについては、 前述した第 3実施例と同様である。 す なわち、 順序値マ卜リックスを記憶するためのメモリ量は、 ディザマ卜リックス の大きさと、 画素群の大きさとによって決定され、 図 4 4に示したように、 1 0 Kバイト程度のメモリ量があれば、 十分記憶することが可能と考えられる。 次に、 変換テーブルを記憶するために必要なメモリ容量について説明する。 図 4 7に示したように、 変換テーブルには、 順序値および個数データの組合せ毎に ドッ卜形成の有無が設定されている。 画素群に含まれる画素数を 8個とすれば、 順序値は 8通りの値を る。 また、 形成可能なドットの種類が大ドッ卜、 中ドッ 卜、 小ドットの 3種類であるとすれば、 図 2 6を用いて前述したように、 個数デ 一夕は 1 6 5通りの値を取り得る。 更に、 ドット形成有無の判断結果は、 大ドッ 卜を形成する、 中ドットを形成する、 小ドットを形成する、 ドットを形成しない の 4通りしか取り得ないから、 1つの判断結果は 2ビッ卜あれば表現することが できる。 従って、 図 4 7に示した変換テ一プルは、 8 X 1 6 5 X 2 = 2 6 4 0ビ ッ卜 (0 . 3 2 2 Kバイ卜) あれば記憶することができる。 図 4 8は、 変換テーブルを記憶するために必要なメモリ量を、 画素群の大きさ 毎に試算した結果をまとめた説明図である。 図示されているように、 変換テープ ルについても、 数 Kバイト程度あれば、 十分記憶することができる。 従って、 第 4実施例のドッ卜形成有無決定処理においても、 順序値マトリックスや変換テー ブルを記憶するためには僅かなメモリ量があればよく、 メモリ容量が製品への搭 載の障害となることはない。
G . 発明の第 3の態様:
次に本発明の第 5以下の実施例について説明する。 その説明の前に、 図 4 9を 参照しながら、 本発明の第 3の態様について説明しておく。 図 4 9は、 印刷シス テムを例にとって、 本発明の第 3の態様を説明するための説明図である。 本印刷 システムは、 画像処理装置としてのコンピュータ 1 0 Bと、 画像出力装置として のプリン夕 2 0 B等から構成されており、 コンピュータ 1 0 Bに所定のプロダラ 厶がロードされて実行されると、 コンピュータ 1 0 Bおよびプリンタ 2 0 Bなど が全体として、 一体の画像出力システムとして機能することは、 第 第 2の態 様と同様である。 図 4 9に例示した印刷システムでは、 次のようにして画像を印刷する。 先ず、 コンピュータ 1 0 Bでは、 画像を構成する画素を互いに隣接した所定個数ずつ画 素群としてまとめることで、 画像を複数の画素群に分割する。 そして、 各画素群 について、 画素群内に形成するドッ卜個数を表す個数データを生成してプリン夕 2 0 Bに供給する。 プリンタ 2 0 Bに供給された個数デ一夕は、 ドット形成有無 決定モジュールによつて処理されることにより、 画素群内の各画素についてドッ 卜形成の有無を表すデータに変換される。 次いで、 各画素について決定されたド ッ卜形成の有無に従って、 ドッ卜形成モジュールが印刷媒体上にドッ卜を形成す ることによつて画像が印刷される。 ここで、 画素毎にドット形成の有無を表すデータに比べれば、 画素群毎の個数 データは遙かに小さなデータ量とすることができる。 従って、 コンピュータ 1 0 Bから画素毎にドッ卜形成の有無を表したデータをプリンタ 2 0 Bに供給する代 わりに、 画素毎の個数データを供給してやれば、 極めて迅速にデータを転送する ことが可能となる。 また、 画素群の個数データは、 コンピュータ 1 0 B内で次のようにして生成さ れる。 先ず、 画素群階調値決定モジュールにおいて、 画像を分割する複数の画素 群について画素群階調値が決定される。 画素群階調値とは、 画素群を代表する階 調値であり、 該画素群内に含まれる各画素の画像データに基づいて決定される。 また、 第 1対応関係記憶モジュールには、 画素群に付与された分類番号と画素群 階調値との組合せと、 該組合せを有する画素群の個数データとの対応関係が、 第 1の対応関係として記憶されている。 ここで画素群の分類番号は、 各画素群を画 像中での位置に応じて複数種類の分類することによって設定することもできるし、 また、 画像がいつも同じように分割される場合などには、 各画素群毎に予め適切 な分類番号を付与しておくこともできる。 更に、 簡便には、 乱数などを用いてラ ンダムに分類番号を付与することも可能である。 そして、 個数データ供給モジュ ールでは、 このような第 1の対応関係を参照しながら、 各画素群の分類番号と画 素群階調値とに基づいて個数データを画素群毎に決定した後、 プリンタ 2 0 Bに 供給する。 詳細には後述するが、 画素群の画素群階調値は容易に求めることができる。 ま た、 画素群毎に分類番号を付与する場合も各画素群の分類番号を容易に決定して 付与することが可能である。 更に、 記憶されている第 1の対応関係を参照してや れぱ、 分類番号および画素群階調値から個数データも容易に求めることができる。 このことから、 図 4 9に例示した印刷システムでは、 画素群毎の個数データを極 めて迅速に生成することができ、 生成した個数データを極めて迅速にプリン夕 2 0 Bに供給することができる。 また、 プリンタ 2 O Bでは、 供給された個数データに基づいて、 次のようにし て、 画素群内の各画素についてのドット形成の有無を決定する。 先ず、 画素群内 の各画素について、 画素群内でドットが形成される順番を示す順序値を、 順序値 記憶モジュールに記憶しておく。 また、 順序値および個数データの組合せと、 該 順序値を有する画素についてのドット形成の有無との対応関係を、 第 2の対応関 係として第 2対応関係記憶モジュールに記憶しておく。 そして、 画素群毎に個数 データを受け取ると、 画素群内の各画素についての順序値を取得して、 個数デー 夕と順序値との組合せ毎に第 2の対応関係を参照することにより、 各画素につい てのドッ卜形成の有無を決定する。 このように第 2の対応関係を参照することに よってドット形成の有無を決定してやれば、 画素群内の各画素についてのドット 形成の有無を、 個数データに基づいて迅速に決定することが可能である。 また、 後述する条件が満足されていれば、 ドッ卜形成の有無を個数データに基づいて適 切に決定することが可能であリ、 画質が低下することはない。 このように、 図 4 9 (こ示した印刷システ厶では、 コンピュータ 1 0 Bからプリ ンタ 2 0 Bに個数データを供給しているために、 たとえ画素数の多い画像であつ ても迅速にデータを供給することができる。 また、 個数データは、 記憶されてい る第 1の対応関係を参照しながら生成されるため、 迅速に且つ簡便に生成するこ とが可能である。 更に、 プリンタ 2 0 Bでは、 受け取った個数データを、 第 2の 対応関係を参照しながら画素毎にドッ卜形成の有無を表すデータに変換している ために、 迅速に且つ簡便に個数データを変換することが可能である。 従って、 例 え画素数の多い画像であっても迅速に印刷することが可能となる。 加えて、 コン ピュー夕 1 0 Bなどの高度な処理能力を有さない機器を用いても十分に実行可能 な、 簡素な印刷システムを構成することが可能となる。 結局、 本発明の第 3の態 様とは、 第 1の態様における画像処理装置 (コンピュータ 1 0 B ) と、 第 2の態 様における画像出力装置 (プリンタ 2 0 B ) とを組み合わせた態様として理解す ることができる。 以下では、 こうした印刷システムを例にとって、 第 5、 第 6実 施例について詳細に説明する。
H . 第 5実施例
第 5実施例の装置構成は、 第〗ないし第 4実施例と同一なので、 その説明は省 略する。 また、 第 5実施例においてコンピュータ 1 0 0およびカラープリンタ 2 0 0が、 画像を印刷するために、 それぞれの内部で行われる画像処理 (画像印刷 処理) については、 第 3実施例 (図 3 5 ) とその大きな流れは同一なので、 その 説明は省略する。
H— 1 . 第 5実施例の個数データ生成処理:
以下では、 図 3 5に示した第 3実施例の画像印刷処理において、 画像デ一夕か ら個数データを生成する処理 (ステップ S 1 0 7 ) について説明する。 図 5 0は、 第 5実施例における個数データ生成処理の流れを示すフローチヤ一卜である。 こ こでは、 個数データ生成処理はコンビユー夕 1 0 0で実施されるものとして説明 するが、 後述するように、 個数データ生成処理は極めて簡素な処理とすることが できるので、 カラープリンタ 2 0 0あるいはデジタルカメラ 1 2 0などの内部で 実施することも可能である。 この個数データ生成処理は、 発明の第 1の態様の一 つである第 1実施例として説明したもの (図 1 0参照) と、 ステップ S 2 0 4を 除いて同一なので、 ステップ S 2 0 4に代えてステップ S 2 0 5として、 以下、 簡略に、 その処理を、 フローチャートに従って説明する。 第 5実施例の個数データ生成処理を開始すると、 先ず、 互いに隣接する所定個 数の画素をまとめて画素群を生成し (ステップ S 2 0 0 ) 、 画素群の分類番号と、 画素群階調値とを決定する (ステップ S 2 0 2 ) 。 画素群の分類番号と画素群階 調値の決定は、 第 1実施例において既に説明した。 画素群の分類番号と画素群階 調値とを決定したら、 第 1の変換テーブルを参照することによって個数デ一夕を 決定する (ステップ S 2 0 5 ) 。 この第 1の変換テーブルは、 第 1実施例におい て、 図 1 4に示した変換テーブルと同一のテーブルである。 このテーブルには、 既に説明したように、 画素群の分類番号と画素群階調値との組合せに対応付けて、 適切な個数データが予め記憶されている。 画素群の分類番号と画素群階調値とが 決定されれば、 第 1の変換テーブルを参照することで直ちに個数データを求める ことが可能であることも、 既に説明した。
1つの画素群について個数データが得られたら、 画像データの全画素について 処理を終了したか否かを判断し (ステップ S 2 0 6 ) 、 未処理の画素が残ってい る場合は (ステップ S 2 0 6 : n o ) 、 ステップ S 2 0 0に戻って新たな画素群 を生成し、 続く一連の処理を繰り返す。 こうした操作を繰り返し、 全画素につい ての処理が終了したと判断されたら (ステップ S 2 0 6 : y e s ) , 各画素群に ついて得られた個数データをカラープリンタ 2 0 0に出力して (ステップ S 2 0 8 ) 、 図 5 0に示す第 5実施例の個数デ一夕生成処理を終了する。
H - 2 . 第 5実施例のドッ卜形成有無決定処理:
次に、 前述した第 5実施例の画像印刷処理において、 画素群内の各画素につい てのドット形成の有無を、 個数データに基づいて決定する処理 (図 3 5のステツ プ S 1 0 9に対応する処理) について説明する。 図 5 1は、 第 5実施例のドッ卜 形成有無決定処理の流れを示すフローチャートである。 かかる処理は、 力ラープ リン夕 2 0 0の制御回路 2 6 0に内蔵された C P Uによって実行される処理であ る。 この処理は、 発明の第 2の態様の一つとして説明した第 3実施例におけるド ッ卜形成有無決定処理 (図 3 7 ) と、 ステップ S 3 0 0 8 aを除いて同一なので、 図 3 7のステップ S 3 0 8 aに代えて、 ステップ S 3 0 9 aとして、 以下簡略に 説明する。 なお、 各画素についてのドット形成の有無が決定される様子について は、 第 3実施例のにおいて、 処理の様子を概念的に示した説明図である図 3 8を 参照する。 ドット形成有無決定処理を開始すると、 先ず、 画素群を 1つ選択し (ステップ S 3 0 0 a ) 、 その画素群の個数データを取得する (ステップ S 3 0 2 a ) 。 次 いで、 選択した画素群に含まれる各画素の中から対象とする画素を 1つ選択し
(ステップ S 3 0 4 a ) 、 該画素群内で対象画素にドットが形成される順番を示 す値 (順序値) を取得する (ステップ S 3 0 6 a ) 。 対象画素の順序値は、 図 3 8 bに示すような、 予め設定されている順序値マトリックスを参照することで容 易に取得することができることは既に説明した。
することとしても良い。 こうして順序値を取得したら、 第 2の変換テーブルを参照することによって、 対象画素についてのドット形成の有無を決定する (ステップ S 3 0 9 a ) 。 対象 画素についてドッ卜形成の有無を決定するために参照される第 2の変換テーブル は、 第 3実施例で用いたもの (図 3 9参照) と同一である。 前述した第 1の変換 テーブルには、 分類番号と画素群階調値との組合せに対応付けて個数データが記 憶されているのに対して (図 1 4参照) 、 第 2の変換テーブルには、 図 3 9に示 されているように、 順序値と個数データとの組合せに対応付けて、 ドット形成の 有無が設定されている。 ここでは、 画素群は 8つの画素から構成されているから、 順序値は 1 ~ 8までの値を取り、 個数データは 0〜 8までの値を取るとしている から、 第 2の変換テーブルには、 これらを組合せた 7 2通りの組合せに対応付け て、 ドット形成の有無を示す値が設定されている。 一例として、 図 3 8 aに示した画素群内で一番左上隅にある画素について説明 すると、 図 3 8 bに示すように順序値は 「1」 であり、 個数データは図 3 8 aに 示したように 「3」 である。 図 3 9に例示した第 2の変換テーブルを参照すると、 順序値 「1」 、 個数データ 「3」 の組合せに対して設定されている値は 「1」 、 すなわち、 この画素についてはドッ卜を形成するものと決定することができる。 このように、 図 5 1のステップ S 3 0 9 aでは第 2の変換テーブルを参照するこ とで、 画素群についての個数データと対象画素の順序値とから、 対象画素につい てのドッ卜形成の有無を直ちに決定するのである。
こうして、 対象画素として選択した 1つの画素についてドッ卜形成の有無を決 定したら、 選択した画素群内の全画素について、 ドット形成の有無を決定したか 否かを判断する (ステップ S 3 1 O a ) 。 そして、 画素群内で未だドット形成の 有無を決定していない画素が残っている場合は (ステップ S 3 1 0 a : n 0 ) 、 ステップ S 3 0 4 aに戻って、 画素群の中から新たな画素を対象画素として選択 し、 続く一連の処理を行う。 こうした処理を繰り返し、 画素群内の全画素についてドッ卜形成の有無を決定 したと判断されたら (ステップ S 3 1 0 a : y e s ) , 今度は、 個数データの供 給された全画素群について処理を終了したか否かを判断する (ステップ S 3 1 2 a ) 。 そして、 未処理の画素群が残っていれば (ステップ S 3 1 2 a : n 0 ) 、 ステップ S 3 0 0 aに戻って新たな画素群を選択し、 続く一連の処理を行う。 こ うした処理を繰り返すことにより、 コンピュータから供給された個数データは、 画素毎にドット形成の有無を示すデ一夕に変換されていく。 そして、 全ての画素 群について処理が終了したら (ステップ S 3 0 6 a : y e s ) 、 図 5 1 に示した ドッ卜形成有無決定処理を終了して、 画像印刷処理に復帰する。 以上、 第 5実施例の画像印刷処理中で行われる個数データ生成処理 (図 5 0 ) およびドッ卜形成有無決定処理 (図 5 1 ) の内容について説明した。 上述した個 数データ生成処理では、 所定数の画素をまとめて画素群を生成し、 その画素群に ついて分類番号と画素群階調値を決定した後、 個数データを生成する。 画素群の 分類番号および画素群階調値は上述したように極めて容易に求めることができる。 そして、 分類番号および画素群階調値が分かれば、 前述した第 1の変換テーブル を参照することによって、 極めて容易に個数データを生成することができる。 こ うして生成された個数データは、 画素毎にドッ卜形成の有無を表すデータに比べ て、 データ量が遙かに小さくなつているため、 コンピュータ〗 0 0から力ラープ リン夕 2 0 0に向かって極めて迅速にデータを出力することができる。 すなわち、 上述した個数データ生成処理では、 個数データの生成および出力を高速に実行す ることが可能となる。 また、 上述したドット形成有無決定処理では、 こうしてコンピュータ 1 0 0か ら迅速に供給された個数データを受け取ると、 先ず、 順序値マトリックスを参照 することによって対象画素の順序値を取得する。 次いで、 得られた順序値と個数 デ一夕を用いて第 2の変換テーブルを参照することによって、 画素群内の各画素 についてのドット形成の有無を決定する。 こうすれば、 順序値マ卜リックスと第 2の変換テーブルを参照するだけで、 ドッ卜形成の有無を迅速に決定することが 可能である。 加えて、 個数データを生成する処理は、 単にテーブルを参照する処理に過ぎず、 第 1の変換テーブルを参照するために使用する分類番号や画素群階調値も、 極め て簡便な処理で求めることができる。 同様に、 個数データからドット形成の有無 を決定する処理も、 単にテーブルを参照する処理に過ぎない。 このため、 いずれ の処理についても、 コンピュータ 1 0 0のような高いデータ処理能力を備えてい ない機器を用いた場合でも、 十分に実用的な速度で処理することができる。 更に、 処理の大部分は、 マトリックスあるいはテーブルに記憶されているデー タを単に参照するという極めて単純なものであるため、 C P Uを用いてソフトゥ エア的に実行するのではなく、 専用の論理回路を組み込んだ I Cチップを用いて ハードウエア的に実行することも容易である。 処理を八一ドウエア的に実行すれ ば、 より一層高速に実行することが可能となり、 その分だけ画像を迅速に印刷す ることも可能となる。 こうした条件分岐のない処理を採用した場合、 パイプライ ン構造などを採用した C P Uでは、 高速で処理ができることは、 既に説明した通 りである。 このように、 上述した第 5実施例の個数データ生成処理およびドッ卜形成有無 決定処理は、 迅速な処理を可能とする種々の要素を備えているため、 どのような 条件においても、 画像デ一夕を迅速に処理することができ、 延いては画像を迅速 に印刷することが可能となる。
H— 3 . 変形例:
上述した第 5実施例の画像印刷処理に対して、 第 1実施例の Γ Β— 7 . 変形 例」 として記載した (図 1 8ないし図 2 0参照) 処理を組み合わせることができ る。 かかる変形例は、 いわば、 発明の第 1の態様で説明した種々の変形例の一つ を、 第 5実施例と組み合わせるものである。 同様に第 2の態様として説明した種 々の構成を、 第 5実施例と組み合わせることができる (図 3 7ないし図 3 9 ) 。 に 第 6実施例:
以上に説明した第 5実施例およびその変形例では、 カラープリンタ 2 0 0で形 成可能なドッ卜は 1種類であるものとして説明したが、 もとより多種類のインク ドットを形成するプリンタ (いわゆる多値ドットプリンタ) に適用することも可 能である。 以下では、 第 6実施例として、 本願発明を多値ドットプリンタに適用 した場合について説明する。 第 5実施例では、 形成されるドットが一種類であつ たことから、 コンピュータ 1 0 0では、 第 Ίの変換テ一プルを参照して、 直接、 個数データを取得していた。 またプリンタ 2 0 0側では、 第 2の変換テーブルを 参照して、 個数データと順序値から、 対象画素についてのドット形成の有無を直 接判断していた。 これに対して、 第 6の実施例では、 個数データをコード化して 生成する。 第 6実施例の画像印刷処理では、 第 5実施例同様に、 全体の処理は、 図 3 5に 沿って行なわれる。 そしてコンピュータ 1 0 0側での個数データの生成は、 図 5 3に示したフローチャートに拠り行なう。 以下では、 図 3 5のフローチャートを 流用しながら、 第 6実施例の画像印刷処理の概要について簡単に説明する。 第 6実施例の画像印刷処理を開始すると、 先ず初めに、 コンピュータ 1 0 0で 画像データを読み込んだ後、 色変換処理を行う (図 3 5のステップ S 1 0 0およ びステップ S 1 0 2相当) 。 次いで、 解像度変換処理を行って、 画像データの解 像度を印刷解像度に変換した後 (ステップ S 1 0 4相当) 、 個数データ生成処理 を開始する (ステップ S 1 0 7相当) 。 個数データの生成処理 (ステップ S 1 0 7相当) を行なったのち、 生成した個数データをプリンタ 2 0 0側に出力するの で、 これを受けて、 プリンタ 2 0 0側では、 ドット形成有無決定処理 (ステップ S 1 0 9相当) を行ない、 その決定の従って、 ドッ卜を形成する処理 (ステップ S 1 1 0相当) を行なう。 この第 6実施例の画像印刷処理では、 個数データの生成処理 (ステップ S 1 0 7相当) は、 大中小のドットについての個数データを生成し、 かっこれをコード 化する。 前述したように、 第 5実施例では、 カラープリンタ 2 0 .0が形成可能な ドットは 1種類であるものとしており、 個数データ生成処理では、 画素群内に形 成される一種類のドッ卜の形成個数を表す個数データを画素群毎に生成して、 力 ラープリンタ 2 0 0に出力した。 これに対して、 第 6実施例では、 カラープリン タ 2 0 0は、 大きさの異なる 3種類のドット、 すなわち大ドット、 中ドット、 小 ドットを形成可能である。 このため、 第 6実施例の個数データ生成処理では、 画 素群内に、 大ドット、 中ドット、 小ドットがそれぞれ何個ずつ形成されるかを表 す個数データを生成することになる。 また、 個数データを少ないデータ量で効率 よく出力するために、 大ドット、 中ドット、 小ドットの個数をそのまま出力する のではなく、 コード化された状態で出力する。 このコード化して出力する手法は、 第 1実施例として、 図 2 1ないし図 2 6として説明したものである。 従って、 こ の処理の詳細についての説明は省略する。 この時、 第 6実施例のコンピュータ 1 0 0は、 先ずディザ法を用いて大中小のドッ卜の形成個数を決定し (図 2 1ない し図 2 5 ) 、 その後、 第 1の変換テーブル (図 2 6 ) を用いて個数データをコー ド化している。 即ち、 二段階の処理を経て、 コード化した個数データを生成して いるのである。 上述した処理では、 画素群内に形成する大中小ドットの個数をディザ法を用い て決定した後、 得られたドッ卜個数の組合せをコード化してからプリンタに供給 するという、 言わば 2段階の処理を経るものとして説明した。 これに対して、 変 換テーブル (第 1の変換テーブル) を参照することにより、 画素群の画像データ をコード化された個数データに直接変換して、 カラープリンタ 2 0 0に出力する ことも可能である。 こうすれば、 個数デ一夕を極めて迅速に生成することが可能 となるとともに、 個数データを生成する処理も極めて簡素なものとなる。 その結 果、 高い処理能力を有するコンピュータなどの機器を用いずとも、 十分に実用的 な速度で個数データを生成することが可能となる。 こうした第 6実施例の改良型としての処理として、 図 2 7に示した個数データ 生成処理を採用することが可能である。 この処理では、 画素群の分類番号と画素 群の階調値を決定すると (図 2 7, ステップ S 7 0 2 ) 、 この分類番号と画素群 階調値から、 変換テーブルを参照して、 一気にコード化された個数データを取得 している (ステップ S 7 0 4 ) 。 画素群の分類番号および画素群階調値の決定方 法は、 前述したので、 ここでは説明は省略する。 かかる処理において参照される第 1の変換テーブルは、 図 2 8に示されている。 この第 1の変換テーブルには、 画素群の分類番号と画素群階調値との組合せに対 応付けて、 コード化された個数データが予め記憶しているものである。 従って、 第 6実施例の個数データ生成処理においては、 画素群の分類番号および画素群階 調値を決定して第 1の変換テーブルを参照するだけで、 直ちに (一段階で) コー ド化された状態の個数データを決定することが可能である。 次に、 第 6実施例のカラープリンタ 2 0 0において、 コード化された個数デー 夕を受け取って大中小各ドッ卜の形成有無を決定する処理について説明する。 前 述した第 5実施例のド.ッ卜形成有無決定処理では、 第 2の変換テーブルを参照す ることで、 個数データと順序値とから直ちにドット形成の有無を決定したが、 第 6実施例のドッ卜形成有無決定処理においても同様に、 第 2の変換テーブルを参 照することにより、 コード化された個数データと順序値とから直ちに大中小ドッ 卜の形成有無を決定することが可能である。 このような処理が可能なこと、 およ びこうした処理を行うことで処理が高速化されることについては、 第 3実施例の 末尾において、 図 4 6ないし図 4 8を用いて詳しく説明した。 従って、 ここでの 説明は省略する。 用いられる第 2の変換テーブルの一例は、 図 4 7として示して おいた。 図 4 7に示すような第 2の変換テーブルを参照しながらドッ卜形成の有無を決 定する場合について簡単に原理を説明する。 図 3 0に示したように、 コード化さ れた個数デ一夕と、 大中小ドットについての個数の組合せとは、 一対一の関係に ある。 換言すれば、 コード化された個数データが 1つ与えられれば、 各種ドット についての個数の組合せは一意的に決定することができる。 一方、 画素群内に形成される各種ドットの個数が復号されると、 図 3 1 に示し たように、 順序値マ卜リックスに従って、 各画素についてのドット形成の有無が 決定される。 すなわち、 順序値マ卜リックスが決まっていれば、 各種ドットにつ いての個数の組合せと、 各画素についてのドット形成の有無とは、 一対一の関係 にあるのである。 このことは、 既に説明した。 上述したように、 各種ドットにつ いての個数の組合せは、 コード化された個数データから一意的に決定されるから、 結局、 順序値マ卜リックスが決まっていれば、 コード化された個数データから、 画素群内の各画素について、 各種ドッ卜の形成有無は一意的に決定されることに なる。 以上、 第 6実施例の画像印刷処理中で行われる個数データ生成処理、 およびド ッ卜形成有無決定処理について説明した。 上述した第 6実施例の個数データ生成 処理では、 画素群についての分類番号と画素群階調値とを決定したら、 第 1の変 換テーブルを参照するだけで、 直ちにコード化された個数データを得ることがで きる。 従って、 コード化された個数デ一夕を極めて迅速に生成することができる。 また、 上述した第 2実施例のドット形成有無決定処理では、 コード化された状態 の個数データを受け取ると、 順序値マトリックスを参照して対象画素の順序値を 取得した後、 個数データと順序値とから第 2の変換テーブルを参照することで、 個数データを復号することなく各種ドッ卜についての形成有無を決定することが できる。 このため、 画素毎にドット形成有無を決定する処理を迅速に実行するこ とが可能となり、 延いては画像を迅速に出力することが可能となる。 このように、 個数データ生成処理およびドット形成有無決定処理は、 いずれも 極めて迅速に実行することが可能であるが、 これに加えて、 処理内容も極めて簡 素なものとすることができる。 以下では、 この点につき、 それぞれの処理につい て若干の補足説明を行う。 初めに、 個数データ生成処理について説明する。 ディザ法を使用して、 第 1の 変換テーブルを参照することなく ドット個数を決定しょうとすると、 複雑な処理 を行う必要がある。 更に、 得られたドット個数の組合せをコード化しなければな らない。 これに対して、 第 1の変換テーブルを参照すれば、 同様の処理を、 図 2 7に示したような極めて簡素な処理で行うことができる。 また、 変換テーブルを参照する手法では、 分岐判断をほとんど行なう必要がな いので、 パイプライン処理と呼ばれる技術などを採用した高機能な C P Uで、 高 速な処理を実現することが可能となる。 従って、 発明の第 第 2の態様と同様、 こうした効果を奏する;:とができる。 同様に、 ドット形成有無を決定する処理でも、 初めに大ドットについて判断し、 次いで中ドット、 小ドットと、 順番に判断していく処理が必要なく、 第 2の変換 テーブルを利用する場合は、 テーブルを〗回参照するだけという極めて簡単な操 作で、 大中小いずれのドットが形成されるかを決定することができる。 加えて、 大ドッ卜、 中ドット、 小ドットと順番に判断する処理に必要となる多 くの条件分岐を経る必要もなく、 この点で、 高速の処理を実現することができる ことは、 個数データの生成処理と同様である。 更に、 第 6実施例の画像印刷処理におけるメモリの使用も、 発明の第 1の態様 (図 3 3 ) 、 第 2の態様 (図 4 8 ) で検討したとおりであり、 第 1, 第 2の変換 テ一プルは共に、 一般的なコンピュータのキャッシュメモリにも十分に収まる程 度の小さなデータ量であり、 また、 デジタルカメラ 1 2 0などの画像機器やカラ —プリンタ 2 0 0のメモリにも、 十分に搭載可能である。 以上、 各種の実施例について説明してきたが、 本発明は上記すベての実施例に 限られるものではなく、 その要旨を逸脱しない範囲において種々の態様で実施す ることができる。 例えば、 以上の実施例では、 印刷用紙上にドットを形成して画 像を印刷する場合について説明したが、 本発明の適用範囲は画像を印刷する場合 に限られるものではない。 例えば、 液晶表示画面上で輝点を適切な密度で分散さ せることにより、 階調が連続的に変化する画像を表現する液晶表示装置などにも、 本発明を好適に適用することができる。 また、 ディザ法を用いて個数データを生成する場合、 ディザマトリックスの特 性を適切に設計しておくことで、 ドットの分布を制御することが可能である。 例 えば、 いわゆるブルーノイズマスク特性を有するマ卜リックスや、 あるいはダリ —ンノイズマスク特性を有するマトリックスを使用すれば、 画像データを画素群 単位で処理しているにも関わらず、 これらディザマトリックスの特性に依存した ドッ卜分布の画像を得ることができる。 図 5 2は、 ブルーノイズマスク特性を有するディザマ卜リックス、 およびダリ ーンノイズマスク特性を有するディザマ卜リックスについて、 設定されている闞 値の空間周波数特性を概念的に例示した説明図である。 図 5 2では、 表示の都合 から、 横軸には空間周波数の代わりに周期を取って表示している。 言うまでもな く、 周期が短くなるほど、 空間周波数は高くなる。 また、 図 5 2の縦軸は、 それ ぞれの周期での空間周波数成分を示している。 尚、 図示されている周波数成分は、 02527
146
ある程度変化が滑らかとなるように平滑化された状態で示されている。 図中の実線は、 ブルーノイズマスクの空間周波数成分を概念的に示している。 図示されているように、 ブルーノイズマスクは、 1周期の長さが 2画素以下の高 い周波数領域に最も大きな周波数成分を有している。 ブル一ノイズマスクの閾値 は、 このような空間周波数特性を有するように設定されていることから、 ブル一 ノイズマスクに基づいてドッ卜形成の有無を判断した場合には、 ドッ卜が互いに 離れた状態で形成される傾向にある。 また、 図中の破線は、 グリーンノイズマス クの空間周波数成分を概念的に示している。 図示されているように、 グリーンノ ィズマスクは、 1周期の長さが 2画素から十数画素の中間周波数領域に最も大き な周波数成分を有している。 グリーンノイズマスクの閾値は、 このような空間周 波数特性を有するように設定されていることから、 グリーンノイズマスクに基づ いてドッ卜形成の有無を判断した場合には、 数ドッ卜単位で隣接してドッ卜が形 成されながら、 全体としてはドッ卜の固まりが分散した状態で形成される傾向に ある。 従って、 このようなブルーノイズマスク特性、 あるいはグリーンノイズマスク 特性を有するディザマトリックスに基づいて、 画素群の個数データを決定したり、 あるいは、 画素位置を決定してやれば、 画素群単位で処理しているにも関わらず、 ブル一ノイズマスク特性あるいはグリーンノイズマスク特性を反映した分布で、 ドッ卜を形成することが可能となる。 また、 以上の説明では、 図 9 aないし図 9 dに示したように、 ディザマ卜リツ クスに基づいて生成されて、 複数種類の順序値マトリックスを予め記憶しておき、 画素群の個数データを受け取ると、 その画素群に対応した順序値マ卜リックスを 用いて、 各画素についてのドット形成の有無を決定するものとして説明した。 し かし、 より簡便には次のようにしてドット形成の有無を決定しても良い。 すなわ ち、 予め複数の順序値マ卜リックスを記憶しておき、 個数データを受け取ると、 画素群毎にランダムに選択した 1の順序値マトリックスを用いて、 各画素につい てのドット形成の有無を決定しても良い。 更に、 より簡便には、 順序値マトリツ クスを 1組だけ記憶しておき、 このマトリックスを用いて各画素についてのドッ 卜形成の有無を決定することも可能である。

Claims

請求の範囲
1 . 画像デ一夕に所定の画像処理を施す画像処理装置と、 該画像処理の結果 に基づいてドッ卜を形成することにより出力媒体上に画像を出力する画像出力装 置とを備える画像出力システムであって、
前記画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 該画素群に形成するドッ卜個数を表す個数デ一夕との対応関係を記憶してい る対応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数デー 夕を生成して前記画像出力装置に供給する個数データ供給手段と
を備えており、
前記画像出力装置は、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前 記画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内で ドッ卜が形成される画素位置を決定する画素位置決定手段と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成するドッ卜 形成手段と
を備えている画像出力システム。
2 . 請求項 1記載の画像出力システムであって、
前記画素位置決定手段は、
前記画素の序列を複数組記憶している序列記憶手段を備えており、 前記個数データを受け取ると、 前記複数組の序列の中から画素群毎に 1の序 列を選択して、 前記画素位置を決定する手段である画像出力システム。
3 . 請求項 1または請求項 2記載の画像出力システムであって、
前記画像処理装置は、 前記画素群を前記画像中での位置に応じて複数種類に分 類することによリ、 該各々の画素群に前記分類番号を付与する分類番号付与手段 を備えており、
前記対応関係記憶手段は、 前記分類番号および前記画素群階調値の組合せと、 該組合せを有する画素群の前記個数データとの対応関係を記憶している手段であ る画像出力システム。
4 . 請求項 3記載の画像出力システムであって、
前記分類番号付与手段は、 複数の閾値を二次元的に配列したディザマ卜リック スを前記画像に適用したときの、 該ディザマトリックスに対する前記画素群の相 対位置に基づいて、 前記分類番号を付与する手段であり、
前記対応関係記憶手段は、 前記画素群内では全画素が前記画素群階調値を有す るものとして、 該画素群の各画素に前記ディザマトリックスを用いてディザ法を 適用したときに該画素群内に形成されるドッ卜個数のデータを、 前記分類番号と 該画素群階調値との組合せに対応付けて記憶している手段であり、
前記序列記憶手段は、 前記ディザマ卜リックスを該マ卜リックスに適用される 前記画素群の分類番号に応じて複数の領域に分割し、 該各々の領域内の閾値に基 づいて設定された前記画素の序列を、 該分類番号毎に記憶している手段であり、 前記画素位置決定手段は、 前記画素位置を決定しょうとする画素群の分類番号 に対応した前記画素の序列を選択して、 該画素位置を決定する手段である画像出 カシステム。
5 . ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制御 するために用いる制御データを、 該画像を表す画像データに所定の画像処理を加 えて生成する画像処理装置であつて、
互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶している対 応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する個数データ出力手段と
を備える画像処理装置。
6 . 請求項 5記載の画像処理装置であつて、
前記画素群を前記画像中での位置に応じて複数種類に分類することにより、 該 各々の画素群に前記分類番号を付与する分類番号付与手段を備えており、
前記対応関係記憶手段は、 前記分類番号および前記画素群階調値の組合せと、 該組合せを有する画素群の前記個数データとの対応関係を記憶している手段であ る画像処理装置。
7 . 請求項 6記載の画像処理装置であって、
前記分類番号付与手段は、 画素の大きさが前記画素群の大きさと一致するよう に前記画像データの解像度を変更し、 解像度が変更された画素の各々に、 前記画 像中での位置に応じて前記分類番号を付与する手段であり、
前記画素群階調値決定手段は、 前記解像度が変更された画素についての前記画 像データの階調値を、 前記画素群階調値として決定する手段である画像処理装置。
8 . 請求項 5ないし請求項 7のいずれかに記載の画像処理装置であつて、 前記対応関係記憶手段は、 表現する階調値の異なる複数種類のドッ卜を前記画 素群に形成するときの、 各種ドットの個数の組合せを表す前記個数データと、 前 記分類番号および画素群階調値の組合せとの対応関係を記憶している手段である 画像処理装置。
9 . 請求項 5ないし請求項 7のいずれかに記載の画像処理装置であって、 前記画素群階調値決定手段は、 主走査方向には 4画素ずつ、 副走査方向には 2 画素または 4画素ずつの画素を前記画素群としてまとめて、 前記画素群階調値を 決定する手段である画像処理装置。
1 0 . 画像データに応じて出力媒体上にドットを形成することにより、 該画 像データに対応した画像を出力する画像出力装置であって、
互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶している対 応関係記憶手段と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成する個数データ生成手段と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数デ一夕と該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する画素位置決定手段と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成するドッ卜形 成手段と
を備えている画像出力装置
1 1 . 請求項 1 0記載の画像出力装置であって、
前記画素群を前記画像中での位置に応じて複数種類に分類することにより、 該 各々の画素群に前記分類番号を付与する分類番号付与手段を備えており、
前記対応関係記憶手段は、 前記分類番号および前記画素群階調値の組合せと、 該組合せを有する画素群の前記個数データとの対応関係を記憶している手段であ る画像出力装置。
1 2 . 画像データに所定の画像処理を施して、 得られた結果に基づいて出力 媒体上にドッ卜を形成することによって、 画像を出力する画像出力方法であって、 互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する第 1の工程と、 .
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておく第 2の工程と、
前記対応関係を参照することにより、 前記各々の画素群についての個数デ一夕 を生成する第 3の工程と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する第 4の工程と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成する第 5のェ 程と
を備えている画像出力方法。
1 3 . ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制 御するために用いる制御データを、 該画像を表す画像データに所定の画像処理を 加えて生成する画像処理方法であつて、
互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する工程 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておくェ 程 (B ) と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する工程 (C ) と
を備える画像処理方法。
1 4 . 画像データ.に所定の画像処理を施して、 得られた結果に基づいて出力 媒体上にドッ卜を形成することによって画像を出力する方法を、 コンピュータを 用いて実現するためのプログラムであって、
互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する第 1の機能と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数データとの対応関係を記憶しておく第 2の機能と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成する第 3の機能と、
前記画素群内で各画素にドッ卜が形成される画素の序列を記憶しておき、 前記 画素群毎に供給された個数データと該画素の序列とに基づいて、 該画素群内でド ッ卜が形成される画素位置を決定する第 4の機能と、
前記決定した画素位置に基づいて前記出力媒体上にドッ卜を形成する第 5の機 能と
を 現するプログラム。
1 5 . ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制 御するために用いる制御データを、 該画像を表す画像データに所定の画像処理を 加えて生成する方法を、 コンピュータを用いて実現するためのプログラムであつ て、
互いに隣接する画素が所定個数ずつまとめられた画素群毎に、 該画素群を代表 する階調値たる画素群階調値を、 該画素群内の各画素の画像データに基づいて決 定する機能 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 該画素群に形成するドッ卜個数を表す個数テ'一夕との対応関係を記憶しておく機 能 (B ) と、
前記対応関係を参照することにより、 前記各々の画素群についての個数データ を生成して、 前記制御データとして出力する機能 (C ) と
を実現するプログラム。
1 6 . 画像データに所定の画像処理を施す画像処理装置と、 該画像処理の結 果に基づいてドッ卜を形成することにより出力媒体上に画像を出力する画像出力 装置とを備える画像出力システムであって、
前記画像処理装置は、
前記画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該各々の画素群内に形成されるドッ卜の個数を表す個数データを、 前記画像デー 夕に基づいて生成する個数データ生成手段と、
前記画素群毎に生成された個数データを、 前記画像出力装置に供給する個数 データ供給手段と
を備えており、
前記画像出力装置は、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示 す順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記画素群についての個数データを受け取ると、 該個数データと前記各々の 順序値との組合せ毎に前記対応関係を参照することにより、 該画素群内の各画素 についてのドッ卜形成の有無を決定するドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する ドッ卜形成手段と
を備えている画像出力システム。
1 7 . 請求項 Ί 6記載の画像出力システムであって、
前記画素群内でドッ卜が形成される画素の序列を複数組記憶している序列記憶 手段を備えるとともに、
前記順序値取得手段は、 前記複数組の序列の中から前記画素群毎に選択した 1 の序列に基づいて、 該画素群内の各画素についての前記順序値を取得する手段で あり、
前記ドット形成有無決定手段は、 前記取得した順序値を用いて、 前記画素群内 の各画素についてのドッ卜形成の有無を決定する手段である画像出力システム。
1 8 . 請求項 1 7記載の画像出力システムであって、 前記個数データ生成手段は、 二次元的に配列された画素の各々に閾値を対応付 けたディザマ卜リックスに基づいて、 前記個数データを生成する手段であり、 前記序列記憶手段は、 前記個数データの生成に用いたディザマ卜リックスを複 数の画素群に分割し、 該画素群内の各画素に対応付けられた閾値の大小関係に基 づいて画素群毎に決定された画素の序列を、 前記複数組の画素の序列として記憶 している手段である画像出力システム。
1 9 . 所定の画像処理が施された画像データを受け取って、 該画像データに 基づいて出力媒体上にドッ卜を形成することにより、 画像を出力する画像出力装 置であって、
前記画像を構成する複数の画素が所定個数ずつ画素群としてまとめられた状態 で、 該画素群内に形成すべきドットの個数を表す個数データを、 前記画像データ として受け取る個数データ受取手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記個数データを受け取った画素群内の各画素について、 該個数データと前記 順序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を 決定するドット形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備える画像出力装置。
2 0 . 請求項 1 9記載の画像出力装置であって、
前記画素群内でドッ卜が形成される画素の序列を複数組記憶している序列記憶 手段を備えるとともに、
前記順序値取得手段は、 前記複数組の序列の中から前記画素群毎に選択した 1 の序列に基づいて、 該画素群内の各画素についての前記順序値を取得する手段で あり、
前記ドット形成有無決定手段は、 前記取得した順序値を用いて、 前記画素群内 の各画素についてのドッ卜形成の有無を決定する手段である画像出力装置。
2 1 . 請求項 1 9または請求項 5記載の画像出力装置であって、
前記個数データ受取手段は、 表現する階調値の異なる複数種類のドッ卜につい て、 前記画素群内に形成される各種ドットの個数を、 前記個数データとして受け 取る手段であり、
前記対応関係記憶手段は、 前記順序値および前記個数データの組合せと、 該順 序値を有する画素に形成されるドッ卜種類との対応関係を記憶している手段であ U ,
前記ドット形成有無決定手段は、 前記画素群内の各画素について、 前記各種ド ッ卜についての形成の有無を決定する手段であり、
前記ドット形成手段は、 前記決定したドット形成の有無に従って、 前記出力媒 体上に前記各種ドットを形成する手段である画像出力装置。
2 2 . 請求項 1 9ないし請求項 6のいずれかに記載の画像出力装置であって、 前記個数データ受取手段は、 互いに所定の位置関係にある 8画素ないし 1 6画 素ずつの画素がまとめられた画素群について、 前記個数データを受け取る手段で ある画像出力装置。
2 3 . 画像データに応じて出力媒体上にドットを形成することにより、 該画 像データに対応した画像を出力する画像処理出力装置であって、 前記画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該 各々の画素群内に形成されるドッ卜の個数を表す個数データを、 前記画像データ に基づいて生成する個数データ生成手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する順序値取得手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶している対応関係記憶手段と、
前記個数データを生成した画素群内の各画素について、 該個数データと前記順 序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を決 定するドット形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備える画像処理出力装置。
2 4 . 画像データに所定の画像処理を施して、 得られた結果に基づいてドッ 卜を形成することにより、 出力媒体上に画像を出力する画像処理出力方法であつ て、
前記画像を、 複数の画素を所定個数ずつまとめた画素群の集まりに分割し、 該 各々の画素群内に形成されるドッ卜の個数を表す個数データを、 前記画像データ に基づいて生成する第 1の工程と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する第 2の工程と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶しておく第 3の工程と、
前記個数データを生成した画素群内の各画素について、 該個数データと前記順 序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を決 定する第 4の工程と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の工程と
を備える画像処理出力方法。
2 5 . 所定の画像処理が施された画像データを受け取って、 該画像データに 基づいて出力媒体上にドッ卜を形成することによリ、 画像を出力する画像出力方 法であって、
画像を構成する複数の画素が所定個数ずつ画素群としてまとめられた状態で、 該画素群内に形成すべきドットの個数を表す個数データを、 前記画像データとし て受け取る工程 (A ) と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する工程 (B ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドット形成の有無との対応関係を記憶しておく工程 (C ) と、
前記個数データを受け取った画素群内の各画素について、 該個数デ一夕と前記 順序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を 決定する工程 (D ) と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するェ 程 (E ) と
を備える画像出力方法。
2 6 . 画像データに所定の画像処理を施して、 得られた結果に基づいてドッ 卜を形成することにより出力媒体上に画像を出力する方法を、 コンピュータを用 いて実現するためのプログラムであって、
互いに隣接する画素を所定個数ずつ画素群にまとめて前記画像を複数の画素群 に分割し、 該各々の画素群内に形成されるドットの個数を表す個数データを、 前 記画像データに基づいて生成する第 1の機能と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を取得する第 2の機能と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係を記憶しておく第 3の機能と、
前記個数データを生成した画素群内の各画素について、 該個数データと前記順 序値との組合せ毎に前記対応関係を参照することにより、 ドッ卜形成の有無を決 定する第 4の機能と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の機能と
を実現するプログラム。
2 7 . 所定の画像処理が施された画像データを受け取って、 該画像データに 基づいて出力媒体上に.ドットを形成することにより画像を出力する方法を、 コン ピュー夕を用いて実現するためのプログラムであって、
互いに隣接する画素が所定個数ずつ画素群としてまとめられた状態で、 該画素 群内に形成すべきドッ卜の個数を表す個数データを、 前記画像データとして受け 取る機能 (A ) と、
前記画素群内の各画素について、 該画素群内でドットが形成される順番を示す 順序値を取得する機能 (B ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドット形成の有無との対応関係を記憶しておく機能 (C ) と、
前記個数データを受け取った画素群内の各画素について、 該個数データと前記 順序値との組合せ毎に前記対応関係を参照することにより、 ドット形成の有無を 決定する機能 (D ) と、 前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する機 ( E ) と
を実現するプログラム。
2 8 . 画像データに所定の画像処理を施す画像処理装置と、 該画像処理の結 果に基づいてドッ卜を形成することにより出力媒体上に画像を出力する画像出力 装置とを備える画像出力システムであって、
前記画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の 対応関係を参照することにより、 前記各々の画素群についての個数データを生成 して前記画像出力装置に供給する個数デ一夕供給手段と
を備えており、
前記画像出力装置は、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示 す順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前 記個数データを受け取った画素群内の各画素についてドッ卜形成の有無を決定す るドッ卜形成有無決定手段と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する ドット形成手段と
を備えている画像出力システム。
2 9 . 請求項 2 8記載の画像出力システムであって、
前記画像処理装置は、 前記画素群を前記画像中での位置に応じて複数種類に分 類することにより、 該各々の画素群に前記分類番号を付与する分類番号付与手段 を備える画像出力システム。
3 0 . 画像デ一夕に所定の画像処理を施す第 1の画像処理装置と、 出力媒体 上にドッ卜を形成して画像を出力する際に該ドッ卜の形成を制御するために用い られる制御データを、 該画像処理の結果に基づいて生成する第 2の画像処理装置 とを備える画像処理システムであって、
前記第 1の画像処理装置は、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該 画素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データ に基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せ と、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の 対応関係を参照することにより、 前記各々の画素群についての個数データを生成 して前記第 2の画像処理装置に供給する個数データ供給手段と
を備えており、
前記第 2の画像処理装置は、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示 す順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素におけ るドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数 データを受け取った画素群内の各画素についてドッ卜形成の有無を決定すること により、 前記制御データを生成する制御データ生成手段と を備えている画像処理システム。
3 1 . 請求項 3 0記載の画像処理システムであって、
前記順序値記憶手段は、 前記画素群内でドッ卜が形成される画素の序列を複数 組記憶しているとともに、 該画素の序列毎に各画素についての前記順序値を記憶 している手段であり、
前記制御データ生成手段は、 前記複数組の序列の中から前記画素群毎に 1の序 列を選択し、 選択した序列に記憶されている前記順序値を用いて、 該画素群内の 各画素についてのドッ卜形成の有無を決定することにより、 前記制御データを生 成する手段である画像処理システム。
3 2 . 請求項 3 0または請求項 3 1記載の画像処理システムであって、 前記第 1の画像処理装置は、 前記画素群を前記画像中での位置に応じて複数種 類に分類することにより、 該各々の画素群に前記分類番号を付与する分類番号付 与手段を備える画像処理システム。
3 3 . 請求項 3 2記載の画像処理システムであって、
前記分類番号付与手段は、 複数の閾値を二次元的に配列したディザマ卜リック スを前記画像に適用したときの、 該ディザマトリックスに対する前記画素群の相 対位置に基づいて、 前記分類番号を付与する手段であり、
前記個数データ供給手段は、 前記画素群内では全画素が前記画素群階調値を有 するものとして、 該画素群の各画素に前記ディザマトリックスを用いてディザ法 を適用したときに該画素群内に形成されるドッ卜個数のデータを、 前記分類番号 と該画素群階調値との組合せに対応付けて、 前記第 1の対応関係.として記憶して いる手段であり、
前記順序値記憶手段は、 前記個数データの生成に用いたディザマ卜リックスを 複数の画素群に分割し、 該画素群内の各画素に対応付けられた閾値の大小関係に 基づいて画素群毎に決定された画素の序列を、 前記複数組の画素の序列として記 憶している手段であり、
前記制御データ生成手段は、 前記画像上での画素群の位置に対応した 1の序列 を選択して、 該画素群内の各画素についてのドット形成の有無を決定することに よリ、 前記制御データを生成する手段である画像処理システム。
3 4 . 前記分類番号付与手段、 前記個数データ供給手段、 および前記順序値 記憶手段で用いられている前記ディザマトリックスが、 ブルーノイズマスク特性 を有するマ卜リックスである請求項 3 3記載の画像処理システム。
3 5 . 前記分類番号付与手段、 前記個数デ一夕供給手段、 および前記順序値 記憶手段で用いられている前記ディザマトリックスが、 グリーンノイズマスク特 性を有するマトリックスである請求項 3 3記載の画像処理システム。
.
3 6 . 請求項 3 2記載の画像処理システムであって、
前記分類番号付与手段は、 画素の大きさが前記画素群の大きさと一致するよう に前記画像データの解像度を変更し、 解像度が変更された画素の各々に、 前記画 像中での位置に応じて前記分類番号を付与する手段であり、
前記画素群階調値決定手段は、 前記解像度が変更された画素についての前記画 像データの階調値を、 前記画素群階調値として決定する手段である画像処理シス テム。
3 7 . 請求項 3 0または請求項 3 1記載の画像処理システムであって、 前記個数データ供給手段は、 表現する階調値の異なる複数種類のドッ卜を前記 画素群に形成するときの、 各種ドッ卜の個数の組合せを表す前記個数データと、 前記分類番号および画素群階調値の組合せとの対応関係を、 前記第 1の対応関係 として記憶している手段であリ、
前記制御データ生成手段は、 前記順序値および前記個数データの組合せと、 該 順序値を有する画素に形成されるドッ卜種類との対応関係を、 前記第 2の対応関 係として記憶している手段である画像処理システム。
3 8 . 請求項 3 0または請求項 3 1記載の画像処理システムであって、 前記画素群階調値決定手段は、 互いに所定の位置関係にある 4個ないし 1 6個 ずつの画素を前記画素群としてまとめて、 前記画素群階調値を決定する手段であ る画像処理システム。
3 9 . 画像データに応じて出力媒体上にドットを形成することにより、 該画 像データに対応した画像を出力する画像出力装置であって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 個数データ生成手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前記 個数データを生成した画素群内の各画素について、 ドット形成の有無を決定する ドッ卜形成有無決定手段と、 前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成するド ッ卜形成手段と
を備えた画像出力装置。
4 0 . 請求項 3 9記載の画像出力装置であって、
前記画素群を前記画像中での位置に応じて複数種類に分類することにより、 該 各々の画素群に前記分類番号を付与する分類番号付与手段を備える画像出力装置。
4 1 . ドッ卜を形成して画像を出力する画像出力装置が該ドッ卜の形成を制 御するために用いる制御データを、 該画像を表す画像データに所定の画像処理を 加えることによつて生成する画像処理装置であつて、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する画素群階調値決定手段と、
前記画素群毎に付与された分類番号およ^該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することによリ、 前記各々の画素群についての個数データを生成する 個数データ生成手段と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶している順序値記憶手段と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数デ 一夕を生成した画素群内の各画素についてドッ卜形成の有無を決定することによ り、 前記制御データを生成する制御データ生成手段と
を備える画像処理装置。
4 2 . 請求項 4 1記載の画像処理装置であって、
前記画素群を前記画像中での位置に応じて複数種類に分類することにより、 該 各々の画素群に前記分類番号を付与する分類番号付与手段を備える画像出力装置。
4 3 . 画像データに応じて出力媒体上にドットを形成することにより、 該画 像データに対応した画像を出力する画像出力方法であって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する第 1の工程と、
0 前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 第 2の工程と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す5 順序値を記憶しておく第 3の工程と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前記 個数データを生成した画素群内の各画素について、 ドッ卜形成の有無を決定する • 第 4の工程と、
0 前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の工程と
を備える画像出力方法。
4 4 . ドッ卜を形成して画像を出力する際に該ドッ卜の形成を制御するため5 に用いられる制御データを、 該画像を表す画像データに所定の画像処理を加える ことで生成する画像処理方法であつて、 前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する工程 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数データを生成する 工程 (B ) と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶しておく工程 (C ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながら、 前記個数デ 一夕を生成した画素群内の各画素についてドッ卜形成の有無を決定することによ り、 前記制御データを生成する工程 (D ) と
を備える画像処理方法。
.
4 5 . 画像データに応じて出力媒体上にドットを形成することにより、 該画 像データに対応した画像を出力する方法を、 コンピュータを用いて実現するため のプログラムであって、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する第 1の機能と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数デ一夕を生成する 第 2の機能と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶しておく第 3の機能と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照することにより、 前記 個数データを生成した画素群内の各画素について、 ドッ卜形成の有無を決定する 第 4の機能と、
前記決定したドッ卜形成の有無に従って前記出力媒体上にドッ卜を形成する第 5の機能と
を実現するプログラム。
4 6 . ドッ卜を形成して画像を出力する際に該ドッ卜の形成を制御するため に用いられる制御データを、 該画像を表す画像データに所定の画像処理を加える ことで生成する方法を、 コンピュータを用いて実現するためのプログラムであつ て、
前記画像を構成する複数の画素が所定個数ずつまとめられた画素群毎に、 該画 素群を代表する階調値たる画素群階調値を、 該画素群内の各画素の画像データに 基づいて決定する機能 (A ) と、
前記画素群毎に付与された分類番号および該画素群の画素群階調値の組合せと、 前記画素群に形成するドッ卜個数を表す個数データとの対応関係たる第 1の対応 関係を参照することにより、 前記各々の画素群についての個数デ一夕を生成する 機能 (B ) と、
前記画素群内の各画素について、 該画素群内でドッ卜が形成される順番を示す 順序値を記憶しておく機能 (C ) と、
前記順序値および前記個数データの組合せと、 該順序値を有する画素における ドッ卜形成の有無との対応関係たる第 2の対応関係を参照しながち、 前記個数デ —夕を生成した画素群内の各画素についてドッ卜形成の有無を決定することによ り、 前記制御データを生成する機能 (D ) と を実現するプログラム。
PCT/JP2005/002527 2004-02-10 2005-02-10 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム WO2005076592A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US10/589,069 US7830553B2 (en) 2004-02-10 2005-02-10 Image output system for outputting image based on information of number of dots to be formed in predetermined area
CN200580004501.6A CN1918898B (zh) 2004-02-10 2005-02-10 图像输出系统、图像输出装置、图像处理装置及方法
EP05710373A EP1722549A4 (en) 2004-02-10 2005-02-10 PICTURE DISTRIBUTION SYSTEM FOR PUBLISHING AN IMAGE BASED ON INFORMATION ABOUT NUMBER OF POINTS TO BE MADE IN A PREFERRED AREA
US12/925,234 US8023154B2 (en) 2004-02-10 2010-10-15 Image output system for outputting image based on information of number of dots to be formed in predetermined area

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2004033487A JP2005224983A (ja) 2004-02-10 2004-02-10 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム
JP2004-033487 2004-02-10
JP2004044649A JP4375050B2 (ja) 2004-02-20 2004-02-20 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム
JP2004-044649 2004-02-20
JP2004-082709 2004-03-22
JP2004082709A JP4375071B2 (ja) 2004-03-22 2004-03-22 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム

Publications (1)

Publication Number Publication Date
WO2005076592A1 true WO2005076592A1 (ja) 2005-08-18

Family

ID=34841525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/002527 WO2005076592A1 (ja) 2004-02-10 2005-02-10 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム

Country Status (3)

Country Link
US (2) US7830553B2 (ja)
EP (1) EP1722549A4 (ja)
WO (1) WO2005076592A1 (ja)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3823859B2 (ja) * 2002-03-20 2006-09-20 セイコーエプソン株式会社 複数画素単位で画像データを変換する画像処理装置
US20070041054A1 (en) * 2003-03-27 2007-02-22 Toshiaki Kakutani Image output control system, image output device, and image processing device
JP4561049B2 (ja) * 2003-06-20 2010-10-13 セイコーエプソン株式会社 所定領域内に形成されるドット個数の情報に基づいて画像を印刷する印刷システム
US20060203280A1 (en) * 2005-02-25 2006-09-14 Matsushita Electric Industrial Co., Ltd. Image printing apparatus and image printing method
US7532360B2 (en) * 2005-09-16 2009-05-12 Seiko Epson Corporation Image output apparatus
JP4506652B2 (ja) * 2005-11-18 2010-07-21 セイコーエプソン株式会社 高画質ハーフトーン処理
JP4534963B2 (ja) * 2005-11-18 2010-09-01 セイコーエプソン株式会社 画像形成方法、画像形成装置、画像形成システム、印刷方法、印刷物の生成方法および画像形成装置を制御するためのコンピュータプログラム
JP4534964B2 (ja) * 2005-11-18 2010-09-01 セイコーエプソン株式会社 画像形成方法、画像形成装置、画像形成システム、印刷物の生成方法および画像形成装置を制御するためのコンピュータプログラム
JP4193846B2 (ja) * 2006-01-18 2008-12-10 セイコーエプソン株式会社 画像処理装置および変換テーブル生成方法
US7944585B2 (en) * 2007-02-16 2011-05-17 Sharp Laboratories Of America, Inc. Color information encoding in monochrome printing
JP4345834B2 (ja) * 2007-03-28 2009-10-14 セイコーエプソン株式会社 画像処理装置、印刷装置および画像処理方法
GB0711341D0 (en) * 2007-06-12 2007-07-25 Ffei Ltd Multilevel screening
JP4687918B2 (ja) * 2007-07-24 2011-05-25 富士ゼロックス株式会社 画像処理装置及びプログラム
JP5277604B2 (ja) * 2007-10-15 2013-08-28 セイコーエプソン株式会社 液体噴射ムラの抑制
KR101522985B1 (ko) * 2008-10-31 2015-05-27 삼성전자주식회사 영상처리 장치 및 방법
WO2014014468A1 (en) 2012-07-19 2014-01-23 Hewlett-Packard Indigo B.V. Security feature
JP6028464B2 (ja) * 2012-08-27 2016-11-16 富士ゼロックス株式会社 画像処理装置及び画像処理プログラム
US9076089B2 (en) * 2012-09-07 2015-07-07 Canon Kabushiki Kaisha Image processing apparatus and method for printing according to a dot-arrangement matrix
JP6472336B2 (ja) * 2014-06-18 2019-02-20 キヤノン株式会社 画像処理装置、画像処理方法およびプログラム
US10602020B2 (en) 2016-10-31 2020-03-24 Hewlett-Packard Development Company, L.P. Dynamic threshold based error diffusion
JP2019176278A (ja) * 2018-03-27 2019-10-10 キヤノン株式会社 画像形成装置、画像形成方法及びプログラム

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62176371A (ja) * 1986-01-30 1987-08-03 Toshiba Corp デイザ中間調伝送方式
JPH0865511A (ja) * 1994-08-22 1996-03-08 Murata Mach Ltd 中間調画像データの伝送方法
JPH08116440A (ja) * 1994-10-17 1996-05-07 Fuji Xerox Co Ltd 階調画像2値化装置
JPH08307720A (ja) * 1995-05-12 1996-11-22 Seiko Epson Corp カラー画像の階調数変換方式及び方法
JPH10262151A (ja) * 1997-03-19 1998-09-29 Seiko Epson Corp グレースケール画像のハーフトーニング方法、およびグレースケール画像のハーフトーニング手段を有する装置
JP2002185789A (ja) * 2000-10-06 2002-06-28 Seiko Epson Corp 画像処理装置、印刷制御装置、画像処理方法、および記録媒体

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60153264A (ja) * 1984-01-20 1985-08-12 Ricoh Co Ltd 中間調画像伝送方式
JPH069375B2 (ja) * 1984-04-27 1994-02-02 株式会社東芝 中間調画情報の符号化伝送方式
US5359430A (en) * 1992-05-15 1994-10-25 Microsoft Corporation Block-halftoning method and system with compressed error image
US5463703A (en) * 1994-02-10 1995-10-31 Lin; Bob Dither picture data pre-compression processing method
JPH07322074A (ja) * 1994-05-16 1995-12-08 Internatl Business Mach Corp <Ibm> ディザリングされた2レベル・イメージ・ファイルを処理するためのデータ処理装置および方法
JP3387738B2 (ja) * 1996-06-28 2003-03-17 株式会社沖データ 画像パターン変換装置
US5966467A (en) * 1997-09-12 1999-10-12 Xerox Corporation System for compressing and decompressing binary representations of dithered images
JP3688938B2 (ja) 1999-03-18 2005-08-31 株式会社リコー 画像データ生成方法、装置および記録媒体
JP2002271623A (ja) 2001-03-13 2002-09-20 Fuji Xerox Co Ltd 画像処理装置および画像処理プログラム

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62176371A (ja) * 1986-01-30 1987-08-03 Toshiba Corp デイザ中間調伝送方式
JPH0865511A (ja) * 1994-08-22 1996-03-08 Murata Mach Ltd 中間調画像データの伝送方法
JPH08116440A (ja) * 1994-10-17 1996-05-07 Fuji Xerox Co Ltd 階調画像2値化装置
JPH08307720A (ja) * 1995-05-12 1996-11-22 Seiko Epson Corp カラー画像の階調数変換方式及び方法
JPH10262151A (ja) * 1997-03-19 1998-09-29 Seiko Epson Corp グレースケール画像のハーフトーニング方法、およびグレースケール画像のハーフトーニング手段を有する装置
JP2002185789A (ja) * 2000-10-06 2002-06-28 Seiko Epson Corp 画像処理装置、印刷制御装置、画像処理方法、および記録媒体

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1722549A4 *

Also Published As

Publication number Publication date
EP1722549A1 (en) 2006-11-15
US20070171439A1 (en) 2007-07-26
US7830553B2 (en) 2010-11-09
US8023154B2 (en) 2011-09-20
US20110032574A1 (en) 2011-02-10
EP1722549A4 (en) 2007-04-18

Similar Documents

Publication Publication Date Title
WO2005076592A1 (ja) 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム
JP4534963B2 (ja) 画像形成方法、画像形成装置、画像形成システム、印刷方法、印刷物の生成方法および画像形成装置を制御するためのコンピュータプログラム
JP4375235B2 (ja) 複数画素ずつコード化しながら画像を出力する画像出力システム
US7580156B2 (en) Image processing system, image processing device, dot data processing device, and method and program product therefor
JP4241823B2 (ja) ドットデータ処理装置、画像出力システムおよびそれらの方法
JP4534964B2 (ja) 画像形成方法、画像形成装置、画像形成システム、印刷物の生成方法および画像形成装置を制御するためのコンピュータプログラム
US20060215227A1 (en) Image processing device, image processing method, and program product for the same
JP4375398B2 (ja) 複数画素ずつ多値化を行う画像処理装置
JP2007142847A (ja) 高画質ハーフトーン処理
US7656558B2 (en) Image processing system, image processing device, image output device, and method and program product therefor
CN1918898B (zh) 图像输出系统、图像输出装置、图像处理装置及方法
US7436547B2 (en) Image processing system, image processing device, image outputting device and method for same
US7796303B2 (en) Image processing system, image processing device, dot data processing device, and method and program product therefor
JP4375050B2 (ja) 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム
JP4375071B2 (ja) 所定領域内に形成されるドット個数の情報に基づいて画像を出力する画像出力システム
WO2004086749A1 (ja) 画像出力制御システム、画像処理装置およびその方法
JP4979509B2 (ja) データ変換装置、該装置を備えた記録装置及びデータ変換方法
JP2006191268A (ja) 複数画素ずつ画像処理を行いながら画像を出力する画像出力装置
WO2004086750A1 (ja) 画像出力制御システム、画像出力装置および画像処理装置
JP2005039491A (ja) 所定領域内に形成されるドット個数の情報に基づいて画像を表示する画像表示システム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200580004501.6

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007171439

Country of ref document: US

Ref document number: 10589069

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Ref document number: DE

WWE Wipo information: entry into national phase

Ref document number: 2005710373

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2005710373

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 2005710373

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 10589069

Country of ref document: US