JPH09247475A - Image processing method and its device - Google Patents

Image processing method and its device

Info

Publication number
JPH09247475A
JPH09247475A JP8047664A JP4766496A JPH09247475A JP H09247475 A JPH09247475 A JP H09247475A JP 8047664 A JP8047664 A JP 8047664A JP 4766496 A JP4766496 A JP 4766496A JP H09247475 A JPH09247475 A JP H09247475A
Authority
JP
Japan
Prior art keywords
image
predetermined
dither pattern
color space
highlight
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP8047664A
Other languages
Japanese (ja)
Other versions
JP3548321B2 (en
Inventor
Yasusuke Nakajima
庸介 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP04766496A priority Critical patent/JP3548321B2/en
Publication of JPH09247475A publication Critical patent/JPH09247475A/en
Application granted granted Critical
Publication of JP3548321B2 publication Critical patent/JP3548321B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress difference in color by a vertical carrying image and a horizontal carrying image and to form an optimum image by converting a prescribed image and a prescribed dither pattern by prescribed angle rotation. SOLUTION: Information on the direction of a page transmitted from a image forming device 2 is analyzed in an analyzing part 11 and it is discriminated whether or not image data is required to be rotated by 90 deg. so as to be developed in output bit map data. Image data obtained by rotating image data by 90 deg. by a rotating part 13 is stored in a storing part 16. The rotating part 13 rotates the dither pattern which is previously stored in a pattern storing part 16 by 90 and, then, the rotated dither pattern is re-stored in the pattern storing part 16. A color processing part 14 inputs rotated image data from the pattern storing part 16, converts them to a CMYK multi-valued signal and its result is stored in the pattern storing part 16. A binarizing part 15 uses the dither pattern in the pattern storing part 16 so as to binarize the image generated in the color processing part 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像情報を
出力する画像処理装置及び方法に関し、入力画像データ
に色変換および2値化処理を行なう画像処理装置および
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method for outputting color image information, and more particularly to an image processing apparatus and method for performing color conversion and binarization processing on input image data.

【0002】[0002]

【従来の技術】一般に、入力されたカラー画像データに
基づいて、画像形成を行なうプリンタ装置等に代表され
る従来の画像処理装置においては、ディスプレイモニタ
等で扱う色信号のRGB値を入力として、該信号に色処
理を施し、プリンタ等の出力色信号であるCMYK信号
へ変換するのが一般的である。
2. Description of the Related Art Generally, in a conventional image processing apparatus represented by a printer apparatus or the like which forms an image based on input color image data, RGB values of color signals handled by a display monitor or the like are input, In general, the signal is color-processed and converted into a CMYK signal which is an output color signal of a printer or the like.

【0003】従来の一般的な画像処理装置における色処
理の例を、図1を参照して説明する。 図1は、画像処
理装置における色処理における詳細構成を示すブロック
図である。図1において、入力値であるRGB表記の多
値データは、色処理部70へ入力されて色変換処理が施
され、CMYK多値信号へ変換される。該色変換処理
は、通常、入力RGB信号に対してn*mのマトリクス
演算(マスキング処理)を施すことにより、出力信号で
あるCMYK信号を得る。
An example of color processing in a conventional general image processing apparatus will be described with reference to FIG. FIG. 1 is a block diagram showing a detailed configuration of color processing in the image processing apparatus. In FIG. 1, multivalued data in RGB notation, which is an input value, is input to a color processing unit 70, subjected to color conversion processing, and converted into a CMYK multivalued signal. In the color conversion process, an n * m matrix operation (masking process) is usually performed on an input RGB signal to obtain a CMYK signal as an output signal.

【0004】ここで使用するマスキングパラメータは、
予め最小自乗法等の算術演算により決定しておく。すな
わち、該パラメータは、入力信号RGBに対して最も望
ましい出力信号CMYKを得る目的で作成されたもので
ある。該パラメータの生成に関してはここでは言及しな
い。色処理部70から出力されたCMYK多値信号は、
次に、2値化部71に入力されてプリンタ等の出力部が
出力を行う際の形態であるCMYK2値信号へディザ変
換等によって変換される。
The masking parameters used here are
It is determined in advance by an arithmetic operation such as the least square method. That is, the parameters are created for the purpose of obtaining the most desirable output signal CMYK for the input signals RGB. The generation of the parameter is not mentioned here. The CMYK multilevel signal output from the color processing unit 70 is
Next, the data is input to the binarization unit 71 and converted into a CMYK binary signal, which is a form when the output unit such as a printer outputs, by dither conversion or the like.

【0005】このディザ変換とは、図2に示すようなし
きい値マトリクス(ディザパターン)を用いて、画像を
形成する1ピクセルと該しきい値との大小比較を行うこ
とにより該ピクセルを出力するかしないかの2値データ
に変換するものである。以上説明したように、一般的な
画像処理装置における色処理とは、入力されたRGB表
記の多値信号を出力部が出力を行うための信号であるC
MYK2値信号に変換するものである。そして、プリン
タは、得られたCMYK2値信号に応じて、CMYKの
インクを減法混色することにより色再現を行うデバイス
である。
In this dither conversion, a threshold matrix (dither pattern) as shown in FIG. 2 is used to compare one pixel forming an image with the threshold to output the pixel. The data is converted into binary data which is used or not. As described above, color processing in a general image processing apparatus is a signal for the output unit to output an input multivalued signal in RGB notation C
It is to be converted into a MYK binary signal. The printer is a device that performs color reproduction by subtractively mixing CMYK inks in accordance with the obtained CMYK binary signal.

【0006】図3は減法混色を説明する図で、181は
記録媒体面(紙面)であり、182〜185はそれぞれ
K(ブラック)、C(シアン)、M(マゼンタ)、Y
(イエロー)のインク層を示す。また、186は紙面1
81への入射光、187は紙面181からの反射光であ
る。プリンタは図3に示すように、CMYKのインク層
182〜185を紙面181上に重ねることでカラー画
像を形成する。この場合、入射光186はインク層18
2〜185を透過して紙面181に到達し、そこで反射
されて、再びインク層182〜185を透過し反射光1
87として観察者に至る。その過程で、分光吸収率の異
なるインク層182〜185により順次エネルギが吸収
され、光の分光特性が変化して色が再現される。
FIG. 3 is a diagram for explaining subtractive color mixing. 181 is a recording medium surface (paper surface), and 182 to 185 are K (black), C (cyan), M (magenta), and Y, respectively.
The (yellow) ink layer is shown. Also, 186 is the space 1
The incident light on 81 and 187 is the reflected light from the paper surface 181. As shown in FIG. 3, the printer forms a color image by superposing CMYK ink layers 182 to 185 on the paper surface 181. In this case, the incident light 186 reflects the ink layer 18
2 to 185, reaches the paper surface 181, is reflected there, and again passes through the ink layers 182 to 185 and is reflected light 1
The observer is reached as 87. In the process, energy is sequentially absorbed by the ink layers 182 to 185 having different spectral absorptances, the spectral characteristics of light are changed, and colors are reproduced.

【0007】次に、従来の画像処理装置における、画像
処理の流れを説明する。図4は、画像処理の流れを示す
ブロック図である。図4において、アプリケーション等
から送出された画像データは、まず、解析部31におい
て解析され、そして、展開部32で、該解析結果に応じ
て32においてビットマップデータ等の出力に適した形
態に展開される。該ビットマップデータは、出力部33
においてプリンタ等の出力装置によって出力される。
Next, the flow of image processing in the conventional image processing apparatus will be described. FIG. 4 is a block diagram showing the flow of image processing. In FIG. 4, the image data sent from the application or the like is first analyzed by the analysis unit 31, and then expanded by the expansion unit 32 into a form suitable for outputting bitmap data or the like at 32 according to the analysis result. To be done. The bitmap data is output by the output unit 33.
Is output by an output device such as a printer.

【0008】次に、図5を用いて、画像処理装置におけ
るページの回転について説明する。ここで、21、22
はそれぞれアプリケーション等によって作成される画像
データであり、通常、出力用紙のサイズにあわせて作成
される。21のような縦長の画像データをポートレイト
(portrait)画像、22のような横長の画像デ
ータをランドスケープ(landscape)画像と呼
んでいる。
Next, the rotation of the page in the image processing apparatus will be described with reference to FIG. Where 21, 22
Are image data created by applications or the like, and are usually created according to the size of the output paper. The vertically long image data such as 21 is called a portrait image, and the horizontally long image data like 22 is called a landscape image.

【0009】23、24はそれぞれ、プリンタ等の出力
装置によって画像を出力する際の出力用紙の搬送方向を
示すものであり、23のような縦長の搬送を縦搬送、2
4のような横長の搬送を横搬送と呼んでいる。ここで、
ポートレイト画像21を縦搬送23で出力する場合や、
ランドスケープ画像22を横搬送24で出力する場合
は、画像データをそのまま出力用のビットマップデータ
に展開すればよい。
Reference numerals 23 and 24 respectively indicate the conveyance direction of the output paper when an image is output by an output device such as a printer.
A horizontally long transport such as 4 is called a horizontal transport. here,
When outputting portrait image 21 by vertical conveyance 23,
When the landscape image 22 is output by the lateral conveyance 24, the image data may be directly expanded into output bitmap data.

【0010】ところが、ポートレイト画像21を横搬送
24で出力する場合や、ポートレイト画像22を縦搬送
23で出力する場合は、画像データを90度回転させ
て、出力用のビットマップデータに展開する必要があ
る。ここで、図6に示すフローチャートを用いて、更に
詳細に画像処理における上述した展開処理の流れを説明
する。
However, when the portrait image 21 is output by the horizontal transport 24 or when the portrait image 22 is output by the vertical transport 23, the image data is rotated by 90 degrees and expanded into bitmap data for output. There is a need to. Here, the flow of the above-described expansion processing in the image processing will be described in more detail using the flowchart shown in FIG.

【0011】図6において、まず、ステップS41にお
いて、上述したポートレイト画像21を横搬送24で出
力する場合や、ランドスケープ画像22を縦搬送23で
出力する場合のように、画像を回転させる必要があるか
否かを判断する。そして、回転させる必要がない場合
は、ステップS43に進む。回転させる必要がある場合
は、ステップS42において回転処理を行う。
In FIG. 6, first, in step S41, it is necessary to rotate the image as in the case where the portrait image 21 is output by the horizontal conveyance 24 or the landscape image 22 is output by the vertical conveyance 23. Determine if there is. Then, if it is not necessary to rotate it, the process proceeds to step S43. If it is necessary to rotate, rotation processing is performed in step S42.

【0012】次に、ステップS43において、上述した
色処理を行う。次に、ステップS44において、2値化
処理を行ない、得られた2値画像データを出力用のビッ
トマップデータとして展開する。カラー画像出力の場
合、ビットマップデータは、通常、出力信号であるCM
YK用に別々に用意されている。ビットマップデータの
概要を図7を用いて説明する。
Next, in step S43, the above-described color processing is performed. Next, in step S44, binarization processing is performed, and the obtained binary image data is expanded as bitmap data for output. In the case of color image output, the bitmap data is usually an output signal CM.
Separately prepared for YK. An outline of bitmap data will be described with reference to FIG.

【0013】図7において、51は縦搬送画像であり、
52はその原点であり、通常左上の点を用いる。また、
53は横搬送画像であり、54はその原点であり、通常
左下の点を用いる。55は、ビットマップデータを展開
するためのビットマップメモリであり、ビットマップデ
ータを図の矢印で示す搬送方向に合わせて格納する。す
なわち、縦搬送画像51の場合、原点52から水平方向
に1ラスタ分の展開を行ない、順次下方向へ展開を行
う。
In FIG. 7, 51 is a vertical conveyance image,
52 is the origin, and the upper left point is normally used. Also,
Reference numeral 53 is a lateral conveyance image, 54 is its origin, and the lower left point is normally used. Reference numeral 55 is a bit map memory for expanding the bit map data, and stores the bit map data according to the carrying direction indicated by the arrow in the figure. That is, in the case of the vertical conveyance image 51, one raster is expanded in the horizontal direction from the origin 52 and sequentially expanded in the downward direction.

【0014】また、横搬送画像53の場合、原点54か
ら水平方向に1ラスタ分の展開を行ない、順次上方向へ
展開を行う。このとき、前述した2値化に用いる図2に
示すようなディザパターンは、概念的には、上記ビット
マップメモリの左上を開始点としてくり返し敷き詰めら
れている。つまり、ビットマップメモリの横サイズをX
ピクセル、縦サイズをYピクセルとすると、図2のよう
な8*8ピクセルのディザパターンの場合、横方向にX
/8〜X/8+1回、縦方向にY/8〜Y/8+1回く
り返し参照される。
Further, in the case of the laterally conveyed image 53, one raster is expanded in the horizontal direction from the origin 54 and sequentially expanded in the upward direction. At this time, the dither pattern shown in FIG. 2 used for the above-mentioned binarization is conceptually spread repeatedly starting from the upper left of the bitmap memory. That is, the horizontal size of the bitmap memory is X
Assuming that the pixel is Y pixels in the vertical size, in the case of the 8 * 8 pixel dither pattern as shown in FIG.
/ 8 to X / 8 + 1 times, and Y / 8 to Y / 8 + 1 times in the vertical direction.

【0015】すなわち、図7に示すように、2値化の際
は、ビットマップメモリに敷き詰めたディザパターンを
用いて、縦搬送画像51の場合、原点52から水平方向
に1ラスタ分の2値化処理を行ない、順次下方向へ2値
化を行う。また、縦搬送画像53の場合、原点54から
水平方向に1ラスタ分の2値化処理を行ない、順次上方
向へ2値化を行う。
That is, as shown in FIG. 7, in the case of binarization, a dither pattern spread in a bit map memory is used. The binarization process is performed, and binarization is sequentially performed in the downward direction. Further, in the case of the vertically conveyed image 53, binarization processing for one raster is performed in the horizontal direction from the origin 54, and binarization is sequentially performed in the upward direction.

【0016】これらのビットマップメモリは、55〜5
8に示すようにCMYKに応じてそれぞれ用意されてお
り、出力の際には、CMYKのビットマップデータを順
次出力装置に送出することにより画像を形成する。
These bit map memories are 55 to 5
As shown in FIG. 8, it is prepared for each of CMYK, and at the time of output, an image is formed by sequentially sending CMYK bitmap data to the output device.

【0017】[0017]

【発明が解決しようとする課題】以上説明した従来例に
おいては、縦搬送画像、横搬送画像はそれぞれ、ビット
マップメモリ上の異なるアドレスに展開されることか
ら、2値化の際のディザパターンに位相の違いが生じ
る。すなわち、縦搬送画像、横搬送でディザパターンは
微妙に異なるといえる。
In the conventional example described above, since the vertical carrying image and the horizontal carrying image are developed at different addresses in the bit map memory, the dither pattern for binarization is used. Phase difference occurs. That is, it can be said that the dither pattern is slightly different between the vertically conveyed image and the horizontally conveyed image.

【0018】これにより、図8に示すよな課題が生じ
る。図8において、61、62はそれぞれハイライト画
像を縦搬送、横搬送のディザパターンで処理した様子を
示す模式図である。図8において丸印、三角印、四角
印、星印がそれぞれ、C,M,Y,Kインクの出力に対
応している。ハイライト画像とは、定濃度な明るい画像
であり、単位面積あたりの出力ピクセル数が比較的少な
い画像である。一様なハイライト画像の場合、61、6
2に示すようにディザパターンが異なることによる2値
化後の画像の違いが顕著に現れる。つまり、単位面積で
の割合の多いインクの種類によって、その色みが異なる
からである。
This causes the problem shown in FIG. In FIG. 8, reference numerals 61 and 62 are schematic views showing a state in which a highlight image is processed by a dither pattern of vertical conveyance and horizontal conveyance, respectively. In FIG. 8, circle marks, triangle marks, square marks, and star marks respectively correspond to outputs of C, M, Y, and K inks. The highlight image is a bright image with a constant density, and is an image in which the number of output pixels per unit area is relatively small. 61, 6 for uniform highlight images
As shown in FIG. 2, the difference in the image after binarization due to the difference in the dither pattern appears remarkably. That is, the tint is different depending on the type of ink having a large proportion in the unit area.

【0019】これに対して、63、64に示す高濃度画
像の場合は、ハイライト画像と異なり単位面積あたりの
出力ピクセル数が多いため、2値化後の画像は高い濃度
で安定し、縦搬送、横搬送による出力差が現れにくい。
すなわち、上記従来例において縦搬送、横搬送でディザ
パターンが異なることにより、同じ原画像を処理した場
合、特にハイライト画像における色みが異なるという欠
点があった。
On the other hand, in the case of the high density images shown by 63 and 64, unlike the highlight image, the number of output pixels per unit area is large, so the image after binarization is stable at a high density, Output difference due to transport and lateral transport is unlikely to appear.
That is, in the above-mentioned conventional example, when the same original image is processed due to the difference in the dither pattern between the vertical conveyance and the horizontal conveyance, there is a drawback that the tint particularly in the highlight image is different.

【0020】本発明は、上記従来例に鑑みてなされたも
ので、縦搬送画像、横搬送画像による色みの違いを抑え
る最適な画像形成ができる画像処理方法とその装置を提
供することを目的とする。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide an image processing method and an apparatus therefor capable of optimal image formation for suppressing the difference in color tint between a vertically conveyed image and a horizontally conveyed image. And

【0021】[0021]

【課題を解決するための手段】上記目的を達成するた
め、本発明の画像処理方法とその装置は以下の構成を備
える。即ち、所定の画像を所定角度の回転変換する画像
回転変換工程と、所定のディザパターンを前記所定角度
の回転変換するディザパターン回転変換工程と、前記画
像回転工程で回転された回転画像を、画像形成可能な色
空間の画像に変換する画像変換工程と、前記ディザパタ
ーン回転変換工程で回転変換されたディザパターンを用
いて、前記画像変換工程で変換された画像形成可能な色
空間の画像から2値画像を生成する2値画像生成工程と
を備える。
In order to achieve the above object, an image processing method and apparatus according to the present invention have the following arrangement. That is, an image rotation conversion step of rotating and converting a predetermined image by a predetermined angle, a dither pattern rotation conversion step of rotating and converting a predetermined dither pattern by the predetermined angle, and a rotation image rotated in the image rotation step as an image. From the image of the image formable color space converted in the image conversion process, using the image conversion process of converting into the image of the formable color space and the dither pattern rotated and converted in the dither pattern rotation conversion process. A binary image generating step of generating a value image.

【0022】また、別の発明は、所定の画像を所定角度
の回転変換する画像回転変換工程と、前記画像回転工程
で回転された回転画像を、画像形成可能な色空間の画像
に変換する画像変換工程と、前記所定の画像がポートレ
イト画像であれば、ポートレイト用ディザパターンを用
いて、前記画像変換工程で変換された画像形成可能な色
空間の画像を2値画像を生成し、前記所定の画像がラン
ドスケープ画像であれば、ランドスケープ用ディザパタ
ーンを用いて、前記画像変換工程で変換された画像形成
可能な色空間の画像から2値画像を生成する生成工程と
を備え、前記ポートレイト用ディザパターンとランドス
ケープ用ディザパターンの関係は、互いに90度の回転
関係にある。
Another aspect of the present invention is an image rotation conversion step for rotating and converting a predetermined image at a predetermined angle, and an image for converting the rotation image rotated in the image rotation step into an image in a color space capable of forming an image. If the conversion step and the predetermined image are portrait images, a dither pattern for portrait is used to generate a binary image of the image formable color space image converted in the image conversion step, and If the predetermined image is a landscape image, a generating step of generating a binary image from the image of the image formable color space converted in the image converting step using a landscape dither pattern is included. The dither pattern for landscape and the dither pattern for landscape are in a 90-degree rotation relation with each other.

【0023】また、別の発明は、所定の画像を所定角度
の回転変換する画像回転変換工程と、前記画像回転工程
で回転された回転画像を、画像形成可能な色空間の画像
に変換する画像変換工程と、前記所定の画像がハイライ
ト画像であれば、ハイライト用ディザパターンを用い
て、前記画像変換工程で変換された画像形成可能な色空
間の画像から2値画像を生成する生成工程とを備える。
Another aspect of the present invention is an image rotation conversion step of rotating and converting a predetermined image by a predetermined angle, and an image of converting the rotation image rotated in the image rotation step into an image in a color space capable of forming an image. A converting step and a generating step of generating a binary image from the image of the image-formable color space converted in the image converting step using a highlight dither pattern if the predetermined image is a highlight image With.

【0024】また、別の発明は、所定の画像を所定角度
の回転変換する画像回転変換手段と、所定のディザパタ
ーンを前記所定角度の回転変換するディザパターン回転
変換手段と、前記画像回転手段で回転された回転画像
を、画像形成可能な色空間の画像に変換する画像変換手
段と、前記ディザパターン回転変換手段で回転変換され
たディザパターンを用いて、前記画像変換手段で変換さ
れた画像形成可能な色空間の画像から2値画像を生成す
る2値画像生成手段とを備える。
Further, according to another invention, an image rotation converting means for rotating and converting a predetermined image at a predetermined angle, a dither pattern rotation converting means for rotating and converting a predetermined dither pattern at the predetermined angle, and the image rotating means. Image conversion means for converting the rotated rotated image into an image in a color space capable of forming an image, and image formation converted by the image conversion means using the dither pattern rotated and converted by the dither pattern rotation converting means. And a binary image generating means for generating a binary image from an image in a possible color space.

【0025】また、別の発明は、所定の画像を所定角度
の回転変換する画像回転変換手段と、前記画像回転手段
で回転された回転画像を、画像形成可能な色空間の画像
に変換する画像変換手段と、前記所定の画像がポートレ
イト画像であれば、ポートレイト用ディザパターンを用
いて、前記画像変換手段で変換された画像形成可能な色
空間の画像から2値画像を生成し、前記所定の画像がラ
ンドスケープ画像であれば、ランドスケープ用ディザパ
ターンを用いて、前記画像変換手段で変換された画像形
成可能な色空間の画像を2値画像を生成する生成手段と
を備え、前記ポートレイト用ディザパターンとランドス
ケープ用ディザパターンの関係は、互いに90度の回転
関係にある。
Another aspect of the present invention is an image rotation conversion means for rotating and converting a predetermined image at a predetermined angle, and an image for converting the rotation image rotated by the image rotation means into an image in a color space capable of forming an image. If the conversion unit and the predetermined image are portrait images, a dither pattern for portrait is used to generate a binary image from the image of the image-formable color space converted by the image conversion unit, If the predetermined image is a landscape image, the landscape dither pattern is used to generate a binary image of the image in the image-formable color space converted by the image conversion unit, and the portrait image is generated. The dither pattern for landscape and the dither pattern for landscape are in a 90-degree rotation relation with each other.

【0026】[0026]

【発明の実施の形態】はじめに、本発明の実施の形態の
画像処理方法とその装置のポイントを要約した後に、そ
の詳細な説明に入るものとする。本発明の実施の形態の
画像処理方法とその装置は、画像データを90度回転す
るための回転処理部と、色処理を行うための色処理部
と、2値化を行うための2値化部と、2値化部で用いる
ディザパターンを格納するパターン格納部を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, after summarizing the points of an image processing method and an image processing apparatus according to an embodiment of the present invention, a detailed description thereof will be given. An image processing method and apparatus according to an embodiment of the present invention include a rotation processing unit for rotating image data by 90 degrees, a color processing unit for performing color processing, and a binarization for performing binarization. Section and a pattern storage section for storing a dither pattern used in the binarization section.

【0027】ここで、回転処理部は、画像出力用のビッ
トマップデータとディザパターンを回転させる。また、
パターン格納部は、ポートレイト(portrait)画像用のパ
ターン、ランドスケープ(landscape)画像用のパターン
を格納する。更に、入力画像データがハイライト画像で
あるか否かを外部から指示すると、該指示に従って、ポ
ートレイト画像用、ランドスケープ画像用のディザパタ
ーンを選択するディザパターン選択部を備える。
Here, the rotation processing unit rotates the bitmap data for image output and the dither pattern. Also,
The pattern storage unit stores a pattern for a portrait image and a pattern for a landscape image. Further, it is provided with a dither pattern selection unit for selecting a dither pattern for a portrait image and a dither pattern for a landscape image in accordance with an instruction from the outside whether or not the input image data is a highlight image.

【0028】更に、入力画像データを解析する解析部
と、該入力画像データがハイライト画像か否かを判別す
るハイライト検知部を有する。また、ディザパターン選
択部は、上イライト検知部による判断に従ってポートレ
イト画像用、ランドスケープ画像用のディザパターンを
選択する。更に、色処理部、2値化部を経て作成した出
力データに基づいて画像を形成する画像出力部を有す
る。
Further, it has an analysis unit for analyzing the input image data and a highlight detection unit for determining whether or not the input image data is a highlight image. Further, the dither pattern selection unit selects a dither pattern for portrait image and landscape image according to the determination by the upper illite detection unit. Further, it has an image output unit that forms an image based on the output data created through the color processing unit and the binarization unit.

【0029】以上の構成において、ハイライト画像に対
しては縦搬送、横搬送画像で共通のディザパターンを用
い、高濃度画像に対しては、従来例の2値化を行う方法
を提供することにより、最適な色再現が可能となり、理
想的な色再現を得ることができるという特有の作用効果
が得られる。尚、以下説明する各実施の形態ではインク
ジェット方式のカラープリンタを例に用いるが、他の方
式のカラープリンタをはじめとする他の出力装置に関し
ても、同様に実施可能であることは言うまでもない。
In the above arrangement, there is provided a method of using a common dither pattern for a vertically conveyed image and a horizontally conveyed image for a highlight image and binarizing a conventional example for a high density image. As a result, optimum color reproduction is possible, and a unique effect that ideal color reproduction can be obtained is obtained. In each of the embodiments described below, an inkjet type color printer is used as an example, but it goes without saying that other output devices such as a color printer of another type can be similarly implemented.

【0030】以下、本発明の実施の形態の画像処理方法
とその装置の詳細な説明を行う。 [第一実施の形態]本実施の形態では、アプリケーショ
ンから送出されるイメージデータやポートレイト,ラン
ドスケープといったページの向き等の画像データを解析
する解析手段と、該解析手段によって解析した結果に従
って前記画像データを出力用のビットマップデータに展
開する展開手段と、該展開手段での展開の際に入力デー
タに対して色処理を行う展開手段の一部を構成する色処
理手段と、該色処理の施されたデータを2値化する展開
手段の一部を構成する2値化手段と、該2値化手段が2
値化の際に使用するディザパターンを格納するパターン
格納手段と、前記画像データや前記ディザパターンを9
0度回転させるための展開手段の一部を構成する回転手
段と、前記展開手段によって展開されたビットマップデ
ータを格納するビットマップ格納手段と、該ビットマッ
プ格納手段内のデータの出力装置への出力や、出力装置
の紙搬送の方向等のデータを保持するための出力手段と
を設けることにより、アプリケーションから送出された
ページの向きの情報を解析手段によって解析した結果
と、出力手段に保持してある出力装置の紙搬送の向きと
によって、画像データの回転の必要性を判別し、必要で
ある場合は前記展開手段の一構成要素である回転手段に
よって画像データを90度回転させ、更にパターン格納
手段内のディザパターンを90度回転させた後、アプリ
ケーションから送出された画像データを解析手段によっ
て解析した結果に従って、上記展開手段内の色処理手段
によって処理を行なった後、前記2値化手段によって前
記パターン格納手段内のディザパターンを用いて2値化
処理を行ない、その後ビットマップ格納手段へ格納す
る。従って本実施の形態では、portrait,la
ndscape画像で同位相のディザパターンを用いて
ビットマップデータを作成することが可能となるため、
portrait,landscape画像による色み
の違いを抑える色再現が可能となる。
The image processing method and apparatus according to the embodiment of the present invention will be described below in detail. [First Embodiment] In the present embodiment, analysis means for analyzing image data sent from an application and image data such as page orientation such as portrait and landscape, and the image according to the analysis result by the analysis means. Expansion means for expanding the data into bitmap data for output, color processing means for forming a part of the expansion means for performing color processing on the input data at the time of expansion by the expansion means, and The binarizing means forming a part of the expanding means for binarizing the applied data, and the binarizing means are binary.
A pattern storage unit for storing a dither pattern used for binarization, and the image data and the dither pattern
Rotating means forming a part of the expanding means for rotating by 0 degrees, bitmap storing means for storing the bitmap data expanded by the expanding means, and data in the bitmap storing means to an output device. By providing output means for holding data such as output and paper conveyance direction of the output device, the result of analysis of the page orientation information sent from the application by the analysis means and the output means are held. The necessity of rotation of the image data is determined based on the direction of paper conveyance of the output device, and if necessary, the image data is rotated by 90 degrees by the rotation means which is a constituent element of the expanding means, and the pattern is further rotated. After rotating the dither pattern in the storage means by 90 degrees, the image data sent from the application is analyzed according to the analysis result by the analysis means. Te, after performing the processing by the color processing means in said expanding means, said performs binarization using the dither pattern in the pattern storing unit by the binarizing means, and then stored in the bitmap storage unit. Therefore, in the present embodiment,
Since it is possible to create bitmap data using an in-phase dither pattern in an ndscape image,
It is possible to perform color reproduction that suppresses the difference in color tint due to the portrait and landscape images.

【0031】以下、本実施の形態について詳細に説明す
る。図9は、本発明に係る一実施の形態の画像処理装置
の構成を示すブロック図である。図9において、1は本
実施の形態の画像処理装置である。2は、アプリケーシ
ョン画像を作成する原画像作成装置であり、3は、画像
処理装置1からの出力データに基づき、出力画像を形成
する画像出力装置である。
The present embodiment will be described in detail below. FIG. 9 is a block diagram showing the configuration of the image processing apparatus according to the embodiment of the present invention. In FIG. 9, 1 is an image processing apparatus according to the present embodiment. Reference numeral 2 is an original image creating apparatus that creates an application image, and 3 is an image output apparatus that forms an output image based on output data from the image processing apparatus 1.

【0032】画像処理装置1において、11はアプリケ
ーションから送信されるイメージデータや、ポートレイ
ト,ランドスケープ画像等のページの向きに関する入力
データを解析する解析部11である。12は、解析部1
1によって解析された内容に従って様々な描画処理を行
い、生成されたビットマップデータをビットマップ格納
部17に格納する展開部である。ビットマップ格納部1
7に格納されたビットマップデータは、画像出力部18
によって読み出され、画像出力装置3に出力され、画像
が形成される。
In the image processing apparatus 1, reference numeral 11 is an analysis unit 11 for analyzing image data transmitted from an application and input data regarding page orientation such as portrait and landscape images. 12 is the analysis unit 1
1 is a decompression unit that performs various drawing processes according to the content analyzed by 1 and stores the generated bitmap data in the bitmap storage unit 17. Bitmap storage unit 1
The bitmap data stored in 7 is stored in the image output unit 18
Is read out and output to the image output device 3 to form an image.

【0033】13は、展開部12の中にあって、前記ビ
ットマップデータや、パターン格納部16に格納される
ディザパターンを90度回転させる回転部13である。
14は、展開部12の中にあって、前述した色処理を行
う色処理部である。15は、展開部12の中にあって、
パターン格納部16に格納されたディザパターンを用い
て、2値化処理を行う2値化部である。
Reference numeral 13 denotes a rotation unit 13 in the expansion unit 12 for rotating the bit map data and the dither pattern stored in the pattern storage unit 90 by 90 degrees.
A color processing unit 14 is provided in the expansion unit 12 and performs the above-described color processing. 15 is in the expansion unit 12,
It is a binarization unit that performs binarization processing using the dither pattern stored in the pattern storage unit 16.

【0034】16は、2値化部15が2値化処理を行う
際に用いるディザパターンを格納するパターン格納部で
ある。また、パターン格納部16は、回転部13、色処
理部14、2値化部15での処理結果も格納する。17
は、展開部12によって展開された、前述した出力装置
へ出力するためのデータであるビットマップデータを格
納するビットマップ格納部17である。
Reference numeral 16 is a pattern storage unit for storing the dither pattern used when the binarization unit 15 performs the binarization process. The pattern storage unit 16 also stores the processing results of the rotation unit 13, the color processing unit 14, and the binarization unit 15. 17
Is a bitmap storage unit 17 for storing the bitmap data, which is the data to be output to the above-described output device, which is expanded by the expansion unit 12.

【0035】18は、ビットマップ格納部17内のビッ
トマップデータを画像出力装置3へ出力したり、画像出
力装置3の紙搬送の方向等のデータを保持する画像出力
部である。本実施の形態において、画像出力装置3は例
えばmインクジェットプリンタである。
Reference numeral 18 denotes an image output unit that outputs the bitmap data in the bitmap storage unit 17 to the image output device 3 and holds data such as the paper conveyance direction of the image output device 3. In the present embodiment, the image output device 3 is, for example, an m inkjet printer.

【0036】画像出力部18において、該出力データは
1頁分のビットマップ形式のデータであり、前述のとお
り、CMYK4色で構成する。画像出力部18では、該
出力データを画像出力装置3へ送出する。そして、画像
出力装置3では、それを受信して、出力用紙へC(シア
ン)、M(マゼンタ)、Y(イエロー)、K(ブラッ
ク)の各インクを用いて、画像出力を行う。
In the image output section 18, the output data is bitmap data for one page, and is composed of four colors of CMYK as described above. The image output unit 18 sends the output data to the image output device 3. Then, the image output device 3 receives the image and outputs the image to the output sheet by using each ink of C (cyan), M (magenta), Y (yellow), and K (black).

【0037】以上の構成よりなる本実施の形態における
展開部12での画像処理の手順を図10に示すフローチ
ャートに従って以下に説明する。図10は、展開部12
が1頁分のデータを入力し、出力用のデータを形成する
際の処理の流れを示すフローチャートである。図10に
おいて、まず、ステップS81では、画像作成装置2か
ら送出されたページの向きの情報を解析部11によって
解析した結果と、画像出力部18に保持してある画像出
力装置3の紙搬送の向きのデータとによって、前述した
図5におけるポートレイト画像21を横搬送24で出力
する場合や、ランドスケープ画像22を縦搬送23で出
力する場合の様に、画像データを90度回転させて出力
用のビットマップデータに展開する必要性を判別する。
そして、必要である場合は、ステップS82に進む。そ
うでなければ、ステップS84に進む。
The procedure of image processing in the developing unit 12 in the present embodiment having the above configuration will be described below with reference to the flowchart shown in FIG. FIG. 10 shows the expansion unit 12.
Is a flow chart showing the flow of processing when data for one page is input and data for output is formed. In FIG. 10, first, in step S81, the result of analysis of the page orientation information sent from the image creating apparatus 2 by the analysis unit 11 and the paper conveyance of the image output apparatus 3 held in the image output unit 18 are performed. Depending on the orientation data, the image data may be rotated by 90 degrees for output, as in the case where the portrait image 21 in FIG. 5 is output by the horizontal conveyance 24 or the landscape image 22 is output by the vertical conveyance 23. Determine the need to expand to the bitmap data of.
If it is necessary, the process proceeds to step S82. Otherwise, it proceeds to step S84.

【0038】ステップS82では、展開部12の回転部
13によって、画像データを90度回転させた画像デー
タをパターン格納部16に格納する。ステップS83で
は、回転部13は、パターン格納部16に予め格納され
ているディザパターンを90度回転させる。そして、回
転させたディザパターンを、パターン格納部16に再び
格納する。この回転されたディザパターンは、後述する
2値化部15での処理の際に用いられる。
In step S82, the image data obtained by rotating the image data by 90 degrees by the rotation unit 13 of the development unit 12 is stored in the pattern storage unit 16. In step S83, the rotation unit 13 rotates the dither pattern stored in the pattern storage unit 16 by 90 degrees. Then, the rotated dither pattern is stored again in the pattern storage unit 16. This rotated dither pattern is used in the process in the binarization unit 15 described later.

【0039】ステップS84では、色処理部14は、画
像データが回転処理されていれば、その回転された画像
データをパターン格納部16から入力し、また、回転処
理されていなければ、展開部12に入力した画像データ
を入力する。そして、その画像データ(RGB表記の多
値データ)をCMYK多値信号に変換する。そして、変
換結果をパターン格納部16に格納する。
In step S84, the color processing unit 14 inputs the rotated image data from the pattern storage unit 16 if the image data has been subjected to the rotation process, and if the image data has not been subjected to the rotation process, the developing unit 12 does. Input the image data input to. Then, the image data (multivalued data in RGB notation) is converted into a CMYK multivalued signal. Then, the conversion result is stored in the pattern storage unit 16.

【0040】この色変換処理は、通常、入力RGB信号
に対してn*mのマトリクス演算(マスキング処理)等
を施すことにより、出力信号であるCMYK信号を得
る。次に、ステップS85では、2値化部15は、前述
したパターン格納部16内のディザパターンを用いて、
色処理部で生成した画像(パターン格納部16に格納さ
れている)の2値化を行う。
In this color conversion processing, normally, an input RGB signal is subjected to n * m matrix calculation (masking processing) or the like to obtain a CMYK signal as an output signal. Next, in step S85, the binarization unit 15 uses the dither pattern in the pattern storage unit 16 described above,
The image (stored in the pattern storage unit 16) generated by the color processing unit is binarized.

【0041】2値化処理は前述のとおり、図2に示すよ
うなディザパターンを用いて、画像を形成する1ピクセ
ルと該しきい値との大小比較を行うことにより該ピクセ
ルを出力するかしないかの2値データに変換するもので
ある。先述した従来例においては、図7に示すように、
ビットマップメモリに敷き詰めたディザパターンを用い
て、縦搬送画像51の場合、原点52から水平方向に1
ラスタ分の2値化処理を行ない、順次下方向へ2値化処
理を行う。
As described above, the binarization process uses the dither pattern as shown in FIG. 2 to compare one pixel forming the image with the threshold value and output the pixel. It is to be converted into binary data. In the above-mentioned conventional example, as shown in FIG.
In the case of the vertical conveyance image 51, the dither pattern spread in the bit map memory is used to set 1 in the horizontal direction from the origin 52.
Binarization processing for the raster is performed, and the binarization processing is sequentially performed downward.

【0042】また、横搬送画像53の場合、原点54か
ら水平方向に1ラスタ分の2値化処理を行ない、順次上
方向へ2値化処理を行う。本実施の形態においては、画
像データの回転に合わせて、ディザパターンも回転させ
るため、ディザパターンは概念的に、ビットマップメモ
リではなく、原画像そのものに貼りついていると考えら
れる。
In the case of the horizontally conveyed image 53, binarization processing for one raster is performed horizontally from the origin 54, and binarization processing is sequentially performed in the upward direction. In the present embodiment, since the dither pattern is also rotated in accordance with the rotation of the image data, it is considered that the dither pattern is conceptually attached to the original image itself rather than the bitmap memory.

【0043】従って、例えば、縦搬送方向のプリンタに
対して、同じ画像データを持つポートレイト,ランドス
ケープのそれぞれの画像を出力する際に、結果的に位相
の同じディザパターンで2値化を行うことができる。以
上説明したように本実施の形態によれば、同位相のディ
ザパターンを用いてビットマップデータを作成すること
が可能となるため、ポートレイト画像,ランドスケープ
画像による色みの違いを抑える色再現が可能となり、最
適な色再現が可能となる。
Therefore, for example, when a portrait image and a landscape image having the same image data are output to a printer in the vertical conveyance direction, as a result, binarization is performed with a dither pattern having the same phase. You can As described above, according to the present embodiment, since it is possible to create bitmap data using in-phase dither patterns, it is possible to achieve color reproduction that suppresses color differences between portrait images and landscape images. It becomes possible, and optimal color reproduction becomes possible.

【0044】[第2実施の形態]以下、本発明に係る第
二実施の形態について詳細に説明する。上述した第一実
施の形態では、回転部13が回転の必要があるときにパ
ターン格納部16内のディザパターンを回転させている
のに対して、第2実施の形態では、予め、ポートレイト
用、ランドスケープ用のディザパターンをパターン格納
部16内に用意しておき、選択的に使い分けるように構
成する。
[Second Embodiment] The second embodiment according to the present invention will be described in detail below. In the first embodiment described above, the dither pattern in the pattern storage unit 16 is rotated when the rotating unit 13 needs to rotate, whereas in the second embodiment, the dither pattern is previously used for portrait. A dither pattern for landscape is prepared in the pattern storage unit 16 and selectively used.

【0045】ここで、ランドスケープ用のディザパター
ンは、ポートレイト用のパターンを90度回転させ、そ
の開始点を一致させたものを用いる。すなわち、第1実
施の形態の図10に示すステップS83で、回転部13
によってディザパターンを回転させているのに対して、
第2実施の形態では、2値化の際に、予め90度回転さ
せたパターンを用いて2値化するものである。
Here, as the landscape dither pattern, a pattern in which the portrait pattern is rotated by 90 degrees and the starting points thereof are matched is used. That is, in step S83 shown in FIG. 10 of the first embodiment, the rotating unit 13
While rotating the dither pattern by
In the second embodiment, the binarization is performed by using a pattern that has been rotated by 90 degrees in advance during binarization.

【0046】従って、第2実施の形態の画像処理装置に
おいては、基本的な構成は上述した第1実施の形態と同
様であるが、回転部13において回転を行う際の処理及
びその制御方法と、パターン格納部16における格納パ
ターンの種類数が異なる。以下、上述した第1実施の形
態と異なる部分について説明する。第2実施の形態にお
ける色処理の流れを、図11のフローチャートに示す。
Therefore, in the image processing apparatus of the second embodiment, the basic configuration is the same as that of the above-mentioned first embodiment, but the processing and control method for the rotation of the rotating unit 13 are the same as those of the first embodiment. The number of types of storage patterns in the pattern storage unit 16 is different. Hereinafter, parts different from the above-described first embodiment will be described. The flow of color processing in the second embodiment is shown in the flowchart of FIG.

【0047】図11は、第1実施の形態における図10
と同様、展開部12が1頁分のデータを入力し、出力用
のデータを形成する際の処理の流れを示すフローチャー
トである。図11において、まず、ステップS91で原
画作成装置2から送出されたページの向きの情報を解析
部11によって解析した結果と、画像出力部18に保持
してある画像出力装置3の紙搬送の向きとによって、前
述した図5におけるポートレイト画像21を横搬送24
で出力する場合や、ランドスケープ画像22を縦搬送2
3で出力する場合のように、画像データを90度回転さ
せて、出力用のビットマップデータに展開する必要性を
判別する。そして、必要である場合は、ステップS92
に進む。そうでなければ、ステップS93へ進む。
FIG. 11 shows the configuration of FIG. 10 in the first embodiment.
9 is a flowchart showing a flow of processing when the expansion unit 12 inputs data for one page and forms data for output, similarly to the above. In FIG. 11, first, in step S 91, the result of analysis of the page orientation information sent from the original image creating apparatus 2 by the analysis unit 11 and the paper conveyance orientation of the image output apparatus 3 held in the image output unit 18 The horizontal transfer 24 of the portrait image 21 shown in FIG.
If you want to output the
As in the case of outputting in 3, the image data is rotated by 90 degrees, and it is determined whether it is necessary to expand the bitmap data for output. If necessary, step S92
Proceed to. If not, the process proceeds to step S93.

【0048】ステップS92では、回転部13は、入力
した画像データを90度回転させたものを、パターン格
納部16に格納する。ステップS93では、色処理部1
4が、画像データが回転処理されていれば、その回転さ
れた画像データをパターン格納部16から入力し、ま
た、回転処理されていなければ、展開部12に入力した
画像データを入力する。そして、その画像データ(RG
B表記の多値データ)をCMYK多値信号に変換する。
そして、変換結果をパターン格納部16に格納する。
In step S92, the rotation unit 13 stores the input image data rotated 90 degrees in the pattern storage unit 16. In step S93, the color processing unit 1
If the image data has undergone rotation processing, 4 inputs the rotated image data from the pattern storage unit 16, and if not, inputs the input image data to the expansion unit 12. Then, the image data (RG
(B-valued multivalued data) is converted into a CMYK multivalued signal.
Then, the conversion result is stored in the pattern storage unit 16.

【0049】ステップS94では、原画像がポートレイ
トであるかランドスケープであるかを判別する。原画像
がポートレイトである場合は、ステップS95に進む。
また、ランドスケープである場合は、ステップS96へ
進む。ステップS95では、2値化部15が、パターン
格納部16内のポートレイト用ディザパターンを選択す
る。
In step S94, it is determined whether the original image is portrait or landscape. If the original image is a portrait, the process proceeds to step S95.
If it is a landscape, the process proceeds to step S96. In step S95, the binarization unit 15 selects the portrait dither pattern in the pattern storage unit 16.

【0050】ステップS96では、2値化部15が、パ
ターン格納部16内のランドスケープ用ディザパターン
を選択する。次に、ステップS97では、2値化部15
は、選択されたディザパターンを用いて、色処理部で生
成した画像(パターン格納部16に格納されている)の
2値化を行う。
In step S96, the binarization unit 15 selects the landscape dither pattern in the pattern storage unit 16. Next, in step S97, the binarization unit 15
Performs binarization of the image (stored in the pattern storage unit 16) generated by the color processing unit using the selected dither pattern.

【0051】先述した第1実施の形態においては、画像
データの回転に合わせてディザパターンも回転させるた
め、ディザパターンは概念的に、ビットマップメモリで
はなく原画像そのものに貼りついていると考えられる
が、本実施の形態では、原画像の向きによって、予め異
なるパターンを用いるものである。但し、ランドスケー
プ用のディザパターンは、ポートレイト用のパターンを
90度回転させ、その開始点を一致させたものを用い
る。
In the first embodiment described above, since the dither pattern is also rotated in accordance with the rotation of the image data, it is considered that the dither pattern is conceptually attached to the original image itself rather than the bitmap memory. In the present embodiment, different patterns are used in advance depending on the orientation of the original image. However, as the landscape dither pattern, a pattern in which the portrait pattern is rotated by 90 degrees and the starting points thereof are matched is used.

【0052】従って、例えば、縦搬送方向のプリンタに
対して、同じ画像データを持つポートレイト、ランドス
ケープのそれぞれの画像を出力する際に、結果的に第1
の実施の形態と同様、位相の同じディザパターンで2値
化を行うことができる。以上説明したように本実施の形
態によれば、同位相のディザパターンを用いてビットマ
ップデータを作成することが可能となるため、ポートレ
イト、ランドスケープ画像による色みの違いを抑える色
再現が可能となり、最適な色再現が可能となる。
Therefore, for example, when the portrait image and the landscape image having the same image data are output to the printer in the vertical conveyance direction, the first image is eventually output.
Similar to the above embodiment, the binarization can be performed with the dither pattern having the same phase. As described above, according to the present embodiment, since it is possible to create bitmap data using dither patterns having the same phase, it is possible to perform color reproduction that suppresses the difference in color tint between portrait and landscape images. Therefore, optimum color reproduction is possible.

【0053】[第三実施の形態]以下、本発明に係る第
三実施の形態について、詳細に説明する。上述した第一
実施の形態では、回転部13が回転の必要があるときに
パターン格納部16のディザパターンを回転させてお
り、また、上述した第2実施の形態では、予め、ポート
レイト用,ランドスケープ用のディザパターンをパター
ン格納部16に用意しておき、選択的に使い分けるよう
に構成した。いづれの場合も原画像の特性に関係なく固
定的な処理をしていたのに対して、本実施の形態では原
画像がハイライト画像であるか否かを外部から指示する
手段と、該指示に従ってハイライト画像用、高濃度画像
用のディザパターンを選択するよう構成する。
[Third Embodiment] The third embodiment of the present invention will be described in detail below. In the above-described first embodiment, the dither pattern of the pattern storage unit 16 is rotated when the rotating unit 13 needs to rotate. In the above-described second embodiment, the dither pattern is rotated in advance for portrait. A dither pattern for landscape is prepared in the pattern storage unit 16 and selectively used. In either case, fixed processing was performed regardless of the characteristics of the original image, but in the present embodiment, means for externally instructing whether or not the original image is a highlight image and the instruction The dither patterns for the highlight image and the high density image are selected according to the above.

【0054】ここで、本実施の形態の特徴を明確にする
ために、従来のハイライト画像における問題点を図8を
用いて、再度説明する。図8は、61、62はそれぞれ
ハイライト画像を縦搬送、横搬送のディザパターンで処
理した様子を示す模式図である。丸印、三角印、四角
印、星印がそれぞれC,M,Y,Kインクの出力に対応
している。ハイライト画像とは、定濃度の明るい画像で
あり、単位面積あたりの出力ピクセル数が比較的少ない
画像である。一様なハイライト画像の場合、61、62
に示すようにディザパターンが異なることによる2値化
後の画像の違いが顕著に現れる。つまり、単位面積にお
いて、割合の多いインクの種類によって、その色みが異
なるからである。
Here, in order to clarify the characteristics of the present embodiment, the problem in the conventional highlight image will be described again with reference to FIG. FIG. 8 is a schematic diagram showing a state in which the highlight images 61 and 62 are processed by a dither pattern of vertical conveyance and horizontal conveyance, respectively. A circle mark, a triangle mark, a square mark, and a star mark correspond to outputs of C, M, Y, and K inks, respectively. The highlight image is a bright image with a constant density, and is an image in which the number of output pixels per unit area is relatively small. 61, 62 for uniform highlight images
As shown in (3), the difference between the binarized images due to the different dither patterns is remarkable. That is, in the unit area, the tint varies depending on the type of ink having a large proportion.

【0055】これに対して、63、64に示す高濃度画
像の場合は、ハイライト画像と異なり単位面積あたりの
出力ピクセル数が多いため、2値化後の画像は高い濃度
で安定し、縦搬送、横搬送による出力差が現れにくい。
但し、高濃度画像を上記実施の形態において示した2値
化方法を用いて2値化した際には課題が生じる。これら
の課題を図12〜図14を用いて説明する。
On the other hand, in the case of the high density images shown by 63 and 64, the number of output pixels per unit area is large unlike the highlight image, so that the binarized image is stable at a high density, Output difference due to transport and lateral transport is unlikely to appear.
However, a problem arises when a high-density image is binarized by using the binarization method shown in the above embodiment. These problems will be described with reference to FIGS.

【0056】図12は、インクジェットプリンタが画像
を形成する様子を示す図である。図12において、15
1はCMYKのインクを出力用紙154に吐出して画像
形成を行うためのヘッドであり、例えば、各色とも縦6
4ノズルといった複数のノズルから構成されている。1
52は、該ヘッドを出力用紙154の挿入方向に対して
垂直に移動させるためのCRモータである。また、15
3は、出力用紙を挿入方向へ搬送するためのLFモータ
である。CRモータ152とLFモータ153が連動し
て前記ヘッド151を移動させることにより、出力用紙
154へ画像を形成する。このような構成により、ヘッ
ド151はCRモータ152による一回の移動(パス)
によって縦64ドットの画像を形成する。
FIG. 12 is a diagram showing how the ink jet printer forms an image. In FIG. 12, 15
Reference numeral 1 denotes a head for ejecting CMYK ink onto the output paper 154 to form an image.
It is composed of a plurality of nozzles such as four nozzles. 1
Reference numeral 52 is a CR motor for moving the head vertically to the insertion direction of the output paper 154. Also, 15
Reference numeral 3 is an LF motor for conveying the output paper in the insertion direction. An image is formed on the output paper 154 by moving the head 151 in cooperation with the CR motor 152 and the LF motor 153. With such a configuration, the head 151 moves once (pass) by the CR motor 152.
An image of vertical 64 dots is formed by.

【0057】次に、図13を参照して、図12に示す構
成をなすインクジェットプリンタにおける出力結果を示
す。図13において、161は、出力用紙それぞれ該一
頁分の出力画像161における第一回目のパス、第二回
目のパスによる出力画像を示している。すなわち、出力
画像161は、このように縦64ドットの複数回のパス
を経て形成される。このような方式による画像形成にお
いては、図13に示すようにパスとパスの間に画像の不
連続(もしくは干渉縞)が発生し、出力画像上に横縞と
なって現れる。これらの不連続は、図12におけるCR
モータ152、LFモータ153によるヘッドや紙送り
のズレにより、ヘッドの1パスにおける各パス間の距離
を一定に保つことが困難であること等が考えられる。
Next, referring to FIG. 13, an output result in the ink jet printer having the configuration shown in FIG. 12 is shown. In FIG. 13, reference numeral 161 denotes an output image of the first pass and the second pass of the output image 161 for one page of each output sheet. That is, the output image 161 is formed through a plurality of passes of 64 dots vertically as described above. In image formation by such a method, image discontinuity (or interference fringes) occurs between passes as shown in FIG. 13, and appears as horizontal stripes on the output image. These discontinuities are CR in FIG.
It is conceivable that it is difficult to keep the distance between each pass in one pass of the head constant due to the deviation of the head and the paper feed by the motor 152 and the LF motor 153.

【0058】また、こうした不連続による横縞は、ドッ
トのまばらなハイライト画像よりは、高密度である高濃
度画像に、特に発生しやすい。このような横縞を防止す
るために従来から様々な方法が考案されているが、一つ
の解決方法として、ある種のディザパターンによる方法
が挙げられる。これは、図14に示すような、縦長に成
長するようなディザマトリクスを用いることにより、図
13の162、163のようなパス間の画像データの繋
がりを強くするものである。このように、画像出力装置
の特性を考慮したディザパターンは、紙搬送方向を考慮
して形成されるため、上述した実施の形態のように紙搬
送方向に対して90度ディザパターンを回転させた場
合、こうしたディザパターンの効果を減少させる場合が
ある。特に、高濃度画像に対して90度回転させたディ
ザパターンを使用した場合は、反対に横縞が強調される
という弊害がある。
Horizontal stripes due to such discontinuity are more likely to occur in a high-density image having a higher density than in a highlight image with sparse dots. Various methods have been conventionally devised to prevent such horizontal stripes, but one solution is a method using a certain dither pattern. This is to strengthen the connection of the image data between the paths like 162 and 163 in FIG. 13 by using a dither matrix that grows vertically as shown in FIG. As described above, since the dither pattern in consideration of the characteristics of the image output device is formed in consideration of the paper carrying direction, the dither pattern is rotated by 90 degrees with respect to the paper carrying direction as in the above-described embodiment. In some cases, the effect of such dither patterns may be diminished. In particular, when a dither pattern rotated by 90 degrees with respect to a high density image is used, there is an adverse effect that horizontal stripes are emphasized.

【0059】従って、本実施の形態においては、従来の
高濃度画像における横縞を防止する2値化方法に加え
て、ハイライト画像を処理するのに適した2値化方法を
提供し、原画像がハイライト画像であるか否かを外部か
ら指示する手段を設け、これにより上記の2値化方法を
切り替えることにより、高濃度画像における横縞の抑制
しかつ、ハイライト画像における縦搬送画像、横搬送画
像による色みの違いを抑える最適な色再現を得ようとす
るものである。
Therefore, in this embodiment, in addition to the conventional binarization method for preventing horizontal stripes in a high-density image, a binarization method suitable for processing a highlight image is provided, and an original image is provided. Means for externally instructing whether or not is a highlight image, and by switching the binarization method described above, horizontal stripes in the high-density image can be suppressed, and the vertical conveyance image in the highlight image, It is intended to obtain the optimum color reproduction that suppresses the difference in color tint due to the conveyed image.

【0060】従って、第3実施の形態の画像処理装置に
おいては、基本的な構成は上述した第1実施の形態と同
様であるが、原画像がハイライト画像であるか否かを外
部から選択する選択手段と、該指示に従ってハイライト
画像用、高濃度画像用のディザパターンを選択するよう
構成する点、及び、その制御方法が異なる。以下、上述
した第1実施の形態と異なる部分について説明する。
Therefore, in the image processing apparatus of the third embodiment, the basic structure is the same as that of the first embodiment described above, but it is externally selected whether or not the original image is a highlight image. The selection means for selecting the dither pattern for the highlight image and the dither pattern for the high density image according to the instruction, and the control method thereof are different. Hereinafter, parts different from the above-described first embodiment will be described.

【0061】図15は、本発明に係る第3実施の形態の
画像処理装置の構成を示すブロック図である。図15に
おいて、第1実施の形態を示す図9と異なる点は、原画
像がハイライト画像であるか否かを外部から選択する選
択部19が追加構成されている点である。
FIG. 15 is a block diagram showing the arrangement of an image processing apparatus according to the third embodiment of the present invention. 15 is different from FIG. 9 showing the first embodiment in that a selection unit 19 for externally selecting whether or not the original image is a highlight image is additionally configured.

【0062】図16A,図16Bに、第3実施の形態に
おける選択部19による外部表示の例を示す。すなわ
ち、選択部19では、原画像がハイライト画像であるか
否かを、本実施の形態の画像処理装置を使用するオペレ
ータによって選択させる。これは例えば、不図示のモニ
タ上に図16A,図16Bの様な表示を行い、選択部1
9は、オペレータによる不図示のマウスやキーボードか
らの入力により、図16Aがハイライト画像の非選択状
態(高濃度選択状態)、図16Bがハイライト画像の選
択状態であることを認識する。次に、第3実施の形態に
おける色処理の流れを、図17のフローチャートに示
す。
16A and 16B show an example of external display by the selection unit 19 in the third embodiment. That is, the selection unit 19 causes the operator who uses the image processing apparatus of the present embodiment to select whether or not the original image is a highlight image. For example, the display shown in FIGS. 16A and 16B is displayed on a monitor (not shown), and the selection unit 1
9 recognizes that the highlight image is not selected (high density selection state) in FIG. 16A and the highlight image is selected in FIG. 16B by an operator's input from a mouse or a keyboard (not shown). Next, the flow of color processing in the third embodiment is shown in the flowchart of FIG.

【0063】図17は、第1実施の形態における図10
と同様、展開部12が1頁分のデータを入力し、出力用
のデータを形成する際の処理の流れを示すフローチャー
トである。図17において、まず、ステップS111
で、アプリケーション2から送出されたページの向きの
情報を解析部11によって解析した結果と、画像出力部
18に保持してある画像出力装置3の紙搬送の向きとに
よって、図5におけるポートレイト画像21を横搬送2
4で出力する場合や、ランドスケープ画像22を縦搬送
23で出力する場合のように、画像データを90度回転
させて出力用のビットマップデータに展開する必要性を
判別し、必要である場合は、ステップS112におい
て、回転部13によって画像データを90度回転させた
ものを、パターン格納部16に格納する。
FIG. 17 shows the configuration of FIG. 10 in the first embodiment.
9 is a flowchart showing a flow of processing when the expansion unit 12 inputs data for one page and forms data for output, similarly to the above. In FIG. 17, first, in step S111
Then, the portrait image in FIG. 5 is obtained according to the result of the analysis of the page orientation information sent from the application 2 by the analysis unit 11 and the paper conveyance orientation of the image output device 3 held in the image output unit 18. 21 lateral transport 2
4, it is necessary to rotate the image data by 90 degrees and expand the bitmap data for output, as in the case of outputting the landscape image 22 by the vertical conveyance 23. In step S112, the image data rotated by 90 degrees by the rotation unit 13 is stored in the pattern storage unit 16.

【0064】ステップS111で回転させる必要がない
と判断した場合は、ステップS113に進む。ステップ
S113では、色処理部14が、画像データが回転処理
されていれば、その回転された画像データをパターン格
納部16から入力し、また、回転処理されていなけれ
ば、展開部12に入力した画像データを入力する。そし
て、その画像データ(RGB表記の多値データ)をCM
YK多値信号に変換する。そして、変換結果をパターン
格納部16に格納する。
If it is determined in step S111 that it is not necessary to rotate, the process proceeds to step S113. In step S113, the color processing unit 14 inputs the rotated image data from the pattern storage unit 16 if the image data is rotated, and inputs the rotated image data to the developing unit 12 if the image data is not rotated. Input the image data. Then, the image data (multivalued data in RGB notation) is commercialized.
Convert to YK multilevel signal. Then, the conversion result is stored in the pattern storage unit 16.

【0065】ステップS114においては、選択部19
は、原画像がハイライト画像であるか高濃度画像のいず
れをオペレータが選択したかを判別する。ここで、原画
像がハイライトである場合は、ステップS115に進
む。逆に、そうでなければ、ステップS116に進む。
ステップS115では、2値化部15は、原画像がポー
トレイトであれば、パターン格納部16に予め格納され
ているハイライト.ポートレイト用ディザパターンを選
択する。また、原画像がランドスケープであれば、パタ
ーン格納部16に予め格納されているハイライト.ラン
ドスケープ用ディザパターンを選択する。
In step S114, the selection unit 19
Determines whether the original image is a highlight image or a high-density image selected by the operator. If the original image is highlighted, the process proceeds to step S115. On the contrary, if not, the process proceeds to step S116.
In step S115, if the original image is a portrait, the binarization unit 15 selects the highlight. Select a dither pattern for portrait. If the original image is a landscape, highlight. Select a landscape dither pattern.

【0066】ここで、ハイライト.ランドスケープ用デ
ィザパターンは、上記ハイライト.ポートレイト用ディ
ザパターンを予め90度回転させ、その開始点を同一に
したパターンであり、上記第2実施の形態とその効果は
同じである。ステップS116では、2値化部15は、
パターン格納部16の高濃度用ディザパターンを選択す
る。
Here, the highlight. The dither pattern for landscape is the above highlight. This is a pattern in which the portrait dither pattern is rotated 90 degrees in advance and the starting points thereof are made the same, and the effect is the same as that of the second embodiment. In step S116, the binarization unit 15
A high density dither pattern in the pattern storage unit 16 is selected.

【0067】ここで、高濃度用ディザパターンの選択と
は、上記従来例で示した通りの処理である。すなわち、
図7に示すように、2値化の際は、ビットマップメモリ
に敷き詰めたディザパターンを用いて、縦搬送画像51
の場合、原点52から水平方向にラスタ分の2値化処理
を行ない、順次下方向へ2値化を行う。また、横搬送画
像53の場合、原点54から水平方向に1ラスタ分の2
値化処理を行ない、順次上方向へ2値化を行うことによ
り、常に横縞の発生を抑制するパターンを使用するもの
である。
Here, the selection of the high density dither pattern is the processing as shown in the above-mentioned conventional example. That is,
As shown in FIG. 7, when binarizing, the vertical conveyance image 51 is formed by using the dither pattern spread in the bitmap memory.
In the case of, binarization processing for the raster is performed in the horizontal direction from the origin 52, and binarization is sequentially performed in the downward direction. Further, in the case of the laterally-conveyed image 53, two rasters are horizontally provided from the origin 54.
By performing the binarization process and binarizing in the upward direction, a pattern that always suppresses the occurrence of horizontal stripes is used.

【0068】次に、ステップS117では、2値化部1
5は、ステップS113で処理された結果のCMYK多
値画像に、選択されたディザパターンを作用させて2値
化を行う。以上説明したように、先述した第1、第2実
施の形態においては画像データがハイライト画像か否か
に関わらず、回転されたディザパターンを使用したた
め、高濃度画像の場合に横縞が発生したが、本実施の形
態では、ハイライト画像、高濃度画像に対応して2値化
処理を切り替えるため、それぞれの画像に適した、最適
な色再現が可能となる。
Next, in step S117, the binarization unit 1
In step 5, binarization is performed by applying the selected dither pattern to the CMYK multivalued image obtained as a result of the processing in step S113. As described above, in the above-described first and second embodiments, the rotated dither pattern is used regardless of whether the image data is a highlight image or not, and therefore horizontal stripes are generated in the case of a high-density image. However, in the present embodiment, since the binarization processing is switched corresponding to the highlight image and the high density image, it is possible to perform the optimum color reproduction suitable for each image.

【0069】尚、上記の説明から明らかなように、第3
実施の形態では上述した第1、第2実施の形態と独立し
て実施することも、また、同時に実施することも可能で
ある。 [第四実施の形態]以下、本発明に係る第四実施の形態
について、詳細に説明する。
As is clear from the above description, the third
The embodiment can be carried out independently of the first and second embodiments described above, or simultaneously. [Fourth Embodiment] The fourth embodiment of the present invention will be described in detail below.

【0070】上述した第三実施の形態が、原画像がハイ
ライト画像であるか否かを外部から指示する手段と、該
指示に従ってハイライト画像用、高濃度画像用のディザ
パターンを選択するように構成していたのに対して、本
実施の形態では、原画像がハイライト画像であるか否か
を自動的に検知する手段を設ける。すなわち、本実施の
形態において得ようとする効果は、第3実施の形態と同
様であり、基本的な構成は、上述した第3実施の形態と
同様であるが、本実施の形態では、図18に示すよう
に、第3実施の形態において選択部19が行っていた、
原画像がハイライト画像か否かの判断を、ハイライト検
知部20によって、オペレータの操作なしに行うよう構
成する点、及びその制御方法が異なる。
In the third embodiment described above, means for externally instructing whether or not the original image is a highlight image, and dither patterns for highlight image and high density image are selected in accordance with the instruction. On the other hand, in the present embodiment, means for automatically detecting whether or not the original image is a highlight image is provided. That is, the effect to be obtained in the present embodiment is similar to that of the third embodiment, and the basic configuration is similar to that of the above-described third embodiment. As shown in FIG. 18, the selection unit 19 in the third embodiment performs
The difference is that the highlight detection unit 20 determines whether or not the original image is a highlight image without the operator's operation, and the control method thereof.

【0071】以下、上述した第3実施の形態と異なる部
分について説明する。第4実施の形態におけるハイライ
ト検知部20は、原画作成装置2からの入力データを解
析する解析部11から、画像信号データのみを抽出し、
該画像信号データを更に統計的に解析することにより、
ハイライト画像の検知を行う。ハイライト検知部20に
おける処理の流れを、図19のフローチャートに示す。
図19において、ステップS141では、画像信号の
画素の総数をカウントするためのカウンタであるcou
nter、および、ハイライト画素の数をカウントする
ためのカウンタであるHcntをそれぞれクリアする。
The parts different from the above-described third embodiment will be described below. The highlight detection unit 20 in the fourth embodiment extracts only the image signal data from the analysis unit 11 that analyzes the input data from the original image creating device 2,
By further statistically analyzing the image signal data,
The highlight image is detected. The flow of processing in the highlight detector 20 is shown in the flowchart of FIG.
In FIG. 19, in step S141, cou, which is a counter for counting the total number of pixels of the image signal.
nter and Hcnt, which is a counter for counting the number of highlight pixels, are cleared.

【0072】次に、ステップS142において、検知の
対象となる該画像信号に関する処理が全て終了したかど
うかチェックする。これは解析部11からの情報等によ
り行う。ステップS142において、全て終了していな
いと判断した場合は、ステップS143において、当該
画素信号の評価を以下のように行う。尚、ここで、入力
画素信号は、RGB信号であるとする。
Next, in step S142, it is checked whether or not all the processing relating to the image signal to be detected has been completed. This is performed based on the information from the analysis unit 11 and the like. If it is determined in step S142 that all the pixel signals have not been completed, the pixel signal is evaluated in step S143 as follows. Incidentally, here, the input pixel signal is assumed to be an RGB signal.

【0073】ここでの評価は、R信号値が予め決められ
たしきい値であるT1より大きく、かつ、G信号が予め
決められたしきい値であるT2より大きく、かつ、B信
号値が予め決められたしきい値であるT3より大きいか
否かを評価する。すなわち、入力RGBが、全てあるし
きい値よりも大きい値である場合に、該画素がハイライ
トであると判断し、ステップS144において、カウン
タHcntをインクリメントする。
In this evaluation, the R signal value is larger than T1 which is a predetermined threshold value, the G signal is larger than T2 which is a predetermined threshold value, and the B signal value is It is evaluated whether or not it is larger than T3 which is a predetermined threshold value. That is, when all the input RGB values are larger than a certain threshold value, it is determined that the pixel is a highlight, and the counter Hcnt is incremented in step S144.

【0074】ステップS143での評価が偽である場合
は、ステップS145に進む。ステップS145では、
カウンタcounterをインクリメントし、再び、ス
テップS142に進む。ステップS142において、検
知の対象となる該画像信号の評価が全て終了したと判断
した場合は、ステップS146において、Hcntのc
ounterに占める割合が、所定のしきい値T4より
大きいか否かの評価を行う。ここで、真である場合は、
該入力画像データは高濃度画像であると判断する。
If the evaluation in step S143 is false, the process proceeds to step S145. In step S145,
The counter counter is incremented, and the process again proceeds to step S142. If it is determined in step S142 that the evaluation of the image signal to be detected has been completed, in step S146, c of Hcnt is determined.
It is evaluated whether or not the ratio occupied in the outer is larger than the predetermined threshold value T4. Where if true, then
It is determined that the input image data is a high density image.

【0075】なお、ここで用いるしきい値T1〜T4
は、予め最適な値を求めておく。しきい値の最適解の求
め方は、ここでは言及しない。本実施の形態における画
像処理の流れは、先述した第3実施の形態の流れを示す
流れ図である図17と同様であるが、ステップS114
において、先述した第3実施の形態においては、選択部
19によってオペレータが原画像がハイライト画像であ
るか高濃度画像のいずれを選択したかを判別するのに対
して、本実施の形態では、先述したハイライト検知部2
0による検知結果に従って判別を行うよう構成する。
Threshold values T1 to T4 used here
, An optimum value is obtained in advance. How to obtain the optimum solution of the threshold value will not be mentioned here. The flow of image processing in this embodiment is the same as that in FIG. 17, which is a flowchart showing the flow of the third embodiment described above, but step S114.
In the above-described third embodiment, the selection unit 19 determines whether the operator has selected the original image as a highlight image or a high-density image, whereas in the present embodiment, The highlight detection unit 2 described above
The determination is made according to the detection result of 0.

【0076】以上説明したように、先述した第3実施の
形態においては、原画像がハイライト画像であるか否か
を外部から指示する手段と、該指示に従ってハイライト
画像用、高濃度画像用のディザパターンを選択するよう
に構成していたのに対して、本実施の形態では、原画像
がハイライト画像であるか否かを自動的に検知する手段
を設けることにより、オペレータの介在なしにそれぞれ
の画像に適した最適な色再現が可能となる。
As described above, in the above-described third embodiment, means for externally instructing whether or not the original image is the highlight image, and for the highlight image and the high density image according to the instruction. However, in the present embodiment, by providing means for automatically detecting whether or not the original image is a highlight image, no operator intervention is required. In addition, optimum color reproduction suitable for each image becomes possible.

【0077】尚、上記の説明から明らかなように、第4
実施の形態は上述した第1、第2実施の形態と独立して
実施することも、また、同時に実施することも可能であ
る。尚、本発明は複数の機器から構成されるシステムに
適用しても1つの機器からなる装置に適用してもよい。
また、本発明はシステム或いは装置にプログラムを供給
することによって達成される場合にも適用できることは
いうまでもない。
As is clear from the above description, the fourth
The embodiment can be carried out independently or simultaneously with the above-described first and second embodiments. The present invention may be applied to a system including a plurality of devices or an apparatus including a single device.
Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【0078】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to supply a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or the apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0079】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。プログラムコードを供給
するための記憶媒体としては、例えば、フロッピディス
ク,ハードディスク,光ディスク,光磁気ディスク,C
D−ROM,CD−R,磁気テープ,不揮発性のメモリ
カード,ROMなどを用いることができる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, C
A D-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, etc. can be used.

【0080】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0081】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0082】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを記憶媒体に格納することになる。
以上説明したように、縦搬送、横搬送画像で共通のディ
ザパターンを用いることにより、縦搬送画像、横搬送画
像による色みの違いを抑えることが可能となる。
When the present invention is applied to the above storage medium, the storage medium stores the program code corresponding to the above-described flowchart.
As described above, by using a common dither pattern for the vertically-conveyed image and the horizontally-conveyed image, it is possible to suppress the color difference between the vertically-conveyed image and the horizontally-conveyed image.

【0083】また、ハイライト画像に対しては、縦搬
送、横搬送画像で共通のディザパターンを用い、高濃度
画像に対しては、従来例の2値化を行う方法の提供が可
能となり、より理想的な色再現を得ることができる。
Further, it becomes possible to provide a method for performing binarization of a conventional example for a high density image by using a common dither pattern for a vertical transportation image and a horizontal transportation image for a highlight image, More ideal color reproduction can be obtained.

【0084】[0084]

【発明の効果】以上説明したように本発明によれば、縦
搬送画像、横搬送画像による色みの違いを抑える最適な
画像形成ができる。
As described above, according to the present invention, it is possible to form an optimum image that suppresses a difference in color tint between a vertically conveyed image and a horizontally conveyed image.

【図面の簡単な説明】[Brief description of drawings]

【図1】従来の画像処理の概要を説明するための図であ
る。
FIG. 1 is a diagram for explaining an outline of conventional image processing.

【図2】ディザパターンの一例を示す図である。FIG. 2 is a diagram showing an example of a dither pattern.

【図3】画像出力における減法混色を説明する図であ
る。
FIG. 3 is a diagram illustrating subtractive color mixture in image output.

【図4】従来の画像処理の流れの概要を示すブロック図
である。
FIG. 4 is a block diagram showing an outline of a flow of conventional image processing.

【図5】画像データの回転の一例を説明する図である。FIG. 5 is a diagram illustrating an example of rotation of image data.

【図6】図4の展開部での画像処理手順を示す流れ図で
ある。
FIG. 6 is a flowchart showing an image processing procedure in a developing unit in FIG.

【図7】ビットマップメモリの構成概念を示す図であ
る。
FIG. 7 is a diagram showing a configuration concept of a bitmap memory.

【図8】従来例における問題点を説明する図である。FIG. 8 is a diagram illustrating a problem in a conventional example.

【図9】本発明に係る一実施の形態の画像処理装置の構
成例を示す図である。
FIG. 9 is a diagram showing a configuration example of an image processing apparatus according to an embodiment of the present invention.

【図10】本発明に係る第一実施の形態の展開部での画
像処理の手順を示す流れ図である。
FIG. 10 is a flowchart showing a procedure of image processing in a developing unit according to the first embodiment of the present invention.

【図11】本発明に係る第二施例の画像処理の手順を示
す流れ図である。
FIG. 11 is a flowchart showing the procedure of image processing of the second embodiment according to the present invention.

【図12】インクジェットプリンタの出力を説明する図
である。
FIG. 12 is a diagram illustrating an output of an inkjet printer.

【図13】インクジェットプリンタの出力結果を説明す
る図である。
FIG. 13 is a diagram illustrating an output result of the inkjet printer.

【図14】ディザパターンの一例を示す図である。FIG. 14 is a diagram showing an example of a dither pattern.

【図15】本発明に係る第三実施の形態の画像処理装置
の構成例を示す図である。
FIG. 15 is a diagram showing a configuration example of an image processing apparatus according to a third embodiment of the present invention.

【図16A】第三実施の形態における選択部における表
示例である。
FIG. 16A is a display example in the selection unit in the third embodiment.

【図16B】第三実施の形態における選択部における表
示例である。
FIG. 16B is a display example in the selection unit in the third embodiment.

【図17】本発明に係る第三実施の形態の画像処理の手
順を示す流れ図である。
FIG. 17 is a flowchart showing the procedure of image processing according to the third embodiment of the present invention.

【図18】本発明に係る第四実施の形態の画像処理装置
の構成例を示す図である。
FIG. 18 is a diagram showing a configuration example of an image processing apparatus according to a fourth embodiment of the present invention.

【図19】第四実施の形態におけるハイライト検知部の
処理の手順を示す図である。
FIG. 19 is a diagram showing a processing procedure of a highlight detection unit in the fourth embodiment.

【符号の説明】[Explanation of symbols]

1 画像処理装置 11 解析部 12 展開部 13 回転部 14 色処理部 15 2値化部 16 パターン格納部 17 ビットマップ格納部 18 出力部 19 選択部 20 ハイライト検知部 DESCRIPTION OF SYMBOLS 1 Image processing device 11 Analysis unit 12 Development unit 13 Rotation unit 14 Color processing unit 15 Binarization unit 16 Pattern storage unit 17 Bitmap storage unit 18 Output unit 19 Selection unit 20 Highlight detection unit

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 所定の画像を所定角度の回転変換する画
像回転変換工程と、 所定のディザパターンを前記所定角度の回転変換するデ
ィザパターン回転変換工程と、 前記画像回転変換工程で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換工程と、 前記ディザパターン回転変換工程で回転変換されたディ
ザパターンを用いて、前記画像変換工程で変換された画
像形成可能な色空間の画像から2値画像を生成する2値
画像生成工程とを備えることを特徴とする画像処理方
法。
1. An image rotation conversion step of rotating a predetermined image by a predetermined angle, a dither pattern rotation conversion step of rotating a predetermined dither pattern by the predetermined angle, and a rotation rotated in the image rotation conversion step. An image conversion step of converting an image into an image in a color space capable of forming an image, and the dither pattern rotated and converted in the dither pattern rotation conversion step, and using the dither pattern converted in the image conversion step. And a binary image generating step of generating a binary image from the image.
【請求項2】 前記所定の画像は、RGB色空間の画像
であることを特徴とする請求項1に記載の画像処理方
法。
2. The image processing method according to claim 1, wherein the predetermined image is an image in an RGB color space.
【請求項3】 前記画像形成可能な色空間の画像は、C
MY色空間の画像であることを特徴とする請求項1に記
載の画像処理方法。
3. The image of the color space in which the image can be formed is C
The image processing method according to claim 1, wherein the image is an image in the MY color space.
【請求項4】 前記所定角度は、90度であることを特
徴とする請求項1に記載の画像処理方法。
4. The image processing method according to claim 1, wherein the predetermined angle is 90 degrees.
【請求項5】 前記所定の画像は、ポートレイト画像で
あることを特徴とする請求項1に記載の画像処理方法。
5. The image processing method according to claim 1, wherein the predetermined image is a portrait image.
【請求項6】 前記所定の画像は、ランドスケープ画像
であることを特徴とする請求項1に記載の画像処理方
法。
6. The image processing method according to claim 1, wherein the predetermined image is a landscape image.
【請求項7】 前記2値画像生成工程で生成された画像
に基づいて、画像を形成する画像形成工程をさらに備え
ることを特徴とする請求項1に記載の画像処理方法。
7. The image processing method according to claim 1, further comprising an image forming step of forming an image based on the image generated in the binary image generating step.
【請求項8】 所定の画像を所定角度の回転変換する画
像回転変換工程と、 前記画像回転変換工程で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換工程と、 前記所定の画像がポートレイト画像であれば、ポートレ
イト用ディザパターンを用いて、前記画像変換工程で変
換された画像形成可能な色空間の画像を2値画像を生成
し、前記所定の画像がランドスケープ画像であれば、ラ
ンドスケープ用ディザパターンを用いて、前記画像変換
工程で変換された画像形成可能な色空間の画像から2値
画像を生成する生成工程とを備え、 前記ポートレイト用ディザパターンとランドスケープ用
ディザパターンの関係は、互いに90度の回転関係にあ
ることを特徴とする画像処理方法。
8. An image rotation conversion step of rotating a predetermined image by a predetermined angle, and an image conversion step of converting the rotated image rotated in the image rotation conversion step into an image in a color space capable of forming an image. If the predetermined image is a portrait image, a dither pattern for portrait is used to generate a binary image of the image in the image-formable color space converted in the image conversion step, and the predetermined image is generated. In the case of a landscape image, a landscape dither pattern is used to generate a binary image from the image in the image-formable color space converted in the image conversion process, and the portrait dither pattern is included. The image processing method is characterized in that the dither patterns for landscape have a 90-degree rotation relationship with each other.
【請求項9】 所定の画像を所定角度の回転変換する画
像回転変換工程と、 前記画像回転変換工程で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換工程と、 前記所定の画像がハイライト画像であれば、ハイライト
用ディザパターンを用いて、前記画像変換工程で変換さ
れた画像形成可能な色空間の画像から2値画像を生成す
る生成工程とを備えることを特徴とする画像処理方法。
9. An image rotation conversion step of rotating a predetermined image by a predetermined angle, and an image conversion step of converting the rotated image rotated in the image rotation conversion step into an image in a color space capable of forming an image. If the predetermined image is a highlight image, a highlighting dither pattern is used to generate a binary image from the image in the image-formable color space converted in the image converting step. An image processing method characterized by:
【請求項10】 前記生成工程は、 前記所定の画像がハイライト画像であり、かつ、ポート
レイト画像であれば、ハイライト.ポートレイト用ディ
ザパターンを用いて、前記画像変換工程で変換された画
像形成可能な色空間の画像を2値画像を生成し、前記所
定の画像がハイライト画像であり、かつ、ランドスケー
プ画像であれば、ハイライト.ランドスケープ用ディザ
パターンを用いて、前記画像変換工程で変換された画像
形成可能な色空間の画像を2値画像を生成し、 前記ハイライト.ポートレイト用ディザパターンとハイ
ライト.ランドスケープ用ディザパターンの関係は、互
いに90度の回転関係にあることを特徴とする請求項9
に記載の画像処理方法。
10. The step of generating, if the predetermined image is a highlight image and is a portrait image, highlight. A binary image is generated from the image in the image-formable color space converted in the image conversion step using the portrait dither pattern, and the predetermined image is a highlight image and a landscape image. For example, the highlight. A binary image is generated from the image in the image-formable color space converted in the image conversion step using the landscape dither pattern, and the highlight. Dither patterns and highlights for portraits. The relationship between the landscape dither patterns is a 90-degree rotation relationship with each other.
The image processing method according to 1.
【請求項11】 前記所定の画像がハイライト画像であ
るかどうかを検出する検出工程をさらに備え、 前記生成工程で、前記所定の画像がハイライト画像であ
るかどうかは、前記検出工程での検出結果に基づいて判
定することを特徴とする請求項9に記載の画像処理方
法。
11. The method further comprises a detection step of detecting whether or not the predetermined image is a highlight image, wherein whether or not the predetermined image is a highlight image is determined in the generation step. The image processing method according to claim 9, wherein the determination is performed based on the detection result.
【請求項12】 所定の画像を所定角度の回転変換する
画像回転変換手段と、 所定のディザパターンを前記所定角度の回転変換するデ
ィザパターン回転変換手段と、 前記画像回転変換手段で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換手段と、 前記ディザパターン回転変換手段で回転変換されたディ
ザパターンを用いて、前記画像変換手段で変換された画
像形成可能な色空間の画像から2値画像を生成する2値
画像生成手段とを備えることを特徴とする画像処理装
置。
12. An image rotation conversion means for rotating and converting a predetermined image by a predetermined angle, a dither pattern rotation conversion means for rotating and converting a predetermined dither pattern by the predetermined angle, and a rotation rotated by the image rotation conversion means. An image converting means for converting an image into an image in a color space capable of forming an image, and a color space capable of forming an image converted by the image converting means using the dither pattern rotated and converted by the dither pattern rotation converting means. An image processing device for generating a binary image from the above image.
【請求項13】 前記所定の画像は、RGB色空間の画
像であることを特徴とする請求項12に記載の画像処理
装置。
13. The image processing apparatus according to claim 12, wherein the predetermined image is an image in an RGB color space.
【請求項14】 前記画像形成可能な色空間の画像は、
CMY色空間の画像であることを特徴とする請求項12
に記載の画像処理装置。
14. The image of the color space in which the image can be formed is
13. The image according to claim 12, which is an image in the CMY color space.
An image processing apparatus according to claim 1.
【請求項15】 前記所定角度は、90度であることを
特徴とする請求項12に記載の画像処理装置。
15. The image processing apparatus according to claim 12, wherein the predetermined angle is 90 degrees.
【請求項16】 前記所定の画像は、ポートレイト画像
であることを特徴とする請求項12に記載の画像処理装
置。
16. The image processing apparatus according to claim 12, wherein the predetermined image is a portrait image.
【請求項17】 前記所定の画像は、ランドスケープ画
像であることを特徴とする請求項12に記載の画像処理
装置。
17. The image processing apparatus according to claim 12, wherein the predetermined image is a landscape image.
【請求項18】 前記2値画像生成手段で生成された画
像に基づいて、画像を形成する画像形成手段をさらに備
えることを特徴とする請求項12に記載の画像処理装
置。
18. The image processing apparatus according to claim 12, further comprising an image forming unit that forms an image based on the image generated by the binary image generating unit.
【請求項19】 所定の画像を所定角度の回転変換する
画像回転変換手段と、 前記画像回転変換手段で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換手段と、 前記所定の画像がポートレイト画像であれば、ポートレ
イト用ディザパターンを用いて、前記画像変換手段で変
換された画像形成可能な色空間の画像から2値画像を生
成し、前記所定の画像がランドスケープ画像であれば、
ランドスケープ用ディザパターンを用いて、前記画像変
換手段で変換された画像形成可能な色空間の画像を2値
画像を生成する生成手段とを備え、 前記ポートレイト用ディザパターンとランドスケープ用
ディザパターンの関係は、互いに90度の回転関係にあ
ることを特徴とする画像処理装置。
19. An image rotation conversion means for rotating and converting a predetermined image at a predetermined angle, and an image conversion means for converting the rotation image rotated by the image rotation conversion means into an image in a color space capable of forming an image. If the predetermined image is a portrait image, a dither pattern for portrait is used to generate a binary image from the image in the image-formable color space converted by the image conversion means, and the predetermined image is If it's a landscape image,
A relationship between the portrait dither pattern and the landscape dither pattern, comprising: a generating unit that generates a binary image of the image in the image formable color space converted by the image converting unit using the landscape dither pattern Is an image processing apparatus characterized in that they are in a 90-degree rotation relationship with each other.
【請求項20】 所定の画像を所定角度の回転変換する
画像回転変換手段と、 前記画像回転変換手段で回転された回転画像を、画像形
成可能な色空間の画像に変換する画像変換手段と、 前記所定の画像がハイライト画像であれば、ハイライト
用ディザパターンを用いて、前記画像変換手段で変換さ
れた画像形成可能な色空間の画像から2値画像を生成す
る生成手段とを備えることを特徴とする画像処理装置。
20. Image rotation conversion means for rotating and converting a predetermined image at a predetermined angle, and image conversion means for converting the rotated image rotated by the image rotation conversion means into an image in a color space capable of forming an image. If the predetermined image is a highlight image, it includes a generating unit that generates a binary image from the image of the image-formable color space converted by the image converting unit, using a highlight dither pattern. An image processing device characterized by:
【請求項21】 前記生成手段は、 前記所定の画像がハイライト画像であり、かつ、ポート
レイト画像であれば、ハイライト.ポートレイト用ディ
ザパターンを用いて、前記画像変換手段で変換された画
像形成可能な色空間の画像を2値画像を生成し、前記所
定の画像がハイライト画像であり、かつ、ランドスケー
プ画像であれば、ハイライト.ランドスケープ用ディザ
パターンを用いて、前記画像変換手段で変換された画像
形成可能な色空間の画像を2値画像を生成し、 前記ハイライト.ポートレイト用ディザパターンとハイ
ライト.ランドスケープ用ディザパターンの関係は、互
いに90度の回転関係にあることを特徴とする請求項2
0に記載の画像処理装置。
21. When the predetermined image is a highlight image and the portrait image is a portrait image, the generating unit highlights. A binary image is generated from the image in the image formable color space converted by the image conversion means using the portrait dither pattern, and the predetermined image is a highlight image and a landscape image. For example, the highlight. A binary image is generated from the image in the image-formable color space converted by the image conversion unit using the landscape dither pattern, and the highlight. Dither patterns and highlights for portraits. The relationship between the landscape dither patterns is a 90-degree rotation relationship with each other.
0. The image processing apparatus according to 0.
【請求項22】 前記所定の画像がハイライト画像であ
るかどうかを検出する検出手段をさらに備え、 前記生成手段で、前記所定の画像がハイライト画像であ
るかどうかは、前記検出手段での検出結果に基づいて判
定することを特徴とする請求項20に記載の画像処理装
置。
22. A detection means for detecting whether the predetermined image is a highlight image is further provided, and whether the predetermined image is a highlight image is determined by the detection means by the generation means. The image processing apparatus according to claim 20, wherein the determination is made based on the detection result.
JP04766496A 1996-03-05 1996-03-05 Image processing method and apparatus Expired - Fee Related JP3548321B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04766496A JP3548321B2 (en) 1996-03-05 1996-03-05 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04766496A JP3548321B2 (en) 1996-03-05 1996-03-05 Image processing method and apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003365892A Division JP2004106555A (en) 2003-10-27 2003-10-27 Method and apparatus for processing image

Publications (2)

Publication Number Publication Date
JPH09247475A true JPH09247475A (en) 1997-09-19
JP3548321B2 JP3548321B2 (en) 2004-07-28

Family

ID=12781539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04766496A Expired - Fee Related JP3548321B2 (en) 1996-03-05 1996-03-05 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3548321B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008236013A (en) * 2007-03-16 2008-10-02 Ricoh Co Ltd Image processor and image forming apparatus
US7499198B2 (en) 2002-06-11 2009-03-03 Ricoh Company, Ltd Threshold value matrix, image processing apparatus, image forming apparatus and printer driver
JP2010178078A (en) * 2009-01-29 2010-08-12 Kyocera Mita Corp Image forming apparatus
JP2010220145A (en) * 2009-03-19 2010-09-30 Sharp Corp Image processing device, image forming device, image processing method, computer program, and recording medium recording computer program
US8705087B2 (en) 2009-01-29 2014-04-22 Kyocera Document Solutions Inc. Image forming apparatus and image forming method for rotating image data
US9837012B2 (en) 2015-04-15 2017-12-05 Japan Display Inc. Display device and electronic apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7499198B2 (en) 2002-06-11 2009-03-03 Ricoh Company, Ltd Threshold value matrix, image processing apparatus, image forming apparatus and printer driver
JP2008236013A (en) * 2007-03-16 2008-10-02 Ricoh Co Ltd Image processor and image forming apparatus
JP2010178078A (en) * 2009-01-29 2010-08-12 Kyocera Mita Corp Image forming apparatus
US8705087B2 (en) 2009-01-29 2014-04-22 Kyocera Document Solutions Inc. Image forming apparatus and image forming method for rotating image data
JP2010220145A (en) * 2009-03-19 2010-09-30 Sharp Corp Image processing device, image forming device, image processing method, computer program, and recording medium recording computer program
US9837012B2 (en) 2015-04-15 2017-12-05 Japan Display Inc. Display device and electronic apparatus

Also Published As

Publication number Publication date
JP3548321B2 (en) 2004-07-28

Similar Documents

Publication Publication Date Title
CN101339397B (en) Image forming device and printing control method
US5440652A (en) Method and apparatus for preparing color separations based on n-way color relationships
US20060268311A1 (en) Image processing apparatus and image processing method
US6377711B1 (en) Methods and systems for detecting the edges of objects in raster images using diagonal edge detection
JP2008005317A (en) Image processor and image processing method, and computer program and recording medium
US7006257B1 (en) Image processing apparatus, image processing method, and storage medium
JPH04296167A (en) Digital halftone printing method and system thereof
JP3548321B2 (en) Image processing method and apparatus
JP2001274990A (en) Image processing method and image processor
EP0783226B1 (en) Image processing apparatus and method
JPH0725064A (en) Picture forming equipment of electrophotographic printer
US6661921B2 (en) Image process apparatus, image process method and storage medium
JP4140519B2 (en) Image processing apparatus, program, and recording medium
US7193750B2 (en) Image processing method and apparatus, and storage medium therefore
US20100246948A1 (en) Systems and Methods for Enhancing Image Differences
JP2004106555A (en) Method and apparatus for processing image
US20120069357A1 (en) System and method for enhancing the density of black
JP4054690B2 (en) Printing control apparatus and method
US7016082B2 (en) Halftone dot thinning
JP3636891B2 (en) Color image output method
JP2002252773A (en) Color image processing method and device, and recording medium
JP3768560B2 (en) Image processing apparatus and method
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JP2008017234A (en) Image processing apparatus and image processing method
JPH09163166A (en) Image processing unit and its method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040216

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040416

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees