JPH1125272A - Picture identification device - Google Patents

Picture identification device

Info

Publication number
JPH1125272A
JPH1125272A JP9173351A JP17335197A JPH1125272A JP H1125272 A JPH1125272 A JP H1125272A JP 9173351 A JP9173351 A JP 9173351A JP 17335197 A JP17335197 A JP 17335197A JP H1125272 A JPH1125272 A JP H1125272A
Authority
JP
Japan
Prior art keywords
pixel
value
image
line connections
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9173351A
Other languages
Japanese (ja)
Other versions
JP3791129B2 (en
Inventor
Shinji Shishido
信次 宍戸
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP17335197A priority Critical patent/JP3791129B2/en
Publication of JPH1125272A publication Critical patent/JPH1125272A/en
Application granted granted Critical
Publication of JP3791129B2 publication Critical patent/JP3791129B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To determine characteristics for the change of gradation information for a picture in which a multilevel PDL (business graphics) picture and a natural picture are present. SOLUTION: A connected lines counting means 1a receives a multilevel picture data 11, scans each picture element, and compares the value of a picture element with the value of a scanned adjacent picture element, operates binarization into '1' when they are identical, and '0' when they are different, and outputs the number of connected lines which is 12 for each picture element under consideration. A picture identifying means 1b receives the number of the connected lines which is 12 outputted from the connected lines counting means 1a, calculates the total number of the connected lines within a prescribed reference range, determines a reversible encoding area by comparing it with a prescribed threshold value, and outputs identification information 13 being the determined result. A reference range controlling means 1c inputs resolution information 14, and sets a reference range 15 for determining the number of the connected lines according to resolution.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像の各領域の特
性を識別する画像識別技術に関し、とくに画像の特性に
応じて複数の符号化方式を切り替える適応符号化の前処
理として利用できる画像識別技術に関する。本発明は、
とくに、ページ記述言語(以下、PDLという)から生
成される画像とスキャナからスキャンインした画像が混
在する画像を入力して、符号化する装置において、PD
L生成画像に適した符号化方式の適用領域を識別する場
合に適用可能な画像識別技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image identification technique for identifying characteristics of each area of an image, and more particularly to an image identification technique which can be used as a preprocessing for adaptive encoding for switching a plurality of encoding systems according to the characteristics of an image. About technology. The present invention
Particularly, in an apparatus that inputs and encodes an image in which an image generated from a page description language (hereinafter referred to as PDL) and an image scanned in from a scanner are mixed, a PD is used.
The present invention relates to an image identification technique that can be applied when identifying an application area of an encoding method suitable for an L-generated image.

【0002】[0002]

【従来の技術】まず、関連する技術について説明する。 1.可逆符号化方式と非可逆符号化方式 ディジタル画像には、コンピュータで生成されるCG
(コンピュータ・グラフィックス)画像やPDLで記述
されるビジネスグラフィックス(以下、PDL画像と総
称する)、スキャナからスキャンインした画像(以下、
自然画像という)、および、PDL画像と自然画像が混
在する画像がある。
2. Description of the Related Art First, related techniques will be described. 1. Lossless and irreversible encoding Digital images include computer generated CG
(Computer Graphics) Business graphics (hereinafter collectively referred to as PDL images) described in images and PDL, images scanned in from a scanner (hereinafter, referred to as PDL images).
There is an image in which a PDL image and a natural image are mixed.

【0003】PDL画像は、ある画素値の線や面を多数
上書きすることによって生成される画像であるため、特
定の方向に同一画素が連続する確率が高く、画素値の変
化が急峻でエッジがはっきりしているという特性をも
つ。この特性によって、PDL画像は可逆符号化方式で
効率よく圧縮できる。非可逆符号化方式でPDL画像を
圧縮するとエッジがぼけるなど画質劣化を生じやすい。
A PDL image is an image generated by overwriting a large number of lines or planes with a certain pixel value. Therefore, there is a high probability that the same pixel continues in a specific direction, the pixel value changes sharply, and the edge becomes sharp. It has the property of being clear. With this characteristic, the PDL image can be efficiently compressed by the lossless encoding method. When a PDL image is compressed by the irreversible encoding method, image quality is easily deteriorated such as blurred edges.

【0004】一方、自然画像にはノイズが含まれ、画素
値が局所的に変化することが多く、エッジがはっきりし
ていないという特性をもつ。非可逆符号化方式は画像デ
ータから画質に影響しない冗長成分を除去するが、可逆
符号化方式はノイズや局所的な画素変化による冗長成分
を除去しない。このため、同一画素が連続しない自然画
像を可逆符号化方式で圧縮すると圧縮率は低くなる。自
然画像は非可逆符号化方式でなければ効率よく圧縮でき
ない。
[0004] On the other hand, a natural image has a characteristic that noise is included, a pixel value often changes locally, and an edge is not clear. The lossy coding method removes redundant components from image data that do not affect the image quality, whereas the lossless coding method does not remove redundant components due to noise or local pixel changes. For this reason, when a natural image in which the same pixels are not continuous is compressed by the lossless encoding method, the compression ratio becomes low. Natural images cannot be efficiently compressed unless the lossy coding method is used.

【0005】以上から理解されるように、PDL画像と
自然画像が混在する画像を符号化する場合は、ページ内
で画像の特性に応じて符号化方式を切り替えなければ効
率よく圧縮できない。可逆符号化方式は画質を劣化させ
ず符号化できるため、特に可逆符号化方式で効率よく圧
縮できる領域を識別することが望ましい。
[0005] As can be understood from the above, when encoding an image in which a PDL image and a natural image are mixed, efficient compression is not possible unless the encoding method is switched according to the characteristics of the image in the page. Since the lossless encoding method can perform encoding without deteriorating the image quality, it is particularly desirable to identify a region that can be efficiently compressed by the lossless encoding method.

【0006】PDL画像と自然画像の領域を示す識別情
報があらかじめ与えられている場合は、識別情報に基づ
いて符号化処理を切り替えればよい。識別情報がない場
合、例えば、PDL画像と自然画像の混在する画像をラ
スタデータとして入力した場合は、符号化処理を実施す
る前に可逆符号化領域を識別する必要がある。
When identification information indicating a region between a PDL image and a natural image is given in advance, the encoding process may be switched based on the identification information. When there is no identification information, for example, when an image in which a PDL image and a natural image are mixed is input as raster data, it is necessary to identify the lossless encoded area before performing the encoding process.

【0007】自然画像でも同一画素が連続する場合は、
可逆符号化方式で効率良く圧縮できる。すなわち、PD
L画像と自然画像が混在しない場合でも局所的な特性の
変動に応じて各符号化方式が対応する。したがって、P
DL画像や自然画像の種別によらず、可逆符号化方式で
効率良く符号化できる領域を識別することが望ましい。
When the same pixel continues even in a natural image,
Compression can be efficiently performed by the lossless encoding method. That is, PD
Even when the L image and the natural image do not coexist, each encoding method corresponds to a local characteristic variation. Therefore, P
It is desirable to identify a region that can be efficiently encoded by the lossless encoding method regardless of the type of the DL image or the natural image.

【0008】以上は符号化効率を向上することを目的と
した符号化方式の切り替えであるが、その他に画質を向
上することを目的とした符号化方式の切り替えがある。
例えば、文字と写真が混在する画像から文字領域を切り
出して、文字領域をエッジが劣化しないように可逆符号
化し、写真領域は非可逆符号化方式で符号化する。文字
領域はエッジ情報、写真領域は階調情報が各々の領域を
識別する特性である。
The above is the switching of the encoding system for the purpose of improving the coding efficiency. In addition, there is the switching of the encoding system for the purpose of improving the image quality.
For example, a character region is cut out from an image in which characters and photos are mixed, and the character region is losslessly encoded so that edges do not deteriorate, and the photograph region is encoded by a lossy encoding method. The character region has a characteristic of edge information, and the photograph region has a characteristic of gradation information identifying each region.

【0009】符号化以外の処理においても画像の特性に
合わせて処理を切り替える。例えば、網点と非網点が混
在する画像を解像度の低いプリンターで出力する場合、
モアレが発生しないように網点領域を平滑化する。網点
は2値の面積階調で表され、網点の数は網点周期と領域
面積に依存する特性がある。
The processing other than the coding is switched according to the characteristics of the image. For example, if you want to output an image containing both halftone and non-halftone dots on a low-resolution printer,
The dot area is smoothed so that moire does not occur. A halftone dot is represented by a binary area gradation, and the number of halftone dots has a characteristic that depends on a halftone dot period and a region area.

【0010】上記で説明したように、画像の特性に応じ
た切り替え処理は様々であるが、いずれも、画像の特性
に着目して領域を識別する技術を前提としている。 2.網点領域の識別 特性の異なる領域を識別する従来技術として、網点と非
網点が混在する画像において網点領域を識別する技術が
ある。例えば、特開平2−103685公報には、あら
かじめ定められたブロック内において、黒画素が連結す
る領域(以下、黒領域)と白画素が連結する領域(以
下、白領域)の数に基づいて、網点領域を識別する方法
が記載されている。
As described above, there are various switching processes according to the characteristics of an image, but all of them are based on the technology of identifying an area by focusing on the characteristics of an image. 2. As a conventional technique for identifying areas having different characteristics, there is a technique for identifying a halftone area in an image in which halftone and non-halftone dots are mixed. For example, Japanese Patent Laid-Open Publication No. Hei 2-103885 discloses that, based on the number of regions where black pixels are connected (hereinafter referred to as black regions) and regions where white pixels are connected (hereinafter referred to as white regions), in a predetermined block. A method for identifying a halftone dot region is described.

【0011】網点は、黒領域の大きさによる面積階調で
濃度を表す。濃度が低い領域は、ほとんどが白領域であ
り、それぞれの黒領域は孤立しているため、領域数につ
いては黒領域のほうが白領域より多くなる。一方、濃度
が高い領域では、逆に白領域のほうが黒領域より領域数
が多くなる。
The halftone dots represent the density by area gradation according to the size of the black area. Most of the low-density areas are white areas, and the respective black areas are isolated. Therefore, the number of areas is larger in the black area than in the white area. On the other hand, in an area having a high density, the number of areas in the white area is larger than that in the black area.

【0012】黒領域と白領域の数を計測するために、黒
と白についてブロックの平均濃度に応じた閾値を設け、
画素値が黒の閾値より大きければ黒、白の閾値より小さ
ければ白、黒と白の閾値間であれば灰に3値化して、ブ
ロック内の黒領域と白領域を分離する。縦または横の2
つの隣接画素の連結を線連結、縦と横に各2つずつ4つ
の隣接画素で面を構成する連結を面連結とすると、網点
領域の黒領域または白領域の数は、画素数、線連結の
数、面連結の数を計数して、以下の式で求めることがで
きる。
In order to measure the number of black areas and white areas, a threshold value is set for black and white according to the average density of the block,
If the pixel value is larger than the black threshold, it is converted to black; if it is smaller than the white threshold, it is converted to white; if it is between the black and white thresholds, it is converted to gray, and the black and white regions in the block are separated. Vertical or horizontal 2
Assuming that the connection of two adjacent pixels is line connection, and the connection forming a plane with four adjacent pixels, two in each of the vertical and horizontal directions, is plane connection, the number of black or white areas in the halftone area is the number of pixels, the number of lines The number of connections and the number of surface connections are counted, and can be obtained by the following equation.

【0013】[0013]

【数1】(領域数)=(画素数)−(線連結の数)+
(面連結の数) 上記の方式の利点は、ラベリングのように画素の連結を
大域的に計算しなくても、局所的な線や面を数えるだけ
で領域数を計算できることである。
## EQU1 ## (Number of regions) = (Number of pixels)-(Number of line connections) +
(Number of Surface Connections) An advantage of the above-described method is that the number of regions can be calculated only by counting local lines or surfaces without calculating pixel connections globally as in labeling.

【0014】網点領域では、領域数は網点の数であり網
点の間隔で定められる。これに対して、非網点領域で
は、画像の内容によって領域数は変動する。このよう
に、網点領域と非網点領域で領域数の特徴が異なること
を利用して、網点領域を識別する。
In the halftone dot area, the number of areas is the number of halftone dots and is determined by the interval between the halftone dots. On the other hand, in the non-dot area, the number of areas varies depending on the content of the image. As described above, the halftone area is identified by utilizing the difference in the number of areas between the halftone area and the non-halftone area.

【0015】図6と図7を用いて、網点領域を識別する
処理の概要を説明する。図6は、網点領域識別処理の構
成図、図7は、領域数計測の説明図である。図6におい
て、まず、画像情報51はバッファメモリ5aにストア
され、濃度データ52は動的3値化5bによって黒と灰
と白に3値化される。次に、領域数計測5cは、あらか
じめ定められたブロック単位に計算要素6c、6d、6
e、6fを計数して、領域数を計測する。このとき、図
7の6bの細線部で示すように計測対象領域の画素値と
同じ画素値でブロックの周辺をマスクし、ブロックの縁
に接している領域は数えない。白領域と黒領域につい
て、それぞれ領域数を計測して領域数の多い方を採用
し、あらかじめ定められた閾値と比較して、仮網点候補
54を決定する。つづけて、5d、5e、5fの各補正
処理により補正した結果から、網点領域と非網点領域に
識別する。 3.多値のPDL画像と自然画像の識別 網点領域は2値の面積階調で表されるため、網点内での
階調情報の変化は意味をもたない。また、文字領域も同
様にエッジ情報のみ意味を持つ。このように、網点領域
や文字領域は、画素値が変化するエッジが重要な画像情
報であり、従来の画像識別はこの特性を利用していた。
ところが、PDL画像と自然画像はいずれも階調情報の
変化によって画像情報が表される。従来の画像識別で
は、階調情報の変化に対する特性を判定しないため、P
DL画像と自然画像を識別できない。
The outline of the process for identifying a halftone dot region will be described with reference to FIGS. FIG. 6 is a configuration diagram of the halftone dot region identification processing, and FIG. 7 is an explanatory diagram of the region number measurement. In FIG. 6, first, image information 51 is stored in a buffer memory 5a, and density data 52 is ternarized into black, gray, and white by dynamic ternarization 5b. Next, the number-of-regions measurement 5c calculates the calculation elements 6c, 6d, 6 in units of predetermined blocks.
e and 6f are counted, and the number of areas is measured. At this time, the periphery of the block is masked with the same pixel value as the pixel value of the measurement target region as indicated by the thin line portion in FIG. 7B, and the region in contact with the edge of the block is not counted. For the white area and the black area, the number of areas is measured, and the larger number of areas is adopted, and a temporary halftone dot candidate 54 is determined by comparing with a predetermined threshold value. Subsequently, based on the results corrected by the respective correction processes of 5d, 5e, and 5f, a halftone dot region and a non-halftone dot region are identified. 3. Discrimination Between Multi-Valued PDL Image and Natural Image Since a halftone dot region is represented by a binary area gradation, a change in gradation information within a halftone dot has no meaning. Similarly, only the edge information of the character area is significant. As described above, in the halftone dot area and the character area, the edge at which the pixel value changes is important image information, and the conventional image identification uses this characteristic.
However, in both the PDL image and the natural image, image information is represented by a change in gradation information. In the conventional image identification, the characteristic with respect to the change of the gradation information is not determined.
The DL image cannot be distinguished from the natural image.

【0016】例えば、従来技術では、黒と白の閾値によ
り画素値を黒、灰、白に3値化して黒領域と白領域に分
離する。これをPDL画像と自然画像が混在する画像に
適用すると、各閾値区分内の画素値は同一の値でマスク
されるため、同一画素が連続するPDL画像の特性と画
素値が局所的に変動する自然画像の特性を判定できなく
なる。
For example, in the prior art, a pixel value is ternarized into black, gray, and white by a threshold value of black and white, and separated into a black region and a white region. If this is applied to an image in which a PDL image and a natural image coexist, the pixel values in each threshold segment are masked with the same value, so that the characteristics and pixel values of the PDL image in which the same pixels continue are locally varied. The characteristics of the natural image cannot be determined.

【0017】図8に同一画素が連続する領域を識別する
ことができない例を示す。図8は、PDL画像と自然画
像が混在する画像において、ある水平方向の画素値の変
化を示す図である。7aはPDL画像と自然画像が混在
する画像の例で、71は同一画素が連続するPDL画像
の領域、72は画素値が変化する自然画像の領域であ
る。7bはPDL画像領域の垂直方向の位置Bにおける
水平方向の画素値、7cは自然画像領域の垂直方向の位
置(B+1)における水平方向の画素値である。7b、
7cとも水平方向の位置x1からx2までの画素値の変
化を示している。この例では、画素値の3値化により、
71のPDL画像と72の自然画像は両方とも灰領域と
なり、71のPDL画像の領域と72の自然画像の領域
は同一領域として識別される。このように、画素値を3
値化すると、PDL画像と自然画像が混在する画像にお
いて、同一画素が連続する領域を識別することはできな
い。
FIG. 8 shows an example in which a region where the same pixel continues cannot be identified. FIG. 8 is a diagram showing a change in a pixel value in a certain horizontal direction in an image in which a PDL image and a natural image are mixed. 7a is an example of an image in which a PDL image and a natural image are mixed, 71 is a PDL image area where the same pixels are continuous, and 72 is a natural image area where the pixel value changes. 7b is a horizontal pixel value at a vertical position B in the PDL image area, and 7c is a horizontal pixel value at a vertical position (B + 1) in the natural image area. 7b,
7c shows a change in the pixel value from the horizontal position x1 to the horizontal position x2. In this example, the ternarization of the pixel value
Both the 71 PDL image and the 72 natural image are gray areas, and the 71 PDL image area and the 72 natural image area are identified as the same area. Thus, a pixel value of 3
When the value is converted to a value, it is impossible to identify a region where the same pixel continues in an image in which a PDL image and a natural image are mixed.

【0018】[0018]

【発明が解決しようとする課題】上記で説明したように
従来の画像識別では、階調情報以外の特性を用いて領域
識別を実施しているため、階調情報の特性が異なるPD
L画像および自然画像が混在する画像に対して、可逆符
号化領域を識別できない。
As described above, in the conventional image identification, since the area identification is performed using characteristics other than the gradation information, PDs having different characteristics of the gradation information are used.
A lossless coding area cannot be identified for an image in which an L image and a natural image are mixed.

【0019】本発明は、多値のPDL画像と自然画像が
混在する画像の可逆符号化領域を識別することを目的と
する。
An object of the present invention is to identify a lossless coding area of an image in which a multi-level PDL image and a natural image are mixed.

【0020】また、本発明は、多値画像の階調情報に基
づく特性を識別し、この識別結果に応じて、符号化手
法、プリント手法、その他画像処理の手法を最適化させ
ることを目的としている。
Another object of the present invention is to identify a characteristic based on gradation information of a multi-valued image and optimize an encoding method, a printing method, and other image processing methods according to the identification result. I have.

【0021】[0021]

【課題を解決するための手段】本発明においては、階調
情報の変化に対する特性を判定するために各画素値ごと
に同一画素が連続する領域を識別するようにしている。
According to the present invention, a region where the same pixel continues is identified for each pixel value in order to determine the characteristic with respect to a change in gradation information.

【0022】すなわち、本発明によれば、上述の目的を
達成するために、画像識別装置に、入力された多値画像
データの各画素をスキャンし、注目画素の値とスキャン
済みの隣接画素の値とを比較し、同一値の画素どうしを
結ぶ線連結の数を出力する線連結計数手段と、上記線連
結計数手段から出力される線連結の数を入力し、所定の
参照範囲内の画素に関する線連結の総数を計算し、上記
線連結の総数を所定の閾値と比較し、この比較の結果に
基づいて上記多値画像データの領域ごとの特性を識別す
る画像識別手段とを設けるようにしている。
That is, according to the present invention, in order to achieve the above object, each pixel of the input multi-valued image data is scanned by the image identifying device, and the value of the pixel of interest and the adjacent pixel that has been scanned are scanned. And a line connection counting unit that outputs the number of line connections that connect pixels having the same value, and a line connection number that is output from the line connection counting unit. Calculating a total number of line connections related to each other, comparing the total number of line connections with a predetermined threshold value, and providing image identification means for identifying a characteristic of each area of the multi-valued image data based on a result of the comparison. ing.

【0023】この構成においては、各画素値ごとに同一
画素が連続する領域を識別することにより、多値画像デ
ータの階調情報の変化に対する特性を判定できる。そし
て、この階調情報の変化に基づいて、例えば、符号化手
法の切り替えを行える。またプリントの手法を切り替え
る。
In this configuration, by identifying a region where the same pixel continues for each pixel value, it is possible to determine the characteristic of the multi-valued image data with respect to the change in the gradation information. Then, for example, the coding method can be switched based on the change in the gradation information. Also, the printing method is switched.

【0024】また、この構成において、上記画像識別手
段は、上記比較の結果に基づいて上記多値画像の領域の
各々が可逆符号化領域がどうかを判別するようにしても
よい。また、上記多値画像データの解像度情報に基づい
て、上記線連結の数を判定する参照範囲を設定するよう
にしてもよい。
Further, in this configuration, the image identification means may determine whether each of the areas of the multi-valued image is a lossless coding area based on the result of the comparison. Further, a reference range for determining the number of line connections may be set based on resolution information of the multi-valued image data.

【0025】また、本発明によれば、上述の目的を達成
するために、画像識別装置に、入力された多値画像デー
タの画素の各々について、当該画素の値と、所定の方向
の隣接画素の値とを比較し、同一値の画素どうしを結ぶ
線連結の数を出力する線連結計数手段と、上記線連結計
数手段から出力される線連結の数を入力し、所定の参照
範囲内の画素に関する線連結の総数を計算し、上記線連
結の総数を所定の閾値と比較し、この比較の結果に基づ
いて上記多値画像データの領域ごとの特性を識別する画
像識別手段とを設けるようにしている。
According to the present invention, in order to achieve the above-mentioned object, for each pixel of the multi-valued image data input to the image discriminating apparatus, the value of the pixel and the adjacent pixel in a predetermined direction And a line connection counting unit that outputs the number of line connections that connect pixels having the same value, and a line connection number that is output from the line connection counting unit. Image identification means for calculating the total number of line connections for pixels, comparing the total number of line connections with a predetermined threshold, and identifying characteristics of each region of the multi-valued image data based on the result of the comparison. I have to.

【0026】この構成においても、各画素値ごとに同一
画素が連続する領域を識別することにより、多値画像デ
ータの階調情報の変化に対する特性を判定できる。
Also in this configuration, by identifying the area where the same pixel continues for each pixel value, it is possible to determine the characteristic of the multivalued image data with respect to the change in the gradation information.

【0027】また、本発明によれば、上述の目的を達成
するために、画像識別装置に、入力された多値画像デー
タについて、当該画素の値と、同一値の画素どうしで形
成される領域を検出する手段と、所定の参照範囲内の上
記領域の総数を計算し、上記総数に基づいて上記多値画
像データの領域ごとの特性を識別する画像識別手段とを
設けるようにしている。
Further, according to the present invention, in order to achieve the above-mentioned object, in the multi-valued image data input to the image identification device, the area formed by pixels having the same value as the value of the pixel concerned And an image identification means for calculating the total number of the areas within a predetermined reference range and identifying the characteristics of each area of the multi-valued image data based on the total number.

【0028】この構成においても、各画素値ごとに同一
画素が連続する領域を識別することにより、多値画像デ
ータの階調情報の変化に対する特性を判定できる。
Also in this configuration, by identifying the area where the same pixel continues for each pixel value, it is possible to determine the characteristic of the multivalued image data with respect to the change in the gradation information.

【0029】さらに、本発明によれば、上述の目的を達
成するために、多値画像符号化装置に、入力された多値
画像データの画素の各々について、当該画素の値と、所
定の方向の隣接画素の値とを比較し、同一値の画素どう
しを結ぶ線連結の数を出力する線連結計数手段と、上記
線連結計数手段から出力される線連結の数を入力し、所
定の参照範囲内の画素に関する線連結の総数を計算し、
上記線連結の総数を所定の閾値と比較し、この比較の結
果に基づいて上記多値画像の領域の各々が可逆符号化領
域がどうかを判別する手段と、上記判別結果に基づいて
実行される可逆符号化手段とを設けている。
Further, according to the present invention, in order to achieve the above-mentioned object, for each pixel of the input multi-valued image data, the multi-valued image data is stored in a predetermined direction. And a line connection counting unit that outputs the number of line connections that connect pixels having the same value, and a line connection number that is output from the line connection counting unit. Calculate the total number of line connections for pixels in the range,
Means for comparing the total number of line connections with a predetermined threshold value and determining whether each of the areas of the multi-valued image is a lossless coding area based on the result of the comparison, and executing based on the determination result And a lossless encoding means.

【0030】この構成においては、各画素値ごとに同一
画素が連続する領域を識別することにより、多値画像デ
ータの階調情報の変化に対する特性を判定できる。そし
て、同一画素値が連続する場合に選択的に可逆符号化を
適用し、これによりPDL画像と自然画像とが混在する
場合にも高圧縮率で符号化を行える。
In this configuration, the characteristic of the multivalued image data with respect to the change in the gradation information can be determined by identifying the area where the same pixel continues for each pixel value. Then, lossless encoding is selectively applied when the same pixel value continues, whereby encoding can be performed at a high compression ratio even when a PDL image and a natural image coexist.

【0031】[0031]

【発明の実施の形態】以下、本発明を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail.

【0032】本発明においては、階調情報の変化の特性
を各画素値ごとに判定するために、注目画素と隣接画素
を比較して同一値であれば”1”、異なれば”0”に2
値化し、注目画素毎に線連結の数を求める。そして、所
定の範囲で線連結の数を計算して、同一画素が連続する
領域の面の大きさを領域内の線連結の数で表す。可逆符
号化領域の特性を同一画素が連続する方向を区別するこ
となく線連結の数で判定して、可逆符号化領域を識別す
る。
In the present invention, in order to determine the characteristic of the change of the gradation information for each pixel value, the target pixel and the adjacent pixel are compared and set to “1” if they are the same value and “0” if they are different. 2
The value is converted to the number of line connections for each pixel of interest. Then, the number of line connections is calculated in a predetermined range, and the size of the surface of the region where the same pixels are continuous is represented by the number of line connections in the region. The characteristics of the lossless coding region are determined by the number of line connections without discriminating the direction in which the same pixels continue, and the lossless coding region is identified.

【0033】図1は、本発明の構成を示すものであり、
この図において、画像識別装置は、線連結計数手段1
a、画像識別手段1bおよび参照範囲制御手段1cを含
んで構成されている。線連結計数手段1aは、多値画像
データ11を受け取って各画素をスキャンし、注目画素
の値とスキャン済みの隣接画素の値とを比較し、同一値
であれば”1”、異なれば”0”に2値化して、注目画
素毎に線連結の数12を出力する。画像識別手段1b
は、線連結計数手段1aから出力される線連結の数12
を受け取って、所定の参照範囲内における線連結の総数
を計算して、所定の閾値との比較により可逆符号化領域
を判定し、判定結果である識別情報13を出力する。参
照範囲制御手段1cは、解像度情報14を入力し、線連
結の数を判定する参照範囲15を解像度に応じて設定す
る。
FIG. 1 shows the structure of the present invention.
In this figure, the image identification device includes a line connection counting unit 1.
a, image identification means 1b and reference range control means 1c. The line connection counting means 1a receives the multi-valued image data 11, scans each pixel, compares the value of the pixel of interest with the value of the scanned adjacent pixel, and determines "1" if the values are the same and "1" if the values are different. It is binarized to 0 ", and the number 12 of line connections is output for each pixel of interest. Image identification means 1b
Is the number 12 of line connections output from the line connection counting means 1a.
, The total number of line connections within a predetermined reference range is calculated, the lossless coding area is determined by comparison with a predetermined threshold value, and the identification information 13 as the determination result is output. The reference range control unit 1c receives the resolution information 14 and sets a reference range 15 for determining the number of line connections according to the resolution.

【0034】この構成においては、多値のPDL画像と
自然画像が混在する画像に対して、可逆符号化領域を識
別し、適応的な符号化を行える。また、解像度に応じて
参照範囲を設定することにより、大域的特性に漸近した
局所的な線連結の特性を識別することが可能になる。
In this configuration, a lossless coding area can be identified for an image in which a multi-valued PDL image and a natural image are mixed, and adaptive coding can be performed. Further, by setting the reference range according to the resolution, it is possible to identify the characteristics of local line connection asymptotic to the global characteristics.

【0035】もちろん、本発明を符号化手法の切り替え
以外にも適用することができる。例えば、印刷手法の切
り替え、画像処理の切り替え等種々に適用できる。
Of course, the present invention can be applied to other than the switching of the encoding method. For example, the present invention can be applied in various ways such as switching of a printing method and switching of image processing.

【0036】つぎに実施例を参照して本発明をさらに詳
細に説明する。 [実施例1]図2、図3、図4を用いて、本発明の実施
例1を説明する。
Next, the present invention will be described in more detail with reference to examples. Embodiment 1 Embodiment 1 of the present invention will be described with reference to FIGS.

【0037】図2は、本発明の実施例1の構成図であ
る。まず、図2を用いて識別処理の概要を説明する。な
お、図2において、太線はデータ、細線は制御情報であ
ることを示す。
FIG. 2 is a configuration diagram of the first embodiment of the present invention. First, an outline of the identification processing will be described with reference to FIG. In FIG. 2, a thick line indicates data, and a thin line indicates control information.

【0038】図2において、識別処理を行うには、ま
ず、スキャナや伝送路から画像情報29を画像入力イン
タフェース2bに入力し、画素当たり8ビットの多値画
像データ210としてバッファメモリ2cに出力した
後、入力通知21を制御部2aに通知する。
In FIG. 2, in order to perform the identification processing, first, image information 29 is input to an image input interface 2b from a scanner or a transmission line, and output to a buffer memory 2c as multi-bit image data 210 of 8 bits per pixel. Thereafter, the control unit 2a is notified of the input notification 21.

【0039】制御部2aは、入力通知21を受け取ると
m画素×n画素のブロックに切り出すためのブロックア
ドレス22をバッファメモリ2cに指示する。バッファ
メモリ2cは、ブロックアドレス22に該当するブロッ
ク画像211をブロックメモリ2dに出力する。さらに
制御部2aは、ブロックメモリ2dにスキャン指示23
を送出し、さらにオイラー数計測器2eに計算指示25
を送出する。また、制御部2aは、計算指示25の送出
に先だってあらかじめブロックの画素数26をオイラー
数計測器2eに設定しておく。
When receiving the input notification 21, the control unit 2a instructs the buffer memory 2c with a block address 22 for cutting out a block of m pixels × n pixels. The buffer memory 2c outputs the block image 211 corresponding to the block address 22 to the block memory 2d. Further, the control unit 2a sends the scan instruction 23 to the block memory 2d.
Is transmitted to the Euler number measuring device 2e.
Is sent. The control unit 2a sets the number of pixels 26 of the block in the Euler number measuring device 2e in advance before sending the calculation instruction 25.

【0040】ブロックメモリ2dは、制御部2aからの
スキャン指示23により、ブロック内の画素を順次スキ
ャンして、注目画素と図3の3aに示すテンプレートで
参照される参照画素の画素データ212をオイラー数計
測器2eに出力する。ブロック内のすべての画素のスキ
ャンが終了するとブロックメモリ2dはスキャン終了通
知24を制御部2aに通知する。
The block memory 2d sequentially scans the pixels in the block according to the scan instruction 23 from the control unit 2a, and stores the pixel of interest and the pixel data 212 of the reference pixel referenced by the template shown in FIG. Output to the number measuring device 2e. When the scanning of all the pixels in the block is completed, the block memory 2d notifies the control unit 2a of the scanning end notification 24.

【0041】オイラー数計測器2eは、制御部2aから
の計算指示25により、図4に示す手順にしたがってオ
イラー数213を計測し、閾値判定器2fに出力する。
The Euler number measuring device 2e measures the Euler number 213 in accordance with the procedure shown in FIG. 4 according to the calculation instruction 25 from the control section 2a, and outputs it to the threshold value judging device 2f.

【0042】制御部2aは、スキャン終了通知24を受
け取ると、閾値判定器2fに所定の閾値28を設定し、
判定指示27を送出する。
Upon receiving the scan end notification 24, the control unit 2a sets a predetermined threshold value 28 in the threshold value judgment unit 2f,
A judgment instruction 27 is sent.

【0043】閾値判定器2fは、制御部2aからの判定
指示27により、オイラー数計測器2eによって計測さ
れたブロック画像211のオイラー数213と閾値28
を比較して、閾値以下であれば可逆符号化領域、閾値よ
り大きければ非可逆符号化領域と識別し、それぞれに割
当てられた所定の識別情報214を出力する。
The threshold value judging device 2f receives the Euler number 213 of the block image 211 measured by the Euler number measuring device 2e and the threshold value 28 according to the judgment instruction 27 from the control section 2a.
Are compared with each other, and if they are smaller than the threshold, they are identified as lossless coding areas, and if they are larger than the thresholds, they are identified as lossy coding areas, and predetermined identification information 214 assigned to each is output.

【0044】次に、図3、図4を用いて、オイラー数計
測器2eの処理を説明する。
Next, the processing of the Euler number measuring device 2e will be described with reference to FIGS.

【0045】図3は、線連結の説明図である。3aは、
注目画素とスキャン済の隣接画素の値を比較するテンプ
レート、3bと3cは、2画素×2画素が同一画素であ
る場合の線連結、3d〜3nは、線連結の数を計数する
例である。線連結のオイラー数を計算するために、3b
に示すように2画素×2画素が同一画素である場合は、
連結を表す線が交わらないようにする。例えば、3bの
線連結は、3cのように対角方向の線連結を画素36と
画素37のみとし、画素35と画素38は同一画素であ
っても線連結であるとみなさない。
FIG. 3 is an explanatory diagram of line connection. 3a is
Templates 3b and 3c for comparing the value of the pixel of interest and the value of the scanned adjacent pixel are line connections when 2 pixels × 2 pixels are the same pixel, and 3d to 3n are examples of counting the number of line connections. . To calculate the Euler number of the line connection, 3b
When 2 pixels × 2 pixels are the same pixel as shown in
Make sure that the lines representing the connections do not cross. For example, in the line connection of 3b, the line connection in the diagonal direction is limited to only the pixel 36 and the pixel 37 as in 3c, and the pixel 35 and the pixel 38 are not regarded as the line connection even if they are the same pixel.

【0046】3dに示すように3画素×3画素の参照範
囲に3つの異なる画素値がある場合には以下のようにし
て参照範囲の総連結数が求められる。まず、左上から順
にスキャンして、3e〜3mに示すように注目画素を移
動させていく。3eの場合、3aのテンプレートに含ま
れる画素がないので、連結数は0である。3fの場合、
注目画素の値がAであり、テンプレート3aに含まれる
左側隣接画素の値が同じくAであるので、“1”の値と
なり、連結数は1となる。3gの場合も同様に連結数は
1となる。3hの場合には、上と、右上の隣接画素がテ
ンプレート3aに含まれるが、注目画素の値Bと異なる
値Aをとるため、連結数は0となる。以下、同様にして
3i、3j、3k、3lおよび3mの場合の連結数が、
それぞれ、1、2、2、2および0になる。そして以上
の線連結数を参照範囲にわたって累積して沿う連結数9
をえる(3n)。
When there are three different pixel values in the reference range of 3 pixels × 3 pixels as shown in 3d, the total number of connections in the reference range is obtained as follows. First, scanning is performed sequentially from the upper left, and the target pixel is moved as shown by 3e to 3m. In the case of 3e, there is no pixel included in the template of 3a, so the number of connections is 0. In the case of 3f,
Since the value of the target pixel is A and the value of the left adjacent pixel included in the template 3a is also A, the value is “1”, and the number of connections is 1. Similarly, in the case of 3 g, the number of links is one. In the case of 3h, the upper and upper right neighboring pixels are included in the template 3a. However, since the value A is different from the value B of the target pixel, the number of connections is 0. Hereinafter, similarly, the number of connections in the case of 3i, 3j, 3k, 31 and 3m is as follows:
They are 1, 2, 2, 2, and 0, respectively. Then, the above number of line connections is accumulated over the reference range and the number of connections along the line is 9
(3n).

【0047】図4は、m画素×n画素のブロック画像に
ついて、線連結のオイラー数を計数するフローチャート
である。フローチャート中の枝数とは線連結の数を示
す。
FIG. 4 is a flowchart for counting the number of line-connected Eulers for a block image of m pixels × n pixels. The number of branches in the flowchart indicates the number of line connections.

【0048】オイラー数計測器2eは、線連結のオイラ
ー数を計算する。図4において、m画素×n画素のブロ
ック画像の各画素を、第0行から第(m−1)行まで各
行毎に第0列から第(n−1)列までスキャンする。ま
ず、ステップ4aで初期化を行い、ステップ4e、4
s、4tで行番号を0から(m−1)までインクリメン
トする。またステップ4c、4dで第0行目の列番号を
0から(n−1)までインクリメントし、ステップ4e
で0にリセットする。そしてステップ4q、4rで第1
行目から台(m−1)行目の列番号を同じく0から(n
−1)までインクリメントし、ステップ4uで列番号を
0にリセットする。こうして画素のスキャンを行う。
The Euler number measuring device 2e calculates the Euler number of the line connection. In FIG. 4, each pixel of the block image of m pixels × n pixels is scanned from the 0th column to the (n−1) th column for each row from the 0th row to the (m−1) th row. First, initialization is performed in step 4a,
At s and 4t, the line number is incremented from 0 to (m-1). Also, in steps 4c and 4d, the column number of the 0th row is incremented from 0 to (n-1), and in step 4e
Reset to 0 with. Then, in steps 4q and 4r, the first
Similarly, the column numbers in the (m-1) th row from the row are set to 0 to (n
-1), and the column number is reset to 0 in step 4u. Thus, scanning of the pixel is performed.

【0049】さて、第0行については、注目画素と注目
画素の左にある画素の値を比較し、同一の値であれば枝
数に1を加算する(ステップ4b)。第1行から第(n
−1)行までは、第0列については、注目画素と注目画
素の上にある画素の値、及び、注目画素の右上にある画
素の値を比較し、同一の値であればそれぞれ枝数に1を
加算する(ステップ4f、4g、4h、4i)。第1列
から第(n−2)列までは、注目画素と注目画素の左に
ある画素の値、注目画素の左上にある画素の値、注目画
素の上にある画素の値、及び、注目画素の右上にある画
素の値をそれぞれ比較して、同一の値であればそれぞれ
枝数に1を加算する(ステップ4f、4g、4j、4
k、4l、4m)。第(n−1)列については、注目画
素と注目画素の左にある画素の値、注目画素の左上にあ
る画素の値、及び、注目画素の上にある画素の値をそれ
ぞれ比較して、同一の値であればそれぞれ枝数に1を加
算する(ステップ4f、4g、4n、4o、4p)。た
だし、図3の3bに示すように、注目画素の左にある画
素の値と注目画素の上にある画素の値が等しい場合は、
注目画素と注目画素の左上にある画素の値が同一値であ
ったとしても、枝数には加算しない。ブロック内のすべ
ての画素のスキャンが終了すると、制御部2aから設定
された画素数からブロック内の枝数を減算して線連結の
オイラー数を求める。
For the 0th row, the value of the target pixel and the value of the pixel to the left of the target pixel are compared, and if the values are the same, 1 is added to the number of branches (step 4b). From the first row to the (n
In the 0th column up to the -1) row, the value of the pixel of interest and the value of the pixel above the pixel of interest and the value of the pixel on the upper right of the pixel of interest are compared. (Steps 4f, 4g, 4h, 4i). From the first column to the (n−2) th column, the value of the target pixel and the pixel to the left of the target pixel, the value of the pixel at the upper left of the target pixel, the value of the pixel above the target pixel, and the target The values of the pixels at the upper right of the pixels are compared, and if they are the same value, 1 is added to the number of branches (steps 4f, 4g, 4j, 4j).
k, 41, 4m). For the (n-1) th column, the value of the pixel of interest and the pixel to the left of the pixel of interest, the value of the pixel at the upper left of the pixel of interest, and the value of the pixel above the pixel of interest are each compared. If they are the same value, 1 is added to the number of branches (steps 4f, 4g, 4n, 4o, 4p). However, as shown in 3b of FIG. 3, when the value of the pixel on the left of the target pixel is equal to the value of the pixel on the target pixel,
Even if the value of the target pixel and the value of the pixel at the upper left of the target pixel are the same, they are not added to the number of branches. When the scanning of all the pixels in the block is completed, the number of lines in the block is subtracted from the number of pixels set by the control unit 2a to obtain the Euler number of line connection.

【0050】[実施例2]つぎに本発明の実施例2につ
いて図5を参照して説明する。実施例2は、本発明の画
像識別装置を画像符号化装置に適用したものである。な
お、図5において図1と対応する箇所には対応する符号
を付して詳細な説明を省略する。
Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIG. In the second embodiment, the image identification device of the present invention is applied to an image encoding device. In FIG. 5, portions corresponding to those in FIG. 1 are denoted by corresponding reference numerals, and detailed description thereof is omitted.

【0051】図5において、まず、PDL画像と自然画
像が混在する多値画像データ11が線連結計数手段1a
に、解像度情報14が参照範囲制御手段1cにそれぞれ
入力される。参照範囲制御手段1cは、解像度情報14
に応じて線連結の数を判定する参照範囲を決定し、参照
範囲15として線連結計数手段1aに出力する。線連結
計数手段1aは、参照範囲15に対応する多値画像デー
タ11の各画素をスキャンし、注目画素とスキャン済み
の隣接画素の値を比較し、同一値であれば“1”、異な
れば“0”に2値化して、注目画素毎に線連結の数12
を画像識別手段1bに出力する。画像識別手段1bは、
線連結計数手段1aから出力される線連結の数12を入
力し、参照範囲15における線連結の総数を計算して、
所定の閾値との比較により可逆符号化領域を判定し、判
定結果である識別情報13を符号化手段1dに出力す
る。符号化手段1dは、識別情報13に応じて、PDL
画像を効率良く圧縮する符号化方式、および、自然画像
を効率良く圧縮する符号化方式を選択し、選択された符
号化方式で多値画像データ11を符号化して、符号化デ
ータ16を出力する。図5の実施例では、PDL画像と
自然画像が混在する多値画像を、局所的な参照範囲15
の線連結の数12によりPDL画像/自然画像のいずれ
であるかを識別し、識別情報13に応じて符号化方式を
切り替えて符号化しているので、PDL画像と自然画像
が混在する多値画像を効率良く符号化できる。
In FIG. 5, first, the multi-valued image data 11 in which the PDL image and the natural image are mixed is determined by the line connection counting means 1a.
The resolution information 14 is input to the reference range control unit 1c. The reference range control unit 1c outputs the resolution information 14
, A reference range for determining the number of line connections is determined, and is output to the line connection counting means 1a as a reference range 15. The line connection counting unit 1a scans each pixel of the multi-valued image data 11 corresponding to the reference range 15, compares the value of the pixel of interest with the value of the scanned adjacent pixel, and if the value is the same, "1"; It is binarized to “0” and the number of line connections is 12 for each pixel of interest.
Is output to the image identification means 1b. Image identification means 1b
The number 12 of line connections output from the line connection counting means 1a is input, and the total number of line connections in the reference range 15 is calculated.
The lossless coding area is determined by comparison with a predetermined threshold value, and the identification information 13 as the determination result is output to the coding unit 1d. The encoding unit 1d performs PDL according to the identification information 13.
An encoding method for efficiently compressing an image and an encoding method for efficiently compressing a natural image are selected, the multi-valued image data 11 is encoded using the selected encoding method, and encoded data 16 is output. . In the embodiment of FIG. 5, a multi-valued image in which a PDL image and a natural image are mixed is referred to as a local reference range 15.
Is identified as the PDL image or the natural image according to the line connection number 12 of FIG. 1, and the encoding method is switched according to the identification information 13 to perform encoding. Therefore, the multi-valued image in which the PDL image and the natural image are mixed Can be efficiently encoded.

【0052】なお、本発明は上述実施例に限定されるも
のではなく、種々変更が可能である。例えば、線連結計
数手段1aにおいて、同一画素値の領域数を求めて画像
の特性の判別を行うようにしてもよい。
It should be noted that the present invention is not limited to the above-described embodiment, but can be variously modified. For example, the line connection counting means 1a may determine the number of regions having the same pixel value and determine the characteristics of the image.

【0053】[0053]

【発明の効果】本発明の効果は以下のとおりである。 1.各画素値について同一画素が連続する領域を識別し
て、階調情報の変化の特性を識別するため、多値のPD
L画像と自然画像が混在する画像の可逆符号化領域を識
別できる。 2.所定の範囲で線連結の総和をとるため、同一画素が
連続する方向に関係なく可逆符号化領域を識別できる。 3.線連結の数を判定する参照範囲を解像度に応じて決
定することにより、大域的特性に漸近した局所的な線連
結の特性を識別できる。
The effects of the present invention are as follows. 1. A multi-valued PD is used to identify a region where the same pixel continues for each pixel value and identify the characteristics of the change in gradation information.
It is possible to identify a lossless encoded area of an image in which an L image and a natural image are mixed. 2. Since the sum of the line connections is calculated within a predetermined range, the lossless coding area can be identified regardless of the direction in which the same pixels are continuous. 3. By determining the reference range for determining the number of line connections according to the resolution, it is possible to identify the characteristics of the local line connections asymptotic to the global characteristics.

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

【図1】 本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】 本発明の実施例1の構成を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図3】 本発明の実施例1における線連結を説明する
図である。
FIG. 3 is a diagram illustrating line connection in the first embodiment of the present invention.

【図4】 本発明の実施例1における線連結のオイラー
数の計算を説明するフローチャートである。
FIG. 4 is a flowchart illustrating the calculation of the Euler number of line connection in Embodiment 1 of the present invention.

【図5】 本発明の実施例2の構成を示すブロック図で
ある。
FIG. 5 is a block diagram illustrating a configuration of a second exemplary embodiment of the present invention.

【図6】 網点領域を分離する従来例の構成を示すブロ
ック図である。
FIG. 6 is a block diagram showing a configuration of a conventional example for separating a halftone dot region.

【図7】 網点領域を分離する従来例の領域数を説明す
る図である。
FIG. 7 is a diagram illustrating the number of regions in a conventional example for separating a halftone dot region.

【図8】 PDL画像と自然画像を識別できない例を説
明する図である。
FIG. 8 is a diagram illustrating an example in which a PDL image cannot be distinguished from a natural image.

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

1a 連結数計数手段 1b 画像識別手段 1c 参照範囲制御手段 1d 符号化手段 11 多値画像データ 12 多値領域の線連結の数 13 識別情報 14 解像度情報 15 参照範囲 16 符号データ 2a 制御部 2b 画像入力インタフェース 2c バッファメモリ 2d ブロックメモリ 2e オイラー数計測器 2f 閾値判定器 21 入力通知 22 ブロックアドレス 23 スキャン指示 24 スキャン終了通知 25 計算指示 26 ブロック画素数 27 判定指示 28 画像情報 29 多値画像データ 210 ブロック画像 211 画素データ 212 オイラー数 213 識別情報 3a 隣接画素値比較テンプレート 3b 2画素×2画素の同一画素 3c 2画素×2画素が同一画素である場合の線連結 3d〜3n 線連結の数を計数する例 31〜34 隣接画素値比較テンプレートの比較画素
位置 35〜38 同一値の画素 4a〜4v 線連結のオイラー数を計算する処理 5a バッファメモリ 5b 動的3値化 5c 領域数計測 5d 塊大きさの補正 5e 周辺画素による補正 5f 縁部補正 51 画像情報 52 濃度データ 53 3値化データ 54 仮網点候補 55 仮網点 56 網点候補 57 網点領域の画素 58 非網点領域の画素 59 写真領域の画素 6a 領域数計測の例 6b 領域数計測におけるブロック周辺マスクの例 6c〜6f 領域数を計算する連結の要素 7a PDL画像と自然画像が混在する画像の例 7b 同一画素が連続するPDL画像の画素値 7c 画素値の変化する自然画像の画素値 71 PDL画像の領域 72 自然画像の領域
1a Connection number counting means 1b Image identification means 1c Reference range control means 1d Encoding means 11 Multi-valued image data 12 Number of line connections in multi-value area 13 Identification information 14 Resolution information 15 Reference range 16 Code data 2a Control unit 2b Image input Interface 2c Buffer memory 2d Block memory 2e Euler number measuring device 2f Threshold judgment unit 21 Input notification 22 Block address 23 Scan instruction 24 Scan end notification 25 Calculation instruction 26 Block pixel count 27 Judgment instruction 28 Image information 29 Multi-valued image data 210 Block image 211 Pixel data 212 Euler number 213 Identification information 3a Adjacent pixel value comparison template 3b Same pixel of 2 × 2 pixels 3c Line connection when 2 × 2 pixels are the same pixel Example of counting the number of line connections 3d to 3n 31-34 adjacent Comparison pixel position of prime value comparison template 35-38 Pixels of the same value 4a-4v Processing for calculating Euler number of line connection 5a Buffer memory 5b Dynamic ternarization 5c Number of areas measurement 5d Lump size correction 5e By peripheral pixels Correction 5f Edge correction 51 Image information 52 Density data 53 Ternary data 54 Temporary halftone dot candidate 55 Temporary halftone dot 56 Halftone dot candidate 57 Pixel in halftone area 58 Pixel in non-halftone area 59 Pixel in photo area 6a Number of areas Example of measurement 6b Example of block peripheral mask in area number measurement 6c to 6f Connected element for calculating the number of areas 7a Example of image in which PDL image and natural image are mixed 7b Pixel value of PDL image in which identical pixels continue 7c Pixel value Of the natural image in which the image changes 71 Area of the PDL image 72 Area of the natural image

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力された多値画像データの各画素をス
キャンし、注目画素の値とスキャン済みの隣接画素の値
とを比較し、同一値の画素どうしを結ぶ線連結の数を出
力する線連結計数手段と、 上記線連結計数手段から出力される線連結の数を入力
し、所定の参照範囲内の画素に関する線連結の総数を計
算し、上記線連結の総数を所定の閾値と比較し、この比
較の結果に基づいて上記多値画像データの領域ごとの特
性を識別する画像識別手段とを有することを特徴とする
画像識別装置。
1. Scanning each pixel of input multi-valued image data, comparing the value of a pixel of interest with the value of a scanned adjacent pixel, and outputting the number of line connections connecting pixels of the same value. Line connection counting means, and the number of line connections output from the line connection counting means are input, the total number of line connections for pixels within a predetermined reference range is calculated, and the total number of line connections is compared with a predetermined threshold. And an image identifying means for identifying a characteristic of each area of the multi-valued image data based on a result of the comparison.
【請求項2】 上記画像識別手段は、上記比較の結果に
基づいて上記多値画像の領域の各々が可逆符号化領域が
どうかを判別する請求項1記載の画像符号化装置。
2. The image encoding apparatus according to claim 1, wherein the image identification unit determines whether each of the areas of the multi-valued image is a lossless encoding area based on a result of the comparison.
【請求項3】 上記多値画像データの解像度情報に基づ
いて、上記線連結の数を判定する参照範囲を設定する請
求項1または2記載の画像識別装置。
3. The image identification device according to claim 1, wherein a reference range for determining the number of line connections is set based on resolution information of the multi-valued image data.
【請求項4】 入力された多値画像データの画素の各々
について、当該画素の値と、所定の方向の隣接画素の値
とを比較し、同一値の画素どうしを結ぶ線連結の数を出
力する線連結計数手段と、 上記線連結計数手段から出力される線連結の数を入力
し、所定の参照範囲内の画素に関する線連結の総数を計
算し、上記線連結の総数を所定の閾値と比較し、この比
較の結果に基づいて上記多値画像データの領域ごとの特
性を識別する画像識別手段とを有することを特徴とする
画像識別装置。
4. For each pixel of the input multi-valued image data, the value of the pixel is compared with the value of an adjacent pixel in a predetermined direction, and the number of line connections connecting pixels of the same value is output. Line connection counting means, and the number of line connections output from the line connection counting means is input, the total number of line connections for pixels within a predetermined reference range is calculated, and the total number of line connections is a predetermined threshold An image identification unit that performs comparison and identifies characteristics of each area of the multi-valued image data based on a result of the comparison.
【請求項5】 入力された多値画像データについて、当
該画素の値と、同一値の画素どうしで形成される領域を
検出する手段と、 所定の参照範囲内の上記領域の総数を計算し、上記総数
に基づいて上記多値画像データの領域ごとの特性を識別
する画像識別手段とを有することを特徴とする画像識別
装置。
5. A means for detecting an area formed by pixels having the same value as the value of the input multi-valued image data, and calculating a total number of the areas within a predetermined reference range; An image identification unit that identifies characteristics of each area of the multi-valued image data based on the total number.
【請求項6】 入力された多値画像データの画素の各々
について、当該画素の値と、所定の方向の隣接画素の値
とを比較し、同一値の画素どうしを結ぶ線連結の数を出
力する線連結計数手段と、 上記線連結計数手段から出力される線連結の数を入力
し、所定の参照範囲内の画素に関する線連結の総数を計
算し、上記線連結の総数を所定の閾値と比較し、この比
較の結果に基づいて上記多値画像の領域の各々が可逆符
号化領域がどうかを判別する手段と、 上記判別結果に基づいて実行される可逆符号化手段とを
有することを特徴とする多値画像符号化装置。
6. For each pixel of the input multi-valued image data, the value of the pixel is compared with the value of an adjacent pixel in a predetermined direction, and the number of line connections connecting pixels of the same value is output. Line connection counting means, and the number of line connections output from the line connection counting means is input, the total number of line connections for pixels within a predetermined reference range is calculated, and the total number of line connections is a predetermined threshold Comparing means for determining whether each of the areas of the multi-valued image is a lossless coding area based on the result of the comparison; and lossless coding means executed based on the determination result. Multi-valued image coding apparatus.
JP17335197A 1997-06-30 1997-06-30 Image identification device Expired - Fee Related JP3791129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17335197A JP3791129B2 (en) 1997-06-30 1997-06-30 Image identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17335197A JP3791129B2 (en) 1997-06-30 1997-06-30 Image identification device

Publications (2)

Publication Number Publication Date
JPH1125272A true JPH1125272A (en) 1999-01-29
JP3791129B2 JP3791129B2 (en) 2006-06-28

Family

ID=15958814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17335197A Expired - Fee Related JP3791129B2 (en) 1997-06-30 1997-06-30 Image identification device

Country Status (1)

Country Link
JP (1) JP3791129B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116674134A (en) * 2023-08-03 2023-09-01 绵阳华远同创科技有限公司 Automatic casting processing method and system for resin words

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116674134A (en) * 2023-08-03 2023-09-01 绵阳华远同创科技有限公司 Automatic casting processing method and system for resin words
CN116674134B (en) * 2023-08-03 2023-10-20 绵阳华远同创科技有限公司 Automatic casting processing method and system for resin words

Also Published As

Publication number Publication date
JP3791129B2 (en) 2006-06-28

Similar Documents

Publication Publication Date Title
US4668995A (en) System for reproducing mixed images
US5491564A (en) Data compression method and apparatus for binary image using Markov model encoding
JPS59223073A (en) Picture processor
US5271072A (en) Image reduction of binary images using filtering processing
US6744532B1 (en) Method for enhancing printing quality
JP2007306513A (en) Method and device for image data compression
JP2756371B2 (en) Image processing device
JP3791129B2 (en) Image identification device
JPS62107573A (en) Image processor
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPH0775395B2 (en) Image processing device
JP2941288B2 (en) Image processing system
JPH082083B2 (en) Multi-level image block coding device
JPS60136478A (en) Picture processor
JP2778669B2 (en) Halftone area detection method
JPH06296235A (en) Facsimile equipment
JPH06150059A (en) Image area separator
JPH08298589A (en) Image processor of photograph/document mixed image
KR0159418B1 (en) Apparatus for improving the transmission picture quality in the facsimile system and method thereof
JP3226580B2 (en) Image processing device
KR930003482B1 (en) Simple identification method of mixed video and text documents
JPH0787315A (en) Image resolution adaptive controller
JP4469511B2 (en) Image processing method
JPH07143338A (en) Image thresholding device
Jiang et al. Classification and compression of digital newspaper images

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051226

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: 20060314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060327

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees