WO2015050245A1 - 画像処理装置、印刷装置、画像処理方法及びプログラム - Google Patents

画像処理装置、印刷装置、画像処理方法及びプログラム Download PDF

Info

Publication number
WO2015050245A1
WO2015050245A1 PCT/JP2014/076546 JP2014076546W WO2015050245A1 WO 2015050245 A1 WO2015050245 A1 WO 2015050245A1 JP 2014076546 W JP2014076546 W JP 2014076546W WO 2015050245 A1 WO2015050245 A1 WO 2015050245A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
halftone
dot
mode
resolution
Prior art date
Application number
PCT/JP2014/076546
Other languages
English (en)
French (fr)
Inventor
隆史 涌井
Original Assignee
富士フイルム株式会社
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
Application filed by 富士フイルム株式会社 filed Critical 富士フイルム株式会社
Priority to EP14850838.5A priority Critical patent/EP3054663B1/en
Publication of WO2015050245A1 publication Critical patent/WO2015050245A1/ja
Priority to US15/078,971 priority patent/US9571695B2/en
Priority to US15/408,249 priority patent/US9894245B2/en

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1835Transforming generic data
    • G06K15/1842Geometric transformations, e.g. on raster data
    • G06K15/1843Changing size or raster resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1872Image enhancement
    • G06K15/1873Increasing spatial resolution; Anti-aliasing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1872Image enhancement
    • G06K15/1876Decreasing spatial resolution; Dithering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1867Post-processing of the composed and rasterized print image
    • G06K15/1872Image enhancement
    • G06K15/1881Halftoning
    • 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/23Reproducing arrangements
    • H04N1/2307Circuits or arrangements for the control thereof, e.g. using a programmed control device, according to a measured quantity
    • H04N1/2369Selecting a particular reproducing mode from amongst a plurality of modes, e.g. paper saving or normal, or simplex or duplex
    • 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/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/393Enlarging or reducing
    • H04N1/3935Enlarging or reducing with modification of image resolution, i.e. determining the values of picture elements at new relative positions
    • 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/40068Modification of image resolution, i.e. determining the values of picture elements at new relative positions
    • 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
    • H04N1/4052Halftoning, 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 by error diffusion, i.e. transferring the binarising error to neighbouring dot decisions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/004Generic data transformation
    • G06K2215/0054Geometric transformations, e.g. on rasterised data
    • G06K2215/0057Sizing and resolution changes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0082Architecture adapted for a particular function
    • G06K2215/0094Colour printing

Definitions

  • the present invention relates to an image processing method in a printing device that employs a plurality of printing modes with different definition levels, and more particularly to a technique for simplifying image processing including halftone processing.
  • Printing machines that can change the output resolution by switching the printing method without changing the mechanism of the print head or the like are known. For example, “1200 dpi (dots per inch) ⁇ 1200 dpi”, “1200 dpi ⁇ 600 dpi”, and “ Printing can be performed at a resolution such as “600 dpi ⁇ 600 dpi”. Further, not only the resolution but also the dot arrangement form can be changed, and printing can be performed in print modes of various dot arrangement forms (for example, a lattice arrangement and a staggered arrangement).
  • image processing processes such as color conversion processing, resolution conversion processing, color separation processing, unevenness correction processing, and halftone processing between the input of image data and printing.
  • image processing processes such as color conversion processing, resolution conversion processing, color separation processing, unevenness correction processing, and halftone processing between the input of image data and printing.
  • Patent Document 1 discloses an image processing apparatus for faithfully reproducing input image data in which pixels are arranged in a grid pattern by staggered recording.
  • this image processing device a plurality of pixels that are continuous in the direction of halving the amount of information in the input image data are set as one conversion unit for resolution conversion, and the position of the conversion unit is adjusted to the phase of the staggered recording, The resolution conversion is performed by shifting between the odd and even columns in the information amount maintaining direction.
  • Patent Document 2 discloses an image processing apparatus for reducing the storage capacity as a whole.
  • This image processing apparatus includes a module that performs different halftone processing for each aspect ratio of a plurality of recording resolutions, and a module corresponding to the aspect ratio of one recording resolution is selected and used to perform halftone processing.
  • a module corresponding to the aspect ratio of one recording resolution is selected and used to perform halftone processing.
  • Patent Document 3 discloses an image processing apparatus having a function of performing image quantization based on an error diffusion method. This image processing apparatus changes the error diffusion coefficient according to the output resolution. For example, when the output resolution is low, the error diffusion range is reduced, and when the output resolution is high, the error diffusion range is increased.
  • the image processing module be realized by hardware processing rather than software processing. From the viewpoint of hardware design, it is desirable to avoid a complicated image processing flow as much as possible. . On the other hand, even when the image processing module is implemented by software, if the image processing flow becomes complicated, the software module becomes enormous and the processing load and processing time increase.
  • processing parameters according to the definition of the output image data are individually set, or a specific image processing module is individually set. It is required to be provided, and the processing becomes complicated. When processing becomes complicated, the system scale increases, and the time required for processing becomes longer, resulting in lower productivity.
  • an image processing module is mounted based on FPGA (Field Programmable Gate Array), etc., it is necessary to use high-spec and expensive circuits as the processing becomes complicated, and the hardware configuration becomes complicated and the image becomes complicated. There may be a case where the processing module itself is difficult to mount.
  • the conventional printing device does not sufficiently simplify the image processing content and the image processing apparatus based on such a viewpoint.
  • the present invention has been made in view of the above circumstances, and in image processing based on a plurality of printing modes with different finenesses, the processing is shared between the printing modes to simplify the entire image processing flow.
  • An object of the present invention is to provide an image processing apparatus and related technology capable of suppressing the increase in scale and complexity of modules.
  • One aspect of the present invention is an image processing apparatus that generates a halftone image from an input image in a plurality of print modes with different definition levels, and includes an image size adjustment unit that adjusts the size of the input image, and an image size adjustment unit.
  • a halftone processing unit that generates a halftone image by performing halftone processing of the input image whose size has been adjusted, and the image size adjustment unit receives the input image between two or more print modes among a plurality of print modes.
  • the present invention relates to an image processing apparatus that adjusts to the same size and performs halftone processing on input images of the same size.
  • “definition” is a concept including both resolution (size) and dot arrangement form. Therefore, not only print modes with different output resolutions but also print modes with different dot arrangement forms even with the same output resolution are print modes with different definition.
  • image includes not only “image itself” reproduced on a print medium, but also “image data” that is the basis of a print image. Therefore, the “input image” is original data of an image input to the image processing apparatus, and the “halftone image” is image data representing on / off of binarized dots after halftone processing.
  • the halftone processing unit limits the arrangement of the dots constituting the halftone image to locations where dots can be arranged in the selected print mode from among a plurality of print modes.
  • the arrangement of dots (halftone image dots) constituting the halftone image is limited according to the print mode, and a halftone image suitable for the print mode can be generated accurately.
  • the “dot placement possible location” means a location (pixel) where a halftone image dot determined based on the definition (resolution and dot placement mode) of the corresponding print mode can be placed.
  • the size of the input image to be halftone processed is adjusted to be the same regardless of the print mode. Accordingly, the image size (resolution) is adjusted to the same resolution (for example, 1200 dpi) regardless of whether the low resolution (for example, 600 dpi) print mode or the high resolution (for example, 1200 dpi) print mode is selected. Therefore, even when a low-resolution print mode is selected, halftone processing may be performed at the resolution of the high-resolution print mode.
  • the original resolution of the low-resolution print mode may be adapted.
  • the dots are turned off at some pixels of the image data after the size adjustment.
  • the x direction or y direction
  • the halftone processing unit performs halftone processing based on a dither matrix corresponding to the selected print mode based on the dither method.
  • halftone processing using a dither matrix determined based on the print mode can be performed, and a halftone image suitable for the print mode can be accurately generated.
  • the “dither matrix” referred to here is a threshold matrix configured by a plurality of pixels, and a threshold element is assigned to each pixel, and the halftone in each pixel is compared with the threshold element of the dither matrix and the pixel value of the input image. Image dots are turned on and off.
  • the two or more print modes include a relatively high resolution print mode and a relatively low resolution print mode, and all of the dot placement possible places in the low resolution print mode are high resolution prints. It is included in the dot placement location of the mode.
  • the “high resolution print mode” and the “low resolution print mode” of this aspect are determined based on a relative relationship. Therefore, the print mode having the highest resolution among the plurality of print modes may be set as the “high resolution print mode” while the other print modes may be handled as the “low resolution print mode”. In addition, a print mode other than the “highest resolution print mode” is set as a “high resolution print mode”, and a print mode having a resolution lower than the “high resolution print mode” is set as a “low resolution print mode”. May be handled.
  • the threshold elements corresponding to the dot arrangement possible positions in the low resolution printing mode have smaller values than the threshold elements corresponding to the other positions.
  • the dots that make up the halftone image are preferentially arranged at the dot arrangementable positions in the low resolution printing mode.
  • the dots constituting the halftone image are preferentially arranged at the dot arrangementable positions in the low resolution print mode even in the high resolution print mode, and the halftone process can be easily performed.
  • the dither method includes a “mode in which halftone image dots are more likely to be turned on as pixels corresponding to dither matrix pixels having a smaller threshold element value” and a “pixel corresponding to dither matrix pixels having a larger threshold element value”. There is a mode in which halftone image dots are likely to be turned on, and the gradation may be reversed in comparison with the threshold element of the dither matrix.
  • the dither matrix corresponding to the low-resolution print mode has a gradation value lower than the maximum value of the threshold elements constituting the dither matrix corresponding to the high-resolution print mode or a value higher than the minimum value.
  • the threshold value element in which the dots constituting the halftone image are arranged at all the dot arrangementable positions in the low resolution printing mode is a gradation value lower than the maximum value of the threshold elements constituting the dither matrix corresponding to the high-resolution print mode or a value higher than the minimum value.
  • the dot arrangement corresponding to the low resolution print mode and the dot arrangement corresponding to the high resolution print mode are performed. It can be accurately realized in a halftone image.
  • the “placement locations for the low-resolution print mode” and the “location locations for the high-resolution print mode” And a halftone image corresponding to the print mode can be accurately generated.
  • the dither matrix corresponding to the low resolution print mode is the dither matrix corresponding to the high resolution print mode.
  • Consists of threshold elements in which dots constituting a halftone image are arranged at all dot placement positions in the low-resolution printing mode with gradation values lower than the maximum value of threshold elements constituting the matrix It is preferable.
  • the dither matrix corresponding to the low resolution print mode corresponds to the dither matrix corresponding to the high resolution print mode. Consists of threshold elements in which dots constituting a halftone image are arranged at all dot placement positions in the low resolution printing mode with gradation values higher than the minimum value of threshold elements constituting the matrix. It is preferable.
  • the image processing apparatus further includes a gradation value adjustment unit that adjusts the gradation value of the input image, and the dots of the halftone image are arranged in all of the dot arrangementable portions among the threshold elements constituting the dither matrix.
  • the value of the threshold element used to determine that is determined for each of a plurality of printing modes, and the tone value adjustment unit selects the dot arrangement of the selected printing mode among the threshold elements constituting the dither matrix.
  • Set the tone value of the input image so that the input image does not have a tone value that is higher or lower than the value of the threshold element used to determine that dots are placed in all possible locations.
  • the halftone processing unit performs halftone processing of the input image whose tone value is adjusted by the tone value adjusting unit.
  • the gradation value adjustment unit selects the selected print out of the threshold elements constituting the dither matrix. Adjust the tone value of the input image so that the input image does not have a tone value higher than the value of the threshold element used to determine that dots are to be placed in all possible dot locations in the mode It is preferable to do.
  • the gradation value adjustment unit selects the selected print out of the threshold elements constituting the dither matrix. Adjust the tone value of the input image so that the input image does not have a tone value lower than the value of the threshold element used to determine that dots are to be placed at all possible dot locations in the mode It is preferable to do.
  • the value of the threshold element used to determine that the dots of the halftone image are arranged in all the dot arrangement possible places is the dot arrangement possible place determined for each print mode Is the maximum or minimum value of the threshold element assigned to the dither matrix pixels corresponding to. Note that it is preferable that a threshold element having a value larger or smaller than the all-dot arrangement determination threshold element is assigned to a pixel of the dither matrix corresponding to the “dot arrangement prohibited portion (pixel)” determined for each printing mode. .
  • the threshold element used for (all dot arrangement determination threshold element) is set as the maximum value of the threshold element assigned to the pixels of the dither matrix corresponding to the dot arrangement possible position determined for each printing mode.
  • the threshold element used for (all dot arrangement determination threshold element) in order to determine that halftone image dots are to be placed in all dot placement locations It is preferable to set the value of the threshold element used for (all dot arrangement determination threshold element) as the minimum value of the threshold element assigned to the pixels of the dither matrix corresponding to the dot arrangement possible position determined for each printing mode.
  • all the dots are added to the dither matrix pixels corresponding to “dot placement prohibited locations (pixels)”.
  • a threshold element having a value larger than the arrangement determination threshold element it is preferable to assign a threshold element having a value larger than the arrangement determination threshold element.
  • all the dots are added to the dither matrix pixels corresponding to the “dot placement prohibited location (pixel)”. It is preferable to assign a threshold element having a value smaller than the arrangement determination threshold element.
  • the maximum value of the threshold element constituting the dither matrix corresponding to the low resolution printing mode is larger than or smaller than the maximum value of the threshold element constituting the dither matrix corresponding to the high resolution printing mode.
  • the threshold element of the dither matrix by adjusting the threshold element of the dither matrix, it is possible to distinguish between both the dot placement possible place in the low resolution printing mode and the dot placement possible place in the high resolution printing mode, and to accurately generate the halftone image.
  • the maximum value of the threshold element constituting the dither matrix corresponding to the low-resolution printing mode is high. It is preferable that the value is larger than the maximum value of the threshold elements constituting the dither matrix corresponding to the resolution printing mode.
  • the maximum value of the threshold element constituting the dither matrix corresponding to the low resolution print mode is higher. It is preferably smaller than the minimum value of the threshold elements constituting the dither matrix corresponding to the resolution printing mode.
  • the “maximum value of the threshold element constituting the dither matrix corresponding to the low-resolution printing mode” in this aspect is preferably larger than the maximum gradation value that can be expressed in the input image, and the maximum value or the minimum value of the threshold element.
  • the maximum value of the threshold element is the dither corresponding to the dot placement prohibited portion in the low-resolution printing mode.
  • it is assigned to the pixels of the matrix.
  • the minimum value of the threshold element is the dither corresponding to the dot placement prohibited portion in the low resolution printing mode. Preferably it is assigned to the pixels of the matrix.
  • the halftone processing unit performs halftone processing using a dot arrangement mask that designates a dot arrangement possible position in the selected print mode.
  • the dot arrangement of the halftone image can be easily adapted to the definition of the printing mode by the mask process using the dot arrangement mask.
  • dot arrangement mask is mask data for determining ON / OFF of halftone image dots, and designates a dot arrangement possible place or a dot arrangement prohibited place for each print mode.
  • Mask processing using this dot arrangement mask can be realized by an arbitrary method, and can be designed as a part of a calculation algorithm for halftone processing, for example.
  • the two or more print modes include a relatively high resolution print mode and a relatively low resolution print mode, and all of the dot placement possible places in the low resolution print mode are high resolution prints. It is included in the dot placement location of the mode.
  • the halftone processing unit performs halftone processing based on a processing parameter corresponding to the selected print mode.
  • the halftone process suitable for the definition of the printing mode can be accurately performed by the processing parameter corresponding to the printing mode.
  • the halftone processing unit performs halftone processing based on an error diffusion method, and the processing parameter includes an error diffusion coefficient matrix.
  • halftone processing based on the error diffusion method can be performed according to the definition of the printing mode.
  • error diffusion method referred to here is a method of diffusing an error component generated by setting dot on / off for each pixel by halftone processing (binarization processing) and reflecting it in the pixel values of other pixels. Yes, any error diffusion method can be employed.
  • Another aspect of the present invention relates to a printing apparatus including the above-described image processing apparatus and a recording unit that performs recording on a printing medium based on a halftone image.
  • Another aspect of the present invention is an image processing method for generating a halftone image from an input image in a plurality of print modes having different degrees of definition, the image size adjusting step for adjusting the size of the input image, and the image size adjusting step A halftone processing step of generating a halftone image by performing halftone processing of the input image whose size has been adjusted in step B, and the input image is selected in the image size adjustment step between two or more print modes among a plurality of print modes.
  • the image size adjustment step are adjusted to the same size, and halftone processing is applied to input images of the same size.
  • Another aspect of the present invention relates to a program for generating a halftone image from input images in a plurality of print modes with different definition levels, a procedure for adjusting the size of the input image, and a half of the input image whose size has been adjusted.
  • a program for causing a computer to execute a procedure for generating a halftone image by performing tone processing, wherein an input image is adjusted to the same size between two or more print modes among a plurality of print modes The present invention relates to a program in which tone processing is performed on input images of the same size.
  • the present invention it is possible to share image processing (halftone processing) in a plurality of printing modes with different definition (resolution and dot arrangement form), and the image processing flow and the image processing module can be simplified. .
  • image processing halftone processing
  • the image processing flow and the image processing module can be simplified.
  • FIG. 1 is a block diagram illustrating an example of a printing apparatus.
  • FIG. 2A is a diagram illustrating the definition (resolution and dot arrangement form) for each print mode, and indicates “1200 dpi ⁇ 1200 dpi (x direction ⁇ y direction)”.
  • FIG. 2B is a diagram illustrating the definition (resolution and dot arrangement form) for each print mode, and indicates “1200 dpi ⁇ 600 dpi” (line arrangement).
  • FIG. 2C is a diagram illustrating the definition (resolution and dot arrangement form) for each print mode, and indicates “1200 dpi ⁇ 600 dpi” (staggered arrangement).
  • FIG. 2A is a diagram illustrating the definition (resolution and dot arrangement form) for each print mode, and indicates “1200 dpi ⁇ 1200 dpi (x direction ⁇ y direction)”.
  • FIG. 2B is a diagram illustrating the definition (resolution and dot arrangement form) for each print
  • FIG. 2D is a diagram illustrating the definition (resolution and dot arrangement form) for each print mode, and shows “600 dpi ⁇ 600 dpi” (lattice arrangement).
  • FIG. 2E is a diagram exemplifying the definition (resolution and dot arrangement form) for each print mode, and shows “600 dpi ⁇ 600 dpi” (hexagonal arrangement).
  • FIG. 2F is a diagram exemplifying the definition (resolution and dot arrangement form) for each print mode, and shows “600 dpi ⁇ 600 dpi” (triangular arrangement).
  • FIG. 3 shows a flow for creating halftone image data from input image data.
  • FIG. 3 shows a flow for creating halftone image data from input image data.
  • FIG. 4 shows a processing flow until input image data is subjected to image processing and input to the print head unit.
  • FIG. 5 is a block diagram illustrating an example of an image processing apparatus.
  • FIG. 6 shows an image processing flow according to the first embodiment.
  • FIG. 7A shows a conceptual diagram of a dither matrix.
  • FIG. 7B shows a histogram of “gradation value ⁇ increment pixel count”.
  • FIG. 8A is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8B is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A to 7B and a threshold element by a dot pattern.
  • FIG. 8A shows a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A to 7B and a threshold element by a dot pattern.
  • FIG. 8C is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8D is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 7A to 7B and a threshold element by a dot pattern.
  • FIG. 8E is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8F is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8C is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8D is a conceptual diagram showing a relationship between each pixel of the d
  • FIG. 8G is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 8H is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 7A and 7B and a threshold element by a dot pattern.
  • FIG. 9A shows a conceptual diagram of a dither matrix.
  • FIG. 9B shows a histogram of “gradation value ⁇ increment pixel count”.
  • FIG. 10A is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and a threshold element by a dot pattern.
  • FIG. 9A shows a conceptual diagram of a dither matrix.
  • FIG. 9B shows a histogram of “gradation value ⁇ increment pixel count”.
  • FIG. 10A is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIG
  • FIG. 10B is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and a threshold element by a dot pattern.
  • FIG. 10C is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and a threshold element by a dot pattern.
  • FIG. 10D is a conceptual diagram showing a relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and a threshold element by a dot pattern.
  • FIG. 10E is a conceptual diagram showing the relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and a threshold element by a dot pattern.
  • FIG. 11 shows an image processing flow according to the first implementation mode.
  • FIG. 12 shows an image processing flow according to the second embodiment.
  • FIG. 13 is a block diagram illustrating an example of an error diffusion method halftone process.
  • FIG. 14 shows an example of program code related to error diffusion processing using a dot arrangement mask separately from the error diffusion coefficient matrix.
  • FIG. 15A is a diagram illustrating an error diffusion coefficient matrix reflecting a dot arrangement mask.
  • FIG. 15B is a diagram illustrating an error diffusion coefficient matrix reflecting the dot arrangement mask.
  • FIG. 15C is a diagram illustrating an error diffusion coefficient matrix reflecting a dot arrangement mask.
  • FIG. 15D is a diagram illustrating an error diffusion coefficient matrix reflecting a dot arrangement mask.
  • FIG. 16 shows an example of a program code related to error diffusion processing using an error diffusion coefficient matrix reflecting a dot arrangement mask.
  • FIG. 1 is a block diagram illustrating an example of a printing apparatus.
  • the printing apparatus 10 includes a printing condition setting unit 12, an image processing unit (image processing apparatus) 14, and a print head unit 16, and prints image data in a desired printing mode from a plurality of printing modes having different resolutions. Can be printed on top.
  • the print condition setting unit 12 stores and acquires a “print image acquisition unit” that acquires image data to be printed, a “print mode acquisition unit” that acquires a print mode of the image data, and other necessary information. It functions as a “print information supply unit” to be supplied to the image processing unit 14 and the print head unit 16. Image data to be printed, information on the print mode, and other information are transmitted from the print condition setting unit 12 to the image processing unit 14 and the print head unit 16 as necessary.
  • the print mode acquisition method in the print mode acquisition unit is not particularly limited, and the print mode may be determined based on the user's selection, or the print condition setting unit 12 may select the print mode based on the print condition (environmental condition). You may determine suitably.
  • Other information supplied by the print information supply unit is not particularly limited. For example, drive waveform data that determines the ink discharge dot diameter (diameter per dot; for example, large, medium, and small dot diameters) is selected based on the print mode or the like. Then, it is determined and sent from the print condition setting unit 12 to the print head unit 16.
  • the image processing unit 14 generates halftone image data from the input image according to the definition of the print mode, and supplies the halftone image data to the print head unit 16.
  • the image processing unit 14 performs an image size adjustment unit for adjusting the size of the input image and a halftone process for the input image whose size has been adjusted by the image size adjustment unit.
  • a halftone processing unit for generating an image Particularly in this example, the image size adjustment unit adjusts the input image to the same size between two or more print modes among the plurality of print modes, and halftone processing is performed on the input image of the same size. As a result, it becomes easy to share image processing among a plurality of printing modes with different definition levels, and the image processing flow and the image processing module can be simplified.
  • the print head unit 16 is a recording unit (ejection drive unit) that performs recording on the print medium based on the halftone image data supplied from the image processing unit 14, and uses ink droplets on the print medium based on the drive waveform data. Dispense toward.
  • the specific method of ejecting ink is not particularly limited, and for example, ink is ejected from the print head unit 16 (inkjet head) toward the print medium by a piezo method using a piezo element or a thermal method using bubble pressure.
  • the printing apparatus 10 of this example performs image processing and printing processing according to an arbitrary printing mode determined from a plurality of printing modes having different definition levels.
  • FIG. 2A to 2F are diagrams illustrating the definition (resolution and dot arrangement form) for each printing mode.
  • FIG. 2A is “1200 dpi ⁇ 1200 dpi (x direction ⁇ y direction)”, and
  • FIG. 2B is “1200 dpi ⁇ 600 dpi.
  • 2C is “1200 dpi ⁇ 600 dpi” (staggered arrangement)
  • FIG. 2D is “600 dpi ⁇ 600 dpi” (lattice arrangement)
  • FIG. 2E is “600 dpi ⁇ 600 dpi” (hexagonal arrangement)
  • FIG. 2F indicates “600 dpi ⁇ 600 dpi” (triangular arrangement).
  • Each dot in the dot arrangement pattern example shown in FIGS. 2A to 2F is configured with the same diameter (same size), and solid printing is performed with a dot arrangement pattern of “1200 dpi ⁇ 1200 dpi” (see FIG. 2A).
  • solid printing in which ink is applied to the entire surface of the target print region can be realized at each resolution and each dot arrangement pattern by adjusting the dot diameter.
  • the dot diameter depends on the drive waveform, and the drive waveform is normally switched according to the print mode. In this case, the drive waveforms used in the “relatively high resolution mode” and the “relatively low resolution mode” are different, and the actual dot size may not be common between both modes.
  • the dot type is switched without switching the drive waveform, the dot types that can be used for each print mode are limited, and the degree of freedom in halftone design is reduced.
  • the dot arrangement patterns recorded on the print medium are diverse as shown in FIGS. 2A to 2F, and the dot arrangement forms may be different even at the same resolution (for example, regarding “1200 dpi ⁇ 600 dpi”, FIGS. 2B to 2C). See; see FIGS. 2D-2F for “600 dpi ⁇ 600 dpi”).
  • 2A to 2F merely illustrate dot arrangement patterns, and printing modes based on other resolutions and other dot arrangement patterns may be appropriately employed.
  • FIG. 3 shows a flow for creating halftone image data from input image data.
  • Each image processing shown in FIG. 3 is mainly performed by the image processing unit 14 (see FIG. 1).
  • Input image data D0 (for example, “images for four channels (4ch: cyan image, magenta image, yellow image, and black image in this example)), 8-bit gradation (input to the image processing unit 14 from the printing condition setting unit 12 8 bits: 256 gradations: 0 to 255 gradation values) and 300 dpi (x direction and y direction) data) are color-corrected by CMS (Color Management System) processing S1, and CMS adjusted image D1 (4ch, 8 bits) , 300 dpi).
  • CMS Color Management System
  • CMS adjustment image D1 is decomposed into process color image data by the color separation process S2, and for example, image data D2 (1ch, 8 bits, 300 dpi) of “cyan image, magenta image, yellow image, and black image” is created.
  • the resolution of each of the process color image data D2 is adjusted by receiving the resolution conversion process S3.
  • the resolution of the image data is adjusted according to the definition of the print mode. For example, when the resolution of the image data D2 is 300 dpi and the print mode resolution corresponds to 1200 dpi, the resolution of the image data is converted from 300 dpi to 1200 dpi by the resolution conversion process S3.
  • the resolution-converted image data D3 (1ch, 8 bits, 1200 dpi) is converted in number of bits by the unevenness correction process S4, and is converted from, for example, 8 bits to 12 bits.
  • the specific processing content of the unevenness correction is not particularly limited, and in this example, unevenness correction processing optimized for the ink jet method (single pass method) is performed.
  • Image data D4 (1 ch, 12 bits, 1200 dpi) after unevenness correction is multi-valued by halftone processing S5, and halftone image data D5 (1 ch, 2 bits, 1200 dpi) is created.
  • the halftone image data D5 of each process color is supplied to the corresponding head (cyan head, magenta head, yellow head, and black head) of the print head unit 16 (S6), and the ink of the corresponding color is supplied from each head to the print medium.
  • the image data is ejected and printing of the image data is performed.
  • the series of processes (S1 to S6) described above may be implemented by either software or hardware. However, it is desirable that the image processing be as fast as possible.
  • the processing after conversion into image data for each process color (resolution conversion processing S3 to halftone processing S5 in FIG. 3) is implemented by hardware. It is preferable from the viewpoint of speeding up.
  • the above-described series of processing (particularly, image processing after conversion into image data for each process color) is required to be adapted to the selected printing mode. It is done.
  • FIG. 4 shows a processing flow until input image data is subjected to image processing and input to the print head unit 16. Each process shown in FIG. 4 is performed by the image processing unit 14 (see FIG. 1).
  • image data (1ch, 8bit) for each process color is input from input image data D0 (4ch, 8bit, 300dpi) by "CMS process S11" and "separation process S12" as in the case shown in FIG. Made.
  • different image processing is performed for each selected printing mode (definition mode). That is, a corresponding image processing module is prepared in advance for each print mode, and the corresponding image processing module is selected based on information (print mode information D10) regarding a desired print mode selected from a plurality of image processes. (S13). Then, the selected image processing module (contents of image processing) performs image processing of the image data for each process color (S14), and then the halftone image data is supplied to the print head unit 16.
  • image processing A is performed, and “1200 dpi ⁇ 600 dpi” is performed.
  • Image processing B is performed when based on the definition (see FIG. 2B) of (line arrangement), and image processing is performed based on the definition of “1200 dpi ⁇ 600 dpi” (staggered arrangement) (see FIG. 2C).
  • image processing D is performed when based on “600 dpi ⁇ 600 dpi” (lattice arrangement), and image processing Z is performed when based on the definition of “Xdpi ⁇ Ydpi”.
  • image processing Z includes “image processing other than halftone processing” and “halftone processing” optimized for the corresponding print mode, and provides high-quality halftone image data according to the print mode. To generate.
  • an image processing module (hardware module and / or software module) corresponding to each print mode is prepared in advance, and a halftone image is obtained using a different image processing module for each print mode. Generate data. Therefore, it is necessary to prepare the same number of image processing modules as the printing mode in advance, and the number of image processing modules to be prepared increases as the printing modes that can be handled by the printing apparatus 10 increase. For this reason, the printing apparatus 10 (image processing apparatus) of the method shown in FIG. 4 has a high manufacturing cost and lacks flexibility in processing for the printing mode.
  • image processing is shared between multiple printing modes, and “image processing other than halftone processing (such as unevenness correction processing)” is executed without switching for each printing mode, and “halftone processing” is also performed in multiple printing modes. It is preferable to realize the same apparatus (module) and procedure as much as possible.
  • FIG. 5 is a block diagram illustrating an example of an image processing apparatus.
  • the image processing apparatus (image processing unit 14) of this example includes an image size adjustment unit 20, an image adjustment processing unit 22, and a halftone processing unit 24, and generates data of a halftone image D23 corresponding to a desired print mode. To do. That is, the size (resolution) of the input image data D0 is adjusted in the image size adjustment unit 20 (image size adjustment step), and the input image (size adjustment image D21) whose size has been adjusted is processed in the image adjustment processing unit 22 by halftone processing. Other image processing is performed.
  • the halftone processing unit 24 performs halftone processing on the input image (adjustment processing image D22) whose size has been adjusted and image processing other than halftone processing has been performed, and a halftone image D23 is generated (halftone processing). Step). Data relating to the halftone image D23 (halftone image data) is supplied from the halftone processing unit 24 to the print head unit 16.
  • image processing (“image processing other than halftone processing” and “halftone processing”) is performed. Accordingly, the input image is adjusted to the same size between a plurality of printing modes, and image processing such as halftone processing is performed on the input image of the same size, so that image processing such as halftone processing can be easily performed. Can be shared.
  • the present inventor has effectively reduced image quality by performing image processing (particularly “halftone processing”) after adjusting the size (resolution) of the input image to the same regardless of the print mode. It was newly found that it is possible to share image processing among a plurality of printing modes with different resolutions while preventing this.
  • the specific method of “identifying the input image size in the image size adjustment step” is not particularly limited. For example, even if the initial input image data is 300 dpi and the resolution (definition) of the selected print mode is 600 dpi, the image is displayed regardless of the “original input image data” and “print mode”. In the size adjustment step, the image data is changed to 1200 dpi.
  • the halftone processing unit 24 limits the arrangement of the dots constituting the halftone image D23 to the locations where the dots can be arranged in the printing mode selected from the plurality of printing modes. That is, the halftone processing unit 24 performs halftone processing that reflects the definition (resolution and dot arrangement mode) of the selected print mode, and applies halftone image dots only to the dots that can be arranged in the selected print mode. Deploy. Thereby, the halftone image data according to the definition of the selected print mode can be reliably generated.
  • the image size adjustment process and the halftone process in this way, it is possible to share image processing among a plurality of print modes while preventing deterioration of the print image.
  • the “image processing content switching process for each print mode” required in the image processing apparatus of Patent Document 1 is not required, and appropriate halftone processing according to the print mode can be performed.
  • the “installation of different modules for each aspect ratio of recording resolution” required in the image processing apparatus of Patent Document 2 is not required, and the printing mode with different aspect ratios of recording resolution and the printing mode with different dot arrangement forms are not required.
  • Appropriate halftone processing can be performed by a single processing module.
  • halftone processing based on the dither method first embodiment
  • halftone processing based on other than the dither method error diffusion method, etc.
  • second embodiment A specific example of “commonization of image processing (halftone processing)” will be described.
  • the halftone processing unit 24 of the present embodiment performs halftone processing based on the dither matrix corresponding to the selected print mode based on the dither method.
  • a mode in which halftone image dots are more likely to be turned on as pixels corresponding to dither matrix pixels having a smaller threshold element value are employed.
  • dither matrix pixels having a larger threshold element value are employed.
  • the same halftone process can be performed also in the “mode in which halftone image dots are more likely to be turned on for pixels corresponding to“.
  • FIG. 6 shows an image processing flow according to the first embodiment. Each image processing shown in FIG. 6 is mainly performed by the image processing unit 14 (see FIG. 1).
  • the CMS process (S31 in FIG. 6) and the color separation process (S32) are performed similarly to the process flow shown in FIG. 4, and image data for each process color is acquired from the input image data D0.
  • the size (resolution) of the image data of each process color is adjusted (S33), and image data of the same size (same resolution: for example, resolution of “1200 dpi ⁇ 1200 dpi”) is processed in the subsequent stage regardless of the print mode. Sent to.
  • This size conversion processing is performed by converting the image data to the largest resolution (for example, “1200 dpi ⁇ 1200 dpi” (see FIG. 2A)) or a resolution larger than the size (resolution) of the printing mode that makes the processing common.
  • the image data of each process color having a common size (resolution) is subjected to image processing other than halftone processing in common (S34), and then halftone processing (S35) is performed. Then, halftone image data is input to the corresponding head (print head unit 16) (S36).
  • the halftone processing unit 24 of this example selects a dither matrix corresponding to the print mode based on the print mode information D10 from a storage unit (not shown) that stores a dither matrix for each print mode (dither matrix selection process). S37) The selected dither matrix (dither matrix for selected printing mode D20) is applied to the image data to perform halftone processing (S35).
  • the dither method is a halftone process using a dither matrix having a configuration of W pixels ⁇ H pixels (x direction ⁇ y direction: see FIG. 7A and FIG. 9A described later) and a numerical value (threshold element) assigned to each pixel.
  • this is a technique for comparing the threshold element of the dither matrix and the pixel value (gradation value) of the image data to determine on / off of the dot of each pixel. For example, the pixel value (gradation value) of each pixel of the image data is compared with the dither matrix, and pixels with the pixel value of the image data equal to or higher than the threshold value element of the corresponding pixel are formed with the maximum brightness to form a dot.
  • Pixels whose pixel values are smaller than the corresponding threshold elements do not form dots with a minimum brightness.
  • multi-gradation image data larger than 1 bit can be converted into half-tone image data of 1-bit gradation (dot on-off).
  • the gradation bits of the halftone image data are not limited to 1 bit.
  • the dot type is represented by “four values” and the halftone image data
  • the gradation bits are 2 bits.
  • the halftone processing is multi-value processing such as binarization processing.
  • the dot arrangement by the halftone process is constrained according to the definition of the print mode, and each print mode is included in the halftone pattern that can be realized with respect to the maximum resolution (assumed maximum resolution) of the assumed print mode.
  • a halftone pattern corresponding to is included.
  • the two or more print modes employed by the printing apparatus 10 of the present embodiment include a relatively high resolution print mode and a relatively low resolution print mode, and dot placement in the low resolution print mode is possible. All of the locations are included in the locations where dots can be placed in the high-resolution print mode.
  • the resolution is at a dot placement location (see FIG. 2A) of the highest resolution “1200 dpi ⁇ 1200 dpi” printing mode. All of the dot placement possible locations (see FIGS. 2B to 2F) in the print mode with other low resolution are included. Therefore, based on the print mode of “1200 dpi ⁇ 1200 dpi” (assumed maximum resolution) based on FIG. 2A, image processing of one or a plurality of modes among the print modes based on FIGS. 2B to 2F is shared according to the process flow of FIG. Can be
  • the dot arrangement possible places in the print mode based on “1200 dpi ⁇ 600 dpi (line arrangement)” in FIG. 2B include the dot arrangement possible places in the print mode based on “600 dpi ⁇ 600 dpi (grid arrangement)” in FIG. 2D. . Therefore, the image processing can be made common according to the processing flow of FIG. 6 only for the printing mode of FIG. 2B and the printing mode of FIG. 2D.
  • “print mode of FIG. 2B, print mode of FIG. 2D and print mode of FIG. 2F”, “print mode of FIG. 2C and print mode of FIG. 2D”, etc. are shared according to the process flow of FIG. it can.
  • image processing is performed by preparing and using a dedicated image processing module (see S13 and S14 in FIG. 4) for other print modes that are not shared. May be performed.
  • a dedicated image processing module is provided for a printing mode with a relatively high definition and a printing mode with a high frequency of use, while image processing is shared with a printing mode with a relatively low definition and a printing mode with a low usage frequency. May be used.
  • a corresponding dither matrix is created in advance for each printing mode to be shared.
  • the threshold elements constituting the dither matrix are adjusted so that the dots are filled only in the dot arrangement possible places in the corresponding print mode. Therefore, by switching the dither matrix to be used according to the print mode, it is possible to apply the restriction according to the definition of the print mode to the dot arrangement of the halftone image. As a result, image processing other than halftone processing can be made common among a plurality of print modes, while an appropriate halftone image can be obtained with a dot arrangement constraint according to the print mode secured by the dither matrix.
  • FIGS. 7A to 10E are diagrams for explaining the dither matrix according to the first embodiment.
  • FIGS. 7A to 7B and FIGS. 8A to 8H are relatively high resolutions (for example, “1200 dpi ⁇ 1200 dpi” (maximum assumed).
  • FIG. 9A to FIG. 9B and FIG. 10A to FIG. 10E are diagrams for explaining a relatively low resolution (for example, “1200 dpi ⁇ 600 dpi”) print mode.
  • 7A to 7B and FIGS. 9A to 9B show a conceptual diagram of the dither matrix (see FIGS. 7A and 9A) and a histogram of “gradation value-increment pixel count” (see FIGS. 7B and 9B).
  • FIGS. 8A to 8H and FIGS. 10A to 10E are conceptual diagrams showing the relationship between the pixels of the dither matrix shown in FIGS. 7A to 7B and FIGS. 9A to 9B and the threshold elements by
  • FIGS. 10A to 10E show dither matrix pixels applied to image data expressed in 12-bit gradation (number of gradations: 4096; gradation values: 0 to 4095). Although a pattern is shown, a dither matrix corresponding to another bit gradation (for example, 8-bit gradation (number of gradations: 256; gradation value: 0 to 255)) may be used.
  • 8-bit gradation number of gradations: 256; gradation value: 0 to 255
  • the dither matrix assigns a threshold element to each pixel of “W pixels (pixels) ⁇ H pixels (x direction and y direction;“ W ”and“ H ”are arbitrary integers)”.
  • the value of the threshold element assigned to each pixel is determined according to the gradation (bit) of the image data to be processed. For example, in a dither matrix used for halftone processing of image data expressed in 12-bit gradation, a numerical value (threshold element) in the range of “0 to 4095” is an arbitrary value such as a Bayer type, a spiral type or a halftone type. Assigned to each pixel according to the placement scheme.
  • the “incremental pixel” with respect to the “gradation value” is (almost) a constant value as shown in FIG. 7B. That is, when the gradation value increases by “1”, halftone image dots increase by “W ⁇ H / number of gradations”. When “W ⁇ H / number of gradations” does not become an integer value, “incremental pixel number (ratio)” for each gradation value is determined by arbitrary fraction processing.
  • pixels to which a threshold element equal to or less than a predetermined value (“binarization threshold”) is assigned are represented by black dots.
  • the dither matrix of this example does not include a threshold element of “0” or less (see FIG. 8A), includes a threshold element of “491” or less (“dot ratio”) (see FIG. 8B), and “1024”.
  • the “increment pixel number (ratio) ) "Is not necessarily a constant value as shown in FIG. 9B.
  • the number of incremented pixels in gradation values other than the maximum gradation value is (almost) constant, but smaller than “W ⁇ H / number of gradations”.
  • the number of incremental pixels between “value-1” and “maximum gradation value” is larger than “W ⁇ H / number of gradations”.
  • the number of incremented pixels in gradation values other than the minimum gradation value is (almost) constant.
  • the value is larger than “W ⁇ H / number of gradations”
  • the number of incremental pixels between “minimum gradation value + 1” and “minimum gradation value” is larger than “W ⁇ H / number of gradations”. Also grows.
  • FIGS. 10A to 10E are conceptual diagrams showing the relationship between each pixel of the dither matrix shown in FIGS. 9A to 9B and the threshold value element by a dot pattern.
  • FIG. 10A to FIG. 10E show dither matrix pixel patterns applied to image data expressed in 12-bit gradation (number of gradations: 4096; gradation value: 0 to 4095). Pixels to which a threshold value element equal to or less than a predetermined value (“binarization threshold value”) is assigned are shown as black dots in each of FIGS. 10A to 10E.
  • the dither matrix of this example does not include a threshold element of “0” or less (see FIG. 10A), includes “12%” of the threshold elements of “1024” or less (see FIG.
  • threshold elements “2048” or less. Contains “25%” of the elements (see FIG. 10C), includes “50%” of the threshold elements below “4094” (see FIG. 10D), and “4095” for the other 50% of pixels Larger values are assigned as threshold elements.
  • the dot ratio of FIGS. 8A to 8D in the high resolution print mode and “the dot ratio of FIGS. 10A to 10D in the low resolution print mode” are the same, but the binarization thresholds are different. .
  • the dither matrix corresponding to the low-resolution print mode is printed with low resolution with a gradation value lower than the maximum value among the threshold elements constituting the dither matrix corresponding to the high-resolution print mode. It is constituted by threshold elements in which dots constituting the halftone image are arranged at all the dot arrangement possible positions in the mode. That is, the tone value (see FIG. 10D) that generates the maximum number of dots in the low resolution printing mode in the dither matrix corresponding to the printing mode of lower density dots (low resolution) is the higher density dot (high resolution). ) Is set lower than the gradation value (see FIG. 8H) for generating the maximum number of dots in the high-resolution print mode in the dither matrix corresponding to the print mode.
  • the gradation value see FIG. 8H
  • a dither matrix corresponding to a printing mode of lower density dots (low resolution) is used.
  • the gradation value that generates the maximum number of dots in the low-resolution printing mode is the gradation value that generates the maximum number of dots in the high-resolution printing mode in the dither matrix corresponding to the higher-density dot (high resolution) printing mode. Set higher than the value.
  • the maximum value of the threshold elements constituting the dither matrix in FIGS. 7A to 7B and FIGS. 8A to 8H corresponding to the high resolution (for example, “1200 dpi ⁇ 1200 dpi”) printing mode is “4095”.
  • 9D and FIG. 10A to FIG. 10E show all of the dot arrangement possible positions in the low resolution (for example, “1200 dpi ⁇ 600 dpi”) printing mode, as shown in FIG. 10D.
  • halftone image dots are arranged at all the dot arrangementable positions in the low resolution printing mode with a gradation value of “4094”, which is lower than “4095” (see FIG. 10D).
  • the halftone image is substantially defined by pixels (see FIG. 10D) to which a threshold element of substantially “4094” or less is assigned.
  • the data of the pixel portion (see FIG. 10E) to which a threshold element of “4095” or higher is assigned is substantially not used.
  • the maximum tone value for example, “4095” for a 12-bit image
  • a threshold element having a value less than or equal to “255” in an 8-bit image is assigned to all pixels of the dither matrix.
  • the above-mentioned “low resolution printing mode” is not “a printing mode in which dots are arranged in all pixels (maximum resolution printing mode)”
  • at least “a gradation in which dots are arranged in all pixels (maximum gradation). Value) (see FIG. 10E) is discarded.
  • At least one gradation of data is discarded in the “low-resolution printing mode”, but the influence of discarding one gradation of data in multi-bit (8 bits, 12 bits, etc.) processing is extremely high. In addition, the influence of data for one gradation in the “low-resolution printing mode” is very small.
  • a dither matrix is prepared for each print mode, the numerical values and arrangement of threshold elements of each dither matrix are adjusted, and dots of the halftone image can be arranged only in the dots that can be arranged in the corresponding print mode.
  • the dot-placeable dot (dot-placeable pixel) in the low-resolution print mode. ) May be set smaller than the threshold elements corresponding to other locations (pixels).
  • the dots constituting the halftone image are preferentially arranged at the dot arrangementable positions in the low resolution printing mode.
  • mode for switching the dither matrix to be used according to the print mode as a specific method for easily and surely realizing the halftone process according to the definition of the print mode, for example, there are the following implementation modes.
  • FIG. 11 shows an image processing flow according to the first implementation mode. Each image processing shown in FIG. 11 is mainly performed by the image processing unit 14 (see FIG. 1).
  • image processing (S44) other than CMS processing (S41), color separation processing (S42), image size adjustment processing (S43), and halftone processing is performed as in the processing flow of FIG.
  • a gradation value adjustment process (S45) of the image data Prior to the halftone process (S46), a gradation value adjustment process (S45) of the image data is performed.
  • the image processing unit 14 in this embodiment mode further includes a gradation value adjustment unit that adjusts the gradation value of the input image, and the gradation value (pixel value) of the image data is adjusted by the gradation value adjustment unit ( S45).
  • this gradation value adjustment process (S45) for example, a gamma correction process or the like is performed, and the maximum pixel value (maximum gradation value) of the image data is changed according to the print mode.
  • the minimum pixel value (minimum gradation value) of the image data is determined by the gradation value adjustment process (S45). ) Can be changed according to the print mode.
  • the dot placement possible place and the dot placement prohibited place are determined according to the print mode.
  • the pixel indicated by the black dot is “dot placement possible place”. ", And the pixels indicated by white dots correspond to” dot placement prohibited places ".
  • the presence or absence of a halftone image dot in each pixel is determined by comparing the threshold element of each pixel of the dither matrix with the pixel value of the image data. For example, the pixel value of the image data is greater than or equal to the threshold element of the corresponding pixel.
  • the dot is turned on, and if it is smaller than the threshold element of the corresponding pixel, the dot can be turned off.
  • halftone image data in accordance with the fineness of the printing mode can be obtained by adjusting the processing so that the pixel value of the image data does not exceed the threshold element of the corresponding pixel of the dither matrix with respect to the pixel position of the dot placement prohibited portion. It can be generated easily and reliably.
  • the value of the threshold element used to determine that the dots of the halftone image are arranged in all the dot arrangement possible places according to the print mode is Defined for each print mode.
  • the threshold element of the maximum value is applied to the pixel of the dither matrix corresponding to the dot placement prohibition location (“4095” in the case of 12-bit gradation expression) can be assigned.
  • a threshold element having a value smaller than the maximum value (for example, “0” to “4094”) can be assigned to the pixel of the dither matrix corresponding to the dot arrangement possible location.
  • “the value of the threshold element used to determine that the dot is arranged in all the dot arrangement possible places in the printing mode” is the threshold element assigned to the pixel corresponding to the dot arrangement possible place.
  • the maximum value (for example, “4094”) can be used.
  • the definition of the print mode is the assumed maximum resolution (see FIG. 2A) and does not include a dot placement prohibition point
  • a threshold element in a range that can be expressed for the pixels of the dither matrix (12-bit gradation expression) In this case, “0” to “4095”) can be assigned.
  • this is a mode in which halftone image dots are more likely to be turned on for pixels corresponding to dither matrix pixels having a larger threshold element value
  • the print mode definition includes not the expected maximum resolution but a dot placement prohibition point.
  • a threshold element having a minimum value can be assigned to a pixel of the dither matrix corresponding to the dot arrangement prohibited place.
  • a threshold element (for example, “1” to “4095”) having a value larger than the minimum value can be assigned to the pixel of the dither matrix corresponding to the dot arrangement possible location.
  • the value of the threshold element used to determine that the dot is arranged in all the dot arrangement possible places in the printing mode is the threshold element assigned to the pixel corresponding to the dot arrangement possible place.
  • the minimum value (for example, “1”) may be used.
  • the threshold element of the dither matrix is set for each printing mode, and the threshold element assigned to the pixel corresponding to the dot prohibited portion and the pixel corresponding to the dot arrangement possible portion is determined.
  • the pixel value of the image data is adjusted in advance by a gradation value adjustment process S45 prior to the halftone process S46.
  • the tone value adjustment unit is more than the threshold element value used to determine that dots are arranged in all the dot arrangement possible positions of the selected print mode among the threshold elements constituting the dither matrix.
  • the gradation value of the input image is adjusted so that the input image does not have a large gradation value.
  • the pixel value of the image data is adjusted to a value smaller than the threshold element of the corresponding pixel of the dither matrix at the dot placement prohibited portion (pixel) based on the print mode.
  • the halftone processing unit 24 performs a halftone process S46 of the input image whose tone value is adjusted by the tone value adjusting unit.
  • “4095” (12-bit gradation expression) is set for the high-resolution print mode as the value of the threshold element used to determine that the dots of the halftone image are to be arranged at all the dot arrangementable positions.
  • “4094”, which is smaller than the high resolution print mode may be set for the low resolution print mode.
  • the gradation value adjustment unit performs gradation value adjustment processing (S45) so that each pixel value of the input image does not have a value larger than “4095”.
  • gradation value adjustment processing (S45) is performed so that each pixel value of the input image does not have a value larger than “4094”.
  • each pixel value of the image data is inherently a value of “4095” or less, so the high-resolution print mode is selected. If it is, the gradation value adjustment is not substantially performed.
  • each pixel value of the image data becomes a numerical value of “4094” or less, and thus a value larger than “4094”.
  • a dot of a halftone image is not arranged at a pixel (dot placement prohibited portion) to which the threshold element is assigned.
  • the specific value and arrangement mode of the threshold elements of the dither matrix may be changed for each printing mode, and the tone value adjustment is performed so that dot arrangement according to the definition of the selected printing mode is realized. It may be determined based on the processed image data (pixel value).
  • tone value adjustment processing (S45) and halftone processing (S46) using a dither matrix halftone image data accurately reflecting the definition of the selected print mode is created.
  • the data structure (number of bits) of the dither matrix for each print mode can be made common, and the mechanism of the image processing module can be made very simple.
  • ⁇ Second implementation mode> image processing (halftone processing) is performed according to a flow similar to the processing flow of FIG. 6, but the maximum value of the threshold elements of the dither matrix is adjusted according to the printing mode.
  • the point that the halftone image data corresponding to the print mode is generated by avoiding that the pixel value of the image data is greater than or equal to the threshold value element of the corresponding pixel of the dither matrix with respect to the pixel position of the dot placement prohibition point.
  • the implementation mode is common to the first implementation mode described above.
  • the gradation (pixel value) of the image data is adjusted by gamma correction processing or the like prior to halftone processing (see S45 in FIG. 11).
  • the threshold element of the dither matrix Change (especially the maximum value) for each print mode.
  • the maximum value of the threshold elements constituting the dither matrix corresponding to the low resolution print mode is larger than the maximum value of the threshold elements constituting the dither matrix corresponding to the high resolution print mode.
  • a dither matrix is defined.
  • the maximum value of the threshold elements constituting the dither matrix used in the high resolution print mode of “1200 dpi ⁇ 1200 dpi” is “4095”
  • the low resolution print mode of “1200 dpi ⁇ 600 dpi” (FIG.
  • the maximum value of the threshold element constituting the dither matrix used in (2B) can be set to “4096” or a larger numerical value. This is a threshold value that is larger than the maximum gradation value of the image data for the pixels of the dither matrix corresponding to the pixels in which the dots are not originally arranged in the definition (resolution and dot arrangement mode) of the selected print mode. It is assigned as an element.
  • the maximum value of the dither matrix threshold element may vary for each print mode, so the data structure (number of bits) of the dither matrix varies between print modes, and the dither matrix data structure cannot be shared. Therefore, from the viewpoint of sharing the data structure of the dither matrix, the first implementation mode described above is superior to the second implementation mode.
  • the halftone processing unit 24 of the present embodiment performs halftone processing based on an error diffusion method using an error diffusion coefficient matrix as a processing parameter, and in particular performs error diffusion processing that directly reflects the dot arrangement constraint for each print mode.
  • the error diffusion process is a technique for performing halftone processing (multi-value processing) while diffusing error components using an error diffusion coefficient matrix.
  • the error diffusion coefficient matrix has a matrix structure in which an error diffusion coefficient is assigned to each pixel of “P pixel (pixel) ⁇ Q pixel (x direction and y direction;“ P ”and“ Q ”are arbitrary integers)”. .
  • the value of the error diffusion coefficient assigned to each pixel is determined according to the error distribution ratio, and the error diffusion process is performed by accumulating the product of the error component and the error diffusion coefficient accompanying the multi-value conversion into the pixel value.
  • FIG. 12 shows an image processing flow according to the second embodiment. Also in this embodiment, similarly to the processing flow shown in FIG. 6, the CMS process (S51 in FIG. 12) and the color separation process (S52) are performed on the input image data D0, and the size of the image data of each process color (Resolution) is adjusted (S53), image processing other than halftone processing and halftone processing are performed (S54, S55), and halftone image data is input to the print head unit 16 (S56).
  • the halftone processing unit 24 of the present embodiment performs a dot arrangement mask and error diffusion coefficient matrix selection process based on the print mode information D10 (S57), and uses the selected dot arrangement mask and error diffusion coefficient matrix D30. Then halftone processing (S55) is performed.
  • the dot arrangement mask is mask data that directly or indirectly designates a dot arrangement possible place (or a dot arrangement prohibited place) in the selected print mode, and the definition (resolution and dot arrangement form) for each print mode.
  • a reflected dot arrangement mask is prepared.
  • the halftone processing unit 24 performs halftone processing (S55) based on the dot arrangement mask and processing parameters (such as error diffusion coefficient matrix) corresponding to the selected print mode.
  • the two or more print modes employed by the printing apparatus 10 include a relatively high resolution print mode and a relatively low resolution print mode. All of the dot arrangement possible places in the low resolution printing mode are included in the dot arrangement possible places in the high resolution printing mode.
  • the dot placement location cannot be restricted according to the print mode, and errors are distributed to pixels where dots cannot be placed (dot placement prohibited locations). Invitation may occur and artifacts may occur.
  • a dot arrangement mask is used, and the arrangement of halftone image dots is determined according to the definition of the selected print mode, and the error is distributed to pixels where dots cannot be arranged (dot arrangement prohibited places). Is prevented.
  • FIG. 13 is a block diagram showing an example of the error diffusion method halftone process.
  • the error diffusion method halftone process of this example applies a dot arrangement mask corresponding to the definition of the selected print mode to the image data to be processed, and binarizes the image data to which the dot arrangement mask is applied Processing and error diffusion processing are performed.
  • the halftone processing unit 24 includes an error diffusion coefficient matrix and the like in addition to image data (halftone input image D40: for example, “1200 dpi ⁇ 1200 dpi”) subjected to image processing other than halftone processing (common image processing S54). And a dot arrangement mask D33 corresponding to the selected print mode.
  • the data of the halftone parameter D35 and the dot arrangement mask D33 are prepared in advance and stored in a storage unit (not shown). The halftone processing unit 24 accesses this storage unit as necessary. Get these data.
  • the dot arrangement mask D33 and the halftone parameter (error diffusion coefficient matrix) D35 selected according to the print mode are used to perform the halftone process S55. Is called.
  • the dot arrangement mask D33 is applied to the halftone input image D40, and the dot arrangement possible places are limited.
  • the halftone process S55 it is determined whether the pixel of the dot arrangement mask corresponding to the processing target pixel of the image data is on (dot arrangement possible place) or off (dot arrangement prohibited place).
  • halftone processing binarization processing
  • the dot on / off determination processing of the next pixel is performed.
  • the pixel of the dot arrangement mask is off, the pixel to be processed is set to dot off, and the next pixel on / off determination process is performed.
  • the dot on / off determination process for each pixel based on the on / off information of the dot arrangement mask is repeatedly performed for all the pixels of the image data, and halftone image data is generated.
  • the dot placement possible positions by the dot placement mask are not substantially limited (see “1200 ⁇ 1200 dpi (maximum resolution)” in FIG. 13).
  • the dot-off mask m dot placement mask is applied to pixels where dots are not placed (dot placement prohibited locations) according to the definition of the print mode. Is done.
  • the pixel value is set to “0 (zero)” in the binarized halftone image, and no dot is arranged (“halftone output image D50 (1200 ⁇ 1200 dpi) ”), the error component is not distributed.
  • pixels to which the dot-off mask m is not applied are places where dots can be placed, and error components are allocated, and dot on / off is determined based on the error diffusion method.
  • the halftone image data generated in the memory space corresponding to the definition of the high definition printing mode is transmitted to the print head unit 16 as it is.
  • the method of multi-leveling (binarization or the like) of the halftone process S55 based on the error diffusion method is not particularly limited, and the pixel value of the image data is a predetermined threshold (for example, a value half the number of gradations of the image data ( In the case of 12-bit gradation, “dot on” can be set if it is larger than “2048”)), and “dot off” can be set if it is below the threshold.
  • the pixel value of the image data that is the basis for this dot on / off determination is a value after the error from the peripheral pixels is distributed according to the error diffusion coefficient matrix.
  • the dot arrangement mask is also used in the error distribution process by the error diffusion method. That is, based on the dot arrangement mask, the halftone processing unit 24 distributes the error so that the error is distributed only to the dot-on pixel (dot-placeable portion) and the error is not distributed to the dot-off pixel (dot placement prohibited pixel). Control.
  • the error distribution control method includes “a method using a dot arrangement mask separately from an error diffusion coefficient matrix” and “a method using an error diffusion coefficient matrix reflecting a dot arrangement mask”.
  • the error distribution is determined by directly using the dot arrangement mask. That is, the halftone processing unit 24 determines whether the target pixel can be placed in a dot (no dot off mask m is applied) or a dot placement is prohibited (applies a dot off mask m) during error distribution processing. The error is distributed only to the portion, and the error is not distributed to the pixel determined as the dot placement prohibited portion.
  • FIG. 14 shows a program code example related to error diffusion processing using a dot arrangement mask separately from the error diffusion coefficient matrix.
  • FIG. 14 shows program codes written in C language, but other algorithms or other program languages may be used.
  • lines “10” and “20” define that the processes described in the subsequent lines are repeatedly performed over the entire pixels (image height h, image width w) of the input image to be processed.
  • Lines “30” and “40” are calculated to reflect an error in each pixel value, and the pixel value (input image) src [i, j] of the target pixel (i, j) is diffused from surrounding pixels. The error err (i, j) is added, and the pixel value val after error diffusion reflection is calculated.
  • Lines “50” to “70” are subjected to multilevel processing, and the pixel value val of the target pixel (i, j) is compared with a threshold value to obtain the dot diameter type k (line “60”).
  • a new diffusion error amount newErr is obtained from the difference between the pixel value val and the dot amount of the dot diameter type k (line “70”). Lines “80” to “150” obtain the diffusion error amount to the peripheral pixel (i + n, j + m) based on the new diffusion error amount newErr. That is, the error is repeatedly diffused within the range of “0” to “error diffusion coefficient matrix width edfmatH, edfmatW” (lines “90” and “100”).
  • peripheral pixel (i + n, j + m) is a dot-placeable pixel (mask ON pixel)
  • a new diffusion error is obtained by accumulating the product of the new diffusion error amount newErr and the error diffusion coefficient matrix edfmat [n, m].
  • err [i + n, j + m] is calculated (lines “120” and “130”).
  • the peripheral pixel (i + n, j + m) is a dot arrangement prohibited pixel (mask OFF pixel)
  • no diffusion error is distributed to the peripheral pixel.
  • error diffusion is performed in consideration of a dot arrangement mask prepared separately from the error diffusion coefficient matrix.
  • an error diffusion coefficient matrix reflecting the dot arrangement mask is used, and the dot arrangement mask is changed. Error diffusion may be performed without using it directly.
  • FIGS. 15A to 15D are diagrams exemplifying error diffusion coefficient matrices reflecting the dot arrangement mask.
  • a pixel (pixel) indicated by “*” is a pixel corresponding to the processing target pixel, and an error diffusion coefficient is assigned to the pixels indicated by “a” to “l” in English. Yes.
  • the error diffusion coefficient assigned to the pixel represented by “0 (zero)” (dots in FIGS. 15A to 15D) is “0 (zero)”, and the pixel assigned the error diffusion coefficient of “0” is assigned to the pixel.
  • the error is not diffused to the corresponding pixel.
  • the hatched pixels in FIGS. 15A to 15D correspond to processed pixels and are not subject to error diffusion.
  • the error diffusion coefficient matrix K of FIG. 15A corresponds to the printing mode (1200 dpi ⁇ 1200 dpi) of FIG. 2A
  • the error diffusion coefficient matrix of FIG. 15B is the printing mode of FIG. 2B (1200 dpi ⁇ 600 dpi (line arrangement)
  • 15C corresponds to the printing mode of FIG. 2C (1200 dpi ⁇ 600 dpi (staggered arrangement)
  • the error diffusion coefficient matrix of FIG. 15D corresponds to the printing mode of FIG. 2D (600 dpi ⁇ 600 dpi (grid). Corresponding to the shape arrangement)).
  • the error diffusion coefficient matrix K shown in FIGS. 15A to 15D takes into consideration the dot placement possible position (dot placement mask) in the corresponding print mode, so that the error is not diffused to the pixel where the dot is not placed (dot placement prohibited place). In addition, an error diffusion coefficient of “0” is assigned to the corresponding pixel.
  • the error diffusion coefficient matrix shown in FIGS. 15A to 15D is prepared in advance for each printing mode, and the halftone processing unit 24 selects and uses the corresponding error diffusion coefficient matrix according to the selected printing mode. Error diffusion according to the definition of the printing mode can be performed. Depending on the relationship between the definition (resolution and dot arrangement mode) between a plurality of printing modes, one error diffusion coefficient matrix is used as a reference, and this reference error diffusion coefficient matrix is expanded according to the definition of the printing mode.
  • the error diffusion coefficient matrix generated by the above may be used in the halftone process.
  • FIG. 16 shows an example of a program code related to error diffusion processing using an error diffusion coefficient matrix reflecting a dot arrangement mask.
  • the error diffusion processing of this example specifies that the processing is repeated over the entire pixels of the input image to be processed (lines “10” and “20” in FIG. 16), and the error is reflected.
  • Calculation processing lines “30” and “40”), multi-value processing, new error amount newErr calculation processing (lines “50” to “70”), and error diffusion processing (lines “80” to “110”) )I do.
  • error diffusion method “a method using a dot arrangement mask separate from the error diffusion coefficient matrix (see FIG. 14: error diffusion method ⁇ )”, “a method that reflects the dot arrangement mask in the error diffusion coefficient matrix”.
  • a method of preparing an error diffusion coefficient matrix in advance for each printing mode see FIGS. 15A to 16: error diffusion method ⁇ -1) ”and“ a method of reflecting a dot arrangement mask in an error diffusion coefficient matrix,
  • error diffusion technique ⁇ -2 for expanding and transforming the error diffusion coefficient matrix for each print mode.
  • the error diffusion method ⁇ -1 and the error diffusion method ⁇ -2 are preferable to the error diffusion method ⁇ from the viewpoint of image quality, and the error diffusion method ⁇ -1 is preferable from the viewpoint of improving the quality of the printed image, such as graininess. Is preferable to the error diffusion method ⁇ -2.
  • ⁇ Modification> When image processing is made common between print modes, image processing in a common print mode (particularly, a relatively low-density (low-resolution) print mode) performs image processing in a higher-density data state. Therefore, the processing speed itself becomes slow. Therefore, it is not always necessary to share image processing in all print modes. For example, it is preferable to provide a dedicated image processing module for a print mode that is frequently used by a user.
  • each of the above-described configurations and functions can be appropriately realized by arbitrary hardware, software, or a combination of both.
  • a computer-readable recording medium non-transitory recording medium
  • the present invention can be applied.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

 精細度の異なる複数の印刷モードに基づく画像処理において、印刷モード間で処理を共通化して全体の画像処理フローを簡素化できる画像処理装置、印刷装置、画像処理方法及びプログラムを提供する。画像処理部14は、入力画像のサイズを調整する画像サイズ調整部20と、画像サイズ調整部20によってサイズが調整された入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理部24とを備える。精細度の異なる複数の印刷モードのうち2以上の印刷モード間で、画像サイズ調整部20は入力画像を同じサイズに調整し、ハーフトーン処理部24におけるハーフトーン処理が同じサイズの入力画像に施される。

Description

画像処理装置、印刷装置、画像処理方法及びプログラム
 本発明は、精細度が異なる複数の印刷モードを採用する印刷デバイスにおける画像処理手法に関し、特にハーフトーン処理を含む画像処理を簡素化するための技術に関する。
 印刷ヘッド等の機構を変更することなく、印刷方式を切り換えることで出力解像度を変更可能な印刷機が知られており、例えば「1200dpi(dots per inch)×1200dpi」、「1200dpi×600dpi」及び「600dpi×600dpi」などの解像度で印刷を行うことができる。また解像度だけではなく、ドット配置形態を変えることも可能であり、様々なドット配置形態(例えば格子状配置及び千鳥状配置等)の印刷モードで印刷を行うことができる。
 一方、画像データの入力から印刷が行われるまでの間には、色変換処理、解像度変換処理、分版処理、ムラ補正処理及びハーフトーン処理などの様々な画像処理プロセスがある。印刷モードに基づくこれらの一連の画像処理を経て、所望の画像が記録紙等の印刷媒体に記録される。
 特許文献1は、格子状に画素を配置した入力画像データを千鳥状記録によって忠実に再現するための画像処理装置を開示する。この画像処理装置では、入力画像データ中の情報量半減方向において連続する複数の画素が解像度変換の一変換単位に設定され、変換単位の位置が千鳥状記録の位相に合わせられ、入力画像データ中の情報量維持方向の奇数列と偶数列とでずらされて解像度変換が行われる。
 また特許文献2は、全体としての記憶容量を低減するための画像処理装置を開示する。この画像処理装置は、複数の記録解像度の縦横比毎に異なるハーフトーン処理を行うモジュールを備え、一の記録解像度の縦横比に対応するモジュールが選択及び使用されてハーフトーン処理が行われる。これにより、記録解像度が異なっていても縦横比が同じであれば、共通の閾値マトリクスを用いてハーフトーン処理が行われる。
 また特許文献3は、誤差拡散法に基づく画像量子化を行う機能を有する画像処理装置を開示する。この画像処理装置は、出力解像度に応じて誤差の拡散係数を変更し、例えば出力解像度が低い場合は誤差の拡散範囲を小さくし、出力解像度が高い場合は誤差の拡散範囲を大きくする。
特開2012-134968号公報 特開2006-186755号公報 特開2002-135583号公報
 複数の印刷モードの中から所望の印刷モードを選択して印刷を行うケースでは、印刷モード毎に画像処理モジュールを準備する必要があり、印刷モードが増えるほど処理が煩雑になる。画像処理の高速化の観点からは、ソフトウェア処理ではなくハードウェア処理によって画像処理モジュールが実現されることが好ましく、ハードウェア設計の観点からも、複雑な画像処理フローは可能な限り避けることが望ましい。一方、画像処理モジュールをソフトウェアで実装する場合であっても、画像処理フローが複雑になると、ソフトウェアモジュールが巨大化し、処理負荷や処理時間が大きくなる。
 印刷モードを変更して解像度やドット配置形態を変える場合、CMS(Color Management System)に基づくシステムのように印刷モードによらずに画像処理を共通化できるケースもあるが、多くのケースでは、画像処理内容が解像度及びドット配置形態と関連するため印刷モード毎に画像処理内容を変える必要がある。簡単な例としては、出力解像度に応じて入力画像の解像度変換が行われたり、ドット配置形態を変えるためにハーフトーン処理の方式が変更されたりする。印刷モードに応じて解像度やドット配置形態が変わると、ハーフトーン画像のドットパターンが崩れて画質が著しく劣化する虞があるため、印刷モード毎に最適化されたハーフトーン処理を行うことが好ましい。
 したがって様々な精細度の画像データ(ハーフトーン画像)を出力可能とするためには、出力画像データの精細度に応じた処理パラメータを個別的に設定したり、特有の画像処理モジュールを個別的に設けたりすることが求められており、処理が複雑になる。処理が複雑になるとシステム規模が大きくなり、処理に要する時間が長くなって生産性が落ちる。またFPGA(Field Programmable Gate Array)などに基づいて画像処理モジュールを実装する場合、処理の複雑化に伴って高スペックで高価な回路類を使用する必要があり、またハードウェア構成が複雑化して画像処理モジュールの実装自体が困難になるケースも想定される。
 したがって精細度の異なる様々なモードで印刷を行う装置では、画像処理を簡素化し、画像処理モジュールの実装を簡易にすることが望ましい。しかしながら、従来の印刷デバイスでは、そのような観点に基づく画像処理内容及び画像処理装置の簡素化が十分には図られていない。
 例えば特許文献1の画像処理装置において複数の印刷モード(通常印刷モード及び千鳥状記録印刷モード)を実行するためには、印刷モード毎の画像処理(通常用の画像処理及び千鳥状記録用の画像処理)を行う複数の処理モジュールを設ける必要がある。また特許文献2の画像処理装置において複数の印刷モード(画像データの複数の縦横比モード)を実行するためには、縦横比モード毎に複数の処理モジュールを設ける必要がある。同様に、特許文献3の画像処理装置において複数の印刷モード(出力解像度)を実行するためには、出力解像度に応じた複数の処理モジュールを設ける必要がある。
 このように、従来の印刷デバイスにおいて複数の精細度モード(印刷モード)で印刷を行う場合にはモード毎に別個の処理モジュールを設ける必要があり、ハーフトーン処理等の画像処理の処理内容及びハードウェア構成が肥大化する。
 本発明は上述の事情に鑑みてなされたものであり、精細度の異なる複数の印刷モードに基づく画像処理において、印刷モード間で処理を共通化して全体の画像処理フローを簡素化することで、モジュールの大規模化や複雑化を抑えることが可能な画像処理装置及びその関連技術を提供することを目的とする。
 本発明の一態様は、精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成する画像処理装置であって、入力画像のサイズを調整する画像サイズ調整部と、画像サイズ調整部によってサイズが調整された入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理部とを備え、複数の印刷モードのうち2以上の印刷モード間で、画像サイズ調整部は入力画像を同じサイズに調整し、ハーフトーン処理が同じサイズの入力画像に施される画像処理装置に関する。
 本態様によれば、精細度の異なる2以上の印刷モード間でハーフトーン処理が同じサイズの入力画像に施されるため、ハーフトーン処理等の画像処理の共通化が容易になる。したがって、印刷モードによらずにハーフトーン処理対象の入力画像のサイズを同一にすることで、画像処理全体のフローを簡素化し、モジュールの大規模化や複雑化を効果的に抑えることができる。
 ここでいう「精細度」とは解像度(サイズ)及びドット配置形態の両者を含む概念である。したがって、出力解像度が異なる印刷モード同士だけではなく、出力解像度が同じであってもドット配置形態が異なる印刷モード同士は、精細度の異なる印刷モードとなる。
 「画像」の概念には、印刷媒体に再現された「画像自体」のみではなく、印刷画像の元になる「画像データ」も広義には含まれる。したがって「入力画像」は、画像処理装置に入力される画像の元データであり、「ハーフトーン画像」は、ハーフトーン処理後の2値化されたドットのオン-オフを表す画像データである。
 望ましくは、ハーフトーン処理部は、ハーフトーン画像を構成するドットの配置を、複数の印刷モードのうち選択された印刷モードのドット配置可能箇所に限定する。
 本態様によれば、ハーフトーン画像を構成するドット(ハーフトーン画像ドット)の配置が印刷モードに応じて限定され、印刷モードに適合するハーフトーン画像を的確に生成できる。
 ここでいう「ドット配置可能箇所」は、対応の印刷モードの精細度(解像度及びドット配置態様)に基づいて定められるハーフトーン画像ドットを配置可能な箇所(画素)を意味する。本態様では、ハーフトーン処理対象の入力画像のサイズが印刷モードによらずに同一に調整される。したがって、低解像度(例えば600dpi)の印刷モードが選択されても高解像度(例えば1200dpi)の印刷モードが選択されても、同じ解像度(例えば1200dpi)に画像サイズ(解像度)が調整される。そのため低解像度の印刷モードが選択される場合であっても、高解像度の印刷モードの解像度でハーフトーン処理が行われることがあり、その場合、低解像度の印刷モードの本来の解像度に適合するようにサイズ調整後の画像データの一部の画素でドットオフにされる。例えばx方向(又はy方向)に関し、「低解像度の印刷モードの解像度:高解像度の印刷モードの解像度=1:N」の関係の場合、「低解像度の印刷モードにおけるハーフトーン画像のドット配置可能画素数:高解像度の印刷モードにおけるハーフトーン画像のドット配置可能画素数=1:N」を満たすように、各印刷モードにおけるドット配置可能箇所が限定される。
 望ましくは、ハーフトーン処理部は、ディザ法に基づき、選択された印刷モードに応じたディザマトリクスに基づいてハーフトーン処理を行う。
 本態様によれば、印刷モードに基づいて定められるディザマトリクスを用いたハーフトーン処理を行うことができ、印刷モードに適合するハーフトーン画像を的確に生成できる。
 ここでいう「ディザマトリクス」とは、複数のピクセルによって構成され各ピクセルに閾値要素が割り当てられる閾値マトリクスであり、ディザマトリクスの閾値要素と入力画像の画素値とが比較されて各画素におけるハーフトーン画像ドットのオン-オフが定められる。
 望ましくは、2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、低解像度の印刷モードのドット配置可能箇所の全ては、高解像度の印刷モードのドット配置可能箇所に含まれる。
 本態様によれば、低解像度の印刷モードのドット配置可能箇所は高解像度の印刷モードのドット配置可能箇所と重なるため、ハーフトーン処理の共通化が容易である。
 本態様の「高解像度の印刷モード」及び「低解像度の印刷モード」は相対的な関係に基づいて定められる。したがって、複数の印刷モードのうち最も解像度の高い印刷モードを「高解像度の印刷モード」とする一方で他の印刷モードを「低解像度の印刷モード」として扱ってもよい。また「最も解像度の高い印刷モード」以外の印刷モードを「高解像度の印刷モード」とする一方で、その「高解像度の印刷モード」よりも低い解像度の印刷モードを「低解像度の印刷モード」として扱ってもよい。
 望ましくは、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素のうち、低解像度の印刷モードのドット配置可能箇所に対応する閾値要素は他の箇所に対応する閾値要素よりも値が小さく又は大きく、ハーフトーン画像を構成するドットは、低解像度の印刷モードのドット配置可能箇所に優先的に配置される。
 本態様によれば、ハーフトーン画像を構成するドットは、高解像度の印刷モードにおいても、低解像度の印刷モードのドット配置可能箇所に優先的に配置され、ハーフトーン処理を簡便に行うことができる。なおディザ法には、「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」と、「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」とがあり、ディザマトリクスの閾値要素との比較において階調は反転していてもよい。
 望ましくは、低解像度の印刷モードに応じたディザマトリクスは、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値よりも低い値の階調値にて又は最小値よりも高い値の階調値にて、低解像度印刷モードのドット配置可能箇所の全てに、ハーフトーン画像を構成するドットが配置される閾値要素によって構成される。
 本態様によれば、ハーフトーン処理対象の入力画像のサイズが印刷モードによらず同一に調整されても、低解像度の印刷モードに対応するドット配置及び高解像度の印刷モードに対応するドット配置をハーフトーン画像において的確に実現できる。ディザマトリクスの閾値要素と印刷モード毎のドット配置可能箇所とを本態様のように相互に関連付けることで、「低解像度印刷モードのドット配置可能箇所」と「高解像度印刷モードのドット配置可能箇所」とを区別して印刷モードに応じたハーフトーン画像を的確に生成できる。
 例えば「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、低解像度の印刷モードに応じたディザマトリクスは、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値よりも低い値の階調値にて、低解像度印刷モードのドット配置可能箇所の全てに、ハーフトーン画像を構成するドットが配置される閾値要素によって構成されることが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、低解像度の印刷モードに応じたディザマトリクスは、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最小値よりも高い値の階調値にて、低解像度印刷モードのドット配置可能箇所の全てに、ハーフトーン画像を構成するドットが配置される閾値要素によって構成されることが好ましい。
 望ましくは、画像処理装置は入力画像の階調値を調整する階調値調整部を更に備え、ディザマトリクスを構成する閾値要素のうち、ドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値は、複数の印刷モードの各々について定められ、階調値調整部は、ディザマトリクスを構成する閾値要素のうち、選択された印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値よりも高い階調値又は低い階調値を、入力画像が持たないように、入力画像の階調値を調整し、ハーフトーン処理部は、階調値調整部によって階調値が調整された入力画像のハーフトーン処理を行う。
 本態様によれば、入力画像の階調値を調整することで、低解像度印刷モードのドット配置可能箇所及び高解像度印刷モードのドット配置可能箇所の両者を区別し、ハーフトーン画像を的確に生成できる。
 例えば「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、階調値調整部は、ディザマトリクスを構成する閾値要素のうち、選択された印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値よりも高い階調値を、入力画像が持たないように、入力画像の階調値を調整することが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、階調値調整部は、ディザマトリクスを構成する閾値要素のうち、選択された印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値よりも低い階調値を、入力画像が持たないように、入力画像の階調値を調整することが好ましい。
 「ドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値(全ドット配置決定閾値要素)」は、印刷モード毎に定められるドット配置可能箇所に対応するディザマトリクスのピクセルに割り当てられる閾値要素の最大値又は最小値である。なお、印刷モード毎に定められる「ドット配置禁止箇所(画素)」に対応するディザマトリクスのピクセルには、この全ドット配置決定閾値要素よりも大きな値又は小さな値の閾値要素が割り当てられることが好ましい。
 すなわち「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、「ドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値(全ドット配置決定閾値要素)」を印刷モード毎に定められるドット配置可能箇所に対応するディザマトリクスのピクセルに割り当てられる閾値要素の最大値とすることが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、「ドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値(全ドット配置決定閾値要素)」を印刷モード毎に定められるドット配置可能箇所に対応するディザマトリクスのピクセルに割り当てられる閾値要素の最小値とすることが好ましい。また「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、「ドット配置禁止箇所(画素)」に対応するディザマトリクスのピクセルに、この全ドット配置決定閾値要素よりも大きな値の閾値要素を割り当てることが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、「ドット配置禁止箇所(画素)」に対応するディザマトリクスのピクセルに、この全ドット配置決定閾値要素よりも小さな値の閾値要素を割り当てることが好ましい。
 望ましくは、低解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値は、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値よりも大きい又は最小値よりも小さい。
 本態様によれば、ディザマトリクスの閾値要素を調整することで、低解像度印刷モードのドット配置可能箇所及び高解像度印刷モードのドット配置可能箇所の両者を区別し、ハーフトーン画像を的確に生成できる。
 例えば「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、低解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値は、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値よりも大きいことが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、低解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値は、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最小値よりも小さいことが好ましい。
 本態様の「低解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値」は入力画像の表現可能な最大階調値よりも大きいことが好ましく、その閾値要素の最大値又は最小値は、低解像度の印刷モードのドット配置禁止箇所に対応するディザマトリクスのピクセルに割り当てられることが好ましい。すなわち「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、閾値要素の最大値が、低解像度の印刷モードのドット配置禁止箇所に対応するディザマトリクスのピクセルに割り当てられることが好ましい。一方「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」では、閾値要素の最小値が、低解像度の印刷モードのドット配置禁止箇所に対応するディザマトリクスのピクセルに割り当てられることが好ましい。
 望ましくは、ハーフトーン処理部は、選択された印刷モードのドット配置可能箇所を指定するドット配置マスクを用いてハーフトーン処理を行う。
 本態様によれば、ドット配置マスクを用いたマスク処理によって、ハーフトーン画像のドット配置を印刷モードの精細度に簡便に適合させることができる。
 ここでいう「ドット配置マスク」は、ハーフトーン画像ドットのオン-オフを定めるマスクデータであり、印刷モード毎のドット配置可能箇所又はドット配置禁止箇所を指定する。このドット配置マスクによるマスク処理は任意の手法にて実現可能であり、例えばハーフトーン処理の算出アルゴリズムの一部として設計可能である。
 望ましくは、2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、低解像度の印刷モードのドット配置可能箇所の全ては、高解像度の印刷モードのドット配置可能箇所に含まれる。
 望ましくは、ハーフトーン処理部は、選択された印刷モードに応じた処理パラメータに基づいてハーフトーン処理を行う。
 本態様によれば、印刷モードに応じた処理パラメータによって、印刷モードの精細度に適合したハーフトーン処理を的確に行うことができる。
 望ましくは、ハーフトーン処理部は、誤差拡散法に基づいてハーフトーン処理を行い、処理パラメータは誤差拡散係数マトリクスを含む。
 本態様によれば、誤差拡散法に基づくハーフトーン処理を印刷モードの精細度に応じて行うことができる。
 ここでいう「誤差拡散法」は、ハーフトーン処理(2値化処理)によって画素毎にドットのオン-オフを定めることで生じる誤差成分を拡散して他の画素の画素値に反映させる手法であり、任意の誤差拡散手法を採用しうる。
 本発明の他の態様は、上記の画像処理装置と、ハーフトーン画像に基づいて印刷媒体上に記録を行う記録部とを備える印刷装置に関する。
 本発明の他の態様は、精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成する画像処理方法であって、入力画像のサイズを調整する画像サイズ調整ステップと、画像サイズ調整ステップでサイズが調整された入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理ステップとを含み、複数の印刷モードのうち2以上の印刷モード間で、画像サイズ調整ステップでは入力画像が同じサイズに調整され、ハーフトーン処理が同じサイズの入力画像に施される画像処理方法に関する。
 本発明の他の態様は、精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成するためのプログラムにおいて、入力画像のサイズを調整する手順と、サイズが調整された入力画像のハーフトーン処理を行ってハーフトーン画像を生成する手順と、をコンピュータに実行させるためのプログラムであって、複数の印刷モードのうち2以上の印刷モード間で、入力画像が同じサイズに調整され、ハーフトーン処理が同じサイズの入力画像に施されるプログラムに関する。
 本発明によれば、精細度(解像度及びドット配置形態)の異なる複数の印刷モードにおいて画像処理(ハーフトーン処理)を共通化することが可能であり、画像処理フロー及び画像処理モジュールを簡素化できる。これにより、画像処理部のハードウェア実装を平易にして画像処理モジュールの大規模化及び複雑化を効果的に抑制でき、画像処理装置の製造コストを低減可能である。
図1は、印刷装置の一例を示すブロック図である。 図2Aは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「1200dpi×1200dpi(x方向×y方向)」を示す。 図2Bは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「1200dpi×600dpi」(ライン状配置)を示す。 図2Cは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「1200dpi×600dpi」(千鳥状配置)を示す。 図2Dは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「600dpi×600dpi」(格子状配置)を示す。 図2Eは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「600dpi×600dpi」(六角形状配置)を示す。 図2Fは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、「600dpi×600dpi」(三角形状配置)を示す。 図3は、入力画像データからハーフトーン画像データを作成するフローを示す。 図4は、入力画像データが画像処理されて印刷ヘッド部に入力されるまでの処理フローを示す。 図5は、画像処理装置の一例を示すブロック図である。 図6は、第1実施形態に係る画像処理フローを示す。 図7Aは、ディザマトリクスの概念図を示す。 図7Bは、「階調値-増分画素数」のヒストグラムを示す。 図8Aは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Bは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Cは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Dは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Eは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Fは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Gは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図8Hは、図7A~図7Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図9Aは、ディザマトリクスの概念図を示す。 図9Bは、「階調値-増分画素数」のヒストグラムを示す。 図10Aは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図10Bは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図10Cは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図10Dは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図10Eは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。 図11は、第1の実施モードに係る画像処理フローを示す。 図12は、第2実施形態に係る画像処理フローを示す。 図13は、誤差拡散法ハーフトーン処理の一例を示すブロック図である。 図14は、誤差拡散係数マトリクスとは別にドット配置マスクを使用した誤差拡散処理に係るプログラムコード例を示す。 図15Aは、ドット配置マスクを反映した誤差拡散係数マトリクスを例示する図である。 図15Bは、ドット配置マスクを反映した誤差拡散係数マトリクスを例示する図である。 図15Cは、ドット配置マスクを反映した誤差拡散係数マトリクスを例示する図である。 図15Dは、ドット配置マスクを反映した誤差拡散係数マトリクスを例示する図である。 図16は、ドット配置マスクを反映した誤差拡散係数マトリクスを使用する誤差拡散処理に係るプログラムコード例を示す。
 添付図面を参照して本発明の実施形態について説明する。以下では、本発明をインクジェット方式(シングルパス方式)の印刷に適用する例について説明するが、本発明はこれに限定されるものではない。本発明に係る画像処理技術は、複数の印刷モードの中から所望のモードに切り換え可能な印刷技術全般に対して広く適用でき、インクジェット方式(例えばシングルパス方式)の他に、オフセット方式、グラビア方式、フレキソ方式及び電子写真印刷方式等の印刷システムに対しても適用可能である。
 図1は、印刷装置の一例を示すブロック図である。印刷装置10は、印刷条件設定部12、画像処理部(画像処理装置)14及び印刷ヘッド部16を備え、精細度の異なる複数の印刷モードの中から所望の印刷モードで、画像データを印刷媒体上に印刷記録できる。
 印刷条件設定部12は、印刷対象の画像データを取得する「印刷画像取得部」、その画像データの印刷モードを取得する「印刷モード取得部」、及び他に必要な情報を記憶及び取得して画像処理部14及び印刷ヘッド部16に供給する「印刷情報供給部」として機能する。印刷対象の画像データ、印刷モードに関する情報及び他の情報は、必要に応じて印刷条件設定部12から画像処理部14及び印刷ヘッド部16に送信される。
 印刷モード取得部における印刷モードの取得手法は特に限定されず、ユーザの選択に基づいて印刷モードが決定されてもよいし、印刷条件設定部12が印刷条件(環境条件)に基づいて印刷モードを適宜決定してもよい。印刷情報供給部によって供給される他の情報も特に限定されず、例えばインク吐出ドット径(1ドット当たりの径;例えば大中小のドット径)を決める駆動波形データが、印刷モード等に基づいて選択及び決定されて印刷条件設定部12から印刷ヘッド部16に送られる。
 画像処理部14は、印刷モードの精細度に応じて入力画像からハーフトーン画像のデータを生成し、このハーフトーン画像データを印刷ヘッド部16に供給する。詳細な構成及び作用は後述するが、画像処理部14は、入力画像のサイズを調整する画像サイズ調整部と、画像サイズ調整部によってサイズが調整された入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理部とを備える。特に本例では、複数の印刷モードのうち2以上の印刷モード間で、画像サイズ調整部が入力画像を同じサイズに調整し、ハーフトーン処理が同じサイズの入力画像に施される。これにより、精細度の異なる複数の印刷モード間で画像処理を共通化することが容易になり、画像処理フロー及び画像処理モジュールを簡素化することが可能となる。
 印刷ヘッド部16は、画像処理部14から供給されるハーフトーン画像データに基づいて印刷媒体上に記録を行う記録部(吐出駆動部)であり、駆動波形データに基づいてインク滴を印刷媒体に向かって吐出する。インク吐出の具体的な手法は特に限定されず、例えばピエゾ素子を用いたピエゾ方式或いは気泡圧力を利用するサーマル方式等によって、印刷ヘッド部16(インクジェットヘッド)から印刷媒体に向かってインクが吐出される。
 <印刷モード>
 本例の印刷装置10は、精細度の異なる複数の印刷モードの中から決定される任意の印刷モードに従って画像処理及び印刷処理を行う。
 図2A~図2Fは、印刷モード毎の精細度(解像度及びドット配置形態)を例示する図であり、図2Aは「1200dpi×1200dpi(x方向×y方向)」、図2Bは「1200dpi×600dpi」(ライン状配置)、図2Cは「1200dpi×600dpi」(千鳥状配置)、図2Dは「600dpi×600dpi」(格子状配置)、図2Eは「600dpi×600dpi」(六角形状配置)及び図2Fは「600dpi×600dpi」(三角形状配置)を示す。
 図2A~図2Fに示すドット配置パターン例の各ドットは同一径(同一サイズ)によって構成され、「1200dpi×1200dpi」のドット配置パターンではベタ印刷となる(図2A参照)。ただし、対象の印刷領域の全面にインクを適用する「ベタ印刷」は、ドット径を調整することによって各解像度及び各ドット配置パターンにおいて実現可能である。なお、ドット径は駆動波形に依存し、通常、駆動波形は印刷モードに応じて切り替えられる。この場合、「相対的に高解像度のモード」と「相対的に低解像度のモード」とでは用いられる駆動波形が異なり、両モード間で実際のドットサイズが共通しないこともある。駆動波形の切り替えを行わずにドット種の切り替えを行う場合には、印刷モード毎に使用できるドット種が限定され、ハーフトーンの設計自由度が下がる。
 印刷媒体に記録されるドット配置パターンは、図2A~図2Fに示すように多岐にわたり、同じ解像度であってもドット配置形態が異なることもある(例えば「1200dpi×600dpi」に関して図2B~図2C参照;「600dpi×600dpi」に関して図2D~図2F参照)。なお図2A~図2Fはドット配置パターンを例示しているに過ぎず、他の解像度及び他のドット配置パターンに基づく印刷モードが適宜採用されてもよい。
 図3は、入力画像データからハーフトーン画像データを作成するフローを示す。図3に示す各画像処理は、主として画像処理部14(図1参照)によって行われる。
 印刷条件設定部12から画像処理部14に入力される入力画像データD0(例えば「4チャンネル分の画像(4ch:本例ではシアン画像、マゼンタ画像、イエロー画像及びブラック画像)、8ビット階調(8bit:256階調:0~255階調値)、及び300dpi(x方向及びy方向)」のデータ)は、CMS(Color Management System)処理S1によって色補正され、CMS調整画像D1(4ch、8bit、300dpi)のデータが作られる。CMS調整画像D1は分版処理S2によってプロセスカラーの画像データに分解され、例えば「シアン画像、マゼンタ画像、イエロー画像及びブラック画像」の各々の画像データD2(1ch、8bit、300dpi)が作られる。
 プロセスカラーの画像データD2のそれぞれは、解像度変換処理S3を受けて解像度が調整される。この解像度変換処理S3では、印刷モードの精細度に応じて画像データの解像度調整が行われる。例えば画像データD2の解像度が300dpiである一方で印刷モードの解像度が1200dpiに対応する場合、解像度変換処理S3によって画像データの解像度が300dpiから1200dpiに変換される。
 解像度変換後の画像データD3(1ch、8bit、1200dpi)は、ムラ補正処理S4によってビット数が変換され、例えば8ビットから12ビットに多ビット化される。ムラ補正の具体的な処理内容は特に限定されず、本例ではインクジェット方式(シングルパス方式)に最適化されたムラ補正処理が行われる。ムラ補正後の画像データD4(1ch、12bit、1200dpi)はハーフトーン処理S5によって多値化され、ハーフトーン画像データD5(1ch、2bit、1200dpi)が作られる。
 各プロセスカラーのハーフトーン画像データD5は、印刷ヘッド部16の対応のヘッド(シアンヘッド、マゼンタヘッド、イエローヘッド及びブラックヘッド)に供給され(S6)、各ヘッドから対応色のインクが印刷媒体に向かって吐出され、画像データの印刷が行われる。
 上述の一連の処理(S1~S6)は、ソフトウェア及びハードウェアのいずれによって実装されてもよい。ただし画像処理は可能な限り高速であることが望ましく、特にプロセスカラー毎の画像データに変換後の処理(図3では解像度変換処理S3~ハーフトーン処理S5)をハードウェアによって実装することが、処理の高速化の観点からは好ましい。
 精細度の異なる複数の印刷モードによって印刷可能な印刷装置10では、上述の一連の処理(特にプロセスカラー毎の画像データに変換後の画像処理)を、選択された印刷モードに適応させることが求められる。
 図4は、入力画像データが画像処理されて印刷ヘッド部16に入力されるまでの処理フローを示す。なお図4に示す各処理は、画像処理部14(図1参照)によって行われる。
 本例では、図3に示す場合と同様に「CMS処理S11」及び「分版処理S12」によって、入力画像データD0(4ch、8bit、300dpi)からプロセスカラー毎の画像データ(1ch、8bit)が作られる。ただし、その後、選択された印刷モード(精細度モード)毎に異なる画像処理が行われる。すなわち印刷モード毎に対応の画像処理モジュールを予め準備しておき、複数の画像処理の中から選択された所望の印刷モードに関する情報(印刷モード情報D10)に基づいて、対応の画像処理モジュールが選択される(S13)。そして、選択された画像処理モジュール(画像処理内容)によって、プロセスカラー毎の画像データの画像処理が行われ(S14)、その後、ハーフトーン画像データが印刷ヘッド部16に供給される。
 図4に示す例では、選択された印刷モードが「1200dpi×1200dpi(x方向×y方向)」の精細度(図2A参照)に基づく場合には画像処理Aが行われ、「1200dpi×600dpi」(ライン状配置)の精細度(図2B参照)に基づく場合には画像処理Bが行われ、「1200dpi×600dpi」(千鳥状配置)の精細度(図2C参照)に基づく場合には画像処理Cが行われ、「600dpi×600dpi」(格子状配置)に基づく場合には画像処理Dが行われ、「Xdpi×Ydpi」の精細度に基づく場合には画像処理Zが行われる。画像処理A~画像処理Zの各々は、対応の印刷モードに最適化された「ハーフトーン処理以外の画像処理」及び「ハーフトーン処理」を含み、高画質のハーフトーン画像データを印刷モードに応じて生成する。
 このように図4に示す例では、印刷モード毎に対応の画像処理モジュール(ハードウェアモジュール及び/又はソフトウェアモジュール)を予め準備しておき、印刷モード毎に異なる画像処理モジュールを使ってハーフトーン画像データを生成する。したがって、印刷モードと同数の画像処理モジュールを予め準備する必要があり、印刷装置10で対応可能な印刷モードが増えるに従って準備すべき画像処理モジュールが増える。そのため図4に示す方式の印刷装置10(画像処理装置)は、製造コストが嵩み、印刷モードに対する処理の柔軟性にも欠ける。
 したがって複数の印刷モード間で画像処理を共通化し、「ハーフトーン処理以外の画像処理(ムラ補正処理など)」を印刷モード毎に切り換えずに実行し、また「ハーフトーン処理」も複数の印刷モード間で可能な限り同様の装置(モジュール)及び手順で実現することが好ましい。
 以下、ハーフトーン処理を含む画像処理を複数の印刷モード間で共通化可能な画像処理装置(画像処理方法)の一例について説明する。
 図5は、画像処理装置の一例を示すブロック図である。本例の画像処理装置(画像処理部14)は、画像サイズ調整部20、画像調整処理部22及びハーフトーン処理部24を有し、所望の印刷モードに応じたハーフトーン画像D23のデータを生成する。すなわち、画像サイズ調整部20において入力画像データD0のサイズ(解像度)が調整され(画像サイズ調整ステップ)、サイズが調整された入力画像(サイズ調整画像D21)は画像調整処理部22においてハーフトーン処理以外の画像処理が行われる。サイズが調整されてハーフトーン処理以外の画像処理が行われた入力画像(調整処理画像D22)はハーフトーン処理部24においてハーフトーン処理が行われ、ハーフトーン画像D23が生成される(ハーフトーン処理ステップ)。ハーフトーン画像D23に関するデータ(ハーフトーン画像データ)は、ハーフトーン処理部24から印刷ヘッド部16に供給される。
 このように本例では、入力画像のサイズ(解像度)が調整された後に画像処理(「ハーフトーン処理以外の画像処理」及び「ハーフトーン処理」)が行われる。したがって複数の印刷モード間で、入力画像が同じサイズに調整され、ハーフトーン処理等の画像処理が同じサイズの入力画像に対して行われることになるため、ハーフトーン処理等の画像処理を容易に共通化できる。
 一般に、ハーフトーン処理以外の画像処理を精細度の異なる印刷モード間で共通に行っても印刷画質に対する影響は比較的小さいことが多いが、精細度(特にドット配置形態)が異なる印刷モード間でハーフトーン処理を共通化するのは難しい。すなわち、解像度及びドット配置パターンが異なる印刷モード間で「ハーフトーン処理」を共通化すると、画像が崩れ、印刷画質が著しく損なわれることがある。そのため、印刷画像の画質を高品位に保ちながら、同一の画像処理(特に「ハーフトーン処理」)を解像度及びドット配置パターンが異なる印刷モード間で適用することは従来なされていなかった。
 しかしながら本件発明者は、鋭意研究の結果、印刷モードによらず入力画像のサイズ(解像度)を同一に調整した後に画像処理(特に「ハーフトーン処理」)を行うことで、画質の劣化を効果的に防ぎつつ、精細度の異なる複数の印刷モード間で画像処理を共通化可能であることを、新たに見いだした。
 ここでいう「画像サイズ調整ステップにおける入力画像サイズの同一化」の具体的な手法は特に限定されない。例えば、当初の入力画像データが300dpiであり、選択された印刷モードの解像度(精細度)が600dpiであったとしても、それらの「当初の入力画像データ」及び「印刷モード」にかかわらず、画像サイズ調整ステップにおいて画像データは1200dpiに変更される。
 またハーフトーン処理部24は、ハーフトーン画像D23を構成するドットの配置を、複数の印刷モードのうち選択された印刷モードのドット配置可能箇所に限定する。すなわちハーフトーン処理部24は、選択された印刷モードの精細度(解像度及びドット配置態様)を反映したハーフトーン処理を行って、選択された印刷モードのドット配置可能画素にのみハーフトーン画像ドットを配置する。これにより、選択された印刷モードの精細度に従ったハーフトーン画像データを確実に生成できる。
 このように画像サイズ調整処理及びハーフトーン処理を工夫することで、印刷画像の劣化を防ぎつつ、複数の印刷モード間で画像処理を共通化できる。これにより、例えば特許文献1の画像処理装置で必要とされる「印刷モード毎の画像処理内容の切り換え処理」が不要となり、印刷モードに応じた適切なハーフトーン処理を行うことができる。また特許文献2の画像処理装置で必要とされる「記録解像度の縦横比毎に異なるモジュールの設置」が不要となり、記録解像度の縦横比が異なる印刷モードやドット配置形態が異なる印刷モードに対して単一の処理モジュールによって適切なハーフトーン処理を行うことも可能となる。
 以下、「ディザ法に基づくハーフトーン処理(第1実施形態)」及び「ディザ法以外(誤差拡散法等)に基づくハーフトーン処理(第2実施形態)」に関し、「精細度の異なる印刷モード間での画像処理(ハーフトーン処理)の共通化」の具体例について説明する。
 <第1実施形態>
 本実施形態のハーフトーン処理部24は、ディザ法に基づき、選択された印刷モードに応じたディザマトリクスに基づいてハーフトーン処理を行う。なお、本実施形態では「閾値要素の値が小さいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」が採用されているが、「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」においても同様のハーフトーン処理を行うことができる。
 図6は、第1実施形態に係る画像処理フローを示す。図6に示す各画像処理は、主として画像処理部14(図1参照)によって行われる。
 本実施形態においても、図4に示す処理フローと同様にCMS処理(図6のS31)及び分版処理(S32)が行われ、入力画像データD0からプロセスカラー毎の画像データが取得される。
 ただし本実施形態では、各プロセスカラーの画像データのサイズ(解像度)が調整され(S33)、印刷モードにかかわらず、同一サイズ(同一解像度:例えば「1200dpi×1200dpi」の解像度)の画像データが後段に送られる。このサイズ変換処理は、処理を共通化する印刷モードのサイズ(解像度)のうち最も大きな解像度(例えば「1200dpi×1200dpi」(図2A参照))又はそれよりも大きな解像度に画像データを変換することで行われる。サイズ(解像度)が共通化された各プロセスカラーの画像データは、ハーフトーン処理以外の画像処理が共通に行われ(S34)、その後ハーフトーン処理(S35)が行われる。そして、ハーフトーン画像データが対応のヘッド(印刷ヘッド部16)に入力される(S36)。
 本例のハーフトーン処理部24は、印刷モード毎のディザマトリクスを記憶する記憶部(図示せず)から、印刷モード情報D10に基づいて印刷モードに応じたディザマトリクスを選択し(ディザマトリクス選択処理S37)、選択されたディザマトリクス(選択印刷モード用ディザマトリクスD20)を画像データに適用してハーフトーン処理(S35)を行う。
 ディザ法は、Wピクセル×Hピクセル(x方向×y方向:後述の図7A及び図9A参照)の構成を持ち各ピクセルに数値(閾値要素)が割り当てられたディザマトリクスを用いたハーフトーン処理であり、ディザマトリクスの閾値要素と画像データの画素値(階調値)とを比較して各画素のドットのオン-オフを決める手法である。例えばディザマトリクスと画像データの各画素の画素値(階調値)とを比較し、画像データの画素値が対応ピクセルの閾値要素以上の画素は輝度を最大値にしてドットを形成し、画像データの画素値が対応の閾値要素よりも小さな画素は輝度を最小値にしてドットを形成しない。これにより1ビットより大きな多階調画像データを、1ビット階調(ドットのオン-オフ)のハーフトーン画像データに変換できる。なお、ハーフトーン画像データの階調ビットは1ビットに限定されない。例えばハーフトーン画像の出力ドットに関して「ドット無し」、「小径ドット」、「中径ドット」及び「大径ドット」が想定される場合、ドット種類は「4値」によって表され、ハーフトーン画像データの階調ビットは2ビットとなる。このように、ハーフトーン画像データの階調ビットはシステムに応じて変動するため、汎用的には決められず、ハーフトーン処理は2値化処理等の多値化処理となる。
 本実施形態では、ハーフトーン処理によるドット配置に印刷モードの精細度に応じた制約を設け、想定される印刷モードの最大の解像度(想定最大解像度)に関して実現可能なハーフトーンパターン内に各印刷モードに対応するハーフトーンパターンを含ませる。すなわち、本実施形態の印刷装置10が採用する2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、低解像度の印刷モードのドット配置可能箇所の全ては、高解像度の印刷モードのドット配置可能箇所に含まれる。
 例えば図2A~図2Fの精細度に基づく複数の印刷モードを印刷装置10が採用する場合、最も解像度の高い「1200dpi×1200dpi」の印刷モードのドット配置可能箇所(図2A参照)に、解像度が低い他の解像度の印刷モードのドット配置可能箇所(図2B~図2F参照)の全てが含まれる。したがって図2Aに基づく「1200dpi×1200dpi」(想定最大解像度)の印刷モードを基準にして、図2B~図2Fに基づく印刷モードのうち1又は複数のモードの画像処理を図6の処理フローに従って共通化できる。
 なお、図2A~図2Fの印刷モードの全てを共通化して図6の処理フローに従って画像処理を行ってもよいが、一部の印刷モードのみに関し、図6の処理フローに従って画像処理を共通化してもよい。例えば図2Bの「1200dpi×600dpi(ライン状配置)」に基づく印刷モードのドット配置可能箇所に、図2Dの「600dpi×600dpi(格子状配置)」に基づく印刷モードのドット配置可能箇所は含まれる。したがって図2Bの印刷モード及び図2Dの印刷モードのみに関し、画像処理を図6の処理フローに従って共通化できる。同様に、「図2Bの印刷モード、図2Dの印刷モード及び図2Fの印刷モード」及び「図2Cの印刷モード及び図2Dの印刷モード」等を、図6の処理フローに従って画像処理を共通化できる。
 このように一部の印刷モードのみに関して画像処理を共通化する場合、共通化されない他の印刷モードについては、専用の画像処理モジュール(図4のS13及びS14参照)を準備及び使用して画像処理が行われてもよい。この場合、精細度が比較的高い印刷モードや使用頻度の高い印刷モードに関して専用の画像処理モジュールを設ける一方で、精細度が比較的低い印刷モードや使用頻度の低い印刷モードに関しては画像処理を共通化してもよい。これにより、印刷画像の高品位化と処理モジュールの簡素化とを高いレベルで両立させることができる。
 以下では、便宜上、図2A~図2Fのドット配置パターンに対応する印刷モードの全てに関して画像処理を共通化するケースについて説明する。
 複数の印刷モード間で画像処理を共通化する場合、共通化する印刷モードの各々に関して対応のディザマトリクスが予め作成される。このディザマトリクスを構成する閾値要素は、対応印刷モードのドット配置可能箇所にしかドットが埋まらないように調整されている。したがって、使用するディザマトリクスを印刷モードに応じて切り換えることで、印刷モードの精細度に応じた制約をハーフトーン画像のドット配置に対して適用することができる。これにより、ハーフトーン処理以外の画像処理を複数の印刷モード間で共通化できる一方で、印刷モードに応じたドット配置制約がディザマトリクスによって担保されて適切なハーフトーン画像を得ることができる。
 図7A~図10Eは第1実施形態に係るディザマトリクスを説明するための図であり、図7A~図7B及び図8A~図8Hは相対的に高解像度(例えば「1200dpi×1200dpi」(想定最大解像度))の印刷モードを説明するための図であり、図9A~図9B及び図10A~図10Eは相対的に低解像度(例えば「1200dpi×600dpi」)の印刷モードを説明するための図である。図7A~図7B及び図9A~図9Bは、ディザマトリクスの概念図(図7A及び図9A参照)及び「階調値-増分画素数」のヒストグラム(図7B及び図9B参照)を示す。図8A~図8H及び図10A~図10Eは、それぞれ図7A~図7B及び図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。
 なお図8A~図8H及び図10A~図10Eには、12ビット階調(階調数:4096;階調値:0~4095)で表現される画像データに対して適用されるディザマトリクスのピクセルパターンが示されているが、他のビット階調(例えば8ビット階調(階調数:256;階調値:0~255))に対応するディザマトリクスが用いられてもよい。
 ディザマトリクスは、図7A及び図9Aに示すように「Wピクセル(画素)×Hピクセル(x方向及びy方向;「W」及び「H」は任意の整数)」の各ピクセルに閾値要素が割り当てられた行列構造を有する。各ピクセルに割り当てられる閾値要素の値は、処理対象の画像データの階調(ビット)に応じて定められる。例えば12ビット階調で表現される画像データのハーフトーン処理に用いられるディザマトリクスでは、「0~4095」の範囲の数値(閾値要素)が、Bayer型、渦巻き型或いは網点型等の任意の配置方式に従って各ピクセルに割り当てられる。
 相対的に高解像度(例えば「1200dpi×1200dpi」)の印刷モードに対して適用される図7A~図7Bに示すディザマトリクスを使用するハーフトーン処理によれば、「階調値」に対する「増分画素数(比率)」は図7Bに示すように(ほぼ)一定値となる。すなわち階調値が「1」増えると、「W×H/階調数」分だけハーフトーン画像ドットが増える。なお「W×H/階調数」が整数値とならない場合には、任意の端数処理によって各階調値に対する「増分画素数(比率)」が定められる。
 図8A~図8Hの各々には、所定値(「2値化閾値」)以下の閾値要素が割り当てられたピクセルが黒色ドットで表されている。本例のディザマトリクスは、「0」以下の閾値要素を含まず(図8A参照)、「491」以下の閾値要素を全体の「12%(ドット比率)」含み(図8B参照)、「1024」以下の閾値要素を全体の「25%」含み(図8C参照)、「2048」以下の閾値要素を全体の「50%」含み(図8D参照)、「2580」以下の閾値要素を全体の「63%」含み(図8E参照)、「3072」以下の閾値要素を全体の「75%」含み(図8F参照)、「3850」以下の閾値要素を全体の「94%」含み(図8G参照)、全体が「4095」以下の閾値要素によって構成されている(図8H参照)。
 一方、相対的に低解像度(例えば「1200dpi×600dpi」)の印刷モードに対して適用される図9Aに示すディザマトリクスを使用するハーフトーン処理では、「階調値」に対する「増分画素数(比率)」は図9Bに示すように必ずしも一定値にはならない。図9A~図9Bに示す例では、最大階調値以外の階調値における増分画素数は(ほぼ)一定ではあるが「W×H/階調数」よりも小さい値となり、「最大階調値-1」と「最大階調値」との間における増分画素数は「W×H/階調数」よりも大きくなる。
 なお「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」の場合には、最小階調値以外の階調値における増分画素数は(ほぼ)一定ではあるが「W×H/階調数」よりも大きい値となり、「最小階調値+1」と「最小階調値」との間における増分画素数は「W×H/階調数」よりも大きくなる。
 図10A~図10Eは、図9A~図9Bに示すディザマトリクスの各ピクセルと閾値要素との関係をドットパターンにより表した概念図である。図10A~図10Eには、12ビット階調(階調数:4096;階調値:0~4095)で表現される画像データに対して適用されるディザマトリクスのピクセルパターンが示されており、所定値(「2値化閾値」)以下の閾値要素が割り当てられたピクセルが黒色ドットで図10A~図10Eの各々に表されている。本例のディザマトリクスは、「0」以下の閾値要素を含まず(図10A参照)、「1024」以下の閾値要素を全体の「12%」含み(図10B参照)、「2048」以下の閾値要素を全体の「25%」含み(図10C参照)、「4094」以下の閾値要素を全体の「50%」含み(図10D参照)、他の50%のピクセルに対しては「4095」又はそれより大きな値が閾値要素として割り当てられている。
 上述のように、「高解像度の印刷モードにおける図8A~図8Dのドット比率」と「低解像度の印刷モードにおける図10A~図10Dのドット比率」とはそれぞれ同じだが、2値化閾値は異なる。
 このように低解像度の印刷モードに応じたディザマトリクスは、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素のうちの最大値よりも低い値の階調値にて、低解像度の印刷モードのドット配置可能箇所の全てに、ハーフトーン画像を構成するドットが配置される閾値要素によって構成される。すなわち、より低密度のドット(低解像度)の印刷モードに対応するディザマトリクスにてその低解像度印刷モードの最高ドット数を発生させる階調値(図10D参照)は、より高密度ドット(高解像度)な印刷モードに対応するディザマトリクスにてその高解像度印刷モードの最高ドット数を発生させる階調値(図8H参照)よりも低く設定される。これにより、ディザマトリクスを切り換えることで、印刷モードに応じたドット配置箇所を簡便に実現できる。
 なお「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」の場合には、より低密度のドット(低解像度)の印刷モードに対応するディザマトリクスにてその低解像度印刷モードの最高ドット数を発生させる階調値は、より高密度ドット(高解像度)な印刷モードに対応するディザマトリクスにてその高解像度印刷モードの最高ドット数を発生させる階調値よりも高く設定される。
 例えば、高解像度(例えば「1200dpi×1200dpi」)の印刷モードに対応する図7A~図7B及び図8A~図8Hのディザマトリクスを構成する閾値要素のうち最大値は「4095」であり、図9A~図9B及び図10A~図10Eに示す低解像度(例えば「1200dpi×600dpi」)の印刷モードのドット配置可能箇所の全ては図10Dによって示されている。そして、「4095」よりも低い値である「4094」の階調値にて、低解像度印刷モードのドット配置可能箇所の全てにハーフトーン画像ドットが配置される(図10D参照)。したがって図9A~図9B及び図10A~図10Eに示すディザマトリクスを用いる「低解像度の印刷モード」では、実質的に「4094」以下の閾値要素が割り当てられるピクセル(図10D参照)によってハーフトーン画像が作られ、「4095」以上の閾値要素が割り当てられるピクセル部分のデータ(図10E参照)は実質的に用いられない。一般に、「ディザマトリクスの閾値要素の数値範囲」と「処理対象画像データの画素値(階調値)の範囲」とを同一に設定する場合、最大階調値(例えば12ビット画像で「4095」、8ビット画像で「255」)以下の数値を持つ閾値要素がディザマトリクスの全ピクセルに割り当てられる。ただし上述の「低解像度の印刷モード」は、「全画素にドットが配置される印刷モード(最大解像度印刷モード)」ではないため、少なくとも「全画素にドットが配置される階調(最大階調値)」に対応するデータ(図10E参照)が捨てられることになる。このように「低解像度の印刷モード」では少なくとも1階調分のデータが捨てられるが、多ビット(8ビット、12ビット等)処理において1階調分のデータが捨てられることの影響は非常に小さく、また「低解像度の印刷モード」における1階調分のデータの影響は非常に小さい。
 なお「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」の場合、「低解像度の印刷モード」では、少なくとも「全画素にドットが配置される階調(最小階調値)」に対応するデータが捨てられることになる。
 このように印刷モード毎にディザマトリクスを準備し、各ディザマトリクスの閾値要素の数値や配列を調整し、対応の印刷モードにおけるドット配置可能画素にのみハーフトーン画像のドットを配置可能とする。これにより、使用するディザマトリクスを所望の印刷モードに応じて切り換えることで、その印刷モードで要求される精細度(解像度及びドット配置形態)での印刷を行うことができる。
 なお図6に示す画像処理フローにてハーフトーン処理を行う場合、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素のうち、低解像度の印刷モードのドット配置可能箇所(ドット配置可能画素)に対応する閾値要素は他の箇所(画素)に対応する閾値要素よりも値を小さく設定してもよい。この場合、ハーフトーン画像を構成するドットは、低解像度の印刷モードのドット配置可能箇所に優先的に配置される。
 上述の「印刷モードに応じて使用するディザマトリクスを切り換える態様」に関し、印刷モードの精細度に応じたハーフトーン処理を簡便且つ確実に実現する具体的な手法として、例えば以下の実施モードがある。
 <第1の実施モード>
 図11は、第1の実施モードに係る画像処理フローを示す。図11に示す各画像処理は、主として画像処理部14(図1参照)によって行われる。
 本実施モードでは、図6の処理フローと同様に、CMS処理(S41)、分版処理(S42)、画像サイズ調整処理(S43)及びハーフトーン処理以外の画像処理(S44)が行われるが、ハーフトーン処理(S46)に先立って画像データの階調値調整処理(S45)が行われる。すなわち本実施モードの画像処理部14は、入力画像の階調値を調整する階調値調整部を更に備え、この階調値調整部によって画像データの階調(画素値)が調整される(S45)。この階調値調整処理(S45)では例えばガンマ補正処理等が行われ、画像データの最大画素値(最大階調値)が印刷モードに応じて変えられる。なお「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」の場合、階調値調整処理(S45)によって画像データの最小画素値(最小階調値)が印刷モードに応じて変えられる。
 ハーフトーン画像データにおいて、ドット配置可能箇所及びドット配置禁止箇所は印刷モードに応じて決められており、例えば図2A~図2Fに示す例では、黒色ドットで示された画素が「ドット配置可能箇所」に相当し、白色ドットで示された画素が「ドット配置禁止箇所」に相当する。その一方で、各画素におけるハーフトーン画像ドットの有無は、ディザマトリクスの各ピクセルの閾値要素と画像データの画素値との比較によって決められ、例えば画像データの画素値が対応ピクセルの閾値要素以上であればドットオンとし、対応ピクセルの閾値要素よりも小さければドットオフとすることが可能である。この場合、ドット配置禁止箇所の画素位置に関し、画像データの画素値がディザマトリクスの対応ピクセルの閾値要素以上にならないように処理調整することで、印刷モードの精細度に則ったハーフトーン画像データを簡便且つ確実に生成できる。
 本実施モードでは、ディザマトリクスを構成する閾値要素のうち、印刷モードに応じたドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値が、印刷モードの各々について定められる。例えば印刷モードの精細度が想定最大解像度(図2A参照)ではなくドット配置禁止箇所を含む場合(図2B~図2F参照)、ドット配置禁止箇所に対応するディザマトリクスのピクセルに最大値の閾値要素(12ビット階調表現の場合には「4095」)を割り当てることができる。一方、ドット配置可能箇所に対応するディザマトリクスのピクセルには、その最大値よりも小さな値の閾値要素(例えば「0」~「4094」)を割り当てることができる。この場合、「印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値」は、ドット配置可能箇所に対応するピクセルに割り当てられる閾値要素のうちの最大値(例えば「4094」)としうる。一方、印刷モードの精細度が想定最大解像度(図2A参照)であってドット配置禁止箇所を含まない場合には、ディザマトリクスのピクセルに対して表現可能な範囲の閾値要素(12ビット階調表現の場合には「0」~「4095」)を割り当てることができる。
 なお「閾値要素の値が大きいディザマトリクスのピクセルに対応する画素ほどハーフトーン画像ドットがオンとなりやすいモード」の場合であって、印刷モードの精細度が想定最大解像度ではなくドット配置禁止箇所を含む場合、ドット配置禁止箇所に対応するディザマトリクスのピクセルに最小値の閾値要素を割り当てることができる。一方、ドット配置可能箇所に対応するディザマトリクスのピクセルには、その最小値よりも大きな値の閾値要素(例えば「1」~「4095」)を割り当てることができる。この場合、「印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値」は、ドット配置可能箇所に対応するピクセルに割り当てられる閾値要素のうちの最小値(例えば「1」)としうる。
 このようにディザマトリクスの閾値要素は印刷モード毎に設定され、ドット禁止箇所に対応するピクセル及びドット配置可能箇所に対応するピクセルに割り当てられる閾値要素が決められる。その一方で、ハーフトーン処理S46に先立つ階調値調整処理S45によって画像データの画素値が事前に調整される。すなわち階調値調整部は、ディザマトリクスを構成する閾値要素のうち、選択された印刷モードのドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値よりも大きい階調値を、入力画像が持たないように、入力画像の階調値を調整する。すなわち印刷モードに基づくドット配置禁止箇所(画素)において、画像データの画素値がディザマトリクスの対応ピクセルの閾値要素よりも小さな値に調整される。ハーフトーン処理部24は、階調値調整部によって階調値が調整された入力画像のハーフトーン処理S46を行う。
 例えば、ドット配置可能箇所の全てにハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値として、高解像度の印刷モードに関して「4095」(12ビット階調表現)を設定し、低解像度の印刷モードに関して高解像度の印刷モードよりも値の小さい「4094」を設定してもよい。このケースにおいて階調値調整部は、高解像度の印刷モードが選択されている場合には入力画像の各画素値が「4095」より大きな値を持たないように階調値調整処理(S45)を行い、低解像度の印刷モードが選択されている場には入力画像の各画素値が「4094」より大きな値を持たないように階調値調整処理(S45)を行う。なお、このようなケースにおいて処理対象の画像データが12ビットデータに基づく場合には、画像データの各画素値は本来的に「4095」以下の値となるため、高解像度の印刷モードが選択されている場合には階調値調整は実質的には行われない。
 このような階調値調整処理(S45)によって、低解像度の印刷モードが選択されている場には画像データの各画素値が「4094」以下の数値となるため、「4094」よりも大きな値の閾値要素が割り当てられたピクセル(ドット配置禁止箇所)に、ハーフトーン画像のドットは配置されない。
 なおディザマトリクスの閾値要素の具体的な値及び配置態様は、印刷モード毎に変えられてもよく、選択された印刷モードの精細度に応じたドット配置が実現されるように、階調値調整処理後の画像データ(画素値)に基づいて決められてもよい。
 このような階調値調整処理(S45)及びディザマトリクスを用いたハーフトーン処理(S46)によって、選択された印刷モードの精細度を的確に反映したハーフトーン画像データが作られる。特に本実施モードによれば、印刷モード毎のディザマトリクスのデータ構造(bit数)を共通化でき、画像処理モジュールの仕組みを非常に簡素なものにすることが可能である。
 <第2の実施モード>
 本実施モードでは、図6の処理フローと同様のフローによって画像処理(ハーフトーン処理)が行われるが、ディザマトリクスの閾値要素の最大値が印刷モードに応じて調整されている。
 すなわちドット配置禁止箇所の画素位置に関し、画像データの画素値がディザマトリクスの対応ピクセルの閾値要素以上になることを回避することで、印刷モードに応じたハーフトーン画像データを生成する点は、本実施モードは上述の第1の実施モードと共通する。上述の第1の実施モードでは画像データの階調(画素値)がハーフトーン処理に先立ってガンマ補正処理等により調整されるが(図11のS45参照)、本実施モードではディザマトリクスの閾値要素(特に最大値)を印刷モード毎に変える。すなわち、低解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値が、高解像度の印刷モードに応じたディザマトリクスを構成する閾値要素の最大値よりも大きくなるように、印刷モード毎のディザマトリクスが定められる。
 例えば「1200dpi×1200dpi」の高解像度の印刷モード(図2A参照)で使用するディザマトリクスを構成する閾値要素の最大値が「4095」の場合、「1200dpi×600dpi」の低解像度の印刷モード(図2B参照)で使用するディザマトリクスを構成する閾値要素の最大値は「4096」又はそれよりも大きな数値に設定できる。これは、選択された印刷モードの精細度(解像度及びドット配置態様)では本来的にドットが配置されない画素に対応するディザマトリクスのピクセルに対し、画像データの最大階調値よりも大きな値を閾値要素として割り当てるものである。画像データ(各画素値)がどのような値であったとしても、画像データの最大階調値よりも大きな値を持つ閾値要素が割り当てられたピクセルに対応する画素に対してドットは配置されない。したがって、ドット配置禁止箇所に対応するディザマトリクスのピクセルに対して「画像データの最大階調値よりも大きな値の閾値要素」を割り当てることで、印刷モードの精細度に従ったハーフトーン画像データを生成することができる。なお、ドット配置禁止箇所を持たない想定最大解像度(図2A参照)の印刷モードでは、ディザマトリクスの閾値要素の最大値は画像データの最大階調値と同じに設定される。
 このようにディザマトリクスの閾値要素の数値範囲(階調値範囲、データ深度)を印刷モード毎に決めることで、選択された印刷モードの精細度を的確に反映したハーフトーン画像を作ることができる。
 ただし本実施モードでは印刷モード毎にディザマトリクスの閾値要素の最大値が変動しうるため、印刷モード間でディザマトリクスのデータ構造(bit数)が変動し、ディザマトリクスのデータ構造を共通化できない。したがってディザマトリクスのデータ構造の共通化という観点からは、上述の第1の実施モードの方が第2の実施モードよりも優れている。
 <第2実施形態>
 本実施形態のハーフトーン処理部24は、誤差拡散係数マトリクスを処理パラメータとする誤差拡散法に基づいてハーフトーン処理を行い、特に印刷モード毎のドット配置制約を直接的に反映した誤差拡散処理を行う。誤差拡散処理は、誤差拡散係数マトリクスを使って誤差成分を拡散しながらハーフトーン処理(多値化処理)を行う手法である。誤差拡散係数マトリクスは、「Pピクセル(画素)×Qピクセル(x方向及びy方向;「P」及び「Q」は任意の整数)」の各ピクセルに誤差拡散係数が割り当てられた行列構造を有する。各ピクセルに割り当てられる誤差拡散係数の値は誤差の分配比率に応じて定められ、多値化に伴う誤差成分と誤差拡散係数との積を画素値に累積することで誤差拡散処理が行われる。
 本実施形態において、上述の第1実施形態と同じ構成及び作用については詳細な説明を省略する。
 図12は、第2実施形態に係る画像処理フローを示す。本実施形態においても、図6に示す処理フローと同様に、入力画像データD0に対してCMS処理(図12のS51)及び分版処理(S52)が行われ、各プロセスカラーの画像データのサイズ(解像度)が調整され(S53)、ハーフトーン処理以外の画像処理及びハーフトーン処理が行われて(S54、S55)、ハーフトーン画像データが印刷ヘッド部16に入力される(S56)。
 ただし本実施形態のハーフトーン処理部24は、印刷モード情報D10に基づいてドット配置マスク及び誤差拡散係数マトリクスの選択処理を行い(S57)、選択されたドット配置マスク及び誤差拡散係数マトリクスD30を用いてハーフトーン処理(S55)を行う。
 ドット配置マスクは、選択された印刷モードのドット配置可能箇所(又はドット配禁止箇所)を直接的又は間接的に指定するマスクデータであり、印刷モード毎に精細度(解像度及びドット配置形態)を反映したドット配置マスクが準備される。
 ハーフトーン処理部24は、選択された印刷モードに対応するドット配置マスク及び処理パラメータ(誤差拡散係数マトリクス等)に基づいてハーフトーン処理(S55)を行う。なお本実施形態においても上述の第1実施形態と同様に、印刷装置10が採用する2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、低解像度の印刷モードのドット配置可能箇所の全ては、高解像度の印刷モードのドット配置可能箇所に含まれる。
 従来の誤差拡散法では、ドット配置箇所に関して印刷モードに応じた制約を設けることができず、ドットを配置できない画素(ドット配置禁止箇所)に誤差が配分されてしまい、その画素に蓄積された誤差が解消されない状態を招いて、アーチファクトが発生しうる。一方、本実施形態ではドット配置マスクが用いられ、選択された印刷モードの精細度に応じてハーフトーン画像ドットの配置が決められ、ドットを配置できない画素(ドット配置禁止箇所)への誤差の配分が防がれている。
 図13は、誤差拡散法ハーフトーン処理の一例を示すブロック図である。本例の誤差拡散法ハーフトーン処理は、処理対象の画像データに対し、選択された印刷モードの精細度に応じたドット配置マスクを適用し、ドット配置マスクが適用された画像データの2値化処理及び誤差拡散処理が行われる。
 すなわちハーフトーン処理部24には、ハーフトーン処理以外の画像処理(共通画像処理S54)が施された画像データ(ハーフトーン入力画像D40:例えば「1200dpi×1200dpi」)に加え、誤差拡散係数マトリクス等のハーフトーンパラメータD35と、選択された印刷モードに応じたドット配置マスクD33とが入力される。なお、これらのハーフトーンパラメータD35及びドット配置マスクD33のデータは予め準備されて記憶部(図示せず)に記憶されており、ハーフトーン処理部24が必要に応じてこの記憶部にアクセスしてこれらのデータを取得する。
 そして、高精細度印刷モードの精細度に対応するメモリ空間において、印刷モードに応じて選択されたドット配置マスクD33及びハーフトーンパラメータ(誤差拡散係数マトリクス)D35が使用されてハーフトーン処理S55が行われる。このハーフトーン処理S55では、ドット配置マスクD33がハーフトーン入力画像D40に適用され、ドット配置可能箇所が制限される。
 すなわちハーフトーン処理S55では、画像データの処理対象画素に対応するドット配置マスクのピクセルがオン(ドット配置可能箇所)かオフ(ドット配置禁止箇所)かが判定される。ドット配置マスクのピクセルがオンの場合、その処理対象画素のハーフトーン処理(2値化処理)が行われ、その後、次の画素のドットオン-オフの判定処理が行われる。一方、ドット配置マスクのピクセルがオフの場合、その処理対象画素はドットオフに設定され、次の画素のドットオン-オフの判定処理が行われる。このドット配置マスクのオン-オフ情報に基づく画素毎のドットオン-オフ判定処理が、画像データの全画素に関して繰り返し行われ、ハーフトーン画像データが生成される。
 これにより、例えば印刷モードがハーフトーン入力画像D40と同じ解像度に対応する場合、ドット配置マスクによるドット配置可能箇所は実質的に制限されない(図13の「1200×1200dpi(最大解像度)」参照)。一方、印刷モードがハーフトーン入力画像D40よりも低解像度の場合、印刷モードの精細度に応じてドットが配置されない画素(ドット配置禁止箇所)に対してドットオフマスクm(ドット配置マスク)が適用される。ドットオフマスクmが適用される画素は、2値化後のハーフトーン画像において画素値が「0(ゼロ)」に設定されドットが配置されず(図13の「ハーフトーン出力画像D50(1200×1200dpi)」参照)、誤差成分は配分されない。一方、ドットオフマスクmが適用されない画素は、ドット配置可能箇所であり、誤差成分が配分されてドットのオン-オフが誤差拡散法に基づいて決められる。
 このようにして高精細度印刷モードの精細度に対応するメモリ空間上で生成されたハーフトーン画像データは、そのまま印刷ヘッド部16に送信される。
 なお誤差拡散法に基づくハーフトーン処理S55の多値化(2値化等)の手法は特に限定されず、画像データの画素値が所定の閾値(例えば画像データの階調数の半分の値(12ビット階調の場合には「2048」))よりも大きければ「ドットオン」とし、その閾値以下であれば「ドットオフ」とすることができる。なお、このドットオン-オフの判定の基礎となる画像データの画素値は、誤差拡散係数マトリクスに従って周辺画素からの誤差が分配された後の値である。
 本例では、上述のドットオン-オフの判定処理に加え、誤差拡散法による誤差の配分処理においても、ドット配置マスクが利用される。すなわちドット配置マスクに基づいて、ドットオン画素(ドット配置可能箇所)にのみ誤差を配分し、ドットオフ画素(ドット配置禁止画素)には誤差が配分されないように、ハーフトーン処理部24は誤差配分をコントロールする。
 この誤差配分のコントロール手法として、「誤差拡散係数マトリクスとは別にドット配置マスクを使用する手法」と、「ドット配置マスクを反映した誤差拡散係数マトリクスを使用する手法」とがある。
 「誤差拡散係数マトリクスとは別にドット配置マスクを使用する手法」では、ドット配置マスクを直接的に使用して誤差配分を決定する。すなわちハーフトーン処理部24は、誤差配分処理時に対象画素がドット配置可能箇所(ドットオフマスクmの適用無し)かドット配置禁止箇所(ドットオフマスクmの適用有り)かを判定し、ドット配置可能箇所にのみ誤差を配分し、ドット配置禁止箇所と判定される画素に対しては誤差を配分しない。
 図14は、誤差拡散係数マトリクスとは別にドット配置マスクを使用した誤差拡散処理に係るプログラムコード例を示す。なお図14には、C言語で書かれたプログラムコードが示されているが、他のアルゴリズムや他のプログラム言語が用いられてもよい。
 図14のライン「10」及び「20」は、処理対象の入力画像の画素全体(画像高さh、画像幅w)にわたって以降のラインに記載される処理を繰り返し行うことを規定する。ライン「30」及び「40」は、各画素値に誤差を反映する計算を行っており、対象画素(i,j)の画素値(入力画像)src[i,j]に周辺画素からの拡散誤差err(i,j)を加算し、誤差拡散反映後の画素値valを算出する。ライン「50」~「70」は、多値化処理を行っており、対象画素(i,j)の画素値valと閾値とを比較してドット径種類kを求め(ライン「60」)、画素値valとドット径種類kのドット量との差から新たな拡散誤差量newErrが求められる(ライン「70」)。ライン「80」~「150」は、周辺画素(i+n,j+m)への拡散誤差量を新たな拡散誤差量newErrに基づいて求めている。すなわち、「0」から「誤差拡散係数マトリクス幅edfmatH、edfmatW」の範囲内で誤差を繰り返し拡散する(ライン「90」及び「100」)。周辺画素(i+n,j+m)がドット配置可能画素(マスクON画素)の場合、新たな拡散誤差量newErrと誤差拡散係数マトリクスedfmat[n,m]との積が累積されることによって新たな拡散誤差err[i+n,j+m]が算出される(ライン「120」及び「130」)。一方、周辺画素(i+n,j+m)がドット配置禁止画素(マスクOFF画素)の場合、その周辺画素に拡散誤差は配分されない。
 本例のようにドット配置マスクを直接的に使用し、ドットを置けない画素には誤差を配分しないようにすることで、複数の印刷モード間で単一の誤差拡散係数マトリクスを用いてハーフトーン処理を行うことができる。
 なお図14に示す例では誤差拡散係数マトリクスとは別個に準備されたドット配置マスクを考慮して誤差拡散が行われるが、ドット配置マスクを反映した誤差拡散係数マトリクスを使用し、ドット配置マスクを直接的に使用せずに誤差拡散を行ってもよい。
 図15A~図15Dは、ドット配置マスクを反映した誤差拡散係数マトリクスを例示する図である。図15A~図15Dにおいて「*」で表記されたピクセル(画素)が処理対象画素に対応するピクセルであり、「a」~「l」の英語表記されたピクセルには誤差拡散係数が割り当てられている。「0(ゼロ)」で表記されたピクセル(図15A~図15Dのドット部)に割り当てられる誤差拡散係数は「0(ゼロ)」であり、「0」の誤差拡散係数が割り当てられたピクセルに対応する画素に誤差は拡散されない。また図15A~図15Dにおいて斜線によるハッチングがされたピクセルは、処理済み画素に対応し、誤差の拡散対象とはならない。
 本例において、図15Aの誤差拡散係数マトリクスKは図2Aの印刷モード(1200dpi×1200dpi)に対応し、図15Bの誤差拡散係数マトリクスは図2Bの印刷モード(1200dpi×600dpi(ライン状配置))に対応し、図15Cの誤差拡散係数マトリクスは図2Cの印刷モード(1200dpi×600dpi(千鳥状配置))に対応し、図15Dの誤差拡散係数マトリクスは図2Dの印刷モード(600dpi×600dpi(格子状配置))に対応する。
 図15A~図15Dに示す誤差拡散係数マトリクスKは、対応の印刷モードにおけるドット配置可能箇所(ドット配置マスク)が考慮され、ドットが配置されない画素(ドット配置禁止箇所)には誤差が拡散されないように、「0」の誤差拡散係数が対応ピクセルに割り当てられている。
 図15A~図15Dに示す誤差拡散係数マトリクスを印刷モード毎に予め用意しておき、選択された印刷モードに応じて対応の誤差拡散係数マトリクスをハーフトーン処理部24が選択及び使用することで、印刷モードの精細度に応じた誤差拡散を行うことができる。なお、複数の印刷モード間の精細度(解像度及びドット配置態様)の関係次第では、1つの誤差拡散係数マトリクスを基準とし、この基準誤差拡散係数マトリクスを印刷モードの精細度に応じて引き伸ばす等することで作られる誤差拡散係数マトリクスを、ハーフトーン処理において使用してもよい。
 図16は、ドット配置マスクを反映した誤差拡散係数マトリクスを使用する誤差拡散処理に係るプログラムコード例を示す。なお図16において、図14と同様の処理については詳細な説明を省略する。本例の誤差拡散処理も、図14の処理と同様に、処理対象の入力画像の画素全体にわたって繰り返し処理を行うことを規定し(図16のライン「10」及び「20」)、誤差を反映する演算処理(ライン「30」及び「40」)、多値化処理及び新誤差量newErrの算出処理(ライン「50」~「70」)、及び誤差拡散処理(ライン「80」~「110」)を行う。なお本例の誤差拡散処理では、誤差拡散係数マトリクスにドット配置マスクのオン-オフ情報(印刷モードの精細度情報)が反映されているので、「マスクON画素か否かの判定(図14のライン「110」~「130」参照)」は不要である。
 上述のように誤差拡散手法として「誤差拡散係数マトリクスとは別個のドット配置マスクを使用する手法(図14参照:誤差拡散手法α)」、「誤差拡散係数マトリクスにドット配置マスクを反映する手法であって、印刷モード毎に誤差拡散係数マトリクスを予め準備する手法(図15A~16参照:誤差拡散手法β-1)」及び「誤差拡散係数マトリクスにドット配置マスクを反映する手法であって、基準となる誤差拡散係数マトリクスを印刷モード毎に展開及び変形する手法(誤差拡散手法β-2)」がある。画質の観点からは誤差拡散手法αよりも誤差拡散手法β-1及び誤差拡散手法β-2の方が好ましく、印刷画像の粒状等の品質を向上させる観点からは誤差拡散手法β-1の方が誤差拡散手法β-2よりも好ましい。
 <変形例>
 画像処理を印刷モード間で共通化すると、共通化された印刷モード(特に相対的に低密度(低解像度)の印刷モード)の画像処理は、より高密度なデータ状態で画像処理を行うことになるので、処理速度自体は遅くなってしまう。そのため、必ずしも全印刷モードの画像処理を共通化する必要はなく、例えばユーザの使用頻度が高い思われる印刷モードに関しては専用の画像処理モジュールを設けることが好ましい。
 また上述の各構成及び機能は、任意のハードウェア、ソフトウェア、或いは両者の組み合わせによって適宜実現可能である。例えば、上述の処理ステップ(処理手順)をコンピュータに実行させるプログラム、そのようなプログラムを記録したコンピュータ読み取り可能な記録媒体(非一時的記録媒体)、或いはそのようなプログラムをインストール可能なコンピュータに対しても本発明を適用することが可能である。
 10…印刷装置、12…印刷条件設定部、14…画像処理部、16…印刷ヘッド部、20…画像サイズ調整部、22…画像調整処理部、24…ハーフトーン処理部

Claims (15)

  1.  精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成する画像処理装置であって、 前記入力画像のサイズを調整する画像サイズ調整部と、 前記画像サイズ調整部によってサイズが調整された前記入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理部とを備え、 前記複数の印刷モードのうち2以上の印刷モード間で、前記画像サイズ調整部は前記入力画像を同じサイズに調整し、前記ハーフトーン処理が同じサイズの前記入力画像に施される画像処理装置。
  2.  前記ハーフトーン処理部は、前記ハーフトーン画像を構成するドットの配置を、前記複数の印刷モードのうち選択された印刷モードのドット配置可能箇所に限定する請求項1に記載の画像処理装置。
  3.  前記ハーフトーン処理部は、ディザ法に基づき、選択された前記印刷モードに応じたディザマトリクスに基づいて前記ハーフトーン処理を行う請求項2に記載の画像処理装置。
  4.  前記2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、 前記低解像度の印刷モードの前記ドット配置可能箇所の全ては、前記高解像度の印刷モードの前記ドット配置可能箇所に含まれる請求項3に記載の画像処理装置。
  5.  前記高解像度の印刷モードに応じた前記ディザマトリクスを構成する閾値要素のうち、前記低解像度の印刷モードの前記ドット配置可能箇所に対応する閾値要素は他の箇所に対応する閾値要素よりも値が小さく又は大きく、前記ハーフトーン画像を構成する前記ドットは、前記低解像度の印刷モードの前記ドット配置可能箇所に優先的に配置される請求項4に記載の画像処理装置。
  6.  前記低解像度の印刷モードに応じた前記ディザマトリクスは、前記高解像度の印刷モードに応じた前記ディザマトリクスを構成する閾値要素のうちの最大値よりも低い値の階調値にて又は最小値よりも高い値の階調値にて、当該低解像度の印刷モードの前記ドット配置可能箇所の全てに、前記ハーフトーン画像を構成する前記ドットが配置される閾値要素によって構成される請求項4又は5に記載の画像処理装置。
  7.  前記入力画像の階調値を調整する階調値調整部を更に備え、 前記ディザマトリクスを構成する閾値要素のうち、前記ドット配置可能箇所の全てに前記ハーフトーン画像のドットが配置されることを決めるために使用される閾値要素の値は、前記複数の印刷モードの各々について定められ、 前記階調値調整部は、前記ディザマトリクスを構成する閾値要素のうち、選択された前記印刷モードの前記ドット配置可能箇所の全てにドットが配置されることを決めるために使用される閾値要素の値よりも高い階調値又は低い階調値を、前記入力画像が持たないように、前記入力画像の階調値を調整し、 前記ハーフトーン処理部は、前記階調値調整部によって階調値が調整された前記入力画像の前記ハーフトーン処理を行う請求項4~6のいずれか一項に記載の画像処理装置。
  8.  前記低解像度の印刷モードに応じた前記ディザマトリクスを構成する閾値要素の最大値は、前記高解像度の印刷モードに応じた前記ディザマトリクスを構成する閾値要素の最大値よりも大きい又は最小値よりも小さい請求項4~6のいずれか一項に記載の画像処理装置。
  9.  前記ハーフトーン処理部は、選択された前記印刷モードの前記ドット配置可能箇所を指定するドット配置マスクを用いて前記ハーフトーン処理を行う請求項2に記載の画像処理装置。
  10.  前記2以上の印刷モードは、相対的に高解像度の印刷モードと、相対的に低解像度の印刷モードとを含み、 前記低解像度の印刷モードの前記ドット配置可能箇所の全ては、前記高解像度の印刷モードの前記ドット配置可能箇所に含まれる請求項2又は9に記載の画像処理装置。
  11.  前記ハーフトーン処理部は、選択された前記印刷モードに応じた処理パラメータに基づいて前記ハーフトーン処理を行う請求項2、9及び10のうちのいずれか一項に記載の画像処理装置。
  12.  前記ハーフトーン処理部は、誤差拡散法に基づいて前記ハーフトーン処理を行い、 前記処理パラメータは誤差拡散係数マトリクスを含む請求項11に記載の画像処理装置。
  13.  請求項1に記載の画像処理装置と、 前記ハーフトーン画像に基づいて印刷媒体上に記録を行う記録部とを備える印刷装置。
  14.  精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成する画像処理方法であって、 前記入力画像のサイズを調整する画像サイズ調整ステップと、 前記画像サイズ調整ステップでサイズが調整された前記入力画像のハーフトーン処理を行ってハーフトーン画像を生成するハーフトーン処理ステップとを含み、 前記複数の印刷モードのうち2以上の印刷モード間で、前記画像サイズ調整ステップでは前記入力画像が同じサイズに調整され、前記ハーフトーン処理が同じサイズの前記入力画像に施される画像処理方法。
  15.  精細度の異なる複数の印刷モードの入力画像からハーフトーン画像を生成するためのプログラムにおいて、 前記入力画像のサイズを調整する手順と、 サイズが調整された前記入力画像のハーフトーン処理を行ってハーフトーン画像を生成する手順と、をコンピュータに実行させるためのプログラムであって、 前記複数の印刷モードのうち2以上の印刷モード間で、前記入力画像が同じサイズに調整され、前記ハーフトーン処理が同じサイズの前記入力画像に施されるプログラム。
PCT/JP2014/076546 2013-10-04 2014-10-03 画像処理装置、印刷装置、画像処理方法及びプログラム WO2015050245A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP14850838.5A EP3054663B1 (en) 2013-10-04 2014-10-03 Image processing device, printing apparatus, image processing method, and program
US15/078,971 US9571695B2 (en) 2013-10-04 2016-03-23 Image processing device adapting halftone process to plural printing modes with different resolution and dot arrangement
US15/408,249 US9894245B2 (en) 2013-10-04 2017-01-17 Image processing device including image size adjustment unit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-209478 2013-10-04
JP2013209478A JP6156997B2 (ja) 2013-10-04 2013-10-04 画像処理装置、印刷装置、画像処理方法及びプログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/078,971 Continuation US9571695B2 (en) 2013-10-04 2016-03-23 Image processing device adapting halftone process to plural printing modes with different resolution and dot arrangement

Publications (1)

Publication Number Publication Date
WO2015050245A1 true WO2015050245A1 (ja) 2015-04-09

Family

ID=52778828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/076546 WO2015050245A1 (ja) 2013-10-04 2014-10-03 画像処理装置、印刷装置、画像処理方法及びプログラム

Country Status (4)

Country Link
US (2) US9571695B2 (ja)
EP (1) EP3054663B1 (ja)
JP (1) JP6156997B2 (ja)
WO (1) WO2015050245A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565337B1 (en) * 2016-04-22 2017-02-07 Eastman Kodak Company Computing array of high-resolution halftone pixel values by addressing halftone dot function and averaging values to determine value at printer resolution
WO2019221718A1 (en) * 2018-05-15 2019-11-21 Hewlett-Packard Development Company, L.P. Image printing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110150A (ja) * 1997-09-30 1999-04-23 Brother Ind Ltd 画像処理システム及び画像処理方法並びに画像処理制御プログラムが記録されたコンピュータ読み取り可能な記録媒体
JP2001053957A (ja) * 1999-08-09 2001-02-23 Seiko Epson Corp プリンタホスト、プリンタ、プリンタシステム、描画命令を二値化イメージデータに変換するプログラムが記憶されている記憶媒体
JP2002135583A (ja) 2000-10-25 2002-05-10 Canon Inc 画像処理装置、画像処理方法及び記憶媒体
JP2006014131A (ja) * 2004-06-29 2006-01-12 Seiko Epson Corp 閾値マトリクスを用いた画像処理
JP2006033006A (ja) * 2004-07-12 2006-02-02 Seiko Epson Corp 画像処理装置、及びドットデータ生成方法
JP2006186755A (ja) 2004-12-28 2006-07-13 Seiko Epson Corp 画像処理装置、画像処理方法、プログラム、および記録媒体
JP2012028953A (ja) * 2010-07-21 2012-02-09 Fuji Xerox Co Ltd 画像処理装置及び画像処理方法
JP2012134968A (ja) 2010-12-22 2012-07-12 Toshiba Corp 画像処理装置および画像処理方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6166751A (en) * 1995-08-31 2000-12-26 Minolta Co., Ltd. Image forming apparatus
JP3612878B2 (ja) * 1995-08-31 2005-01-19 ミノルタ株式会社 画像形成装置
US6783203B2 (en) * 2001-05-11 2004-08-31 Seiko Epson Corporation Printing with multiple pixels as unit of gradation reproduction
JP4154865B2 (ja) * 2001-05-11 2008-09-24 セイコーエプソン株式会社 複数画素を階調再現の1単位とする印刷
JP3979372B2 (ja) * 2003-09-26 2007-09-19 ブラザー工業株式会社 画像処理装置、画像処理方法及び画像処理プログラム
JP4568748B2 (ja) * 2007-10-15 2010-10-27 シャープ株式会社 画像処理方法、画像処理装置、画像形成装置、コンピュータプログラム及び記録媒体

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110150A (ja) * 1997-09-30 1999-04-23 Brother Ind Ltd 画像処理システム及び画像処理方法並びに画像処理制御プログラムが記録されたコンピュータ読み取り可能な記録媒体
JP2001053957A (ja) * 1999-08-09 2001-02-23 Seiko Epson Corp プリンタホスト、プリンタ、プリンタシステム、描画命令を二値化イメージデータに変換するプログラムが記憶されている記憶媒体
JP2002135583A (ja) 2000-10-25 2002-05-10 Canon Inc 画像処理装置、画像処理方法及び記憶媒体
JP2006014131A (ja) * 2004-06-29 2006-01-12 Seiko Epson Corp 閾値マトリクスを用いた画像処理
JP2006033006A (ja) * 2004-07-12 2006-02-02 Seiko Epson Corp 画像処理装置、及びドットデータ生成方法
JP2006186755A (ja) 2004-12-28 2006-07-13 Seiko Epson Corp 画像処理装置、画像処理方法、プログラム、および記録媒体
JP2012028953A (ja) * 2010-07-21 2012-02-09 Fuji Xerox Co Ltd 画像処理装置及び画像処理方法
JP2012134968A (ja) 2010-12-22 2012-07-12 Toshiba Corp 画像処理装置および画像処理方法

Also Published As

Publication number Publication date
JP2015076627A (ja) 2015-04-20
US20170126930A1 (en) 2017-05-04
US9571695B2 (en) 2017-02-14
US20160205285A1 (en) 2016-07-14
US9894245B2 (en) 2018-02-13
EP3054663A4 (en) 2016-12-07
EP3054663B1 (en) 2018-03-28
EP3054663A1 (en) 2016-08-10
JP6156997B2 (ja) 2017-07-05

Similar Documents

Publication Publication Date Title
JP4607989B2 (ja) 画像形成装置及びカラー画像形成装置
US6714320B1 (en) Image processor and color image processor
US9007655B2 (en) Image processing apparatus, printing apparatus, and image processing method
US7367644B2 (en) Printing apparatus, printing program, printing method, image processing apparatus, image processing program, image processing method, and recording medium having the program recorded thereon
JP4605782B2 (ja) デュアルハーフトーンを用いるレーザプリント装置
KR100585243B1 (ko) 화상처리방법및프린터장치
JPH11314383A (ja) プリント・ドライバ製造方法及びカラー印刷システム
US20100245444A1 (en) Inkjet printer and printing method
JP6175914B2 (ja) 印刷装置、印刷方法、および画像処理装置
JP4132585B2 (ja) 画像処理装置及びカラー画像処理装置
JP6156997B2 (ja) 画像処理装置、印刷装置、画像処理方法及びプログラム
JP4220654B2 (ja) 画像処理装置及びカラー画像処理装置
JPH1013677A (ja) スキャン型表示機構を用いて画像を表示する方法及び装置
JP2006005926A (ja) ディザマスクを生成する方法
JP2004015410A (ja) 情報処理装置、情報処理方法、情報処理プログラム、記録媒体、及びインクジェット記録装置
JP2004135317A (ja) カラー画像処理装置およびカラー画像処理方法
JP2015039139A (ja) 量子化方法及び画像処理装置
JP2001061064A (ja) 画像処理装置
JP2006240054A (ja) 印刷データ作成時のハーフトーン処理アルゴリズムの選択
JP2001061063A (ja) 画像処理装置
US20060007492A1 (en) Method to improve a halftone by combining halftoning with algorithmic processing
JP2006205717A (ja) 印刷装置、印刷プログラム、印刷方法、および画像処理装置、画像処理プログラム、画像処理方法、並びに前記プログラムを記録した記録媒体
JP4548090B2 (ja) 画像処理装置、画像処理方法、コンピュータプログラムおよび印刷装置
JP5838087B2 (ja) 画像処理装置、画像処理方法、画像処理プログラム
JP2000108384A (ja) 画像処理方法、記録媒体及び画像処理装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14850838

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014850838

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014850838

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE