JP2005065147A - Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program - Google Patents

Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program Download PDF

Info

Publication number
JP2005065147A
JP2005065147A JP2003295902A JP2003295902A JP2005065147A JP 2005065147 A JP2005065147 A JP 2005065147A JP 2003295902 A JP2003295902 A JP 2003295902A JP 2003295902 A JP2003295902 A JP 2003295902A JP 2005065147 A JP2005065147 A JP 2005065147A
Authority
JP
Japan
Prior art keywords
data
image processing
processing data
compressed
image
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
Application number
JP2003295902A
Other languages
Japanese (ja)
Inventor
Tadao Tomiyama
忠夫 富山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003295902A priority Critical patent/JP2005065147A/en
Publication of JP2005065147A publication Critical patent/JP2005065147A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To use image processing data with a smaller data size during image processing. <P>SOLUTION: Data are compressed from reference image processing data by predetermined compression processing and employed as image processing data. Header information indicative of whether data are rearranged and compressed according to a predetermined rule is appended at the image processing data. While the compressed image processing data are decompressed by decompression processing corresponding to the compression processing, the decompressed image processing data are rearranged according to a predetermined rule to generate reference image processing data, only if the header information appended at the decompressed image processing data contains information indicative that data are rearranged and compressed. Image data are translated with reference to the generated reference image processing data. By this configuration, predetermined image processing can be performed using image processing data with a smaller data size. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像処理装置、画像処理システム、圧縮画像処理用データ生成装置、画像処理方法、圧縮画像処理用データ生成方法および画像処理プログラムに関する。   The present invention relates to an image processing device, an image processing system, a compressed image processing data generation device, an image processing method, a compressed image processing data generation method, and an image processing program.

従来、この種の画像処理装置は、所定の画像処理用データを参照することによって、多数の画素別とされてRGB等の複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現するCMYK等の別の複数の要素色に対応したデータからなる画像データに変換している。画像処理用データには、色変換前後の画像データの対応関係を規定した色変換テーブル(LUT)、階調データと複数種類のドットの形成量を表すデータとの対応関係を規定したドット振り分けテーブル、等が含まれている。これらのリソースを含む画像処理用データは、プリンタドライバ等に組み込まれて画像処理装置のユーザに供給されている。   Conventionally, this type of image processing apparatus outputs image data composed of gradation data corresponding to a plurality of element colors such as RGB, which are classified by a large number of pixels, by referring to predetermined image processing data. It is converted into image data composed of data corresponding to a plurality of other element colors such as CMYK representing the output image of the apparatus. The image processing data includes a color conversion table (LUT) that defines the correspondence between image data before and after color conversion, and a dot allocation table that defines the correspondence between gradation data and data representing the amount of multiple types of dots formed , Etc. are included. Image processing data including these resources is incorporated in a printer driver or the like and supplied to the user of the image processing apparatus.

また、特許文献1に開示されたように、LUTの格子点データを色成分ごとに並び替えて圧縮したLUTデータを格納しておき、圧縮したLUTデータを伸長し、伸長したLUTデータを同一の格子点データを組とするように並び替え、並び替えたLUTデータに基づく補間演算処理によりRGB入力画像データからCMYK出力画像データを生成する変換処理を行う技術も知られている。
特開2000−22974号公報
Further, as disclosed in Patent Document 1, LUT data obtained by rearranging LUT grid point data for each color component and storing the compressed LUT data is stored, the compressed LUT data is expanded, and the expanded LUT data is the same. A technique is also known in which grid point data is rearranged to form a set, and conversion processing for generating CMYK output image data from RGB input image data is performed by interpolation processing based on the rearranged LUT data.
JP 2000-22974 A

上述した従来の技術では、データを並べ替えて圧縮することによって上記LUTについては圧縮効率を向上させてデータサイズを小さくすることができる。しかし、画像処理装置で用いられる他のリソースについては、データを並べ替えて圧縮すると逆に圧縮効率が低下したり、圧縮処理自体を行っても圧縮されないため解凍圧縮を行うプログラムが無駄になったり圧縮解凍を行う処理時間が発生したりすることがあった。   In the conventional technology described above, the data size can be reduced by improving the compression efficiency of the LUT by rearranging and compressing the data. However, with regard to other resources used in the image processing apparatus, if the data is rearranged and compressed, the compression efficiency is decreased, or the compression processing itself is not compressed, and the program for performing the decompression compression is wasted. Processing time for performing compression / decompression may occur.

本発明は、上記課題にかんがみてなされたもので、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能な画像処理装置、画像処理システム、圧縮画像処理用データ生成装置、画像処理方法、圧縮画像処理用データ生成方法および画像処理プログラムの提供を目的とする。   The present invention has been made in view of the above problems, and an image processing apparatus, an image processing system, and compressed image processing data generation capable of performing predetermined image processing using image processing data having a smaller data size. An object is to provide an apparatus, an image processing method, a compressed image processing data generation method, and an image processing program.

課題を解決するための手段および発明の効果Means for Solving the Problems and Effects of the Invention

上記目的を達成するため、請求項1にかかる発明は、所定の画像処理用データに基づいて画像データを変換する画像処理装置であって、解凍手段と変換手段とを備える構成としてある。
上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされ、ヘッダ情報が付加されている。当該ヘッダ情報は、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表す情報とされている。
In order to achieve the above object, an invention according to claim 1 is an image processing apparatus that converts image data based on predetermined image processing data, and includes a decompression unit and a conversion unit.
The image processing data is data compressed from the reference image processing data by a predetermined compression process, and header information is added. The header information is information indicating whether data is rearranged and compressed according to a predetermined rule.

上記圧縮された画像処理用データは、解凍手段により、上記圧縮処理に対応する解凍処理により解凍される。
圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているとき、解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、参照用の画像処理用データを復元する。このとき、変換手段は、復元された画像処理用データを参照することによって、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する。
一方、圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれていないとき、解凍した画像処理用データをそのまま参照用の画像処理用データとする。このとき、変換手段は、解凍した画像処理用データを参照することによって、画像データを変換する。
The compressed image processing data is decompressed by decompression means corresponding to the compression processing.
When the header information added to the compressed image processing data includes information indicating that the data has been rearranged and compressed, the decompressed image processing data is rearranged according to the predetermined rule. Thus, the image processing data for reference is restored. At this time, the conversion means refers to the restored image processing data, and converts the image data composed of gradation data corresponding to a plurality of element colors into a plurality of pixels, and the output image of the image output device. Conversion into image data composed of data corresponding to a plurality of other element colors to be expressed.
On the other hand, when the header information added to the compressed image processing data does not include the information indicating that the data has been rearranged and compressed, the decompressed image processing data is used as it is for reference image processing data. And At this time, the conversion means converts the image data by referring to the decompressed image processing data.

すなわち、ヘッダ情報を参照することにより圧縮された画像処理用データが並べ替えられて圧縮されたデータであるか否かを判別することができるので、データを並べ替えることによってデータサイズが小さくなる画像処理用データについてのみデータを並べ替えておくことができ、よりデータサイズを小さくさせるように圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。   That is, by referring to the header information, it is possible to determine whether the compressed image processing data is rearranged and compressed data. Therefore, an image whose data size is reduced by rearranging the data. Data can be rearranged only for processing data, and image processing data compressed so as to reduce the data size can be used. Accordingly, predetermined image processing can be performed using image processing data having a smaller data size.

また、請求項2にかかる発明では、上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされたときのみヘッダ情報が付加され、圧縮されていないときにはヘッダ情報が付加されない。付加されるヘッダ情報には、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表す情報が含まれている。
上記画像処理用データにヘッダ情報が付加されているとき、この画像処理用データは圧縮された画像処理用データである。このとき、圧縮された画像処理用データは、解凍手段により、上記圧縮処理に対応する解凍処理により解凍される。圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているとき、解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、参照用の画像処理用データを復元する。圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれていないとき、解凍した画像処理用データをそのまま参照用の画像処理用データとする。
一方、上記画像処理用データにヘッダ情報が付加されていないとき、この画像処理用データは圧縮されていない画像処理用データである。このとき、同画像処理用データをそのまま参照用の画像処理用データとする。
変換手段は、参照用の画像処理用データを参照することによって、画像データを変換する。
In the invention according to claim 2, the image processing data is added with header information only when the data is compressed from the reference image processing data by a predetermined compression process, and when the data is not compressed. Header information is not added. The added header information includes information indicating whether or not the data is rearranged and compressed according to a predetermined rule.
When header information is added to the image processing data, the image processing data is compressed image processing data. At this time, the compressed image processing data is decompressed by decompression means corresponding to the compression processing. When the header information added to the compressed image processing data includes information indicating that the data has been rearranged and compressed, the decompressed image processing data is rearranged according to the predetermined rule. Thus, the image processing data for reference is restored. When the header information added to the compressed image processing data does not include the information indicating that the data has been rearranged and compressed, the decompressed image processing data is used as image processing data for reference as it is. .
On the other hand, when header information is not added to the image processing data, the image processing data is uncompressed image processing data. At this time, the image processing data is directly used as reference image processing data.
The conversion means converts the image data by referring to the reference image processing data.

すなわち、ヘッダ情報が付加されているか否かを判断することにより画像処理用データが圧縮されているか否かを判別することができるので、圧縮処理によりデータサイズが小さくなる画像処理用データについてのみ圧縮処理を行っておくことができ、よりデータサイズを小さくさせるようにされた画像処理用データを用いることが可能となる。また、ヘッダ情報を参照することにより圧縮された画像処理用データが並べ替え後に圧縮されたデータであるか否かを判別することができるので、この点でもよりデータサイズを小さくさせるように圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。   That is, since it is possible to determine whether or not the image processing data is compressed by determining whether or not header information is added, only the image processing data whose data size is reduced by the compression processing is compressed. It is possible to perform processing, and it is possible to use image processing data that is further reduced in data size. In addition, since it is possible to determine whether or not the compressed image processing data is the data compressed after the rearrangement by referring to the header information, the data is compressed so as to further reduce the data size. The image processing data can be used. Accordingly, predetermined image processing can be performed using image processing data having a smaller data size.

上記画像処理用データは、色変換テーブル、ドット振り分けテーブル、インク重量補正テーブル、ディザマスクパターン、モードによって使うべきリソースを知るためのインデックス、ハーフトーンディザマトリクスのインデックス、等、様々なデータが考えられる。
上記圧縮された画像処理用データは、上記参照用の画像処理用データを上記所定の規則に従って並べ替えて圧縮したデータと、上記参照用の画像処理用データを並べ替えないでそのまま圧縮したデータと、のうちデータサイズがより小さいほうのデータとされていると、確実によりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。
上記圧縮された画像処理用データを取得する圧縮情報取得手段が設けられていてもよい。
The image processing data may be a variety of data such as a color conversion table, a dot allocation table, an ink weight correction table, a dither mask pattern, an index for knowing resources to be used according to a mode, and an index of a halftone dither matrix. .
The compressed image processing data includes data obtained by rearranging the reference image processing data according to the predetermined rule and compressing the reference image processing data without rearranging the data. If the data has a smaller data size, the predetermined image processing can be surely performed using image processing data having a smaller data size.
Compression information acquisition means for acquiring the compressed image processing data may be provided.

なお、画像データの要素色の組み合わせは様々考えられ、例えば、R(赤)とG(緑)とB(青)からなる3色、輝度データと二種類の色差データ、明度データと二種類の色度データ、C(シアン)とM(マゼンタ)とY(イエロー)とK(ブラック)からなる4色、さらにライトシアン、ライトマゼンタ、ダークイエロー、ライトブラック等が加えられた組み合わせ、等とすることができる。
上記別の別の複数の要素色に対応したデータは、多階調の階調データ、ドットの形成有無を表す多値化データ(2値化データを含む)、多値化データを並び替えたラスタデータ、等、様々なデータとすることができる。
There are various combinations of the element colors of the image data. For example, there are three colors consisting of R (red), G (green) and B (blue), luminance data and two types of color difference data, brightness data and two types of color data. Chromaticity data, combination of four colors consisting of C (cyan), M (magenta), Y (yellow) and K (black), plus light cyan, light magenta, dark yellow, light black, etc. Can do.
The data corresponding to a plurality of other element colors is obtained by rearranging multi-gradation gradation data, multi-value data (including binary data) indicating the presence / absence of dot formation, and multi-value data. Various data such as raster data can be used.

上記参照用の画像処理用データに上記圧縮処理の際にデータが並べ替えられる並べ替え領域とデータが並べ替えられない不変領域とが設けられ、上記圧縮された画像処理用データに上記参照用の画像処理用データ中の上記並べ替え領域の位置を表すヘッダ情報が付加されている場合、上記解凍手段は、上記圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替え領域の位置を表す情報が含まれているとき、当該情報に含まれる並べ替え領域の上記解凍した画像処理用データを並べ替えることによって、上記参照用の画像処理用データを生成してもよい。すなわち、ヘッダ情報を参照することにより画像処理用データ中の並べ替え領域の位置を特定して当該領域のみデータを並べ替えることができるので、よりデータサイズを小さくさせるように圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いた画像処理が可能となる。
上記並べ替え領域は、当該領域の参照用の画像処理用データを上記所定の規則に従って並べ替えて圧縮したデータのデータサイズが同領域の参照用の画像処理用データを並べ替えないでそのまま圧縮したデータのデータサイズよりも小さくされた領域とされていると、確実によりデータサイズの小さい画像処理用データを用いた画像処理が可能となる。また、上記不変領域は、当該領域の参照用の画像処理用データを上記所定の規則に従って並べ替えて圧縮したデータのデータサイズが同領域の参照用の画像処理用データを並べ替えないでそのまま圧縮したデータのデータサイズよりも小さくされた領域とされていると、確実によりデータサイズの小さい画像処理用データを用いた画像処理が可能となる。
The reference image processing data is provided with a rearrangement area where the data is rearranged during the compression process and an invariant area where the data is not rearranged. The compressed image processing data is provided with the reference image processing data. When header information indicating the position of the rearrangement area in the image processing data is added, the decompression means adds the position of the rearrangement area to the header information added to the compressed image processing data. When the information to be displayed is included, the reference image processing data may be generated by rearranging the decompressed image processing data in the rearrangement area included in the information. In other words, by referring to the header information, it is possible to specify the position of the rearrangement area in the image processing data and rearrange the data only in that area, so that the data size is compressed so as to further reduce the data size. Data can be used. Therefore, it is possible to perform image processing using image processing data having a smaller data size.
In the rearrangement area, the reference image processing data in the same area is compressed as it is without rearranging the data size of the data obtained by rearranging and compressing the reference image processing data in the area according to the predetermined rule. If the area is made smaller than the data size of the data, image processing using data for image processing having a small data size can be surely performed. Further, the invariant area is compressed as it is without rearranging the reference image processing data in the same area in which the data size of the data obtained by rearranging and compressing the reference image processing data in the area according to the predetermined rule is compressed. If the area is made smaller than the data size of the processed data, it is possible to reliably perform image processing using image processing data having a small data size.

上記圧縮処理には、複数の種類が設けられ、上記圧縮された画像処理用データには、上記参照用の画像処理用データからの上記圧縮処理の種類を表すヘッダ情報が付加され、上記解凍手段は、上記圧縮された画像処理用データに付加されたヘッダ情報に上記圧縮処理の種類を表す情報が含まれているとき、当該情報に含まれる種類の圧縮処理に対応する解凍処理により同圧縮された画像処理用データを解凍する構成としてもよい。すなわち、ヘッダ情報を参照することにより圧縮処理の種類を判別することができるので、よりデータサイズを小さくさせる圧縮処理により圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いた画像処理が可能となる。   The compression processing includes a plurality of types, and the compressed image processing data is appended with header information indicating the type of the compression processing from the reference image processing data, and the decompression means When the header information added to the compressed image processing data includes information indicating the type of compression processing, the header information is compressed by decompression processing corresponding to the type of compression processing included in the information. The image processing data may be decompressed. That is, since the type of compression processing can be determined by referring to the header information, it is possible to use image processing data compressed by compression processing that further reduces the data size. Therefore, it is possible to perform image processing using image processing data having a smaller data size.

請求項5にかかる発明のように、複数の画像処理用データがあるときに各画像処理用データにヘッダ情報を付加可能とすると、ヘッダ情報が付加されているか否かを判断することにより各画像処理用データが圧縮されているか否かを判別することができ、ヘッダ情報を参照することにより各圧縮された画像処理用データが並べ替え後に圧縮されたデータであるか否かを判別することができるので、よりデータサイズを小さくさせるように圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いた画像処理が可能となる。   If the header information can be added to each image processing data when there is a plurality of image processing data as in the invention according to claim 5, each image is determined by determining whether or not the header information is added. It can be determined whether or not the processing data is compressed, and it is possible to determine whether or not each compressed image processing data is compressed data after rearrangement by referring to the header information. Therefore, it is possible to use image processing data compressed so as to further reduce the data size. Therefore, it is possible to perform image processing using image processing data having a smaller data size.

上記複数の要素色に対応した階調データからなる画像データと上記別の複数の要素色に対応した階調データからなる画像データとの対応関係を複数の格子点について規定するとともに各格子点について要素色別の階調データ全てを連続させて並べた格子点データを全格子点について繰り返させたデータ列からなる色変換テーブルが画像処理用データに含まれ、圧縮された色変換テーブルに、上記参照用の画像処理用データのビット列を所定のビット数毎にa0,a1,…,an(nは正の整数)で表すときに順次ai−ai-1(iは1〜nの整数)を算出してビット数を減らした算出結果biを連続させて並べたデータ列が含まれる場合、順次、上記算出結果b1〜bi(iは1〜nの整数)の総和から上記所定のビット数毎のaiを算出して連続させて並べることにより上記圧縮された色変換テーブルを解凍してもよい。圧縮効率の良好な色変換テーブルを用いて画像処理を行うことが可能となる。 The correspondence between the image data composed of gradation data corresponding to the plurality of element colors and the image data composed of gradation data corresponding to the plurality of other element colors is defined for a plurality of lattice points, and for each lattice point A color conversion table consisting of a data string obtained by repeating grid point data in which all gradation data for each element color are continuously arranged for all grid points is included in the image processing data. When a bit sequence of reference image processing data is represented by a 0 , a 1 ,..., An (n is a positive integer) for each predetermined number of bits, a i -a i-1 (i is 1 to 1) n is an integer), and when a data string in which calculation results b i obtained by reducing the number of bits are continuously arranged is included, the calculation results b 1 to b i (i is an integer of 1 to n) are sequentially continuous from the sum to calculate the a i of each number of the predetermined bit It may decompress the compressed color conversion table by arranging allowed. Image processing can be performed using a color conversion table with good compression efficiency.

また、上記別の複数の要素色に対応した階調データからなる画像データと同要素色別の複数種類のドットの形成量を表すデータとの対応関係を同要素色別に規定するとともに各要素色に対応した階調データの各階調値について同複数種類のドット別の形成量を表すデータ全てを連続させて並べた複合データを全階調値について繰り返させたデータ列からなるドット振り分けテーブルが画像処理用データに含まれる場合も、同様の手法により圧縮されたドット振り分けテーブルを解凍することができるので、圧縮効率の良好なドット振り分けテーブルを用いて画像処理を行うことが可能となる。
このように差分をとって圧縮された画像処理用データを、さらに別の圧縮処理により圧縮してもよい。さらに圧縮効率の良好な画像処理用データを用いて画像処理を行うことが可能となる。
Each element color defines a correspondence between image data composed of gradation data corresponding to a plurality of other element colors and data representing the formation amount of a plurality of types of dots for the same element color. A dot allocation table consisting of a data string in which composite data in which all the data representing the formation amount of each of the plurality of types of dots is continuously arranged for each gradation value of gradation data corresponding to is repeated for all gradation values is an image Even in the case of being included in the processing data, the dot allocation table compressed by the same method can be decompressed, so that it is possible to perform image processing using a dot allocation table with good compression efficiency.
The image processing data compressed by taking the difference in this way may be compressed by another compression process. Furthermore, it is possible to perform image processing using image processing data with good compression efficiency.

本発明の画像処理装置と圧縮画像処理用データ生成装置とから画像処理システムを構成してもよい。同圧縮画像処理用データ生成装置は、上記参照用の画像処理用データを所定の規則に従って並べ替えて圧縮して上記圧縮状態の画像処理用データを生成可能であり、同並べ替えて圧縮したときに生成した圧縮状態の画像処理用データに同所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報を付加する。これにより、画像処理装置では、ヘッダ情報を参照することにより圧縮された画像処理用データが並べ替え後に圧縮されたデータであるか否かを判別することができるので、よりデータサイズを小さくさせるように圧縮された画像処理用データを用いることが可能となる。従って、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。   You may comprise an image processing system from the image processing apparatus of this invention, and the data generation apparatus for compressed image processing. The compressed image processing data generation device can generate the compressed image processing data by rearranging and compressing the reference image processing data according to a predetermined rule. The header information indicating that the data is rearranged and compressed in accordance with the predetermined rule is added to the compressed image processing data generated in step (b). As a result, the image processing apparatus can determine whether or not the compressed image processing data is the compressed data after the rearrangement by referring to the header information, so that the data size can be further reduced. Thus, it is possible to use image processing data that has been compressed. Accordingly, predetermined image processing can be performed using image processing data having a smaller data size.

上記圧縮画像処理用データ生成装置単独でも、画像処理装置に、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行わせることが可能となる。すなわち、請求項10に記載した装置でも、上述したのと同様の作用、効果を有する。
なお、上述した装置やシステムは、単独で実施される場合もあるし、ある機器に組み込まれた状態で他の方法とともに実施されることもある等、発明の思想としては各種の態様を含むものであって、適宜、変更可能である。また、上記構成に対応した所定の手順に従って処理を進めていくことも可能であるので、本発明は制御方法としても適用可能であり、請求項11〜請求項13にかかる発明も、基本的には同様の作用、効果を有する。さらに、ドットを形成して画像データに対応する画像を印刷する印刷手段を備える印刷システムとしても適用可能であり、基本的には同様の作用、効果となる。
Even with the compressed image processing data generation apparatus alone, it is possible to cause the image processing apparatus to perform predetermined image processing using image processing data having a smaller data size. That is, the apparatus described in claim 10 has the same operation and effect as described above.
In addition, the apparatus and system mentioned above may be implemented independently, and may be implemented with other methods in a state of being incorporated in a certain device. However, it can be changed as appropriate. In addition, since it is possible to proceed with processing according to a predetermined procedure corresponding to the above configuration, the present invention can also be applied as a control method, and the inventions according to claims 11 to 13 are basically also provided. Has similar actions and effects. Furthermore, the present invention can be applied to a printing system including a printing unit that forms dots and prints an image corresponding to image data, and basically has the same operation and effect.

本発明を実施しようとする際に、上記装置やシステムにて所定の制御プログラムを実行させる場合もある。そこで、請求項14に記載したプログラムでも、基本的には同様の作用、効果を有する。また、同プログラムを記録した媒体が流通し、同記録媒体からプログラムを適宜コンピュータに読み込むことが考えられるので、そのプログラムを記録したコンピュータ読み取り可能な記録媒体としても適用可能であり、基本的には同様の作用、効果を有する。
むろん、請求項2〜請求項8に記載された構成を上記方法やプログラムや記録媒体に対応させることも可能であるし、請求項9、請求項10に記載された構成を上記プログラムや記録媒体に対応させることも可能である。
When trying to implement the present invention, a predetermined control program may be executed by the apparatus or system. Therefore, the program described in claim 14 basically has the same operations and effects. In addition, it is conceivable that a medium on which the program is recorded is distributed and the program is appropriately read from the recording medium into a computer. Therefore, the present invention can be applied as a computer-readable recording medium on which the program is recorded. Has similar actions and effects.
Of course, it is possible to make the configuration described in claims 2 to 8 correspond to the method, the program, and the recording medium, and the configuration described in claim 9 and claim 10 to the program and the recording medium. It is also possible to correspond to.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)画像処理システムの構成:
(2)圧縮画像処理用データ生成方法と圧縮画像処理用データの解凍方法:
(3)圧縮画像処理用データ生成処理と画像処理:
(4)変形例:
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of image processing system:
(2) Compressed image processing data generation method and compressed image processing data decompression method:
(3) Data generation processing and image processing for compressed image processing:
(4) Modification:

(1)画像処理システムの構成:
図1に示すように、本発明の一実施形態にかかる画像処理システムU0は、主に装置U1,U2から構成され、両装置U1,U2はインターネット網を介して所定のサーバと双方向通信を行うことも可能とされている。そして、プリンタのメーカ等が圧縮画像処理用データ生成装置U1を使用して画像処理用データを有するプリンタドライバ等を生成し、プリンタのユーザ等が画像処理装置U2を使用してプリンタドライバ等をインストールして実行させるようになっている。
(1) Configuration of image processing system:
As shown in FIG. 1, an image processing system U0 according to an embodiment of the present invention is mainly composed of apparatuses U1 and U2, and both apparatuses U1 and U2 communicate with a predetermined server via an Internet network. It is also possible to do it. The printer manufacturer or the like uses the compressed image processing data generation device U1 to generate a printer driver or the like having image processing data, and the printer user or the like installs the printer driver or the like using the image processing device U2. To be executed.

画像処理装置U2は、入力画像データを、プリンタ等の画像出力装置の出力画像を表現する出力画像データに、複数の所定の参照用の画像処理用データを参照することによって変換し、適宜、画像出力装置に出力画像を出力させる制御を行う。圧縮画像処理用データ生成装置U1は、同画像処理用データを生成するが、適宜、所定の圧縮処理により参照用の画像処理用データを可逆圧縮して圧縮状態の画像処理用データを生成する。生成した画像処理用データD1は、プリンタドライバ等に組み込まれ、記録媒体であるCD-ROM15a等に書き込まれて画像処理装置U2に読み込まれたり、サーバを介して画像処理装置U2に読み込まれたりする。画像処理装置U2では、読み込んだ画像処理用データが圧縮状態であれば解凍処理を行う等して参照用の画像処理用データを復元し、当該画像処理用データを参照することによって画像データを変換する。   The image processing device U2 converts the input image data into output image data representing an output image of an image output device such as a printer by referring to a plurality of predetermined reference image processing data, and appropriately converts the image Control is performed to output an output image to the output device. The compressed image processing data generation device U1 generates the image processing data, but appropriately generates the compressed image processing data by reversibly compressing the reference image processing data by a predetermined compression process. The generated image processing data D1 is incorporated into a printer driver or the like, and is written into a CD-ROM 15a or the like as a recording medium and read into the image processing device U2, or is read into the image processing device U2 via a server. . In the image processing device U2, if the read image processing data is in a compressed state, the image processing data for reference is restored by performing decompression processing or the like, and the image data is converted by referring to the image processing data To do.

図2に示すように、画像処理装置U2を含む印刷システムは、パーソナルコンピュータ(PC)10、画像を出力する画像出力装置であるカラー印刷可能なインクジェットプリンタ(印刷装置、印刷手段)20、等から構成されている。むろん、本発明に用いられるコンピュータは、PCに限定されない。PC10では、演算処理の中枢をなすCPU11がシステムバス10aを介してPC全体を制御する。同バス10aには、ROM12、RAM13、CD-ROMドライブ15、フレキシブルディスク(FD)ドライブ16、各種インターフェイス(I/F)17a〜e等が接続され、ハードディスクドライブを介してハードディスク(HD)14も接続されている。   As shown in FIG. 2, a printing system including an image processing device U2 includes a personal computer (PC) 10, an ink jet printer (printing device, printing means) 20, which is an image output device that outputs an image, and the like. It is configured. Of course, the computer used in the present invention is not limited to a PC. In the PC 10, the CPU 11 serving as the center of the arithmetic processing controls the entire PC via the system bus 10a. Connected to the bus 10a are a ROM 12, a RAM 13, a CD-ROM drive 15, a flexible disk (FD) drive 16, various interfaces (I / F) 17a to 17e, and a hard disk (HD) 14 via a hard disk drive. It is connected.

HD14にはオペレーティングシステム(OS)やアプリケーションプログラム(APL)等が記憶されており、実行時にCPU11によって適宜RAM13に転送され、実行される。また、圧縮画像処理用データ生成装置U1にて生成された複数の画像処理用データD1も記憶され、当該複数のデータD1から生成される複数の参照用の画像処理用データD2も記憶される。USBI/F17aには図示しないデジタルカメラ等を接続可能であり、CRTI/F17bにはカラー画像データに基づいて当該画像データに対応する画像を表示するディスプレイ18aが接続され、入力I/F17cにはキーボード18bやマウス18cが操作用入力機器として接続され、プリンタI/F17eには例えばパラレルI/Fケーブル(シリアルI/Fケーブルも可)を介してプリンタ20が接続されている。   The HD 14 stores an operating system (OS), an application program (APL), and the like, which are appropriately transferred to the RAM 13 by the CPU 11 during execution and executed. In addition, a plurality of image processing data D1 generated by the compressed image processing data generation device U1 is also stored, and a plurality of reference image processing data D2 generated from the plurality of data D1 is also stored. A digital camera (not shown) or the like can be connected to the USB I / F 17a, a display 18a for displaying an image corresponding to the image data based on the color image data is connected to the CRTI / F 17b, and a keyboard is connected to the input I / F 17c. A printer 18 is connected to the printer I / F 17e via, for example, a parallel I / F cable (a serial I / F cable is also possible).

図3に示すプリンタ20は、CMYKのインクを使用して、印刷用紙(印刷媒体)に対して画像データに対応する画像を印刷する。むろん、4色以外のインクを使用するプリンタを採用してもよい。また、インク通路内に泡を発生させてインクを吐出するバブル方式のプリンタや、レーザープリンタ等、種々の印刷装置を採用可能である。
本プリンタ20では、CPU21、ROM22、RAM23、通信I/O24、コントロールIC25、ASIC26、I/F27、等がバス20aを介して接続され、CPU21がROM22に書き込まれたプログラムに従って各部を制御する。
The printer 20 shown in FIG. 3 prints an image corresponding to image data on a printing paper (printing medium) using CMYK ink. Of course, you may employ | adopt the printer which uses inks other than four colors. In addition, various printing apparatuses such as a bubble type printer that generates bubbles in the ink passage and discharges ink and a laser printer can be employed.
In the printer 20, a CPU 21, a ROM 22, a RAM 23, a communication I / O 24, a control IC 25, an ASIC 26, an I / F 27, etc. are connected via a bus 20 a, and the CPU 21 controls each unit according to a program written in the ROM 22.

通信I/O24はPC10のプリンタI/F17eと接続され、プリンタ20は通信I/O24を介してPC10から送信されるCMYKに変換された画像データやページ記述言語等からなる印刷ジョブを受信する。ASIC26は、CPU21と所定の信号を送受信しつつヘッド駆動部26aに対してCMYKデータに対応する印加電圧データを出力する。同ヘッド駆動部26aは、同印加電圧データから印刷ヘッドに内蔵されたピエゾ素子への印加電圧パターンを生成し、印刷ヘッドに4色のインクをドット単位で吐出させる。I/F27に接続されたキャリッジ機構27aや紙送り機構27bは、印刷ヘッドを主走査させたり、適宜改ページ動作を行いながら印刷用紙を順次送り出して副走査を行ったりする。
本プリンタは、ピエゾ素子への電圧の印加パターンを変えることにより、インク滴の大きさを変更し、大中小の3種類の大きさのドットを形成可能である。そして、画像データをインク量の異なる3種類のドットの形成をまとめて表現する階調データから構成し、画像データを画素別にドットの種類を表現するドットデータに変換すると、プリンタはドットデータに対応してインク量の異なる3種類のドットを印刷用紙上に形成する。
The communication I / O 24 is connected to the printer I / F 17e of the PC 10, and the printer 20 receives a print job composed of image data converted into CMYK and page description language transmitted from the PC 10 via the communication I / O 24. The ASIC 26 outputs applied voltage data corresponding to the CMYK data to the head driving unit 26a while transmitting / receiving a predetermined signal to / from the CPU 21. The head drive unit 26a generates an applied voltage pattern to the piezo elements incorporated in the print head from the applied voltage data, and causes the print head to eject four colors of ink in dot units. The carriage mechanism 27a and the paper feed mechanism 27b connected to the I / F 27 perform the main scanning of the print head and the sub-scan by sequentially feeding out the printing paper while appropriately performing the page break operation.
This printer can change the size of ink droplets by changing the voltage application pattern to the piezo elements, and can form three types of large, medium, and small dots. When the image data is composed of gradation data that collectively represents the formation of three types of dots with different ink amounts, and the image data is converted into dot data that represents the dot type for each pixel, the printer supports the dot data. Thus, three types of dots having different ink amounts are formed on the printing paper.

PC10では、OSにプリンタI/F17eを制御するプリンタドライバ等が組み込まれ、OSの一部となって各種の制御を実行する。APLは、OSを介してハードウェアとデータ等のやりとりを行う。プリンタドライバは、APLの印刷機能の実行時に稼働され、プリンタI/F19を介してプリンタ20と双方向の通信を行うことが可能であり、GDI等が組み込まれたOSを介してAPLから画像データを受け取ってプリンタ20に対して出力する画像データに変換し、印刷ジョブとしてプリンタ20に送出する。プリンタドライバは、複数の参照用の画像処理用データD2を参照することによって画像データを変換し、プリンタ20に対して印刷制御を行う。   In the PC 10, a printer driver or the like that controls the printer I / F 17e is incorporated in the OS, and executes various controls as a part of the OS. APL exchanges data with hardware via the OS. The printer driver is operated when the printing function of the APL is executed, and can perform bidirectional communication with the printer 20 via the printer I / F 19, and image data from the APL via an OS incorporating GDI or the like. Is converted into image data to be output to the printer 20 and sent to the printer 20 as a print job. The printer driver converts image data by referring to the plurality of reference image processing data D2, and performs print control on the printer 20.

図4は上記印刷制御の処理を示すフローチャートであり、図5は上記ハードウェアと上記制御プログラムとが協働して構築する画像処理装置U2の構成を模式的に示している。本装置U2は、各部U21〜U27から構成され、参照用の画像処理用データD21〜D23に基づいて画像データを変換する。
APLに備わるAPL用印刷機能にてディスプレイ18aに表示される印刷実行メニューが選択されると、フローを開始し、画像入力部U21により、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを入力し、広域RGB色空間内の256階調のRGBデータに変換する(ステップS105。以下、「ステップ」の記載を省略)。入力する画像データは、CD-ROM15a等に記録したデータ等がある。同画像データは、画像をドットマトリクス状の多数の画素で階調表現したデータであり、sRGB色空間で定義されるRGBから構成された画像データや、YUV表色系におけるYUVから構成された画像データ、等がある。画像データの各成分も様々な階調数とされているので、sRGBやYUV表色系等の定義に従って、画像データを広域RGB色空間内のRGB各256階調(0〜255の整数値)のRGBデータに変換する。解像度を大きくする場合には線形補間により隣接する画素の階調データの間に新たなデータを生成し、解像度を小さくする場合には一定の割合でデータを間引く。なお、データを部分的に読み込んでもよいし、データを格納したバッファ領域を表すポインタの受け渡しだけであってもよい。
FIG. 4 is a flowchart showing the printing control process, and FIG. 5 schematically shows the configuration of the image processing apparatus U2 constructed by the hardware and the control program. This apparatus U2 is comprised from each part U21-U27, and converts image data based on the reference image processing data D21-D23.
When the print execution menu displayed on the display 18a is selected by the APL printing function provided in the APL, the flow is started, and the image input unit U21 classifies a plurality of pixels corresponding to a plurality of element colors. Image data composed of tone data is input and converted into RGB data of 256 gradations in a wide RGB color space (step S105; hereinafter, description of “step” is omitted). The input image data includes data recorded on the CD-ROM 15a and the like. The image data is data in which an image is expressed by a number of pixels in a dot matrix. The image data is composed of RGB defined in the sRGB color space, and the image is composed of YUV in the YUV color system. There are data, etc. Since each component of the image data has various gradations, the image data is converted into 256 gradations (integer values of 0 to 255) for each RGB in the wide RGB color space in accordance with the definition of sRGB or YUV color system. Convert to RGB data. When the resolution is increased, new data is generated between the gradation data of adjacent pixels by linear interpolation, and when the resolution is decreased, the data is thinned out at a constant rate. Note that data may be partially read, or only a pointer indicating a buffer area in which data is stored may be passed.

次に、色変換部U22により、RGBデータを構成する各画素の階調データを変換対象として順次対象画素を移動させながら、3D-LUT(色変換テーブル)を参照して、RGBデータを、プリンタ20の印刷画像(出力画像)を表現する別の複数の要素色CMYKに対応した階調データからなる画像データに色変換する。CMYKデータも、画像をドットマトリクス状の多数の画素で階調表現したCMYK各256階調のデータである。
HD14には、変換前のRGBの3要素色に対応した階調データからなる画像データと、変換後のCMYKの4要素色に対応した階調データからなる画像データと、の対応関係を複数の格子点(参照点)について規定した3D-LUTが記憶されている。3D-LUTは、CMYK別に階調データが格納されており、例えばRGB各17すなわち17の3乗個の格子点に対応した大量のデータを備えている。入力するRGBデータに一致するCMYKデータが3D-LUTに格納されていない場合には、同RGBデータに近い複数のRGBデータに対応するCMYKデータを取得し、体積補間等の補間演算により色変換後の階調値を算出する。
Next, the color conversion unit U22 refers to the 3D-LUT (color conversion table) while sequentially moving the target pixel using the gradation data of each pixel constituting the RGB data as the conversion target, and converts the RGB data to the printer. Color conversion is performed to image data composed of gradation data corresponding to a plurality of other element colors CMYK representing 20 print images (output images). The CMYK data is also data of 256 gradations for each CMYK in which an image is represented by a number of pixels in a dot matrix.
The HD 14 has a plurality of correspondence relationships between image data composed of gradation data corresponding to RGB three-element colors before conversion and image data composed of gradation data corresponding to four-element CMYK colors after conversion. A 3D-LUT that defines the grid points (reference points) is stored. The 3D-LUT stores gradation data for each CMYK, and includes a large amount of data corresponding to, for example, 17 RGB points, that is, 17 3 grid points. If CMYK data that matches the input RGB data is not stored in the 3D-LUT, obtain CMYK data corresponding to multiple RGB data close to the RGB data, and after color conversion by interpolation such as volume interpolation Is calculated.

色変換後、ハーフトーン処理部U23により、CMYKデータを構成する各画素の階調データを変換対象として順次対象画素を移動させながら、ドット振り分けテーブルD22やインク重量補正テーブルD23を参照して、CMYKデータに対して所定のハーフトーン処理を行って多値化(四値化)し、CMYK別の4階調のハーフトーンデータ(ドットの形成状況を表すデータ)を生成する(S115)。ハーフトーンデータは、ドットの形成有無を表すデータであり、例えば階調値「3」を大ドット形成有り、階調値「2」を中ドット形成有り、階調値「1」を小ドット形成有り、階調値「0」をドット形成無しに対応させたデータとすることができる。むろん、階調値「1」,「0」のみの2階調のデータ等であってもよい。
HD14には、上記テーブルD22,D23が記憶されている。ドット振り分けテーブルは、変換前のCMYKの4要素色に対応した256階調の階調データからなる画像データと、変換後の同CMYKの4要素色別の大中小(複数種類)のドットの形成量を表すデータと、の対応関係を同CMYKの要素色別に規定したテーブルである。インク重量補正テーブルは、CMYKのインク別に、基準とするプリンタのインク吐出量を基準としたときの各機体のインク吐出量のずれを補償するデータを格納したテーブルである。
After the color conversion, the halftone processing unit U23 refers to the dot distribution table D22 and the ink weight correction table D23 while sequentially moving the target pixel with the gradation data of each pixel constituting the CMYK data as the conversion target, and CMYK. Predetermined halftone processing is performed on the data to make it multi-valued (quaternary), and four-tone halftone data (data representing dot formation status) for each CMYK is generated (S115). Halftone data is data indicating the presence or absence of dot formation. For example, gradation value “3” indicates that large dots are formed, gradation value “2” indicates that medium dots are formed, and gradation value “1” indicates that small dots are formed. Yes, the gradation value “0” can be data corresponding to no dot formation. Of course, it may be data of two gradations of only gradation values “1” and “0”.
The HD 14 stores the tables D22 and D23. The dot allocation table is for forming image data consisting of 256 grayscale data corresponding to the CMYK four-element colors before conversion, and large, medium, and small (plural types) dots for each CMYK four-element color after conversion. It is a table that defines the correspondence between data representing quantities and the element colors of the same CMYK. The ink weight correction table is a table that stores data that compensates for deviations in the ink discharge amount of each machine when the ink discharge amount of the reference printer is used as a reference for each CMYK ink.

多値化後、ラスタライズ処理部U24により、上記ハーフトーンデータに対して所定のラスタライズ処理を行ってプリンタで使用される順番に並べ替え、CMYK別のラスタデータを生成する(S120)。そして、ラスタデータ出力部U25により、ラスタデータをプリンタ20に対して出力し(S125)、フローを終了する。すると、プリンタ20は、画像を表現するラスタデータを入手し、これらのデータに基づいて印刷ヘッドを駆動してインクを印刷用紙上に吐出し、画像データに対応する画像を印刷する。なお、ハーフトーン処理を実行可能なプリンタであれば多階調のCMYKデータをそのままプリンタに出力すればよい。
すなわち、S105〜S120で参照用の画像処理用データを参照して画像データを変換するPCは変換手段を構成し、S125で変換後の画像データに対応する画像をプリンタに印刷させる制御を行うPCは印刷制御手段を構成する。なお、S110,S115,S120の処理の中から一部の処理のみから変換手段を構成することも可能である。
After the multi-value conversion, the rasterization processing unit U24 performs a predetermined rasterization process on the halftone data and rearranges it in the order used by the printer to generate raster data for each CMYK (S120). The raster data output unit U25 outputs the raster data to the printer 20 (S125), and the flow ends. Then, the printer 20 obtains raster data representing an image, drives the print head based on these data, ejects ink onto the printing paper, and prints an image corresponding to the image data. If the printer can execute halftone processing, multi-tone CMYK data may be output to the printer as it is.
That is, the PC that converts the image data with reference to the image processing data for reference in S105 to S120 constitutes a conversion unit, and the PC that controls the printer to print an image corresponding to the converted image data in S125. Constitutes a printing control means. Note that it is possible to configure the conversion means from only a part of the processes of S110, S115, and S120.

圧縮情報取得手段U26は、インストール用の画像処理用データD1を取得する。同画像処理用データD1は複数からなり、圧縮状態のデータもあれば、参照用の画像処理用データそのものもある。また、圧縮状態のデータについても複数の種類が存在しえ、データ並び替え後(以下、単に「並べ替え後」とも記載)に圧縮された画像処理用データもあれば、データの並び替えなしに圧縮された画像処理用データもある。
解凍手段U27は、画像処理用データD1が所定の圧縮処理により圧縮されているとき、当該圧縮処理に対応する解凍処理により解凍する。また、並べ替え後に圧縮されたときのみ、解凍した画像処理用データを所定の規則に合わせて並べ替えることによって参照用の画像処理用データを生成し、データが並べ替えられずに圧縮されたときには、解凍した画像処理用データを参照用の画像処理用データD21〜D23とする。
The compression information acquisition unit U26 acquires image processing data D1 for installation. The image processing data D1 is made up of a plurality of data, including compressed data and reference image processing data itself. Also, there may be a plurality of types of compressed data, and there is image processing data compressed after data rearrangement (hereinafter also simply referred to as “after rearrangement”), without data rearrangement. There is also compressed image processing data.
When the image processing data D1 is compressed by a predetermined compression process, the decompression unit U27 decompresses the image processing data D1 by a decompression process corresponding to the compression process. Also, only when the compressed image processing data is rearranged, the decompressed image processing data is rearranged according to a predetermined rule to generate reference image processing data, and the data is compressed without being rearranged. The decompressed image processing data is referred to as reference image processing data D21 to D23.

圧縮画像処理用データ生成装置U1は上記PC10と同様の構成とされているので、画像処理装置U2と構成が同じものについては説明を省略する。
USBI/F17aには、カラー測色器30やカラースキャナ等の周辺機器を接続可能である。測色器30は、測色する対象に色検出部30aを向けることにより、CIE規格におけるLab表色系に基づく測色値、すなわち、明度を表すL値と、色相および彩度を表すa値およびb値を計測可能である。測色器30にて計測されたLab値は、USBI/F17aを介して読み込むことが可能であり、3D-LUTを作成するために使用することができる。
Since the compressed image processing data generation device U1 has the same configuration as the PC 10, the description of the same configuration as the image processing device U2 is omitted.
Peripheral devices such as a color measuring device 30 and a color scanner can be connected to the USB I / F 17a. The colorimeter 30 directs the color detection unit 30a to the object to be measured, so that the colorimetric value based on the Lab color system in the CIE standard, that is, the L value representing brightness and the a value representing hue and saturation. And b values can be measured. Lab values measured by the colorimeter 30 can be read via the USB I / F 17a, and can be used to create a 3D-LUT.

なお、本発明の画像処理プログラム、圧縮画像処理用データ生成プログラムは、上記プリンタドライバから構成されるが、APLにより構成することも可能である。また、HD14はこれらのプログラムを記録した媒体であるが、同媒体は、CD-ROM15a、FD、光磁気ディスク、不揮発性メモリ、等でもよい。むろん、インターネット網を介して所定のサーバから本発明のプログラムをダウンロードして実行することも可能である。   The image processing program and the compressed image processing data generation program of the present invention are configured by the printer driver, but can also be configured by APL. The HD 14 is a medium on which these programs are recorded. The medium may be a CD-ROM 15a, FD, magneto-optical disk, non-volatile memory, or the like. Of course, it is also possible to download and execute the program of the present invention from a predetermined server via the Internet network.

(2)圧縮画像処理用データ生成方法と圧縮画像処理用データの解凍方法:
図6は、圧縮画像処理用データ生成方法を模式的に示している。
プリンタドライバには、最終的に複数の参照用のリソース(画像処理用データ)が組み込まれるようになっている。図の上段は複数のリソースのデータ列を模式的に示しており、上から下に向かってデータが並んでいるものとする。これらのリソースをそのまま画像処理装置へのインストール用のデータとすることも考えられるが、データサイズ(以下、単に「サイズ」とも記載)が大きくなってしまう。そこで、複数のリソースのそれぞれについて、所定の圧縮処理を行ったときにサイズが小さくなる場合にその圧縮処理を行って解凍処理に必要なヘッダ情報を付加する。ここで、ヘッダ情報とは、リソースのデータ列の開始部分に付加された情報のことをいい、リソースの開始アドレスのデータを読み込んだときに最初に読み込まれる情報のことをいう。
図の例では、3D-LUT等が圧縮されてヘッダ情報が付加されていることが示されており、インク重量補正テーブルについてはデータが圧縮されずにインストール用のデータとされていることが示されている。そして、全てのリソースがインストール用のデータとされると、CD-ROM等の記録媒体に記録され、ユーザに供給されて、画像処理装置に読み込まれることになる。
(2) Compressed image processing data generation method and compressed image processing data decompression method:
FIG. 6 schematically shows a compressed image processing data generation method.
In the printer driver, a plurality of reference resources (image processing data) are finally incorporated. The upper part of the figure schematically shows a data string of a plurality of resources, and it is assumed that data are arranged from the top to the bottom. Although it is possible to use these resources as data for installation in the image processing apparatus as they are, the data size (hereinafter also simply referred to as “size”) becomes large. Therefore, for each of a plurality of resources, when the size is reduced when a predetermined compression process is performed, the compression process is performed and header information necessary for the decompression process is added. Here, the header information refers to information added to the start portion of the resource data string, and refers to information that is read first when the data of the resource start address is read.
In the example in the figure, it is shown that 3D-LUT etc. is compressed and header information is added, and the ink weight correction table is not compressed and is used as installation data. Has been. When all the resources are set as installation data, they are recorded on a recording medium such as a CD-ROM, supplied to the user, and read into the image processing apparatus.

リソースの圧縮処理には、可逆的に圧縮することができれば周知の様々な圧縮法による処理を採用可能である。例えば、シャノンファノ符号法、静的ハフマン符号法、静的算術符号法、0圧縮法、連長圧縮法、動的ハフマン符号法、Lempel-Ziv符号法、BSTW符号法、インターバル符号法、Packビット法、等の一般的な圧縮処理を用いることができる。ここで、リソースのデータ列を並べ替えてから圧縮処理を行ったほうが圧縮効率が向上(サイズがより小さく)なることがある。例えば、Packビット方式のように同一のデータが連続するほど圧縮効率が向上する圧縮処理を用いる場合、連続する同一データが多くなるようにリソースのデータ列を所定の規則に従って並べ替えると圧縮後のサイズをより小さくさせることが可能となる。この場合、データを並べ替えた旨をヘッダ情報に含める。   As the resource compression processing, various known compression methods can be employed as long as they can be reversibly compressed. For example, Shannon-Fano coding method, static Huffman coding method, static arithmetic coding method, zero compression method, run length compression method, dynamic Huffman coding method, Lempel-Ziv coding method, BSTW coding method, interval coding method, Pack bit A general compression process such as a method can be used. Here, the compression efficiency may be improved (the size is smaller) by performing the compression process after rearranging the resource data strings. For example, when using compression processing in which compression efficiency improves as the same data continues as in the Pack bit method, if the data sequence of resources is rearranged according to a predetermined rule so that the same continuous data increases, The size can be further reduced. In this case, the fact that the data has been rearranged is included in the header information.

図7は、圧縮されていない状態での3D-LUTの構造を模式的に示している。図の上段に示すように、RGB色空間で各軸に沿って略等間隔に離れたNの3乗個の格子点からなる立方格子が規定されている。なお、図では5の3乗個しか描いていないが、実際にはN=9,17,33,…等とされる。図の下段は、LUT中のRGBデータとCMYKデータとの対応関係を模式的に示している。わかりやすく説明するためLUT中に格子点番号とRGBデータを示しているが、CMYK各8ビットの階調値のみが格納されており、RGBデータを構成する各階調データに対応するアドレスからCMYK32ビット分の階調データを参照することにより、RGBデータをCMYKデータに変換するようになっている。すなわち、LUTは、各格子点についてCMYK要素色別の階調データ全てを連続させて並べた格子点データD31を全格子点について繰り返させたデータ列から構成されている。格子点番号の順番に同一の格子点に対応するCMYKデータの組を並べることにより、画像データ変換時の補間演算処理に必要な4バイトの格子点データを迅速に読み出すことができる。   FIG. 7 schematically shows the structure of the 3D-LUT in an uncompressed state. As shown in the upper part of the figure, a cubic lattice is defined which is composed of N cubed lattice points that are spaced apart at substantially equal intervals along each axis in the RGB color space. In the figure, only the cube of 5 is drawn, but in reality, N = 9, 17, 33,... The lower part of the figure schematically shows the correspondence between RGB data and CMYK data in the LUT. For the sake of clarity, the grid point number and RGB data are shown in the LUT, but only the 8-bit gradation value of CMYK is stored, and CMYK 32 bits from the address corresponding to each gradation data constituting the RGB data. The RGB data is converted into CMYK data by referring to the gradation data of the minute. That is, the LUT is composed of a data string in which grid point data D31 in which all the gradation data for each CMYK element color is continuously arranged for each grid point is repeated for all grid points. By arranging a set of CMYK data corresponding to the same grid point in the order of the grid point numbers, it is possible to quickly read out 4-byte grid point data necessary for interpolation calculation processing at the time of image data conversion.

しかしながら、上記構造の3D-LUTでは、同一のデータの連続が少ないため、同一のデータが連続するほど圧縮効率が向上する圧縮処理では圧縮効率が低い。そこで、LUTのデータ列をCMYK要素色別に階調データ全てを連続させるように並び替えた後、圧縮処理により圧縮するようにしている。   However, in the 3D-LUT having the above structure, since the same data is less continuous, the compression efficiency is low in the compression process in which the compression efficiency improves as the same data continues. Therefore, the LUT data string is rearranged so that all the gradation data is continuous for each CMYK element color, and then compressed by compression processing.

図8は、3D-LUTのデータ列を並べ替えて圧縮する様子を模式的に示している。本LUTは、圧縮されていない状態で、32ビットの格子点データD31を全格子点について繰り返させたデータ列と、当該データ列に付随した付随データとから構成され、開始アドレスAsから付随データが配置された後にアドレスA1から終了アドレスAeまでの範囲に複数の格子点データD31が格納された構造とされているものとする。なお、各格子点データをci,mi,yi,ki(iは1〜nの整数、n=N3)と表している。
まず、圧縮前に、複数の格子点データD31からなるデータ列をCMYK要素色別に階調データ全てを連続させるように並び替える。ここで、付随データはデータが並べ替えられない不変領域R1であり、複数の格子点データD31からなるデータ列は参照用の画像処理用データのうちデータが並べ替えられる並べ替え領域R2である。すると、図の中段に示すように、そのままとされる付随データの後でアドレスA1〜Aeの範囲にCMYK要素色別に階調データ全てが連続した色別階調データ群D32となるように(例えばYの階調データについてはy1,y2,…,yn)並び替えられる。これにより、所定の規則に従ってデータが並べ替えられ、圧縮前の3D-LUTとされる。
FIG. 8 schematically shows how a 3D-LUT data string is rearranged and compressed. This LUT is composed of a data string in which 32-bit grid point data D31 is repeated for all grid points in an uncompressed state, and accompanying data associated with the data string, and the accompanying data is obtained from the start address As. It is assumed that a plurality of grid point data D31 are stored in a range from the address A1 to the end address Ae after the arrangement. Each grid point data is represented as c i , m i , y i , k i (i is an integer from 1 to n, n = N 3 ).
First, before compression, a data string composed of a plurality of grid point data D31 is rearranged so that all the gradation data are continuous for each CMYK element color. Here, the accompanying data is an invariable region R1 in which data is not rearranged, and a data string composed of a plurality of grid point data D31 is a rearrangement region R2 in which data is rearranged in the reference image processing data. Then, as shown in the middle of the figure, after the accompanying data that is left as it is, the gradation data group D32 by color is obtained in which all gradation data for each CMYK element color is continuous in the range of addresses A1 to Ae (for example, Y gradation data is rearranged (y 1 , y 2 ,..., Y n ). Thereby, data is rearranged according to a predetermined rule, and it is set as 3D-LUT before compression.

その後、圧縮前の3D-LUTを所定の圧縮処理により圧縮して圧縮状態のLUTを生成し、上記所定の規則に従って並べ替え後に圧縮したことを表すヘッダ情報を付加する。すると、図の下段に示すように、開始アドレスからヘッダ情報D33が配置され、その後に圧縮状態のLUTが配置される。
ヘッダ情報D33は、さらに細かい単位のヘッダ情報であるデータD33a〜eから構成されている。ここで、データD33aは、データが圧縮されたことを表す所定ビット数のデータであり、例えば5〜10バイト程度の所定バイト数の乱数とされる。なお、圧縮されていないリソースについてはヘッダ情報自体が付加されないようになっており、リソースの開始アドレスから所定バイトを読み出して同乱数と一致するか否かを判別することにより、リソースが圧縮されているか否かを判断することができる。データD33bは、データが並べ替えられたか否かを表す所定ビット数のデータであり、例えば1バイトの所定コードが格納されるようになっている。3D-LUTの場合、D33bはデータが並べ替えられたことを表すデータとされる。なお、データが並べ替えられていない場合、同じ箇所に別の所定コードが格納される。データD33cは圧縮後のサイズを表す所定ビット数のデータであり、データD33dは解凍後すなわち参照用のLUTのサイズを表す所定ビット数のデータである。データD33eは、複数の格子点データD31からなるデータ列の開始アドレスA1を表す所定ビット数のデータである。すなわち、圧縮状態のLUTには、参照用の画像処理用データ中の並べ替え領域R2の位置を表すヘッダ情報が付加されていることになる。
Thereafter, the 3D-LUT before compression is compressed by a predetermined compression process to generate a compressed LUT, and header information indicating that the 3D-LUT is compressed after rearrangement according to the predetermined rule is added. Then, as shown in the lower part of the figure, header information D33 is arranged from the start address, and after that, a compressed LUT is arranged.
The header information D33 is composed of data D33a to e, which are header information in smaller units. Here, the data D33a is data having a predetermined number of bits indicating that the data has been compressed, and is a random number having a predetermined number of bytes, for example, about 5 to 10 bytes. Note that the header information itself is not added to the uncompressed resource, and the resource is compressed by reading out a predetermined byte from the start address of the resource and determining whether or not it matches the same random number. It can be determined whether or not. The data D33b is data having a predetermined number of bits indicating whether the data has been rearranged, and stores, for example, a predetermined code of 1 byte. In the case of a 3D-LUT, D33b is data indicating that the data has been rearranged. When the data is not rearranged, another predetermined code is stored at the same location. The data D33c is data having a predetermined number of bits indicating the size after compression, and the data D33d is data having a predetermined number of bits indicating the size of the LUT for reference after decompression. The data D33e is data of a predetermined number of bits representing the start address A1 of a data string composed of a plurality of grid point data D31. That is, header information indicating the position of the rearrangement region R2 in the reference image processing data is added to the compressed LUT.

参照用の3D-LUTを復元する際には、まず、リソースが圧縮状態であるか否かを判断する。圧縮状態のLUTにはヘッダ情報D33が付加されているので、同LUTは圧縮状態であると判別する。そして、圧縮状態のLUTを上記所定の圧縮処理に対応する所定の解凍処理により解凍し、圧縮前のLUTを復元する。
次に、圧縮状態のLUTに付加されたヘッダ情報に並び替えられて圧縮されたことを表す情報がヘッダ情報D33に含まれているか否かを判断する。同ヘッダ情報には並び替えられて圧縮されたことを表すデータD33bが付加されているので、同LUTは並び替えられて圧縮されていると判別する。また、同ヘッダ情報D33に並べ替え領域の位置を表す情報が含まれているか否かを判断する。同ヘッダ情報D33にはアドレスA1を表すデータD33eが含まれているので、並べ替え領域R2が設けられていると判別する。そして、並べ替え領域R2の上記圧縮前のLUTを並べ替えることによって、参照用の3D-LUTを復元する。すなわち、解凍したLUTの各格子点について上記格子点データD31を全格子点について繰り返させるように同解凍したLUTのデータ列を並べ替えることによって、参照用のLUTを生成する。
When restoring the reference 3D-LUT, first, it is determined whether or not the resource is in a compressed state. Since header information D33 is added to the compressed LUT, it is determined that the LUT is in the compressed state. Then, the compressed LUT is decompressed by a predetermined decompression process corresponding to the predetermined compression process, and the pre-compression LUT is restored.
Next, it is determined whether or not the header information D33 includes information indicating that the header information added to the compressed LUT is rearranged and compressed. Since the data D33b indicating that the header information is rearranged and compressed is added, it is determined that the LUT is rearranged and compressed. Further, it is determined whether or not the header information D33 includes information indicating the position of the rearrangement area. Since the header information D33 includes data D33e representing the address A1, it is determined that the rearrangement region R2 is provided. Then, the reference 3D-LUT is restored by rearranging the LUTs before compression in the rearrangement region R2. That is, a reference LUT is generated by rearranging the data string of the decompressed LUT so that the lattice point data D31 is repeated for all lattice points for each decompressed LUT.

画像処理用データに並べ替え領域の位置を表すヘッダ情報を付加することによって、同ヘッダ情報を参照することにより画像処理用データ中の並べ替え領域の位置を特定して当該領域のみデータを並べ替えることができるので、サイズをより小さくさせるように圧縮した画像処理用データを用いることが可能となる。
むろん、不変領域R1が設けられていない3D-LUTにも、本発明を適用可能である。この場合、並べ替え領域R2の開始アドレスA1を表すヘッダ情報を付加する必要はなくなり、ヘッダ情報のサイズを小さくさせることができる。
By adding header information indicating the position of the rearrangement area to the image processing data, the position of the rearrangement area in the image processing data is specified by referring to the header information, and the data is rearranged only in that area. Therefore, it is possible to use image processing data compressed so as to reduce the size.
Of course, the present invention can also be applied to a 3D-LUT in which the invariable region R1 is not provided. In this case, it is not necessary to add header information indicating the start address A1 of the rearrangement area R2, and the size of the header information can be reduced.

図9の上段は、圧縮されていない状態でのドット振り分けテーブルの構造を模式的に示している。ドット振り分けテーブルは、CMYKの複数の要素色に対応した階調データからなる画像データと、同CMYK各要素色別の大中小ドット(複数種類のドット)の形成量を表すデータ(階調値)と、の対応関係を同CMYK各要素色別に規定したテーブルとされている。図の上段の例はCのテーブルを示しており、他にMYKのテーブルも設けられている。同ドット振り分けテーブルは、CMYK各要素色別に階調データの各階調値について大中小のドット別の形成量を表すデータ全てを連続させて並べた複合データD34を全階調値について繰り返させたデータ列から構成されている。わかりやすく説明するため、テーブル中にドットを振り分ける前の階調値を示しているが、大中小各8ビットのドットの形成量を表す階調値のみが格納されており、ドットを振り分ける前の階調値に対応するアドレスから大中小24ビット分の階調データを参照することにより、256階調のCMYKデータを大中小ドット別のドットの形成量を表すデータに変換するようになっている。   The upper part of FIG. 9 schematically shows the structure of the dot allocation table in an uncompressed state. The dot sort table is image data consisting of gradation data corresponding to multiple CMYK element colors, and data (gradation values) representing the amount of large, medium, and small dots (multiple types of dots) for each CMYK element color Is a table that defines the corresponding relationship for each element color of the CMYK. The upper example in the figure shows a C table, and an MYK table is also provided. The dot distribution table is a data obtained by repeating composite data D34 in which all the data representing the formation amounts of large, medium, and small dots are continuously arranged for each gradation value of gradation data for each CMYK element color for all gradation values. It consists of columns. For the sake of simplicity, the table shows the gradation values before distributing the dots. However, only the gradation values representing the formation amounts of large, medium, and small 8-bit dots are stored, and before the dots are distributed. By referring to the gradation data for 24 bits of large, medium, and small from the address corresponding to the gradation value, CMYK data of 256 gradations is converted into data representing the dot formation amount for large, medium, and small dots. .

図の中段から下側は、圧縮する前にドット振り分けテーブルのデータ列を並べ替えて圧縮する様子を模式的に示している。なお、階調値別の複合データD34を、csi(Cの小ドット形成量)、cmi(Cの中ドット形成量)、cli(Cの大ドット形成量)等と表している。
圧縮前に、複数の複合データD34からなるデータ列を、ドットの種類別に形成量を表すデータ全てを連続させるように並び替える。すると、大中小ドット別に形成量を表すデータ全てが連続したドット種類別データ群D35となるように(例えばCの中ドットのデータについてはcs1,cs2,…,cs255)並び替えられる。これにより、所定の規則に従ってデータが並べ替えられ、圧縮前のドット振り分けテーブルとされる。
The lower side from the middle of the figure schematically shows how the data sequence of the dot allocation table is rearranged and compressed before compression. The composite data D34 for each gradation value is represented as cs i (C small dot formation amount), cm i (C medium dot formation amount), cl i (C large dot formation amount), and the like.
Prior to compression, the data string composed of a plurality of composite data D34 is rearranged so that all the data representing the formation amount for each dot type are made continuous. Then, all the data representing the formation amounts for large, medium, and small dots are rearranged so as to form a continuous dot type data group D35 (for example, cs 1 , cs 2 ,..., Cs 255 for C medium dot data). As a result, the data is rearranged according to a predetermined rule, and a dot distribution table before compression is obtained.

その後、圧縮前の上記テーブルを所定の圧縮処理により圧縮して圧縮状態のドット振り分けテーブルを生成し、上記所定の規則に従って並べ替え後に圧縮したことを表すヘッダ情報を付加する。すると、図の一番下側に示すように、開始アドレスからヘッダ情報D36が配置され、その後に圧縮状態のドット振り分けテーブルが配置される。
ヘッダ情報D36は、上述したデータD33a〜dと同様の、データが圧縮されたことを表すデータD36a、データが並べ替えられたか否かを表すデータD36b、圧縮後のサイズを表すデータD36c、解凍後のサイズを表すデータD36dから構成される。ドット振り分けテーブルの場合、データD36bはデータが並べ替えられたことを表すデータとされる。
Thereafter, the table before compression is compressed by a predetermined compression process to generate a dot distribution table in a compressed state, and header information indicating that compression is performed after rearrangement according to the predetermined rule is added. Then, as shown at the bottom of the figure, header information D36 is arranged from the start address, and then a dot distribution table in a compressed state is arranged.
The header information D36 is similar to the data D33a to d described above, the data D36a indicating that the data is compressed, the data D36b indicating whether the data has been rearranged, the data D36c indicating the size after compression, and the decompressed data The data D36d representing the size of In the case of the dot distribution table, the data D36b is data indicating that the data has been rearranged.

ここで、図10の上段に示すように、データが並べ替えられたか否かを表すデータ(D33b,D36b)に、画像処理用データに上記不変領域が設けられているか否かを表す情報を含めてもよい。この場合、並べ替えられたか否かを表すデータを、不変領域が設けられて並べ替え領域のデータが並べ替えられた場合に所定コード「C1」、不変領域が設けられずにデータ全体が並べ替えられた場合に所定コード「C2」、データが並べ替えられていない場合に所定コード「C3」、等とすればよい。ここで、C1,C2,C3は、互いに異なる値である。   Here, as shown in the upper part of FIG. 10, the data (D33b, D36b) indicating whether or not the data has been rearranged includes information indicating whether or not the invariant area is provided in the image processing data. May be. In this case, the data indicating whether or not the data is rearranged is the predetermined code “C1” when the invariant area is provided and the data in the rearrangement area is rearranged, and the entire data is rearranged without the invariant area being provided. The predetermined code “C2” may be used when the data is sorted, and the predetermined code “C3” may be set when the data is not rearranged. Here, C1, C2, and C3 are mutually different values.

参照用のテーブルを復元する際には、圧縮状態のドット振り分けテーブルを上記所定の圧縮処理に対応する所定の解凍処理により解凍し、圧縮前のドット振り分けテーブルを復元する。次に、解凍したドット振り分けテーブルの各階調値について複合データD34を全階調値について繰り返させるように同解凍したドット振り分けテーブルのデータ列を並べ替えることによって、参照用のドット振り分けテーブルを生成する。   When restoring the reference table, the dot distribution table in the compressed state is decompressed by a predetermined decompression process corresponding to the predetermined compression process, and the dot distribution table before compression is restored. Next, a reference dot distribution table is generated by rearranging the data sequence of the decompressed dot distribution table so that the composite data D34 is repeated for all gradation values for each gradation value of the decompressed dot distribution table. .

画像処理用データを圧縮する圧縮処理に複数の種類を設け、複数の画像処理用データのそれぞれに対応する種類の圧縮処理を行い、圧縮状態の画像処理用データを解凍する際には対応する解凍処理を行ってもよい。この場合、図10の下段に示すように、データが圧縮されたことを表すデータ(D33a,D36a)に、圧縮処理の種類を表す情報を含めてもよい。例えば、データが圧縮されたことを表す所定ビット数の乱数(ヘッダ情報の内容にかかわらず全て同じ共通の値)の後に圧縮処理の種類に対応した所定コード「C11」、「C12」、「C13」、等を付加すればよい。すると、ヘッダ情報に含まれる種類の圧縮処理に対応する解凍処理により、圧縮状態の画像処理用データを解凍することができる。   A plurality of types of compression processing for compressing image processing data are provided, a type of compression processing corresponding to each of the plurality of image processing data is performed, and when decompressing image processing data in a compressed state, corresponding decompression is performed. Processing may be performed. In this case, as shown in the lower part of FIG. 10, information indicating the type of compression processing may be included in data (D33a, D36a) indicating that the data has been compressed. For example, a predetermined code “C11”, “C12”, “C13” corresponding to the type of compression processing after a random number of a predetermined number of bits indicating that the data is compressed (the same common value regardless of the contents of the header information). Or the like. Then, the compressed image processing data can be decompressed by decompression processing corresponding to the type of compression processing included in the header information.

なお、上述した規則により3D-LUT等のやドット振り分けテーブルのデータを並べ替えると、上記色別階調データ群D32やドット種類別データ群D35の各階調値を順番にみたときに徐々に変化するデータとされる。   When the data of the 3D-LUT or the like and the dot distribution table are rearranged according to the above-described rules, the gradation values of the gradation data group D32 by color and the data group D35 by dot type change gradually when viewed in order. Data.

図11は、上記3D-LUTやドット振り分けテーブルを効率よく圧縮し、解凍する処理を示している。参照用の画像処理用データのデータ群D32,D36のビット列を8ビット(所定のビット数)毎にa0,a1,…,an(nは正の整数)で表すと、順次、
i=ai−ai-1(iは1〜nの整数) …(1)
により差分を算出する。算出結果biは、例えば4ビット等とビット数が減らされるが、負の値もあるため最上位を符号を表すビットとして例えば−8〜+7等の整数値とされる。
そして、a0を先頭として算出結果biを連続させて並べたデータ列、すなわち、a0,b1,b2,…,bn(圧縮データ群と呼ぶことにする)を、圧縮された画像処理用データのデータ列に含める。
以上の処理を全てのデータ群D33,D36について行い、圧縮状態の画像処理用データを生成する。
FIG. 11 shows a process for efficiently compressing and decompressing the 3D-LUT and the dot allocation table. When the bit sequence of the data groups D32 and D36 of the reference image processing data is represented by a 0 , a 1 ,..., An (n is a positive integer) every 8 bits (predetermined number of bits),
b i = a i -a i-1 (i is an integer of 1 to n) (1)
To calculate the difference. The calculation result b i is reduced to 4 bits, for example, and the number of bits is reduced. However, since there is a negative value, the most significant bit is set to an integer value such as −8 to +7, for example.
Then, a data string in which the calculation results b i are continuously arranged starting from a 0 , that is, a 0 , b 1 , b 2 ,..., B n (referred to as a compressed data group) is compressed. It is included in the data string of image processing data.
The above processing is performed for all the data groups D33 and D36, and compressed image processing data is generated.

解凍する際には、各圧縮データ群について、順次、b1〜bi(iは1〜nの整数)の総和から8ビット毎のaiを算出する。具体的には、
i=a0+Σbj(jは1〜iの整数) …(2)
となる。実際には、式(2)と等価の
i=ai-1+bi …(3)
を算出することによって、容易かつ迅速にaiを算出することができる。
そして、a0を先頭として算出結果ai1を連続させて並べたデータ列、すなわち、a0,a1,…,anを参照用の画像処理用データのデータ列に含める。
以上の処理を全ての圧縮データ群について行い、解凍後の参照用の画像処理用データを生成する。
When decompressing, for each compressed data group, a i for each 8 bits is calculated from the sum of b 1 to b i (i is an integer of 1 to n) sequentially. In particular,
a i = a 0 + Σb j (j is an integer from 1 to i) (2)
It becomes. Actually, a i = a i−1 + b i (3) equivalent to equation (2)
A i can be calculated easily and quickly.
Then, the data string consisting by continuous calculation result a i1 a top a 0, i.e., a 0, a 1, ..., included in the data sequence of the image processing data for reference to a n.
The above processing is performed for all the compressed data groups, and the decompressed reference image processing data is generated.

以上説明したように、3D-LUTやドット振り分けテーブルに適した圧縮処理の具体例を提供することができ、これらのテーブルについて差分を算出するという簡易な処理ながら良好な圧縮効率が得られ、また、簡易な処理である故に圧縮の処理時間が短くて済む。そして、圧縮効率の良好な3D-LUTやドット振り分けテーブルを用いて画像処理を行うことが可能となる。
また、上記圧縮データ群を含む画像処理用データについて、さらに別の圧縮処理を行ってもよい。すると、上記テーブルについて圧縮効率をより良好にさせ、さらに圧縮効率の良好な画像処理用データを用いて画像処理を行うことが可能となる。
As described above, specific examples of compression processing suitable for 3D-LUTs and dot allocation tables can be provided, and good compression efficiency can be obtained with simple processing of calculating differences for these tables, and Since the processing is simple, the compression processing time is short. Then, it is possible to perform image processing using a 3D-LUT or a dot allocation table with good compression efficiency.
Further, another compression process may be performed on the image processing data including the compressed data group. Then, it is possible to improve the compression efficiency of the table, and to perform image processing using the image processing data with further excellent compression efficiency.

(3)圧縮画像処理用データ生成処理と画像処理:
図12は、圧縮画像処理用データ生成装置が行う圧縮画像処理用データ生成処理を示すフローチャートである。HD等に記憶された圧縮画像処理用データ生成プログラムをRAMに読み出して起動すると、まず、複数の参照用のリソース(画像処理用データ)の中からインストール用のリソースを生成する対象リソースを設定する(ステップS105。以下、「ステップ」の記載を省略)。例えば、複数のリソースのそれぞれに対して異なる識別値を割り当てておき、所定の変数に対象とするリソースに対応する識別値を代入することにより、設定することができる。次に、対象リソースについて、圧縮前のサイズを取得する(S110)。
その後、対象リソースがデータを並べ替えるリソースであるか否かを判断する(S115)。例えば、データを並べ替えるリソースの種類を表す情報を格納したテーブルT1を予めHD等に記憶させておき、同テーブルT1を参照し、対象リソースを表す情報が同テーブルT1に格納されていれば条件成立と判断し、格納されていなければ条件不成立と判断することができる。条件成立時には図8や図9に例示したような所定の規則に従って参照用のリソースのデータを並べ替え(S120)、条件不成立時には参照用のリソースのデータを並べ替えずに、S125に進む。なお、リソース中の並べ替え領域のみのデータを並び替える場合には、並べ替え領域の開始アドレスのデータを取得するとともに、当該並べ替え領域のデータを所定の規則に従って並び替える。
(3) Data generation processing and image processing for compressed image processing:
FIG. 12 is a flowchart showing compressed image processing data generation processing performed by the compressed image processing data generation apparatus. When the compressed image processing data generation program stored in HD or the like is read out to the RAM and started, first, a target resource for generating an installation resource is set from a plurality of reference resources (image processing data). (Step S105. Hereinafter, description of “step” is omitted). For example, a different identification value can be assigned to each of a plurality of resources, and the identification value corresponding to the target resource can be assigned to a predetermined variable. Next, the size before compression is acquired for the target resource (S110).
Thereafter, it is determined whether the target resource is a resource for rearranging data (S115). For example, if a table T1 storing information indicating the type of resource for which data is rearranged is stored in advance in HD or the like, the table T1 is referenced, and information indicating the target resource is stored in the table T1. It is determined that the condition is satisfied, and if it is not stored, it can be determined that the condition is not satisfied. When the condition is satisfied, the reference resource data is rearranged according to a predetermined rule as illustrated in FIG. 8 or FIG. 9 (S120). When the condition is not satisfied, the process proceeds to S125 without rearranging the reference resource data. In the case of rearranging the data of only the rearrangement area in the resource, the data of the rearrangement area start address is acquired, and the data of the rearrangement area is rearranged according to a predetermined rule.

S125では、データが並び替えられた対象リソースまたはデータが並び替えられていない対象リソースについて、図11で例示したような所定の圧縮処理によりデータを圧縮して圧縮状態のリソースを生成する。なお、複数種類の圧縮処理が設けられている場合、例えば図13の上段に示すように、リソースの種類T21と圧縮処理の種類を表す情報T22との対応関係を規定した情報を格納した圧縮処理対応テーブルT2を予めHD等に記憶させておき、このテーブルT2を参照し、対象リソースに対応する圧縮処理の種類を表す情報を同テーブルT2から読み出し、当該情報に対応する圧縮処理(図10の下段に例示)を行う。ここで、リソースに対応して複数の圧縮処理が設けられているときには、S125が行われる毎に圧縮処理の種類を表す情報を先頭から順番に読み出すことにしている。従って、例えば対象リソースが3D-LUTであるとき、最初に圧縮処理の種類を表す情報「2」に対応する圧縮法による圧縮処理を行い、再びS125が行われることになると圧縮処理の種類を表す情報「1」に対応する圧縮法による圧縮処理を行う。   In S125, the target resource with the data rearranged or the target resource with no data rearranged is compressed by a predetermined compression process as illustrated in FIG. 11 to generate a compressed resource. When a plurality of types of compression processes are provided, for example, as shown in the upper part of FIG. 13, a compression process storing information defining the correspondence between the resource type T21 and the information T22 indicating the type of compression process. The correspondence table T2 is stored in advance in HD or the like, the information representing the type of compression processing corresponding to the target resource is read from the table T2 with reference to this table T2, and the compression processing corresponding to the information (in FIG. 10) (Exemplified in the lower row). Here, when a plurality of compression processes are provided corresponding to the resources, information indicating the type of the compression process is sequentially read from the top every time S125 is performed. Therefore, for example, when the target resource is a 3D-LUT, the compression processing by the compression method corresponding to the information “2” indicating the compression processing type is first performed, and when S125 is performed again, the compression processing type is represented. A compression process using a compression method corresponding to the information “1” is performed.

次に、図8や図9に例示したように、所定の圧縮処理により参照用のリソースから圧縮されたデータとされたことを表すデータや解凍後のリソースのサイズや圧縮後(圧縮状態)のリソースのサイズ等を含むヘッダ情報を仮に生成し、圧縮状態のリソースの先頭に付加する(S130)。ここで、S120でデータを並べ替えた場合、所定の規則に従って並べ替え後に圧縮されたことを表すヘッダ情報を付加するが、並べ替え領域のみのデータを並び替えたときにはその旨を表すヘッダ情報(図10では「C1」)を付加し、全データを並び替えたときにはその旨を表すヘッダ情報(「C2」)を付加する。一方、データを並べ替えなかった場合、データが並べ替えられずに圧縮されたことを表すヘッダ情報(「C3」)を付加する。なお、複数種類の圧縮処理が設けられている場合、例えば図13の下段に示すように、圧縮処理の種類を表す情報T31とヘッダ情報に付加する所定コードT32との対応関係を規定した情報を格納した圧縮処理コードテーブルT3を予めHD等に記憶させておき、同テーブルT3を参照し、行った圧縮処理の種類に対応する所定ビット数のコードを同テーブルT3から読み出し、当該コードをデータが圧縮されたことを表すデータ(図8や図9にD33a,D36aとして例示)の最後に含める。   Next, as illustrated in FIG. 8 and FIG. 9, data indicating that the data is compressed from the reference resource by a predetermined compression process, the size of the resource after decompression, and the compressed (compressed state) Header information including the resource size and the like is temporarily generated and added to the head of the compressed resource (S130). Here, when the data is rearranged in S120, header information indicating that the data has been compressed after the rearrangement is added according to a predetermined rule. However, when the data of only the rearrangement area is rearranged, header information indicating that ( In FIG. 10, “C1”) is added, and when all the data is rearranged, header information (“C2”) indicating that fact is added. On the other hand, when the data is not rearranged, header information (“C3”) indicating that the data is compressed without being rearranged is added. If a plurality of types of compression processing are provided, for example, as shown in the lower part of FIG. 13, information defining the correspondence between information T31 indicating the type of compression processing and a predetermined code T32 added to the header information is provided. The stored compression processing code table T3 is stored in advance in HD or the like, and a code having a predetermined number of bits corresponding to the type of compression processing performed is read from the table T3 with reference to the table T3. It is included at the end of the data representing compression (illustrated as D33a and D36a in FIGS. 8 and 9).

その後、圧縮処理後の圧縮状態のリソースのサイズを取得する(S135)。次に、圧縮状態のリソースのサイズが圧縮処理前の元のリソースのサイズよりも小さいか否かを判断する(S140)。条件成立時、RAM内またはHD内に設けたインストール用の画像処理用データの領域に圧縮したリソースを格納し(S145)、S160に進む。条件不成立時、圧縮前のリソースに対して行う他の圧縮処理があるか否かを判断する(S150)。例えば対象リソースに対応する圧縮処理の種類を表すデータが圧縮処理対応テーブルT2に複数あって実行していない圧縮処理があるとき条件成立となり、S125に戻る。条件不成立時、インストール用の画像処理用データの領域に元の参照用のリソースを格納し(S155)、S160に進む。S140〜S155の処理を行うことによって、複数の画像処理用データのそれぞれには、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされたときのみヘッダ情報が付加され、当該ヘッダ情報には、所定の規則に従って並べ替え後に圧縮されたか否かを表す情報が含まれることになる。   Thereafter, the size of the compressed resource after the compression processing is acquired (S135). Next, it is determined whether or not the size of the compressed resource is smaller than the size of the original resource before the compression process (S140). When the condition is satisfied, the compressed resource is stored in the image processing data area for installation provided in the RAM or HD (S145), and the process proceeds to S160. When the condition is not satisfied, it is determined whether there is another compression process to be performed on the resource before compression (S150). For example, when there is a plurality of data indicating the type of compression processing corresponding to the target resource in the compression processing correspondence table T2 and there is a compression processing that is not executed, the condition is satisfied, and the process returns to S125. When the condition is not satisfied, the original reference resource is stored in the image processing data area for installation (S155), and the process proceeds to S160. By performing the processing of S140 to S155, the header information is added to each of the plurality of image processing data only when the data is compressed from the reference image processing data by the predetermined compression processing. The header information includes information indicating whether or not the data has been compressed after rearrangement according to a predetermined rule.

S160では、全てのリソースについてインストール用のデータを生成したか否かを判断する。条件不成立時には、S105に戻ってインストール用のデータを生成していない他のリソースの中から対象リソースを設定し、上述した処理を繰り返す。条件成立時には、複数のインストール用のリソースと所定のプログラムとを合わせてプリンタドライバを生成し、HDに記憶するとともに、CD-ROM等の記録媒体に記録して(S165)、フローを終了する。
S140〜S155の処理を行うのは、圧縮処理を行ったことを表すヘッダ情報をリソースに付加することによって圧縮処理を行ってもリソースのサイズが元のサイズよりも小さくならないことがあるためである。その結果、圧縮処理によりサイズが小さくなる画像処理用データについてのみ圧縮処理を行っておき、圧縮処理によってはサイズが小さくならない画像処理用データについては圧縮処理を行わないようにすることができ、複数の画像処理用データに対して一律に同じ圧縮処理を行う場合よりも、画像処理用データのサイズがより小さくなる。また、複数の画像処理用データのそれぞれに対して適切な圧縮処理を行うことができるので、この点でも画像処理用データのサイズがより小さくなる。さらに、上述した3D-LUTのように並べ替え領域のみのデータを並べ替えることによって圧縮効率の大幅な向上が期待できる画像処理用データの場合、画像処理用データ全体に対して一律に同じ圧縮処理を行うときよりもサイズがより小さくなる。むろん、データを並べ替えることによって圧縮効率の大幅な向上が期待できる画像処理用データについて並べ替え後に圧縮処理を行うことにより、データを並べ替えずに圧縮処理を行うときよりもサイズがより小さくなる。特に、データを並べ替えてサイズが小さくなる画像処理用データについてはデータを並べ替え、データを並べ替えてもサイズが小さくならない画像処理用データについてはデータを並べ替えないようにすることにより、サイズがより小さくなる。従って、画像処理を行う際、よりサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。
In S160, it is determined whether installation data has been generated for all resources. When the condition is not satisfied, the process returns to S105, sets the target resource from other resources for which no installation data is generated, and repeats the above-described processing. When the conditions are satisfied, a printer driver is generated by combining a plurality of installation resources and a predetermined program, stored in the HD, and recorded in a recording medium such as a CD-ROM (S165), and the flow ends.
The processing of S140 to S155 is performed because the size of the resource may not be smaller than the original size even when the compression processing is performed by adding header information indicating that the compression processing has been performed to the resource. . As a result, it is possible to perform compression processing only for image processing data whose size is reduced by the compression processing, and not to perform compression processing for image processing data whose size is not reduced by the compression processing. The size of the image processing data is smaller than when the same compression processing is uniformly performed on the image processing data. In addition, since appropriate compression processing can be performed on each of the plurality of image processing data, the size of the image processing data is further reduced in this respect. Furthermore, in the case of image processing data that can be expected to greatly improve compression efficiency by rearranging data only in the rearrangement area, such as the 3D-LUT described above, the same compression processing is uniformly performed on the entire image processing data. The size is smaller than when performing. Of course, the size of the image processing data that can be expected to greatly improve the compression efficiency by rearranging the data is smaller than when the compression processing is performed without rearranging the data by performing the compression processing after the rearrangement. . In particular, by reordering the data for image processing data that is reduced in size by rearranging the data, and by preventing the data from being rearranged for image processing data that is not reduced in size even if the data is rearranged, Becomes smaller. Therefore, when image processing is performed, it is possible to perform predetermined image processing using image processing data having a smaller size.

図14は、画像処理装置が行う解凍処理を示すフローチャートである。HD等に記憶された画像処理プログラムをRAMに読み出して起動すると、例えばCD-ROMからインストール用のプリンタドライバを読み出してHD等に記憶する等により、上記記録媒体からインストール用のプリンタドライバを取得する(S205)。S205の処理を行うPC10は、圧縮情報取得手段を構成する。次に、複数のインストール用のリソース(画像処理用データ)の中から参照用のリソースを生成する対象リソースを設定する(S210)。
その後、対象リソースにヘッダ情報が付加されているか否かを判断する(S215)。例えば、図10で示した所定ビット数の乱数が対象リソースの先頭に格納されているか否か、すなわち、対象リソースの開始アドレスから同所定ビット数を読み出し、同乱数と同じであるか否かにより判断することができる。
ヘッダ情報が付加されていない場合、対象リソースは圧縮処理が行われていないことになる。そこで、RAM内等に設けた参照用の画像処理用データの領域に対象リソースをそのまま格納し(S220)、S250に進む。
FIG. 14 is a flowchart illustrating the decompression process performed by the image processing apparatus. When the image processing program stored in HD or the like is read out to the RAM and started, the printer driver for installation is acquired from the recording medium by reading the printer driver for installation from a CD-ROM and storing it in the HD or the like. (S205). The PC 10 that performs the process of S205 constitutes a compressed information acquisition unit. Next, a target resource for generating a reference resource from among a plurality of installation resources (image processing data) is set (S210).
Thereafter, it is determined whether header information is added to the target resource (S215). For example, whether or not the random number having the predetermined number of bits shown in FIG. 10 is stored at the beginning of the target resource, that is, whether the predetermined number of bits is read from the start address of the target resource and is the same as the random number Judgment can be made.
When header information is not added, the target resource is not compressed. Therefore, the target resource is stored as it is in the reference image processing data area provided in the RAM or the like (S220), and the process proceeds to S250.

ヘッダ情報が付加されている場合、対象リソースは所定の圧縮処理が行われていることになる。この場合、まず、ヘッダ情報にデータが並べ替えられて圧縮されたことを表す情報が含まれているか否かを判断する(S225)。例えば、図8や図9で示したデータが並べ替えられたか否かを表すデータが図10で示したコード「C1」または「C2」とされているか否かにより判断することができる。
データが並べ替えられていることになる条件成立時、まず、圧縮状態のリソースを、当該リソースに対して行われた圧縮処理に対応する所定の解凍処理により解凍する(S230)。複数種類の圧縮処理が設けられている場合、データが圧縮されたことを表すデータの最後の所定ビット数を読み出し、図13の下段に示した圧縮処理コードテーブルT3を参照し、このテーブルT3から圧縮処理の種類を表す情報を読み出し、当該情報に相当する圧縮処理に対応する解凍処理を行えばよい。次に、解凍したリソースのデータを、当該リソースに対して行われたデータの並べ替えの規則(図8と図9に例示)に合わせて並べ替えて参照用のリソースを生成し(S235)、S245に進む。リソース中の並べ替え領域のみのデータを並び替えた場合、例えば、ヘッダ情報に図10に示すコード「C1」が含まれているか否かを判断して含まれていると判別した場合、ヘッダ情報から並べ替え領域の開始アドレスのデータを取得するとともに、当該並べ替え領域のデータを所定の規則に合わせて並び替える。
When header information is added, the target resource is subjected to predetermined compression processing. In this case, first, it is determined whether or not the header information includes information indicating that the data has been rearranged and compressed (S225). For example, the determination can be made based on whether the data indicating whether the data shown in FIGS. 8 and 9 has been rearranged is the code “C1” or “C2” shown in FIG.
When the condition that the data is rearranged is satisfied, first, the resource in the compressed state is decompressed by a predetermined decompression process corresponding to the compression process performed on the resource (S230). When a plurality of types of compression processing are provided, the last predetermined number of bits indicating that the data has been compressed is read out, and the compression processing code table T3 shown in the lower part of FIG. Information indicating the type of compression processing may be read and decompression processing corresponding to the compression processing corresponding to the information may be performed. Next, the decompressed resource data is rearranged according to the data rearrangement rule (illustrated in FIGS. 8 and 9) performed on the resource to generate a reference resource (S235). The process proceeds to S245. When the data of only the rearrangement area in the resource is rearranged, for example, when it is determined whether the header information includes the code “C1” shown in FIG. The data of the start address of the rearrangement area is acquired from the above, and the data of the rearrangement area is rearranged according to a predetermined rule.

一方、S225で条件不成立時、圧縮状態のリソースはデータが並べ替えられていないことになる。この場合、S230と同様の解凍処理を行い、対象リソースを解凍することによってデータを並べ替えることなく参照用のリソースを生成し(S240)、S245に進む。
S245では、生成した参照用のリソースを、上記参照用の画像処理用データの領域に格納し、S250に進む。
S250では、全てのリソースについて参照用の画像処理用データの領域にリソースを格納したか否かを判断する。条件不成立時には、S210に戻って参照用の画像処理用データの領域に格納していない他のリソースの中から対象リソースを設定し、上述した処理を繰り返す。条件成立時には、複数の参照用のリソースと所定のプログラムとを合わせてプリンタドライバを生成し、HDに記憶して、フローを終了する。
S210〜S250の処理を行うPC10は、解凍手段を構成することになる。
On the other hand, when the condition is not satisfied in S225, the data in the compressed resource is not rearranged. In this case, the decompression process similar to S230 is performed, and the reference resource is generated without rearranging the data by decompressing the target resource (S240), and the process proceeds to S245.
In S245, the generated reference resource is stored in the reference image processing data area, and the process proceeds to S250.
In S250, it is determined whether or not resources have been stored in the reference image processing data area for all resources. When the condition is not satisfied, the process returns to S210, sets the target resource from other resources not stored in the reference image processing data area, and repeats the above-described processing. When the condition is satisfied, a printer driver is generated by combining a plurality of reference resources and a predetermined program, stored in the HD, and the flow ends.
The PC 10 that performs the processes of S210 to S250 constitutes a thawing unit.

プリンタドライバをインストールすると、図4で示した印刷制御処理を行うことにより、複数の参照用の画像処理用データを参照して画像データを変換し、変換後の画像データに基づいて当該画像データに対応する画像をプリンタに印刷させることができる。
以上の処理により、一つの解凍ロジックで、非圧縮、圧縮のみ、データ並び替え後圧縮の3通りの処理が行われたリソースから参照用のリソースを生成することができる。これによって、並べ替えのできないリソースも圧縮しておくことができるようになり、リソースのタイプに最適な方法で解凍ロジックに渡すデータを準備することができるし、どのような処理がされたものなのか特に意識せずに解凍ロジックに渡せるため、便利である。
When the printer driver is installed, the print control process shown in FIG. 4 is performed to convert the image data with reference to a plurality of reference image processing data, and the image data is converted into the image data based on the converted image data. The corresponding image can be printed on the printer.
With the above processing, a reference resource can be generated from a resource that has been subjected to three types of processing: uncompressed, compressed only, and compressed after data rearrangement, with a single decompression logic. This makes it possible to compress resources that cannot be reordered, prepare the data to be passed to the decompression logic in a way that is optimal for the type of resource, and what processing has been done. It is convenient because it can be passed to the decompression logic without being particularly conscious.

本発明によると、以下のような有用な効果が得られる。
ヘッダ情報の付加の有無を判断することにより画像処理用データが圧縮されているか否かを判別することができる。すると、圧縮処理によりサイズが小さくなる画像処理用データについては圧縮処理を行っておき、圧縮処理によってはサイズが小さくならない画像処理用データについては圧縮処理を行わないようにすることができ、特に、複数の画像処理用データがある場合には各画像処理用データについてサイズがより小さくなるように処理を行っておくことができるので、データサイズのより小さい画像処理用データを用いた画像処理を行うことが可能となる。
また、ヘッダ情報を参照することにより画像処理用データの圧縮処理前におけるデータの並べ替えの有無を判別することができる。すると、データを並べ替えることによってサイズが小さくなる画像処理用データについてはデータを並べ替え、データを並べ替えてもサイズが小さくならない画像処理用データについてはデータを並べ替えないようにすることができ、特に、複数の画像処理用データがある場合には各画像処理用データについてサイズがより小さくなるように処理を行っておくことができるので、この点でデータサイズがさらに小さい画像処理用データを用いた画像処理を行うことが可能となる。
さらに、画像処理用データ中に並べ替え領域と不変領域とを設けることにより、データを並べ替えることによってサイズが小さくなる領域を並べ替え領域としてデータを並べ替え、データを並べ替えてもサイズが小さくならない領域を不変領域としてデータを並べ替えないようにすることができ、この点でデータサイズがさらに小さい画像処理用データを用いた画像処理を行うことが可能となる。
さらに、画像処理用データに対して複数種類の圧縮処理を行っておくことができるので、データサイズをより小さくさせる圧縮処理により圧縮された画像処理用データを用いた画像処理を行うことが可能となる。
なお、並べ替え後に圧縮されたか否かを表す情報をヘッダ情報としたり、並べ替え領域の位置を表す情報をヘッダ情報としたり、圧縮処理の種類を表す情報をヘッダ情報とすることによって、圧縮状態の画像処理用データのデータ列の先頭から若干のデータを読み出すだけでこれらの情報を迅速に取得して解凍等の必要な処理を行うことができる。ここで、これらの情報をヘッダ情報以外の形式で画像処理用データに対応付けると、画像処理用データに付随したこれらの情報を取得するために当該画像処理用データを検索する処理が必要となるため処理が複雑になるとともに処理時間もかかることになる。これらの情報をヘッダ情報として付加することにより、解凍等の処理を簡素化させ、処理時間が短くて済むことになる。
According to the present invention, the following useful effects can be obtained.
By determining whether or not header information is added, it is possible to determine whether or not the image processing data is compressed. Then, the compression processing can be performed on the image processing data whose size is reduced by the compression processing, and the compression processing is not performed on the image processing data whose size is not reduced depending on the compression processing. If there is a plurality of image processing data, each image processing data can be processed so that the size is smaller, so image processing using image processing data having a smaller data size is performed. It becomes possible.
Further, by referring to the header information, it is possible to determine whether or not the data is rearranged before the compression processing of the image processing data. Then, data can be rearranged for image processing data that is reduced in size by rearranging data, and data can be prevented from being rearranged for image processing data that does not decrease in size when data is rearranged. In particular, when there are a plurality of image processing data, the image processing data can be processed so that the size of each image processing data becomes smaller. It is possible to perform the used image processing.
Further, by providing a rearrangement area and an immutable area in the image processing data, the data is rearranged using the area whose size is reduced by rearranging the data as the rearrangement area. It is possible to prevent the data from being rearranged by setting the non-changeable area as an invariable area, and in this respect, it is possible to perform image processing using image processing data having a smaller data size.
Furthermore, since multiple types of compression processing can be performed on the image processing data, it is possible to perform image processing using the image processing data compressed by the compression processing that further reduces the data size. Become.
It is to be noted that information indicating whether or not the data has been compressed after sorting is used as header information, information indicating the position of the sorting area is used as header information, and information indicating the type of compression processing is used as header information. This information can be quickly acquired and necessary processing such as decompression can be performed simply by reading some data from the beginning of the data sequence of the image processing data. Here, if these pieces of information are associated with the image processing data in a format other than the header information, it is necessary to search the image processing data in order to acquire the information attached to the image processing data. Processing becomes complicated and processing time is also required. By adding these pieces of information as header information, processing such as decompression can be simplified and processing time can be shortened.

(4)変形例:
なお、本発明を実施する際に使用可能なコンピュータと画像出力装置は、様々な構成が可能である。
例えば、プリンタは、コンピュータと一体化されたものであってもよいし、単色画像のみを印刷する専用品であってもよい。むろん、印刷装置以外にも、所定の色空間で表現される画像を表示する表示装置を本発明にいう画像出力装置としてもよい。
(4) Modification:
The computer and the image output apparatus that can be used when carrying out the present invention can have various configurations.
For example, the printer may be integrated with a computer or may be a dedicated product that prints only a single color image. Of course, in addition to the printing device, a display device that displays an image expressed in a predetermined color space may be used as the image output device according to the present invention.

図15は、変形例にかかる圧縮画像処理用データ生成装置が行う処理を示すフローチャートである。図12のS105〜S115と同じ処理を行い、対象リソースがデータを並べ替えるリソースであると判断すると、まず、S125同様の圧縮処理を行い(S305)、S130同様の処理にてヘッダ情報を生成してリソースに付加し(S310)、S135同様の処理にて圧縮処理後のリソースのサイズを取得する(S315)。その後、S120同様の処理にて元の参照用のリソースのデータを並べ替え(S320)、S305と同じ種類の圧縮処理を行い(S325)、S310同様の処理にてヘッダ情報を生成してリソースに付加し(S330)、S315同様の処理にて圧縮処理後のリソースのサイズを取得する(S335)。   FIG. 15 is a flowchart illustrating processing performed by the compressed image processing data generation device according to the modification. When the same processing as S105 to S115 in FIG. 12 is performed and it is determined that the target resource is a resource for rearranging data, first, compression processing similar to S125 is performed (S305), and header information is generated by processing similar to S130. Are added to the resource (S310), and the size of the resource after the compression processing is obtained by the same processing as S135 (S315). Thereafter, the original reference resource data is rearranged in the same process as in S120 (S320), the same type of compression process as in S305 is performed (S325), and the header information is generated in the same process as in S310 to generate resources. Add (S330), and acquire the size of the resource after the compression processing by the same processing as S315 (S335).

そして、生成した二種類の圧縮状態のリソースのサイズの大小に応じて処理を分岐させる(S340)。並べ替え後に圧縮したリソースのサイズが並べ替え無しに圧縮したリソースのサイズよりも小さい場合、RAM内等に設けたインストール用の画像処理用データの領域に並べ替え後に圧縮したリソースを格納し(S345)、S160に進む。一方、並べ替え後に圧縮したリソースのサイズが並べ替え無しに圧縮したリソースのサイズ以上の場合、インストール用の画像処理用データの領域にデータを並べ替えずに圧縮したリソースを格納し(S350)、S160に進む。   Then, the process is branched according to the size of the generated two types of compressed resources (S340). When the size of the resource compressed after the rearrangement is smaller than the size of the resource compressed without the rearrangement, the resource compressed after the rearrangement is stored in the area of the image processing data for installation provided in the RAM or the like (S345). ), Go to S160. On the other hand, if the size of the resource compressed after the rearrangement is equal to or larger than the size of the resource compressed without the rearrangement, the compressed resource without rearranging the data is stored in the image processing data area for installation (S350). The process proceeds to S160.

画像処理装置では、ヘッダ情報を参照することにより画像処理用データの圧縮処理前におけるデータの並べ替えの有無を判別することができる。
以上の処理を行うことにより、自動的に、データを並べ替えることによってサイズが小さくなる画像処理用データについてのみ並べ替えられ、データを並べ替えてもサイズが小さくならない画像処理用データについては並べ替えられない。従って、データサイズがさらに小さい画像処理用データを用いた画像処理を行うことが可能となる。
以上説明したように、本発明によると、種々の態様により、よりデータサイズの小さい画像処理用データを用いて所定の画像処理を行うことが可能となる。
In the image processing apparatus, whether or not data is rearranged before the compression processing of the image processing data can be determined by referring to the header information.
By performing the above processing, only image processing data that is reduced in size by rearranging data is automatically rearranged, and image processing data that is not reduced in size even if data is rearranged. I can't. Therefore, it is possible to perform image processing using image processing data having a smaller data size.
As described above, according to the present invention, it is possible to perform predetermined image processing using image processing data having a smaller data size according to various aspects.

画像処理システムの概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of an image processing system. 印刷システムの概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of a printing system. プリンタの概略構成を示すブロック図。FIG. 2 is a block diagram illustrating a schematic configuration of a printer. 画像処理装置が行う処理を示すフローチャート。5 is a flowchart showing processing performed by the image processing apparatus. 画像処理装置の構成を模式的に示す図。The figure which shows the structure of an image processing apparatus typically. 圧縮画像処理用データ生成方法を模式的に示す図。The figure which shows typically the data generation method for compressed image processing. 圧縮されていない状態での3D-LUTの構造を模式的に示す図。The figure which shows typically the structure of 3D-LUT in the state which is not compressed. 3D-LUTのデータ列を並べ替えて圧縮する様子を模式的に示す図。The figure which shows typically a mode that the data sequence of 3D-LUT is rearranged and compressed. ドット振り分けテーブルのデータ列を並べ替えて圧縮する様子の模式図。The schematic diagram of a mode that rearranges and compresses the data row | line | column of a dot allocation table. ヘッダ情報に含まれるデータの構造を模式的に示す図。The figure which shows typically the structure of the data contained in header information. テーブルを効率よく圧縮し、解凍する処理を模式的に示す図。The figure which shows typically the process which compresses a table efficiently and decompress | decompresses. 圧縮画像処理用データ生成処理を示すフローチャート。7 is a flowchart showing compressed image processing data generation processing. 圧縮処理対応テーブルと圧縮処理コードテーブルの構造の模式図。The schematic diagram of the structure of a compression process corresponding | compatible table and a compression process code table. 解凍処理を示すフローチャート。The flowchart which shows a decompression | decompression process. 変形例における圧縮画像処理用データ生成処理を示すフローチャート。The flowchart which shows the data generation process for compressed image processing in a modification.

符号の説明Explanation of symbols

10…パーソナルコンピュータ(PC)、11…CPU、12…ROM、13…RAM、14…ハードディスク(HD)、20…インクジェットプリンタ(印刷装置)、D1,D2…画像処理用データ、D22…ドット振り分けテーブル、D23…インク重量補正テーブル、D31…格子点データ、D32…色別階調データ群、D33,D36…ヘッダ情報、D34…複合データ、D35…ドット種類別データ群、R1…不変領域、R2…並べ替え領域、U0…画像処理システム、U1…圧縮画像処理用データ生成装置、U2…画像処理装置、U21…画像入力部、U22…色変換部、U23…ハーフトーン処理部、U24…ラスタライズ処理部、U25…ラスタデータ出力部、U26…圧縮情報取得手段、U27…解凍手段 DESCRIPTION OF SYMBOLS 10 ... Personal computer (PC), 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Hard disk (HD), 20 ... Inkjet printer (printing apparatus), D1, D2 ... Image processing data, D22 ... Dot distribution table D23: Ink weight correction table, D31: Lattice point data, D32: Tone data group by color, D33, D36 ... Header information, D34 ... Composite data, D35 ... Data group by dot type, R1 ... Invariant region, R2 ... Rearrangement area, U0 ... image processing system, U1 ... compressed image processing data generation device, U2 ... image processing device, U21 ... image input unit, U22 ... color conversion unit, U23 ... halftone processing unit, U24 ... rasterization processing unit , U25 ... raster data output unit, U26 ... compression information acquisition means, U27 ... decompression means

Claims (14)

所定の画像処理用データに基づいて、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理装置であって、
上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされるとともに、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表すヘッダ情報が付加され、
上記圧縮された画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍手段と、
生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換手段とを備えることを特徴とする画像処理装置。
Based on predetermined image processing data, image data consisting of gradation data corresponding to a plurality of element colors for each of a plurality of pixels corresponds to a plurality of other element colors representing the output image of the image output device. An image processing apparatus that converts image data consisting of processed data,
The image processing data is compressed from the reference image processing data by a predetermined compression process, and header information indicating whether the data is rearranged and compressed according to a predetermined rule is added. And
Information indicating that the compressed image processing data is decompressed by decompression processing corresponding to the compression processing and the header information added to the compressed image processing data is rearranged and compressed. Decompressing means for generating the image processing data for reference by rearranging the decompressed image processing data according to the predetermined rule only when
An image processing apparatus comprising: conversion means for converting the image data with reference to the generated image processing data for reference.
所定の画像処理用データに基づいて、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理装置であって、
上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされたときのみヘッダ情報が付加され、当該ヘッダ情報には、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表す情報が含まれ、
上記画像処理用データに上記ヘッダ情報が付加されているとき、同画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同ヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって上記参照用の画像処理用データを生成し、上記画像処理用データに上記ヘッダ情報が付加されていないとき、同画像処理用データを上記参照用の画像処理用データとする解凍手段と、
上記参照用の画像処理用データを参照して上記画像データを変換する変換手段とを備えることを特徴とする画像処理装置。
Based on predetermined image processing data, image data consisting of gradation data corresponding to a plurality of element colors for each of a plurality of pixels corresponds to a plurality of other element colors representing the output image of the image output device. An image processing apparatus that converts image data consisting of processed data,
The image processing data is added with header information only when the data is compressed from the reference image processing data by a predetermined compression process. The header information is rearranged according to a predetermined rule. Information indicating whether or not
When the header information is added to the image processing data, information indicating that the image processing data is decompressed by decompression processing corresponding to the compression processing and is rearranged and compressed into the header information. The image processing data for reference is generated by rearranging the decompressed image processing data according to the predetermined rule only when the header information is included, and the header information is added to the image processing data. When the image processing data is the reference image processing data,
An image processing apparatus comprising: conversion means for converting the image data with reference to the reference image processing data.
上記参照用の画像処理用データには、上記圧縮処理の際にデータが並べ替えられる並べ替え領域とデータが並べ替えられない不変領域とが設けられ、
上記圧縮された画像処理用データには、上記参照用の画像処理用データ中の上記並べ替え領域の位置を表すヘッダ情報が付加され、
上記解凍手段は、上記圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替え領域の位置を表す情報が含まれているとき、当該情報に含まれる並べ替え領域の上記解凍した画像処理用データを並べ替えることによって、上記参照用の画像処理用データを生成することを特徴とする請求項1または請求項2に記載の画像処理装置。
The reference image processing data is provided with a rearrangement area where data is rearranged during the compression process and an invariant area where data is not rearranged,
Header information indicating the position of the rearrangement area in the reference image processing data is added to the compressed image processing data,
The decompression means, when the header information added to the compressed image processing data includes information indicating the position of the rearrangement area, the decompressed image processing of the rearrangement area included in the information The image processing apparatus according to claim 1, wherein the image processing data for reference is generated by rearranging the data for use.
上記圧縮処理には、複数の種類が設けられ、
上記圧縮された画像処理用データには、上記参照用の画像処理用データからの上記圧縮処理の種類を表すヘッダ情報が付加され、
上記解凍手段は、上記圧縮された画像処理用データに付加されたヘッダ情報に上記圧縮処理の種類を表す情報が含まれているとき、当該情報に含まれる種類の圧縮処理に対応する解凍処理により同圧縮された画像処理用データを解凍することを特徴とする請求項1〜請求項3のいずれかに記載の画像処理装置。
The compression process is provided with a plurality of types.
Header information indicating the type of compression processing from the image processing data for reference is added to the compressed image processing data,
When the header information added to the compressed image processing data includes information indicating the type of compression processing, the decompression means performs decompression processing corresponding to the type of compression processing included in the information. 4. The image processing apparatus according to claim 1, wherein the compressed image processing data is decompressed.
上記画像処理用データは複数からなるとともに、同複数の画像処理用データのそれぞれに対して所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされたときのみヘッダ情報が付加され、当該ヘッダ情報には、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表す情報が含まれ、
上記解凍手段は、上記複数の画像処理用データのそれぞれについて、同画像処理用データに上記ヘッダ情報が付加されているときに上記参照用の画像処理用データを生成し、同画像処理用データに上記ヘッダ情報が付加されていないときに同画像処理用データを上記参照用の画像処理用データとすることを特徴とする請求項2に記載の画像処理装置。
The image processing data is composed of a plurality of pieces, and header information is added only when each of the plurality of pieces of image processing data is compressed from the reference image processing data by a predetermined compression process. The header information includes information indicating whether or not the data is rearranged and compressed according to a predetermined rule.
For each of the plurality of image processing data, the decompression means generates the reference image processing data when the header information is added to the image processing data, and generates the reference image processing data. 3. The image processing apparatus according to claim 2, wherein the image processing data is used as the reference image processing data when the header information is not added.
上記参照用の画像処理用データには、上記複数の要素色に対応した階調データからなる画像データと上記別の複数の要素色に対応した階調データからなる画像データとの対応関係を複数の格子点について規定するとともに各格子点について要素色別の階調データ全てを連続させて並べた格子点データを全格子点について繰り返させたデータ列からなる色変換テーブルが含まれ、
上記圧縮された画像処理用データには、上記色変換テーブルのデータ列が上記要素色別に階調データ全てを連続させるように並び替えられて上記圧縮処理により圧縮された色変換テーブルが含まれ、当該圧縮された色変換テーブルには、上記所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報が付加され、
上記解凍手段は、上記圧縮された色変換テーブルを上記圧縮処理に対応する解凍処理により解凍するとともに同解凍した色変換テーブルの各格子点について要素色別の階調データ全てを連続させて並べた格子点データを全格子点について繰り返させるように同解凍した色変換テーブルのデータ列を並べ替えることによって、上記参照用の色変換テーブルを生成し、
上記変換手段は、上記参照用の色変換テーブルを参照して上記画像データを色変換することを特徴とする請求項5に記載の画像処理装置。
The reference image processing data includes a plurality of correspondence relationships between image data composed of gradation data corresponding to the plurality of element colors and image data composed of gradation data corresponding to the plurality of other element colors. Including a color conversion table consisting of a data string in which grid point data in which all the gradation data for each element color are continuously arranged and arranged for each grid point is repeated for all grid points.
The compressed image processing data includes a color conversion table in which the data sequence of the color conversion table is rearranged so that all the gradation data is continuous for each element color and compressed by the compression process, The compressed color conversion table is appended with header information indicating that the data has been rearranged and compressed according to the predetermined rule,
The decompression means decompresses the compressed color conversion table by a decompression process corresponding to the compression process and arranges all gradation data for each element color continuously for each grid point of the decompressed color conversion table. The color conversion table for reference is generated by rearranging the data sequence of the color conversion table that has been decompressed so as to repeat the grid point data for all grid points,
The image processing apparatus according to claim 5, wherein the conversion unit performs color conversion on the image data with reference to the reference color conversion table.
上記参照用の画像処理用データには、上記別の複数の要素色に対応した階調データからなる画像データと同要素色別の複数種類のドットの形成量を表すデータとの対応関係を同要素色別に規定するとともに各要素色に対応した階調データの各階調値について同複数種類のドット別の形成量を表すデータ全てを連続させて並べた複合データを全階調値について繰り返させたデータ列からなるドット振り分けテーブルが含まれ、
上記圧縮された画像処理用データには、上記ドット振り分けテーブルのデータ列が上記ドットの種類別に形成量を表すデータ全てを連続させるように並び替えられて上記圧縮処理により圧縮されたドット振り分けテーブルが含まれ、当該圧縮されたドット振り分けテーブルには、上記所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報が付加され、
上記解凍手段は、上記圧縮されたドット振り分けテーブルを上記圧縮処理に対応する解凍処理により解凍するとともに同解凍したドット振り分けテーブルの各階調値についてドットの種類別の形成量を表すデータ全てを連続させて並べた複合データを全階調値について繰り返させるように同解凍したドット振り分けテーブルのデータ列を並べ替えることによって、上記参照用のドット振り分けテーブルを生成し、
上記変換手段は、上記参照用のドット振り分けテーブルを参照して上記画像データを変換することを特徴とする請求項5または請求項6に記載の画像処理装置。
The image processing data for reference has the same correspondence relationship between the image data composed of the gradation data corresponding to the plurality of other element colors and the data representing the formation amounts of a plurality of types of dots for the same element colors. The composite data in which all the data representing the formation amount for each of the plurality of types of dots is continuously arranged for each gradation value of the gradation data corresponding to each element color is repeated for all gradation values. Includes a dot sorting table consisting of data strings,
In the compressed image processing data, there is a dot sorting table in which the data row of the dot sorting table is rearranged so that all the data representing the formation amount for each type of dot is continuous and compressed by the compression processing. Included in the compressed dot allocation table is added header information indicating that the data has been rearranged and compressed according to the predetermined rule,
The decompression means decompresses the compressed dot allocation table by a decompression process corresponding to the compression process, and continues all data representing the formation amount for each type of dot for each gradation value of the decompressed dot allocation table. The dot distribution table for reference is generated by rearranging the data array of the dot distribution table that has been decompressed so that the composite data arranged in a repeated manner is repeated for all gradation values,
The image processing apparatus according to claim 5, wherein the conversion unit converts the image data with reference to the reference dot allocation table.
上記圧縮された色変換テーブルには、上記参照用の画像処理用データのビット列を所定のビット数毎にa0,a1,…,an(nは正の整数)で表すとき、順次ai−ai-1(iは1〜nの整数)を算出してビット数を減らした算出結果biを連続させて並べたデータ列が含まれ、
上記解凍手段は、順次、上記算出結果b1〜bi(iは1〜nの整数)の総和から上記所定のビット数毎のaiを算出して連続させて並べることにより上記圧縮された色変換テーブルを解凍することを特徴とする請求項6または請求項7に記載の画像処理装置。
In the compressed color conversion table, when the bit sequence of the image processing data for reference is represented by a 0 , a 1 ,..., An (n is a positive integer) for each predetermined number of bits, a a data string in which calculation results b i obtained by calculating i −a i-1 (i is an integer of 1 to n) and reducing the number of bits are continuously arranged are included,
The decompression means calculates the compressed values by sequentially calculating a i for each predetermined number of bits from the total sum of the calculation results b 1 to b i (i is an integer of 1 to n) and arranging them in succession. 8. The image processing apparatus according to claim 6, wherein the color conversion table is decompressed.
所定の圧縮処理により参照用の画像処理用データを圧縮して圧縮状態の画像処理用データを生成する圧縮画像処理用データ生成装置と、
上記圧縮状態の画像処理用データから上記参照用の画像処理用データを生成し、この参照用の画像処理用データを参照することによって、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理装置とから構成される画像処理システムであって、
上記圧縮画像処理用データ生成装置は、上記参照用の画像処理用データを所定の規則に従って並べ替えて圧縮して上記圧縮状態の画像処理用データを生成可能であり、同並べ替えて圧縮したときに生成した圧縮状態の画像処理用データに同所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報を付加し、
上記画像処理装置は、
上記圧縮状態の画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮状態の画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍手段と、
生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換手段とを備えることを特徴とする画像処理システム。
A compressed image processing data generating device that compresses reference image processing data by a predetermined compression process to generate compressed image processing data; and
By generating the reference image processing data from the compressed image processing data and referring to the reference image processing data, a plurality of pixels corresponding to a plurality of element colors are obtained. An image processing system configured to convert image data composed of tone data into image data composed of data corresponding to a plurality of other element colors representing an output image of the image output device,
The compressed image processing data generation device can generate the compressed image processing data by rearranging and compressing the reference image processing data according to a predetermined rule. Header information indicating that the data is rearranged and compressed in accordance with the predetermined rule is added to the compressed image processing data generated in
The image processing apparatus includes:
Information indicating that the compressed image processing data is decompressed by decompression processing corresponding to the compression processing and the header information added to the compressed image processing data is rearranged and compressed. Decompressing means for generating the image processing data for reference by rearranging the decompressed image processing data according to the predetermined rule only when
An image processing system comprising: conversion means for converting the image data with reference to the generated image processing data for reference.
所定の圧縮処理により参照用の画像処理用データから圧縮された圧縮状態の画像処理用データから同参照用の画像処理用データを生成し、この参照用の画像処理用データを参照することによって、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理装置に用いられる同圧縮状態の画像処理用データを生成する圧縮画像処理用データ生成装置であって、
上記画像処理装置は、上記圧縮状態の画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮状態の画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍手段と、生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換手段とを備えており、
本圧縮画像処理用データ生成装置は、上記参照用の画像処理用データを所定の規則に従って並べ替えて圧縮して上記圧縮状態の画像処理用データを生成可能であり、同並べ替えて圧縮したときに生成した圧縮状態の画像処理用データに同所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報を付加することを特徴とする圧縮画像処理用データ生成装置。
By generating the image processing data for reference from the compressed image processing data compressed from the reference image processing data by a predetermined compression process, and referring to the reference image processing data, An image for converting image data composed of gradation data corresponding to a plurality of element colors for a plurality of pixels into image data composed of data corresponding to a plurality of other element colors representing an output image of the image output apparatus A compressed image processing data generation device for generating image processing data in the same compression state used in a processing device,
The image processing apparatus decompresses the compressed image processing data by a decompression process corresponding to the compression process, and rearranges and compresses the compressed image processing data into header information added to the compressed image processing data. The decompression means for generating the reference image processing data by rearranging the decompressed image processing data according to the predetermined rule only when the information indicating that the information is included, and the generated decompression means Conversion means for converting the image data with reference to the image processing data for reference,
The compressed image processing data generation device can generate the compressed image processing data by rearranging and compressing the reference image processing data in accordance with a predetermined rule. A compressed image processing data generation device, wherein header information indicating that the data has been rearranged and compressed according to the predetermined rule is added to the compressed image processing data generated in step (b).
所定の画像処理用データに基づいて、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理方法であって、
上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされるとともに、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表すヘッダ情報が付加され、
上記圧縮された画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍工程と、
生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換工程とを備えることを特徴とする画像処理方法。
Based on predetermined image processing data, image data consisting of gradation data corresponding to a plurality of element colors for each of a plurality of pixels corresponds to a plurality of other element colors representing the output image of the image output device. An image processing method for converting to image data composed of processed data,
The image processing data is compressed from the reference image processing data by a predetermined compression process, and header information indicating whether the data is rearranged and compressed according to a predetermined rule is added. And
Information indicating that the compressed image processing data is decompressed by decompression processing corresponding to the compression processing and the header information added to the compressed image processing data is rearranged and compressed. The decompression step of generating the reference image processing data by rearranging the decompressed image processing data according to the predetermined rule only when
A conversion step of converting the image data with reference to the generated image processing data for reference.
所定の圧縮処理により参照用の画像処理用データを圧縮して圧縮状態の画像処理用データを生成し、
上記圧縮状態の画像処理用データから上記参照用の画像処理用データを生成し、この参照用の画像処理用データを参照することによって、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理方法であって、
上記参照用の画像処理用データを所定の規則に従って並べ替えて圧縮して上記圧縮状態の画像処理用データを生成可能であり、同並べ替えて圧縮したときに生成した圧縮状態の画像処理用データに同所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報を付加し、
上記圧縮状態の画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮状態の画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成し、生成した上記参照用の画像処理用データを参照して上記画像データを変換することを特徴とする画像処理方法。
The image processing data for reference is compressed by a predetermined compression process to generate compressed image processing data,
By generating the reference image processing data from the compressed image processing data and referring to the reference image processing data, a plurality of pixels corresponding to a plurality of element colors are obtained. An image processing method for converting image data composed of tone data into image data composed of data corresponding to a plurality of element colors representing an output image of an image output device,
The image processing data for reference can be generated by rearranging and compressing the reference image processing data according to a predetermined rule to generate the compressed image processing data. Header information indicating that the data has been rearranged and compressed according to the same predetermined rule,
Information indicating that the compressed image processing data is decompressed by decompression processing corresponding to the compression processing and the header information added to the compressed image processing data is rearranged and compressed. The image processing data for reference is generated by rearranging the decompressed image processing data according to the predetermined rule only when the image processing data for reference is generated, and the generated image processing data for reference is referred to. And converting the image data.
所定の圧縮処理により参照用の画像処理用データから圧縮された圧縮状態の画像処理用データから同参照用の画像処理用データを生成し、この参照用の画像処理用データを参照することによって、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する画像処理装置に用いられる同圧縮状態の画像処理用データを生成する圧縮画像処理用データ生成方法であって、
上記画像処理装置は、上記圧縮状態の画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮状態の画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍手段と、生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換手段とを備えており、
上記参照用の画像処理用データを所定の規則に従って並べ替えて圧縮して上記圧縮状態の画像処理用データを生成可能であり、同並べ替えて圧縮したときに生成した圧縮状態の画像処理用データに同所定の規則に従ってデータが並べ替えられて圧縮されたことを表すヘッダ情報を付加することを特徴とする圧縮画像処理用データ生成方法。
By generating the image processing data for reference from the compressed image processing data compressed from the reference image processing data by a predetermined compression process, and referring to the reference image processing data, An image for converting image data composed of gradation data corresponding to a plurality of element colors for a plurality of pixels into image data composed of data corresponding to a plurality of other element colors representing an output image of the image output apparatus A compressed image processing data generation method for generating image processing data in the same compression state used in a processing apparatus,
The image processing apparatus decompresses the compressed image processing data by a decompression process corresponding to the compression process, and rearranges and compresses the compressed image processing data into header information added to the compressed image processing data. The decompression means for generating the reference image processing data by rearranging the decompressed image processing data according to the predetermined rule only when the information indicating that the information is included, and the generated decompression means Conversion means for converting the image data with reference to the image processing data for reference,
The image processing data for reference can be generated by rearranging and compressing the reference image processing data according to a predetermined rule to generate the compressed image processing data. A method for generating compressed image processing data, comprising adding header information indicating that the data has been rearranged and compressed in accordance with the predetermined rule.
所定の画像処理用データに基づいて、多数の画素別とされて複数の要素色に対応した階調データからなる画像データを、画像出力装置の出力画像を表現する別の複数の要素色に対応したデータからなる画像データに変換する機能をコンピュータに実現させる画像処理プログラムであって、
上記画像処理用データは、所定の圧縮処理により参照用の画像処理用データから圧縮されたデータとされるとともに、所定の規則に従ってデータが並べ替えられて圧縮されたか否かを表すヘッダ情報が付加され、
上記圧縮された画像処理用データを上記圧縮処理に対応する解凍処理により解凍するとともに同圧縮された画像処理用データに付加されたヘッダ情報に上記並べ替えられて圧縮されたことを表す情報が含まれているときのみ同解凍した画像処理用データを上記所定の規則に合わせて並べ替えることによって、上記参照用の画像処理用データを生成する解凍機能と、
生成された上記参照用の画像処理用データを参照して上記画像データを変換する変換機能とを実現させることを特徴とする画像処理プログラム。
Based on predetermined image processing data, image data consisting of gradation data corresponding to a plurality of element colors for each of a plurality of pixels corresponds to a plurality of other element colors representing the output image of the image output device. An image processing program for causing a computer to perform a function of converting to image data composed of processed data,
The image processing data is compressed from the reference image processing data by a predetermined compression process, and header information indicating whether the data is rearranged and compressed according to a predetermined rule is added. And
Information indicating that the compressed image processing data is decompressed by decompression processing corresponding to the compression processing and the header information added to the compressed image processing data is rearranged and compressed. The decompression function for generating the reference image processing data by rearranging the decompressed image processing data according to the predetermined rule only when
An image processing program for realizing a conversion function for converting the image data with reference to the generated image processing data for reference.
JP2003295902A 2003-08-20 2003-08-20 Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program Pending JP2005065147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003295902A JP2005065147A (en) 2003-08-20 2003-08-20 Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003295902A JP2005065147A (en) 2003-08-20 2003-08-20 Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program

Publications (1)

Publication Number Publication Date
JP2005065147A true JP2005065147A (en) 2005-03-10

Family

ID=34371974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003295902A Pending JP2005065147A (en) 2003-08-20 2003-08-20 Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program

Country Status (1)

Country Link
JP (1) JP2005065147A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007221720A (en) * 2006-02-20 2007-08-30 Canon Inc Conversion table compression method and program
JP2011041316A (en) * 2010-10-19 2011-02-24 Canon Inc Conversion table compression method and conversion table restoration program
JP2014102763A (en) * 2012-11-21 2014-06-05 Fuji Xerox Co Ltd Data conversion device, data restoration device, image forming apparatus, image forming system, data conversion program, and data restoration program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007221720A (en) * 2006-02-20 2007-08-30 Canon Inc Conversion table compression method and program
JP4651108B2 (en) * 2006-02-20 2011-03-16 キヤノン株式会社 Conversion table compression method and program, and conversion table compression apparatus
JP2011041316A (en) * 2010-10-19 2011-02-24 Canon Inc Conversion table compression method and conversion table restoration program
JP2014102763A (en) * 2012-11-21 2014-06-05 Fuji Xerox Co Ltd Data conversion device, data restoration device, image forming apparatus, image forming system, data conversion program, and data restoration program

Similar Documents

Publication Publication Date Title
US5949964A (en) Method and apparatus for halftoning of images in a printer
US9111204B2 (en) Image processing apparatus and method setting color separation parameter based on image data change resulting from lossy compression and expansion
JP3744610B2 (en) Image coding method
JP6076206B2 (en) Method, program, computer and recording medium
JP6613597B2 (en) Image processing apparatus, printing apparatus, image processing method, and printing method
JP2005348053A (en) Color conversion device; method, device, and program for print control unit; method, device, and program for generating color conversion data; and recording medium on which color conversion data is recorded
JP6249623B2 (en) Image processing method and image processing system
JP2001069358A (en) Picture processor, its processing method and storage medium
JP6184115B2 (en) Image processing method and image processing apparatus
JP2005065147A (en) Image processing apparatus, image processing system, compressed image processing data generating apparatus, image processing method, compressed image processing data generating method, and image processing program
JP2007312033A (en) Image processor and image processing method
JP2004120133A (en) Image processing method and image processor
JP2000332995A (en) Method for generating image data and recording medium
JP2007188219A (en) Print control device, print control method, and print control program
US8842340B2 (en) Printing system and program for executing halftone processing on representative values assigned to pixel group
JP7110962B2 (en) Image processing method and image processing apparatus
JP2005210339A (en) Image processor, print controller, and image processing method and program
JP2005295131A (en) Apparatus, method, and program for processing image
JP2004171050A (en) Print control unit, method for controlling print control unit, program for controlling print control unit, print system and printer
JP2004259027A (en) Print control unit, print control method and print control program
JP6492871B2 (en) Image processing apparatus, image processing system, and image processing method
JP2004295765A (en) Program for image processing and image processing method
JP4097111B2 (en) Image forming method and apparatus
JP2001285663A (en) Data conversion method and image processing apparatus
JP2005354129A (en) Execution of halftoning dependent on image