JP4812893B2 - Image data compression method and decompression method - Google Patents

Image data compression method and decompression method Download PDF

Info

Publication number
JP4812893B2
JP4812893B2 JP2010233398A JP2010233398A JP4812893B2 JP 4812893 B2 JP4812893 B2 JP 4812893B2 JP 2010233398 A JP2010233398 A JP 2010233398A JP 2010233398 A JP2010233398 A JP 2010233398A JP 4812893 B2 JP4812893 B2 JP 4812893B2
Authority
JP
Japan
Prior art keywords
image
dot
data
free fine
image data
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.)
Expired - Fee Related
Application number
JP2010233398A
Other languages
Japanese (ja)
Other versions
JP2011050084A (en
Inventor
正一 小島
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.)
Oki Data Infotech Corp
Original Assignee
Oki Data Infotech 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 Oki Data Infotech Corp filed Critical Oki Data Infotech Corp
Priority to JP2010233398A priority Critical patent/JP4812893B2/en
Publication of JP2011050084A publication Critical patent/JP2011050084A/en
Application granted granted Critical
Publication of JP4812893B2 publication Critical patent/JP4812893B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、イメージデータの圧縮方法と復元方法に関する。   The present invention relates to an image data compression method and decompression method.

イメージデータを処理するための資源を有効に活用するために、イメージデータを圧縮し、更に復元する方法が広く使用されている。   In order to effectively utilize resources for processing image data, a method of compressing and further restoring image data is widely used.

このようなイメージデータの圧縮方法及び復元方法として、イメージデータに含まれる全てのイメージ要素を1つのアルゴリズムで圧縮し、更に復元するものが知られている。公知のそのイメージデータの圧縮方法及び復元方法では、活字、手書き文字、手書き図面、自由細点、表、イラスト、グラフィック、平網、写真のような様々な種類のイメージ要素を含むイメージデータが、1つのアルゴリズムで圧縮され、又は復元される。   As such an image data compression method and restoration method, there is known a method in which all image elements included in image data are compressed by one algorithm and further restored. In the known compression method and restoration method of image data, image data including various types of image elements such as type, handwritten characters, handwritten drawings, free thin dots, tables, illustrations, graphics, flat nets, and photographs are obtained. Compressed or decompressed with one algorithm.

しかし、公知のそのイメージデータの圧縮方法及び復元方法では、イメージデータに含まれる全てのイメージ要素について、イメージデータを圧縮することによる画質の劣化を抑制することは困難である。たとえば、写真から生成されたイメージデータを圧縮・復元したときに画質の劣化が生じにくいアルゴリズムを使用して、文字及び線から生成されたイメージデータを圧縮・復元すると、その文字及び線のエッジは、綺麗に復元されない。逆に、文字及び線から生成されたイメージデータを圧縮・復元したときに画質の劣化が生じにくいアルゴリズムを使用して、写真から生成されたイメージデータを圧縮・復元すると、写真のイメージが崩れる傾向にある。   However, with the known image data compression and restoration methods, it is difficult to suppress degradation of image quality due to image data compression for all image elements included in the image data. For example, if an image data generated from characters and lines is compressed / restored using an algorithm that does not cause deterioration in image quality when image data generated from photographs is compressed / restored, the edges of the characters and lines are It is not restored neatly. Conversely, when image data generated from characters and lines is compressed / restored using an algorithm that does not easily degrade image quality, the image of the photo tends to be corrupted when compressed / restored. It is in.

イメージデータの圧縮方法及び復元方法では、イメージデータを圧縮することによる画質の劣化が抑制されることが望ましい。   In the image data compression method and decompression method, it is desirable to suppress degradation of image quality due to compression of image data.

更に、公知のそのイメージデータの圧縮方法及び復元方法では、全てのイメージ要素について、圧縮率を向上することと、イメージデータを圧縮することによるイメージデータの劣化を抑制することとを両立することは困難である。写真から生成されたイメージデータに有効なアルゴリズムで、活字、手書き文字、手書き図面、表、イラストのようなイメージ要素から生成されたイメージデータを圧縮及び復元すると、そのイメージ要素のエッジは、醜く復元される。更に、復元された画像のピントが甘くなる。逆に、線画等に有効な手法で処理するとグラフィック、平網、写真等の画質が劣化する。更に、圧縮データのデータ量が増加してしまう。   Furthermore, in the known compression method and restoration method of image data, it is possible to improve both the compression rate and suppress deterioration of image data due to compression of image data for all image elements. Have difficulty. This algorithm is effective for image data generated from photographs. When image data generated from image elements such as type, handwritten characters, handwritten drawings, tables, and illustrations is compressed and restored, the edges of the image elements are restored. Is done. Furthermore, the restored image is less focused. On the other hand, when processing is performed using a technique effective for line drawing or the like, the image quality of graphics, flat screens, photographs, etc. deteriorates. Further, the amount of compressed data increases.

イメージデータの圧縮方法及び復元方法では、圧縮率が大きく、且つ、イメージデータを圧縮することによる画質の劣化が抑制されることが望ましい。   In the image data compression method and decompression method, it is desirable that the compression rate is large and that image quality deterioration due to image data compression is suppressed.

また、印刷物に描かれている画像から生成されたイメージデータを圧縮し、更に、復元することが一般に、行われている。カラーの印刷物に描かれている画像は、図41に示されているように、画素501から構成されている。画素501のそれぞれは、青版網点502a、赤版網点502b、黄版網点502c、墨版網点502dからなる。青版網点502aは、青版(C版)の網点(Dot)である。赤版網点502bは、赤版(M版)の網点である。黄版網点502cは、黄版(Y版)の網点である。墨版網点502dは、墨版(K版)の網点である。青版網点502a、赤版網点502b、黄版網点502c、墨版網点502dの配置は、図41に示されているものに限られない。青版網点502a、赤版網点502b、黄版網点502c、墨版網点502dは、網点502と総称される。網点502は、図42(a)に示されているように、正方形であることがあり、また、図42(b)に示されているように、他の形状、例えば、円形であることがある。   In general, image data generated from an image drawn on a printed material is compressed and then restored. As shown in FIG. 41, the image drawn on the color printed material is composed of pixels 501. Each of the pixels 501 includes a blue halftone dot 502a, a red halftone dot 502b, a yellow halftone dot 502c, and a black halftone dot 502d. The blue plate halftone dot 502a is a halftone dot (Dot) of the blue plate (C plate). The red plate halftone dot 502b is a red plate (M plate) halftone dot. The yellow plate halftone dot 502c is a halftone dot of a yellow plate (Y plate). A black halftone dot 502d is a black halftone dot (K version). The arrangement of the blue halftone dot 502a, the red halftone dot 502b, the yellow halftone dot 502c, and the black halftone dot 502d is not limited to that shown in FIG. The blue halftone dot 502a, the red halftone dot 502b, the yellow halftone dot 502c, and the black halftone dot 502d are collectively referred to as a halftone dot 502. The halftone dots 502 may be square as shown in FIG. 42 (a), and may be other shapes, such as circular, as shown in FIG. 42 (b). There is.

一の版に含まれる網点502は、図43に示されているように、印刷規則に従ってスクリーン線503の上に規則的に配置されている。スクリーン線503とX軸とは、印刷規則に定められた角度で交わる。その角度は、各版毎に異なる。スクリーン線503は、互いに平行に、更に等間隔に、配置されている。ここで、スクリーン線503の間隔をdsとすると、1/dsは、スクリーン線密度と呼ばれる。スクリーン線密度は、スクリーン線503に垂直な方向に単位長さ、典型的には、1インチの線分を取ったときに、その線分と交わるスクリーン線503の本数である。 As shown in FIG. 43, the halftone dots 502 included in one plate are regularly arranged on the screen lines 503 in accordance with the printing rules. The screen line 503 and the X axis intersect at an angle determined by the printing rule. The angle is different for each version. The screen lines 503 are arranged in parallel to each other and at equal intervals. Here, if the interval between the screen lines 503 is d s , 1 / d s is called the screen line density. The screen line density is the number of screen lines 503 that intersect with a line length of a unit length in a direction perpendicular to the screen line 503, typically 1 inch.

網点502は、その中心点が、スクリーン線503の上に有るように、配置される。ここで網点502の中心点とは、網点502が正方形であるときは、その対角線が交わる点である。網点502が円であるときは、網点502の中心点とは、その円の中心をいう。   The halftone dot 502 is arranged so that its center point is on the screen line 503. Here, the center point of the halftone dot 502 is a point where the diagonal lines intersect when the halftone dot 502 is a square. When the halftone dot 502 is a circle, the center point of the halftone dot 502 is the center of the circle.

各網点502の面積は、階調を示している。網点502の面積が大きいほど、人間の眼では、その網点502のある位置の濃度が高いと認識される。   The area of each halftone dot 502 indicates a gradation. As the area of the halftone dot 502 is larger, the human eye recognizes that the density at a certain position of the halftone dot 502 is higher.

上述されているような配置と形状とを有する網点から構成される画像は、本来的に、冗長度が大きい。   An image composed of halftone dots having the arrangement and shape as described above is inherently highly redundant.

しかし、従来のイメージデータの圧縮方法及び復元方法では、印刷物に描かれている画像が、網点から構成されていることが利用されていない。従来のイメージデータの圧縮方法及び復元方法では、印刷物に描かれている画像が、効果的に圧縮されない。   However, the conventional image data compression method and decompression method do not utilize the fact that the image drawn on the printed material is composed of halftone dots. In the conventional image data compression method and decompression method, an image drawn on a printed material is not effectively compressed.

網点により構成されている画像から生成されたイメージデータを、効果的に圧縮し、復元する方法が提供されることが望ましい。   It is desirable to provide a method for effectively compressing and decompressing image data generated from an image composed of halftone dots.

更に、従来のイメージデータ圧縮方法及び復元方法では、網点は、画像に含まれる他のイメージ要素と区別されることなく圧縮され、復元される。網点そのものは、復元されない。このとき、復元されたイメージデータを拡大し、又は縮小すると、画像全体に対する網点の面積比、即ち、網点パーセントが保存されない。このため、復元されたイメージデータを拡大し、又は縮小すると、色が劣化することがある。更に、復元されたイメージデータを拡大し、又は縮小すると、モアレが発生することがある。   Further, in the conventional image data compression method and decompression method, halftone dots are compressed and decompressed without being distinguished from other image elements included in the image. The halftone dot itself is not restored. At this time, if the restored image data is enlarged or reduced, the area ratio of halftone dots relative to the entire image, that is, the halftone dot percentage is not saved. For this reason, when the restored image data is enlarged or reduced, the color may deteriorate. Furthermore, when the restored image data is enlarged or reduced, moire may occur.

網点により構成されている画像から生成されたイメージデータが、圧縮し、更に復元されたときに、復元されたイメージデータに対して拡大や縮小のような演算が行っても、画質の劣化が発生しないことが望ましい。   When the image data generated from the image composed of halftone dots is compressed and restored, the image quality will not deteriorate even if operations such as enlargement or reduction are performed on the restored image data. It is desirable not to occur.

また、イメージデータ圧縮方法では、イメージデータの圧縮が、高速に行われることが望ましい。特に、エッジが強調されている画像を示すイメージデータの圧縮が、高速に行われることが望ましい。   In the image data compression method, it is desirable that the image data is compressed at high speed. In particular, it is desirable that compression of image data indicating an image with emphasized edges be performed at high speed.

また、イメージデータ圧縮方法では、印刷規則に定められた配置を有さない、小さい面積を有する細点から構成されている印刷物から生成されたイメージデータを、効果的に圧縮し、復元するイメージデータの圧縮方法及び復元方法が提供されることが望ましい。   Also, in the image data compression method, image data that is effectively compressed and restored from image data generated from a printed material that has a small area and does not have an arrangement defined in the printing rule. It is desirable to provide a compression method and a decompression method.

本発明の目的は、圧縮及び復元することによる画質の劣化が抑制されるイメージデータの圧縮方法及び復元方法を提供することにある。   An object of the present invention is to provide a compression method and a decompression method for image data in which deterioration of image quality due to compression and decompression is suppressed.

本発明の他の目的は、圧縮率が大きいイメージデータの圧縮方法及び復元方法を提供することにある。   Another object of the present invention is to provide a method for compressing and restoring image data having a high compression rate.

本発明の更に他の目的は、圧縮率が大きく、且つ、圧縮及び復元することによる画質の劣化が抑制されるイメージデータの圧縮方法及び復元方法を提供することにある。   Still another object of the present invention is to provide a compression method and a decompression method of image data in which a compression ratio is large and image quality deterioration due to compression and decompression is suppressed.

本発明の更に他の目的は、網点から構成されている印刷物から生成されたイメージデータを、効果的に圧縮し、復元するイメージデータの圧縮方法及び復元方法を提供することにある。   Still another object of the present invention is to provide a compression method and a restoration method for image data that effectively compresses and restores image data generated from printed matter composed of halftone dots.

本発明の更に他の目的は、イメージデータの圧縮が、高速に行われるイメージデータの圧縮方法を提供することにある。   Still another object of the present invention is to provide a method for compressing image data in which the image data is compressed at high speed.

本発明の更に他の目的は、エッジが強調されている画像を示すイメージデータの圧縮が、高速に行われるイメージデータの圧縮方法を提供することにある。   It is still another object of the present invention to provide a method for compressing image data in which compression of image data indicating an image with emphasized edges is performed at high speed.

また、印刷規則に定められた配置を有さない、小さい面積を有する細点から構成されている印刷物から生成されたイメージデータを、効果的に圧縮し、復元するイメージデータの圧縮方法及び復元方法を提供することにある。   Also, image data compression method and image restoration method that effectively compresses and restores image data generated from a printed material that has a small area and does not have an arrangement defined in a printing rule. Is to provide.

その課題を解決するための手段は、下記のように表現される。その表現中に現れる技術的事項には、括弧()つきで、番号、記号等が添記されている。その番号、記号等は、本発明の複数の実施の形態のうちの、少なくとも1つの実施の形態を構成する技術的事項、特に、その実施の形態に対応する図面に表現されている技術的事項に付せられている参照番号、参照記号等に一致している。このような参照番号、参照記号は、請求項記載の技術的事項と実施の形態の技術的事項との対応・橋渡しを明確にしている。このような対応・橋渡しは、請求項記載の技術的事項が実施の形態の技術的事項に限定されて解釈されることを意味しない。   Means for solving the problem is expressed as follows. Technical matters appearing in the expression are appended with numbers, symbols, etc. in parentheses. The numbers, symbols, and the like are technical matters constituting at least one of a plurality of embodiments of the present invention, in particular, technical matters expressed in the drawings corresponding to the embodiments. This corresponds to the reference number, reference symbol and the like attached to. Such reference numbers and reference symbols clarify the correspondence and bridging between the technical matters described in the claims and the technical matters of the embodiments. Such correspondence or bridging does not mean that the technical matters described in the claims are interpreted as being limited to the technical matters of the embodiments.

本発明によるイメージデータ圧縮方法は、紙面から読み取ったデジタルイメージ(30)に含まれるイメージ要素(31〜41)を抽出し、イメージ要素(31〜41)の種類に応じた圧縮手法を用いて、抽出された各イメージ要素をデータ圧縮し、圧縮した各イメージ要素データ(54〜56)を記憶装置(3)に記憶格納することを特徴とする。   The image data compression method according to the present invention extracts the image elements (31 to 41) included in the digital image (30) read from the paper surface, and uses a compression method according to the type of the image elements (31 to 41). Each extracted image element is data-compressed, and each compressed image element data (54 to 56) is stored in the storage device (3).

各イメージ要素(31〜41)はそれぞれ特徴を持っている。その特徴から、各イメージ要素(31〜41)を分別し、抽出することが可能である。抽出されたイメージ要素(31〜41)の種類に対応したアルゴリズムで、イメージ要素データ(51〜53)が圧縮され、復元されることにより、圧縮及び復元による画質の劣化が抑制される。また、圧縮率が向上する。   Each image element (31 to 41) has a characteristic. From the feature, each image element (31 to 41) can be separated and extracted. The image element data (51 to 53) is compressed and restored by an algorithm corresponding to the type of the extracted image element (31 to 41), thereby suppressing deterioration in image quality due to compression and restoration. In addition, the compression rate is improved.

例えば、エッジを綺麗に復元したいイメージは、エッジに有効な圧縮・復元処理が行われる。グラフィック、平網、写真のような印刷画像を綺麗に復元したいイメージ等には、印刷網点画像に有効な圧縮・復元処理が行われる。規則性を持たずに配置された細かな細点(以下、「自由細点」と呼ばれることがある。)の集合体を、高圧縮でしかも綺麗に復元する為に、自由細点の集合体に有効な圧縮・復元処理が行われる。   For example, an image whose edges are to be restored beautifully is subjected to compression / decompression processing effective for the edges. An effective compression / decompression process is performed on a halftone dot image for an image or the like that neatly restores a printed image such as a graphic, flat screen, or photograph. Aggregation of free fine dots in order to restore fine and finely arranged aggregates of fine fine dots (hereinafter sometimes referred to as "free fine dots") without regularity. Effective compression / decompression processing is performed.

各イメージ要素の種類の判別方法として、次のような判別方法が使用され得る。   As a method for determining the type of each image element, the following determination method can be used.

第1判別方法では、以下の過程により、各イメージ要素の種類が判別される。自由細点の集合体から構成されるイメージ要素は、印刷網点より面積が大きく、且つ、所定の面積より小さい点であり、且つ、印刷網点の規則性がないことから判別される。また、印刷画像は印刷網点の規則性がある細かい点の集合体である。印刷画像は、印刷網点の規則性の存在から、判別される。残りのイメージ要素は全て線画イメージであると判別される。   In the first determination method, the type of each image element is determined by the following process. An image element composed of a collection of free thin dots is determined from the fact that the area is larger than the printing halftone dot and smaller than the predetermined area, and there is no regularity of the printing halftone dot. The printed image is a collection of fine dots with regular printing halftone dots. The print image is discriminated from the presence of the regularity of the print halftone dots. All the remaining image elements are determined to be line drawing images.

第2判別方法では、組版要素の違いから各イメージ要素の種類が判別される。活字文字は、字面の特徴を有する。手書き文字は、字面の特徴を有しない。また、印判、印鑑、線画は、自由な線の集合体の特徴、即ち、字面がなく、更に印刷網点もないという特徴を有する。平網は、印刷網点の規則性が存在し、階調が存在しないという特徴を有する。階調網は、印刷網点の規則性が存在し、しかも、網点列に階調が存在するという特徴を有する。写真網は、印刷網点の規則性は存在するが平網、階調網の規則性が存在しないという特徴を有する。これらの特徴から、各イメージ要素の種類が判別される。   In the second discrimination method, the type of each image element is discriminated from the difference in typesetting elements. Type characters have character features. Handwritten characters do not have character features. In addition, stamps, seals, and line drawings have the characteristics of a collection of free lines, that is, there are no character faces and no print halftone dots. A flat screen has the characteristics that regularity of printing halftone dots exists and gradation does not exist. A gradation halftone dot has regularity of printing halftone dots and has a feature that gradation exists in a halftone dot row. Photographic nets have the characteristic that regularity of printing halftone dots exists, but regularity of flat and gray scales does not exist. From these features, the type of each image element is determined.

第3判別方法では、表示要素の違いから各イメージ要素の種類が判別される。つまり、文章物は、文字列が連続的に配置されているという特徴を有する。漫画物は、イラストと自由な細かい線列と細点が存在するという特徴を有する。また、地図物は、地図の決まった規則性が存在するという特徴を有する。広告物は広告枠が存在し、更に、紙面上での配置に、規則性が存在するという特徴を有する。表物は、罫線で構成された四角形を有するという特徴を有する。写真物は、印刷網点の規則性は存在するが平網、階調網の規則性が存在しないという特徴を有する。これらの特徴から、各イメージ要素の種類が判別される。   In the third determination method, the type of each image element is determined from the difference in display elements. That is, the text has a feature that character strings are continuously arranged. Manga is characterized by the presence of illustrations, free fine lines and fine dots. Further, the map object has a feature that the regularity of the map exists. The advertisement has a feature that there is an advertisement frame and that there is regularity in the arrangement on the paper. The surface material has a feature that it has a quadrangle composed of ruled lines. A photograph has a feature that regularity of printing halftone dots exists but regularity of flat halftone and gradation halftone does not exist. From these features, the type of each image element is determined.

当該イメージデータ圧縮方法において、圧縮された各イメージ要素データには、その各イメージ要素データに対応するイメージ要素が紙面中に存していたときの位置情報及び線密度情報が付加されていることが望ましい。   In the image data compression method, each compressed image element data is added with position information and line density information when the image element corresponding to each image element data exists in the paper. desirable.

また、当該イメージデータ圧縮方法において、紙面から読み取ったデジタルイメージはカラーイメージであることがある。この場合、イメージ要素の抽出及びイメージ要素のデータ圧縮は、色成分毎に行われることが望ましい。   In the image data compression method, the digital image read from the paper surface may be a color image. In this case, image element extraction and image element data compression are preferably performed for each color component.

本発明のイメージデータの復元方法は、紙面から読み取られて圧縮された各イメージ要素データを、当該イメージ要素の種類に応じた復元手法を用いて復元し、復元された各イメージ要素を重ね合わせ合成して、紙面イメージを復元することを特徴とする。   According to the image data restoration method of the present invention, each image element data read and compressed from the paper surface is restored using a restoration method according to the type of the image element, and the restored image elements are superimposed and combined. The paper image is restored.

このとき、圧縮された各イメージ要素データに付加されている位置情報及び線密度情報を用いて、イメージ要素の回転、変形、拡大又は縮小する編集処理が施されて、紙面イメージが復元されることが可能である。   At this time, using the position information and the line density information added to each compressed image element data, an editing process for rotating, deforming, enlarging or reducing the image element is performed to restore the paper image. Is possible.

また、圧縮された各イメージ要素データは、色成分毎のデータであることがある。この場合、各色成分毎のイメージ要素データが、当該イメージ要素の種類に応じた復元方法を用いて復元され、復元された各色成分毎のイメージ要素を重ね合わせ合成して、イメージが復元されることが望ましい。   Each compressed image element data may be data for each color component. In this case, the image element data for each color component is restored using a restoration method corresponding to the type of the image element, and the restored image elements for each color component are superimposed and combined to restore the image. Is desirable.

本発明によるイメージデータ圧縮方法は、
画像(30)を示すイメージデータ(50)を取得すること(S01)と、
イメージデータ(50)から第1イメージ要素データ(51)を抽出すること(S02)と、
イメージデータ(50)から第2イメージ要素データ(52)を抽出すること(S02)と、
第1イメージ要素データ(51)を圧縮して第1圧縮イメージ要素データ(54)を生成すること(S03)と、
第2イメージ要素データ(54)を圧縮して第2圧縮イメージ要素データ(55)を生成すること(S04)
とを備えている(図1参照)。このとき、第1イメージ要素データ(54)を抽出する第1抽出アルゴリズムと、第2イメージ要素データ(54)を抽出する第2抽出アルゴリズムとは異なる。更に、第1圧縮イメージ要素データ(54)を生成する第1圧縮アルゴリズムと、第2イメージ要素データ(55)を抽出する第2圧縮アルゴリズムとは異なる。
An image data compression method according to the present invention includes:
Acquiring image data (50) indicating the image (30) (S01);
Extracting the first image element data (51) from the image data (50) (S02);
Extracting the second image element data (52) from the image data (50) (S02);
Compressing the first image element data (51) to generate first compressed image element data (54) (S03);
The second image element data (54) is compressed to generate second compressed image element data (55) (S04).
(See FIG. 1). At this time, the first extraction algorithm for extracting the first image element data (54) is different from the second extraction algorithm for extracting the second image element data (54). Furthermore, the first compression algorithm for generating the first compressed image element data (54) is different from the second compression algorithm for extracting the second image element data (55).

互いに異なる第1抽出アルゴリズムと第2抽出アルゴリズムにより抽出された第1イメージ要素データと第2イメージ要素データとは、互いに異なる特徴を有する。互いに異なる特徴を有する第1イメージ要素データと第2イメージ要素データとが、それぞれ、互いに異なる第1圧縮アルゴリズムと第2圧縮アルゴリズムとにより圧縮される。これにより、圧縮及び復元による画質の劣化が抑制される。また、圧縮率が向上する。   The first image element data and the second image element data extracted by the first extraction algorithm and the second extraction algorithm which are different from each other have different characteristics. The first image element data and the second image element data having different characteristics are respectively compressed by a first compression algorithm and a second compression algorithm which are different from each other. Thereby, deterioration of the image quality due to compression and decompression is suppressed. In addition, the compression rate is improved.

なお、イメージデータ(50)から第1イメージ要素データ(51)と第2イメージ要素データ(52)以外の、他のイメージ要素データが他の抽出アルゴリズムにより抽出されることが可能である。この場合、他のイメージ要素データが、他の圧縮アルゴリズムにより圧縮されて、他の圧縮イメージ要素データが生成される。   It should be noted that other image element data other than the first image element data (51) and the second image element data (52) can be extracted from the image data (50) by other extraction algorithms. In this case, other image element data is compressed by another compression algorithm to generate other compressed image element data.

当該イメージデータ圧縮方法において、イメージデータ(63a〜63d)を取得すること(S41、S42)は、
カラー画像を示すカラーイメージデータ(62)を取得すること(S41)と、
カラーイメージデータ(62)から、所定の色の成分を示す部分を抽出して、前記イメージデータ(63a〜63d)を生成すること(S42)
とを含むことが望ましい(図32参照)。これにより、画質の劣化が抑制された、カラーイメージデータ(62)の圧縮及び復元方法が提供される。また、圧縮率が向上されたカラーイメージデータ(62)の圧縮及び復元方法が提供される。
In the image data compression method, acquiring the image data (63a to 63d) (S41, S42)
Obtaining color image data (62) indicating a color image (S41);
Extracting a portion indicating a predetermined color component from the color image data (62) to generate the image data (63a to 63d) (S42).
(See FIG. 32). This provides a method for compressing and decompressing the color image data (62) in which the deterioration of the image quality is suppressed. In addition, a method for compressing and decompressing color image data (62) with improved compression rate is provided.

また、当該イメージデータ圧縮方法において、第1イメージ要素データ(51)を抽出すること(S02)は、イメージデータ(50)から、第1部分を抽出して第1イメージ要素データ(55)を生成すること(S02)を含むことが望ましい。この第1部分は、前記画像(30)のうちの網点(81)により構成される網点部分(33、36)に対応する。   Further, in the image data compression method, extracting the first image element data (51) (S02) generates the first image element data (55) by extracting the first part from the image data (50). It is desirable to include (S02). This first portion corresponds to a halftone dot portion (33, 36) constituted by a halftone dot (81) in the image (30).

このとき、第1圧縮イメージ要素データ(55)を生成すること(S04)は、網点(81)の面積に基づいて、第1圧縮イメージ要素データ(55)を生成すること(S04)を含むことが望ましい。   At this time, generating the first compressed image element data (55) (S04) includes generating the first compressed image element data (55) based on the area of the halftone dot (81) (S04). It is desirable.

また、当該イメージデータ圧縮方法において、第2イメージ要素データ(51)を抽出することは、イメージデータ(50)から、第2部分を抽出して第2イメージ要素データ(54)を生成すること(S02)を含むことが望ましい。その第2部分は、前記画像(30)のうち、網点(81)でなく、且つ、所定の面積以下の面積を有する自由細点を含む自由細点領域に対応する。   In the image data compression method, extracting the second image element data (51) is extracting the second portion from the image data (50) to generate the second image element data (54) ( S02) is desirable. The second portion of the image (30) corresponds to a free fine dot region that includes not a halftone dot (81) and a free fine dot having an area equal to or smaller than a predetermined area.

また、第2圧縮イメージ要素データ(54)を生成することは、
前記自由細点領域(70)を複数の矩形領域(71)に区分することと、
前記画像が有する画像パターン(31〜39)のうち、前記矩形領域のそれぞれの内部にあるパターン(73)の形状を認識することと、
前記形状を符号化して前記第2圧縮イメージ要素データ(54)を生成すること
とを含むことが望ましい(図7参照)。
Also, generating the second compressed image element data (54)
Dividing the free fine dot region (70) into a plurality of rectangular regions (71);
Recognizing the shape of the pattern (73) in each of the rectangular regions among the image patterns (31 to 39) of the image;
Preferably, the method includes encoding the shape to generate the second compressed image element data (54) (see FIG. 7).

また、前記自由細点は、第1自由細点(1411)と、第2自由細点(1412)とを備えることがある(図37参照)。このとき、第2圧縮イメージ要素データ(54)を生成すること(S03)は、第1自由細点(1411)と第2自由細点(1412)の相対位置に基づいて、第2圧縮イメージ要素データ(54)を生成すること
とを含むことが望ましい(図37参照)。
The free fine dots may include a first free fine dot (141 1 ) and a second free fine dot (141 2 ) (see FIG. 37). At this time, generating the second compressed image element data (54) (S03) is based on the relative positions of the first free fine dot (141 1 ) and the second free fine dot (141 2 ). Generating image element data (54) (see FIG. 37).

また、第2圧縮イメージ要素データ(54)を生成することは、
自由細点領域(210)に、自由細点(212)を含む矩形領域(211)を定めることと、
矩形領域(211)の内部の濃度の平均値に基づいて、第2圧縮イメージ要素データデータ(54)を生成すること
とを含むことが望ましい(図45参照)。
Also, generating the second compressed image element data (54)
Defining a rectangular region (211) including the free fine dot (212) in the free fine dot region (210);
It is desirable to include generating the second compressed image element data data (54) based on the average value of the density inside the rectangular area (211) (see FIG. 45).

当該イメージデータ圧縮方法は、更に、イメージデータ(50)のうち、前記第1イメージ要素データ(51)にも第2イメージ要素データ(52)にも含まれない部分である第3イメージ要素データを抽出すること(S02)を備えることが望ましい。   In the image data compression method, the third image element data that is not included in the first image element data (51) or the second image element data (52) of the image data (50) is further included. It is desirable to provide extraction (S02).

当該イメージデータ圧縮方法は、更に、前記第1圧縮イメージ要素データ(55)と第2圧縮イメージ要素データ(54)とに基づいて、一括圧縮イメージ要素データ(57)を生成することを備えることが望ましい。   The image data compression method further includes generating batch compressed image element data (57) based on the first compressed image element data (55) and the second compressed image element data (54). desirable.

当該イメージデータ圧縮方法において、前記第1圧縮イメージ要素データ(S05)を生成することは、
前記第1イメージ要素データ(53)が示すイメージ要素(110)の階調を走査線(111)に沿って走査しながら検出することと、
前記階調に基づいて前記イメージ要素(110)の輪郭(112)の輪郭位置を算出することと、
前記境界位置に基づいて、第1圧縮イメージ要素データ(56)を生成することとを含むことが望ましい。
In the image data compression method, generating the first compressed image element data (S05)
Detecting the gradation of the image element (110) indicated by the first image element data (53) while scanning along the scanning line (111);
Calculating a contour position of a contour (112) of the image element (110) based on the gradation;
Generating first compressed image element data (56) based on the boundary position.

本発明によるイメージデータ圧縮方法は、網点(101)が含まれる画像を示すイメージデータ(52)を取得すること(S01、S02)と、
前記網点(101)の面積を算出することと、
前記網点(101)の位置を算出することと、
前記面積と前記位置とに基づいて、圧縮データ(55)を生成すること
とを備える。
The image data compression method according to the present invention acquires image data (52) indicating an image including a halftone dot (101) (S01, S02);
Calculating the area of the dot (101);
Calculating the position of the halftone dot (101);
Generating compressed data (55) based on the area and the position.

当該イメージデータ圧縮方法において、
前記網点(101)は、
第1網点(1010)と、
第2網点(1011 1〜1011 n)を含み、
前記面積は、
前記第1網点の第1面積(S0)と、
前記第2網点の第2面積(S1〜Sn
とを含み、
前記圧縮データ(55)は、前記第1面積(S0)と前記第2面積(S1〜Sn)の面積差に基づいて生成されることが望ましい。
In the image data compression method,
The dot (101) is
A first halftone dot (101 0 );
Including second halftone dots (101 1 1 to 101 1 n ),
The area is
A first area (S 0 ) of the first halftone dot;
Second area of the second halftone dot (S 1 -S n )
Including
Said compressed data (55), said first area (S 0) and the second area (S 1 to S n) differential area desired to be generated based on the.

当該イメージデータ圧縮方法において、
前記位置は、
前記第1網点(1010)の第1位置と、
前記第2網点(1011 1〜1011 n)の第2位置
とを含み、
前記圧縮データ(55)は、前記第1位置と前記第2位置の距離に基づいて生成される
イメージデータ圧縮方法。
In the image data compression method,
The position is
A first position of the first halftone dot (101 0 );
A second position of the second halftone dot (101 1 1 to 101 1 n ),
The compressed data (55) is an image data compression method generated based on a distance between the first position and the second position.

当該イメージデータ圧縮方法において、
網点が含まれる画像を示すイメージデータ(152)を取得することは、
他の画像を示す他のイメージデータ(150)を取得することと、
前記他の画像の階調に基づいて前記網点を生成し、イメージデータ(152)を生成すること
とを含むことがある。
In the image data compression method,
Obtaining image data (152) indicating an image including a halftone dot is
Acquiring other image data (150) indicating other images;
Generating halftone dots based on the gradation of the other image and generating image data (152).

本発明のイメージデータ圧縮方法は、
画像(31、32、34、35、37、39、41)を示すイメージデータ(53)を取得すること(S01、S02)と、
前記画像(31、32、34、35、37、39、41)の階調を走査線(111)に沿って走査しながら検出することと、
前記階調に基づいて前記画像の輪郭(112)の輪郭位置を算出することと、
前記輪郭位置に基づいて、圧縮データ(56)を生成すること
とを備える。
The image data compression method of the present invention includes:
Obtaining image data (53) indicating images (31, 32, 34, 35, 37, 39, 41) (S01, S02);
Detecting the gradation of the image (31, 32, 34, 35, 37, 39, 41) while scanning along the scanning line (111);
Calculating a contour position of the contour (112) of the image based on the gradation;
Generating compressed data (56) based on the contour position.

本発明によるイメージデータ圧縮方法は、所定の面積範囲にある面積を有する自由細点(73、1411〜1414、212)を含む画像(70、210)を示すイメージデータを取得すること(S02)と、
前記自由細点(73、1411〜1414、212)の位置に基づいて、圧縮データ(54)を生成すること(S03)
とを備えている。
The image data compression method according to the present invention acquires image data indicating an image (70, 210) including free fine dots (73, 141 1 to 141 4 , 212) having an area in a predetermined area range (S02). )When,
Based on the position of the free thin dots (73, 141 1 to 141 4 , 212), compressed data (54) is generated (S03).
And.

このとき、自由細点(1411〜1414)は、第1自由細点(1411)と、第2自由細点(1412)とを含み、更に、圧縮データ(54)を生成すること(S03)は、第1自由細点(1411)と第2自由細点(1412)との相対位置に基づいて、前記圧縮データを生成することを含むことが望ましい(図37参照)。 At this time, the free fine dots (141 1 to 141 4 ) include a first free fine dot (141 1 ) and a second free fine dot (141 2 ), and further generate compressed data (54). (S03) preferably includes generating the compressed data based on the relative position between the first free fine dot (141 1 ) and the second free fine dot (141 2 ) (see FIG. 37).

また、圧縮データ(54)を生成すること(S03)は、画像(210)に、前記自由細点(212)を含む矩形領域(211)を定めることと、
前記矩形領域(211)の内部の濃度の平均値に基づいて、前記圧縮データ(54)を生成すること(S03)
とを含むことが望ましい(図45参照)。
Further, generating the compressed data (54) (S03) includes defining a rectangular area (211) including the free fine dots (212) in the image (210);
Generating the compressed data (54) based on the average value of the density inside the rectangular area (211) (S03)
(See FIG. 45).

また、前記画像(210)に、前記自由細点(212)を含む矩形領域(211)を定めることと、矩形領域(211)の辺と、自由細点(212)との距離に基づいて、圧縮データ(54)を生成すること(S03)
を含むことが望ましい。
In addition, based on defining a rectangular area (211) including the free fine dots (212) in the image (210) and a distance between a side of the rectangular area (211) and the free fine dots (212), Generate compressed data (54) (S03)
It is desirable to include.

また、圧縮データ(54)を生成することは、画像(70)に矩形領域(71)を定めることと、
自由細点(73)のうちの矩形領域(70)に含まれる部分のパターンの形状を認識することと、
前記形状を符号化して圧縮データ(54)を生成すること
とを含むことが望ましい。
Further, generating the compressed data (54) includes defining a rectangular area (71) in the image (70),
Recognizing the shape of the pattern of the portion included in the rectangular area (70) of the free fine dots (73);
Preferably, the method includes encoding the shape to generate compressed data (54).

本発明のイメージデータ抽出方法は、網点(81)が含まれる画像(30)を示すイメージデータ(50)を取得することと、
イメージデータ(50)のうち、網点(81)を示す部分(55)を抽出することとを備えている。
The image data extraction method of the present invention obtains image data (50) indicating an image (30) including a halftone dot (81);
Extracting a portion (55) indicating a halftone dot (81) from the image data (50).

このとき、前記抽出することは、前記画像(200)を走査して階調が変化する変化位置(203a〜203c)を検出することと、
変化位置(203a〜203c)の間隔に基づいて、部分(55)を抽出することとを含むことが望ましい(図44参照)
At this time, the extracting includes scanning the image (200) to detect change positions (203a to 203c) at which gradation changes,
It is desirable to include extracting the portion (55) based on the interval between the change positions (203a to 203c) (see FIG. 44).

本発明によるイメージデータ加工方法は、印刷規則に従った配置を有する第1網点(131、235)と第2網点(132、232)を含む画像を示すイメージデータ(59)を取得すること(ステップS23)と、
第2網点(132、232)を移動して仮想網点(132’、232’)を定めることと
第1網点(131、231’)と仮想網点(132’、232’)との間に位置する第3網点(132’’、232’’)を発生することと、
仮想網点(132’、232’)を消去すること
とを備えている。ここで仮想網点(132’、232’)の仮想網点位置は、第1網点(131、235)と第2網点(132、232)とを通る直線の上にある。更に、仮想網点(132’、232’)は、第2網点(132、232)に対して第1網点(131、235)から第2網点(132、232)に向かう第1方向にある。仮想網点(132’、232’)の仮想網点面積は、前記第2網点の第2網点面積と同一である。第3網点(132’’、232’’)は、第1網点(131、235)と第2網点(132、232)とを通る直線の上にある。第3網点(132’’)の第3網点位置は、印刷規則に従うように定められている。第3網点(132’’、232’’)の第3網点面積は、仮想網点(132’、232’)の仮想網点位置と、第1網点(131、235)の網点位置と、第3網点(132’’、232’’)の第3網点位置と、第1網点(131、235)の第1網点面積と、仮想網点(132’、232’)の仮想網点面積とから、補間により求められる(図33、34参照)。
The image data processing method according to the present invention obtains image data (59) indicating an image including a first halftone dot (131, 235) and a second halftone dot (132, 232) having an arrangement according to a printing rule. (Step S23),
By moving the second halftone dot (132, 232) to define the virtual halftone dot (132 ′, 232 ′), the first halftone dot (131, 231 ′) and the virtual halftone dot (132 ′, 232 ′) Generating a third halftone dot (132 ″, 232 ″) located between;
Erasing virtual halftone dots (132 ′, 232 ′). Here, the virtual halftone dot positions of the virtual halftone dots (132 ′, 232 ′) are on a straight line passing through the first halftone dots (131, 235) and the second halftone dots (132, 232). Further, the virtual halftone dot (132 ′, 232 ′) is in the first direction from the first halftone dot (131, 235) to the second halftone dot (132, 232) with respect to the second halftone dot (132, 232). It is in. The virtual halftone dot area of the virtual halftone dots (132 ′, 232 ′) is the same as the second halftone dot area of the second halftone dot. The third halftone dot (132 ″, 232 ″) is on a straight line passing through the first halftone dot (131, 235) and the second halftone dot (132, 232). The third halftone dot position of the third halftone dot (132 ″) is determined in accordance with the printing rule. The third halftone dot area of the third halftone dot (132 ″, 232 ″) is the virtual halftone dot position of the virtual halftone dot (132 ′, 232 ′) and the halftone dot of the first halftone dot (131, 235). The position, the third halftone dot position of the third halftone dot (132 ″, 232 ″), the first halftone dot area of the first halftone dot (131, 235), and the virtual halftone dot (132 ′, 232 ′). ) And the virtual halftone dot area (see FIGS. 33 and 34).

本発明のイメージデータ復元方法は、圧縮データ(57)を取得することと、ここで、前記圧縮データ(57)は、
第1圧縮アルゴリズムにより圧縮された第1圧縮イメージ要素データ(54)と
前記第1圧縮アルゴリズムと異なる第2アルゴリズムにより圧縮された第2圧縮イメージ要素データ(55)
とを含み、
第1圧縮イメージ要素データ(54)を復元して第1復元イメージ要素データ(58)を生成することと、
前記第2圧縮イメージ要素データ(55)を復元して第2復元イメージ要素データ(59)を生成することと、
前記第1復元イメージ要素データ(58)と第2復元イメージ要素データ(59)とから、一のイメージを示す復元イメージデータ(61)を生成すること(28)とを備える(図28参照)。
The image data restoration method of the present invention obtains compressed data (57), wherein the compressed data (57)
First compressed image element data (54) compressed by a first compression algorithm and second compressed image element data (55) compressed by a second algorithm different from the first compression algorithm
Including
Decompressing the first compressed image element data (54) to generate first decompressed image element data (58);
Decompressing the second compressed image element data (55) to generate second decompressed image element data (59);
Generating restored image data (61) indicating one image from the first restored image element data (58) and the second restored image element data (59) (see FIG. 28).

本発明のイメージデータ復元方法は、
第1網点(122)と第2網点(1231)の面積差(ΔS1)を示す面積差データと、前記第1網点(122)と前記第2網点(1231)の距離(x1)を示す距離データとを含む圧縮データ(55)を取得すること(S21)と、
前記面積差データと、前記距離データとに基づいて、前記第1網点(122)と前記第2網点(1231)とを含むように、イメージデータ(59)を復元すること(S23)とを備える。
The image data restoration method of the present invention includes:
1st dot (122) and area difference data indicating the area difference between the second dot (123 1) and ([Delta] S 1), the distance of the first dot (122) and the second dot (123 1) Obtaining compressed data (55) including distance data indicating (x 1 ) (S21);
Based on the area difference data and the distance data, the image data (59) is restored so as to include the first halftone dot (122) and the second halftone dot (123 1 ) (S23). With.

当該イメージデータ復元方法において、前記イメージデータ(59)は、前記第1網点(122)と前記第2網点(1231)との間に位置する第3網点(1241)を更に含むように復元され、
前記第3網点(1241)の面積は、前記面積差データに基づいて定められることが望ましい。
In the image data restoration method, the image data (59) further includes a third halftone dot (124 1 ) located between the first halftone dot (122) and the second halftone dot (123 1 ). Is restored and
The area of the third halftone dot (124 1 ) is preferably determined based on the area difference data.

本発明のイメージデータ復元方法は、
所定の面積範囲にある面積を有する自由細点(212)の位置を示す位置データを含む圧縮データ(54)を取得することと
前記位置に基づいて、自由細点(212)からなる画像(210)を示すイメージデータ(58)を復元すること
とを備えている。
The image data restoration method of the present invention includes:
Acquiring compressed data (54) including position data indicating the position of a free fine dot (212) having an area in a predetermined area range, and an image (210) comprising free fine dots (212) based on the position ) Is restored.

このとき、圧縮データ(54)は、画像(210)に定められた矩形領域(211)の内部の濃度の平均値を含み、
イメージデータ(58)を復元することは、
前記平均値に基づいて、イメージデータ(58)を復元すること
とを含むことが望ましい。
At this time, the compressed data (54) includes the average value of the density inside the rectangular area (211) defined in the image (210),
Restoring the image data (58)
It is desirable to include restoring the image data (58) based on the average value.

また、前記位置データは、画像(210)に定められた矩形領域(211)の辺(213)と自由細点(212)との距離を備え、
イメージデータ(58)を復元することは、
前記距離に基づいて、イメージデータ(58)を復元すること
を含むことが望ましい。
The position data includes a distance between the side (213) of the rectangular area (211) defined in the image (210) and the free thin point (212),
Restoring the image data (58)
Preferably, the method includes restoring the image data (58) based on the distance.

本発明により、圧縮・復元することによる画質の劣化が抑制されるイメージデータの圧縮方法及び復元方法が提供される。   According to the present invention, there are provided a compression method and a decompression method of image data in which deterioration of image quality due to compression / decompression is suppressed.

また、本発明により、圧縮率が大きいイメージデータの圧縮方法及び復元方法が提供される。   The present invention also provides a method for compressing and restoring image data with a high compression rate.

また、本発明により、圧縮率が大きく、且つ、イメージデータを圧縮することによる画質の劣化が抑制されるイメージデータの圧縮方法及び復元方法が提供される。   In addition, according to the present invention, there are provided a compression method and a decompression method for image data that have a large compression rate and suppress deterioration in image quality due to compression of image data.

また、本発明により、網点から構成されている印刷物から生成されたイメージデータを、効果的に圧縮し、復元するイメージデータの圧縮方法及び復元方法が提供される。   In addition, according to the present invention, there are provided an image data compression method and decompression method for effectively compressing and restoring image data generated from a printed matter composed of halftone dots.

また、本発明により、イメージデータの圧縮が、高速に行われるイメージデータの圧縮方法が提供される。   In addition, according to the present invention, there is provided a method for compressing image data in which image data is compressed at high speed.

また、本発明により、エッジが強調されている画像を示すイメージデータの圧縮が、高速に行われるイメージデータの圧縮方法が提供される。   In addition, according to the present invention, there is provided a method for compressing image data in which image data indicating an image with emphasized edges is compressed at high speed.

また、本発明により、印刷規則に定められた配置を有さない、小さい面積を有する細点から構成されている印刷物から生成されたイメージデータを、効果的に圧縮し、復元するイメージデータの圧縮方法及び復元方法が提供される。   Further, according to the present invention, image data generated from a printed matter that is composed of fine dots having a small area, which does not have an arrangement defined in the printing rule, can be effectively compressed and restored. A method and a restoration method are provided.

図1は、本発明の実施の第1形態のイメージデータ圧縮方法を示すフローチャートである。FIG. 1 is a flowchart showing an image data compression method according to the first embodiment of the present invention. 図2は、実施の第1形態のイメージデータ圧縮方法及び復元方法が実行されるハードウエア資源10を示す。FIG. 2 shows a hardware resource 10 on which the image data compression method and decompression method of the first embodiment are executed. 図3は、圧縮されるイメージ30を示す。FIG. 3 shows the image 30 to be compressed. 図4は、自由細点イメージ要素データ51に含まれるイメージ要素を示す。FIG. 4 shows image elements included in the free fine dot image element data 51. 図5は、印刷網点イメージ要素データ52に含まれるイメージ要素を示す。FIG. 5 shows image elements included in the print halftone dot image element data 52. 図6は、線画イメージ要素データ53に含まれるイメージ要素を示す。FIG. 6 shows image elements included in the line drawing image element data 53. 図7は、自由細点パターン圧縮アルゴリズムを説明する図である。FIG. 7 is a diagram for explaining a free fine dot pattern compression algorithm. 図8は、面積パッチ71が有する各種のパターンを示す図である。FIG. 8 is a diagram showing various patterns that the area patch 71 has. 図9は、印刷網点イメージ要素データ52に含まれている画像の一部分を示す。FIG. 9 shows a part of an image included in the print halftone dot image element data 52. 図10は、印刷網点パターン圧縮アルゴリズムを示すフローチャートである。FIG. 10 is a flowchart showing a printing dot pattern compression algorithm. 図11は、網点の面積を算出する第1方法と、網点の中心点を定める方法とを示す図である。FIG. 11 is a diagram illustrating a first method for calculating the area of halftone dots and a method for determining the center point of halftone dots. 図12は、網点の面積を算出する第2方法を示す図である。FIG. 12 is a diagram illustrating a second method for calculating the area of halftone dots. 図13は、スクリーン線を抽出する第1方法を示す図である。FIG. 13 is a diagram illustrating a first method of extracting screen lines. 図14は、スクリーン線を抽出する第2方法を示す図である。FIG. 14 is a diagram illustrating a second method of extracting screen lines. 図15は、網点811〜814が取り得る配置を示す図である。Figure 15 is a diagram showing an arrangement of halftone dots 81 1-81 4 can take. 図16は、スクリーン線を抽出する第3方法を示す図である。FIG. 16 is a diagram illustrating a third method of extracting screen lines. 図17は、スクリーン線角度を算出する方法を示す図である。FIG. 17 is a diagram illustrating a method of calculating the screen line angle. 図18は、スクリーン線密度を算出する方法を示す図である。FIG. 18 is a diagram illustrating a method of calculating the screen line density. 図19は、網点ベクターを算出する方法を示す図である。FIG. 19 is a diagram illustrating a method for calculating a halftone dot vector. 図20は、仮想的座標系Q1において、網点1010と、網点1011 1〜1011 nとが配置されている位置を示す図である。Figure 20, in a virtual coordinate system Q 1, is a diagram illustrating the dot 101 0, the position of the dot 101 1 1 to 101 1 n are arranged. 図21は、線画圧縮アルゴリズムで圧縮される画像を示す。FIG. 21 shows an image compressed by the line drawing compression algorithm. 図22は、エッジ112の検出法を示す。FIG. 22 shows a method for detecting the edge 112. 図23は、エッジ112を示す。FIG. 23 shows the edge 112. 図24は、ノイズの検出法を示す。FIG. 24 shows a noise detection method. 図25は、輪郭ベクター1151〜1158を示す。Figure 25 shows the outline vector 115 1-115 8. 図26は、輪郭線のスムージングの過程を示す。FIG. 26 shows a contour smoothing process. 図27は、輪郭線のスムージングの過程を示す。FIG. 27 shows the process of contour smoothing. 図28は、本発明の実施の第1形態のイメージデータ復元方法を示すフローチャートである。FIG. 28 is a flowchart illustrating the image data restoration method according to the first embodiment of this invention. 図29は、印刷網点復元アルゴリズムを示すフローチャートである。FIG. 29 is a flowchart showing a printing dot restoration algorithm. 図30は、網点が復元される過程を示すフローチャートである。FIG. 30 is a flowchart showing a process of restoring halftone dots. 図31は、線画復元アルゴリズムを示すフローチャートである。FIG. 31 is a flowchart showing a line drawing restoration algorithm. 図32は、カラー画像を示すカラー紙面イメージデータを圧縮する過程を示すフローチャートである。FIG. 32 is a flowchart showing a process of compressing color paper image data representing a color image. 図33は、印刷網点圧縮データモジュールが復元される際に、復元された画像が、復元と同時に拡大される過程を示す。FIG. 33 shows a process in which the restored image is enlarged simultaneously with the restoration when the halftone dot compression data module is restored. 図34は、印刷網点圧縮データモジュール55が復元される際に、印刷網点で構成される画像が、復元と同時に縮小される過程を示す。FIG. 34 shows a process in which when the print dot compression data module 55 is restored, an image composed of print dots is reduced simultaneously with the restoration. 図35は、線画圧縮データモジュール56が復元される際に、復元された画像が、復元と同時に縮小される過程を示す。FIG. 35 shows a process in which, when the line drawing compressed data module 56 is restored, the restored image is reduced simultaneously with the restoration. 図36は、線画圧縮データモジュール56が復元される際に、復元された画像が、復元と同時に拡大される過程を示す。FIG. 36 shows a process in which, when the line drawing compressed data module 56 is restored, the restored image is enlarged simultaneously with the restoration. 図37は、自由細点ベクター圧縮アルゴリズムを示す。FIG. 37 shows the free fine dot vector compression algorithm. 図38は、実施の第2形態のイメージデータ圧縮方法を実行するハードウエア資源10’を示す。FIG. 38 shows a hardware resource 10 'that executes the image data compression method according to the second embodiment. 図39は、実施の第2形態のイメージデータ圧縮方法を示すフローチャートである。FIG. 39 is a flowchart illustrating an image data compression method according to the second embodiment. 図40は、実施の第2形態のイメージデータ復元方法を示すフローチャートである。FIG. 40 is a flowchart illustrating an image data restoration method according to the second embodiment. 図41は、画素501の構造を示す。FIG. 41 shows the structure of the pixel 501. 図42は、網点502の構造を示す。FIG. 42 shows the structure of the halftone dot 502. 図43は、網点で構成されている画像を示す。FIG. 43 shows an image composed of halftone dots. 図44は、網点の集合体の抽出方法を示す。FIG. 44 shows a method for extracting a collection of halftone dots. 図45は、自由細点データ化圧縮アルゴリズムを説明するための図である。FIG. 45 is a diagram for explaining a free fine dot data compression algorithm.

以下、添付図面を参照しながら、本発明による実施の形態を説明する。   Embodiments according to the present invention will be described below with reference to the accompanying drawings.

(実施の第1形態)
実施の第1形態のイメージデータの圧縮方法及び復元方法は、紙面に描かれた画像をスキャナーにより取り込むことによって生成されたイメージデータを圧縮し、更に復元する方法である。
(First embodiment)
The image data compression method and restoration method according to the first embodiment is a method for compressing and further restoring image data generated by capturing an image drawn on a paper surface with a scanner.

実施の第1形態のイメージデータの圧縮方法及び復元方法は、ハードウエア資源を用いて実行される。そのハードウエア資源10は、図2に示されているように、スキャナ1、CPU2、記憶装置3、記録媒体4、及びバス5を含む。スキャナ1、CPU2、記憶装置3、及び記録媒体4は、バス5に接続されている。スキャナ1は、紙面に描かれたイメージ30を取り込んで、紙面イメージデータ50を生成する。CPU2は、紙面イメージデータ50を圧縮し、又は復元するための演算を実行する。記憶装置3は、紙面イメージデータ50と、実施の第1形態のイメージデータの圧縮方法及び復元方法を実行する過程で生成されたデータを格納する。記録媒体4は、実施の第1形態のイメージデータの圧縮方法及び復元方法に含まれる手順が記載されたプログラムを格納する。CPU2は、そのプログラムに従って動作する。バス5は、スキャナ1、CPU2、記憶装置3、及び記録媒体4の間で交換されるデータを伝送する。   The image data compression method and decompression method according to the first embodiment are executed using hardware resources. As shown in FIG. 2, the hardware resource 10 includes a scanner 1, a CPU 2, a storage device 3, a recording medium 4, and a bus 5. The scanner 1, CPU 2, storage device 3, and recording medium 4 are connected to a bus 5. The scanner 1 takes in an image 30 drawn on a paper surface and generates paper image data 50. The CPU 2 executes a calculation for compressing or restoring the paper surface image data 50. The storage device 3 stores the paper image data 50 and data generated in the course of executing the image data compression method and decompression method of the first embodiment. The recording medium 4 stores a program in which procedures included in the image data compression method and decompression method according to the first embodiment are described. The CPU 2 operates according to the program. The bus 5 transmits data exchanged among the scanner 1, the CPU 2, the storage device 3, and the recording medium 4.

実施の第1形態のイメージデータの圧縮方法及び復元方法では、まず、図1に示されているように、紙面に描かれたイメージ30がスキャナ1により取り込まれ、紙面イメージデータ50が生成される(ステップS01)。   In the image data compression method and decompression method according to the first embodiment, first, as shown in FIG. 1, an image 30 drawn on a paper surface is captured by the scanner 1 to generate paper image data 50. (Step S01).

スキャナ1により取り込まれるイメージ30は、モノクロイメージである。イメージ30は、図3に示されているように、ランダムに配置されている見出し31、本文32、写真33、表34、イラスト35、グラフィック36、広告文字37、漫画38、写真見出し39により構成されている。見出し31、本文32、及び広告文字37は、活字により印刷された文字からなる。写真33、グラフィック36は、印刷規則に定められた配置を有する網点群により構成されている。   The image 30 captured by the scanner 1 is a monochrome image. As shown in FIG. 3, the image 30 is composed of a heading 31, a body 32, a photograph 33, a table 34, an illustration 35, a graphic 36, an advertisement character 37, a comic 38, and a photo heading 39 arranged at random. Has been. The headline 31, the body 32, and the advertisement character 37 are characters printed by type. The photograph 33 and the graphic 36 are constituted by a halftone dot group having an arrangement defined in the printing rule.

イメージ30を構成する要素は、以下において、イメージ要素と呼ばれることがある。見出し31、本文32、写真33、表34、イラスト35、グラフィック36、広告文字37、漫画38、写真見出し39は、イメージ要素を構成する。更に、見出し31、本文32、写真33、表34、イラスト35、グラフィック36、広告文字37、及び漫画38の一部分も、イメージ要素を構成し得る。   Elements that make up the image 30 may be referred to as image elements in the following. The headline 31, the body 32, the photograph 33, the table 34, the illustration 35, the graphic 36, the advertisement character 37, the comic 38, and the photograph headline 39 constitute an image element. Furthermore, the heading 31, the body 32, the photograph 33, the table 34, the illustration 35, the graphic 36, the advertising character 37, and a part of the comic 38 may constitute the image element.

続いて、紙面イメージデータ50が示す画像30のイメージ要素が抽出され、更に分別される(ステップS02)。   Subsequently, the image elements of the image 30 indicated by the paper surface image data 50 are extracted and further classified (step S02).

紙面イメージデータ50から、印刷規則に従わずに配置された細かい点に対応する部分が抽出され、自由細点イメージ要素データ51が生成される。印刷規則に従わずに配置された細かい点は、以後、自由細点と記載される。印刷規則に従わずに配置され、所定の面積よりも小さく、且つ、印刷網点の面積よりも大きい領域が、自由細点として抽出される。   A portion corresponding to the fine dots arranged without following the printing rule is extracted from the paper image data 50, and free fine dot image element data 51 is generated. The fine dots arranged without following the printing rules are hereinafter referred to as free fine dots. A region that is arranged not in accordance with the printing rule, is smaller than a predetermined area, and larger than the area of the printing halftone dot is extracted as a free fine dot.

図4は、自由細点イメージ要素データ51の内容を示す。図4に示されているように、自由細点イメージ要素データ51は、漫画38の一部であるイメージ要素40を示すデータから構成されている。即ち、紙面イメージデータ50のうち、イメージ要素40に対応する部分が、自由細点イメージ要素データ51として抽出される。   FIG. 4 shows the contents of the free fine dot image element data 51. As shown in FIG. 4, the free fine dot image element data 51 is composed of data indicating an image element 40 that is a part of the comic 38. That is, a portion corresponding to the image element 40 in the paper surface image data 50 is extracted as the free fine dot image element data 51.

自由細点イメージ要素データ51には、それに含まれているイメージ要素40の位置を示す位置情報が付加される。   Position information indicating the position of the image element 40 included in the free fine dot image element data 51 is added.

更に、紙面イメージデータ50から、イメージ30に含まれる網点群に対応する部分が抽出され、印刷網点イメージ要素データ52が生成される(ステップS04)。その網点群は、印刷規則に定められた配置を有する。網点群が、印刷規則に定められた配置を有することを利用して網点群が抽出され、印刷網点イメージ要素データ52が生成される。   Further, a portion corresponding to the halftone dot group included in the image 30 is extracted from the paper surface image data 50, and print halftone dot image element data 52 is generated (step S04). The dot group has an arrangement defined in the printing rule. A halftone dot group is extracted using the fact that the halftone dot group has an arrangement defined in the printing rule, and print halftone dot image element data 52 is generated.

まず、印刷規則に定められた網点の最大面積よりも小さい面積を有する点からなる集合体が、紙面イメージデータ50から抽出される。更に、その集合体が、印刷網点の集合体であるのか否かが判断される。図44は、紙面イメージデータ50から抽出された集合体200を示す。集合体200は、点201から構成されている。   First, an aggregate composed of points having an area smaller than the maximum area of halftone dots defined in the printing rule is extracted from the paper surface image data 50. Further, it is determined whether or not the aggregate is an aggregate of printing halftone dots. FIG. 44 shows the aggregate 200 extracted from the paper surface image data 50. The aggregate 200 is composed of points 201.

集合体200がx軸方向に伸びる走査線202に沿って走査される。階調の変化から、点201のエッジが検出される。走査線202に沿って走査された結果、ある点201aのエッジ203aが検出されたとする。更に走査線202に沿って集合体200が走査され、他の点201b、201cの左端にあるエッジ203b、203cが、順次に、それぞれ検出されたとする。更にこのとき、エッジ203aとエッジ203bの第1間隔、エッジ203bとエッジ203cの第2間隔が、所定の単位間隔であるならば、点201a、点201b、及び点201cは、網点であると判断される。他の点201についても同様にして、その点が網点であるか否かが判断される。集合体200に含まれている点201の概ね全部が網点であると判断されれば、集合体200は、網点の集合体であると判断される。   The assembly 200 is scanned along a scanning line 202 extending in the x-axis direction. The edge of the point 201 is detected from the change in gradation. It is assumed that an edge 203a of a certain point 201a is detected as a result of scanning along the scanning line 202. Further, it is assumed that the aggregate 200 is scanned along the scanning line 202, and the edges 203b and 203c at the left ends of the other points 201b and 201c are sequentially detected. Furthermore, at this time, if the first interval between the edges 203a and 203b and the second interval between the edges 203b and 203c are predetermined unit intervals, the points 201a, 201b, and 201c are halftone dots. To be judged. Similarly, it is determined whether or not the other point 201 is a halftone dot. If it is determined that almost all of the points 201 included in the aggregate 200 are halftone dots, the aggregate 200 is determined to be an aggregate of halftone dots.

前述の単位間隔は、印刷規則に定められているスクリーン線203の密度と、走査線202とスクリーン線203とがとりうる角度により定まる。仮に、集合体200が含む点201が網点であるならば、それらは、スクリーン線203の上に並んで配列されているはずである。このとき、x軸方向に伸びる走査線202とスクリーン線203とがなす角度は、印刷規則により、0°、15°、30°、45°、60°、75°、90°のいずれかに定まる。更に、スクリーン線203の間隔dsも、印刷規則により定められている。走査線202とスクリーン線203とがなす角度のなしうる角度のうち、0°以外の6つの角度のそれぞれに対応して、6つの単位間隔dnorm 1〜dnorm 6が定まり、
norm i=dscosθs i
但し、θs 1=15°,
θs 2=30°,
θs 3=45°,
θs 4=60°,
θs 5=75°,
θs 6=90°.
集合体200に含まれる点201のうちの、任意の一点と、それに隣接する他の点のエッジの間隔が、6つの単位間隔dnorm 1〜dnorm 6のうちの一の単位間隔に概ね等しい場合、集合体200は、網点の集合体であると判断される。
The unit interval is determined by the density of the screen lines 203 defined in the printing rule and the angle that the scanning lines 202 and the screen lines 203 can take. If the points 201 included in the aggregate 200 are halftone dots, they should be arranged side by side on the screen line 203. At this time, the angle formed by the scanning line 202 extending in the x-axis direction and the screen line 203 is determined to be 0 °, 15 °, 30 °, 45 °, 60 °, 75 °, or 90 ° according to the printing rule. . Further, the distance d s between the screen lines 203 is determined by the printing rule. Six unit intervals d norm 1 to d norm 6 are determined corresponding to each of six angles other than 0 ° among the angles that the scan line 202 and the screen line 203 can form.
d norm i = d s cos θ s i ,
However, θ s 1 = 15 °,
θ s 2 = 30 °,
θ s 3 = 45 °,
θ s 4 = 60 °,
θ s 5 = 75 °,
θ s 6 = 90 °.
The interval between any one of the points 201 included in the aggregate 200 and the edge of another point adjacent thereto is approximately equal to one unit interval among the six unit intervals d norm 1 to d norm 6. In this case, the aggregate 200 is determined to be an aggregate of halftone dots.

走査線202とスクリーン線203とがなす角度が0°である場合はこの方法では、ある集合体200が網点の集合体であるか否かは判断できない。ただし、走査線202の方向を変更することにより、その集合体200が網点の集合体であるか否かを判断することが可能である。   When the angle formed by the scanning line 202 and the screen line 203 is 0 °, it cannot be determined by this method whether or not a certain aggregate 200 is an aggregate of halftone dots. However, it is possible to determine whether or not the aggregate 200 is an aggregate of halftone dots by changing the direction of the scanning line 202.

網点の集合体であると判断された集合体200が抽出され、印刷網点イメージ要素データ52が生成される。   A set 200 determined to be a set of halftone dots is extracted, and print dot image element data 52 is generated.

なお、走査線の方向は、x軸方向に限られない。走査線の方向は、他の方向であることも当然に可能である。   Note that the direction of the scanning line is not limited to the x-axis direction. Of course, the direction of the scanning line may be another direction.

図5は、印刷網点イメージ要素データ52の内容を示す。図5に示されているように、印刷網点イメージ要素データ52は、写真33とグラフィック36とを示すデータから構成されている。即ち、紙面イメージデータ50のうち、写真33とグラフィック36とに対応する部分が、印刷網点イメージ要素データ52として抽出される。   FIG. 5 shows the contents of the print dot image element data 52. As shown in FIG. 5, the print halftone dot image element data 52 is composed of data indicating a photograph 33 and a graphic 36. That is, a portion corresponding to the photograph 33 and the graphic 36 in the paper surface image data 50 is extracted as the print halftone dot image element data 52.

印刷網点イメージ要素データ52には、それに含まれている写真33とグラフィック36との位置を示す位置情報が付加される。   The print dot image element data 52 is added with position information indicating the positions of the photograph 33 and the graphic 36 included therein.

更に、紙面イメージデータ50のうち、自由細点イメージ要素データ51としても印刷網点イメージ要素データ52としても抽出されなかった部分が、線画イメージ要素データ53として抽出される(ステップS05)。   Further, a portion of the paper image data 50 that has not been extracted as the free fine dot image element data 51 or the print halftone dot image element data 52 is extracted as the line drawing image element data 53 (step S05).

図6は、線画イメージ要素データ53の内容を示す。図6に示されているように、線画イメージ要素データ53は、見出し31、本文32、表34、イラスト35、広告文字37、イメージ要素40、及び漫画38の一部であるイメージ要素41とを示すデータから構成されている。イメージ30のうち、コントラストの変化に乏しく、且つ、エッジが明確な部分に対応する部分は、線画イメージ要素データ53に格納される。   FIG. 6 shows the contents of the line drawing image element data 53. As shown in FIG. 6, the line drawing image element data 53 includes a headline 31, a body 32, a table 34, an illustration 35, an advertisement character 37, an image element 40, and an image element 41 that is a part of the comic 38. It consists of the data shown. Of the image 30, a portion corresponding to a portion with a poor contrast change and a clear edge is stored in the line drawing image element data 53.

図1に示されているように、前述の自由細点イメージ要素データ51は、自由細点パターン圧縮アルゴリズムにより圧縮され、自由細点圧縮データモジュール54が生成される(ステップS03)。自由細点パターン圧縮アルゴリズムでは、圧縮する対象のエリアが、面積パッチに区分される。更に、各面積パッチに含まれるパターンが符号化され、自由細点圧縮データモジュール54が生成される。   As shown in FIG. 1, the aforementioned free fine dot image element data 51 is compressed by a free fine dot pattern compression algorithm to generate a free fine dot compressed data module 54 (step S03). In the free fine dot pattern compression algorithm, the area to be compressed is divided into area patches. Further, the pattern included in each area patch is encoded, and a free fine dot compressed data module 54 is generated.

以下では、自由細点パターン圧縮アルゴリズムが詳細に説明される。   In the following, the free fine dot pattern compression algorithm will be described in detail.

図7に示されているように、圧縮の対象となる対象エリア70が、面積パッチ71に区分される。面積パッチ71のそれぞれは、縦に4個、横に4個の16個の小領域72で構成されている。面積パッチ71に含まれる小領域72の個数は、縦に4個、横に4個の16個に限られない。例えば、面積パッチ71のそれぞれが、縦に8個、横に8個の16個の小領域72で構成されることも可能である。   As shown in FIG. 7, the target area 70 to be compressed is divided into area patches 71. Each of the area patches 71 is composed of 16 small regions 72 that are four vertically and four horizontally. The number of small regions 72 included in the area patch 71 is not limited to 16 in the vertical direction and 4 in the horizontal direction. For example, each of the area patches 71 may be composed of 16 small regions 72 of 8 vertically and 8 horizontally.

更に、それぞれの面積パッチ71が有するパターンが認識される。そのパターンは、面積パッチ71に含まれている小領域72のそれぞれに、イメージ要素73が存在するか否かに基づいて、認識される。   Furthermore, the pattern which each area patch 71 has is recognized. The pattern is recognized based on whether or not the image element 73 exists in each of the small regions 72 included in the area patch 71.

図8は、面積パッチ71が有する各種のパターンの例を示す。図8(a)は、ゼロパターンを有する面積パッチ71を示す。面積パッチ71には、イメージ要素73が存在しない。図8(b)は、右下パターンを有する面積パッチ71を示す。右下パターンとは、面積パッチ71の右下に位置する4つの小領域72に、イメージ要素73が存在するパターンである。図8(c)は、中パターンを有する面積パッチ71を示す。中パターンとは、面積パッチ71の中央に位置する4つの小領域72に、イメージ要素73が存在するパターンである。図8(d)は、右上パターンを有する面積パッチ71を示す。右上パターンは、面積パッチ71の右上に位置する2つの小領域72に、イメージ要素73が存在するパターンである。図8(e)は、右1パターンを有する面積パッチ71を示す。右1パターンとは、面積パッチ71の下から2行目、右から1列目にある小領域72に、イメージ要素73が存在するパターンである。図8(f)は、−右1パターンを有する面積パッチ71を示す。−右1パターンとは、下から2行目、左から1列目にある小領域72に、イメージ要素73が存在するパターンである。   FIG. 8 shows examples of various patterns that the area patch 71 has. FIG. 8A shows an area patch 71 having a zero pattern. The area patch 71 has no image element 73. FIG. 8B shows an area patch 71 having a lower right pattern. The lower right pattern is a pattern in which an image element 73 exists in four small regions 72 located at the lower right of the area patch 71. FIG. 8C shows an area patch 71 having a medium pattern. The middle pattern is a pattern in which the image element 73 exists in the four small regions 72 located at the center of the area patch 71. FIG. 8D shows an area patch 71 having an upper right pattern. The upper right pattern is a pattern in which an image element 73 exists in two small regions 72 located at the upper right of the area patch 71. FIG. 8E shows an area patch 71 having one right pattern. The right one pattern is a pattern in which the image element 73 exists in the small region 72 in the second row from the bottom of the area patch 71 and in the first column from the right. FIG. 8F shows an area patch 71 having one pattern on the right. The right one pattern is a pattern in which the image element 73 exists in the small area 72 in the second row from the bottom and the first column from the left.

自由細点パターン圧縮アルゴリズムでは、面積パッチ71が有する各種のパターンのそれぞれに対応して、互いに異なる符号が予め定められている。図8(a)〜(f)に示されているパターンのそれぞれに対応して、互いに異なる符号が定められている。   In the free fine dot pattern compression algorithm, codes different from each other are determined in advance corresponding to the various patterns of the area patch 71. Different codes are defined corresponding to the patterns shown in FIGS. 8A to 8F.

予め定められている符号を使用して、面積パッチ71が有するパターンが符号化される。符号化されたパターンが、圧縮され、自由細点パターン圧縮アルゴリズムが完了する。   A pattern included in the area patch 71 is encoded using a predetermined code. The encoded pattern is compressed to complete the free fine dot pattern compression algorithm.

自由細点イメージ要素データ51は、上述の自由細点パターン圧縮アルゴリズムにより圧縮され、自由細点圧縮データモジュール54が生成される。   The free fine dot image element data 51 is compressed by the above-described free fine dot pattern compression algorithm, and a free fine dot compressed data module 54 is generated.

一方、図1に示されているように、印刷網点イメージ要素データ52は、印刷網点圧縮アルゴリズムにより圧縮され、印刷網点圧縮データモジュール55が生成される(ステップS04)。印刷網点圧縮アルゴリズムでは、網点が配列されるスクリーン線の方向と、単位長あたりのスクリーン線の線密度とが算出される。更に、画像に含まれる網点の中心点の相対位置と面積差とを成分とする網点ベクターが算出される。更に、その網点ベクターが符号化される。印刷網点圧縮データモジュール55は、符号化された網点ベクターと、スクリーン線の方向と、単位長あたりのスクリーン線の線密度とを示すデータを含む。   On the other hand, as shown in FIG. 1, the print halftone image element data 52 is compressed by a print halftone compression algorithm to generate a print halftone compression data module 55 (step S04). In the printing halftone compression algorithm, the direction of the screen lines in which the halftone dots are arranged and the line density of the screen lines per unit length are calculated. Further, a halftone dot vector whose components are the relative position of the center point of the halftone dots included in the image and the area difference is calculated. Furthermore, the halftone dot vector is encoded. The print halftone compression data module 55 includes data indicating the encoded halftone vector, the direction of the screen lines, and the line density of the screen lines per unit length.

印刷網点圧縮アルゴリズムでは、印刷網点イメージ要素データ52に含まれている画像が網点から構成され、冗長度が大きいことが利用される。これにより、印刷網点イメージ要素データ52が効果的に圧縮される。   In the print halftone compression algorithm, an image included in the print halftone image element data 52 is composed of halftone dots, and a high redundancy is used. Thereby, the printing dot image element data 52 is effectively compressed.

以下では、印刷網点パターン圧縮アルゴリズムが詳細に説明される。   In the following, the printing dot pattern compression algorithm will be described in detail.

印刷網点イメージ要素データ52は、前述されているように、網点で構成された画像を示すデータで構成されている。図9は、印刷網点イメージ要素データ52に含まれている画像の一部分を示す。印刷網点イメージ要素データ52に含まれている網点81は、印刷規則に定められた配置で配置されている。網点81は、スクリーン線82の上に配置されている。   As described above, the print halftone image element data 52 is composed of data indicating an image composed of halftone dots. FIG. 9 shows a part of an image included in the print halftone dot image element data 52. The halftone dots 81 included in the print halftone image element data 52 are arranged in an arrangement determined by the printing rule. The halftone dot 81 is disposed on the screen line 82.

図10は、印刷網点パターン圧縮アルゴリズムを示すフローチャートである。印刷網点パターン圧縮アルゴリズムでは、まず、図10に示されているように、印刷網点イメージ要素データ52に含まれる網点81のそれぞれの面積と中心点の位置とが算出される(ステップS11)。   FIG. 10 is a flowchart showing a printing dot pattern compression algorithm. In the printing dot pattern compression algorithm, first, as shown in FIG. 10, the area of each halftone dot 81 and the position of the center point included in the printing dot image element data 52 are calculated (step S11). ).

網点81は、その形状が崩れていることがある。なぜなら、印刷網点イメージ要素データ52は、紙面に印刷されたイメージ30から生成されるからである。網点81は、紙面にイメージ30を印刷する際には、正方形になることを意図して印刷されている。しかし、紙面にイメージ30を印刷する過程で、インクのにじみ等の要因により、網点の形状は崩れる。紙面に印刷されたイメージ30から生成される印刷網点イメージ要素データ52は、形状が崩れた網点81を示すデータで構成されることになる。   The halftone dot 81 may have a broken shape. This is because the print dot image element data 52 is generated from the image 30 printed on the paper. The halftone dot 81 is printed with the intention of becoming a square when the image 30 is printed on the paper. However, in the process of printing the image 30 on the paper, the halftone dot shape collapses due to factors such as ink bleeding. The print halftone dot image element data 52 generated from the image 30 printed on the paper is composed of data indicating a halftone dot 81 whose shape has collapsed.

形状が崩れた網点81のそれぞれの面積は、以下に述べられている2つの方法のいずれかにより算出される。   The area of each halftone dot 81 whose shape has collapsed is calculated by one of the two methods described below.

面積を算出する第1方法では、まず、図11に示されているように、印刷網点イメージ要素データ52に示されている網点81の輪郭が抽出される。抽出された網点81の輪郭の上に、変曲点が、反時計回り又は時計回りに、順次に定められていく。変曲点とは、網点81の輪郭が伸展する方向が変化する点である。変曲点a〜kが、順次に定められる。   In the first method of calculating the area, first, as shown in FIG. 11, the outline of the halftone dot 81 shown in the print halftone dot image element data 52 is extracted. On the contour of the extracted halftone dot 81, inflection points are sequentially determined counterclockwise or clockwise. The inflection point is a point at which the direction in which the contour of the halftone dot 81 extends changes. Inflection points a to k are sequentially determined.

更に、隣接する2つの変曲点を結ぶベクターが定められていく。ベクター83a〜83kが定められる。ベクター83a〜83kは、網点81の輪郭を周回する。ベクター83a〜83kの和は0ベクターである。   Further, a vector connecting two adjacent inflection points is determined. Vectors 83a-83k are defined. The vectors 83 a to 83 k go around the outline of the halftone dot 81. The sum of the vectors 83a to 83k is a zero vector.

続いて、変曲点a〜kを頂点とする多角形に外接し、且つ、一辺の長さが最小である正四角形84が定められる。ここで、正四角形84の4つの頂点を頂点A、頂点B、頂点C、頂点Dとする。網点81の面積は、正四角形84の面積から、正四角形84の内部にあり、且つ、変曲点a〜kを頂点とする多角形の外部にある部分の面積を減じて求められる。即ち、正四角形84の面積から、多角形Acbak、三角形Bdc、三角形eCg、三角形hDi、及び三角形ijkの面積を減じて求められる。   Subsequently, a regular rectangle 84 that circumscribes a polygon having the inflection points a to k as apexes and has a minimum length of one side is determined. Here, it is assumed that the four vertices of the regular square 84 are a vertex A, a vertex B, a vertex C, and a vertex D. The area of the halftone dot 81 is obtained by subtracting the area of the part inside the regular square 84 and outside the polygon having the inflection points a to k as vertices from the area of the regular square 84. That is, it is obtained by subtracting the areas of the polygon Acbak, the triangle Bdc, the triangle eCg, the triangle hDi, and the triangle ijk from the area of the regular square 84.

面積を算出する第2方法では、まず、図12に示されているように、走査線85が定められる。走査線85は、X軸方向に伸展するように定められる。走査線85は、他の方向、例えば、Y軸方向に伸展するように定められることも可能である。走査線85は、互いに平行に、且つ、等間隔に配置される。走査線85に沿って網点81が走査される。階調の変化から、網点81の境界86が検出される。境界86の内部の面積が網点81の面積である。   In the second method for calculating the area, first, as shown in FIG. 12, the scanning line 85 is determined. The scanning line 85 is defined so as to extend in the X-axis direction. The scanning line 85 may be defined to extend in another direction, for example, the Y-axis direction. The scanning lines 85 are arranged in parallel to each other and at equal intervals. A halftone dot 81 is scanned along the scanning line 85. A boundary 86 of the halftone dot 81 is detected from the change in gradation. The area inside the boundary 86 is the area of the halftone dot 81.

上述の第1方法、第2方法のいずれであっても、任意の形状を有する網点81の面積が算出される。   In any of the first method and the second method described above, the area of the halftone dot 81 having an arbitrary shape is calculated.

更に、網点81の中心点の位置が、以下のようにして算出される。まず、図11に示されているように、網点81に外接し、且つ、一辺の長さが最小である正四角形84が定められる。網点81の中心点の位置は、その正四角形84の対角線AC、BDの交点Oであると定められる。このとき、
AO=BO=CO=DO,
が成立する。
Further, the position of the center point of the halftone dot 81 is calculated as follows. First, as shown in FIG. 11, a regular square 84 circumscribing the halftone dot 81 and having the shortest one side is defined. The position of the center point of the halftone dot 81 is determined to be the intersection O of the diagonal lines AC and BD of the regular rectangle 84. At this time,
AO = BO = CO = DO,
Is established.

ある網点の位置は、その網点の中心点の位置であると定義される。以下において、端に網点の位置と記載した場合、網点の位置は、網点の中心点の位置を意味する。また、ある2つの網点の距離とは、一の網点の中心点と他の網点の中心点の距離を意味する。   The position of a halftone dot is defined as the position of the center point of that halftone dot. Hereinafter, when the halftone dot position is described at the end, the halftone dot position means the position of the center point of the halftone dot. The distance between two halftone dots means the distance between the center point of one halftone dot and the center point of another halftone dot.

更に、図10に示されているように、スクリーン線の抽出が行われる(ステップS12)。スクリーン線は、以下に述べられる3つの方法のいずれかを使用して抽出される。   Further, as shown in FIG. 10, screen lines are extracted (step S12). Screen lines are extracted using any of the three methods described below.

スクリーン線を抽出する第1方法では、まず、網点81のうち、所定の面積よりも大きい面積を有するものが抽出される。以下では、網点81のうち、所定の面積よりも大きい面積を有するものは、スクリーン線抽出網点と呼ばれる。図13は、スクリーン線抽出網点の中心点97の配置が示されている。スクリーン線抽出網点の中心点97は、概ね、ある方向に配列する。その方向に伸展し、且つ、スクリーン線抽出網点の中心点97を通る直線が、スクリーン線98であると認識される。スクリーン線98の同定には、必要に応じて、最小2乗法が使用される。   In the first method of extracting screen lines, first, among the halftone dots 81, those having an area larger than a predetermined area are extracted. In the following, among the halftone dots 81, those having an area larger than a predetermined area are referred to as screen line extraction halftone dots. FIG. 13 shows the arrangement of the center points 97 of the screen line extraction halftone dots. The center points 97 of the screen line extraction halftone dots are generally arranged in a certain direction. A straight line extending in that direction and passing through the center point 97 of the screen line extraction halftone dot is recognized as the screen line 98. For the identification of the screen line 98, a least square method is used as necessary.

スクリーン線を抽出する第2方法では、まず、網点81から、図14に示されているように、4つの網点が抽出される。このとき、抽出される網点の中心点が、実質的に正方形の頂点となるように、その4つの網点は抽出される。抽出された網点81は、以後、網点811〜814と記載される。 In the second method of extracting screen lines, first, four halftone dots are extracted from the halftone dots 81 as shown in FIG. At this time, the four halftone dots are extracted so that the center point of the halftone dots to be extracted is substantially a vertex of a square. The extracted halftone dots 81 are hereinafter referred to as halftone dots 81 1 to 81 4 .

図14に示された複数の直線88と、複数の直線89とが、スクリーン線の候補であると認識される。ここで、直線88は、網点811〜814の4つの中心点を頂点とする正方形87の辺871と同一の方向に伸展し、且つ、網点811〜814の中心点を通過する直線である。一方、直線89は、正方形87の対角線872の方向に伸展し、且つ、網点811〜814の中心点を通過する直線89が、スクリーン線の候補であると認識される。 The plurality of straight lines 88 and the plurality of straight lines 89 shown in FIG. 14 are recognized as screen line candidates. Here, the straight line 88, the four center points of the dot 81 1-81 4 extended to the side 87 1 of the same direction of the square 87 to the apex, and the center point of the dot 81 1-81 4 A straight line passing through. On the other hand, the straight line 89, then extended diagonally 87 2 in the direction of the square 87, and a straight line 89 passing through the center point of the dot 81 1-81 4 is recognized as a candidate for the screen line.

直線88と直線89とがいずれも、スクリーン線の候補と成り得るのは、網点811〜814は、以下の2つの配置のいずれかを有するからである。図15(a)に示されているように、網点811〜814は、2本のスクリーン線90、91に2つずつ位置する場合がある。 Both the straight line 88 and the line 89, can become candidates for the screen line, dot 81 1-81 4 is because having one of two arrangements described below. As shown in FIG. 15 (a), halftone dot 81 1-81 4, two for two screen lines 90 and 91 which may be located.

また、図15(b)に示されているように、スクリーン線92の上に、網点811〜814のうちの一があり、スクリーン線93の上に、網点811〜814のうちの他の一があり、更に、スクリーン線92、93の間にあるスクリーン線94に、網点811〜814のうちの残りの二がある場合がある。 Further, as shown in FIG. 15 (b), on the screen line 92, there is one of the dot 81 1-81 4, on the screen line 93, dot 81 1-81 4 In addition, there may be the remaining two of the halftone dots 81 1 to 81 4 on the screen line 94 between the screen lines 92 and 93.

4つの網点811〜814が抽出されても、その網点811〜814が、図15(a)に示されている配置を有するのか、図15(b)に示されている配置を有するのかは判断できない。そこで、直線88と直線89との両方が、スクリーン線の候補であると認識される。直線88と直線89と、X軸及び/又はY軸がなす角度から、直線88と直線89のいずれが真のスクリーン線であるかが判断される。 Even four of halftone dot 81 1-81 4 are extracted, the dot 81 1-81 4, or has a configuration shown in FIG. 15 (a), is shown in FIG. 15 (b) It is not possible to determine whether or not it has an arrangement. Therefore, both the straight line 88 and the straight line 89 are recognized as screen line candidates. Which of the straight line 88 and the straight line 89 is the true screen line is determined from the angle formed by the straight line 88 and the straight line 89 and the X axis and / or the Y axis.

スクリーン線を抽出する第3方法では、図16に示されているように、網点81の形状から、スクリーン線が抽出される。網点81は、印刷される際、網点81の輪郭である正方形の辺の伸展する方向、又は、対角線が伸展する方向が、スクリーン線の方向に一致するように印刷されている。印刷された網点81は、ある程度形状が崩れていても、概ね、正方形の形状を有する。スクリーン線を抽出する第3方法では、その正方形の辺815の伸展する方向、又は、対角線816が伸展する方向に伸び、且つ、網点81の中心点を通過する直線が、スクリーン線であると認識される。 In the third method of extracting the screen line, the screen line is extracted from the shape of the halftone dot 81 as shown in FIG. The halftone dot 81 is printed such that the direction in which the square side that is the outline of the halftone dot 81 extends or the direction in which the diagonal line extends coincides with the screen line direction. The printed halftone dot 81 has a generally square shape even if the shape has collapsed to some extent. In a third method of extracting screen lines, direction, extending sides 81 5 of the square, or extends in a direction diagonal 81 6 is extended, and, the straight line passing through the center point of the dot 81, the screen wire It is recognized that there is.

更に、図10に示されているように、抽出されたスクリーン線と、X軸とがなすスクリーン線角度θが算出される(ステップS13)。図17に示されているように、点Aと点Cとが、スクリーン線94の上にあるとする。点Cから、点Aを通りX軸に平行な直線95に下ろした垂線の足を点Bとする。スクリーン線角度θは、
θ=tan-1(AB/BC).
スクリーン線角度θは、線分ABの上にあるドット数nABと、線分BCの上にあるドット数nBCとを用いて、(nAB、nBC)と表記されることも可能である。
Further, as shown in FIG. 10, a screen line angle θ formed by the extracted screen line and the X axis is calculated (step S13). It is assumed that point A and point C are on the screen line 94 as shown in FIG. A perpendicular foot drawn from a point C to a straight line 95 passing through the point A and parallel to the X axis is defined as a point B. The screen line angle θ is
θ = tan −1 (AB / BC).
The screen line angle θ can be expressed as (n AB , n BC ) using the number of dots n AB above the line segment AB and the number of dots n BC above the line segment BC. is there.

スクリーン線角度θは、前述の印刷網点圧縮データモジュール55に付加される。印刷網点圧縮データモジュール55から画像が復元される際に、印刷網点圧縮データモジュール55に含まれているスクリーン線角度θが使用される。   The screen line angle θ is added to the print dot compression data module 55 described above. When an image is restored from the print halftone compression data module 55, the screen line angle θ included in the print halftone compression data module 55 is used.

更に、図10に示されているように、スクリーン線密度Dが算出される(ステップS14)。スクリーン線密度Dは、以下のようにして算出される。図18に示されているように、ステップS12において抽出されたスクリーン線96に直交する直線を直線BCとしたとき、単位長さあたり、直線BCに交わるスクリーン線96の数が、スクリーン線密度Dとして算出される。スクリーン線密度Dは、スクリーン線96の間隔をdsとしたとき、
D=1/ds
スクリーン線密度Dは、前述の印刷網点圧縮データモジュール55に付加される。印刷網点圧縮データモジュール55から画像が復元される際に、印刷網点圧縮データモジュール55に含まれているスクリーン線密度Dが使用される。
Further, as shown in FIG. 10, the screen line density D is calculated (step S14). The screen line density D is calculated as follows. As shown in FIG. 18, when the straight line orthogonal to the screen line 96 extracted in step S12 is a straight line BC, the number of screen lines 96 intersecting the straight line BC per unit length is the screen line density D. Is calculated as The screen line density D is expressed as follows, where the distance between the screen lines 96 is d s .
D = 1 / d s .
The screen line density D is added to the print dot compression data module 55 described above. When an image is restored from the print halftone compression data module 55, the screen line density D included in the print halftone compression data module 55 is used.

更に、図10に示されているように、網点ベクターが算出される(ステップS15)。図19に示されているようにスクリーン線102の上に配列されている網点101から網点ベクターが算出される過程を以下で説明する。   Further, as shown in FIG. 10, a halftone dot vector is calculated (step S15). A process of calculating a halftone vector from the halftone dots 101 arranged on the screen line 102 as shown in FIG. 19 will be described below.

網点101のうちの一が特徴網点として定められる。その特徴網点について、8次元ベクトルである網点ベクターが求められる。このとき、スクリーン線102のうちの一のスクリーン線について、初めて定められた特徴網点は、基準特徴網点と呼ばれる。定められた特徴網点が、基準特徴網点である場合、その基準特徴網点の位置と面積とは、印刷網点圧縮データモジュール55に付加される。   One of the halftone dots 101 is defined as a characteristic halftone dot. For the characteristic halftone dot, a halftone dot vector that is an 8-dimensional vector is obtained. At this time, a feature halftone dot determined for the first screen line of the screen lines 102 is called a reference feature halftone dot. When the determined feature halftone dot is a reference feature halftone dot, the position and area of the reference feature halftone dot are added to the print halftone dot compression data module 55.

本実施の形態では、まず、網点1010を特徴網点として、網点ベクターp0が求められる。網点1010は、基準特徴網点であり、その位置と面積とが、印刷網点圧縮データモジュール55に付加される。 In this embodiment, first, as a characteristic dot dot 101 0, dot vector p 0 is obtained. Dot 101 0 is a reference characteristic dot, and the location and area, is added to the print dot compression data module 55.

続いて、特徴網点の中心点を原点として、x1軸、x2軸、x3軸、x4軸が定められる。x1軸方向は、スクリーン線102と平行な方向である。x2軸方向は、スクリーン線102と垂直な方向である。x3軸方向、x4軸方向は、スクリーン線102と45°の角度をなす方向である。網点1010を原点として、x1軸、x2軸、x3軸、x4軸が定められる。 Subsequently, the x 1 axis, the x 2 axis, the x 3 axis, and the x 4 axis are determined with the center point of the characteristic halftone dot as the origin. The x 1 axis direction is a direction parallel to the screen line 102. x 2 axial direction, a screen line 102 perpendicular direction. The x 3 axis direction and the x 4 axis direction are directions that form an angle of 45 ° with the screen line 102. As origin dot 101 0, x 1 axis, x 2 axis, x 3 axis, it is x 4 axes defined.

網点ベクターp0が有する成分のうち、x1軸に関連して定められる2つの成分が求められる。網点ベクターp0が有する成分のうち、x1軸に関連して定められる2つの成分を成分とするベクターは、網点小ベクターp1 0と呼ばれる。同様に、網点ベクターp0が有する成分のうち、それぞれx2軸、x3軸、及びx4軸に関連して定められる2つの成分を成分とするベクターは、それぞれ、網点小ベクターp2 0、網点小ベクターp3 0、網点小ベクターp4 0と呼ばれる。 Of the components of the halftone dot vector p 0 , two components determined in relation to the x 1 axis are obtained. Among the components of the halftone dot vector p 0 , a vector having two components defined in relation to the x 1 axis as components is called a halftone dot small vector p 1 0 . Similarly, among the components of the halftone dot vector p 0 , vectors each having two components defined in relation to the x 2 axis, the x 3 axis, and the x 4 axis are respectively represented by the halftone dot small vector p. 2 0 , halftone dot small vector p 3 0 , halftone dot small vector p 4 0 .

まず、網点小ベクターp1 0が求められる。網点小ベクターp1 0は、網点101のうちx1軸の上にある網点1011 1〜1011 nの位置と面積とから算出される。 First, the dot small vector p 1 0 is required. The halftone dot vector p 1 0 is calculated from the positions and areas of the halftone dots 101 1 1 to 101 1 n on the x 1 axis in the halftone dot 101.

網点小ベクターp1 0を求める際には、まず、仮想的座標系Q1が定められる。その仮想的座標系Q1において、図20に示されているように、特徴点である網点1010は、原点O1に配置される。更に、網点1011 0〜1011 nは、それぞれ点P1 1〜P1 nに配置される。 When obtaining the halftone dot vector p 1 0 , first, a virtual coordinate system Q 1 is determined. In the virtual coordinate system Q 1, as shown in Figure 20, dot 101 0 a feature point is located at the origin O 1. Furthermore, dot 101 1 0 ~101 1 n are arranged in point P 1 1 ~P 1 n, respectively.

点P1 1〜P1 nの座標は、以下のように定められる。点P1 1〜P1 nのうちの点P1 iのx座標をx1 i、y座標をy1 iとする。このとき、点P1 iのx座標x1 iは、実空間における網点1011 iと網点1010との距離に等しく定められる。更に、y座標y1 iは、網点1011 iの面積をS1 i、網点1010の面積をS0としたとき、次式:
1 i=S1 i−S0
により定められる。
The coordinates of the points P 1 1 to P 1 n are determined as follows. Of the points P 1 1 to P 1 n , the x coordinate of the point P 1 i is x 1 i and the y coordinate is y 1 i . In this case, x-coordinate x 1 i of the point P 1 i is equal defined in the distance between the halftone dots 101 1 i and dot 101 0 in a real space. Moreover, y-coordinate y 1 i, when the area of dot 101 1 i and S 1 i, the area of dot 101 0 S 0, the following equation:
y 1 i = S 1 i −S 0 ,
Determined by.

更に、仮想的座標系Q1における点P1 iの位置ベクトルをq1 jとする。位置ベクトルq1 iは、
1 i=(x1 i、y1 i
として定められる。更に、隣接網点ベクトルa1 iを、
1 i=q1 i−q1 i-1
と定義する。隣接網点ベクトルa1 iは、隣接する2つの網点の位置ベクトルの差である。隣接網点ベクトルa1 iは、
1 i=(Δx1 i、Δy1 i),
ここで、
Δx1 i=x1 i−x1 i-1
Δy1 i=y1 i−y1 i-1
Further, let q 1 j be the position vector of the point P 1 i in the virtual coordinate system Q 1 . The position vector q 1 i is
q 1 i = (x 1 i , y 1 i )
It is determined as Further, the adjacent halftone dot vector a 1 i is
a 1 i = q 1 i −q 1 i−1 ,
It is defined as An adjacent halftone dot vector a 1 i is a difference between position vectors of two adjacent halftone dots. The adjacent halftone vector a 1 i is
a 1 i = (Δx 1 i , Δy 1 i ),
here,
Δx 1 i = x 1 i −x 1 i−1 ,
Δy 1 i = y 1 i −y 1 i−1 .

網点小ベクターp0 1は、下記条件を満たす整数kの最小値をk’として、位置ベクトルq1 k'に等しいとして定められる。
条件:
2以上k以下の全ての整数jについて、
|x1 j|≦xmax, …(a)
|y1 j|≦ymax, …(b)
Δx1 j≦xdif, …(c)
Δy1 j≦ydif. …(d)
ここでxmax、ymax、xdif及びydifは、所定の基準値である。
The halftone dot vector p 0 1 is determined to be equal to the position vector q 1 k ′, where k ′ is the minimum value of the integer k that satisfies the following condition.
conditions:
For all integers j between 2 and k
| X 1 j | ≦ x max , (a)
| Y 1 j | ≦ y max , (b)
Δx 1 j ≦ x dif , (c)
Δy 1 j ≦ y dif . ... (d)
Here, x max , y max , x dif and y dif are predetermined reference values.

より詳細には、以下のようにして定められる。まず、j=2について、条件(a)から条件(d)が満足されているかが判断される。条件(a)から条件(d)のうちのいずれかが満足されていなければ、網点小ベクターp1 0は、位置ベクトルq1 1として定められる。 More specifically, it is determined as follows. First, for j = 2, it is determined whether the condition (d) is satisfied from the condition (a). If any one of the conditions (a) to (d) is not satisfied, the small dot vector p 1 0 is defined as the position vector q 1 1 .

続いて、j=3について、条件(a)から条件(d)が満足されているかが判断される。このとき、条件(a)から条件(d)のうちのいずれかが満足されていなければ、網点ベクターp1 0は、位置ベクトルq1 2として定められる。 Subsequently, for j = 3, it is determined whether the condition (d) is satisfied from the condition (a). At this time, if any of the conditions (a) to (d) is not satisfied, the halftone dot vector p 1 0 is determined as the position vector q 1 2 .

以下、順次jが増加されながら、条件(a)から条件(d)が満足されているかが判断される。j=k’+1になったときに初めて、条件(a)から条件(d)のいずれかが満足されなくなると、網点小ベクターp1 0は、位置ベクトルqk'であると定められる。 Hereinafter, it is determined whether the condition (d) is satisfied from the condition (a) while j is sequentially increased. For the first time when j = k ′ + 1, when any of the conditions (a) to (d) is not satisfied, the halftone dot vector p 1 0 is determined to be the position vector q k ′ .

図20に示されている場合については、jが2以上4以下である場合、条件(a)から条件(d)のいずれも満足する。しかし、j=5のとき、
|y1 5|>ymax
となり、条件(b)を満足しない。ゆえに、
k’=4
と定められる。即ち、網点小ベクターp1 0は、
1 0=q1 4
となる。
In the case shown in FIG. 20, when j is 2 or more and 4 or less, all of the conditions (a) to (d) are satisfied. However, when j = 5,
| Y 1 5 |> y max
Therefore, the condition (b) is not satisfied. therefore,
k ′ = 4
It is determined. In other words, the dot small vector p 1 0 is,
p 1 0 = q 1 4 ,
It becomes.

位置ベクトルqk'に等しい網点小ベクターp1 0は、原点O、即ち、点P0を始点とし、点Pk'を終点とするベクターである。このとき、
1 0=(x1 k'、y1 k'
=(x1 k'、S1 k'−S0).
前述されているように、x1 k'は、網点1010と、網点1011 k'との距離である。更に、S1 k'−S0は、網点1010と網点1011 k'との面積差である。即ち、網点小ベクターp1 0は、網点1010と網点101kとの距離と、網点1010と網点101kとの面積差とを成分とするベクターである。ゆえに、網点小ベクターp1 0には、網点1011〜101k'までの位置と面積との情報が含まれることになる。
A halftone dot vector p 1 0 equal to the position vector q k ′ is a vector having an origin O, that is, a point P 0 as a start point and a point P k ′ as an end point. At this time,
p 1 0 = (x 1 k ′ , y 1 k ′ )
= (X 1 k ', S 1 k' -S 0).
As described above, x 1 k 'is the dot 101 0, dot 101 1 k' is the distance between. Furthermore, S 1 k '-S 0 is dot 101 0 and dot 101 1 k' is the area difference between the. That is, dot small vector p 1 0 is a vector of the distance between the dot 1010 and the dot 101 k, and area difference between the dot 1010 and the dot 101 k and components. Therefore, the halftone dot small vector p 1 0 includes information about positions and areas up to halftone dots 101 1 to 101 k ′ .

同様の演算が、x2軸、x3軸、及びx4軸について行われ、それぞれ網点小ベクターp2 0、網点小ベクターp3 0、網点小ベクターp4 0が求められる。網点小ベクターp2 0は、網点101のうち、x2軸の上にある網点1012 1〜1012 nから算出される。x2軸の上にある網点1012 1〜1012 nから網点小ベクターp2 0が算出される過程は、x1軸の上にある網点1011 1〜1011 nから網点小ベクターp1 0が算出される過程と同様である。 The same calculation is performed for the x 2 axis, the x 3 axis, and the x 4 axis, and the halftone dot vector p 2 0 , the halftone dot vector p 3 0 , and the halftone dot vector p 4 0 are obtained, respectively. The halftone dot vector p 2 0 is calculated from halftone dots 101 2 1 to 101 2 n on the x 2 axis among the halftone dots 101. process x 2 dot small vector p 2 0 halftone dot 101 2 1-101 2 n above the axes are calculated, dot 101 1 1-101 dot from 1 n above the x 1 axis it is similar to the process in which the small vector p 1 0 is calculated.

また、網点小ベクターp3 0は、網点101のうち、x3軸の上にある網点1013 1〜1013 nから算出される。x3軸の上にある網点1013 1〜1013 nから網点小ベクターp3 0が算出される過程は、x1軸の上にある網点1011 1〜1011 nから網点小ベクターp1 0が算出される過程と同様である。 Further, dot small vector p 3 0, of the dot 101, is calculated from the dot 101 3 1 to 101 3 n above the x 3 axis. x 3 dot 101 above the shaft 3 1-101 3 process halftone from n small vector p 3 0 is calculated, dot from dot 101 1 1-101 1 n above the x 1 axis it is similar to the process in which the small vector p 1 0 is calculated.

網点小ベクターp4 0は、網点101のうち、x4軸の上にある網点1014 1〜1014 nから算出される。x4軸の上にある網点1014 1〜1014 nから網点小ベクターp4 0が算出される過程は、x1軸の上にある網点1011 1〜1011 nから網点小ベクターp1 0が算出される過程と同様である。 Dot small vector p 4 0, of the dot 101, is calculated from the dot 101 4 1 to 101 4 n above the x 4 axes. x 4 dot 101 at the top of the shaft 4 1-101 4 process halftone from n small vector p 4 0 is calculated, dot 101 1 1-101 dot from 1 n above the x 1 axis it is similar to the process in which the small vector p 1 0 is calculated.

網点小ベクターp1 0、網点小ベクターp2 0、網点小ベクターp3 0、及び網点小ベクターp4 0から、網点ベクターp0が求められる。 Dot small vector p 1 0, dot small vector p 2 0, dot small vector p 3 0, and the dot small vector p 4 0, dot vector p 0 is obtained.

網点ベクターp0には、x1軸の上にあり、且つ、網点1010と、網点1011との間にある網点の位置、および面積の情報が含まれている。更に、網点ベクターp0には、x2軸の上にあり、且つ、網点1010と、網点1012との間にある網点の位置、および面積の情報が含まれている。更に、網点ベクターp0には、x3軸の上にあり、且つ、網点1010と、網点1013との間にある網点の位置、および面積の情報が含まれている。更に、網点ベクターp0には、x4軸の上にあり、且つ、網点1010と、網点1014との間にある網点の位置、および面積の情報が含まれている。 The halftone dot vector p 0 includes information on the position and area of a halftone dot on the x 1 axis and between the halftone dot 101 0 and the halftone dot 101 1 . Further, the halftone dot vector p 0 includes information on the position and area of a halftone dot which is on the x 2 axis and between the halftone dot 10 10 and the halftone dot 101 2 . Further, the halftone dot vector p 0 includes information on the position and area of a halftone dot which is on the x 3 axis and between the halftone dot 10 10 and the halftone dot 101 3 . Further, the dot vector p 0, is on the x 4 axes, and a dot 101 0, the position of the dot, and the area information contained in between the dot 101 4.

網点ベクターp0の算出に続いて、網点小ベクターp1 0の終点である他の網点1011 k'が特徴網点として定められ、他の網点ベクターpk'が算出される。以下、+x1軸方向に向かって、順次に、網点ベクターの算出が行われる。 Subsequent to the calculation of the halftone dot vector p 0 , another halftone dot 101 1 k ′ which is the end point of the small dot vector p 1 0 is determined as a characteristic halftone dot, and another halftone dot vector p k ′ is calculated. . Hereinafter, toward the + x 1 axially, sequentially, the calculation of the dot vector is performed.

他のスクリーン線についても同様にして網点ベクターの算出が行われる。ベクター印刷網点イメージ要素データ52に含まれる全ての網点について網点ベクターの算出が行われる。   The dot vector is calculated in the same manner for other screen lines. A halftone dot vector is calculated for all halftone dots included in the vector print halftone dot image element data 52.

このようにして生成された網点ベクターpは、8次元ベクトルであり、その成分は、
p=(x1、ΔS1、x2、ΔS2、x3、ΔS3、x4、ΔS4
と表現される。但し、
1:特徴網点と、x1軸の上にある他の網点であるx1網点との距離
ΔS1:特徴網点と、前述のx1網点との面積の差
2:特徴網点と、x2軸の上にある他の網点であるx2網点との距離
ΔS3:特徴網点と、前述のx3網点との面積の差
3:特徴網点と、x3軸の上にある他の網点であるx3網点の距離
ΔS3:特徴網点と、前述のx3網点との面積の差
4:特徴網点と、x4軸の上にある他の網点であるx4網点との距離
ΔS4:特徴網点と、前述のx4網点との面積の差
である。
The halftone dot vector p generated in this way is an 8-dimensional vector, and its components are
p = (x 1 , ΔS 1 , x 2 , ΔS 2 , x 3 , ΔS 3 , x 4 , ΔS 4 )
It is expressed. However,
x 1 : distance between the feature halftone dot and another halftone dot x 1 halftone dot on the x 1 axis ΔS 1 : difference in area between the feature halftone dot and the aforementioned x 1 halftone dot x 2 : and wherein dot, x 2 distance between x 2 dot is another dot above the axis [Delta] S 3: the characteristic dot, difference x of the area of the x 3 dots of the foregoing 3: wherein dot When, x 3 distance x 3 dot is another dot above the axis [Delta] S 3: the characteristic dot, difference x 4 area of the x 3 dots of the foregoing: the characteristic dot, x 4 the distance between the x 4 halftone is another dot at the top of the shaft [Delta] S 4: the characteristic dot, which is the difference in area between the x 4 dot above.

算出された網点ベクターが符号化され、印刷網点圧縮データモジュール55が算出される(ステップS16)。このとき、網点ベクターは、圧縮されながら符号化され、もって圧縮率が高められている。   The calculated halftone dot vector is encoded, and the print halftone dot compression data module 55 is calculated (step S16). At this time, the halftone vector is encoded while being compressed, so that the compression rate is increased.

以上の過程により、印刷網点イメージ要素データ52が印刷網点パターン圧縮アルゴリズムにより圧縮され、印刷網点圧縮データモジュール55が生成される。   Through the above process, the print dot image element data 52 is compressed by the print dot pattern compression algorithm, and the print dot compression data module 55 is generated.

一方、図1に示されているように、線画イメージ要素データ53は、線画圧縮アルゴリズムにより圧縮され、線画圧縮データモジュール56が生成される(ステップS05)。線画圧縮アルゴリズムでは、イメージ要素のエッジが検出され、そのエッジの方向を示すベクターが算出される。更に、そのベクターが符号化され、線画圧縮データモジュール56が生成される。   On the other hand, as shown in FIG. 1, the line drawing image element data 53 is compressed by a line drawing compression algorithm, and a line drawing compression data module 56 is generated (step S05). In the line drawing compression algorithm, an edge of an image element is detected, and a vector indicating the direction of the edge is calculated. Further, the vector is encoded, and a line drawing compressed data module 56 is generated.

以下では、線画圧縮アルゴリズムが詳細に説明される。   In the following, the line drawing compression algorithm will be described in detail.

図21に示されている原画像110が線画圧縮アルゴリズムによって圧縮される場合を例にとって、線画圧縮アルゴリズムが説明される。まず、図22に示されているように、走査線111に沿って原画像110が走査され、原画像110の階調が検出される。走査線111は、X軸に平行である。階調の変化量から、原画像110のエッジ112が検出される。エッジ112は、階調が急激に変化する位置にある。   The line image compression algorithm will be described by taking as an example the case where the original image 110 shown in FIG. 21 is compressed by the line image compression algorithm. First, as shown in FIG. 22, the original image 110 is scanned along the scanning line 111, and the gradation of the original image 110 is detected. The scanning line 111 is parallel to the X axis. An edge 112 of the original image 110 is detected from the amount of change in gradation. The edge 112 is at a position where the gradation changes rapidly.

走査線111の方向は、X軸に平行な方向に限られない。走査線111はY軸に平行であることが可能であり、また、他の方向であることも可能である。   The direction of the scanning line 111 is not limited to the direction parallel to the X axis. The scan line 111 can be parallel to the Y axis, and can be in other directions.

このように走査線111に沿って原画像110を走査することによりエッジ112を検出することは、原画像110のエッジ112の検出を高速にする。これは、線画で示されている画像を示すデータの圧縮が高速化される点で好ましい。   Thus, detecting the edge 112 by scanning the original image 110 along the scanning line 111 speeds up the detection of the edge 112 of the original image 110. This is preferable in that the compression of the data indicating the image shown in the line drawing is accelerated.

図23は、検出されたエッジ112を示す。検出されたエッジ112は、リンクされ、輪郭線が生成される。まず、原点Oに最近接するエッジ1121が選択される。更に、エッジ112のうち、原点Oから最も離れた点を有するエッジ1122が選択される。エッジ1121とエッジ1122とがリンクされ、輪郭線が生成される。 FIG. 23 shows the detected edge 112. The detected edges 112 are linked to generate a contour line. First, the edge 112 1 closest to the origin O is selected. Further, of the edges 112, the edge 112 2 having the point farthest from the origin O is selected. The edge 112 1 and the edge 112 2 are linked to generate a contour line.

更に、原点Oに2番目に近接するエッジ1123と、原点Oから2番目に離れたエッジ1124が選択される。エッジ1123とエッジ1124とがリンクされ輪郭線が生成される。 Further, an edge 112 3 that is second closest to the origin O and an edge 112 4 that is second closest to the origin O are selected. Edge 112 3 and the edge 112 4 and the linked contour is generated.

他のエッジが存在する場合も、同様にしてリンクされ、輪郭線が生成される。   When other edges exist, they are linked in the same manner to generate a contour line.

但し、図24に示されているように、エッジ1125とエッジ1126とがリンクされて生成された輪郭線の内部の領域113の面積aが所定の値ηよりも小さい場合、そのエッジ1125とエッジ1126は、ノイズであると判断される。エッジ1125と1126とは、廃棄される。 However, as shown in FIG. 24, when the area a of the region 113 inside the contour line generated by linking the edge 112 5 and the edge 112 6 is smaller than a predetermined value η, the edge 112 5 and the edge 112 6 is determined to be noise. An edge 112 5 and 112 6 are discarded.

図25は、生成された輪郭線を示す。輪郭線1141は、エッジ1121とエッジ1122とがリンクされて生成される。輪郭線1142は、エッジ1123とエッジ1124とがリンクされて生成される。 FIG. 25 shows the generated contour line. The contour line 114 1 is generated by linking the edge 112 1 and the edge 112 2 . The contour 114 2 is generated by linking the edge 112 3 and the edge 112 4 .

輪郭線1141に沿って、輪郭ベクター1151〜1154が定められる。輪郭線1142に沿って、輪郭ベクター1155〜1158が定められる。更に、輪郭線1141、1142の位置を示す位置ベクター1161、1162がそれぞれ定められる。 Along the contour line 114 1, the contour vector 115 1-115 4 is determined. Along the contour line 114 2, contour vector 115 5-115 8 is determined. Further, position vectors 116 1 and 116 2 indicating the positions of the contour lines 114 1 and 114 2 are defined, respectively.

輪郭線は、必要に応じてスムージングされ、輪郭ベクターの数が減らされる。   The contour line is smoothed as necessary to reduce the number of contour vectors.

図26に示されているように、輪郭線に沿って、輪郭ベクターOA、AC、CD、及びDBが定められたとする。これは、局部的に凸の輪郭線が定められた場合に対応する。このとき、輪郭ベクターOA、AC、CD、及びDBがそのまま残されるか、それとも輪郭ベクターOA、AC、CD、及びDBが統合され、輪郭ベクターOBのみが残されるかは、以下のようにして定められる。   As shown in FIG. 26, it is assumed that contour vectors OA, AC, CD, and DB are defined along the contour line. This corresponds to the case where a convex contour line is locally defined. At this time, whether the contour vectors OA, AC, CD, and DB are left as they are or whether the contour vectors OA, AC, CD, and DB are integrated and only the contour vector OB is left is determined as follows. It is done.

点Oを通り、X軸に平行な直線116が定められる。点Bから直線116に下ろした垂線の足を点B’とする。このとき、線分ACの長さlACと、線分BB’の長さlBB'とが、
BB'−lAC≦α1, …(e)
を満たすとき、輪郭ベクターOA、AC、CD、及びDBが統合され、輪郭ベクターOBが生成される。α1は、所定の基準値である。条件(e)を満足しない場合、輪郭ベクターOA、AC、CD、及びDBがそのまま残される。条件(e)を満足する場合とは、輪郭線に存在する凸部が、小さい場合である。条件(e)を満足する場合、輪郭線に存在する凸部が小さいと判断され、その凸部は無視される。
A straight line 116 passing through the point O and parallel to the X axis is defined. A perpendicular foot drawn from the point B to the straight line 116 is defined as a point B ′. At this time, the length l AC of the line segment AC and the length l BB ′ of the line segment BB ′ are
l BB ′ −l AC ≦ α 1 , (e)
When satisfying, the contour vectors OA, AC, CD, and DB are integrated to generate a contour vector OB. α 1 is a predetermined reference value. If the condition (e) is not satisfied, the contour vectors OA, AC, CD, and DB are left as they are. The case where the condition (e) is satisfied is a case where the convex portion existing on the contour line is small. When the condition (e) is satisfied, it is determined that the convex portion existing on the contour line is small, and the convex portion is ignored.

輪郭ベクターOA、AC、CD、及びDBがそのまま残されるか、輪郭ベクターOBのみが残されるかは、三角形ACDの面積をSACD、三角形OBB’の面積をSOBB'として、次条件:
OBB'− SACD≦α2 …(f)
により判断されることも可能である。α2は、所定の基準値である。条件(f)を満足するとき、輪郭ベクターOA、AC、CD、及びDBが統合され、輪郭ベクターOBが生成される。条件(f)を満足しないとき、輪郭ベクターOA、AC、CD、及びDBはそのまま残される。条件(f)を満足する場合とは、輪郭線に存在する凸部が、小さい場合である。条件(f)を満足する場合、輪郭線に存在する凸部が小さいと判断され、その凸部は無視される。
Whether the contour vectors OA, AC, CD, and DB are left as they are or only the contour vector OB is left, where the area of the triangle ACD is S ACD and the area of the triangle OBB ′ is S OBB ′ , the following condition:
S OBB'− S ACD ≦ α 2 (f)
It is also possible to judge by α 2 is a predetermined reference value. When the condition (f) is satisfied, the contour vectors OA, AC, CD, and DB are integrated to generate a contour vector OB. When the condition (f) is not satisfied, the contour vectors OA, AC, CD, and DB are left as they are. The case where the condition (f) is satisfied is a case where the convex portion existing on the contour line is small. When the condition (f) is satisfied, it is determined that the convex portion existing on the contour line is small, and the convex portion is ignored.

また、図27に示されているように、輪郭線に沿って、輪郭ベクターOA、ABが定められたとする。このとき、輪郭ベクターOA、ABがそのまま残されるか、輪郭ベクターOA、ABが輪郭ベクターOBに統合されるかは、以下のようにして定められる。   Further, as shown in FIG. 27, it is assumed that contour vectors OA and AB are determined along the contour line. At this time, whether the contour vectors OA and AB are left as they are or whether the contour vectors OA and AB are integrated into the contour vector OB is determined as follows.

点Oを通り、X軸に平行な直線117が定められる。点A、点Bから直線117に下ろした垂線の足をそれぞれ、点A’、点B’とする。更に、三角形OAA’の面積をSOAA'、三角形OBB’の面積をSOBB'とする。
OBB'− SOAA'≦α3 …(g)
を満足するとき、輪郭ベクターOA、ABが統合され、輪郭ベクターOBが生成される。条件(g)を満足しないとき、輪郭ベクターOA、ABがそのまま残される。条件(g)を満足するときとは、輪郭線の曲がりが局所的で、小さい場合に相当する。条件(g)を満足する場合には、輪郭線の曲がりは無視される。
A straight line 117 passing through the point O and parallel to the X axis is defined. Let the feet of the perpendicular line drawn from the point A and the point B to the straight line 117 be the point A ′ and the point B ′, respectively. Furthermore, the area of the triangle OAA ′ is S OAA ′ and the area of the triangle OBB ′ is S OBB ′ .
S OBB ′ −S OAA ′ ≦ α 3 (g)
Is satisfied, the contour vectors OA and AB are integrated to generate the contour vector OB. When the condition (g) is not satisfied, the contour vectors OA and AB are left as they are. Satisfying the condition (g) corresponds to a case where the curve of the contour line is local and small. When the condition (g) is satisfied, the curve of the contour line is ignored.

以上の過程により生成された輪郭ベクターと位置ベクターとが符号化される。更に、輪郭線の間に存在するイメージ要素の階調を示す階調データが符号化される。このとき、その階調の階調数は、2である場合があり、また、それ以上の数、例えば、256である場合も有り得る。   The contour vector and the position vector generated by the above process are encoded. Further, gradation data indicating the gradation of the image element existing between the contour lines is encoded. At this time, the number of gradations may be two, or may be more than that, for example, 256.

符号化された輪郭ベクターと階調とは、圧縮された画像データとなる。以上の過程により、線画圧縮アルゴリズムによる画像の圧縮が完了する。線画イメージ要素データ53は、上述の線画圧縮アルゴリズムにより圧縮され、線画圧縮データモジュール56が生成される。   The encoded contour vector and gradation are compressed image data. Through the above process, image compression by the line drawing compression algorithm is completed. The line drawing image element data 53 is compressed by the above-described line drawing compression algorithm, and a line drawing compression data module 56 is generated.

図1に示されているように、自由細点圧縮データモジュール54、印刷網点圧縮データモジュール55、及び線画圧縮データモジュール56は、一つのデータにまとめられ、一括圧縮データモジュール57が生成される(ステップS06)。一括圧縮データモジュール57は、記録媒体に記録されて利用されることが可能である。   As shown in FIG. 1, the free fine dot compression data module 54, the print halftone dot compression data module 55, and the line drawing compression data module 56 are combined into one data, and a batch compression data module 57 is generated. (Step S06). The batch compressed data module 57 can be used by being recorded on a recording medium.

以上の過程により、紙面イメージデータ50の圧縮が完了する。なお、自由細点圧縮データモジュール54、印刷網点圧縮データモジュール55、及び線画圧縮データモジュール56が統合されず、別々のファイルとして保存されることも可能である。   Through the above process, the compression of the paper image data 50 is completed. The free fine dot compression data module 54, the print halftone dot compression data module 55, and the line drawing compression data module 56 can be stored as separate files without being integrated.

続いて、一括圧縮データモジュール57から、元の画像が復元される過程が説明される。まず、図28に示されているように、一括圧縮データモジュール57から、自由細点圧縮データモジュール54、印刷網点圧縮データモジュール55、及び線画圧縮データモジュール56が復元される(ステップS21)。なお、自由細点圧縮データモジュール54、印刷網点圧縮データモジュール55、及び線画圧縮データモジュール56が統合されず、別々のファイルとして保存されている場合は、ステップS21は行われない。   Subsequently, a process of restoring the original image from the batch compressed data module 57 will be described. First, as shown in FIG. 28, the free fine dot compressed data module 54, the print halftone dot compressed data module 55, and the line drawing compressed data module 56 are restored from the batch compressed data module 57 (step S21). If the free fine dot compression data module 54, the print halftone dot compression data module 55, and the line drawing compression data module 56 are not integrated and stored as separate files, step S21 is not performed.

自由細点圧縮データモジュール54は、自由細点パターン復元アルゴリズムによって復元され、自由細点テンポラリデータ58が生成される(ステップS22)。自由細点パターン復元アルゴリズムでは、前述の自由細点パターン圧縮アルゴリズムで行われる変換の逆変換が行われる。   The free fine dot compressed data module 54 is restored by a free fine dot pattern restoration algorithm, and free fine dot temporary data 58 is generated (step S22). In the free fine dot pattern restoration algorithm, the inverse transformation of the transformation performed by the above-described free fine dot pattern compression algorithm is performed.

即ち、自由細点圧縮データモジュール54には、前述の面積パッチ71が有するパターンが、符号化され、圧縮されたデータが含まれている。まず、パターンを示す符号が復元され、更に、面積パッチ71が有するパターンが再現される。面積パッチ71が有するパターンが元の通りに並べられて、自由細点テンポラリデータ58が生成される。自由細点テンポラリデータ58には、元のイメージ30のうちの自由細点の部分を示すデータが含まれている。   That is, the free fine dot compressed data module 54 includes data obtained by encoding and compressing the pattern of the area patch 71 described above. First, the code indicating the pattern is restored, and further, the pattern included in the area patch 71 is reproduced. The patterns of the area patches 71 are arranged as they are, and free fine-point temporary data 58 is generated. The free fine spot temporary data 58 includes data indicating the free fine spot portion of the original image 30.

印刷網点圧縮データモジュール55は、印刷網点復元アルゴリズムによって復元され、印刷網点テンポラリデータ59が生成される(ステップS23)。   The print dot compression data module 55 is restored by the print dot restoration algorithm, and print dot temporary data 59 is generated (step S23).

前述されているように、印刷網点圧縮データモジュール55には、特徴網点であると定められたときに求められる網点ベクターpが符号化されている。   As described above, the halftone dot vector p obtained when the print halftone dot compression data module 55 is determined to be a characteristic halftone dot is encoded.

網点ベクターpは、前述の通り、
p=(x1、ΔS1、x2、ΔS2、x3、ΔS3、x4、ΔS4
と表現される。但し、
1:特徴網点と、x1軸の上にある他の網点であるx1網点との距離
ΔS1:特徴網点と、前述のx1網点との面積の差
2:特徴網点と、x2軸の上にある他の網点であるx2網点との距離
ΔS3:特徴網点と、前述のx3網点との面積の差
3:特徴網点と、x3軸の上にある他の網点であるx3網点との距離
ΔS3:特徴網点と、前述のx3網点との面積の差
4:特徴網点と、x4軸の上にある他の網点であるx4網点との距離
ΔS4:特徴網点と、前述のx4網点との面積の差
である。
The dot vector p is as described above,
p = (x 1 , ΔS 1 , x 2 , ΔS 2 , x 3 , ΔS 3 , x 4 , ΔS 4 )
It is expressed. However,
x 1 : distance between the feature halftone dot and another halftone dot x 1 halftone dot on the x 1 axis ΔS 1 : difference in area between the feature halftone dot and the aforementioned x 1 halftone dot x 2 : and wherein dot, x 2 distance between x 2 dot is another dot above the axis [Delta] S 3: the characteristic dot, difference x of the area of the x 3 dots of the foregoing 3: wherein dot And the distance between the x 3 halftone dot and the other halftone dot on the x 3 axis ΔS 3 : difference in area between the characteristic halftone dot and the aforementioned x 3 halftone dot x 4 : the characteristic halftone dot and x 4 the distance between the x 4 halftone is another dot at the top of the shaft [Delta] S 4: the characteristic dot, which is the difference in area between the x 4 dot above.

図29は、印刷網点復元アルゴリズムを示すフローチャートである。まず、印刷網点圧縮データモジュール55が復号化される(ステップS31)。   FIG. 29 is a flowchart showing a printing dot restoration algorithm. First, the printing dot compression data module 55 is decrypted (step S31).

復号化された印刷網点圧縮データモジュール55から、スクリーン線密度Dと、スクリーン線角度θとが抽出される(ステップS32)。復元される画像に定められるスクリーン線の方向と本数とが定まる。   The screen line density D and the screen line angle θ are extracted from the decoded print halftone dot compression data module 55 (step S32). The direction and the number of screen lines defined for the restored image are determined.

復号化された印刷網点圧縮データモジュール55から、基準特徴網点の位置と面積とが抽出される(ステップS33)。   The position and area of the reference feature halftone dot are extracted from the decoded print halftone dot compression data module 55 (step S33).

更に、その基準特徴網点について定められた網点ベクターpが抽出される。更に、その網点ベクターpに基づいて、補間により、他の網点の位置と面積が定められる(ステップS34)。   Further, a halftone dot vector p defined for the reference feature halftone dot is extracted. Further, the position and area of another halftone dot are determined by interpolation based on the halftone dot vector p (step S34).

図30は、他の網点の位置と面積が定められる過程を示す。ステップS32において抽出されたスクリーン線密度Dと、スクリーン線角度θとから、スクリーン線121が復元される。   FIG. 30 shows a process in which the positions and areas of other halftone dots are determined. The screen line 121 is restored from the screen line density D extracted in step S32 and the screen line angle θ.

更に、ステップS32において抽出された基準特徴網点122の位置と面積に基づいて、基準特徴網点122が復元される。続いて、基準特徴網点122を原点として、図30に示されているように、x1軸、x2軸、x3軸、x4軸が定められる。 Further, the reference feature halftone dot 122 is restored based on the position and area of the reference feature halftone dot 122 extracted in step S32. Subsequently, the x 1 axis, x 2 axis, x 3 axis, and x 4 axis are determined using the reference feature halftone dot 122 as the origin, as shown in FIG.

更に、基準特徴網点122について定められている網点ベクターpの成分x1と、ΔS1とから、x1軸の上にある特徴網点1231の中心の点位置と、面積とが定められる。特徴網点1231が復元される。更に、基準特徴網点122と特徴網点1231との位置及び面積に基づいて、それらの間に位置する網点1241の位置と面積とが、成分x1と成分ΔS1とに基づいて、補間により求められる。網点1241の面積は、基準特徴網点122の面積と特徴網点1231の面積との間の範囲にある。網点1241が復元される。 Further, from the component x 1 of the halftone dot vector p defined for the reference feature halftone dot 122 and ΔS 1 , the point position and the area of the center of the feature halftone dot 123 1 on the x 1 axis are determined. It is done. The feature halftone dot 123 1 is restored. Further, based on the position and area of the reference feature halftone dot 122 and the feature halftone dot 123 1 , the position and area of the halftone dot 124 1 located between them is based on the component x 1 and the component ΔS 1. , Obtained by interpolation. The area of the halftone dot 124 1 is in a range between the area of the reference feature halftone dot 122 and the area of the feature halftone dot 123 1 . The halftone dot 124 1 is restored.

更に、基準特徴網点122について定められている網点ベクターpの成分x2と、ΔS2とから、x2軸の上にある特徴網点1232の位置と、面積とが定められる。特徴網点1232が復元される。基準特徴網点122と特徴網点1232との位置及び面積に基づいて、それらの間に位置する網点1242の位置と面積とが、成分x2と成分ΔS2とに基づいて、補間により求められる。網点1242の面積は、基準特徴網点122の面積と特徴網点1232の面積との間の範囲にある。網点1242が復元される。 Further, the position and area of the feature halftone dot 123 2 on the x 2 axis are determined from the component x 2 of the halftone dot vector p defined for the reference feature halftone dot 122 and ΔS 2 . The feature halftone dot 123 2 is restored. Based on the position and area of the reference feature halftone dot 122 and the feature halftone dot 123 2 , the position and area of the halftone dot 124 2 located between them is interpolated based on the component x 2 and the component ΔS 2. Is required. The area of the halftone dot 124 2 is in a range between the area of the reference feature halftone dot 122 and the area of the feature halftone dot 123 2 . The halftone dot 124 2 is restored.

更に、基準特徴網点122について定められている網点ベクターpの成分x3と、ΔS3とから、x3軸の上にある特徴網点1233の位置と、面積とが定められる。特徴網点1233が復元される。基準特徴網点122と特徴網点1233との位置及び面積に基づいて、それらの間に位置する網点1243の位置と面積とが、成分x3と成分ΔS3とに基づいて、補間により求められる。網点1243の面積は、基準特徴網点122の面積と特徴網点1233の面積との間の範囲にある。網点1243が復元される。 Furthermore, the dot vector p components x 3 that have been determined for reference features dot 122, the [Delta] S 3 Prefecture, the position of the feature dot 123 3 above the x 3 axis is determined and the area. The feature halftone dot 123 3 is restored. Based on the position and area of the reference feature halftone dot 122 and the feature halftone dot 123 3 , the position and area of the halftone dot 124 3 located between them is interpolated based on the component x 3 and the component ΔS 3. Is required. The area of the halftone dot 124 3 is in a range between the area of the reference feature halftone dot 122 and the area of the feature halftone dot 123 3 . Dot 124 3 is restored.

更に、基準特徴網点122について定められている網点ベクターpの成分x4と、ΔS4とから、x4軸の上にある特徴網点1234の位置と、面積とが定められる。特徴網点1234が復元される。基準特徴網点122と特徴網点1234との位置及び面積に基づいて、それらの間に位置する網点1244の位置と面積とが、成分x4と成分ΔS4とに基づいて、補間により求められる。網点1244の面積は、基準特徴網点122の面積と特徴網点1234の面積との間の範囲にある。網点1244が復元される。 Furthermore, the dot vector p components x 4 of which are determined for the reference characteristic dot 122, the [Delta] S 4 Prefecture, the position of the feature dot 123 4 above the x 4 axis is determined and the area. Wherein dot 123 4 is restored. Based on the position and area of the reference feature halftone dot 122 and the feature halftone dot 123 4 , the position and area of the halftone dot 124 4 located between them is interpolated based on the component x 4 and the component ΔS 4. Is required. The area of the halftone dot 124 4 is in a range between the area of the reference feature halftone dot 122 and the area of the feature halftone dot 123 4 . Dot 1244 is restored.

続いて、特徴網点1231について定められた他の網点ベクターから、他の特徴網点と他の網点とが復元される。同様に、基準特徴網点122と同一のスクリーン線121の上にある特徴網点について定められた他の網点ベクターから、他の特徴網点と他の網点とが復元される。 Subsequently, other feature halftone dots and other halftone dots are restored from the other halftone dot vectors determined for the feature halftone dots 123 1 . Similarly, other feature halftone dots and other halftone dots are restored from other halftone dot vectors determined for feature halftone dots on the same screen line 121 as the reference feature halftone dot 122.

更に、他のスクリーン線121の上にある全ての基準特徴網点について、上述と同様の演算が行われ、他の全ての特徴網点と網点とが復元される。印刷網点で構成されたイメージ要素の復元が完了する(ステップS35)。復元されたイメージ要素は、印刷網点テンポラリデータ59として保存される。   Further, the same calculation as described above is performed for all the reference feature halftone dots on the other screen lines 121, and all other feature halftone dots and halftone dots are restored. The restoration of the image element composed of the print halftone dots is completed (step S35). The restored image element is stored as print halftone dot temporary data 59.

一方、図28に示されているように、線画圧縮データモジュール56は、線画復元アルゴリズムにより復元され、線画テンポラリデータ60が生成される(ステップS24)。   On the other hand, as shown in FIG. 28, the line drawing compressed data module 56 is restored by the line drawing restoration algorithm, and the line drawing temporary data 60 is generated (step S24).

前述されているように、線画圧縮データモジュール56には、輪郭ベクターと、位置ベクターと、輪郭線の間に存在するイメージ要素の階調を示す階調データが符号化されている。まず、輪郭ベクター1151〜1158と、位置ベクター1161、1162が復号化される。輪郭ベクター1151〜1158は、図31に示されているように、位置ベクター1161、1162が示す位置に配置される。配置された輪郭ベクター1151〜1158は、輪郭線1141、1142を構成する。 As described above, the line drawing compressed data module 56 encodes gradation data indicating the gradation of the image element existing between the outline vector, the position vector, and the outline. First, an outline vector 115 1-115 8, the position vector 116 1, 116 2 are decoded. The contour vectors 115 1 to 115 8 are arranged at positions indicated by the position vectors 116 1 and 116 2 as shown in FIG. Disposed contour vector 115 1-115 8 constitutes the contour line 114 1, 114 2.

更に、輪郭線1141、1142の間の領域117が、線画圧縮データモジュール56に符号化された階調データが示す階調で埋められて、線画で構成されたイメージ要素の復元が完了する。復元されたイメージ要素は、線画テンポラリデータ60として保存される。このとき、輪郭線1141、1142の間の領域117は、他のパターンにより埋められることが可能である。輪郭線1141、1142の間の領域117に他のパターンが埋められることにより、特殊な画像処理が可能になる。このとき、領域117に音楽、音声のようなデータを電子透かしとして入れることも可能である。 Further, the region 117 between the contour lines 114 1 and 114 2 is filled with the gradation indicated by the gradation data encoded in the line drawing compressed data module 56, and the restoration of the image element composed of the line drawing is completed. . The restored image element is stored as line drawing temporary data 60. At this time, the region 117 between the contour lines 114 1 and 114 2 can be filled with another pattern. By embedding another pattern in the region 117 between the contour lines 114 1 and 114 2 , special image processing becomes possible. At this time, data such as music and voice can be put in the area 117 as a digital watermark.

図28に示されているように、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60が合成され、復元イメージデータ61が生成される(ステップS25)。復元イメージデータ61は、元の紙面イメージデータ50と概ね同一のイメージを示す。   As shown in FIG. 28, the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60 are combined to generate restored image data 61 (step S25). The restored image data 61 shows an image that is substantially the same as the original paper image data 50.

本実施の形態のイメージデータ圧縮方法と復元方法では、スキャナー等で取り込まれた紙面上のイメージがイメージ要素に分別され、抽出される。更に、各イメージ要素が、それに対応したアルゴリズムで圧縮され、復元される。これにより、圧縮率が向上され、更に、圧縮及び復元による画質の劣化が抑制される。   In the image data compression method and restoration method of the present embodiment, the image on the paper surface captured by a scanner or the like is sorted into image elements and extracted. Further, each image element is compressed and decompressed with a corresponding algorithm. As a result, the compression rate is improved, and further, deterioration of image quality due to compression and decompression is suppressed.

更に、本実施の形態のイメージデータ圧縮方法と復元方法では、画像に含まれている網点から網点ベクターが生成される。網点が有する冗長度を効果的に活用される。これにより、圧縮率が向上される。   Further, in the image data compression method and decompression method of the present embodiment, a halftone vector is generated from halftone dots included in an image. Redundancy of halftone dots is effectively utilized. Thereby, the compression rate is improved.

なお、本実施の形態のステップS02において、印刷網点が以下に述べられている過程により抽出され、印刷網点イメージ要素データ52が生成されることが可能である。   In step S02 of the present embodiment, the print halftone dots are extracted by the process described below, and the print halftone image element data 52 can be generated.

まず、紙面イメージデータ50から、印刷規則に定められた印刷網点の最大面積よりも小さい面積を有する点領域の集合体に対応する部分が抽出される。その点領域は、印刷網点である可能性と、印刷網点でない可能性の両方が考えられる。続いて、点領域のそれぞれの中心点の位置が算出される。その算出法は、前述の印刷網点圧縮アルゴリズムにおいて、印刷網点の中心点の位置が算出される方法と同一である。   First, a portion corresponding to a collection of point regions having an area smaller than the maximum area of printing halftone dots determined in the printing rule is extracted from the paper surface image data 50. The dot area can be both a print halftone dot and a non-print halftone dot. Subsequently, the position of each central point of the point area is calculated. The calculation method is the same as the method in which the position of the center point of the printing halftone dot is calculated in the above-described printing dot compression algorithm.

更に、その点領域の中心点の近傍を通るように、等間隔でスクリーン線を定めることができるか否かが判断される。スクリーン線を定めることができれば、その点領域の集合体は、印刷網点の集合体であると判断される。その点領域の集合体が抽出されて、印刷網点イメージ要素データ52が生成される。   Further, it is determined whether or not screen lines can be defined at equal intervals so as to pass through the vicinity of the center point of the point area. If the screen line can be defined, it is determined that the collection of the dot areas is a collection of printing halftone dots. A collection of the dot areas is extracted, and print dot image element data 52 is generated.

また、本実施の形態において、カラーイメージを圧縮し、更に復元することも可能である。この場合、図32に示されているように、紙面イメージデータが色毎に分版される。   In the present embodiment, it is also possible to compress and further restore the color image. In this case, as shown in FIG. 32, the paper surface image data is separated for each color.

上述のモノクロイメージが圧縮される場合と同様に、紙面に印刷されたカラーイメージが取り込まれて、カラー紙面イメージデータ62が生成される(ステップS41)。   Similar to the case where the monochrome image is compressed, the color image printed on the paper surface is taken in, and the color paper surface image data 62 is generated (step S41).

カラー紙面イメージデータ62が、色毎に分版される(ステップS42)。カラー紙面イメージデータ62のうち、シアン色(C)の成分が抽出され、青版紙面イメージデータ63aが生成される。カラー紙面イメージデータ62のうち、マゼンダ色(M)の成分が抽出され、赤版紙面イメージデータ63bが生成される。カラー紙面イメージデータ62のうち、黄色(Y)の成分が抽出され、黄版紙面イメージデータ63cが生成される。カラー紙面イメージデータ62のうち、黒色(K)の成分が抽出され、墨版紙面イメージデータ63dが生成される。即ち、カラー紙面イメージデータ62は、CMYK系に分版される。   The color paper image data 62 is separated for each color (step S42). The cyan (C) component is extracted from the color paper surface image data 62, and blue plate paper image data 63a is generated. The magenta (M) component is extracted from the color paper surface image data 62, and red plate paper image data 63b is generated. The yellow (Y) component is extracted from the color paper surface image data 62, and the yellow paper surface image data 63c is generated. The black (K) component is extracted from the color paper surface image data 62, and the black paper surface image data 63d is generated. That is, the color paper surface image data 62 is separated into CMYK systems.

青版紙面イメージデータ63a、赤版紙面イメージデータ63b、黄版紙面イメージデータ63c、墨版紙面イメージデータ63dのそれぞれについて、図1に示されたステップS02と同様にして、イメージ要素が抽出され、分別される(ステップS43)。青色紙面イメージデータ63a、赤版紙面イメージデータ63b、黄版紙面イメージデータ63c、墨版紙面イメージデータ63dから、それぞれ、自由細点で構成された画像を示す青版自由細点イメージデータ64a、赤版自由細点イメージデータ64a、黄版自由細点イメージデータ64c、墨版自由細点イメージデータ64dが生成される。   Image elements are extracted in the same manner as in step S02 shown in FIG. 1 for each of blue plate paper image data 63a, red plate paper image data 63b, yellow plate paper image data 63c, and black plate paper image data 63d. Sorting is performed (step S43). From the blue paper image data 63a, the red printing paper image data 63b, the yellow printing paper image data 63c, and the black printing paper image data 63d, respectively, the blue printing free fine dot image data 64a and red representing an image composed of free thin printing dots, respectively. Plate free fine dot image data 64a, yellow free free dot image data 64c, and black free fine dot image data 64d are generated.

更に、青版紙面イメージデータ63a、赤版紙面イメージデータ63b、黄版紙面イメージデータ63c、墨版紙面イメージデータ63dから、それぞれ、印刷網点で構成された画像を示す青版印刷網点イメージデータ65a、赤版印刷網点イメージデータ65b、黄版印刷網点イメージデータ65c、墨版印刷網点イメージデータ65dが生成される。   Further, from the blue printing paper surface image data 63a, the red printing paper surface image data 63b, the yellow printing paper surface image data 63c, and the black printing paper surface image data 63d, respectively, blue printing printing dot image data indicating an image composed of printing halftone dots. 65a, red printing dot image data 65b, yellow printing dot image data 65c, and black printing dot image data 65d are generated.

更に、青版紙面イメージデータ63a、赤版紙面イメージデータ63b、黄版紙面イメージデータ63c、墨版紙面イメージデータ63dから、それぞれ、エッジの強い画像で構成された画像を示す青版線画イメージデータ66a、赤版線画イメージデータ66b、黄版線画イメージデータ66c、墨版線画イメージデータ66dが生成される。   Further, from the blue plate paper image data 63a, the red plate paper image data 63b, the yellow plate paper image data 63c, and the black plate paper image data 63d, respectively, blue plate image data 66a indicating an image composed of images with strong edges. , Red line image data 66b, yellow line image data 66c, and black line image data 66d are generated.

青版自由細点イメージデータ64a、赤版自由細点イメージデータ64a、黄版自由細点イメージデータ64c、墨版自由細点イメージデータ64dが上述の自由細点パターン圧縮アルゴリズムで圧縮され、青版自由細点テンポラリデータ67a、赤版自由細点テンポラリデータ67b、黄版自由細点テンポラリデータ67c、墨版自由細点テンポラリデータ67dが生成される(ステップS44)。   The blue plate free fine dot image data 64a, the red plate free fine dot image data 64a, the yellow plate free fine dot image data 64c, and the black plate free fine dot image data 64d are compressed by the above-described free fine dot pattern compression algorithm. Free fine dot temporary data 67a, red free fine dot temporary data 67b, yellow free free dot temporary data 67c, and black free fine dot temporary data 67d are generated (step S44).

青版印刷網点イメージデータ65a、赤版印刷網点イメージデータ65b、黄版印刷網点イメージデータ65c、墨版印刷網点イメージデータ65dが上述の印刷網点圧縮アルゴリズムで圧縮され、それぞれ青版印刷網点テンポラリデータ68a、赤版印刷網点テンポラリデータ68b、黄版印刷網点テンポラリデータ68c、墨版印刷網点テンポラリデータ68cが生成される(ステップS45)。   The blue printing halftone image data 65a, the red printing halftone image data 65b, the yellow printing halftone image data 65c, and the black printing halftone image data 65d are compressed by the above-described printing halftone compression algorithm. Printing halftone dot temporary data 68a, red printing halftone dot temporary data 68b, yellow printing halftone dot temporary data 68c, and black printing halftone dot temporary data 68c are generated (step S45).

青版線画イメージデータ66a、赤版線画イメージデータ66b、黄版線画イメージデータ66c、墨版線画イメージデータ66dが上述の線画圧縮アルゴリズムで圧縮され、それぞれ、青版線画テンポラリデータ69a、赤版線画テンポラリデータ69b、黄版線画テンポラリデータ69c、墨版線画テンポラリデータ69cが生成される(ステップS46)。   The blue print line drawing image data 66a, the red print line drawing image data 66b, the yellow print line drawing image data 66c, and the black print line drawing image data 66d are compressed by the above-described line drawing compression algorithm, respectively. Data 69b, yellow print line drawing temporary data 69c, and black print line drawing temporary data 69c are generated (step S46).

青版自由細点テンポラリデータ67a、赤版自由細点テンポラリデータ67b、黄版自由細点テンポラリデータ67c、墨版自由細点テンポラリデータ67d、青版印刷網点テンポラリデータ68a、赤版印刷網点テンポラリデータ68b、黄版印刷網点テンポラリデータ68c、墨版印刷網点テンポラリデータ68c、青版線画テンポラリデータ69a、赤版線画テンポラリデータ69b、黄版線画テンポラリデータ69c、及び墨版線画テンポラリデータ69cが統合され、一括圧縮データモジュール57’が生成される(ステップS47)。カラー紙面イメージデータ62の圧縮が完了する。   Blue plate free fine dot temporary data 67a, Red plate free fine dot temporary data 67b, Yellow plate free fine dot temporary data 67c, Black plate free fine dot temporary data 67d, Blue plate halftone dot temporary data 68a, Red plate halftone dot Temporary data 68b, yellow printing halftone dot temporary data 68c, black printing halftone dot temporary data 68c, blue printing line drawing temporary data 69a, red printing line drawing temporary data 69b, yellow printing line drawing temporary data 69c, and black printing line drawing temporary data 69c Are integrated to generate a batch compressed data module 57 ′ (step S47). The compression of the color paper surface image data 62 is completed.

なお、カラー紙面イメージデータ62が、CMYK系ではなく、他の表色系、例えば、赤色(R)、緑色(G)、青色(B)を3原色とするRGB系に分版されることも当然に可能である。   Note that the color paper image data 62 is not separated from the CMYK system, but may be separated into other color systems, for example, an RGB system in which red (R), green (G), and blue (B) are the three primary colors. Of course it is possible.

また、本実施の形態では、網点ベクターの算出は、x1軸、x2軸、x3軸、x4軸の全てについてなされるが、x1軸、x2軸、x3軸、x4軸の全てについて網点ベクターpの算出がなされることは、必ずしも必要とされない。但し、本実施の形態のように、x1軸、x2軸、x3軸、x4軸のうちの複数の軸について網点ベクターの算出がなされることは、圧縮率が向上される点で好ましい。 In this embodiment, halftone dot vectors are calculated for all of the x 1 axis, x 2 axis, x 3 axis, and x 4 axis, but the x 1 axis, x 2 axis, x 3 axis, x It is not always necessary to calculate the dot vector p for all four axes. However, the calculation of the halftone dot vector for a plurality of axes among the x 1 axis, the x 2 axis, the x 3 axis, and the x 4 axis as in the present embodiment improves the compression ratio. Is preferable.

また、本実施の形態において、復元イメージデータ61を生成する際に、イメージの拡大及び縮小を行うことが可能である。この場合、自由細点圧縮データモジュール54が復元されて生成された自由細点テンポラリデータ58に含まれる自由細点は、拡大率αで拡大され、又は、縮小率βで縮小される。   In the present embodiment, when the restored image data 61 is generated, the image can be enlarged and reduced. In this case, the free fine dots included in the free fine dot temporary data 58 generated by restoring the free fine dot compressed data module 54 are enlarged at the enlargement ratio α or reduced at the reduction ratio β.

更に、印刷網点テンポラリデータ59には、以下に述べられているように、イメージ要素を拡大し、又は縮小するための演算が施される。   Further, the print halftone dot temporary data 59 is subjected to an operation for enlarging or reducing the image element as described below.

印刷網点テンポラリデータ59に含まれているイメージ要素が拡大される場合を説明する。印刷網点テンポラリデータ59には、図33に示されているように、網点131〜139が含まれているとする。網点131〜139は、それぞれ、点A〜Hに位置するとする。   A case where an image element included in the print halftone dot temporary data 59 is enlarged will be described. It is assumed that the halftone dot temporary data 59 includes halftone dots 131 to 139 as shown in FIG. The halftone dots 131 to 139 are assumed to be located at points A to H, respectively.

網点131〜139が含まれているイメージ要素が、点Aを拡大の中心として、拡大率αで拡大される場合を考える。図33に示されているように、まず、拡大の中心点である点Aと、網点132がある点Bとを結ぶ直線上にある点B1に網点132が仮想的に移動される。 Consider a case where an image element including halftone dots 131 to 139 is enlarged at an enlargement ratio α with the point A as the center of enlargement. As shown in FIG. 33, first, the halftone dot 132 is virtually moved to a point B 1 on a straight line connecting the point A that is the center point of the enlargement and the point B where the halftone dot 132 is located. .

このとき、
α=AB1/AB.
仮想的に移動された網点132は、以後、仮想網点132’と記載される。仮想網点132’の面積は、網点132の面積と同じである。仮想網点132’は仮想的に移動された網点であり、実際に、仮想網点132’が配置されるわけではない。
At this time,
α = AB 1 / AB.
The virtually moved halftone dot 132 is hereinafter referred to as a virtual halftone dot 132 ′. The area of the virtual halftone dot 132 ′ is the same as the area of the halftone dot 132. The virtual halftone dot 132 ′ is a virtually moved halftone dot, and the virtual halftone dot 132 ′ is not actually arranged.

続いて、網点132が移動される方向と反対側に隣接する網点131と、仮想網点132’との間にある点のうち、印刷規則により、網点が存在することが定められている点に、新たな網点が発生される。発生された新たな網点は、網点132’’と記載される。図33に示されている場合では、網点132’’の位置は、網点132の位置に一致する。新たな網点132’’の面積は、網点132が隣接する網点のうち、網点132が移動される方向と反対側にあるものである網点131と、仮想網点132’の面積とを補間することにより定められる。この補間の際には、網点131、仮想網点132’、新たな網点132’’の位置が参照される。   Subsequently, among the points between the halftone dot 131 adjacent to the opposite side to the direction in which the halftone dot 132 is moved and the virtual halftone dot 132 ′, the printing rule determines that the halftone dot exists. At that point, a new halftone dot is generated. The generated new halftone dot is denoted as halftone dot 132 ''. In the case shown in FIG. 33, the position of the halftone dot 132 ″ matches the position of the halftone dot 132. The area of the new halftone dot 132 ″ is the area of the halftone dot 131 that is on the opposite side to the direction in which the halftone dot 132 is moved, and the virtual halftone dot 132 ′. Are interpolated. In this interpolation, the positions of the halftone dot 131, the virtual halftone dot 132 ', and the new halftone dot 132 "are referred to.

イメージ要素を拡大する演算が施される印刷網点テンポラリデータ59に、新たな網点132’’の面積を示すデータが記録される。このとき、仮想網点132’の面積を示すデータは廃棄される。   Data indicating the area of the new halftone dot 132 ″ is recorded in the print halftone dot temporary data 59 that is subjected to the calculation for enlarging the image element. At this time, data indicating the area of the virtual halftone dot 132 'is discarded.

他の網点も同様にして仮想的に移動され、更に、新たな網点が発生される。発生された新たな網点の面積を示すデータが、印刷網点テンポラリデータ59に、記録される。網点133が点C1に、網点134が点D1にそれぞれ仮想的に移動され、仮想網点133’、134’が定められる。
このとき、
α=AC1/AC=AD1/AD.
更に、網点133、134と同一の位置に新たな網点133’’、134’’が発生される。
Other halftone dots are virtually moved in the same manner, and new halftone dots are generated. Data indicating the area of the generated new halftone dot is recorded in the print halftone dot temporary data 59. The halftone dot 133 is virtually moved to the point C 1 , and the halftone dot 134 is virtually moved to the point D 1 , thereby defining virtual halftone dots 133 ′ and 134 ′.
At this time,
α = AC 1 / AC = AD 1 / AD.
Further, new halftone dots 133 ″ and 134 ″ are generated at the same positions as the halftone dots 133 and 134.

更に、他の網点についても同様の演算が行われ、新たに発生された網点の面積が、順次に、求められてゆく。以上の過程により、イメージ要素の拡大が完了する。   Further, the same calculation is performed for other halftone dots, and the area of newly generated halftone dots is sequentially obtained. Through the above process, the enlargement of the image element is completed.

このとき、拡大率αは、部分的に変えられることも可能である。これにより、変形されたイメージ要素の生成が可能になる。   At this time, the enlargement ratio α can be partially changed. As a result, a deformed image element can be generated.

続いて、印刷網点テンポラリデータ59に含まれているイメージ要素が縮小される場合を説明する。印刷網点テンポラリデータ59には、図34に示されているように、網点231〜239が含まれているとする。網点231〜239は、それぞれ、点A〜Hに位置するとする。   Next, a case where an image element included in the print dot temporary data 59 is reduced will be described. The print halftone dot temporary data 59 includes halftone dots 231 to 239 as shown in FIG. The halftone dots 231 to 239 are assumed to be located at points A to H, respectively.

網点231〜239が含まれているイメージ要素が、点Aを縮小の中心として、縮小率βで拡大される場合を考える。図34に示されているように、まず、縮小の中心点である点Aと、網点232がある点Bとを結ぶ直線上にある点B1に網点232が仮想的に移動され、仮想網点232’が定められる。 Consider a case where an image element including halftone dots 231 to 239 is enlarged at a reduction ratio β with the point A as the center of reduction. As shown in FIG. 34, first, the halftone dot 232 is virtually moved to a point B 1 on a straight line connecting the point A which is the central point of reduction and the point B where the halftone dot 232 is located. A virtual halftone dot 232 ′ is defined.

このとき、
β=AB1/AB.
また、仮想網点232’の面積は、網点232の面積と同じである。
At this time,
β = AB 1 / AB.
Further, the area of the virtual halftone dot 232 ′ is the same as the area of the halftone dot 232.

続いて、網点232が隣接する網点のうち、網点232が移動される方向と反対側にあるものである網点235と、仮想網点232’との間にある点のうち、印刷規則により網点が存在することが定められている点に、新たな網点が発生される。発生された新たな網点は、網点232’’と記載される。図34に示されている場合では、網点232’’の位置は、網点232の位置に一致する。新たな網点232’’の面積は、網点232が移動される方向と反対側に隣接する網点235と、仮想網点232’の面積とを補間することにより定められる。
この補間の際には、網点235、仮想網点232’、新たな網点232’’の位置が参照される。
Subsequently, among the halftone dots adjacent to the halftone dot 232, printing is performed out of the dots between the halftone dot 235 that is opposite to the direction in which the halftone dot 232 is moved and the virtual halftone dot 232 ′. A new halftone dot is generated at a point where the rule defines that a halftone dot exists. The generated new halftone dot is denoted as halftone dot 232 ″. In the case shown in FIG. 34, the position of the halftone dot 232 ″ matches the position of the halftone dot 232. The area of the new halftone dot 232 ″ is determined by interpolating the halftone dot 235 adjacent to the opposite side to the direction in which the halftone dot 232 is moved and the area of the virtual halftone dot 232 ′.
In this interpolation, the positions of the halftone dot 235, the virtual halftone dot 232 ′, and the new halftone dot 232 ″ are referred to.

イメージ要素を縮小する演算が施される印刷網点テンポラリデータ59に、新たな網点232’’の面積を示すデータが記録される。このとき、仮想網点232’の面積を示すデータは廃棄される。   Data indicating the area of the new halftone dot 232 ″ is recorded in the print halftone temporary data 59 on which the image element reduction operation is performed. At this time, data indicating the area of the virtual halftone dot 232 'is discarded.

他の網点も同様にして仮想的に移動され、更に、新たな網点が発生される。発生された新たな網点の面積を示すデータが、印刷網点テンポラリデータ59に、記録される。網点233が点C1に、網点234が点D1にそれぞれ仮想的に移動され、仮想網点233’、234’が定められる。
このとき、
β=AC1/AC=AD1/AD.
更に、網点233、234と同一の位置に新たな網点233’’、234’’が発生される。
Other halftone dots are virtually moved in the same manner, and new halftone dots are generated. Data indicating the area of the generated new halftone dot is recorded in the print halftone dot temporary data 59. The halftone dot 233 is virtually moved to the point C 1 , and the halftone dot 234 is virtually moved to the point D 1 , so that virtual halftone dots 233 ′ and 234 ′ are determined.
At this time,
β = AC 1 / AC = AD 1 / AD.
Further, new halftone dots 233 ″, 234 ″ are generated at the same positions as the halftone dots 233, 234.

更に、他の網点についても同様の演算が行われ、新たに発生された網点の面積が、順次に、求められてゆく。以上の過程により、イメージ要素の縮小が完了する。   Further, the same calculation is performed for other halftone dots, and the area of newly generated halftone dots is sequentially obtained. Through the above process, the reduction of the image element is completed.

このとき、縮小率βは、部分的に変えられることも可能である。これにより、変形されたイメージ要素の作成が可能になる。   At this time, the reduction ratio β can be partially changed. This makes it possible to create a deformed image element.

また、印刷網点復元アルゴリズムに拡大及び縮小以外の各種演算機能が加えられることにより、他の変形復元が可能である。   Further, by adding various calculation functions other than enlargement and reduction to the print halftone restoration algorithm, other deformation restoration can be performed.

更に線画テンポラリデータ60には、以下に述べられているように、イメージ要素を拡大し、又は縮小するための演算が施される。   Further, the line drawing temporary data 60 is subjected to an operation for enlarging or reducing the image element as described below.

イメージ要素が縮小される場合、図35に示されているように、線画テンポラリデータ60に含まれている輪郭ベクターと位置ベクトルとに縮小率βが乗じられ、輪郭ベクター117、位置ベクター118が生成される。輪郭ベクター117が向かう方向の左側の領域117aが、線画テンポラリデータ60に含まれている階調データで示された階調が埋められて、縮小されたイメージ要素が復元される。   When the image element is reduced, as shown in FIG. 35, the outline vector and the position vector included in the line drawing temporary data 60 are multiplied by the reduction ratio β, and the outline vector 117 and the position vector 118 are generated. Is done. The area 117a on the left side in the direction toward the contour vector 117 is filled with the gradation indicated by the gradation data included in the line drawing temporary data 60, and the reduced image element is restored.

同様に、イメージ要素が拡大される場合、図36に示されているように、線画テンポラリデータ60に含まれている輪郭ベクターと位置ベクトルとに拡大率αが乗じられ、輪郭ベクター119、位置ベクター120が生成される。輪郭ベクター119が向かう方向の左側の領域119aが、線画テンポラリデータ60に含まれている階調データで示された階調が埋められて、拡大されたイメージ要素が復元される。   Similarly, when the image element is enlarged, as shown in FIG. 36, the outline vector and the position vector included in the line drawing temporary data 60 are multiplied by the enlargement factor α to obtain the outline vector 119 and the position vector. 120 is generated. The area 119a on the left side in the direction toward the contour vector 119 is filled with the gradation indicated by the gradation data included in the line drawing temporary data 60, and the enlarged image element is restored.

また、本発明の実施の形態において、圧縮データ内に格納されている位置情報を使用して、イメージ要素を回転しながら、イメージ要素が復元されることも可能である。   In the embodiment of the present invention, it is also possible to restore the image element while rotating the image element using the position information stored in the compressed data.

また、前述されているように、本実施の形態においては、自由細点イメージ要素データ51を圧縮するために、自由細点パターン圧縮アルゴリズムが使用される。本実施の形態において、自由細点パターン圧縮アルゴリズムの代わりに、以下に述べられている自由細点ベクター圧縮アルゴリズムが使用されて、自由細点圧縮データモジュール54が生成されることが可能である。   As described above, in the present embodiment, a free fine dot pattern compression algorithm is used to compress the free fine dot image element data 51. In this embodiment, instead of the free fine dot pattern compression algorithm, the free fine dot vector compression algorithm described below can be used to generate the free fine dot compressed data module 54.

図37に示されている自由細点1411〜1415が圧縮される場合を考える。まず、自由細点1411〜1415の中心点の位置が、前述された印刷網点の中心点の位置を求める過程と、同様にして求められる。自由細点1411〜1415の位置は、その中心点の位置により表される。以下では、自由細点1411〜1415の位置とは、自由細点1411〜1415の中心点の位置を意味する。 Consider the case where the free fine dots 141 1 to 141 5 shown in FIG. 37 are compressed. First, the positions of the center points of the free fine dots 141 1 to 141 5 are determined in the same manner as the process of determining the position of the center point of the print halftone dot described above. The positions of the free fine dots 141 1 to 141 5 are represented by the positions of the center points. Hereinafter, the position of the free Hosoten 141 1-141 5 means the position of the center point of the free Hosoten 141 1-141 5.

自由細点1411〜1415のうちの自由細点141iが位置する座標を(xi、yi)とする。更に、自由細点141iが有する面積をSiとする。 Of the free fine dots 141 1 to 141 5 , the coordinates where the free fine dots 141 i are located are (x i , y i ). Furthermore, let S i be the area of the free fine dot 141 i .

自由細点ベクターr1〜r3が、以下のようにして求められる。まず、自由細点1411が選択される。自由細点1411の位置と、面積とが、自由細点圧縮データモジュール54に付加される。自由細点ベクターr1は、自由細点1411と自由細点1412との相対位置と、自由細点1411と自由細点1412との面積差とを成分とするベクターである。即ち、
1=(x2−x1、y2−y1、S2−S1).
Free fine dot vectors r 1 to r 3 are obtained as follows. First, the free thin spot 141 1 is selected. The position and area of the free fine dot 141 1 are added to the free fine dot compressed data module 54. Free Hosoten vector r 1 is a vector free Hosoten 141 1 and the relative position between the free Hosoten 141 2, free Hosoten 141 1 free Hosoten 141 2 and the area difference and the components. That is,
r 1 = (x 2 −x 1 , y 2 −y 1 , S 2 −S 1 ).

同様に、自由細点ベクターr2は、自由細点1412と自由細点1413との相対位置と、自由細点1411と自由細点1412の面積差とを成分とするベクターであり、
2=(x3−x2、y3−y2、S3−S2).
Similarly, the free fine dot vector r 2 is a vector having as its components the relative position between the free fine dot 141 2 and the free fine dot 141 3 and the area difference between the free fine dot 141 1 and the free fine dot 141 2 . ,
r 2 = (x 3 -x 2 , y 3 -y 2 , S 3 -S 2 ).

同様に、自由細点ベクターr3は、
3=(x4−x3、y4−y3、S4−S3).
自由細点ベクターr1〜r3が符号化され、自由細点圧縮データモジュール54が生成される。
Similarly, the free fine dot vector r 3 is
r 3 = (x 4 −x 3 , y 4 −y 3 , S 4 −S 3 ).
Free fine dot vectors r 1 to r 3 are encoded, and a free fine dot compressed data module 54 is generated.

更に、本実施の形態において、上述の自由細点パターン圧縮アルゴリズムの代わりに、以下に述べられている自由細点データ化圧縮アルゴリズムによって、自由細点イメージ要素データ51が圧縮され、自由細点圧縮データモジュール54が生成されることが可能である。   Furthermore, in this embodiment, instead of the above-described free fine dot pattern compression algorithm, the free fine dot image element data 51 is compressed by a free fine dot data compression algorithm described below, and free fine dot compression is performed. A data module 54 can be generated.

自由細点データ化圧縮アルゴリズムでは、自由細点212が含まれている領域210が、矩形領域211に区分される。矩形領域211の2辺はx軸方向に向き、他の2辺はy軸方向に向いている。それぞれの矩形領域211毎に、圧縮データが生成される。   In the free fine dot data compression algorithm, the area 210 including the free fine dots 212 is divided into rectangular areas 211. Two sides of the rectangular area 211 are oriented in the x-axis direction, and the other two sides are oriented in the y-axis direction. Compressed data is generated for each rectangular area 211.

その圧縮データが生成される方法が、矩形領域211のうちの矩形領域211aについて圧縮データを生成する場合を例にとって説明される。まず、圧縮データを生成する対象である矩形領域211aに含まれる自由細点212a〜212cが存在する位置が認識される。更に、自由細点212a〜212cが存在する位置と、矩形領域211aが有する4辺のうちの1辺との距離が算出される。   A method of generating the compressed data will be described by taking as an example a case where the compressed data is generated for the rectangular area 211a of the rectangular areas 211. First, the positions where the free thin dots 212a to 212c included in the rectangular area 211a that is the target for generating the compressed data are recognized. Furthermore, the distance between the position where the free fine dots 212a to 212c exist and one of the four sides of the rectangular area 211a is calculated.

本実施の形態では、y軸方向に伸びる辺213と、自由細点212a〜212cが存在する位置との距離da、db、dcがそれぞれ算出される。距離da、db、dcは、辺213のx座標をx0、自由細点212a〜212cが存在する位置のx座標をそれぞれxa、xb、xcとして、
a=xa―x0
b=xa―x0
c=xa―x0
算出された距離dは、矩形領域212aについて生成される圧縮データの構成要素となる。このとき、x軸方向に伸びる辺との距離が算出されることも可能である。
In the present embodiment, distances d a , d b and d c between the side 213 extending in the y-axis direction and the positions where the free thin points 212a to 212c exist are calculated. The distance d a, d b, d c is, x 0 x-coordinate of the side 213, free Hosoten 212a-212c x respectively the x coordinate of the position where there is a, x b, as x c,
d a = x a −x 0 ,
d b = x a −x 0 ,
d c = x a −x 0 .
The calculated distance d is a component of the compressed data generated for the rectangular area 212a. At this time, the distance from the side extending in the x-axis direction can also be calculated.

更に、矩形領域211aの内部の領域の濃度の平均値が算出される。この平均値は、自由細点212a〜212cの面積の和に一対一に対応する。後述されるように、矩形領域211aの内部の領域の濃度の平均値は、自由細点212a〜212cの面積の復元に使用される。その平均値は、矩形領域211aについて生成される圧縮データの他の構成要素になる。矩形領域211aについて生成される圧縮データの生成は以上で完了する。   Furthermore, the average value of the density of the area inside the rectangular area 211a is calculated. This average value corresponds to the sum of the areas of the free thin spots 212a to 212c on a one-to-one basis. As will be described later, the average value of the density of the area inside the rectangular area 211a is used to restore the area of the free thin dots 212a to 212c. The average value becomes another component of the compressed data generated for the rectangular area 211a. The generation of the compressed data generated for the rectangular area 211a is thus completed.

他の矩形領域211についても同様にして、圧縮データが生成される。生成された圧縮データは統合され、自由細点圧縮データモジュール54が生成される。   Similarly, compressed data is generated for the other rectangular areas 211. The generated compressed data is integrated, and a free fine dot compressed data module 54 is generated.

以上のようにして生成された自由細点圧縮データモジュール54は、以下のようにして復元される。まず、自由細点圧縮データモジュール54から、各矩形領域211について生成された圧縮データが取り出される。その圧縮データには、前述されているように、各矩形領域211に含まれている自由細点と、矩形領域の辺との距離が含まれている。更に、各矩形領域211の内部の領域の濃度の平均値が含まれている。   The free thin point compressed data module 54 generated as described above is restored as follows. First, the compressed data generated for each rectangular area 211 is extracted from the free fine dot compressed data module 54. As described above, the compressed data includes the distance between the free fine dot included in each rectangular area 211 and the side of the rectangular area. Furthermore, the average value of the density of the area inside each rectangular area 211 is included.

その圧縮データから、各矩形領域211に含まれている自由細点と、矩形領域の辺との距離が認識される。その距離に基づいて、自由細点の位置が復元される。   From the compressed data, the distance between the free fine dot included in each rectangular area 211 and the side of the rectangular area is recognized. Based on the distance, the position of the free fine point is restored.

更に、その圧縮データから、各矩形領域211の内部の領域の濃度の平均値が認識される。前述のとおり、その平均値に基づいて、各矩形領域211に含まれる自由細点の面積が定められる。このとき、各矩形領域211に含まれる自由細点は、同一の面積を有すると定められる。各矩形領域211に含まれる自由細点が復元される。以上の過程により、自由細点圧縮データモジュール54から、自由細点テンポラリーデータ58が復元される。   Furthermore, the average value of the density of the area inside each rectangular area 211 is recognized from the compressed data. As described above, the area of the free fine dots included in each rectangular area 211 is determined based on the average value. At this time, the free fine dots included in each rectangular region 211 are determined to have the same area. Free fine dots included in each rectangular area 211 are restored. Through the above process, the free fine point temporary data 58 is restored from the free fine point compressed data module 54.

また、本実施の形態において、紙面イメージデータ50に含まれているイメージ要素に、下記に述べられる演算が施され、演算が施されたイメージ要素が圧縮されることが可能である。更に、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60が合成される際には、下記に述べられる演算が施されることが可能である。   In the present embodiment, the image element included in the paper image data 50 is subjected to the calculation described below, and the calculated image element can be compressed. Further, when the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60 are combined, the following calculation can be performed.

自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60に含まれる全てのイメージ要素が復元される時は、OR演算が行われる。例えば、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素A、B、C、Dが含まれているとする。これら全てが復元される場合、これらのORが復元イメージデータ61として生成される。復元イメージデータ61をXとして、
X=A OR B OR C OR D.
When all the image elements included in the free fine dot temporary data 58, the print dot temporary data 59, and the line drawing temporary data 60 are restored, an OR operation is performed. For example, it is assumed that the image elements A, B, C, and D are included in the free fine dot temporary data 58, the printing halftone dot temporary data 59, and the line drawing temporary data 60. When all of these are restored, these ORs are generated as restored image data 61. Assuming that the restored image data 61 is X,
X = A OR B OR C OR D.

また、紙面イメージデータ50に含まれている全てのイメージ要素が圧縮されるときは、OR演算が行われる。例えば、紙面イメージデータ50にイメージ要素A、B、C、Dが含まれているとする。これら全てが圧縮される場合、これらのORが圧縮の対象となるイメージデータになる。圧縮の対象となるイメージデータをX’として、
X’=A OR B OR C OR D.
When all the image elements included in the paper image data 50 are compressed, an OR operation is performed. For example, it is assumed that the image elements A, B, C, and D are included in the paper surface image data 50. When all of these are compressed, these ORs become image data to be compressed. Let X 'be the image data to be compressed,
X ′ = A OR B OR C OR D.D.

自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60に含まれるイメージ要素のうちの、共通部分のみを復元するとき、AND演算が行われる。自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素A、B、C、Dが含まれているとする。イメージ要素A、Bの共通部分を復元イメージデータ61として復元したい場合、復元イメージデータ61をXとして、
X= A AND B.
When only the common portion of the image elements included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60 is restored, an AND operation is performed. It is assumed that the image elements A, B, C, and D are included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60. When it is desired to restore the common part of the image elements A and B as the restored image data 61, the restored image data 61 is set as X.
X = A AND B.

また、紙面イメージデータ50に含まれているイメージ要素のうちの、共通部分のみが圧縮されるとき、AND演算が行われる。例えば、紙面イメージデータ50にイメージ要素A、B、C、Dが含まれているとする。イメージ要素A、Bの共通部分が圧縮される場合、イメージ要素A、Bの論理積が圧縮の対象となるイメージデータになる。圧縮の対象となるイメージデータをX’として、
X’=A AND B.
Further, when only the common part of the image elements included in the paper surface image data 50 is compressed, an AND operation is performed. For example, it is assumed that the image elements A, B, C, and D are included in the paper surface image data 50. When the common part of the image elements A and B is compressed, the logical product of the image elements A and B becomes image data to be compressed. Let X 'be the image data to be compressed,
X ′ = A AND B.

自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60に含まれるイメージ要素のうち、複数のイメージ要素以外の部分が復元される場合、NOR演算が行われる。例えば、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素A、Cが含まれているとする。イメージ要素Aとイメージ要素Cと以外のイメージ要素を復元する場合、復元イメージデータ61をXとして、
X= A NOR C.
When the image elements included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60 are restored, a NOR operation is performed. For example, it is assumed that the image elements A and C are included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60. When restoring image elements other than the image element A and the image element C, the restored image data 61 is set as X,
X = A NOR C.I.

紙面イメージデータ50に含まれるイメージ要素のうち、複数のイメージ要素以外の部分が圧縮される場合、NOR演算が行われる。例えば、紙面イメージデータ50にイメージ要素A、Cが含まれているとする。イメージ要素Aとイメージ要素C以外のイメージ要素を圧縮する場合、圧縮の対象となるイメージデータをX’として、
X’= A NOR C.
When a portion other than a plurality of image elements among the image elements included in the paper surface image data 50 is compressed, a NOR operation is performed. For example, it is assumed that the image elements A and C are included in the paper surface image data 50. When compressing image elements other than image element A and image element C, the image data to be compressed is X ′,
X ′ = A NOR C.I.

また、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60に含まれるイメージ要素のうち、複数のイメージ要素の共通部分以外の部分を復元するときは、NAND演算が行われる。すなわち、例えば、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素A、Cが含まれているとする。イメージ要素Aとイメージ要素Cとの共通部分以外の全てを復元する場合、復元イメージデータ61をXとして、
X= A NAND C.
In addition, when restoring a portion other than a common portion of a plurality of image elements among the image elements included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60, a NAND operation is performed. . That is, for example, it is assumed that the image elements A and C are included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60. When restoring all but the common part of the image element A and the image element C, the restored image data 61 is set as X,
X = A NAND C.I.

また、紙面イメージデータ50に含まれるイメージ要素のうち、複数のイメージ要素の共通部分以外の部分を圧縮するときは、NAND演算が行われる。例えば、紙面イメージデータ50にイメージ要素A、Cが含まれているとする。イメージ要素Aとイメージ要素Cとの共通部分以外の全てを圧縮する場合、圧縮の対象となるイメージデータをX’として、
X’= A NAND C.
When compressing a portion other than the common portion of the plurality of image elements among the image elements included in the paper surface image data 50, a NAND operation is performed. For example, it is assumed that the image elements A and C are included in the paper surface image data 50. When compressing all but the common part of image element A and image element C, the image data to be compressed is X ′,
X ′ = A NAND C.I.

また、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60に含まれるイメージ要素について、排他的論理和を演算して復元されることも可能である。自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素A、Cが含まれているとする。復元イメージデータ61をXとしたとき、
X=A XOR C,
と定めることが可能である。
In addition, the image elements included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60 can be restored by calculating an exclusive OR. It is assumed that the image elements A and C are included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60. When the restored image data 61 is X,
X = A XOR C,
Can be determined.

また、紙面イメージデータ50に含まれるイメージ要素について、排他的論理和を演算した上で圧縮されることも可能である。紙面イメージデータ50にイメージ要素A、Cが含まれているとする。圧縮の対象となるイメージデータをX’として、
X’=A XOR C,
と定めることが可能である。
In addition, the image elements included in the paper image data 50 can be compressed after calculating an exclusive OR. Assume that the image elements A and C are included in the paper surface image data 50. Let X 'be the image data to be compressed,
X ′ = A XOR C,
Can be determined.

また、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素Aとイメージ要素Bとが含まれているとする。このとき、イメージ要素Aの上にイメージ要素Bが重なっている場合を考える。この場合、イメージ要素Aを透過処理で復元することにより、イメージ要素AとBとが重なっている部分において、イメージ要素Aが見えるように復元することが可能である。また、イメージ要素Aを不透過処理で復元することにより、イメージ要素Aとイメージ要素Bとが重なっている部分において、イメージ要素Bのみが見えるように、復元することができる。   In addition, it is assumed that the image element A and the image element B are included in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60. At this time, consider a case where the image element B overlaps the image element A. In this case, it is possible to restore the image element A so that the image element A can be seen in the portion where the image elements A and B overlap by restoring the image element A by the transparent process. Further, by restoring the image element A by the opaque process, it is possible to restore the image element A so that only the image element B can be seen in the portion where the image element A and the image element B overlap.

紙面イメージデータ50に含まれるイメージ要素のうち、圧縮されるイメージ要素の選択は、各イメージ要素に付された名前、各イメージ要素のイメージの大きさ、各イメージ要素のイメージの形状、各イメージ要素のイメージの色、各イメージ要素のイメージデータ量に基づいて、行われることが可能である。同様に、自由細点テンポラリデータ58、印刷網点テンポラリデータ59、及び線画テンポラリデータ60にイメージ要素のうち、圧縮されるイメージ要素の選択は、各イメージ要素に付された名前、各イメージ要素のイメージの大きさ、各イメージ要素のイメージの形状、各イメージ要素のイメージの色、各イメージ要素のイメージデータ量に基づいて、行われることが可能である。   Among the image elements included in the paper image data 50, the selection of the image element to be compressed is made by selecting the name given to each image element, the size of the image of each image element, the shape of the image of each image element, and each image element. Based on the color of the image and the amount of image data of each image element. Similarly, among the image elements in the free fine dot temporary data 58, the print halftone dot temporary data 59, and the line drawing temporary data 60, the image element to be compressed is selected by the name assigned to each image element and the image element. It can be performed based on the size of the image, the shape of the image of each image element, the color of the image of each image element, and the amount of image data of each image element.

上記のような選択・演算処理により、紙面イメージの中から必要なイメージ要素や特徴的なイメージ要素を抽出して復元することができる。例えば、紙面の中から、写真のみ、文章のみ、表のみを圧縮処理するようにすればファイリングやデータベース構築に有効である。また、特定のイメージ要素のみが復元されることは、多数のイメージ要素がインターネットにおいて配信され、閲覧される際に、情報の処理量を削減する上で有効である。   By the selection / calculation processing as described above, necessary image elements and characteristic image elements can be extracted and restored from the paper image. For example, it is effective for filing and database construction to compress only a photograph, only a sentence, and only a table from the page. In addition, restoring only specific image elements is effective in reducing the amount of information processing when a large number of image elements are distributed and viewed on the Internet.

なお、本実施の形態においては、上述されているように、紙面にあるイメージ30から紙面イメージデータ50が生成され、紙面イメージデータ50が圧縮され、復元されている。本実施の形態において、紙面から生成されない他のイメージデータが、紙面イメージデータ50の代わりに圧縮され、復元されることが可能である。   In the present embodiment, as described above, the page image data 50 is generated from the image 30 on the page, and the page image data 50 is compressed and restored. In the present embodiment, other image data that is not generated from the paper surface can be compressed and restored instead of the paper surface image data 50.

また、本実施の形態において、ステップS02では、他の基準に基づいて、イメージ要素データの分別・抽出が行われることが可能である。例えば、組版要素に基づいた分別・抽出が行われることが可能である。これにより、活字、手書き文字、印鑑、線画、グラフィック、平網、階調網、写真網が分別され、更に抽出される。また、イメージ種類に基づいた分別・抽出が行われることが可能である。これにより、文書物、漫画物、地図物、広告物、表物、写真物が分別され、更に抽出される。   In the present embodiment, in step S02, image element data can be sorted and extracted based on other criteria. For example, separation / extraction based on the composition element can be performed. As a result, type letters, handwritten characters, seals, line drawings, graphics, flat nets, gradation nets, and photo nets are separated and further extracted. Further, it is possible to perform sorting / extraction based on the image type. Thereby, the document material, the cartoon material, the map material, the advertisement material, the surface material, and the photograph material are separated and further extracted.

実施の第2形態:
実施の第2形態のイメージデータ圧縮方法及び復元方法は、イメージデータに含まれる画像を、連続的に階調が変化する領域と、階調が殆ど変化しない領域とに分別して、そのイメージデータを圧縮し、復元する方法である。以下、実施の第2形態のイメージデータ圧縮方法及び復元方法を説明する。
Second embodiment:
The image data compression method and decompression method according to the second embodiment separates an image included in the image data into a region where gradation continuously changes and a region where gradation hardly changes, and the image data is divided. It is a method of compressing and decompressing. The image data compression method and restoration method according to the second embodiment will be described below.

実施の第2形態のイメージデータ圧縮方法及び復元方法は、ハードウエア資源を用いて実行される。そのハードウエア資源10’は、図38に示されているように、入力部11、CPU2、記憶装置3、記録媒体4、及びバス5を含む。入力部11、CPU2、記憶装置3、及び記録媒体4は、バス5に接続されている。入力部11には、イメージデータ150が入力される。CPU2は、イメージデータ150を圧縮し、又は復元するための演算を実行する。記憶装置3は、イメージデータ150と、実施の第2形態のイメージデータの圧縮方法及び復元方法を実行する過程で生成されたデータを格納する。記録媒体4は、実施の第2形態のイメージデータの圧縮方法及び復元方法に含まれる手順が記載されたプログラムを格納する。CPU2は、そのプログラムに従って動作する。バス5は、スキャナ1、CPU2、記憶装置3、及び記録媒体4の間で交換されるデータを伝送する。   The image data compression method and decompression method according to the second embodiment are executed using hardware resources. As shown in FIG. 38, the hardware resource 10 ′ includes an input unit 11, a CPU 2, a storage device 3, a recording medium 4, and a bus 5. The input unit 11, CPU 2, storage device 3, and recording medium 4 are connected to a bus 5. Image data 150 is input to the input unit 11. The CPU 2 executes an operation for compressing or restoring the image data 150. The storage device 3 stores the image data 150 and data generated in the course of executing the image data compression method and decompression method according to the second embodiment. The recording medium 4 stores a program in which procedures included in the image data compression method and decompression method according to the second embodiment are described. The CPU 2 operates according to the program. The bus 5 transmits data exchanged among the scanner 1, the CPU 2, the storage device 3, and the recording medium 4.

図39は、実施の第2形態のイメージデータ圧縮方法を示す。まず、イメージデータ150が入力部11に入力される。イメージデータ150が示す画像は、連続的に階調が変化する領域と、階調が殆ど変化しない領域とを含んでいる。連続的に階調が変化する領域には、網点で構成されたイメージ要素が配置されている。階調が殆ど変化しない領域には、網点で構成されていないイメージ要素が配置されている。   FIG. 39 shows an image data compression method according to the second embodiment. First, the image data 150 is input to the input unit 11. The image indicated by the image data 150 includes a region where the gradation changes continuously and a region where the gradation hardly changes. An image element composed of halftone dots is arranged in an area where gradation continuously changes. In an area where the gradation hardly changes, image elements not composed of halftone dots are arranged.

イメージデータ150が2値化され、2値データ151が生成される(ステップS51)。更に、前述のイメージデータ150と、2値データ151との差分が算出され、多値データ152が生成される(ステップS52)。   The image data 150 is binarized and binary data 151 is generated (step S51). Further, the difference between the above-described image data 150 and binary data 151 is calculated, and multi-value data 152 is generated (step S52).

イメージデータ150は、2値データ151と、多値データ152とに分別されることになる。イメージデータ150のうち、階調が殆ど変化しない領域が、2値データ151として抽出され、イメージデータ150のうち、連続的に階調が変化する領域に対応する部分が、多値データ152として抽出される。連続的に階調が変化する領域は、前述の通り、網点で構成されたイメージ要素が配置されている。多値データ152は網点を示すデータで構成されている。   The image data 150 is classified into binary data 151 and multi-value data 152. A region of the image data 150 where the gradation hardly changes is extracted as binary data 151, and a portion of the image data 150 corresponding to a region where the gradation continuously changes is extracted as multi-value data 152. Is done. As described above, image elements composed of halftone dots are arranged in the region where the gradation continuously changes. Multi-value data 152 is composed of data indicating halftone dots.

多値データ152は、実施の第1形態で説明された印刷網点圧縮アルゴリズムにより圧縮され、印刷網点圧縮データモジュール154が生成される(ステップS53)。更に、2値データ151は、実施の第1形態で説明された線画圧縮アルゴリズムで圧縮され、線画圧縮データモジュール155が生成される(ステップS54)。   The multi-value data 152 is compressed by the printing dot compression algorithm described in the first embodiment, and the printing dot compression data module 154 is generated (step S53). Further, the binary data 151 is compressed by the line drawing compression algorithm described in the first embodiment, and the line drawing compression data module 155 is generated (step S54).

印刷網点圧縮データモジュール154と線画圧縮データモジュール155とは統合され、一括圧縮データモジュール156が生成される(ステップS55)以上の過程により、イメージデータ150の圧縮が完了する。一括圧縮データモジュール156は、記録媒体に記録されて利用されることが可能である。   The print dot compression data module 154 and the line drawing compression data module 155 are integrated, and the batch compression data module 156 is generated (step S55). The compression of the image data 150 is completed through the above process. The batch compressed data module 156 can be recorded on a recording medium and used.

続いて、一括圧縮データモジュール156が復元される過程を説明する。   Next, a process of restoring the batch compressed data module 156 will be described.

図40に示されているように、一括圧縮データモジュール156が分割され、印刷網点圧縮データモジュール154と、線画圧縮データモジュール155とが復元される(ステップS61)。   As shown in FIG. 40, the batch compression data module 156 is divided, and the print dot compression data module 154 and the line drawing compression data module 155 are restored (step S61).

印刷網点圧縮データモジュール154は、実施の第1形態で説明された印刷網点復元アルゴリズムにより復元され、印刷網点テンポラリデータ157が生成される(ステップS62)。印刷網点テンポラリデータ157には、網点からなる画像が復元されている。   The print halftone dot compression data module 154 is restored by the print halftone dot restoration algorithm described in the first embodiment, and print halftone dot temporary data 157 is generated (step S62). In the print halftone dot temporary data 157, an image composed of halftone dots is restored.

更に、線画圧縮データモジュール155が、実施の第1形態で説明された線画復元アルゴリズムにより復元され、線画テンポラリデータ158が生成される(ステップS63)。   Further, the line drawing compressed data module 155 is restored by the line drawing restoration algorithm described in the first embodiment, and line drawing temporary data 158 is generated (step S63).

更に、印刷網点テンポラリデータ157と線画テンポラリデータ158とがイメージ合成され、復元網点データ160が生成される(ステップS64)。   Further, the print halftone dot temporary data 157 and the line drawing temporary data 158 are combined to generate restored halftone dot data 160 (step S64).

実施の第2形態のイメージ圧縮方法と復元方法が以下に述べられているように変更され、イメージデータ150に全く印刷網点が含まれていない場合に適用されることも可能である。   The image compression method and the decompression method according to the second embodiment may be modified as described below, and may be applied when the image data 150 does not include any printing halftone dots.

まず、上述の実施の第2形態のイメージ圧縮方法と復元方法と同様に、イメージデータ150が2値化され(ステップS51)、更に、イメージデータ150と2値データ151の差分が算出されて多値データ152が生成される。このとき、多値データ152が示す画像には、印刷網点が含まれていない。   First, similarly to the image compression method and the decompression method of the second embodiment described above, the image data 150 is binarized (step S51), and further, the difference between the image data 150 and the binary data 151 is calculated and calculated. Value data 152 is generated. At this time, the image indicated by the multi-value data 152 does not include printing halftone dots.

この場合、多値データ152が示す画像から網点が発生された後、印刷網点圧縮アルゴリズムにより、多値データ152が圧縮される。まず、多値データ152が示す画像の各位置における階調が算出される。更に、画像の各位置に、その位置の階調に比例した面積を有する網点が発生される。その網点の位置と、面積とに基づいて、印刷網点圧縮アルゴリズムにより多値データ152が圧縮され、印刷網点圧縮データモジュール154が生成される。更に、線画圧縮データモジュール155と統合されて、一括圧縮データモジュール156が生成される。   In this case, after a halftone dot is generated from the image indicated by the multilevel data 152, the multilevel data 152 is compressed by a printing halftone compression algorithm. First, the gradation at each position of the image indicated by the multi-value data 152 is calculated. Further, halftone dots having an area proportional to the gradation of the position are generated at each position of the image. Based on the position and area of the halftone dot, the multi-value data 152 is compressed by the print halftone compression algorithm, and the print halftone compression data module 154 is generated. Further, the batch compression data module 156 is generated by integrating with the line drawing compression data module 155.

このようにして生成された一括圧縮データモジュール156が復元されるとき、復元される復元イメージデータ160が示す画像には、元のイメージデータ150が示す画像に含まれていなかった網点が含まれている。   When the batch compressed data module 156 generated in this way is restored, the image indicated by the restored image data 160 to be restored includes halftone dots that were not included in the image indicated by the original image data 150. ing.

この場合、網点から構成される画像を示す印刷網点テンポラリデータ157が、網点から構成されている画像でない画像テンポラリデータに変換されたうえで、2値テンポラリデータ158と合成されることが可能である。画像テンポラリデータは以下のようにして生成される。まず、印刷網点テンポラリデータ157に含まれている網点の位置と面積とが認識される。網点が存在する位置の近傍の領域が、網点の面積に対応した階調により塗りつぶされた画像が生成される。その画像を示すデータが画像テンポラリデータとして生成される。   In this case, the print halftone dot temporary data 157 indicating an image composed of halftone dots is converted into image temporary data that is not an image composed of halftone dots and then combined with the binary temporary data 158. Is possible. The image temporary data is generated as follows. First, the positions and areas of the halftone dots included in the print halftone temporary data 157 are recognized. An image is generated in which a region in the vicinity of a position where a halftone dot exists is filled with a gradation corresponding to the area of the halftone dot. Data indicating the image is generated as image temporary data.

このようにして生成された画像テンポラリデータと2値テンポラリデータ158とから生成された復元イメージデータ160には、網点が含まれていない元の画像が、概ね復元される。   In the restored image data 160 generated from the image temporary data and the binary temporary data 158 generated in this way, the original image that does not include a halftone dot is almost restored.

網点が含まれていないように復元イメージデータ160が復元されることは、モアレが発生することを防止したい場合に有効である。   Restoring the restored image data 160 so as not to include halftone dots is effective when it is desired to prevent the occurrence of moire.

本実施の形態のイメージデータ圧縮方法と復元方法では、実施の第1形態と同様に、イメージデータがイメージ要素に分別され、抽出される。更に、各イメージ要素が、それに対応したアルゴリズムで圧縮され、復元される。これにより、圧縮率が向上され、更に、圧縮及び復元による画質の劣化が抑制される。   In the image data compression method and decompression method of the present embodiment, image data is classified into image elements and extracted, as in the first embodiment. Further, each image element is compressed and decompressed with a corresponding algorithm. As a result, the compression rate is improved, and further, deterioration of image quality due to compression and decompression is suppressed.

更に、本実施の形態のイメージデータ圧縮方法と復元方法では、網点が含まれていない画像から、網点が生成される。更に、その網点から網点ベクターが生成される。網点が有する冗長度が効果的に活用される。これにより、圧縮率が向上される。   Furthermore, in the image data compression method and decompression method of the present embodiment, halftone dots are generated from an image that does not include halftone dots. Further, a halftone dot vector is generated from the halftone dots. Redundancy of halftone dots is effectively utilized. Thereby, the compression rate is improved.

なお、本実施の形態のイメージデータ圧縮方法と復元方法においても、実施の第1形態と同様に、カラーイメージの圧縮及び復元を行うことが可能である。この場合、実施の第1形態と同様に、カラーイメージを示すカラーイメージデータが分版され、各色毎に、分版イメージデータが生成される。分版イメージデータのそれぞれについて、本実施の形態のイメージデータ圧縮方法と復元方法と同じ方法により、圧縮及び復元がなされる。   Note that the image data compression method and decompression method of the present embodiment can also compress and decompress a color image, as in the first embodiment. In this case, as in the first embodiment, color image data indicating a color image is separated, and separated image data is generated for each color. Each of the separated image data is compressed and restored by the same method as the image data compression method and restoration method of the present embodiment.

1:スキャナ
2:CPU
3:記憶装置
4:記録媒体
5:バス
10:ハードウエア資源
11:入力部
50:紙面イメージデータ
51:自由細点イメージ要素データ
52:印刷網点イメージ要素データ
53:線画イメージ要素データ
54:自由細点圧縮データモジュール
55:印刷網点圧縮データモジュール
56:線画圧縮データモジュール
57:一括圧縮データモジュール
58:自由細点テンポラリデータ
59:印刷網点テンポラリデータ
60:線画テンポラリーデータ
61:復元イメージデータ
62:カラー紙面イメージデータ
70:対象エリア
71:面積パッチ
72:小領域
73:イメージ要素
81、101:網点
82、102:スクリーン線
1: Scanner 2: CPU
3: Storage device 4: Recording medium 5: Bus 10: Hardware resource 11: Input unit 50: Paper image data 51: Free fine dot image element data 52: Print halftone dot image element data 53: Line drawing image element data 54: Free Fine dot compression data module 55: Print halftone dot compression data module 56: Line drawing compression data module 57: Batch compression data module 58: Free fine dot temporary data 59: Print halftone dot temporary data 60: Line drawing temporary data 61: Restored image data 62 : Color paper surface image data 70: Target area 71: Area patch 72: Small area 73: Image element 81, 101: Halftone dot 82, 102: Screen line

Claims (7)

印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得することと、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別することと、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成すること
とを備えたイメージデータ圧縮方法であって、
前記自由細点圧縮データを生成することは、
前記画像に、前記自由細点を含む矩形領域を定めることと、
前記矩形領域の内部の濃度の平均値に基づいて、前記自由細点圧縮データを生成すること
とを含む
イメージデータ圧縮方法。
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range To do
Separating the printing halftone dots and the free fine dots contained in the image of the image data;
An image data compression method comprising: generating free fine-point compressed data obtained by compressing an image portion corresponding to the free fine point based on the position of the free fine point,
Generating the free fine-point compressed data includes:
Defining a rectangular region including the free fine dots in the image;
An image data compression method comprising: generating the free thin-point compression data based on an average value of density inside the rectangular region.
印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得することと、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別することと、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成すること
とを備えたイメージデータ圧縮方法であって、
前記自由細点圧縮データを生成することは、
前記画像に、前記自由細点を含む矩形領域を定めることと、
前記矩形領域の辺と、前記自由細点との距離に基づいて、前記自由細点圧縮データを生成すること
を含む
イメージデータ圧縮方法。
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range To do
Separating the printing halftone dots and the free fine dots contained in the image of the image data;
An image data compression method comprising: generating free fine-point compressed data obtained by compressing an image portion corresponding to the free fine point based on the position of the free fine point,
Generating the free fine-point compressed data includes:
Defining a rectangular region including the free fine dots in the image;
An image data compression method comprising: generating the free fine dot compressed data based on a distance between a side of the rectangular area and the free fine dot.
印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得することと、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別することと、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成すること
とを備えたイメージデータ圧縮方法であって、
前記自由細点圧縮データを生成することは、
前記画像に、前記自由細点を含む矩形領域を定めることと、
前記自由細点のうちの前記矩形領域に含まれる部分のパターンの形状を認識することと、
前記形状を符号化して前記自由細点圧縮データを生成すること
とを含む
イメージデータ圧縮方法。
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range To do
Separating the printing halftone dots and the free fine dots contained in the image of the image data;
An image data compression method comprising: generating free fine-point compressed data obtained by compressing an image portion corresponding to the free fine point based on the position of the free fine point,
Generating the free fine-point compressed data includes:
Defining a rectangular region including the free fine dots in the image;
Recognizing the shape of the pattern of the portion included in the rectangular region of the free fine dots;
An image data compression method comprising: encoding the shape to generate the free fine dot compressed data.
請求項1乃至請求項3のいずれか1項に記載のイメージデータ圧縮方法において、
前記自由細点は、前記印刷網点の面積よりも大きい領域を有する
イメージデータ圧縮方法。
The image data compression method according to any one of claims 1 to 3,
The image data compression method, wherein the free thin dots have an area larger than an area of the printing halftone dot.
コンピュータに、
印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得する手順と、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別する手順と、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成する手順
とを実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記自由細点圧縮データを生成する手順は、
前記画像に、前記自由細点を含む矩形領域を定める手順と、
前記矩形領域の内部の濃度の平均値に基づいて、前記自由細点圧縮データを生成する手順
とを含む
記録媒体。
On the computer,
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range And the steps to
A procedure for separating the printing halftone dots and the free fine dots contained in the image of the image data;
A computer-readable recording medium storing a program for executing a procedure for generating free fine-point compressed data in which an image portion corresponding to the free fine point is compressed based on the position of the free fine point, ,
The procedure for generating the free fine dot compressed data is as follows:
A procedure for defining a rectangular region including the free fine dots in the image;
A procedure for generating the free thin-point compressed data based on an average density value inside the rectangular area.
コンピュータに、
印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得する手順と、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別する手順と、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成する手順
とを実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記自由細点圧縮データを生成する手順は、
前記画像に、前記自由細点を含む矩形領域を定める手順と、
前記矩形領域の辺と、前記自由細点との距離に基づいて、前記自由細点圧縮データを生成する手順
を含む
記録媒体。
On the computer,
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range And the steps to
A procedure for separating the printing halftone dots and the free fine dots contained in the image of the image data;
A computer-readable recording medium storing a program for executing a procedure for generating free fine-point compressed data in which an image portion corresponding to the free fine point is compressed based on the position of the free fine point, ,
The procedure for generating the free fine dot compressed data is as follows:
A procedure for defining a rectangular region including the free fine dots in the image;
A recording medium including a procedure for generating the free fine dot compressed data based on a distance between a side of the rectangular area and the free fine dot.
コンピュータに、
印刷規則に従って配置された印刷網点と、前記印刷規則に従わずに配置された点で且つ所定の面積範囲にある面積を有する点である自由細点と、を含む画像を示すイメージデータを取得する手順と、
前記イメージデータの画像に含まれる前記印刷網点と前記自由細点とを分別する手順と、
前記自由細点の位置に基づいて、前記自由細点に対応する画像部分を圧縮した自由細点圧縮データを生成する手順
とを実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記自由細点圧縮データを生成する手順は、
前記画像に矩形領域を定める手順と、
前記自由細点のうちの前記矩形領域に含まれる部分のパターンの形状を認識する手順と、
前記形状を符号化して前記自由細点圧縮データを生成する手順
とを含む
記録媒体。
On the computer,
Acquires image data indicating an image including printing halftone dots arranged according to a printing rule, and free fine dots that are points arranged not according to the printing rule and having an area in a predetermined area range And the steps to
A procedure for separating the printing halftone dots and the free fine dots contained in the image of the image data;
A computer-readable recording medium storing a program for executing a procedure for generating free fine-point compressed data in which an image portion corresponding to the free fine point is compressed based on the position of the free fine point, ,
The procedure for generating the free fine dot compressed data is as follows:
A procedure for defining a rectangular region in the image;
Recognizing the shape of the pattern of the portion included in the rectangular region of the free fine dots;
A procedure for encoding the shape and generating the free thin-point compressed data.
JP2010233398A 1999-12-20 2010-10-18 Image data compression method and decompression method Expired - Fee Related JP4812893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010233398A JP4812893B2 (en) 1999-12-20 2010-10-18 Image data compression method and decompression method

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP1999360326 1999-12-20
JP36032699 1999-12-20
JP2000103889 2000-04-05
JP2000103889 2000-04-05
JP2010233398A JP4812893B2 (en) 1999-12-20 2010-10-18 Image data compression method and decompression method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009241613A Division JP4659114B2 (en) 1999-12-20 2009-10-20 Image data compression method and decompression method

Publications (2)

Publication Number Publication Date
JP2011050084A JP2011050084A (en) 2011-03-10
JP4812893B2 true JP4812893B2 (en) 2011-11-09

Family

ID=41393294

Family Applications (5)

Application Number Title Priority Date Filing Date
JP2009162304A Expired - Fee Related JP4567799B2 (en) 1999-12-20 2009-07-09 Image data compression method and decompression method
JP2009162302A Pending JP2009268147A (en) 1999-12-20 2009-07-09 Image data compressing method and decompressing method
JP2009241613A Expired - Lifetime JP4659114B2 (en) 1999-12-20 2009-10-20 Image data compression method and decompression method
JP2009241608A Expired - Fee Related JP4567802B2 (en) 1999-12-20 2009-10-20 Image data compression method and decompression method
JP2010233398A Expired - Fee Related JP4812893B2 (en) 1999-12-20 2010-10-18 Image data compression method and decompression method

Family Applications Before (4)

Application Number Title Priority Date Filing Date
JP2009162304A Expired - Fee Related JP4567799B2 (en) 1999-12-20 2009-07-09 Image data compression method and decompression method
JP2009162302A Pending JP2009268147A (en) 1999-12-20 2009-07-09 Image data compressing method and decompressing method
JP2009241613A Expired - Lifetime JP4659114B2 (en) 1999-12-20 2009-10-20 Image data compression method and decompression method
JP2009241608A Expired - Fee Related JP4567802B2 (en) 1999-12-20 2009-10-20 Image data compression method and decompression method

Country Status (1)

Country Link
JP (5) JP4567799B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5742283B2 (en) * 2011-02-18 2015-07-01 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP5887770B2 (en) * 2011-09-05 2016-03-16 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP7243981B2 (en) * 2019-03-08 2023-03-22 国立大学法人秋田大学 Paper area classification device and its program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1517870A (en) * 1976-12-20 1978-07-12 Ibm Apparatus for producing vectors from raster scanned data
JPS5693483A (en) * 1979-12-27 1981-07-29 Fujitsu Ltd Coding system of mesh picture
JPH0762867B2 (en) * 1986-09-18 1995-07-05 富士通株式会社 Halftone image screen number conversion device
JPH088642B2 (en) * 1989-07-27 1996-01-29 富士通株式会社 Halftone image data compression device
JPH03146996A (en) * 1989-11-02 1991-06-21 Nec Off Syst Ltd Image processor
JPH05268462A (en) * 1992-03-19 1993-10-15 Mitsubishi Electric Corp Picture processor
JPH06181519A (en) * 1992-12-15 1994-06-28 Fujitsu Ltd Method for converting line density of printed picture
JP2812232B2 (en) * 1995-01-27 1998-10-22 日本電気株式会社 Halftone image data compression method
JPH099065A (en) * 1995-06-14 1997-01-10 Nagano Japan Radio Co Picture data compression encoding method and decoding method
JPH10210293A (en) * 1997-01-21 1998-08-07 Minolta Co Ltd Image processor

Also Published As

Publication number Publication date
JP2011050084A (en) 2011-03-10
JP2010016903A (en) 2010-01-21
JP2010016902A (en) 2010-01-21
JP2009268147A (en) 2009-11-12
JP4567799B2 (en) 2010-10-20
JP4659114B2 (en) 2011-03-30
JP2009268148A (en) 2009-11-12
JP4567802B2 (en) 2010-10-20

Similar Documents

Publication Publication Date Title
JP4424845B2 (en) Image data compression method and decompression method
JP5132530B2 (en) Image coding apparatus, image processing apparatus, and control method thereof
JP4568460B2 (en) Image processing apparatus and recording medium
US20090284801A1 (en) Image processing apparatus and image processing method
EP0708415B1 (en) Four-quadrant scaling of dot matrix data
JP3715905B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP4812893B2 (en) Image data compression method and decompression method
US8229214B2 (en) Image processing apparatus and image processing method
JP5005732B2 (en) Image forming apparatus and image processing method
JP2008092447A (en) Image processing apparatus, image output device, and image processing method
JP5335581B2 (en) Image processing apparatus, image processing method, and program
JP3888090B2 (en) Image processing apparatus and image processing method
JP2001160903A (en) Image correction method and device, and recording medium with program for executing its method recorded thereon
JPH06150059A (en) Image area separator
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof
JP4736489B2 (en) Image processing device
CA2499286C (en) Compressing and restoring method of image data
JP3754721B2 (en) Image processing apparatus and method
JP3070884B2 (en) Binary image identification device
JP2000270224A (en) Image processor, image processing method, and computer readable medium recorded with program to execute the method by computer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110401

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110713

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110721

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110816

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110823

R150 Certificate of patent or registration of utility model

Ref document number: 4812893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140902

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees