JPWO2009072601A1 - Method and apparatus for generating compressed image data - Google Patents
Method and apparatus for generating compressed image data Download PDFInfo
- Publication number
- JPWO2009072601A1 JPWO2009072601A1 JP2009544733A JP2009544733A JPWO2009072601A1 JP WO2009072601 A1 JPWO2009072601 A1 JP WO2009072601A1 JP 2009544733 A JP2009544733 A JP 2009544733A JP 2009544733 A JP2009544733 A JP 2009544733A JP WO2009072601 A1 JPWO2009072601 A1 JP WO2009072601A1
- Authority
- JP
- Japan
- Prior art keywords
- image data
- color
- halftone dot
- dot information
- generation
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
- H04N1/4105—Bandwidth or redundancy reduction for halftone screened pictures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/405—Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
- H04N1/411—Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
圧縮データ(39)を出力するシステム(20)は、網点情報(32)に基づきスクリーン処理された画像データ(31)を生成し、画像データ(31)およびその生成に使用した網点情報(32)を出力するプリンタドライバ(21)と、画像データ(31)および生成に使用した網点情報(32)を取得し画像データ(31)を、予測符号化を含むJBIG方式により圧縮する圧縮モジュール(22)とを含む。圧縮モジュール(22)は、予測符号化において、生成に使用した網点情報(32)に基づき参照画素を決定する。The system (20) that outputs the compressed data (39) generates image data (31) screen-processed based on the halftone dot information (32), and the image data (31) and the halftone dot information ( 32) and a compression module that acquires image data (31) and halftone dot information (32) used for generation, and compresses the image data (31) by the JBIG method including predictive coding (22). The compression module (22) determines a reference pixel based on the halftone dot information (32) used for generation in predictive coding.
Description
本発明は、予測符号化を含む処理により、圧縮された画像データを生成するための方法および装置に関するものである。 The present invention relates to a method and apparatus for generating compressed image data by processing including predictive coding.
日本国特開2007−134979号公報には、マルコフモデル符号化法の原理を用いて圧縮を行うJBIG(Joint Bi-level Image coding experts Group)において、符号化の対象となる画像データの処理に先立ち、当該画像の特性を判断して、相関が強い画素を判定し、その判定した情報を元に参照範囲を決定し当該画像の圧縮を行うことが記載されている。この方法によって圧縮率を高くすることができる。具体的には、着目画素(i、j)に対して処理済みのデータの中の参照候補画素(i−k、j−m)との差分値を求め、複数の画素に対して差分値の和から参照候補画素の中で着目画素に一致する回数が多い画素を判断し、画像データを圧縮することが記載されている。 Japanese Patent Application Laid-Open Publication No. 2007-13479 discloses a JBIG (Joint Bi-level Image Coding Expert Group) that performs compression using the principle of Markov model coding prior to processing of image data to be encoded. In addition, it is described that the characteristics of the image are determined, pixels having strong correlation are determined, a reference range is determined based on the determined information, and the image is compressed. The compression rate can be increased by this method. Specifically, the difference value between the target pixel (i, j) and the reference candidate pixel (i−k, j−m) in the processed data is obtained, and the difference value is calculated for a plurality of pixels. It is described that, from the sum, a pixel having a large number of matches with the target pixel is determined from the reference candidate pixels, and the image data is compressed.
日本国特開2006−324714号公報には、網点画像の画質の劣化を防ぎ、高圧縮率で圧縮できる画像符号化装置を提供することが記載されている。そのために、ラスタ生成部が、入力画像データを色成分画像に変換し、代表シンボル生成部が、入力された色成分画像に含まれる網点パターンをシンボルとして抽出し、抽出されたシンボルを例えばベクトル量子化によりクラスタリングして、代表シンボルを生成する。シンボル辞書作成部は、生成された代表シンボルをシンボル辞書に登録し、代表シンボルそれぞれを識別するインデクスを付与してシンボル辞書を作成する。シンボル位置生成部は、シンボル辞書を用いて、代表シンボルに対応するインデクスと、この網点パターンが現れる位置とを対応づける。符号化部は、生成されたシンボル・位置対応データを、JBIG2に規定されるテキスト領域符号化により符号化して符号データを生成する。 Japanese Patent Application Laid-Open No. 2006-324714 describes that an image encoding device capable of preventing deterioration of the image quality of a halftone image and compressing at a high compression rate is described. For this purpose, the raster generation unit converts the input image data into a color component image, the representative symbol generation unit extracts a halftone dot pattern included in the input color component image as a symbol, and the extracted symbol is a vector, for example. Clustering is performed by quantization to generate representative symbols. The symbol dictionary creating unit registers the generated representative symbol in the symbol dictionary, and creates a symbol dictionary by adding an index for identifying each representative symbol. The symbol position generation unit uses the symbol dictionary to associate the index corresponding to the representative symbol with the position where the halftone dot pattern appears. The encoding unit encodes the generated symbol / position correspondence data by text region encoding specified in JBIG2 to generate code data.
網点(ハーフトーン)は、小さな点のパターン(網点パターン、ドットパターン)を用い、2値表示によりグレースケール(多階調)の画像を表示するための技術の1つである。網点パターンは、カラー印刷においても使用される。カラー印刷では、限定された色数のインクを使うことが多い。例えば、よく使われるのは、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)という色のセット(CMYK)である。色網点では、これらの各色のインクについて網点パターンを生成する。そして、それらパターンを重ね合わせることで、各色の割合に応じた色調が(人間の眼から見て)表現される。印刷技術によっては、2値出力だけでなく、多段階の出力が可能なものもある。つまり、印刷機(プリンタ)によってはインクやトナーを中間的な強さで置くことができる。しかしながら、このような機能は段階数に制限がある。 A halftone dot is one of techniques for displaying a gray scale (multi-tone) image by binary display using a small dot pattern (halftone dot pattern, dot pattern). A halftone dot pattern is also used in color printing. Color printing often uses a limited number of inks. For example, a color set (CMYK) of cyan (C), magenta (M), yellow (Y), and black (K) is often used. For color halftone dots, a halftone dot pattern is generated for each of these color inks. Then, by superimposing these patterns, a color tone corresponding to the ratio of each color is expressed (as viewed from the human eye). Some printing technologies are capable of multi-level output as well as binary output. That is, depending on the printing machine (printer), ink or toner can be placed at an intermediate strength. However, such functions have a limited number of stages.
網点スクリーン(ハーフトーンスクリーン)は、典型的には、格子状などの所定のパターンで配置されたドット(網点)により構成される。網点スクリーンの解像度はスクリーン線数(Lpi、スクリーンルーリング)で表される。これは1インチ当たりのドットで描かれる線の数であり、同時にスクリーンの角度が添えられる。色の異なるスクリーンを重ねたとき、境界が過度に強調されたり、モアレが生じたりといった好ましくない視覚効果が生じることがある。これらの問題は、重ね合わせるスクリーンを互いに回転させることで解消できることがある。カラー印刷では、モアレを目立たせないよう、各色の網点スクリーンのスクリーン角度の組み合わせが重要となる。 A halftone screen (halftone screen) is typically composed of dots (halftone dots) arranged in a predetermined pattern such as a lattice pattern. The resolution of a halftone screen is represented by the number of screen lines (Lpi, screen ruling). This is the number of lines drawn in dots per inch, accompanied by the screen angle. When screens of different colors are superimposed, undesirable visual effects such as excessive emphasis on borders and moire may occur. These problems may be solved by rotating the overlapping screens with each other. In color printing, the combination of screen angles of halftone screens of each color is important so that moire is not noticeable.
プリンタドライバは、パーソナルコンピュータなどにインストールされるアプリケーションプログラムの1つである。典型的なプリンタドライバは、他のアプリケーションで作成された白黒あるいはカラー画像をプリンタで出力するための画像データをビットマップとして生成する。プリンタドライバは、各色のビットマップを生成するが、その際、網点スクリーン(網点パターン)を用いて多階調を表現する場合は、境界が過度に強調されたり、モアレが生じたりすることがないように、各色のビットマップをそれぞれ異なる網点情報にしたがって生成する。 The printer driver is one of application programs installed in a personal computer or the like. A typical printer driver generates, as a bitmap, image data for outputting a monochrome or color image created by another application using a printer. The printer driver generates a bitmap for each color. At that time, if multi-tone is expressed using a halftone screen (halftone pattern), the boundary may be excessively emphasized or moire may occur. In order to eliminate the problem, the bitmaps of the respective colors are generated according to the different halftone dot information.
近年、デジタルカメラなどの撮像デバイスの高解像度化などの影響により画像データ量は肥大化しており、高い圧縮性能を備えた符号化処理が要望されている。JBIGなどの予測符号化を含む圧縮処理において、圧縮率を向上するために、相関の高い画素を参照画素として選択することが有効である。しかしながら、そのような相関の高い画素を抽出するための前処理が必要であり、より相関の高い画素を抽出するためには前処理に時間を要する。したがって、圧縮性能の向上と、処理速度とがトレードオフの関係になっている。このため、高圧縮率で処理速度の高い圧縮処理が求められている。 In recent years, the amount of image data has increased due to the effect of higher resolution of imaging devices such as digital cameras, and there is a demand for encoding processing with high compression performance. In compression processing including predictive coding such as JBIG, it is effective to select a highly correlated pixel as a reference pixel in order to improve the compression rate. However, preprocessing for extracting such highly correlated pixels is necessary, and it takes time for preprocessing to extract pixels with higher correlation. Therefore, there is a trade-off between improvement in compression performance and processing speed. For this reason, a compression process with a high compression rate and a high processing speed is required.
本発明の一態様は、網点情報に基づきスクリーン処理された画像データを生成し、その画像データと、その画像データの生成に使用した網点情報とを出力する画像データ生成モジュールを有するシステムである。このシステムは、さらに、画像データ生成モジュールから画像データおよび生成に使用した網点情報を取得し、画像データを、予測符号化を含む符号化処理により圧縮する圧縮モジュールを有する。圧縮モジュールは、予測符号化において、画像データの生成に使用した網点情報に基づき参照画素を決定する。 One aspect of the present invention is a system having an image data generation module that generates screen-processed image data based on halftone dot information, and outputs the image data and the halftone dot information used to generate the image data. is there. The system further includes a compression module that acquires image data and halftone dot information used for generation from the image data generation module, and compresses the image data by an encoding process including predictive encoding. In the predictive coding, the compression module determines a reference pixel based on halftone dot information used for generating image data.
画像データ生成モジュールは、予め設定された、または、種々の条件により選択された所定の網点情報に基づき画像データを生成する。したがって、画像データ生成モジュールにより生成された画像データは、その画像データの生成に使用した網点情報に基づいた規則で配置された相関関係の高い画素を含む。圧縮モジュールは、予測符号化において、画像データ生成モジュールで画像データの生成に使用した網点情報に基づき参照画素を決定することにより、高い圧縮率で画像データを符号化できる。また、画像データの生成に使用した網点情報を得るためには、画像データを解析するような前処理は不要である。したがって、このシステムにより、高圧縮率で処理速度の高い圧縮処理を提供できる。 The image data generation module generates image data based on predetermined halftone dot information set in advance or selected according to various conditions. Therefore, the image data generated by the image data generation module includes highly correlated pixels arranged according to a rule based on halftone dot information used for generating the image data. The compression module can encode the image data at a high compression rate by determining the reference pixel based on the halftone dot information used for the generation of the image data by the image data generation module in the predictive encoding. Further, in order to obtain halftone dot information used for generating image data, preprocessing such as analysis of image data is unnecessary. Therefore, this system can provide a compression process with a high compression rate and a high processing speed.
画像データ生成モジュールが、カラー画像を出力するための画像データを生成する場合、画像データは、色毎の2値画像データを含み、画像データの生成に使用した網点情報は色毎の2値画像データの生成に使用した色毎の網点情報を含む。圧縮モジュールは、予測符号化において、生成に使用した色毎の網点情報に基づき参照画素を決定し、色毎の2値画像データを符号化することができる。 When the image data generation module generates image data for outputting a color image, the image data includes binary image data for each color, and the halftone dot information used for generating the image data is binary for each color. Contains halftone dot information for each color used to generate image data. In the predictive encoding, the compression module can determine reference pixels based on halftone dot information for each color used for generation, and can encode binary image data for each color.
カラー画像を出力するための画像データが、各色の階調毎の2値画像データを含む場合は、圧縮モジュールは、予測符号化において、生成に使用した色毎の網点情報に基づき参照画素を決定し、各色の階調毎の2値画像データを符号化することができる。 When the image data for outputting a color image includes binary image data for each gradation of each color, the compression module calculates a reference pixel based on the dot information for each color used for generation in predictive coding. The binary image data for each gradation of each color can be encoded.
さらに、生成に使用した網点情報が、各色の階調毎の2値画像データの生成に使用した各色の階調毎の網点情報を含む場合は、圧縮モジュールは、予測符号化において、生成に使用した各色の階調毎の網点情報に基づき参照画素を決定し、各色の階調毎の2値画像データを符号化することができる。 Further, when the halftone dot information used for generation includes the halftone dot information for each color gradation used for generating the binary image data for each gradation of each color, the compression module generates the halftone dot information in the prediction encoding. The reference pixel can be determined based on the halftone dot information for each color gradation used in the above, and binary image data for each color gradation can be encoded.
印刷機およびプリンタにおいて、インクやトナーを中間的な強さで置くことにより、さらに精度の高い、高解像度で多階調の画像を出力できるようにしているものがある。しかしながら、このような機能は段階数に制限がある。従って、高品質な画像の印刷には、各色の階調数分のビットプレーンを網点情報に基づいて生成することが要求される。そのような画像データは、情報量が膨大であり高い圧縮率で圧縮できることが望ましい。しかしながら、そのような処理が施された画像データを、再び、ビットプレーンに分解し、それぞれのビットプレーンにおいて網点を抽出することは非効率的である。このシステムにおいては、画像データの生成に使用した各色の網点情報または各色の階調毎の網点情報を、画像データ生成モジュールから取得することにより、網点情報を抽出する処理を省略できる。さらに、各色の階調毎の画像データをビットプレーンの状態で、画像データ生成モジュールから取得することにより、各色の階調毎の画像データを抽出する処理も省略できる。 In some printing presses and printers, ink and toner are placed at an intermediate strength, so that an image with higher accuracy and higher resolution can be output. However, such functions have a limited number of stages. Therefore, in order to print a high-quality image, it is required to generate bit planes corresponding to the number of gradations of each color based on halftone dot information. It is desirable that such image data has a huge amount of information and can be compressed at a high compression rate. However, it is inefficient to decompose the image data subjected to such processing into bit planes again and extract halftone dots in the respective bit planes. In this system, the processing for extracting halftone dot information can be omitted by obtaining the halftone dot information for each color used for generating image data or the halftone dot information for each gradation of each color from the image data generation module. Furthermore, by acquiring image data for each gradation of each color from the image data generation module in a bit plane state, the process of extracting image data for each gradation of each color can be omitted.
本発明の他の態様は、圧縮された画像データを生成する方法である。この方法は、以下のステップを含む。
1.網点情報に基づきスクリーン処理された画像データを生成し、画像データと、画像データの生成に使用した網点情報とを出力すること。
2.画像データおよびその生成に使用した網点情報を取得し、画像データを、予測符号化を含む符号化処理により圧縮すること。ただし、予測符号化においては、生成に使用した網点情報に基づき参照画素を決定し、圧縮する。Another aspect of the present invention is a method for generating compressed image data. The method includes the following steps.
1. Generating screen-processed image data based on halftone dot information, and outputting the image data and the halftone dot information used to generate the image data;
2. Obtaining image data and halftone dot information used to generate the image data, and compressing the image data by an encoding process including predictive encoding. However, in predictive coding, a reference pixel is determined based on halftone dot information used for generation and compressed.
出力するステップがカラー画像を出力するための画像データを生成して出力するステップを含む場合は、画像データは、色毎の2値画像データを含み、生成に使用した網点情報は色毎の2値画像データの生成に使用した色毎の網点情報を含む。圧縮するステップでは、予測符号化において、生成に使用した色毎の網点情報に基づき参照画素を決定し、色毎の2値画像データを符号化できる。 When the output step includes the step of generating and outputting image data for outputting a color image, the image data includes binary image data for each color, and the halftone dot information used for generation is for each color. Includes halftone dot information for each color used to generate binary image data. In the compression step, in predictive encoding, reference pixels can be determined based on halftone dot information for each color used for generation, and binary image data for each color can be encoded.
画像データが、各色の階調毎の2値画像データを含む場合は、圧縮するステップの予測符号化においては、画像データの生成に使用した色毎の網点情報に基づき参照画素を決定し、各色の階調毎の2値画像データを符号化することができる。 When the image data includes binary image data for each color gradation, in the predictive encoding of the compressing step, the reference pixel is determined based on the halftone dot information for each color used to generate the image data, Binary image data for each gradation of each color can be encoded.
さらに、網点情報が、各色の階調毎の2値画像データの生成に使用した各色の階調毎の網点情報を含む場合は、圧縮するステップでは、予測符号化において、生成に使用した各色の階調毎の網点情報に基づき参照画素を決定し、各色の階調毎の2値画像データを符号化することができる。 Further, when the halftone dot information includes the halftone dot information for each color gradation used for generating the binary image data for each color gradation, in the compressing step, it is used for the generation in the predictive encoding. A reference pixel can be determined based on halftone dot information for each gradation of each color, and binary image data for each gradation of each color can be encoded.
本発明のさらに異なる他の態様は、コンピュータにより、圧縮された画像データを生成することを含むプログラムである。このプログラムは、網点情報に基づきスクリーン処理された画像データを生成し、画像データと、画像データの生成に使用した網点情報とを出力することコンピュータに実行させるための命令を含む。プログラム(プログラム製品)は、適当な媒体、例えばCD−ROMのような記録媒体、コンピュータネットワークを伝搬する情報媒体に記録して提供することができる。プログラムは、さらに、画像データおよびその画像データの生成に使用した網点情報を取得し、画像データを予測符号化を含む符号化処理により圧縮する際に、予測符号化において、生成に使用した網点情報に基づき参照画素を決定し、圧縮することを、コンピュータに実行させるための命令を含むことが望ましい。 Yet another embodiment of the present invention is a program including generating compressed image data by a computer. The program includes instructions for causing the computer to generate image data screen-processed based on the halftone dot information, and output the image data and the halftone dot information used to generate the image data. The program (program product) can be provided by being recorded on an appropriate medium, for example, a recording medium such as a CD-ROM, or an information medium propagating through a computer network. The program further acquires image data and halftone dot information used for generating the image data, and compresses the image data used for generation in predictive encoding when the image data is compressed by encoding processing including predictive encoding. It is desirable to include instructions for causing the computer to determine and compress the reference pixel based on the point information.
画像データを生成するステップ(処理)と、圧縮するステップ(処理)とを同じプログラムで提供しても、異なるプログラムで提供してもよい。本発明は、コンピュータにより、画像データを生成することを含むプログラムであって、網点情報に基づきスクリーン処理された画像データを生成し、画像データと、生成に使用した網点情報とを出力し、画像データを、予測符号化を含む符号化処理により圧縮する際に、生成に使用した網点情報に基づき参照画素を決定し、圧縮することを可能とすることを、コンピュータに実行させるための命令を含むプログラムを含む。 The step (process) for generating image data and the step (process) for compression may be provided by the same program or different programs. The present invention is a program including generating image data by a computer, generating image data screen-processed based on halftone dot information, and outputting the image data and halftone dot information used for generation. When the image data is compressed by an encoding process including predictive encoding, a reference pixel is determined based on the halftone dot information used for generation and can be compressed. Includes programs that contain instructions.
図1(a)および(b)はマルコフモデル符号化法の原理を用いて圧縮を行うJBIGの参照画素領域(テンプレート領域)1の例を示している。JBIGでは、着目画素2に対して、あらかじめ相関が強い画素がわかっている場合、テンプレート領域(テンプレート)1のAT(Adaptive Template)と呼ばれる可動な画素(参照画素)3を、その相関が強い画素位置に配置することにより、圧縮率を高くすることができる。
FIGS. 1A and 1B show an example of a reference pixel region (template region) 1 of JBIG that performs compression using the principle of the Markov model encoding method. In JBIG, when a pixel having a strong correlation with the
図2に、画像を印刷するためのシステムの一例を示している。この印刷システム10は、画像データを生成するパーソナルコンピュータ(PC)11と、PC11から送られてきた画像データを印刷するプリンタ12とを有する。PC11は、CPU、メモリ、例えばHDDなどのストレージ等のハードウェア資源を含み、ストレージなどに格納されたプログラムをロードしてCPUが実行することにより所定の機能を実現する。PC11にインストールされ、PC11で実現される機能の典型的なものは、汎用的な実行環境を提供するオペレーティングシステム(OS)13と、OS13の上で動作するアプリケーション14とである。アプリケーション14の典型的なものは、ワードプロセッサ、表計算ソフト、画像処理ソフトである。
FIG. 2 shows an example of a system for printing an image. The
PC11には、さらに、アプリケーション14により生成された、あるいは指示された画像を、プリンタ12により出力するためのプリンタ制御システム20がインストールされている。これらのプログラム(ソフトウェア)は、CD−ROM19などの適当な記録媒体により提供され、PC11のCD−ROMプレイヤーなどのハードウェアモジュールを介してHDDなどにインストールされる。
The
本例のプリンタ制御システム20は、圧縮画像生成システムとしての機能を有し、以下では圧縮画像生成システムとして参照する。この圧縮画像生成システム20は、指定された画像をプリンタ12により印刷するための画像データを生成するプリンタドライバ21と、プリンタドライバ21により生成された画像データを圧縮し、圧縮された画像データを生成する圧縮モジュール22とを含む。プリンタドライバ21と、圧縮モジュール22とを含めた圧縮画像生成システム20をプリンタドライバと呼んでも良い。圧縮された画像データ39は、LAN(イーサネット(登録商標))、USBなどの適当なインターフェイス15aを介してプリンタ12に提供される。
The
プリンタ12は、プリンタコントローラ16と、プリンタエンジン17とを含む。プリンタエンジン17は、インクジェット方式、レーザ方式など公知の印刷方法により紙面などの記録媒体に画像を印刷する機構である。プリンタコントローラ16は、インターフェイス15bを介して受信した画像データ39に基づきプリンタエンジン17を制御し、所望の画像を印刷するための制御ユニットである。プリンタコントローラ16は、伸長(伸張)モジュール18を含み、PC11から送信された、圧縮された画像データ39を伸長する。
The
図3に、圧縮画像生成システム20により、圧縮された画像データ(圧縮データ)39を生成する一例を示している。また、図4に、圧縮画像生成システム20における処理の概要をフローチャートにより示している。このケースでは、アプリケーション14に指定された画像の原画像データはグレートーン(モノクロ多階調)のデータである。プリンタドライバ21は、ステップ41において、原画像データを取得し、ステップ42において、モノクロ2値の画像データ31に変換する。その際、プリンタドライバ21は、スクリーン処理方式(網点処理方式)にて、所定の網点の情報(網点パターン)にしたがってモノクロ2値の画像データ31を生成する。
FIG. 3 shows an example in which compressed image data (compressed data) 39 is generated by the compressed
ステップ43において、プリンタドライバ21は、生成された画像データ31と、その画像データ31の生成に使用した網点の情報(網点情報)32を圧縮モジュール22に出力する。網点情報32には、例えば、スクリーン線数Lpiおよびスクリーン角Lθの情報が含まれる。ステップ44において、圧縮モジュール22は、画像データ31および網点情報32を入力とし、上述した予測符号化を含むJBIG1またはJBIG2の規格にしたがって画像データ31を符号化する。ステップ45において、圧縮モジュール22は、生成された圧縮データ39を出力する。
In
圧縮モジュール22は、JBIG1またはJBIG2の規格に基づき、マルコフモデル符号化法により画像データ31を符号化し、圧縮データ39を生成する。その際、画像データ31とともにプリンタドライバ21から得られた(入力された)、生成に使用した網点情報32に基づき、図1に示したテンプレート1の参照画素3の位置を設定する。図5に示すように、網点情報に基づきスクリーン処理された画像データ31においては、網点パターンが、スクリーン線数Lpiおよびスクリーン角Lθにより繰り返される。したがって、典型的には、テンプレート1の着目画素2に対してスクリーン線数Lpiおよびスクリーン角Lθにより規定される、処理済みの座標の画素が、参照画素3としてセットされる。スクリーン処理方式(網点処理方式)により生成された画像データ31においては、網点パターンと同じピッチおよび角度により規定される位置の画素同士の相関が高い。したがって、画像データ31の生成に使用した網点情報32を用いることにより圧縮モジュール22は、高い圧縮性能を発揮できる。
The
この圧縮画像生成システム20において、圧縮するための網点情報32は、圧縮対象の画像データ31を生成するプリンタドライバ21から出力させる。したがって、圧縮モジュール22において、圧縮データ39を生成するために、画像データ31を解析して網点情報32を抽出する必要がない。さらに、画像データ31の生成元から、データを解析して抽出するよりも、高精度の網点情報32を得ることができる。したがって、圧縮画像生成システム20において、より高速で、より高圧縮効率の符号化処理を実行することができ、データ量の大きな画像を短時間でプリンタ12に送信することが可能となる。
In the compressed
プリンタドライバ21と、圧縮モジュール22とを1つのプログラムモジュールとして提供することが可能であり、その場合、生成に使用した網点情報32は、プリンタドライバ21と圧縮モジュール22との間で適当な変数として伝達できる。また、プリンタドライバ21と、圧縮モジュール22とを異なるプログラムモジュールとして提供することが可能である。その場合は、OS13によりサポートされる適当なAPIコマンドを用いて、モジュール間で生成に使用した網点情報32を受け渡すことが可能である。プリンタドライバ21は、画像データ31とともに、圧縮モジュール22からAPIにより要求があれば、生成に使用した網点情報32を出力する。あるいは、プリンタドライバ21は、ディフォルトとして、画像データ31と、その生成に使用した網点情報32を出力しても良く、この例の圧縮モジュール22でない他のモジュールは、画像データ31を、網点情報32を用いずに圧縮しても良い。
The
図6に、圧縮画像生成システム20により、圧縮された画像データ(圧縮データ)39を生成する他の例を示している。このケースでは、アプリケーション14に指定された原画像(ターゲット画像、出力対象の画像)の原画像データはカラー画像(カラー多階調)のデータである。プリンタドライバ21は、図4に示すフローチャートのステップ41において、原画像データを取得し、ステップ42において、カラー2値の画像データ33に変換する。その際、プリンタドライバ21は、スクリーン処理(網点処理)方式にて、所定の網点の情報(網点パターン)を使用してカラー2値の画像データ33を生成する。このカラー2値の画像データ33は、色毎、例えば、CMYKの各色の2値画像データを含む。さらに、プリンタドライバ21は、カラー2値の画像データ33の生成に使用した網点の情報(網点情報)34を出力する。この網点情報34は、色毎の2値画像データを生成するための色毎の網点情報を含む。
FIG. 6 shows another example in which compressed image data (compressed data) 39 is generated by the compressed
さらに、この圧縮画像生成システム20は、プリンタドライバ21と、色毎の2値画像データ35を出力する展開モジュール24とを含む、画像データ生成モジュール25を有する。展開モジュール24は、プリンタドライバ21から出力された、CMYK若しくはRGBのカラー2値画像データ33を、CMYK若しくはRGBの色毎、すなわち、CMYKであれば、C、M、YおよびKの各色の2値画像データ(ビットマップデータ)35に展開する。
The compressed
ステップ43において、画像データ生成モジュール25は、圧縮モジュール22に対して、色毎の2値画像データを含む画像データ35と、生成に使用した色毎の網点情報34とを出力する。プリンタドライバ21が、CMYK若しくはRGBのカラー2値画像データ33の代わりに、または、カラー2値画像データ33とともに、各色の2値画像データ(ビットマップデータ)35を出力する場合は、展開モジュール24は不要である。生成に使用した色毎の網点情報34は、例えば、色毎のビットマップデータ35を生成するための色毎のスクリーン線数Lpiおよびスクリーン角Lθの情報が含まれる。
In
ステップ44において、圧縮モジュール22は、色毎の2値画像データ35および、生成に使用した色毎の網点情報34を入力とし、上述した予測符号化を含むJBIG1またはJBIG2の規格にしたがって圧縮データ39を生成する。典型的には、色毎の2値画像データ35を予測符号化する際に、テンプレート1の着目画素2に対して、色毎の網点情報34に含まれるスクリーン線数Lpiおよびスクリーン角Lθにより、着目画素2と相関の高い参照画素3が設定される。ステップ45において、圧縮モジュール22は、生成された圧縮データ39を出力する。
In
この圧縮画像生成システム20においては、カラー2値画像データ33を圧縮するための網点情報34は、圧縮対象の各色の2値画像データ35を生成するプリンタドライバ21から出力させる。したがって、圧縮モジュール22において、圧縮データ39を生成するために、カラー画像データ33を解析して網点情報を抽出する必要がない。さらに、画像データ33の生成元から、データを解析して抽出する網点情報よりも、より高精度の網点情報34を得ることができる。したがって、圧縮画像生成システム20において、より高速で、より高圧縮効率の符号化処理を実行することができ、データ量の大きなカラー画像を短時間でプリンタ12に送信することが可能となる。
In this compressed
図7に、圧縮画像生成システム20により、圧縮された画像データ(圧縮データ)39を生成する、さらに異なる他の例を示している。このケースでは、アプリケーション14に指定された出力対象の画像の原画像データはカラー画像(カラー多階調)のデータである。プリンタドライバ21は、図4に示したフローチャートのステップ41において、原画像データを取得し、ステップ42において、カラーの多値画像データ36に変換する。その際、プリンタドライバ21は、網点処理方式にて、所定の網点の情報(網点パターン)にしたがってカラー多値の画像データ36を生成する。このカラー多値の画像データ36は、色毎、例えば、CMYKの各色の、階調数分の2値画像データ(各色の階調毎の2値画像データ)を含む。さらに、プリンタドライバ21は、カラー多値の画像データ36の生成に使用した網点の情報(網点情報)37を出力する。この網点情報37は、色毎の網点情報を含む。
FIG. 7 shows still another example in which compressed image data (compressed data) 39 is generated by the compressed
さらに、この圧縮画像生成システム20は、画像データ生成モジュール25を有し、この画像データ生成モジュール25は、プリンタドライバ21と、各色の階調毎の2値画像データ38を出力する展開モジュール26とを含む。展開モジュール26は、プリンタドライバ21から出力された、CMYK若しくはRGBのカラー多値画像データ36を、CMYK若しくはRGBの色毎、すなわち、CMYKであれば、C、M、YおよびKの各色の2値画像データ(ビットマップデータ)に展開し、さらに、各色を階調数分のビットプレーンに分解し、色数×階調数分の2値データを生成する。
The compressed
ステップ43において、画像データ生成モジュール25は、圧縮モジュール22に対して、各色の階調毎の2値画像データを含む画像データ38と、それらの生成に使用した色毎の網点情報37とを出力する。プリンタドライバ21が、CMYK若しくはRGBのカラー多値画像データ36の代わりに、または、カラー多値画像データ36とともに、各色の各階調の2値画像データ(ビットマップデータ)38を出力する場合は、展開モジュール26は不要である。
In
ステップ44において、圧縮モジュール22は、各色の階調毎の2値画像データ38および、それらのデータ38の生成に使用した色毎の網点情報37を入力とし、上述した予測符号化を含むJBIG1またはJBIG2の規格にしたがって圧縮データ39を生成する。ステップ45において、圧縮モジュール22は、生成された圧縮データ39を出力する。
In
生成に使用した網点情報37は、各色の階調毎の2値画像データを生成するための各色の階調毎の網点情報を含んでも良い。この場合、ステップ43において、画像データ生成モジュール25は、圧縮モジュール22に対して、各色の階調毎の2値画像データを含む画像データ38と、生成に使用した各色の階調毎の網点情報37とを出力する。各色の階調毎の網点情報37は、例えば、各色の階調毎のビットマップデータ38を生成するための各色の階調毎のスクリーン線数Lpiおよびスクリーン角Lθの情報が含まれる。
The halftone dot
ステップ44において、圧縮モジュール22は、各色の階調毎の2値画像データ38および各色の階調毎の網点情報37を入力とし、上述した予測符号化を含むJBIG1またはJBIG2の規格にしたがって圧縮データ39を生成する。典型的には、各色の階調毎の2値画像データ38を予測符号化する際に、テンプレート1の着目画素2に対して、各色の階調毎の網点情報37に含まれるスクリーン線数Lpiおよびスクリーン角Lθにより、着目画素2と相関の高い参照画素3が設定される。ステップ45において、圧縮モジュール22は、生成された圧縮データ39を出力する。
In
この圧縮画像生成システム20においては、カラー多値画像データ36を圧縮するための網点情報37は、圧縮対象の各色の階調毎の2値画像データ38を生成するプリンタドライバ21から出力させる。したがって、圧縮モジュール22において、圧縮データ39を生成するために、カラー画像データ36を解析して網点情報を抽出する必要がない。さらに、画像データ36の生成元から、データを解析して抽出する網点情報よりも、より高精度の網点情報37を得ることができる。したがって、圧縮画像生成システム20において、より高速で、より高圧縮効率の符号化処理を実行することができ、データ量の大きなカラー画像を短時間でプリンタ12に送信することが可能となる。特に、カラー多値画像データ36は、データ量が膨大であり、それに含まれる情報も多岐にわたることになる。したがって、カラー多値画像データ36を圧縮する際に解析し、各色の階調毎の網点情報を抽出する処理には膨大な時間を有し、また、得られる網点情報の精度についても不確実である。この圧縮画像生成システム20は、そのような画像データを短時間に高圧縮効率で圧縮し、圧縮データ39を生成することができる。
In the compressed
なお、上記では、予測符号化処理を含む圧縮または符号化処理としてJBIGを例に説明しているが、JPEG2000などの他の規格に基づく圧縮または符号化処理においても、JBIGと同様にマルコフモデルによる予測符号化を、算術符号化(エントロピー符号化)などと組み合わせた処理が採用されている。本発明は、JBIGに限らず、これらの予測符号化を採用する処理において有効である。また、圧縮された画像データは、印刷に用いられることに限られず、他の画像表示あるいは出力装置に転送されたり、ハードディスクなどの適当なストレージに格納されたりするために利用できる。また、印刷装置は、インクジェット方式などのプリンタに限定されず、他の方式のプリンタ、さらには、スクリーン印刷装置などの業務用の印刷装置であっても良い。 In the above description, JBIG is described as an example of compression or encoding processing including predictive encoding processing. However, in the compression or encoding processing based on other standards such as JPEG2000, the Markov model is used similarly to JBIG. A process in which predictive coding is combined with arithmetic coding (entropy coding) or the like is employed. The present invention is not limited to JBIG, and is effective in processing that employs these predictive encodings. The compressed image data is not limited to being used for printing, but can be used for transferring to another image display or output device, or for storing in an appropriate storage such as a hard disk. Further, the printing apparatus is not limited to an ink jet type printer, but may be another type of printer, or a commercial printing apparatus such as a screen printing apparatus.
Claims (13)
前記画像データ生成モジュールから前記画像データおよび前記生成に使用した網点情報を取得し、前記画像データを、予測符号化を含む符号化処理により圧縮する圧縮モジュールであって、前記予測符号化においては、前記生成に使用した網点情報に基づき参照画素を決定する圧縮モジュールとを有する、システム。An image data generation module that generates screen-processed image data based on halftone dot information, and outputs the image data and the halftone dot information used to generate the image data;
The image data generation module acquires the image data and the halftone dot information used for the generation, and compresses the image data by an encoding process including predictive encoding, in the predictive encoding And a compression module for determining a reference pixel based on halftone dot information used for the generation.
前記圧縮モジュールは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記色毎の2値画像データを符号化する、システム。The image data generation module according to claim 1, wherein the image data generation module generates the image data for outputting a color image, the image data includes binary image data for each color, and the halftone dot information used for the generation is , Including halftone dot information for each color used to generate binary image data for each color,
In the predictive encoding, the compression module determines a reference pixel based on halftone dot information for each color used for the generation, and encodes binary image data for each color.
前記圧縮モジュールは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化する、システム。The image data generation module according to claim 1, wherein the image data generation module generates the image data for outputting a color image, and the image data includes binary image data for each gradation of each color, and the network used for the generation The point information includes halftone dot information for each color used to generate the image data,
In the predictive encoding, the compression module determines a reference pixel based on halftone dot information for each color used for the generation, and encodes binary image data for each gradation of each color.
前記圧縮モジュールは、前記予測符号化において、前記生成に使用した各色の階調毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化する、システム。In Claim 3, the halftone dot information used for the generation includes halftone dot information for each gradation of each color used for generation of binary image data for each gradation of each color,
In the predictive encoding, the compression module determines a reference pixel based on halftone dot information for each gradation of each color used for the generation, and encodes binary image data for each gradation of each color. .
網点情報に基づきスクリーン処理された画像データを生成し、前記画像データと、前記画像データの生成に使用した網点情報とを出力することと、
前記画像データおよび前記生成に使用した網点情報を取得し、前記画像データを、予測符号化を含む符号化処理により圧縮することであって、前記予測符号化においては、前記生成に使用した網点情報に基づき参照画素を決定し、圧縮することとを有する、方法。A method for generating compressed image data, comprising:
Generating screen-processed image data based on halftone dot information, and outputting the image data and the halftone dot information used to generate the image data;
The image data and the halftone dot information used for the generation are acquired, and the image data is compressed by an encoding process including predictive encoding, and the network used for the generation is used in the predictive encoding. Determining and compressing reference pixels based on the point information.
前記圧縮することは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記色毎の2値画像データを符号化することを含む、方法。6. The output according to claim 5, wherein the outputting includes generating and outputting the image data for outputting a color image, and the image data includes binary image data for each color and is used for the generation. The halftone dot information includes halftone dot information for each color used to generate the binary image data for each color,
In the predictive encoding, the compressing includes determining reference pixels based on halftone dot information for each color used for the generation, and encoding the binary image data for each color.
前記圧縮することは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化することを含む、方法。6. The output according to claim 5, wherein the outputting includes generating and outputting the image data for outputting a color image, and the image data includes binary image data for each gradation of each color, The halftone dot information used for generation includes halftone dot information for each color used for generation of the image data,
In the predictive encoding, the compressing includes determining reference pixels based on halftone dot information for each color used for the generation, and encoding binary image data for each gradation of each color. Method.
前記圧縮することは、前記予測符号化において、前記生成に使用した各色の階調毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化する、方法。In Claim 7, the halftone dot information used for the generation includes halftone dot information for each gradation of each color used for generation of binary image data for each gradation of each color,
In the predictive encoding, the compressing determines a reference pixel based on halftone dot information for each gradation of each color used for the generation, and encodes binary image data for each gradation of each color. Method.
前記圧縮することは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記色毎の2値画像データを符号化することを含む、プログラム。11. The output according to claim 10, wherein the outputting includes generating and outputting the image data for outputting a color image, and the image data includes binary image data for each color and is used for the generation. The halftone dot information includes halftone dot information for each color used to generate the binary image data for each color,
In the predictive encoding, the compressing includes determining a reference pixel based on halftone dot information for each color used for the generation, and encoding binary image data for each color.
前記圧縮することは、前記予測符号化において、前記生成に使用した色毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化することを含む、プログラム。11. The output according to claim 10, wherein the outputting includes generating and outputting the image data for outputting a color image, and the image data further includes binary image data for each gradation of each color. The halftone dot information used for the generation includes halftone dot information for each color used for the generation of the image data,
In the predictive encoding, the compressing includes determining reference pixels based on halftone dot information for each color used for the generation, and encoding binary image data for each gradation of each color. program.
前記圧縮することは、前記予測符号化において、前記生成に使用した各色の階調毎の網点情報に基づき参照画素を決定し、前記各色の階調毎の2値画像データを符号化する、プログラム。In Claim 12, the halftone dot information used for generation includes halftone dot information for each gradation of each color used for generation of binary image data for each gradation of each color,
In the predictive encoding, the compressing determines a reference pixel based on halftone dot information for each gradation of each color used for the generation, and encodes binary image data for each gradation of each color. program.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007316595 | 2007-12-07 | ||
JP2007316595 | 2007-12-07 | ||
PCT/JP2008/072149 WO2009072601A1 (en) | 2007-12-07 | 2008-12-05 | Method and device for generating compressed image data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPWO2009072601A1 true JPWO2009072601A1 (en) | 2011-04-28 |
Family
ID=40717779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009544733A Pending JPWO2009072601A1 (en) | 2007-12-07 | 2008-12-05 | Method and apparatus for generating compressed image data |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPWO2009072601A1 (en) |
WO (1) | WO2009072601A1 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59183577A (en) * | 1983-04-01 | 1984-10-18 | Nec Corp | Color picture encoder |
JPS6012865A (en) * | 1983-07-01 | 1985-01-23 | Canon Inc | Highly efficient encoding system of picture data |
-
2008
- 2008-12-05 JP JP2009544733A patent/JPWO2009072601A1/en active Pending
- 2008-12-05 WO PCT/JP2008/072149 patent/WO2009072601A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2009072601A1 (en) | 2009-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5132517B2 (en) | Image processing apparatus and image processing method | |
US7324247B2 (en) | Image processing apparatus, image processing program and storage medium storing the program | |
JP4424404B2 (en) | Compression method, decompression method, and image processing apparatus | |
US8081793B2 (en) | Electronic watermarking method and apparatus for color image data | |
JP4781198B2 (en) | Image processing apparatus and method, computer program, and computer-readable storage medium | |
JP2011193394A (en) | Image processing apparatus, image processing method, and program | |
JP2015154363A (en) | Image processing device, image processing method and image formation device | |
JP2007053749A (en) | Conversion method for converting digital image acquired by scanner, device, and computer program | |
JP2008311792A (en) | Device for encoding image and control method therefor | |
JP2022139239A (en) | Information processing apparatus and program and image processing method | |
KR20080032638A (en) | Image processing apparatus, image processing method and image processing program product | |
JP2006135936A (en) | Printer controller, image forming apparatus and image formation program | |
JP2009296590A (en) | Image processing device and image processing method | |
US8233731B2 (en) | Method and apparatus to encode and decode halftone image | |
JPWO2009072601A1 (en) | Method and apparatus for generating compressed image data | |
JP4465654B2 (en) | Image dictionary creation device, encoding device, encoding method and program thereof | |
JP4857180B2 (en) | Image processing apparatus and image processing method | |
CN107567709A (en) | Compression of images | |
US20040227963A1 (en) | Introducing loss directly on display list data | |
US20240098208A1 (en) | Image processing apparatus, control method therefor, and storage medium storing control program therefor | |
US20100208276A1 (en) | Apparatus, system, method and program for image processing | |
JP4719924B2 (en) | Image processing apparatus and image processing method | |
JP4753007B2 (en) | Image encoding apparatus, image decoding apparatus, and programs thereof | |
JP4058370B2 (en) | Image processing method, image processing apparatus, computer program, and computer-readable storage medium | |
JP4753006B2 (en) | Image encoding apparatus, image decoding apparatus, and programs thereof |