JP2005258650A - Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method - Google Patents
Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method Download PDFInfo
- Publication number
- JP2005258650A JP2005258650A JP2004067299A JP2004067299A JP2005258650A JP 2005258650 A JP2005258650 A JP 2005258650A JP 2004067299 A JP2004067299 A JP 2004067299A JP 2004067299 A JP2004067299 A JP 2004067299A JP 2005258650 A JP2005258650 A JP 2005258650A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- attribute
- area
- image
- pixel
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、カラープリンタ、カラー複写機、カラーMFP機などの画像形成装置に搭載される画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものである。 The present invention relates to an image processing apparatus and an image processing method mounted on an image forming apparatus such as a color printer, a color copying machine, and a color MFP, and a computer-readable recording medium on which a program for causing a computer to execute the image processing method is recorded. It is about.
従来より、カラー印刷、カラーテレビ、カラー複写機などの分野においては、色変換について数多くの方法が提案されている。その1つとして、テーブルメモリを用いて入力の色空間、たとえばRGB系から出力の色空間、たとえばCMYK系へ直接変換する方法がある。しかし、RGB系などの3色信号を必要とする濃度段階の分解能でそれぞれにデジタル信号に変換したときの情報量は非常に多くなる。したがってテーブルメモリの容量が膨大になり、コストが非常に高くなる。たとえば、入力RGB各色に対し8BITを割り当て、出力CMYK各色が8BITで出力されるとすると、224×4バイトのメモリが必要になるため、実用的ではない。 Conventionally, many methods for color conversion have been proposed in the fields of color printing, color televisions, color copying machines, and the like. As one of them, there is a method of directly converting from an input color space, such as an RGB system, to an output color space, such as a CMYK system, using a table memory. However, the amount of information becomes very large when three-color signals such as RGB are converted into digital signals at resolutions of density steps that require them. Therefore, the capacity of the table memory becomes enormous and the cost becomes very high. For example, if 8 bits are assigned to each input RGB color, and each output CMYK color is output in 8 bits, a memory of 2 24 × 4 bytes is required, which is not practical.
そこで、テーブルメモリを用いて色変換を行う場合のメモリ容量削減の方法として従来は補間を用いる方法が主に検討されていた。すなわち、入力信号の上位BITをアドレスとした色補正メモリを用いることによってメモリ容量を削減し、粗くなった分を、下位BITを用いた補間回路によって補正処理する方法が開示されている(たとえば、特許文献1,2参照)。
Therefore, conventionally, a method using interpolation has been mainly studied as a method for reducing the memory capacity when color conversion is performed using a table memory. That is, a method is disclosed in which a memory capacity is reduced by using a color correction memory with the higher-order BIT of the input signal as an address, and the coarser portion is corrected by an interpolation circuit using the lower-order BIT (for example, (See
この上位4BITにより、16分割された色空間の例を図43に示す。そして、四面体への分割例を図44に示す。さらに、表1に上記四面体の判定と補間係数の一覧を示す。 FIG. 43 shows an example of a color space divided into 16 parts by the upper 4 bits. An example of division into tetrahedrons is shown in FIG. Table 1 shows a list of tetrahedron determinations and interpolation coefficients.
また、上記の方法をCPUのソフトウエアで実現する方式として、画像を入力する入力部と、入力部により、入力された画像を構成する画素の色を認識する認識部と、認識部により認識された色を色単位で他の色に変換する色単位変換部と、認識部により認識された色と色単位変換部により変換された色との対応を記憶する記憶部と画像を構成する画素の色を記憶部と、画像を構成する画素の色を記憶部に記憶された色の対応して画素単位で他の色に変換する画素単位変換部と、を有し、入力RGBデータを色変換処理後に作成されたCMYKデータを入力RGBデータと対応する出力するCMYKデータを保存し、変換前に、対応表をチェックすることにより、計算量を省くものが開示されている(たとえば、特許文献3参照)。 In addition, as a method for realizing the above method by software of the CPU, an input unit for inputting an image, a recognition unit for recognizing the color of a pixel constituting the input image by the input unit, and a recognition unit. A color unit conversion unit that converts each color into another color, a storage unit that stores the correspondence between the color recognized by the recognition unit and the color converted by the color unit conversion unit, and the pixels constituting the image Color conversion of input RGB data having a storage unit for color and a pixel unit conversion unit for converting the color of pixels constituting an image into another color corresponding to the color stored in the storage unit There is disclosed a method that saves the amount of calculation by storing CMYK data output after processing corresponding to input RGB data and saving CMYK data and checking a correspondence table before conversion (for example, Patent Document 3). reference).
図45に従来のカラープリンタなどに搭載される画像処理装置の構成を示す。この画像処理装置は、描画処理装置50、色変換処理装置51、諧調処理装置52、2値バンドメモリ53を備えている。この構成において、描画処理装置50によりオブジェクトの描画処理後に、そのオブジェクトの色変換処理を色変換処理装置51で行い、その後、そのオブジェクトの階調処理を諧調処理装置52により行い、1バンド内の全てのオブジェクトが終了すると、2値のバンドメモリを作成するものである。
FIG. 45 shows the configuration of an image processing apparatus mounted on a conventional color printer or the like. The image processing apparatus includes a
ところが、上記の図45に示すような画像処理装置においては、CMYK4プレーンのイメージデータを生成するための論理演算において画質の劣化が問題となっていた。そこで、これを解決するために、多値のCMYのバンドメモリを構成し、多値CMYバンド上で論理演算を行うものが開示されている(たとえば、特許文献4参照)。 However, in the image processing apparatus as shown in FIG. 45 described above, degradation of image quality has been a problem in the logical operation for generating CMYK 4-plane image data. In order to solve this problem, a multi-valued CMY band memory is configured to perform a logical operation on the multi-valued CMY band (see, for example, Patent Document 4).
また、1ページに複数の異なる特性を持つ画像要素に対してそれぞれの画像要素の持つ特性に最適な画像処理を施すために画像の画素を記憶する画像メモリの他に画像メモリの画素に対応する属性を格納するタグメモリを有して実現している(たとえば、特許文献5参照)。 In addition to an image memory that stores image pixels, in order to perform image processing that is optimal for the characteristics of each image element for a plurality of image elements having different characteristics on one page, it corresponds to the pixels of the image memory. This is realized by including a tag memory for storing attributes (see, for example, Patent Document 5).
同様に、オブジェクトの種類に対応した色処理を行うことにより出力画像における色再現性を向上させるために、画像を格納するバンドメモリとは別に、バンドメモリの画素に対応する属性情報を格納するフラグメモリを有し、色処理装置は、バンドメモリとフラグメモリの両方を読み込み、フラグメモリの属性により、バンドメモリの内容を画素ごと異なる色処理を実現している(たとえば、特許文献6参照)。 Similarly, in order to improve color reproducibility in the output image by performing color processing corresponding to the type of object, a flag for storing attribute information corresponding to the pixels of the band memory, in addition to the band memory for storing the image The color processing apparatus has a memory, reads both the band memory and the flag memory, and realizes color processing in which the contents of the band memory are different for each pixel according to the attribute of the flag memory (see, for example, Patent Document 6).
なお、2値画像の圧縮方法として圧縮方式としては、2値画像符号化方式の国際標準であるJBIG(Joint Bi−level Image Experts Group)が知られている。 As a compression method for binary images, JBIG (Joint Bi-level Image Experts Group), which is an international standard for binary image coding, is known.
しかしながら、上記に示されるような従来の技術にあっては、以下に示すような問題点があった。まず、特許文献1,2に開示される方式は、全てのテーブルメモリを有するよりもメモリ容量を削減することが可能であるが、精度を上げる場合には、大きなメモリ容量を必要とする。たとえば、処理画像の上位4BITを使用した16分割の色変換テーブルであれば、2^12×8BIT×4のメモリを必要とする。
However, the conventional techniques as described above have the following problems. First, the methods disclosed in
また、特許文献3の場合には、CPUのソフトウエアではよい方法であるが、ハードウエアで構成される場合は、演算よりも、メモリからのデータの読み込みが重要であるために、演算量を減らすよりも、メモリアクセスを低減させる方が望ましい。また、特許文献4の場合には、色変換後のCMYデータにてバンドメモリを構成し、その後、UCR処理により、K版を生成し、CMYKデータを生成しているが、RGBデータからCMYデータを生成し、その後、CMYKデータを生成する方法は、CMYデータからCMYKデータの生成する方法が理論的というよりも、経験的な手法であり、RGBデータからCMYKデータを生成する方法のほうが、理論的にも画質がよくなる。
In the case of
また、特許文献5,6においては、画像の画素ごとに属性を格納するメモリを有するために大きな容量のメモリを使用し、大きなコストを必要とする。特に何もオブジェクトが存在しない領域でも、同様に画素は属性を格納する領域を有していることはメモリの無駄となる。また、属性を格納するメモリを半導体内部に格納することが難しいために、外部にメモリを持つために処理効率の向上を阻害することになる。
In
本発明は、上記に鑑みてなされたものであって、処理対象の画像情報を構成する属性領域を判断し、当該画素の属性を切り替えて処理することにより、高画質を維持しながら高速処理を実現することを目的とする。 The present invention has been made in view of the above, and by determining the attribute area constituting the image information to be processed and switching the attribute of the pixel to perform processing, high-speed processing is performed while maintaining high image quality. It aims to be realized.
上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理装置において、前記画像情報から多値バンドデータを生成する描画手段と、前記多値バンドデータを記憶する多値バンドデータ記憶手段と、前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理手段と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the invention according to claim 1 inputs image information including photographs, graphics, characters, etc., and executes predetermined image processing on the image information. In the image processing apparatus, a drawing means for generating multi-value band data from the image information, a multi-value band data storage means for storing the multi-value band data, and a multi-value band stored in the multi-value band data storage means And image processing means for determining a plurality of attributes constituting the image information from the data and performing image processing for each of the attributes.
この請求項1にかかる発明によれば、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になる。 According to the first aspect of the present invention, for image information in which different attributes (photographs, graphics, characters, etc.) are mixed in band or page units, it is determined whether the pixels in the area are the target of the attribute. By executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity compared to a conventional processing device that corresponds one-to-one with one RGB pixel.
また、請求項2にかかる発明は、前記画像処理手段は、処理中の画素の属性を複数の方形領域の属性情報から生成する画素属性生成手段を備えたことを特徴とする。 According to a second aspect of the present invention, the image processing means includes pixel attribute generation means for generating attributes of a pixel being processed from attribute information of a plurality of rectangular areas.
この請求項2にかかる発明によれば、請求項1において、画素属性生成手段によって処理中の画素の属性を、複数の方形領域の属性情報から生成することにより、画像のバンドやページの画素毎に属性を記録する属性メモリを必要とせずに、属性を示す方形領域にのみ各画素が処理対象/非対象であるかを判断することが可能になる。 According to the second aspect of the present invention, in the first aspect, by generating the attribute of the pixel being processed by the pixel attribute generating means from the attribute information of a plurality of rectangular areas, the image band or the pixel of the page Therefore, it is possible to determine whether each pixel is a processing target / non-target only in a square area indicating the attribute without requiring an attribute memory for recording the attribute.
また、請求項3にかかる発明は、前記画像処理手段は、方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶するフラグ情報記憶手段を備えたことを特徴とする。
Further, the invention according to
この請求項3にかかる発明によれば、請求項1において、フラグ情報記憶手段が方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶することにより、方形領域全体が属性を記憶し、各画素はフラグ情報を持つ必要がなくなる。
According to the invention of
また、請求項4にかかる発明は、前記画素属性生成手段は、複数の方形領域の属性情報を記憶する方形領域属性情報記憶手段と、処理中の画素がバンド毎に設定された複数の方形領域に含まれるかを判断する領域判定手段と、を備えたことを特徴とする。 According to a fourth aspect of the present invention, the pixel attribute generation means includes a rectangular area attribute information storage means for storing attribute information of a plurality of rectangular areas, and a plurality of rectangular areas in which pixels being processed are set for each band. And an area determination means for determining whether the area is included.
この請求項4にかかる発明によれば、請求項2において、バンド毎の各領域を示す方形情報とその方形領域の属性情報(写真、文字、グラフィックスなど)とその方形領域の重なりから優先順位を決定することが可能になる。 According to the fourth aspect of the present invention, in the second aspect, the priority order is determined based on the rectangular information indicating each area for each band, the attribute information (photo, character, graphics, etc.) of the rectangular area and the overlap of the rectangular area. Can be determined.
また、請求項5にかかる発明は、前記画素属性生成手段は、前記方形領域属性情報記憶手段により得られた複数の領域情報と処理画素の座標から前記フラグ情報記憶手段のアドレスを求めるフラグ情報アドレス生成手段を備えたことを特徴とする。 According to a fifth aspect of the present invention, the pixel attribute generation means obtains an address of the flag information storage means from a plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixel. A generation means is provided.
この請求項5にかかる発明によれば、請求項4において、方形領域属性情報記憶手段で得られた複数の領域情報と処理画素の座標からフラグ情報記憶手段のアドレスをフラグ情報アドレス生成手段が求めることにより、その方形領域の属性情報を特定することが可能になる。 According to the fifth aspect of the present invention, in the fourth aspect, the flag information address generation means obtains the address of the flag information storage means from the plurality of area information obtained by the square area attribute information storage means and the coordinates of the processing pixel. This makes it possible to specify the attribute information of the rectangular area.
また、請求項6にかかる発明は、前記方形領域属性情報記憶手段は、複数の方形領域を示す座標値を記憶する座標記憶手段と、前記座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段と、を備えたことを特徴とする。 According to a sixth aspect of the present invention, the rectangular area attribute information storage means includes coordinate storage means for storing coordinate values indicating a plurality of rectangular areas, and the number of the plurality of rectangular areas stored in the coordinate storage means. And an effective number storage means for storing.
この請求項6にかかる発明によれば、請求項4において、方形領域属性情報記憶手段が、複数の方形領域を示す座標値を記憶する座標記憶手段と、この座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段とを備え、複数の方形領域を座標値で記憶し、その方形領域の有効数を記憶することにより、方形領域での属性の有無が判断可能になる。
According to the invention of
また、請求項7にかかる発明は、前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が重なる場合における優先順位を記憶することを特徴とする。
Further, the invention according to
この請求項7にかかる発明によれば、請求項4において、複数の属性を有する方形領域が重なる場合における優先順位を記憶することにより、方形領域内に異なる属性が重なる場合における優先順位が明確になる。
According to the invention of
また、請求項8にかかる発明は、前記方形領域属性情報記憶手段は、複数の属性を有する方形領域が、方形領域内における画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することを特徴とする。
In the invention according to
この請求項8にかかる発明によれば、請求項4において、複数の属性を有する方形領域が、画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することにより、フレームタイプによって方形領域の重なりの優先順位とフラグを有しているかが分かる。
According to the invention according to
また、請求項9にかかる発明は、前記画像処理手段は、さらに、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えたことを特徴とする。 The invention according to claim 9 is characterized in that the image processing means further comprises a color conversion table storage means for storing a color conversion table for a plurality of rectangular regions having different attributes.
この請求項9にかかる発明によれば、請求項1において、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えることにより、属性毎の色変換を行なうことが可能になる。 According to the ninth aspect of the invention, in the first aspect, the color conversion table storage means for storing the color conversion table for a plurality of square areas having different attributes is provided, whereby color conversion for each attribute can be performed. become.
また、請求項10にかかる発明は、前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なる色変換テーブルを選択することを特徴とする。
The invention according to
この請求項10にかかる発明によれば、請求項9において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがって色変換テーブルを選択することにより、色再現性に優れた色変換処理が実現する。
According to the invention of
また、請求項11にかかる発明は、前記画像処理手段は、さらに、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えたことを特徴とする。 The invention according to claim 11 is characterized in that the image processing means further includes a threshold value table storage means for storing a threshold value table for a plurality of rectangular regions having different attributes.
この請求項11にかかる発明によれば、請求項1において、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えることにより、属性毎の階調処理を行なうことが可能になる。 According to the invention according to claim 11, gradation processing for each attribute is performed by providing threshold value table storage means for storing a threshold value table for a plurality of square areas having different attributes. It becomes possible.
また、請求項12にかかる発明は、前記画像処理手段は、処理中の画素がバンド毎に設定された複数の方形領域それぞれに対して、異なるしきい値テーブルを選択することを特徴とする。 The invention according to claim 12 is characterized in that the image processing means selects a different threshold value table for each of a plurality of rectangular regions in which pixels being processed are set for each band.
この請求項12にかかる発明によれば、請求項11において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがってしきい値テーブルを選択することにより、再現性に優れた階調処理が実現する。 According to the twelfth aspect of the present invention, in the twelfth aspect, it is determined in real time whether a plurality of regions having different attributes are included in each band or page for each pixel to be processed, and a threshold value is determined according to the result. By selecting a table, gradation processing with excellent reproducibility is realized.
また、請求項13にかかる発明は、写真、グラフィックス、文字などを含む画像情報を入力し、この画像情報に対して所定の画像処理を実行する画像処理方法において、前記画像情報から多値バンドデータを生成する描画工程と、前記多値バンドデータを記憶する多値バンドデータ記憶工程と、前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理工程と、を含むことを特徴とする。 According to a thirteenth aspect of the present invention, there is provided an image processing method for inputting image information including photographs, graphics, characters, etc., and executing predetermined image processing on the image information. A plurality of attributes constituting the image information from a drawing step for generating data, a multi-value band data storage step for storing the multi-value band data, and multi-value band data stored in the multi-value band data storage means And an image processing step of performing image processing for each attribute.
この請求項13にかかる発明によれば、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理方法に比べてメモリ容量を削減することが可能になる。 According to the thirteenth aspect of the present invention, for image information in which different attributes (photographs, graphics, characters, etc.) are mixed in band or page units, it is determined whether the pixels in the area are the target of the attribute. By executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity as compared with the conventional processing method corresponding to one RGB pixel one-to-one.
また、請求項14にかかる発明は、前記請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことを特徴とする。 The invention according to claim 14 is characterized in that a program for causing a computer to execute the image processing method according to claim 13 is recorded.
この請求項14にかかる発明によれば、請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したことにより、コンピュータ上において請求項13に記載の画像処理動作を行なうことが可能になる。 According to the fourteenth aspect of the present invention, the image processing method according to the thirteenth aspect can be performed on the computer by recording the program that causes the computer to execute the image processing method according to the thirteenth aspect. become.
本発明(請求項1)にかかる画像処理装置は、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になるため、少ないメモリ容量による高速処理が実現すると共に、属性領域毎に処理を行なうことで高画質の画像出力の画像処理装置を提供することができるという効果を奏する。 In the image processing apparatus according to the present invention (Claim 1), whether or not the pixel in the area is a target of attribute for image information in which different attributes (photos, graphics, characters, etc.) are mixed in band or page units. Therefore, by executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity compared to a conventional processing device that corresponds one-to-one with one RGB pixel. In addition to realizing high-speed processing with a small memory capacity, it is possible to provide an image processing apparatus that outputs high-quality images by performing processing for each attribute region.
また、本発明(請求項2)にかかる画像処理装置は、請求項1において、画素属性生成手段によって処理中の画素の属性を、複数の方形領域の属性情報から生成することにより、画像のバンドやページの画素毎に属性を記録する属性メモリを必要とせずに、属性を示す方形領域にのみ各画素が処理対象/非対象であるかを判断することが可能になるため、使用するメモリの容量を削減することができるという効果を奏する。 According to a second aspect of the present invention, there is provided an image processing apparatus according to the first aspect, wherein the pixel attribute being processed by the pixel attribute generation means is generated from the attribute information of a plurality of rectangular areas, thereby generating an image band. It is possible to determine whether each pixel is a processing target / non-target only in a square area indicating the attribute without requiring an attribute memory for recording the attribute for each pixel of the page. There is an effect that the capacity can be reduced.
また、本発明(請求項3)にかかる画像処理装置は、請求項1において、フラグ情報記憶手段が方形領域内における画素毎の属性対象の有無を示すフラグ情報を記憶することにより、方形領域全体が属性を記憶し、各画素はフラグ情報を持つ必要がなくなるため、少ないメモリ容量で属性領域毎の処理を行なうことができるという効果を奏する。 An image processing apparatus according to a third aspect of the present invention is the image processing apparatus according to the first aspect, wherein the flag information storage unit stores flag information indicating the presence / absence of an attribute object for each pixel in the square region. Stores the attribute, and each pixel does not need to have flag information, so that it is possible to perform processing for each attribute area with a small memory capacity.
また、本発明(請求項4)にかかる画像処理装置は、請求項2において、バンド毎の各領域を示す方形情報とその方形領域の属性情報(写真、文字、グラフィックスなど)とその方形領域の重なりから優先順位を決定することが可能になるため、同一の方形領域に重なる属性の画像を優先して処理することができるという効果を奏する。
The image processing apparatus according to the present invention (Claim 4) is characterized in that, in
また、本発明(請求項5)にかかる画像処理装置は、請求項4において、方形領域属性情報記憶手段で得られた複数の領域情報と処理画素の座標からフラグ情報記憶手段のアドレスをフラグ情報アドレス生成手段が求めることにより、その方形領域の属性情報を特定することが可能になるため、細かな属性を指定することができるという効果を奏する。
The image processing apparatus according to the present invention (Claim 5) is the flag information of the flag information storage means according to
また、本発明(請求項6)にかかる画像処理装置は、請求項4において、方形領域属性情報記憶手段が、複数の方形領域を示す座標値を記憶する座標記憶手段と、この座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段とを備え、複数の方形領域を座標値で記憶し、その方形領域の有効数を記憶することにより、方形領域での属性の有無が判断可能になるため、方形領域内の属性の有無が明確になり、その処理効率が向上するという効果を奏する。
The image processing apparatus according to the present invention (Claim 6) is characterized in that, in
また、本発明(請求項7)にかかる画像処理装置は、請求項4において、複数の属性を有する方形領域が重なる場合における優先順位を記憶することにより、方形領域内に異なる属性が重なる場合における優先順位が明確になるため、その処理効率が向上するという効果を奏する。 An image processing apparatus according to a seventh aspect of the present invention is the image processing apparatus according to the fourth aspect, wherein the priority order in the case where the square areas having a plurality of attributes overlap is stored, whereby different attributes overlap in the square area. Since the priority is clarified, the processing efficiency is improved.
また、本発明(請求項8)にかかる画像処理装置は、請求項4において、複数の属性を有する方形領域が、方形領域内における画素毎の属性対象を示すフラグであるかを示すフレームタイプを記憶することにより、フレームタイプによって方形領域の重なりの優先順位とフラグを有しているかが分かるため、細かな処理および効率的な処理が実現するという効果を奏する。
The image processing apparatus according to the present invention (Claim 8) is characterized in that, in
また、本発明(請求項9)にかかる画像処理装置は、請求項1において、複数の属性の異なる方形領域に対する色変換テーブルを記憶する色変換テーブル記憶手段を備えることにより、属性毎の色変換を行なうことが可能になるため、属性毎に対応した色変換が実現するという効果を奏する。 The image processing apparatus according to the present invention (Claim 9) further comprises color conversion table storage means for storing a color conversion table for a plurality of square regions having different attributes, thereby providing color conversion for each attribute. Therefore, color conversion corresponding to each attribute is realized.
また、本発明(請求項10)にかかる画像処理装置は、請求項9において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがって色変換テーブルを選択するため、色再現性に優れた色変換処理を行なうことができるという効果を奏する。 In addition, the image processing apparatus according to the present invention (Claim 10) determines in real time whether or not a plurality of regions having different attributes in each band or page are included in each pixel to be processed. Since the color conversion table is selected according to the above, there is an effect that color conversion processing with excellent color reproducibility can be performed.
また、本発明(請求項11)にかかる画像処理装置は、請求項1において、複数の属性の異なる方形領域に対するしきい値テーブルを記憶するしきい値テーブル記憶手段を備えることにより、属性毎の階調処理を行なうことが可能になるため、属性毎に対応した階調処理が実現するという効果を奏する。
The image processing apparatus according to the present invention (claim 11) is the image processing apparatus according to
また、本発明(請求項12)にかかる画像処理装置は、請求項11において、バンドやページ単位に複数の属性の異なる領域を、処理する画素毎に含まれるかをリアルタイムに判定し、この結果にしたがってしきい値テーブルを選択するため、再現性に優れた階調処理が実現するという効果を奏する。 The image processing apparatus according to the present invention (Claim 12) determines in real time whether or not a plurality of regions having different attributes in each band or page are included in each pixel to be processed. Since the threshold value table is selected according to the above, there is an effect that gradation processing with excellent reproducibility is realized.
また、本発明(請求項13)にかかる画像処理方法は、バンドやページ単位に異なる属性(写真、グラフィックス、文字など)が混在した画像情報に対し、当該領域内の画素が属性の対象であるかを判断して所定の画像処理(色変換、階調処理など)を実行することにより、従来のRGB1画素に1対1で対応する処理装置に比べてメモリ容量を削減することが可能になるため、少ないメモリ容量による高速処理が実現すると共に、属性領域毎に処理を行なうことで高画質の画像出力の画像処理方法を提供することができるという効果を奏する。 In addition, in the image processing method according to the present invention (claim 13), pixels in the area are targeted for the attribute with respect to image information in which different attributes (photos, graphics, characters, etc.) are mixed for each band or page. By determining whether it is present and executing predetermined image processing (color conversion, gradation processing, etc.), it is possible to reduce the memory capacity as compared with a conventional processing device that corresponds one-to-one with one RGB pixel. Therefore, high-speed processing with a small memory capacity is realized, and an image processing method for high-quality image output can be provided by performing processing for each attribute region.
また、本発明(請求項14)にかかるコンピュータ読み取り可能な記録媒体は、請求項13に記載の画像処理方法を、コンピュータに実行させるプログラムを記録したので、コンピュータ上において請求項13に記載の画像処理動作を行なうことができるという効果を奏する。 Moreover, since the computer-readable recording medium concerning this invention (Claim 14) recorded the program which makes a computer perform the image processing method of Claim 13, it recorded the image of Claim 13 on a computer. There is an effect that the processing operation can be performed.
以下、本発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の最良な実施の形態について添付図面を参照し、詳細に説明する。なお、本発明はこの実施の形態に限定されるものではない。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Exemplary embodiments of an image processing apparatus, an image processing method, and a computer-readable recording medium storing a program for causing a computer to execute the image processing method according to the present invention will be described below in detail with reference to the accompanying drawings. . The present invention is not limited to this embodiment.
(発明の概要)
本発明は、図1〜図4に示すようにプリンタで多値RGBでバンドごと描画を行うときに多値RGBデータ以外に各画素が写真画像のRGBであるか、グラフィックス画像のRGBであるか、文字画像のRGBであるかの属性情報を付加するものである。
(Summary of Invention)
In the present invention, as shown in FIGS. 1 to 4, each pixel is RGB of a photographic image or RGB of a graphics image in addition to the multi-value RGB data when the printer draws each band with multi-value RGB. Or attribute information indicating whether the character image is RGB.
一般的に、多値RGBのバンドデータと同様に各RGB画素に1対1に対応する属性情報を持っている。これに対して、本発明は、まず、属性情報としては、画素ごと持たずに、XS,XE,YS,YEで囲んだ方形情報として持っている。これにより、一般的な写真画像は方形であるために方形領域による処理が可能となる。そして、文字、グラフィックス画像は方形でないために図1〜図4に示すように、文字領域を囲むXS,XE,YS,YEの方形情報として、文字属性を持たせ、その方形に対応する1BITのFLAGBITで各画素が属性の対象/非対象であるかを判断し、複雑な外形画像にも対応している。 Generally, each RGB pixel has attribute information corresponding to one-to-one like multi-value RGB band data. On the other hand, according to the present invention, first, as attribute information, not every pixel but as square information enclosed by XS, XE, YS, and YE. Thereby, since a general photographic image is a square, processing by a square area becomes possible. Since characters and graphics images are not square, as shown in FIGS. 1 to 4, character information is given as square information of XS, XE, YS, and YE surrounding the character area, and 1 BIT corresponding to the square is obtained. FLAGBIT determines whether each pixel is a target / non-target of an attribute, and supports a complicated outer shape image.
たとえば、図1に示すように、1ページをバンド0〜7に分割すると、その中に写真画像領域P1,P2,P3、文字領域T1,T2、グラフィックス領域G1が混在する画像情報をバンドごとに画像処理する場合が多い。ここで、各領域を座標XS,XE,YS,YEで囲む方形領域で指定する。図2は、この図1のバンド5における各領域の属性を示すものであり、図3は後述する多値バンドメモリ領域の画像を示し、図4はFLAGBITメモリのデータを示している。
For example, as shown in FIG. 1, when one page is divided into
図2に示す領域“3”のように領域“0”の中にある領域の属性を設定するために各領域に優先順位を持たせている。これにより、重なる方形領域は優先順位の高い領域がその画素の属性を決めることとし、図2に示す例では、領域“3”が領域“0”よりも優先順位が高く、領域“3”の画素は文字領域となる。そして、領域“3”はFLAGBITを有しているために、FLAGBITが“1”である領域は文字であり、“0”である領域は、つぎの優先順位の属性を持たせ、領域“0”の写真画像の属性を持つことになる。 In order to set the attribute of the area in the area “0” like the area “3” shown in FIG. 2, each area is given a priority. As a result, in the overlapping rectangular area, the area of higher priority determines the attribute of the pixel. In the example shown in FIG. 2, the area “3” has higher priority than the area “0”, and the area “3” A pixel becomes a character area. Since the area “3” has FLAGBIT, the area where FLAGBIT is “1” is a character, and the area where “0” is given the attribute of the next priority, and the area “0” It has a picture image attribute.
すなわち、図2の5番目のバンドに注目すると、図2に示すように領域"0"の写真画像をXS0,XE0,YS0,YE0で囲む方形領域として写真画像の属性を記憶し、領域"1"の文字領域では、XS1,XE1,YS1,YE1で囲む方形領域に文字領域の属性を持たせ、このとき、領域"1"の画素ごとに、この領域の属性の対象/非対象を示すFLAGBITを図4に示すように持ちこの領域"1"のFLAGBITは"1"である画素は属性の対象であるが、"0"である画素は対象でない。領域"2"はグラフィックス領域であるため、方形領域で表現できないために図4のようにグラフィックス画像の外形を持ったFLAGBITを有している。 That is, paying attention to the fifth band in FIG. 2, as shown in FIG. 2, the attribute of the photographic image is stored as a rectangular area surrounding the photographic image in the area “0” with XS0, XE0, YS0, and YE0. In the character area “, the square area enclosed by XS1, XE1, YS1, and YE1 has the attribute of the character area. At this time, for each pixel of the area“ 1 ”, FLAGBIT indicating the target / non-target of the attribute of this area As shown in FIG. 4, a pixel whose flag flag is “1” in this region “1” is a target of an attribute, but a pixel whose flag is “0” is not a target. Since the area “2” is a graphics area and cannot be expressed in a rectangular area, it has a FLAGBIT having an outer shape of a graphics image as shown in FIG.
また、領域"3"では、領域"0"の写真画像の中にある。このような場合に対応するために各領域に優先順位を持たせ、複数の領域にかかる画素はその領域の優先順位が高い領域の属性にしたがうようにする。そのため、領域"3"の優先順位は領域"0"の優先順位より高く設定する。そして、このように重なっている場合の上位の領域がFLAGBITを有する場合は、FLAGBITが"0"である画素はつぎの優先順位の領域の属性を持つことになる。このように処理することにより、領域"3"の文字部分の画素は文字の属性を有し、文字でない部分の画素は写真画像の属性を有して画像処理を行うことが可能である。上記領域に対する属性、優先順位などの関係を表2に示す。 In addition, the area “3” is in the photographic image of the area “0”. In order to cope with such a case, priority is given to each region, and pixels in a plurality of regions are made to follow the attribute of the region having a high priority of the region. Therefore, the priority of the area “3” is set higher than the priority of the area “0”. In the case where the upper region in the case of overlapping as described above has FLAGBIT, the pixel having FLAGBIT of “0” has the attribute of the next priority region. By performing the processing in this manner, it is possible to perform image processing with the pixel of the character portion in the region “3” having the character attribute and the pixel of the non-character portion having the attribute of the photographic image. Table 2 shows the relationship of attributes, priorities, etc. to the above areas.
この方式は、従来のものに対し、属性を格納するメモリ容量が小さくなる。特にバンド画像上に何もオブジェクトのない領域には、FLAGBITは使用されない。また、FLAGBITは1BITであり、基本的に属性情報を持つものではなく、属性情報はXS,XE,YS,YEの方形情報が有している。 This method has a smaller memory capacity for storing attributes than the conventional one. In particular, FLAGBIT is not used in a region where no object is present on the band image. Further, FLAGBIT is 1 BIT and basically does not have attribute information, and the attribute information has square information of XS, XE, YS, and YE.
バンドやページ単位に複数の属性の異なる複数の方形領域を画像処理装置が処理する画素ごとに各領域に含まれるかをリアルタイムに判定して色変換テーブルを選択し、色変換処理を行い、しきい値マトリックスを選択し階調処理を行い、プリンタの画像処理の高速化と高画質化を実現し、また、文字やグラフィックス属性を持つオブジェクトは方形領域では表現できないために方形領域ごとその属性を有する画素であるかを表現するFLAGBITを有し、細かな属性を指定することを可能とするものである。以下、具体的に説明する。 The color conversion table is selected by determining in real time whether or not a plurality of rectangular areas having different attributes for each band or page are included in each area for each pixel processed by the image processing apparatus, and color conversion processing is performed. Selects a threshold matrix and performs gradation processing to achieve high-speed printer image processing and high image quality. Also, since objects with text and graphics attributes cannot be represented in the square area, the attributes for each square area It has a FLAGBIT that expresses whether it is a pixel having, and makes it possible to specify a fine attribute. This will be specifically described below.
(実施の形態)
まず、本発明による画像処理装置が搭載される画像形成装置(プリンタ)の構成および動作について説明する。図5は、本発明の実施の形態にかかる画像形成装置の機構部の構成例を示す説明図である。以下、図5の画像形成装置をカラープリンタと記述する。なお、この実施の形態ではレーザーカラープリンタを例にとるが、インクジェットプリンタなど他のカラープリンタであってもよい。
(Embodiment)
First, the configuration and operation of an image forming apparatus (printer) in which the image processing apparatus according to the present invention is mounted will be described. FIG. 5 is an explanatory diagram illustrating a configuration example of a mechanism unit of the image forming apparatus according to the embodiment of the present invention. Hereinafter, the image forming apparatus in FIG. 5 is described as a color printer. In this embodiment, a laser color printer is taken as an example, but another color printer such as an ink jet printer may be used.
図5に示すカラープリンタ100は、レーザー光書込みおよび電子写真プロセスにしたがい、4色(Y(イエロー)、M(マゼンタ)、C(シアン)、K(ブラック))の画像をそれぞれ独立に配置された作像系1Y、1M、1C、1Kで形成し、この4色の画像を記録紙に順次重ね合わせて転写し合成する4ドラムタンデムエンジンタイプの画像形成装置である。
The color printer 100 shown in FIG. 5 has four color images (Y (yellow), M (magenta), C (cyan), K (black))) arranged independently according to laser light writing and electrophotographic processes. This is a four-drum tandem engine type image forming apparatus that forms the
各作像系1Y、1M、1C、1Kは、像担持体としての感光体、たとえば小径のOPC(有機感光体)ドラム2Y、2M、2C、2Kを有し、このOPCドラム2Y、2M、2C、2Kを取り囲むように作像の上流側から帯電手段としての帯電ローラ3Y、3M、3C、3Kと、OPCドラム2Y、2M、2C、2K上の静電潜像をそれぞれ現像剤で現像してY、M、C、K各色のトナー像とする現像装置4Y、4M、4C、4Kと、クリーニング装置5Y、5M、5C、5Kと、除電装置6Y、6M、6C、6Kなどが配置されている。
Each of the
各現像装置4Y、4M、4C、4Kの脇には、Yトナー、Mトナー、Cトナー、Kトナーをそれぞれ現像装置4Y、4M、4C、4Kへ所定の色のトナーを補給するトナーボトルユニット7Y、7M、7C、7Kが配置されている。また、各作像系1Y、1M、1C、1Kはそれぞれ独立に配置されたレーザーによる光書き込み装置8Y、8M、8C、8Kが配置され、この光書き込み装置8Y、8M、8C、8Kはレーザー光源としてのレーザーダイオード(LD)光源9Y、9M、9C、9Kや、コリメートレンズ10Y、10M、10C、10K、fθレンズ11Y、11M、11C、11K、といった光学部品、偏向走査手段としてのポリゴンミラー12Y、12M、12C、12K、折り返しミラー13Y、13M、13C、13K、14Y、14M、14C、14Kなどを有する。
Beside each developing
各作像系1Y、1M、1C、1Kは垂直に配列され、その右側には転写ベルトユニット15がOPCドラム2Y、2M、2C、2Kに接する形で配置される。転写ベルトユニット15は、転写ベルト16がローラ17〜20に張架されて駆動源(不図示)により回転駆動される。装置下側には転写材としての記録紙が収納された給紙トレイ21が配置され、装置上部に熱定着ローラと加圧ローラを有する定着装置22、排紙ローラ23および排紙トレイ24が配設されている。
The
作像時には、各作像系1Y、1M、1C、1Kにおいて、それぞれ、OPCドラム2Y、2M、2C、2Kが駆動源(不図示)により回転駆動され、帯電ローラ3Y、3M、3C、3KによりOPCドラム2Y、2M、2C、2Kが一様に帯電されて光書き込み装置8Y、8M、8C、8Kが各色の画像データに基づきレーザーダイオードを変調し、そのレーザー光を偏向走査してOPCドラム2Y、2M、2C、2Kに光書込みを行うことによって、OPCドラム2Y、2M、2C、2K上に静電潜像が形成される。
At the time of image formation, in each
このOPCドラム2Y、2M、2C、2K上の静電潜像はそれぞれ現像装置4Y、4M、4C、4Kにより現像されてY、M、C、K各色のトナー像となり、一方、給紙トレイ21から給紙ローラ25により転写紙が水平方向に給紙されて搬送系により作像系1Y、1M、1C、1K方向へ垂直に搬送される。この記録紙は、転写ベルト16に静電的に吸着保持されて転写ベルト16により搬送され、転写バイアス印加手段(不図示)により転写バイアスが印加されてOPCドラム2Y、2M、2C、2K上のY、M、C、K各色のトナー像を順次に重ねて合わせて記録紙に転写することでフルカラー画像が記録紙上に形成される。このフルカラー画像が形成された記録紙は、定着装置22によりフルカラーのトナー画像が熱および圧力の作用によって定着されて排紙ローラ23により排紙トレイ24へ排出される。
The electrostatic latent images on the OPC drums 2Y, 2M, 2C, and 2K are developed by developing
つぎに、以上のように構成されたカラープリンタにおける画像処理装置の構成および動作について説明する。図6は、図5における画像形成装置の電装・制御系の構成を示すブロック図である。この電装・制御系は、カラープリンタ100全体の制御を行なうCPU101、メモリコントローラ103に接続されCPU101とメモリコントローラ103間のインターフェイス制御を実行するCPUI/F102、メインメモリ104を制御しCPU101のローカルバス、復号化装置、画像処理装置、符号化装置とメインメモリとの転送を制御するメモリコントローラ103を備えている。
Next, the configuration and operation of the image processing apparatus in the color printer configured as described above will be described. FIG. 6 is a block diagram showing the configuration of the electrical / control system of the image forming apparatus in FIG. This electrical / control system is a
また、プリント出力する画像やCPU101の制御プログラムや各種データなどを格納するメインメモリ104、ROM106、パネルコントローラ107などと、CPU101、メインメモリ104とのインターフェイス制御を実行するローカルI/F105、文字などのフォント情報やCPU101の制御プログラムなどを格納するROM106、オペレーションパネル108を制御するパネルコントローラ107、ユーザーの入力操作をプリンタへ知らせるオペレーションパネル108、ネットワークに接続されネットワークから各種データやコマンドなどを受け取ってメモリコントローラ103を介して各種のコントローラに接続されている通信コントローラ109、CPU101により描画されたバンドの画像データに対して色変換処理や階調処理を行い、2値データになった画像データをメインメモリ104へ転送する画像処理装置110、メインメモリ104の2値バンドデータを符号化し、メインメモリ104へ符号を転送する符号化装置111、符号化装置111により符号化された符号を受け取り、各版を復号化し、C(シアン),M(マゼンタ),Y(イエロー)、K(ブラック)版のエンジンコントローラへ転送する復号化装置112、各復号化処理装置から画像データを受け取り、各版のプリンタエンジン114に転送するエンジンコントローラ113、C,M,Y,K各版の画像を形成するプリンタエンジン114(図5参照)を備えている。
Also, the
復号化装置112は、C版復号化処理装置112C、M版復号化処理装置112M、Y版復号化処理装置112Y、K版復号化処理装置112Kを備えている。エンジンコントローラ113は、C版エンジンコントローラ113C、M版エンジンコントローラ113M、Y版エンジンコントローラ113Y、K版エンジンコントローラ113Kを備えている。プリンタエンジン114は、C版プリンタエンジン114C、M版プリンタエンジン114M、Y版プリンタエンジン114Y、K版プリンタエンジン114Kを備えている。
The
図7は、本発明の実施の形態にかかる画像データの概略的な処理系統を示すブロック図である。この図において、CPU101により多値RGBバンドを生成し、この生成された多値RGBバンドデータをメインメモリ104の多値RGBバンドメモリ104aに記憶する。画像処理装置110の色変換処理装置120により、多値RGBバンドメモリ104aに記憶された多値RGBバンドデータを色変換する。画像処理装置110の階調処理装置121により、色変換処理装置120で色変換処理された多値CMYKデータに対して階調処理を行い、C,M,Y,K毎の2値CMYKバンドデータ122をメモリ領域に記憶する。符号化装置111によりメインメモリ104に記憶されたC,M,Y,Kの2値バンドデータを符号化し、符号ページメモリ領域に1ページ格納する。符号化装置111により符号化されたデータを復号化処理装置112で版ごとの符号を復号化し、2値CMYKページデータ124としてエンジンコントローラ113に転送する。これら詳細について以下に記述する。
FIG. 7 is a block diagram showing a schematic processing system of image data according to the embodiment of the present invention. In this figure, a multi-value RGB band is generated by the
図8は、本発明の実施の形態にかかる画像データの処理を行なう機能ブロック図である。また、図9は、メインメモリ104のフォーマットを示す説明図である。これらの図に示すように、このフォーマットは、多値のRGBのデータを1バンド分格納する領域である多値バンドメモリ領域104a、多値バンドメモリ領域の画素に対応するFLAGBITメモリ領域104b、画像処理された2値、4値、16値化された複数の各版のバンド情報を格納する領域であるC,M,Y,K各版の2値バンドメモリ格納領域104c,104m,104y,104k、各版の2値バンドメモリデータを版ごと符号化された符号のページメモリ領域であるC,M,Y,K各版の符号ページメモリ領域104cc,104cm,104cy,104ck、CPU101の制御プログラムを格納するプログラム領域104pが用意されている。
FIG. 8 is a functional block diagram for processing image data according to the embodiment of the present invention. FIG. 9 is an explanatory diagram showing the format of the
図8において、CPU101は多値バンドメモリ領域104aに多値RGBデータのバンドを描画する。画像処理装置110により多値バンドメモリ領域104aの多値RGBデータのバンドデータとFLAGBITメモリ領域104bのFLAGBITデータを読み込み、色変換処理や階調処理などを行い、階調処理後の画像を各版の2値バンドメモリ領域(104m〜104k)へ転送する。多値のRGBデータのバンドデータとFLAGBITデータと符号化装置111により求めたバンドごとの符号などを符号ページメモリ領域(104cc〜104ck)に格納する。符号化装置111により各版の2値バンドメモリ領域のデータを符号化し、メインメモリ104の各版の符号ページメモリ領域(104cc〜104ck)へ書き込む。各版の復号化装置112により、各版の符号ページメモリ領域(104cc〜104ck)から符号を読み込んで復号化し、各版のエンジンコントローラ113へ転送する。この画像にしたがって各プリンタエンジン114によって各色の画像形成を行なう。
In FIG. 8, the
図10は、本発明の実施の形態にかかる多値バンドデータの生成の様子を示すブロック図である。図10の矢印に示すように、CPU101はCPUI/F102、メモリコントローラ103を介してメインメモリ104にRGBバンドとFLAGBITデータを生成する。
FIG. 10 is a block diagram showing how multi-value band data is generated according to the embodiment of the present invention. As shown by the arrows in FIG. 10, the
図11は、本発明の実施の形態にかかる画像処理の様子を示すブロック図である。図11の矢印に示すように、CPU101は図1に示すような画像をプリントする場合、バンドごとに画像処理装置110の領域判定装置へ表2に示すようにバンド毎の各の領域を示す方形情報とその方形領域の属性情報(写真画像、文字、グラフィックスなど)と、その方形領域の重なりの優先順位とその方形情報がFLAGBITを有しているかを示すフレームタイプとFLAGBITを有している場合のFLAGBITメモリ領域104b上のベースアドレスであるFLAGBITBASEアドレスなどを送る。画像処理装置110はメインメモリ104の多値バンドメモリ領域104aから多値RGBを読み込み画像処理を行う。このとき、画像処理装置110は画像処理を行う画素が、前述の表2のように設定された方形領域情報にかかるかを判断し、かかる場合、その属性を求め2値バンドメモリ領域104c〜104kへ転送する。
FIG. 11 is a block diagram showing a state of image processing according to the embodiment of the present invention. As shown by the arrows in FIG. 11, when printing the image as shown in FIG. 1, the
図12は、本発明の実施の形態にかかる符号化処理の様子を示すブロック図である。図12の矢印に示すように、符号化装置111は、メインメモリ104の各版2値バンドメモリ領域104c〜104kから階調処理後の画像を読み込み符号化する。符号化装置111は符号化されたデータをメインメモリ104の各版符号ページメモリ領域104cc〜104ckへ転送する。
FIG. 12 is a block diagram showing a state of the encoding process according to the embodiment of the present invention. As indicated by the arrows in FIG. 12, the
図13は、本発明の実施の形態にかかるプリント出力処理の様子を示すブロック図である。図13の矢印に示すように、各版の復号化処理装置112は、プリンタエンジン114に同期し、メインメモリ104の各版の符号ページメモリ領域104cc〜104ckから符号を読み込み復号化する。復号化処理装置112は各版の復号化された階調後のデータを各版のエンジンコントローラ113へ転送する。各版のエンジンコントローラ113は各版のプリンタエンジン114に同期し、データを各版のプリンタエンジン114へ転送する。
FIG. 13 is a block diagram showing a print output process according to the embodiment of the present invention. As indicated by the arrows in FIG. 13, each version of the
つぎに、上述した各機能ブロックの詳細な構成および動作について説明する。図14は、本発明の実施の形態にかかる画像処理装置110の構成を示すブロック図である。図示するように、この画像処理装置110は、メモリコントローラI/F125、RGBデータを一時格納するBUF(バッファ)126、FLAGBITデータを一時格納するBUF(バッファ)127、色変換処理装置128、階調処理装置129、2値CMYKプレーンデータを一時格納するBUF(バッファ)130、DELAY(ディレイバッファ)131、画素属性生成装置132、メモリアドレス生成装置133、コントローラ134を備えている。
Next, the detailed configuration and operation of each functional block described above will be described. FIG. 14 is a block diagram showing a configuration of the
メモリコントローラI/F125は、メインメモリ104の多値バンドメモリ領域104aから画像データを受け取り、色変換処理装置128と階調処理装置129へ転送し、階調処理後のデータをメインメモリ104の各版の2値バンドメモリ領域104c〜104kへ転送する。また、画素属性生成装置132からアドレスを受け取り、メインメモリ104のFLAGBITメモリ領域104bからFLAGBITデータを読み込み画素属性生成装置132へ転送する。BUF126はメモリコントローラI/F125から受け取った多値バンドの画像データを一時格納する。BUF127はメモリコントローラI/F125から受け取ったFLAGBITデータを一時格納する。
The memory controller I /
色変換処理装置128は、メインメモリ104の多値バンドメモリ領域104aから順次、画像データを読み込んで色変換処理を行い、階調処理装置129へ転送する。この色変換処理装置128の詳細について後述する。階調処理装置129は、色変換処理装置128からの色変換処理後のデータを受け取って階調処理を行い、BUF30へ転送する。この階調処理装置129の詳細について後述する。
The color
BUF130は、階調処理装置129から受け取った階調処理後データを一時 格納する。DLAY(ディレイバッファ)131は、画素属性生成装置132からの画素属性FLAGを色変換処理装置128のパイプライン分だけデイレイさせる。画素属性生成装置132は、CPU101からの表2に示すようなコマンドを受け取り、色変換処理装置128、階調処理装置129が処理する画素の属性を生成する。メモリアドレス生成装置133は、メインメモリ104の多値バンドメモリ領域104aのアドレスと、各版の2値バンドメモリ領域104c〜104kのアドレスを生成する。コントローラ134は、画像処理装置110の全体を制御する。
The
図15は、図14における画像処理装置110の画素属性生成装置132の構成を示すブロック図である。この画素属性生成装置132は、水平画素カウント装置135、垂直画素カウント装置136、方形情報記憶装置137、領域判定装置138、FLAGBITアドレス生成装置139、コントローラ140を備えている。
FIG. 15 is a block diagram illustrating a configuration of the pixel
水平画素カウント装置135は、色変換処理装置128が処理する画素の水平画素値をカウントして水平画素数を出力する。垂直画素カウント装置136は、色変換処理装置128が処理する画素の垂直画素値をカウントして垂直画素数を出力する。方形情報記憶装置137は、表2に示すようにバンドの各の領域を示す方形情報とその方形領域の属性情報(写真画像、文字、グラフィックスなど)と、その方形領域の重なりの優先順位とその方形情報がFLAGBITを有しているかを示すフレームタイプとFLAGBITを有している場合のFLAGBITメモリ領域104b上のベースアドレスであるFLAGBITBASEアドレスなどを格納する。この方形情報記憶装置137の詳細については後述する。
The horizontal
領域判定装置138は、水平画素カウント装置135から水平画素数を、垂直画素カウント装置136から垂直画素数を受け取り、現在の処理中の画素が、方形情報記憶装置137からの各属性の領域を示す方形情報とその優先順位とから処理する画素のかかる領域の最上位(複数領域が重なる場合は優先順位が最も高い)の領域の属性とつぎの領域(最上位の領域に対して、優先順位が1つ低い領域)の属性を求め、もし、最上位の領域がFLAGBITを有する領域であれば、FLAGBITアドレス生成装置139へ最上位領域番号を送って処理する画素に対応するFLAGBITデータを読み込み、FLAGBITデータの値により、最上位の属性か、次の属性であるかを判断し、色変換処理装置は画素の属性情報を送る。この領域判定装置138の詳細については後述する。
The
FLAGBITアドレス生成装置139は、水平画素カウント装置135から水平画素数を、垂直画素カウント装置136から垂直画素数を受け取り、現在の処理中の画素が、方形情報記憶装置137からの各属性の領域を示す方形情報とメインメモリ104のFLAGBITメモリ領域104bの各方形領域のFLAGBITのベースアドレスを受け取り、領域判定装置138から最上位の領域番号を受け取り、現在処理中における画素のFLAGBITメモリ領域104bのアドレスを生成し、メモリコントローラI/F125に送る。このFLAGBITアドレス生成装置139の詳細については後述する。コントローラ140は、この画素属性生成装置132を制御する。
The FLAGBIT
つぎに、以上のように構成された画素属性生成装置132の動作について図16のフローチャートを参照し、説明する。この動作はコントローラ140によって制御される。また、画像および処理例として前述した図1〜図4および表2を例にとる。まず、水平画素カウント装置135および垂直画素カウント装置136の各画素数を初期化し(ステップS1)、多値バンド内の複数の写真画像領域、文字領域、グラフィックス領域の方形領域を設定する(ステップS2)。続いて、細部の領域が方形でない文字領域、グラフィックス領域の細部を示すために方形内のFLAGBITをFLAGBIT領域へ設定する(ステップS3)。さらに水平画素数を0とし(ステップS4)、領域判定装置138により、設定された複数の方形領域に多値バンドの位置を示す水平画素数、垂直画素数が含む領域番号を求め(ステップS5)、この領域番号の中で最も優先順位の高い領域番号である最上位領域番号と次の優先順位である下位領域番号を求める(ステップS6)。
Next, the operation of the pixel
続いて、この最上位領域番号の領域はFLAGBITを有する領域であるか否かを判断する(ステップS7)。ここで、最上位領域番号の領域がFLAGBITを有する領域であると判断した場合、FLAGBIT領域のアドレスを求めメインメモリ104のFLAGBIT領域からFLAGBITデータを読み込む(ステップS8)。一方、最上位領域番号の領域がFLAGBITを有する領域ではないと判断した場合、最上位領域の属性をその画素の属性とし(ステップS9)、ステップS13に進む。 Subsequently, it is determined whether or not the region having the highest region number is a region having FLAGBIT (step S7). If it is determined that the area with the highest area number is an area having FLAGBIT, the address of the FLAGBIT area is obtained and the FLAGBIT data is read from the FLAGBIT area of the main memory 104 (step S8). On the other hand, if it is determined that the region with the highest region number is not a region having FLAGBIT, the attribute of the highest region is set as the attribute of the pixel (step S9), and the process proceeds to step S13.
ステップS8の処理を実行した後、さらにFLAGBITデータは1であるか否かを判断する(ステップS10)。ここで、FLAGBITデータ=1であれば、最上位領域の属性をその画素の属性とし(ステップS11)、一方、FLAGBITデータが1でなければ、下位領域の属性をその画素の属性とする(ステップS12).このステップS11あるいはステップS12を実行した後、水平画素数を1つ進ませ(ステップS13)、その水平画素数が多値バンド水平幅になったか否かを判断する(ステップS14)。ここで、水平画素数=多値バンド水平幅であれば、垂直画素数を1つ進ませ(ステップS15)、その垂直画素数が多値バンド垂直幅になったか否かを判断する(ステップS16)。ここで、垂直画素数=多値バンド垂直幅であればこの処理を終了する。また、ステップS14において水平画素数が多値バンド水平幅になっていない場合にはステップS5に戻り、ステップS16において垂直画素数が多値バンド垂直幅になっていない場合にはステップS5に戻る。 After executing the process of step S8, it is further determined whether or not the FLAGBIT data is 1 (step S10). If FLAGBIT data = 1, the attribute of the uppermost area is set as the attribute of the pixel (step S11). On the other hand, if FLAGBIT data is not 1, the attribute of the lower area is set as the attribute of the pixel (step S11). S12). After executing step S11 or step S12, the number of horizontal pixels is incremented by one (step S13), and it is determined whether or not the number of horizontal pixels has reached the multi-value band horizontal width (step S14). Here, if the number of horizontal pixels = the multi-value band horizontal width, the number of vertical pixels is incremented by one (step S15), and it is determined whether or not the number of vertical pixels has reached the multi-value band vertical width (step S16). ). Here, if the number of vertical pixels = the multi-value band vertical width, this process is terminated. If the number of horizontal pixels is not the multi-value band horizontal width in step S14, the process returns to step S5. If the number of vertical pixels is not the multi-value band vertical width in step S16, the process returns to step S5.
図17は、図15における方形情報記憶装置137の構成を示すブロック図である。この方形情報記憶装置137は、デコーダ141、方形情報格納レジスタ142,143,144,145,146、レジスタ147を備えている。
FIG. 17 is a block diagram showing a configuration of the rectangular
デコーダ141は、CPU101からのアドレスをデコードし、方形情報格納レジスタ142,143,144,145,146を選択する。方形情報格納レジスタ142は、0番目の方形情報を格納する。このレジスタは、図2に示すように各領域をXS,YSが領域の左上を示し、XE,YEが領域の右下を示す。すなわち、XS,YSは各領域のX座標の左/右端を示し、YS,YEはY座標の上/下を示す。属性情報は0番目のXS,XE,YS,YEの示す方形領域内の属性情報(写真画像、文字、グラフィックス画像など)を示す。(表2に図2のバンドでの例を示す。)
The
フレームタイプは、0番目のXS,XE,YS,YEの示す方形領域がFLAGBITデータを有するかを示す。図4にFLAGBITメモリのデータの例を示す。(表2に図2のバンドでの例を示す。この例では文字、グラフィックス属性を持つ領域はフレームタイプが"1"であり、FLAGBITデータを有する。) The frame type indicates whether the square area indicated by the 0th XS, XE, YS, or YE has FLAGBIT data. FIG. 4 shows an example of data in the FLAGBIT memory. (Table 2 shows an example of the band in FIG. 2. In this example, the area having the character and graphics attributes has the frame type “1” and has FLAGBIT data.)
優先順位は0番目のXS,XE,YS,YEの示す方形領域の優先順位である。(図2のバンドの例では領域"0"の中に領域"3"があり、表2に示すように領域"3"は領域"1"より、優先順位が高い。)FLAGBITBASEアドレスは0番目のXS,XE,YS,YEの示す方形領域がFLAGBITデータを有する場合にFLAGBITメモリの図4に示すようなFLAGBITデータのベースアドレスである。 The priority order is the priority order of the square areas indicated by the 0th XS, XE, YS, and YE. (In the example of the band in FIG. 2, there is a region “3” in the region “0”, and the region “3” has a higher priority than the region “1” as shown in Table 2.) FLAGBITBASE address is 0th When the rectangular area indicated by XS, XE, YS, YE has FLAGBIT data, it is the base address of the FLAGBIT data as shown in FIG. 4 of the FLAGBIT memory.
方形情報格納レジスタ143は、1番目の方形情報を格納する。方形情報格納レジスタ144は、2番目の方形情報を格納する。方形情報格納レジスタ145は、3番目の方形情報を格納する。方形情報格納レジスタ146は、n番目の方形情報を格納する。有効数を格納するレジスタ147は、たとえば"1"であれば、方形情報格納レジスタの0番目までに情報が入っていることを示し、たとえば"3"であれば、方形情報格納レジスタの0,1,2番目までに情報が入っていることを示し、たとえば"0"であれば、領域がないことを示す。
The square
図18は、図15における領域判定装置138の構成を示すブロック図である。この領域判定装置138は、方形領域判定処理装置150,151,152、優先順位判定装置153、画素属性判定装置154を備えている。
FIG. 18 is a block diagram showing the configuration of the
0番目の領域判定処理装置150は、方形情報記憶装置137から0番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、0番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。1番目の領域判定処理装置151は、方形情報記憶装置137から1番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、1番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。n番目の領域判定処理装置152は、方形情報記憶装置137から7番目の領域情報と、その有効数と、処理する画素の水平、垂直画素値を受け取り、n番目の領域に処理画素が入るかを判断し、判定結果とその優先順位を優先順位判定装置153へ転送する。
The 0th area
優先順位判定装置153は、方形領域判定処理装置150〜152からの判定結果とその優先順位を受け取り最上位領域番号とその属性(最上位属性)とそのフレームタイプ(最上位フレームタイプ)、領域が重なる場合に最上位の次の属性(次の属性)を求め、画素属性判定装置154へ転送し、最上位領域番号をFLAGBITアドレス生成装置139へ転送する。
The
画素属性判定装置154は、優先順位判定装置153から最上位属性と次の属性と最上位フレームタイプとを受け取り、FLAGBITアドレス生成装置139により、アドレス指定されたメインメモリ104の図4に示すようなFLAGBITデータから、処理する画素のFLAGBITデータを受け取って画素の属性を求め、色変換処理装置128へ転送する。
The pixel
図19は、図18における方形流域判定処理装置150〜152の構成を示すブロック図である。この方形領域判定処理装置150〜152は、XSと水平画素数とを比較する比較装置155、水平画素数とXEとを比較する比較装置156、YSと垂直画素数とを比較する比較装置157、垂直画素数とYEとを比較する比較装置158、方形番号と有効数とを比較する比較装置159、これら比較装置156〜159の比較結果からAND処理を行ない領域判定結果を出力するAND装置160を備えている。
FIG. 19 is a block diagram illustrating the configuration of the rectangular basin
すなわち、比較装置155,156は、処理する画素の水平画素値が領域に入っているかを判定する。比較装置157,158は、処理する画素の垂直画素値が領域に入っているかを判定する。比較装置159は、方形領域判定処理装置150〜152の処理する情報が有効であるかを判定する。AND装置160は、比較装置156〜159の判定結果が全てOKであれば、この領域に処理する画素が入っていることになる。
That is, the
図20は、図18における優先順位判定装置153の構成を示すブロック図である。この優先順位判定装置153は、MUX(マルチプレクサ)161〜163、優先順位比較装置164、MUX(マルチプレクサ)165〜167を備えている。
FIG. 20 is a block diagram showing the configuration of the
MUX161は、方形領域判定処理装置150からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置150からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。MUX162は、方形領域判定処理装置151からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置151からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。MUX163は、方形領域判定処理装置153からの領域判定結果に基づいて、領域内であれば、方形領域判定処理装置153からの優先順位を優先順位比較装置164へ転送し、領域外であれば、最低の優先順位値を転送する。
Based on the area determination result from the square area
優先順位比較装置164は、方形領域判定処理装置150,151,152からの優先順位から、最上位の優先順位の領域番号と次の優先順位の領域番号を求める。MUX165は、優先順位比較装置164からの最上位領域番号により、方形領域判定装置150,151,152からの各領域の属性値から最上位属性を選択する。MUX166は、優先順位比較装置164からの次の領域番号により、方形領域判定装置からの各領域の属性値から次の属性を選択する。MUX167は、優先順位比較装置164からの最上位領域番号により、方形領域判定装置150,151,152からの各領域のフレームタイプ値から最上位フレームタイプを選択する。
The
図21は、図18における画素属性判定装置154の構成を示すブロック図である。この画素属性判定装置154は、レジスタ168、インバータ169、レジスタ170〜171、AND装置172、MUX(マルチプレクサ)173を備えている。
FIG. 21 is a block diagram showing a configuration of the pixel
レジスタ168は、優先順位判定装置153からの最上位フレームタイプ値を一時格納する。インバータ169は、レジスタ168に格納されたの最上位フレームタイプ値を反転する。レジスタ170は、優先順位判定装置153からの最上位属性値を一時格納する。レジスタ171は、優先順位判定装置153からの次の属性値を一時格納する。AND装置172は、最上位フレームが"0"(最上位の領域はFLAGBITデータを持たない)であるか、最上位フレームが"1"(最上位の領域はFLAGBITデータを持つ)でかつFLAGBITデータ値が"1"(最上位属性を持つ)である場合はMUX173により、最上位の属性を選択し、最上位フレームが"1"でかつFLAGBITデータ値が"0"(次の優先順位の領域の属性を持つ)である場合はMUX173により次の属性を選択させる。MUX173は、AND回路172からの制御信号によりレジスタ値を選択する。
The
図22は、図15におけるFLAGBITアドレス生成装置139の構成を示すブロック図である。このFLAGBITアドレス生成装置139は、MUX(マルチプレクサ)174、FLAGBITアドレス処理装置175を備えている。
FIG. 22 is a block diagram showing a configuration of the FLAGBIT
MUX174は、領域判定装置138からの最上位領域番号により、方形情報記憶装置137からの各領域のXS,XE,YS,YEの方形領域情報とメインメモリ104のFLAGBITメモリ領域の各方形領域のFLAGBITBASEアドレスを選択し、最上位のXS,XE,YS,YEの方形領域情報とFLAGBITBASEアドレスを選択する。FLAGBITアドレス処理装置175は、図15に示した水平画素カウント装置135の水平画素、垂直画素カウント装置136の垂直画素の値とMUX174からの最上位領域のXS,XE,YS,YEの方形領域情報とFLAGBITBASEアドレスから、図23に示すような演算を行い、処理する画素のFLAGBITメモリのアドレスを求める。
The
図24は、図22におけるFLAGBITアドレス処理装置175の構成を示すブロック図である。このFLAGBITアドレス処理装置175は、減算器176〜178、乗算器179、加算器180,181を備えている。
FIG. 24 is a block diagram showing the configuration of the FLAGBIT
減算器176は、図23に示すようにFLAGBITメモリの指定領域における水平方向のX幅を求める。減算器177は、図23に示すようにFLAGBITメモリの指定領域における垂直方向の画素のY幅を求める。減算器178は、図23に示すようにFLAGBITメモリの指定領域における水平方向の画素のX幅を求める。乗算器179は、減算器176と減算器177の出力を乗算する。加算器180は、図23に示すようにFLAGBITメモリのベースアドレスからの相対的な画素のアドレスを求める。加算器181は、図23に示すように加算器180で求めた相対アドレスにFLAGBITメモリ上の領域のFLAGBITベースアドレスを加算し、画素のFLAGBITメモリ上の絶対アドレスであるFLAGBITアドレスを求める。
The
図25は、図14における色変換処理装置128の構成を示すブロック図である。この色変換処理装置128は、格子点選択装置182、格子点補間処理装置183、色変換テーブルメモリ184、格子点アドレス生成装置185、データ切り出し装置186を備えている。
FIG. 25 is a block diagram showing the configuration of the color
格子点選択装置182は、CPU101から画像(RGB)データを受け取り、各R,G,B成分を上位NBIT,下位8−NBITに分割し、それぞれをHR,G,BDR,G,Bとし、8個の格子点からなる立方体の6個の四面体のどの四面体に相当するかを判断し、TYPEとし、格子点アドレス生成装置185と格子点補間処理装置183へ転送する。
The lattice
格子点補間処理装置183は、データ切り出し装置186からの補間する四面体の4点の格子点におけるC,M,Y,K値とから格子点選択装置182のDR,DG,DBで補間し、C,M,Y,Kデータを求める。色変換テーブルメモリ184は、格子点情報を後述する図34のフォーマットで格納し、格子点アドレス生成装置185は、アドレスを受け取り、格子点情報をデータ切り出し装置186へ転送する。図35に各格子点データのフォーマットを示す。
The lattice point
格子点アドレス生成装置185は、格子点選択装置182からのHR,G,BとHRU,GU,BUとTYPEと画素属性生成装置132(図14参照)からの画素属性から、色変換テーブルメモリ184の格子点アドレスを求める。データ切り出し装置186は、色変換テーブルメモリ184から受け取った格子点データを格子点補間処理装置183で補間するための4つのパラメータを切り出す。
The grid point address generation device 185 uses the HR, G, B and HRU, GU, BU, and TYPE from the grid
図26は、図25の色変換処理装置128の動作を示すフローチャートであり、コントローラ134により実行される。まず、格子点選択装置182により入力された画像(RGB)データを上位NBITをHR,G,Bへ下位(8−N)BITをDR,G,Bへ変換する(ステップS21)。続いて、格子点選択装置182により、求めたHR,G,BからTYPEを求める(ステップS22)。さらに格子点アドレス生成装置185により格子点アドレスを求める(ステップS23)。続いて、色変換テーブルメモリ184から格子点データを読み込み(ステップS24)、格子点補間処理装置183により格子点データ間の補間処理を行いC,M,Y,Kデータを求める(ステップS25)。
FIG. 26 is a flowchart showing the operation of the color
図27は、図25における格子点選択装置182の構成を示すブロック図である。この格子点選択装置182は、図31のフローチャートに示すようなステップS61〜ステップS74を実行する。
FIG. 27 is a block diagram showing a configuration of the lattice
図28は、図25における格子点補間処理装置183の構成を示すブロック図である。この格子点補間処理装置183は、色変換テーブルメモリ184からの補間する四面体における4点の格子点のC,M,Y,KとTYPEの値により差分データを生成する差分データ生成装置186と、差分データ生成装置186で求めた差分データと格子点選択装置182からのDR,G,Bデータから補間処理を行う補間装置187とを備えている。
FIG. 28 is a block diagram showing the configuration of the lattice point
図29−1〜図29−2は、図28における補間装置187の構成を示すブロック図であり、C,M,Y,K毎のブロックに分けて示している。この補間装置187は、C色の補間処理を行なう乗算器191〜193、加算器194〜196と、M色の補間を行なう乗算器197〜199、加算器200〜202と、Y色の補間を行なう乗算器204〜206、加算器207〜209と、K色の補間を行なう乗算器210〜212、加算器213〜215と、を備えている。
29A to 29B are block diagrams illustrating the configuration of the
これらの図において、乗算器191〜193は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Cをそれぞれ乗算する。加算器194〜196は、乗算器191〜193の乗算結果と格子点データ00Cと加算する。乗算器197〜199は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Mをそれぞれ乗算する。加算器200〜202は、乗算器197〜199の乗算結果と格子点データ00Mと加算する。乗算器204〜206は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Yをそれぞれ乗算する。加算器207〜209は、乗算器204〜206の乗算結果と格子点データ00Yと加算する。乗算器210〜212は、格子点選択装置182からのDR,G,Bデータと差分データの格子点差分1,2,3Kをそれぞれ乗算する。加算器213〜215は、乗算器210〜212の乗算結果と格子点データ00Kと加算する。
In these figures,
図30−1〜図30−2は、図28における差分データ生成装置186の処理を示すフローチャートである。この差分データ生成装置186の処理は、前述の表1で示した四面体判例と補間係数の一覧にしたがってTIPE1〜6を判断し、このTYPE毎の演算を実行する。すなわち、格子点データを入力し(ステップS31)、TYPE4の場合(ステップS32、判断Yes)にステップS33,S34,S35を実行する。また、TYPE3の場合(ステップS36、判断Yes)にステップS37,S38,S39を実行する。また、TYPE2の場合(ステップS40、判断Yes)にステップS41,S42,S43を実行する。また、TYPE1の場合(ステップS44、判断Yes)にステップS45,S46,S47を実行する。また、TYPE6の場合(ステップS48、判断Yes)にステップS49,S50,S51を実行する。また、TYPE5の場合(ステップS52、判断Yes)にステップS53,S54,S55を実行する。
30-1 to 30-2 are flowcharts illustrating the processing of the difference
図32は、図25における格子点アドレス生成装置185の構成を示すブロック図である。この格子点アドレス生成装置185は、乗算器216,217、加算器218,219、乗算器220,222,224、MUX(マルチプレクサ)221、色変換テーブルアドレレス記憶装置223を備えている。
FIG. 32 is a block diagram showing a configuration of the lattice point address generation device 185 in FIG. The lattice point address generation device 185 includes
この格子点アドレス生成装置185は、図35に示すようなデータフォーマットのアドレスを作成する。本例では、HR,G,Bは4BITの例であるために、乗算器216,217、加算器218,219により、HR,G,Bをつなげた12BITを作成する処理を行なう。乗算器220は、図35に示すデータフォーマットの1ブロックの8ワードを乗算する。MUX221は、図35の各タイプ共通のデータである0番目のP0,P7を読み込むときに、"0"を出力し、各タイプをアクセスするときは"TYPE"を選択する。色変換テーブルアドレレス記憶装置223は、FLAGの色変換テーブル番号ごとに図34に示す色変換テーブルの先頭アドレスを格納する記憶装置である。加算器224は、図34に示す色変換テーブルのアドレスを生成する。
The lattice point address generation device 185 creates an address in a data format as shown in FIG. In this example, since HR, G, and B are examples of 4 BITs, the
図33は、図25におけるデータ切り出し装置186の構成を示すブロック図である。このデータ切り出し装置186は、レジスタ225〜228を備え、図34に示すような、色変換テーブルから、図35に示すような格子点データを受け取りC,M,Y,Kごとに分離して出力する。
FIG. 33 is a block diagram showing the configuration of the
図36は、図14における諧調処理装置129の構成を示すブロック図である。この諧調処理装置129は、グラフィックス用しきい値テーブル記憶装置230、写真用しきい値テーブル記憶装置231、文字用しきい値テーブル記憶装置232、テーブルしきい値マトリックス記憶装置アドレス生成装置233、MUX(マルチプレクサ)234、比較装置235〜238、C,M,Y,K毎の固定長データ生成装置239〜243、C,M,Y,K毎のバッファ244〜247、MUX(マルチプレクサ)248、コントローラ249を備えている。
FIG. 36 is a block diagram showing the configuration of the
しきい値マトリックス記憶装置アドレス生成装置233は、グラフィックス用しきい値テーブル記憶装置230、写真用しきい値テーブル記憶装置231、文字用しきい値テーブル記憶装置232それぞれのアドレスを生成する。MUX234は、図14に示すディレイバッファ131からの属性データにより、しきい値テーブル記憶装置それぞれの出力を選択する。比較装置235〜238は、MUX234で選択されたしきい値C,M,Y,Kデータと色変換処理装置128からのC,M,Y,Kデータと比較し、2値データを生成する。C,M,Y,K毎の固定長データ生成装置239〜243は、比較装置235〜238により生成された2値データを固定長にまとめる。C,M,Y,K毎のバッファ244〜247はFIFO(First−In First−Out)で構成され、C,M,Y,K毎の固定長データ生成装置239〜243により固定長化されたデータを受け取り、FIFOに蓄積していく。
The threshold matrix storage device
図37は、図36における諧調処理装置129の動作を示すフローチャートである。この動作はコントローラ249によって実行される。まず、しきい値マトリックス記憶装置アドレス生成装置233により水平しきい値マトリックスのアドレスを求め(ステップS81)、さらにその水平マトリックス中のアドレスを求める(ステップS82)。続いて、しきい値(C,M,Y,K)データを読み込み(ステップS83)、このしきい値(C,M,Y,K)データとC,M,Y,Kデータとを比較装置235〜238により比較し(ステップS84)、2値化(C,M,Y,K)データを固定長データに追加する(ステップS85)。続いて、上記データが固定長まで成長したか否かを判断し(ステップS86)、成長したならばC,M,Y,Kの固定長データをC,M,Y,K毎のバッファ(FIFO)244〜247に書き込む(ステップS87)。ステップS86で固定長までデータが成長していない場合、またはステップS87を実行した後、さらに水平方向に全て終了したか否かを判断し(ステップS88)、全て終了したならば、さらに垂直方向に全て終了した否かを判断し(ステップS89),水平および垂直方向の全てが終了したならばこの動作を終了し、全て終了していなければステップS81に戻る。
FIG. 37 is a flowchart showing the operation of the
図38は、図36におけるC,M,Y,K毎の固定長データ生成装置239〜243の構成を示すブロック図である。この固定長データ生成装置239〜243は、シフタ250、OR装置251、レジスタ252,253、加算器254、シフト値レジスタ255を備えている。
FIG. 38 is a block diagram showing a configuration of fixed-length
シフタ250は、比較装置235(〜238)からの2値データを受け取り、シフト値レジスタ2556の値だけシフトしてOR装置251へ転送する。OR装置251は、上記シフトした2値データをOR処理し、レジスタ252へ送る。レジスタ253は、OR装置251でOR処理され、追加された2値データを格納する。レジスタ252は、固定長に達したデータを格納する。加算器254は、比較装置235(〜238)から2値データを受けるごと"1"を加算していく。レジスタ255は、シフト値を格納する。
The
図39は、図6における符号化装置111の構成を示すブロック図である。この符号化装置111は、メモリコントローラI/F260、BUF(バッファ)261、JBIG符号化装置262、BUF(バッファ)263、メモリアドレス生成装置264、コントローラ265を備えている。
FIG. 39 is a block diagram showing the configuration of the
メモリコントローラI/F260は、メモリコントローラ103から画像データを受け取り、JBIG符号化装置262へ転送し、JBIG符号化装置262から符号化された符号データを受け取りメモリコントローラ103へ転送する。また、メモリアドレス生成装置264からアドレスを受け取り、メモリコントローラ103へ転送する。BUF261は、メモリコントローラI/F103から受け取った画像データを一時格納する。JBIG符号化装置262は、各版の2値バンドメモリ領域から順次、符号化しバンドごと符号を作成する。BUF263は、JBIG符号化装置262から受け取った符号データを一時格納する。メモリアドレス生成装置264は、メインメモリ104における各版の2値バンドメモリ領域のアドレスと、各版の符号ページメモリのアドレスを生成する。コントローラ265は、符号化装置の全体を制御する。
The memory controller I /
図40は、図6におけるC版復号化処理装置112Cの構成を示すブロック図である。なお、この構成は他の版においても同一の構成となる。C版復号化処理装置112Cは、メモリコントローラI/F266、BUF(バッファ)267、JBIG復号化装置268、C版ラインメモリ269、読み込みメモリアドレス生成装置270、コントローラ271を備えている。
FIG. 40 is a block diagram showing the configuration of the C version
メモリコントローラI/F266は、C版の符号ページメモリ領域から階調処理後の画像を受け取り、JBIG復号化装置のバッファへ転送する。BUF(バッファ)267は、JBIG復号化装置268へ符号データを転送する。JBIG復号化装置268は、メインメモリ104の符号ページメモリ領域から符号を読み込み復号化し、C版ラインメモリ269へ転送する。C版ラインメモリ269は、JBIG復号化装置260により復号化された階調処理後の画素を格納する。読み込みメモリアドレス生成装置270は、メインメモリ104のC版における符号ページメモリ領域のアドレスを生成する。コントローラ271は、このC復号化処理装置112Cの全体を制御する。
The memory controller I /
したがって、以上説明してきた実施の形態の画像処理装置(方法)によれば、バンドやページ単位に複数の異なる領域が、処理する画素毎に各領域に含まれるかをリアルタイムに判定し、この判定結果にしたがって色変換テーブルを選択して色変換処理を行ない、さらにしきい値マトリックスを選択して階調処理を行なうことにより、画像のバンドやページの画素毎に属性を記憶する属性メモリを必要とせずに、文字、グラフィックス領域を示す方形領域にのみ、その領域内の画素が属性の対象であるかを示すBITのみを有するため、メモリ容量が少なくなる。また、写真画像、グラフィックス画像毎の色変換処理、階調処理を切り替えることが可能なため、色再現性に優れ、また、写真画像内部での文字においても文字の各画素毎が文字として属性を有するため、色再現性が向上する。 Therefore, according to the image processing apparatus (method) of the embodiment described above, it is determined in real time whether a plurality of different areas are included in each area for each pixel to be processed in units of bands or pages. Select the color conversion table according to the result, perform color conversion processing, and select the threshold matrix to perform gradation processing, thereby requiring an attribute memory to store attributes for each pixel of the image band and page Instead, only the rectangular area indicating the character and graphics area has only the BIT indicating whether the pixel in the area is the target of the attribute, so the memory capacity is reduced. In addition, since color conversion processing and gradation processing for each photographic image and graphics image can be switched, the color reproducibility is excellent, and each pixel of the character is also attributed as a character in the character inside the photographic image. Therefore, color reproducibility is improved.
ところで、これまで説明してきた画像処理方法(動作)を、プログラム化し、コンピュータ読み取り可能な記録媒体に記録し、コンピュータ上で実行することもできる。また、画像処理方法の一部をネットワーク上に有し、通信回線を通して実現することもできる。 By the way, the image processing method (operation) described so far can be programmed, recorded on a computer-readable recording medium, and executed on the computer. Further, a part of the image processing method can be provided on a network and realized through a communication line.
すなわち、この実施の形態で説明した画像処理方法は、図41に示すように、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータ(CPU30)で実行することにより実現される。このプログラムは、キーボード35の操作などにより、メモリ31、ハードディスク34、フレキシブルディスク37、CD−ROM(Compact−Disc Read Only Memory)36、MO(Magneto Optical)、DVD(Digital Versatile Disc)などのコンピュータで読み取り可能な記録媒体に記録され、コンピュータ(CPU30)によって記録媒体から読み出し、必要に応じて表示装置33に表示することによって実行される。また、必要に応じてこの画像処理方法のデータを通信装置32から外部装置に送受信することも可能である。
That is, the image processing method described in this embodiment is realized by executing a program prepared in advance on a computer (CPU 30) such as a personal computer or a workstation as shown in FIG. This program is operated by a computer such as a
また、このプログラムは、図42に示すように、上記記録媒体を介して、インターネット30などのネットワークによってパーソナルコンピュータなどの装置41〜43に配布することができる。
Further, as shown in FIG. 42, this program can be distributed to
すなわち、このプログラムは、たとえばコンピュータに内蔵されている記録媒体としてのハードディスクに、あらかじめインストールした状態で提供することができる。プログラムは記録媒体に一時的あるいは永続的に格納し、コンピュータにユニットとして組み込んだり、あるいは着脱式の記録媒体として利用することで、パッケージソフトウェアとして提供することができる。 That is, this program can be provided in a state of being installed in advance on a hard disk as a recording medium built in the computer, for example. The program can be temporarily or permanently stored in a recording medium, and can be provided as packaged software by being incorporated in a computer as a unit or being used as a removable recording medium.
記録媒体としては、たとえば、フレキシブルディスク、CD−ROM、MOディスク、DVD、磁気ディスク、半導体メモリなどが利用できる。 As the recording medium, for example, a flexible disk, a CD-ROM, an MO disk, a DVD, a magnetic disk, a semiconductor memory, and the like can be used.
プログラムは、ダウンロードサイトから、LAN(Local Area Network)やインターネットといったネットワークを介して、有線または無線でコンピュータに転送し、そのコンピュータにおいて、内蔵するハードディスクなどの記憶装置にダウンロードさせるようにすることができる。 The program can be transferred from a download site to a computer wired or wirelessly via a network such as a LAN (Local Area Network) or the Internet, and downloaded to a storage device such as a built-in hard disk in the computer. .
以上のように、本発明にかかる画像処理装置および画像処理方法、並びに画像処理方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体は、所定の色空間で表現される画素値を異なる色空間で表現される画素値に変換する画像処理に有用であり、特に、カラープリンタ、カラー複写機などの画像形成装置などの画像処理システムに適している。 As described above, the image processing apparatus and the image processing method according to the present invention, and the computer-readable recording medium recording the program for causing the computer to execute the image processing method have different pixel values expressed in a predetermined color space. This is useful for image processing that converts pixel values expressed in a color space, and is particularly suitable for image processing systems such as image forming apparatuses such as color printers and color copying machines.
100 カラープリンタ
101 CPU
103 メモリコントローラ
104 メインメモリ
104a 多値バンドメモリ領域
104b FLAGBITメモリ領域
110 画像処理装置
111 符号化装置
112 復号化処理装置
113 エンジンコントローラ
114 プリンタエンジン
128 色変換装置
129 諧調処理装置
132 画素属性生成装置
135 水平画素カウント装置
136 垂直が素カウント装置
137 方形情報記憶装置
138 領域判定装置
139 FLAGBITアドレス生成装置
150,151,152 方形領域判定処理装置
153 優先順位判定装置
154 画素属性判定装置
184 色変換テーブルメモリ
230 グラフィックス用しきい値テーブル記憶装置
231 写真用しきい値テーブル記憶装置
232 文字用しきい値テーブル記憶装置
233 しきい値マトリックス記憶装置アドレス生成装置
234 MUX(マルチプレクサ)
100
DESCRIPTION OF
Claims (14)
前記画像情報から多値バンドデータを生成する描画手段と、
前記多値バンドデータを記憶する多値バンドデータ記憶手段と、
前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理手段と、
を備えたことを特徴とする画像処理装置。 In an image processing apparatus that inputs image information including photographs, graphics, characters, etc., and executes predetermined image processing on the image information.
Drawing means for generating multi-value band data from the image information;
Multi-value band data storage means for storing the multi-value band data;
Image processing means for determining a plurality of attributes constituting the image information from the multi-value band data stored in the multi-value band data storage means, and performing image processing for each attribute;
An image processing apparatus comprising:
複数の方形領域の属性情報を記憶する方形領域属性情報記憶手段と、
処理中の画素がバンド毎に設定された複数の方形領域に含まれるかを判断する領域判定手段と、
を備えたことを特徴とする請求項2に記載の画像処理装置。 The pixel attribute generation means includes
Square area attribute information storage means for storing attribute information of a plurality of square areas;
Area determination means for determining whether the pixel being processed is included in a plurality of rectangular areas set for each band;
The image processing apparatus according to claim 2, further comprising:
複数の方形領域を示す座標値を記憶する座標記憶手段と、
前記座標記憶手段に記憶された複数の方形領域の数を記憶する有効数記憶手段と、
を備えたことを特徴とする請求項4に記載の画像処理装置。 The rectangular area attribute information storage means includes
Coordinate storage means for storing coordinate values indicating a plurality of rectangular regions;
Effective number storage means for storing the number of a plurality of rectangular regions stored in the coordinate storage means;
The image processing apparatus according to claim 4, further comprising:
前記画像情報から多値バンドデータを生成する描画工程と、
前記多値バンドデータを記憶する多値バンドデータ記憶工程と、
前記多値バンドデータ記憶手段に記憶された多値バンドデータから、前記画像情報を構成する複数の属性を判断し、当該属性毎に画像処理を行なう画像処理工程と、
を含むことを特徴とする画像処理方法。 In an image processing method for inputting image information including photographs, graphics, characters, etc., and executing predetermined image processing on the image information,
A drawing step of generating multi-value band data from the image information;
A multi-value band data storage step for storing the multi-value band data;
An image processing step of determining a plurality of attributes constituting the image information from the multi-value band data stored in the multi-value band data storage means, and performing image processing for each attribute;
An image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004067299A JP2005258650A (en) | 2004-03-10 | 2004-03-10 | Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004067299A JP2005258650A (en) | 2004-03-10 | 2004-03-10 | Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005258650A true JP2005258650A (en) | 2005-09-22 |
Family
ID=35084323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004067299A Pending JP2005258650A (en) | 2004-03-10 | 2004-03-10 | Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005258650A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008023959A (en) * | 2006-07-25 | 2008-02-07 | Ricoh Co Ltd | Image processor, image processing method and program |
WO2014050576A1 (en) * | 2012-09-27 | 2014-04-03 | コニカミノルタ株式会社 | Color conversion device, image forming device, and color conversion method |
-
2004
- 2004-03-10 JP JP2004067299A patent/JP2005258650A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008023959A (en) * | 2006-07-25 | 2008-02-07 | Ricoh Co Ltd | Image processor, image processing method and program |
WO2014050576A1 (en) * | 2012-09-27 | 2014-04-03 | コニカミノルタ株式会社 | Color conversion device, image forming device, and color conversion method |
JPWO2014050576A1 (en) * | 2012-09-27 | 2016-08-22 | コニカミノルタ株式会社 | Color conversion apparatus, image forming apparatus, and color conversion method |
US9672789B2 (en) | 2012-09-27 | 2017-06-06 | Konica Minolta, Inc. | Color conversion device, image forming device, and color conversion method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5369982B2 (en) | Image processing apparatus and image processing method | |
JP4950007B2 (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
JP6639247B2 (en) | Image processing apparatus, image processing method, and program | |
US7009622B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP5264412B2 (en) | Image processing apparatus and image processing method | |
JP4628984B2 (en) | Image processing device | |
JP4568685B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method | |
JP4115294B2 (en) | Image processing apparatus and method | |
JP2005258650A (en) | Image processor and image processing method and computer-readable recording medium for recording program for making computer perform image processing method | |
JP4490783B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method | |
JP5344231B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2004080109A (en) | Apparatus and method for forming image, and image forming program for making computer perform the method | |
JP2009169584A (en) | Image processing apparatus, image processing method and program | |
JP2007072468A (en) | Color image forming apparatus and image forming method | |
JP2009177307A (en) | Image forming apparatus and method for generating thumbnail image | |
JP2008023959A (en) | Image processor, image processing method and program | |
JP5603613B2 (en) | Image processing apparatus and image processing method | |
JP7339774B2 (en) | IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
JP2004236042A (en) | Image processor and image processing method | |
JP5201040B2 (en) | Image processing apparatus, image processing method, and program | |
JP2005094126A (en) | Image processing apparatus, image processing method, and image processing program executable by computer | |
JP2005262624A (en) | Image processing apparatus, image processing method, and computer readable recording medium having program for making computer execute image processing method recorded therein | |
JP4450651B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method | |
JP5004735B2 (en) | Image forming apparatus, image forming apparatus control method, and image forming apparatus control program | |
JP2007088968A (en) | Output system |