JP2017147485A - Image processing device and region determination method - Google Patents

Image processing device and region determination method Download PDF

Info

Publication number
JP2017147485A
JP2017147485A JP2016025484A JP2016025484A JP2017147485A JP 2017147485 A JP2017147485 A JP 2017147485A JP 2016025484 A JP2016025484 A JP 2016025484A JP 2016025484 A JP2016025484 A JP 2016025484A JP 2017147485 A JP2017147485 A JP 2017147485A
Authority
JP
Japan
Prior art keywords
image
original image
binarized
line pair
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016025484A
Other languages
Japanese (ja)
Inventor
山口 智広
Tomohiro Yamaguchi
智広 山口
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2016025484A priority Critical patent/JP2017147485A/en
Publication of JP2017147485A publication Critical patent/JP2017147485A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To discriminate a line pair region having a line pair pattern representing a half tone more surely from the prior art.SOLUTION: An image processing device 5 includes resolution converting means 521 for reducing an original image D2 which is an image read from a document to generate a reduced image D2s, binarizing means 522 for binarizing the original image and the reduced image, respectively, counting means for counting variation points having different pixel values between adjacent pixels in a pixel matrix for each of the binarized original image and reduced image, and discrimination means 524 for discriminating the pixel matrix in the original image as a line pair region when the count value M1 of the variation point of the original image is not less than a first threshold value th1 or when a resolution error which is the difference between the count value M1 of the variation point of the original image and the count value M2 of the variation point of the reduced image is not less than a second threshold value th2.SELECTED DRAWING: Figure 2

Description

本発明は、画像処理装置および領域判別方法に関する。   The present invention relates to an image processing apparatus and a region discrimination method.

複写機およびMFP(Multi-functional Peripheral :多機能機または複合機)などの画像形成装置は、出力画像の品質を高めるために、入力画像を例えば文字領域と中間調領域とに区分して領域ごとにその領域に適した画像処理を実施する。このため、入力画像が原稿から読み取られた画像である場合には、入力画像の各部がどのような領域であるかを入力画像の画像データに基づいて判別する領域判別が行われている。   Image forming apparatuses such as copiers and MFPs (Multi-functional Peripherals) divide input images into, for example, character areas and halftone areas in order to improve the quality of output images. Then, image processing suitable for the area is performed. For this reason, when the input image is an image read from a document, area determination is performed to determine what area each part of the input image is based on the image data of the input image.

原稿の画像のうちの網点スクリーンを用いて印刷された中間調領域を判別するための先行技術として、特許文献1に記載の技術がある。特許文献1には、互いに直交する2方向のラインスクリーンパターン(線状のスクリーンパターン)の数の差に基づいて、原稿の画像にラインペアパターンが含まれるか否かを判別することが開示されている。ラインペアパターンは、ラインスクリーンパターンが規則的に並んで構成されるパターンである。   As a prior art for discriminating a halftone area printed using a halftone screen in an image of a document, there is a technique described in Patent Document 1. Japanese Patent Application Laid-Open No. 2004-133830 discloses determining whether a line pair pattern is included in an image of a document based on a difference in the number of line screen patterns (linear screen patterns) in two directions orthogonal to each other. ing. The line pair pattern is a pattern in which line screen patterns are regularly arranged.

また、特許文献2には、解像度変換に適した領域であるかを否かを判別するために、タイル単位に入力した画像データの解像度をそれよりも低い解像度に変換し、解像度変換の前後の画像データの差を算出することが記載されている。   In Patent Document 2, in order to determine whether or not the area is suitable for resolution conversion, the resolution of the image data input in units of tiles is converted to a lower resolution, and before and after the resolution conversion. It describes that the difference between image data is calculated.

一方、電子写真法によって画像を形成するための先行技術として、特許文献3に記載の技術がある。特許文献2には、黒ラインの数をカウントし、カウント値が所定値よりも大きいかどうかによって、黒ラインが黒地エリアにあるか否かを判定することが記載されている。   On the other hand, there is a technique described in Patent Document 3 as a prior art for forming an image by electrophotography. Patent Document 2 describes that the number of black lines is counted, and whether or not the black lines are in a black background area is determined depending on whether the count value is larger than a predetermined value.

特開2009−232444号公報JP 2009-232444 A 特開2008−042686号公報JP 2008-042686 A 特開2014−099767号公報JP 2014-099767 A

印刷技術の向上に伴って網点スクリーンの高線数化が進んでおり、印刷物に現れるラインペアパターンが高精細になってきている。このため、特許文献1に開示された従来の技術では、ラインペア領域を正しく判別することが困難になってきた。   With the improvement of printing technology, the number of lines on the halftone screen has been increased, and the line pair pattern appearing on the printed matter has become high definition. For this reason, it has been difficult for the conventional technique disclosed in Patent Document 1 to correctly determine the line pair region.

例えば、600dpiの細かさで画像を読み取ることが可能なスキャナが解像することのできる1インチ当たりのラインペアの数としては、理論的には300(ナイキスト周波数)が限界となっている。1インチ当たり300以上のライン状のパターンが並ぶラインペア領域を読み取ると、読み取った画像におけるラインピッチ(ラインパターンの配列の周期)が原稿の画像のラインピッチよりも大きくなってしまう。つまり、ラインペアパターンが実際よりも粗く読み取られるという、「偽解像」と呼ばれる現象が生じる。読み取りを高速化するために、読取りの細かさを600dpiから例えば300dpiに落とすと、ナイキスト周波数は150になり、さらに粗く読み取ることになる。   For example, theoretically, 300 (Nyquist frequency) is the limit as the number of line pairs per inch that can be resolved by a scanner capable of reading an image with a resolution of 600 dpi. When a line pair region in which 300 or more line patterns per inch are arranged is read, the line pitch in the read image (line pattern array cycle) becomes larger than the line pitch of the document image. That is, a phenomenon called “false resolution” occurs in which the line pair pattern is read more coarsely than it actually is. If the fineness of reading is reduced from 600 dpi to, for example, 300 dpi in order to increase the reading speed, the Nyquist frequency becomes 150, and the reading is performed more coarsely.

偽解像が生じた場合には、読取り画像におけるラインペアパターンの数が実際の数(原稿における数)よりも少なくなる。このため、ラインペア領域と判別するべきでない領域(例えば平行な線分を有した小サイズの文字を含む領域など)と、ラインペア領域と判別するべき領域とを、ラインペアの数の大小によって区別することができない、という問題が生じてきた。   When false resolution occurs, the number of line pair patterns in the read image is smaller than the actual number (the number in the document). For this reason, an area that should not be determined as a line pair area (for example, an area that includes small-sized characters having parallel line segments) and an area that should be determined as a line pair area are determined depending on the number of line pairs. The problem of being indistinguishable has arisen.

特許文献2、3の技術は、ラインペア領域を判別するためのものではないので、この問題を解決することができない。   Since the techniques of Patent Documents 2 and 3 are not for discriminating the line pair region, this problem cannot be solved.

本発明は、上述の問題に鑑みてなされたもので、中間調を表わすラインペアパターンを有したラインペア領域を従来よりも確実に判別することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to more reliably discriminate a line pair region having a line pair pattern representing a halftone than in the past.

本発明の実施形態に係る画像処理装置は、原稿から読み取られた画像を処理する画像処理装置であって、前記画像である元画像を縮小して縮小画像を生成する解像度変換手段と、前記元画像および前記縮小画像をそれぞれ2値化する2値化手段と、2値化された前記元画像および2値化された前記縮小画像のそれぞれについて、所定サイズの画素マトリクス内の隣接する画素間で画素値が異なる変化点をカウントするカウント手段と、2値化された前記元画像の前記変化点のカウント値が第1しきい値以上であるか、または2値化された前記元画像の前記変化点のカウント値と2値化された前記縮小画像の前記変化点のカウント値との差である解像誤差が第2しきい値以上である場合に、前記元画像における前記画素マトリクスを、複数のライン状のパターンが並ぶラインペア領域と判別する判別手段と、を有する。   An image processing apparatus according to an embodiment of the present invention is an image processing apparatus that processes an image read from a document, and includes a resolution conversion unit that reduces the original image that is the image to generate a reduced image, and the original A binarization unit that binarizes each of the image and the reduced image, and each of the binarized original image and the binarized reduced image between adjacent pixels in a pixel matrix of a predetermined size. Counting means for counting change points having different pixel values, and a count value of the change point of the binarized original image is equal to or greater than a first threshold value or the binarized original image When the resolution error that is the difference between the count value of the change point and the count value of the change point of the binarized reduced image is greater than or equal to a second threshold value, the pixel matrix in the original image is Multiple la Has a determination means for determining a line pair region where down-like pattern arranged, the.

本発明によると、中間調を表わすラインペアパターンを有したラインペア領域を従来よりも確実に判別することができる。   According to the present invention, it is possible to more reliably discriminate a line pair region having a line pair pattern representing a halftone than in the prior art.

本発明の一実施形態に係る画像処理装置を備えた画像形成装置のハードウェア構成の概要を示す図である。1 is a diagram illustrating an outline of a hardware configuration of an image forming apparatus including an image processing apparatus according to an embodiment of the present invention. 画像処理装置の機能的構成の例を示す図である。It is a figure which shows the example of a functional structure of an image processing apparatus. 原稿から読み取られた読取り画像の例を示す図である。It is a figure which shows the example of the read image read from the original. ライン周期の異なる複数のラインペアパターンとそれらを読取り解像度を切り替えて読み取ったパターンと示す図である。It is a figure which shows the several line pair pattern from which a line period differs, and the pattern which read them by switching reading resolution. 複数の読取り解像度について原稿画像におけるライン周期と読取り画像におけるラインペア数との関係を示すグラフである。It is a graph which shows the relationship between the line period in a manuscript image, and the number of line pairs in a reading image about several reading resolution. 複数の読取り解像度について原稿画像におけるライン周期の複数の値のそれぞれに対応する読取り画像におけるラインペア数を表形式によって示す図である。It is a figure which shows the number of line pairs in the read image corresponding to each of the several value of the line period in a document image by a table format about several reading resolution. 解像度変換の縮小率、第1しきい値、および第2しきい値を設定するためのテーブルの例を示す図である。It is a figure which shows the example of the table for setting the reduction rate of resolution conversion, a 1st threshold value, and a 2nd threshold value. 2値化画像における変化点のカウントの方向の例およびカウントに用いるフィルタの例を示す図である。It is a figure which shows the example of the direction of the count of the change point in a binarized image, and the example of the filter used for a count. ラインペア領域判別処理の流れを示す図である。It is a figure which shows the flow of a line pair area | region discrimination | determination process.

図1には本発明の一実施形態に係る画像処理装置5を備えた画像形成装置1のハードウェア構成の概要が、図2には画像処理装置5の機能的構成の例が、図3には原稿7から読み取られた読取り画像8の例が、それぞれ示されている。   FIG. 1 shows an outline of a hardware configuration of an image forming apparatus 1 including an image processing apparatus 5 according to an embodiment of the present invention, FIG. 2 shows an example of a functional configuration of the image processing apparatus 5, and FIG. Each shows an example of a read image 8 read from the document 7.

図1〜図3において、画像形成装置1は、コピー機、プリンタ、およびファクシミリ機などの機能を集約したMFPである。画像処理装置1は、画像読取り部2、画像処理装置5、およびプリンタ部6を備えている。   1 to 3, the image forming apparatus 1 is an MFP in which functions such as a copier, a printer, and a facsimile machine are integrated. The image processing apparatus 1 includes an image reading unit 2, an image processing device 5, and a printer unit 6.

画像読取り部2は、自動原稿送り装置(ADF:Auto Document Feeder)3とスキャナ4とを有している。自動原稿送り装置3は、給紙トレイにセットされた1枚または複数枚のシート状の原稿7を排紙トレイへ搬送し、搬送中に原稿7から原稿画像を画素に細分化して読み取る。スキャナ4は、プラテンガラスの上に置かれた原稿7から原稿画像を読み取る。自動原稿送り装置3およびスキャナ4は、読み取った画像(読取り画像)8の各画素の階調値を表わす画像データD1を画像処理装置5へ出力する。   The image reading unit 2 includes an automatic document feeder (ADF) 3 and a scanner 4. The automatic document feeder 3 conveys one or a plurality of sheet-like documents 7 set on a paper feed tray to a paper discharge tray, and reads a document image from the document 7 into pixels while reading. The scanner 4 reads a document image from a document 7 placed on a platen glass. The automatic document feeder 3 and the scanner 4 output image data D1 representing the gradation value of each pixel of the read image (read image) 8 to the image processing device 5.

画像読取り部2は、通常モードにおいて、600dpiの読取り解像度で原稿画像を読み取る。通常モードに代えて高速モードが選択されると、読取り解像度を600dpiよりも小さい500dpi以下の値に切り換えて読取りを行う。   The image reading unit 2 reads a document image at a reading resolution of 600 dpi in the normal mode. When the high-speed mode is selected instead of the normal mode, reading is performed by switching the reading resolution to a value of 500 dpi or less, which is smaller than 600 dpi.

画像処理装置5は、画像データD1に基づいて、原稿画像に対応した画像をプリンタ部6によって印刷するための印字データD4を生成する。その際に、画像処理装置5は、後述するラインペア領域判別処理を含む種々の画像処理を行う。   Based on the image data D1, the image processing apparatus 5 generates print data D4 for printing an image corresponding to the original image by the printer unit 6. At that time, the image processing apparatus 5 performs various image processes including a line pair area discrimination process described later.

プリンタ部6は、画像処理装置5から入力された印字データD4に基づいて用紙に画像を印刷する画像形成部である。プリンタ部6は、例えば電子写真法によってフルカラーまたはモノクロの印刷画像を形成するプリンタエンジン、およびプリンタエンジンに用紙を供給する給紙部を備えている。   The printer unit 6 is an image forming unit that prints an image on a sheet based on the print data D4 input from the image processing device 5. The printer unit 6 includes a printer engine that forms a full-color or monochrome print image by, for example, electrophotography, and a paper feed unit that supplies paper to the printer engine.

図2に示すように、画像処理装置5は、画像データ調整部51、ラインペア領域判別部52、他の領域判別部53、階調変換部54、および印字データ生成部55などから構成される。   As shown in FIG. 2, the image processing apparatus 5 includes an image data adjustment unit 51, a line pair region determination unit 52, another region determination unit 53, a gradation conversion unit 54, a print data generation unit 55, and the like. .

画像処理装置5の各構成要素は、CPU(Central Processing Unit )、メモリ、その他の回路素子などのハードウェア構成により、および所定のプログラムがCPUによって実行されることにより実現される。画像処理装置5の全体または一部が、マイクロコンピュータまたはASIC(Application Specific Integrated Circuit)などとして集積化されて用いられることがある。   Each component of the image processing device 5 is realized by a hardware configuration such as a CPU (Central Processing Unit), a memory, and other circuit elements, and by a predetermined program being executed by the CPU. The whole or part of the image processing apparatus 5 may be integrated and used as a microcomputer or an application specific integrated circuit (ASIC).

画像データ調整部51は、画像データD1に対して、下地レベル(下地の信号レベル)を減算する下地飛ばし処理、およびRGB系の画像データD1をYMCK系の画像データD2に変換する表色系変換処理などを施す。   The image data adjustment unit 51 performs background removal processing for subtracting the background level (background signal level) from the image data D1, and color system conversion for converting the RGB image data D1 into YMCK image data D2. Apply processing.

ラインペア領域判別部52は、読取り画像8の中のラインペア領域を判別する。ラインペア領域は、図3(c)に示す領域823のように、ラインパターン(ライン状のパターン)31が規則的に並ぶことによって、1本のラインパターン31とそれに隣接する線状のライン間部(下地部)とからなるラインペア(lp)30が繰り返し現れ、かつ繰り返しの周期(ライン周期H)が設定値以下である領域と定義される。   The line pair area determination unit 52 determines a line pair area in the read image 8. A line pair area is formed by regularly arranging line patterns (line-shaped patterns) 31 as in an area 823 shown in FIG. A line pair (lp) 30 composed of a portion (base portion) appears repeatedly, and is defined as a region where the repetition period (line period H) is equal to or less than a set value.

ラインペア領域判別部52は、解像度変換部521、2値化部522、カウント部523、および判別部524を有する。これら各部の機能については後で説明する。   The line pair region determination unit 52 includes a resolution conversion unit 521, a binarization unit 522, a count unit 523, and a determination unit 524. The functions of these units will be described later.

他の領域判別部53は、読取り画像8の中の文字を表わす文字領域の判別、および孤立点が規則的に並ぶ網点領域の判別などを行う。   The other region discriminating unit 53 discriminates a character region representing a character in the read image 8 and a halftone dot region in which isolated points are regularly arranged.

階調変換部54は、ラインペア領域判別部52および他の領域判別部53の判別結果に基づいて、画像データD2に対してエッジ強調処理やスムージング処理などを行い、処理後の画像データD3を印字データ生成部55へ送る。エッジ強調処理は、視認性を向上するために文字のエッジを強調する処理であり、スムージング処理は、隣接する画素間の明度(濃度)の変化が滑らかになるように、中間調領域の画素の明度値または濃度値を設定する処理である。このスムージング処理によって印刷画像におけるモアレの発生が防止される。スムージング処理を施す中間調領域として、ラインペア領域と網点領域とがある。   The gradation conversion unit 54 performs edge enhancement processing, smoothing processing, and the like on the image data D2 based on the determination results of the line pair region determination unit 52 and the other region determination unit 53, and outputs the processed image data D3. The data is sent to the print data generation unit 55. The edge emphasis process is a process that emphasizes the edge of a character in order to improve visibility, and the smoothing process is performed on pixels in a halftone area so that a change in lightness (density) between adjacent pixels becomes smooth. This is a process for setting a lightness value or a density value. This smoothing process prevents moiré in the printed image. There are a line pair area and a halftone area as halftone areas to which smoothing processing is applied.

印字データ生成部55は、多値の画像データD3に対してスクリーン処理または誤差拡散処理を行うことによって、例えば2値の印字データD4を生成する。   The print data generation unit 55 generates, for example, binary print data D4 by performing screen processing or error diffusion processing on the multi-value image data D3.

図3(A)において、読取り画像8は、中間調領域82を有している。中間調領域82には、比較的に淡い領域821と比較的に濃い領域823とを含んでいる。   In FIG. 3A, the read image 8 has a halftone area 82. The halftone area 82 includes a relatively light area 821 and a relatively dark area 823.

淡い領域821は、図3(B)に示すように、多数の孤立点21が縦横に規則的に並ぶ網点領域である。つまり、原稿画像におけるこの淡い領域821に対応する部分は、網点スクリーンによって中間調を表わす手法を用いて印刷されている。図3(B)において、網点スクリーンのスクリーン角αは、およそ55度である。   The light area 821 is a halftone dot area in which a large number of isolated points 21 are regularly arranged vertically and horizontally as shown in FIG. That is, the portion corresponding to the light area 821 in the original image is printed by using a halftone screen technique. In FIG. 3B, the screen angle α of the halftone screen is approximately 55 degrees.

濃い領域823は、図3(C)に示すように、上に述べたラインペア領域である。各ラインパターン31の延びる方向dxは、淡い領域821における孤立点21の配列の方向dvとほぼ等しく、ラインパターン31の並ぶピッチPxは、孤立点21の配列のピッチPvとほぼ等しい。つまり、原稿画像におけるこの濃い領域823に対応する部分も、網点スクリーンによって中間調を表わす手法を用いて印刷されている。濃い領域823は、スムージング処理を施すべき中間調領域である。   The dark region 823 is the line pair region described above as shown in FIG. The extending direction dx of each line pattern 31 is substantially equal to the direction dv of the isolated points 21 in the light area 821, and the pitch Px in which the line patterns 31 are arranged is substantially equal to the pitch Pv of the isolated points 21. In other words, the portion corresponding to the dark area 823 in the original image is also printed using a technique that represents a halftone with a halftone screen. A dark area 823 is a halftone area to be subjected to the smoothing process.

濃い階調を表わすために孤立点のサイズの大きい網点スクリーンを用いた場合に、原稿7の紙質などの印刷条件によっては、孤立点が連結してラインパターン31になり、網点パターンが図3(C)の領域823のようなラインペアパターンになることがある。   When a halftone screen having a large isolated point size is used to represent a dark gradation, the isolated points are connected to form a line pattern 31 depending on printing conditions such as the paper quality of the document 7, and the halftone pattern is shown in FIG. A line pair pattern like the region 823 of 3 (C) may be obtained.

図4にはライン周期Hの異なる複数のラインペアパターンとそれらを読取り解像度を切り替えて読み取ったパターンとが示されている。図5には複数の読取り解像度について原稿画像におけるライン周期Hと読取り画像8におけるラインペア数Mとの関係が示されている。また、図6には複数の読取り解像度について原稿画像におけるライン周期Hの複数の値のそれぞれに対応する読取り画像8におけるラインペア数Mが表形式によって示されている。   FIG. 4 shows a plurality of line pair patterns having different line periods H and patterns read by switching the reading resolution. FIG. 5 shows the relationship between the line period H in the original image and the number M of line pairs in the read image 8 for a plurality of reading resolutions. FIG. 6 shows the number M of line pairs in the read image 8 corresponding to each of a plurality of values of the line period H in the document image for a plurality of reading resolutions in a table format.

図4において、ライン周期Hの値が2〜10lp/mmである9個のラインペアパターンを印刷したチャートを原稿7のパターンとして最上の行に示し、画像形成装置1を用いてこれら9個のラインペアパターンを読取り解像度を600〜200dpiの範囲で切り替えて読み取った結果(読取り画像)が、太線で囲んだ5行9列のマス目の中に記載されている。   In FIG. 4, a chart on which nine line pair patterns having a line period H value of 2 to 10 lp / mm are printed is shown in the uppermost row as a pattern of the document 7. The result (read image) obtained by switching the line pair pattern while switching the reading resolution in the range of 600 to 200 dpi is described in the 5 × 9 squares surrounded by the thick line.

ライン周期Hとは、1mm当たりのラインペア数(個数)であり、原稿7の細密性の指標である。図4において、ライン周期Hの値は、2、3、4、5、6、7、8、9、および10である。読取り解像度は、600dpi、500dpi、400dpi、300dpi、および200dpiの5通りである。   The line period H is the number (number) of line pairs per 1 mm, and is an indicator of the fineness of the document 7. In FIG. 4, the values of the line period H are 2, 3, 4, 5, 6, 7, 8, 9, and 10. There are five reading resolutions: 600 dpi, 500 dpi, 400 dpi, 300 dpi, and 200 dpi.

各マス目の中の数字は、所定画素数(本例では40画素)当たりのラインペア数Mである。また、600dpiの行のマス目に記載されている括弧で囲んだ数字は、ラインペア数Mの理論値である。例えば、ライン周期Hが2である場合には、原稿7の1インチ当たりのラインペア数Mは25.4×2=50.8である。600dpiの1画素のサイズは25.4mm÷600≒0. 042mmであるので、40画素当たりのラインペア数Mの理論値は、50.8×(0. 042mm×40÷25.4mm)≒3. 4である。   The number in each square is the number M of line pairs per predetermined number of pixels (40 pixels in this example). In addition, the numbers enclosed in parentheses described in the squares of the 600 dpi line are theoretical values of the number M of line pairs. For example, when the line period H is 2, the number M of line pairs per inch of the document 7 is 25.4 × 2 = 50.8. Since the size of one pixel of 600 dpi is 25.4 mm ÷ 600≈0.042 mm, the theoretical value of the number M of line pairs per 40 pixels is 50.8 × (0.042 mm × 40 ÷ 25.4 mm) ≈3 .4.

図5をも参照して、次のことが分かる。   The following can be understood with reference to FIG.

読取り解像度が600dpi以上であれば、ライン周期Hが2〜10のいずれであっても、ラインペア数Mが理論値とほぼ等しい(両者の差が1以下)。そして、ライン周期Hが大きいほど、ラインペア数Mが大きい。このことは、ラインペア数Mを所定のしきい値と比較する従来の手法によってラインペア領域を判別することが可能であることを意味する。例えば、ライン周期Hが8以上のラインペアパターンを含む領域をラインペア領域と判別したい場合には、しきい値を例えば「12」と定めておき、ラインペア数Mが12以上である場合にラインペア領域と判別し、ラインペア数Mが12未満である場合にラインペア領域以外と判別すればよい。   If the reading resolution is 600 dpi or more, the number M of line pairs is almost equal to the theoretical value (the difference between the two is 1 or less) regardless of the line period H being 2 to 10. And the line pair number M is so large that the line period H is large. This means that the line pair region can be determined by a conventional method of comparing the number M of line pairs with a predetermined threshold value. For example, when it is desired to discriminate an area including a line pair pattern having a line period H of 8 or more as a line pair area, the threshold value is set to “12”, for example, and the number M of line pairs is 12 or more. A line pair area is determined, and when the number M of line pairs is less than 12, it may be determined that the area is not a line pair area.

しかし、ラインペアパターンを500dpi以下の読取り解像度で読み取ると、ラインペアパターンのライン周期Hの値によっては、偽解像が生じる場合がある。   However, when the line pair pattern is read at a reading resolution of 500 dpi or less, false resolution may occur depending on the value of the line period H of the line pair pattern.

すなわち、500dpiで読み取る場合には、ライン周期Hが8以上であるときに、400dpiで読み取る場合には、ライン周期Hが7以上であるときに、それぞれ偽解像が生じる。300dpiで読み取る場合には、ライン周期Hが6以上であるときに、200dpiで読み取る場合には、ライン周期Hが5以上であるときに、それぞれ偽解像が生じる。特に、200dpiで読み取る場合には、ライン周期Hが8以上のラインペアパターンについて、それらを濃淡パターンとして解像することができず、ラインペア数Mが0(零)になる。   That is, when reading at 500 dpi, false resolution occurs when the line period H is 8 or more, and when reading at 400 dpi, the line period H is 7 or more. When reading at 300 dpi, false resolution occurs when the line period H is 6 or more, and when reading at 200 dpi, the line period H is 5 or more. In particular, when reading at 200 dpi, it is not possible to resolve line pair patterns with a line period H of 8 or more as grayscale patterns, and the number M of line pairs becomes 0 (zero).

このように偽解像の生じるおそれがある500dpi以下の読取り解像度で読取りを行うときには、ライン周期Hのどの値以上の範囲をラインペア領域とするかによって、従来の手法によってラインペア領域を判別することができる場合と、判別することができない場合とがある。   As described above, when reading is performed at a reading resolution of 500 dpi or less, which may cause false resolution, the line pair region is determined by a conventional method depending on which range of the line period H is set as the line pair region. There are cases where it can be determined and cases where it cannot be determined.

例えば500dpiで読み取るとき、しきい値を例えば「9」と定めることにより、ライン周期Hが6以上のラインペアパターンを含む領域をラインペア領域として判別することはできる。しかし、ライン周期Hが7以上のラインペアパターンを含む領域のみをラインペア領域として判別することはできない。なぜなら、ライン周期Hが6のラインペアパターンを含む領域(ラインペア領域以外としたい)のラインペア数Mと、ライン周期Hが10のラインペアパターンを含む領域(ラインペア領域としたい)のラインペア数Mとが、共に同じ10であって、両者のラインペア数Mに大小がなく、しきい値を設定できないからである。   For example, when reading at 500 dpi, by setting the threshold value to “9”, for example, an area including a line pair pattern with a line period H of 6 or more can be determined as a line pair area. However, it is impossible to determine only a region including a line pair pattern having a line period H of 7 or more as a line pair region. This is because the number M of line pairs in an area including a line pair pattern having a line period H of 6 (desired to be other than the line pair area) and an area including an line pair pattern having a line period H of 10 (desired as a line pair area). This is because the number of pairs M is the same 10, and the number M of line pairs of both is not large and the threshold value cannot be set.

ところで、上に述べたように高速モードにおいては、500dpi以下の読取り解像度で読取りを行う。画像処理装置5は、高速モードにおいてもラインペア領域を判別することができる。以下、この機能の仕組みを説明する。   Incidentally, as described above, in the high-speed mode, reading is performed with a reading resolution of 500 dpi or less. The image processing apparatus 5 can determine the line pair region even in the high speed mode. The mechanism of this function will be described below.

図7には、解像度変換の縮小率R、第1しきい値th1、および第2しきい値th2を設定するためのテーブルT2の例が示されている。また、図8には、2値化画像における変化点のカウントの方向d1〜d12の例およびカウントに用いるフィルタFd3,Fd12の例が示されている。   FIG. 7 shows an example of a table T2 for setting the resolution conversion reduction ratio R, the first threshold th1, and the second threshold th2. FIG. 8 shows an example of count directions d1 to d12 of change points in a binarized image and examples of filters Fd3 and Fd12 used for counting.

図2をも参照して、ラインペア領域判別部52の解像度変換部521は、元画像として入力される画像データD2に基づいて、元画像を縮小して縮小画像の画像データD2sを生成する。その際に、図3に示されるテーブルT2の内容に基づいて、ラインペア領域と判別するべき領域の条件として設定されたライン周期Hの下限値に応じて、かつ元画像の解像度(読取り解像度)に応じて、縮小率Rの値を決める。   Referring also to FIG. 2, the resolution conversion unit 521 of the line pair region determination unit 52 reduces the original image based on the image data D2 input as the original image to generate reduced image data D2s. At that time, based on the contents of the table T2 shown in FIG. 3, the resolution (reading resolution) of the original image according to the lower limit value of the line period H set as the condition of the area to be determined as the line pair area. The reduction ratio R is determined according to the above.

例えば、ライン周期Hの下限値が8である場合、つまりライン周期Hが8以上のラインペアパターンを有する領域をラインペア領域と定義する場合において、元画像の解像度が400dpiであるときには、縮小率Rの値を75%に決める。すなわち、縮小画像の解像度を300dpiとする。   For example, when the lower limit of the line period H is 8, that is, when an area having a line pair pattern with a line period H of 8 or more is defined as a line pair area, and the resolution of the original image is 400 dpi, the reduction ratio The value of R is determined to be 75%. That is, the resolution of the reduced image is set to 300 dpi.

また、元画像の解像度が600dpiであるときには、ライン周期Hの下限値の設定に関わらず、縮小率Rの値を100%(等倍)に決め、実質的に解像度変換を行わないようにする。   When the resolution of the original image is 600 dpi, regardless of the setting of the lower limit value of the line period H, the value of the reduction ratio R is set to 100% (same size) so that the resolution conversion is not substantially performed. .

このようにして生成される縮小画像は、原稿画像を縮小画像の解像度を読取り解像度として読み取ったときの読取り画像に相当する。つまり、元画像の縮小によって、同じ原稿画像に対して読取り解像度の異なる2つの読取り画像が得られることになる。   The reduced image generated in this way corresponds to a read image when the original image is read with the resolution of the reduced image as the read resolution. That is, by reducing the original image, two read images having different reading resolutions can be obtained for the same original image.

2値化部522は、元画像の画像データD2および縮小画像の画像データD2sをそれぞれ2値化する。すなわち、各画素値を例えば「1」または「0」とする。黒画素と白画素とを表わす組み合わせてあれば、「255」と「0」といった他の数値の組み合わせでもよい。   The binarization unit 522 binarizes the image data D2 of the original image and the image data D2s of the reduced image. That is, each pixel value is set to “1” or “0”, for example. Any combination of other numerical values such as “255” and “0” may be used as long as the combination represents a black pixel and a white pixel.

カウント部523は、2値化された元画像(画像データD21)および2値化された縮小画像(画像データD21s)のそれぞれについて、図8に示す所定サイズの画素マトリクス90内の隣接する画素間で画素値が異なる変化点をカウントする。詳しくは、1から0へまたは0から1へのいずれかの変化点をカウントする。元画像についてのカウント値をM1とし、縮小画像についてのカウント値をM2とする。カウント値M1,M2は、ラインペアの個数を示すこととなる。   The count unit 523 performs the inter-adjacent pixels in the pixel matrix 90 of a predetermined size shown in FIG. 8 for each of the binarized original image (image data D21) and the binarized reduced image (image data D21s). The change points with different pixel values are counted. Specifically, the number of change points from 1 to 0 or from 0 to 1 is counted. The count value for the original image is M1, and the count value for the reduced image is M2. The count values M1 and M2 indicate the number of line pairs.

さらに詳しくは、カウント部523は、2値化された元画像および2値化された縮小画像の少なくとも一方について、図8(A)に示す互いに直交する方向どうしを複数含む複数の方向d1〜d12のそれぞれにおける変化点をカウントする。図8(A)において、複数の方向d1〜d12は、画素マトリクス90内の注目画素TGを中心として30度刻みで360度を分割した角度ごとに放射状に拡がる方向である。複数の方向d1〜d12のそれぞれに対して2つの方向が直交する。例えば、方向d12に対して、方向d3,d9が直交する。   More specifically, the counting unit 523 has a plurality of directions d1 to d12 including a plurality of mutually orthogonal directions shown in FIG. 8A for at least one of the binarized original image and the binarized reduced image. Count the change points in each. In FIG. 8A, a plurality of directions d1 to d12 are directions that spread radially for each angle obtained by dividing 360 degrees in increments of 30 degrees around the target pixel TG in the pixel matrix 90. Two directions are orthogonal to each of the plurality of directions d1 to d12. For example, directions d3 and d9 are orthogonal to direction d12.

カウントに際して、複数の方向d1〜d12のそれぞれに対して予め設けられたフィルタを用いる。図8(B)には方向d3のフィルタFd3が、図8(C)には方向d12のフィルタFd12が、それぞれ示されている。フィルタFd3,Fd12は、注目画素TGから対応する方向d3,d12に沿って連なる画素の組からなる。図示のフィルタFd3,Fd12の画素数は10であるが、実際にはこれよりも多くされ、例えば40とされる。   In counting, a filter provided in advance for each of the plurality of directions d1 to d12 is used. FIG. 8B shows the filter Fd3 in the direction d3, and FIG. 8C shows the filter Fd12 in the direction d12. The filters Fd3 and Fd12 are composed of a set of pixels that continue from the target pixel TG along the corresponding directions d3 and d12. The number of pixels of the illustrated filters Fd3 and Fd12 is 10, but in reality, the number of pixels is larger than this, for example, 40.

なお、図8(B)、(C)において、白画素から黒画素への変わり目を変化点としてカウントする場合に、図8(B)における方向d3のカウント値M1は「4」となり、図8(C)における方向d12のカウント値M1は「0」となる。   8B and 8C, when the change point from the white pixel to the black pixel is counted as the change point, the count value M1 in the direction d3 in FIG. 8B is “4”. The count value M1 in the direction d12 in (C) is “0”.

カウント部523は、複数の方向d1〜d12の中で直交する方向との変化点のカウント値M1(またはM2)の差が最も大きくかつ当該直交する方向よりも変化点のカウント値M1(またはM2)が大きい方向を判別用カウント方向とする。判別用カウント方向は、判別部524によって評価されるカウント値M1,M2に対応した方向である。   The count unit 523 has the largest difference in the change point count value M1 (or M2) from the orthogonal direction among the plurality of directions d1 to d12, and the change point count value M1 (or M2) than the orthogonal direction. ) Is the direction for counting. The count direction for determination is a direction corresponding to the count values M1 and M2 evaluated by the determination unit 524.

また、カウント部523は、ある方向のカウント値M1(またはM2)が「0」であって、かつ当該方向と直交する2つの方向のいずれかのカウント値M1(またはM2)が1以上である場合には、直交する2つの方向のうちのカウント値M1(またはM2)の大きい方を判別用カウント方向とする。   In addition, the count unit 523 has a count value M1 (or M2) in a certain direction of “0” and a count value M1 (or M2) in one of two directions orthogonal to the direction is 1 or more. In this case, the larger count value M1 (or M2) of the two orthogonal directions is set as the determination count direction.

つまり、ラインペアパターンは、連続した直線で構成されるので、直線と平行な方向のカウント値M1(またはM2)は0またそれに近い値になり、この方向に直交する方向のカウント値M1(またはM2)が最大となるという特徴がある。このことを踏まえて、カウント値M1(またはM2)が最も小さい方向に対して直交する方向を判別用カウント方向とする。   That is, since the line pair pattern is composed of continuous straight lines, the count value M1 (or M2) in the direction parallel to the straight line is 0 or a value close thereto, and the count value M1 in the direction orthogonal to this direction (or M2) is maximized. Based on this, the direction orthogonal to the direction in which the count value M1 (or M2) is the smallest is taken as the determination count direction.

複数の方向d1〜d12のいずれかを判別用カウント方向とした後、2値化された元画像および2値化された縮小画像の両方について、当該判別用カウント方向における変化点のカウント値M1,M2を判別部524に出力する。例えば、元画像についてのみ12個の方向d1〜d12の変化点をカウントして判別用カウント方向を特定した場合には、縮小画像については判別用カウント方向の変化点のカウントのみを行って、カウント値M2を得る。縮小してもラインペアの方向は変化しないので、縮小画像についての判別用カウント方向以外の11個の方向のカウントを省略することができる。   After any one of the plurality of directions d1 to d12 is set as the determination count direction, the count value M1, of the change point in the determination count direction for both the binarized original image and the binarized reduced image M2 is output to the determination unit 524. For example, when 12 change points in the directions d1 to d12 are counted only for the original image and the discrimination count direction is specified, only the change points in the discrimination count direction are counted for the reduced image. The value M2 is obtained. Since the direction of the line pair does not change even when the image is reduced, counting in 11 directions other than the determination count direction for the reduced image can be omitted.

このように複数の方向d1〜d12の変化点をカウントして判別用カウント方向を特定することにより、図3に示したスクリーン角度αがどのような値であっても、また、傾いた状態の原稿7から原稿画像を読取ったとしても、ラインペア領域を判別することができる。   In this way, by counting the change points in the plurality of directions d1 to d12 and specifying the counting direction for determination, the screen angle α shown in FIG. Even if a document image is read from the document 7, the line pair area can be determined.

判別部524は、2値化された元画像の変化点のカウント値M1が第1しきい値th1以上であるか、または2値化された元画像の変化点のカウント値M1と2値化された縮小画像の変化点のカウント値M2との差である解像誤差dMが第2しきい値th以上である場合に、元画像における画素マトリクス90を、ラインペア領域と判別する。   The determination unit 524 binarizes the count value M1 of the change point of the binarized original image that is equal to or greater than the first threshold th1 or the binarization value of the change point of the original image M1. When the resolution error dM, which is the difference from the count value M2 of the changed point of the reduced image, is equal to or greater than the second threshold th, the pixel matrix 90 in the original image is determined as the line pair region.

第1しきい値th1は、上に述べた従来の手法によってラインペア領域を判別するためのしきい値であり、図7のテーブルT2の通りに予め定められている。   The first threshold th1 is a threshold for discriminating the line pair region by the conventional method described above, and is predetermined as shown in the table T2 of FIG.

例えば、ライン周期Hが8以上の領域をラインペア領域として判別したい場合であって、元画像の解像度(読取り解像度)が400dpiである場合において、第1しきい値th1は、「11」である。   For example, when it is desired to discriminate an area having a line period H of 8 or more as a line pair area, and the resolution (reading resolution) of the original image is 400 dpi, the first threshold th1 is “11”. .

図4、5を参照すると、400dpiの場合には、ライン周期Hが2〜7の範囲内で最も大きいラインペア数Mは「10」である。したがって、この「10」よりも第1しきい値th1は大きいので、元画像のカウント値M1(つまり40画素当たりのラインペア数)が第1しきい値th1以上であるとき、判別の対象領域(画素マトリクス90)はラインペア領域である。   4 and 5, in the case of 400 dpi, the largest line pair number M within the range of the line period H of 2 to 7 is “10”. Accordingly, since the first threshold th1 is larger than “10”, when the count value M1 of the original image (that is, the number of line pairs per 40 pixels) is equal to or greater than the first threshold th1, (Pixel matrix 90) is a line pair region.

第2しきい値th2は、元画像のカウント値M1が第1しきい値th1未満であるときに用いるしきい値であり、テーブルT2の通りに予め定められている。例えば、上の例と同様に、ライン周期Hが8以上の領域をラインペア領域として判別したい場合であって、元画像の解像度(読取り解像度)が400dpiである場合において、第2しきい値th2は「4」である。   The second threshold value th2 is a threshold value used when the count value M1 of the original image is less than the first threshold value th1, and is predetermined as shown in the table T2. For example, as in the above example, when it is desired to discriminate an area having a line period H of 8 or more as a line pair area and the resolution (reading resolution) of the original image is 400 dpi, the second threshold th2 Is “4”.

図4、5を参照すると、ライン周期Hが2〜7の範囲内において、400dpiの場合のラインペア数と300dpiの場合のラインペア数との解像誤差dMの最も大きい値は、ライン周期Hが6または7のときの「1」である。これに対して、ライン周期Hが8以上の範囲の解像誤差dMは、5以上である。詳しくは、ライン周期Hが8のときは13−7=6であり、ライン周期Hが9のときは9−4=5であり、ライン周期Hが10のときは8−3=5である。したがって、ライン周期Hが2〜7の範囲の解像誤差dMの最大値の「1」よりも第2しきい値th2は大きいので、元画像と縮小画像と解像誤差dMが第2しきい値th2以上であるとき、判別の対象領域(画素マトリクス90)はラインペア領域である。   4 and 5, the largest value of the resolution error dM between the number of line pairs in the case of 400 dpi and the number of line pairs in the case of 300 dpi in the range of the line period H of 2 to 7 is the line period H "1" when is 6 or 7. On the other hand, the resolution error dM in the range where the line period H is 8 or more is 5 or more. Specifically, when the line period H is 8, 13-7 = 6, when the line period H is 9, 9-4 = 5, and when the line period H is 10, 8-3 = 5. . Accordingly, since the second threshold th2 is larger than the maximum value “1” of the resolution error dM in the range of the line period H of 2 to 7, the original image, the reduced image, and the resolution error dM are the second threshold. When the value is equal to or greater than th2, the discrimination target area (pixel matrix 90) is a line pair area.

図9にはラインペア領域判別処理の流れが示されている。ラインペア領域判別処理は、ラインペア領域判別部52によって実行される。   FIG. 9 shows the flow of the line pair area discrimination process. The line pair area determination process is executed by the line pair area determination unit 52.

元画像を縮小する解像度変換を行って縮小画像を生成する(#11)。元画像および縮小画像をそれぞれ2値化する(#12)。元画像および縮小画像をそれぞれについて変化点をカウントする(#13)。   Resolution conversion for reducing the original image is performed to generate a reduced image (# 11). Each of the original image and the reduced image is binarized (# 12). The change points are counted for each of the original image and the reduced image (# 13).

元画像について得られたカウント値M1が第1しきい値th1以上である場合には(#14でYES)、注目領域についての判別結果を「ラインペア領域」とし(#18)、判別結果を出力する(#19)。   If the count value M1 obtained for the original image is greater than or equal to the first threshold th1 (YES in # 14), the discrimination result for the attention area is set to “line pair area” (# 18), and the discrimination result is Output (# 19).

カウント値M1が第1しきい値th1未満である場合には(#14でNO)、元画像と縮小画像との間の解像誤差dMを算出する(#15)。   If the count value M1 is less than the first threshold th1 (NO in # 14), a resolution error dM between the original image and the reduced image is calculated (# 15).

算出した解像誤差dMが第2しきい値th2以上である場合には(#16でYES)、注目領域についての判別結果を「ラインペア領域」とし(#18)、判別結果を出力する(#19)。   If the calculated resolution error dM is greater than or equal to the second threshold th2 (YES in # 16), the discrimination result for the attention area is set to “line pair area” (# 18), and the discrimination result is output ( # 19).

算出した解像誤差dMが第2しきい値th2未満である場合には(#16でNO)、注目領域についての判別結果を「ラインペア領域以外」とし(#17)、判別結果を出力する(#19)。   If the calculated resolution error dM is less than the second threshold th2 (NO in # 16), the discrimination result for the attention area is set to “other than the line pair area” (# 17), and the discrimination result is output. (# 19).

以上の実施形態によると、元画像を縮小して意図的に解像誤差dMを発生させて解像誤差dMの大小を判別するので、中間調を表わす微細なラインペアパターン30を有したラインペア領域823を従来よりも確実に判別することができる。また、ラインペアがどの方向に並んでいたとしても、ラインペア領域823を判別することができる。スムージング処理を施すべき中間調領域であるラインペア領域823にスムージング処理を施すことができるので、印刷の品質を良好にすることができる。   According to the above embodiment, since the original image is reduced and the resolution error dM is intentionally generated to determine the magnitude of the resolution error dM, a line pair having a fine line pair pattern 30 representing a halftone is obtained. The region 823 can be determined more reliably than in the past. Further, the line pair region 823 can be determined no matter which direction the line pair is arranged. Since the smoothing process can be performed on the line pair area 823, which is a halftone area to be subjected to the smoothing process, the printing quality can be improved.

上に述べた実施形態においては、ラインペア領域とそれ以外とを区別する条件であるライン周期Hの下限値を8または7とした。しかし、これに限らない。例えば、原稿7に含まれる文字のフォントサイズに応じて決めることができる。網点スクリーンに由来するラインペアパターンと同程度の微細なラインペアパターンを部分的にもつ小サイズの文字が原稿7に含まれる場合には、ライン周期Hの下限値を比較的に大きくする。原稿7が大きな文字しか含まれないものに限定される場合には、ライン周期Hの下限値を比較的に小さくすることができる。   In the embodiment described above, the lower limit value of the line period H, which is a condition for distinguishing between the line pair region and the other region, is set to 8 or 7. However, it is not limited to this. For example, it can be determined according to the font size of characters included in the document 7. When the original 7 includes small-size characters partially having a fine line pair pattern equivalent to the line pair pattern derived from the halftone screen, the lower limit value of the line period H is made relatively large. When the document 7 is limited to those containing only large characters, the lower limit value of the line period H can be made relatively small.

変化点をカウントする方向d1〜d12については、360度を図8(A)の12分割よりもさらに細かく分割することができる。例えば10度刻みで分割して方向の数を36にしてもよい。その場合には36個のフィルタを用意する。   With respect to the directions d1 to d12 in which the change points are counted, 360 degrees can be divided more finely than the 12 divisions in FIG. For example, the number of directions may be set to 36 by dividing by 10 degrees. In that case, 36 filters are prepared.

画像処理装置5の全体または各部の構成、処理の内容、順序、またはタイミング、第1しきい値th1および第2しきい値th2の値などは、本発明の趣旨に沿って適宜変更することができる。   The configuration of the entire image processing apparatus 5 or each unit, the content, order, or timing of processing, the values of the first threshold th1 and the second threshold th2, and the like can be changed as appropriate in accordance with the spirit of the present invention. it can.

5 画像処理装置
7 原稿
90 画素マトリクス
521 解像度変換部(解像度変換手段)
522 2値化部(2値化手段)
523 カウント部(カウント手段)
524 判別部(判別手段)
823 領域(ラインペア領域)
D1 画像データ(読み取られた画像)
D2 画像データ(元画像)
D2s 画像データ(縮小画像)
D21 画像データ(2値化された元画像)
D21s 画像データ(2値化された縮小画像)
M1,M2 カウント値
dM 解像誤差
d1〜d12 方向
H ライン周期
th1 第1しきい値
th2 第2しきい値
R 縮小率
5 Image processing device 7 Document 90 Pixel matrix 521 Resolution converter (resolution converter)
522 Binarization unit (binarization means)
523 Count unit (counting means)
524 discriminating unit (discriminating means)
823 area (line pair area)
D1 Image data (read image)
D2 Image data (original image)
D2s image data (reduced image)
D21 Image data (binarized original image)
D21s Image data (binarized reduced image)
M1, M2 Count value dM Resolution error d1-d12 Direction H Line period th1 First threshold th2 Second threshold R Reduction rate

Claims (5)

原稿から読み取られた画像を処理する画像処理装置であって、
前記画像である元画像を縮小して縮小画像を生成する解像度変換手段と、
前記元画像および前記縮小画像をそれぞれ2値化する2値化手段と、
2値化された前記元画像および2値化された前記縮小画像のそれぞれについて、所定サイズの画素マトリクス内の隣接する画素間で画素値が異なる変化点をカウントするカウント手段と、
2値化された前記元画像の前記変化点のカウント値が第1しきい値以上であるか、または2値化された前記元画像の前記変化点のカウント値と2値化された前記縮小画像の前記変化点のカウント値との差である解像誤差が第2しきい値以上である場合に、前記元画像における前記画素マトリクスを、複数のライン状のパターンが並ぶラインペア領域と判別する判別手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus for processing an image read from a document,
Resolution conversion means for reducing the original image, which is the image, to generate a reduced image;
Binarization means for binarizing each of the original image and the reduced image;
For each of the binarized original image and the binarized reduced image, a counting unit that counts change points having different pixel values between adjacent pixels in a pixel matrix of a predetermined size;
The count value of the change point of the binarized original image is greater than or equal to a first threshold value, or the count value of the change point of the binarized original image and the binarized reduction When the resolution error, which is the difference from the count value of the change point of the image, is greater than or equal to a second threshold value, the pixel matrix in the original image is determined as a line pair region in which a plurality of line-shaped patterns are arranged. Discriminating means to perform,
An image processing apparatus comprising:
前記解像度変換手段は、前記元画像の解像度に応じた縮小率で当該元画像を縮小する、
請求項1記載の画像処理装置。
The resolution converting means reduces the original image at a reduction ratio according to the resolution of the original image;
The image processing apparatus according to claim 1.
前記解像度変換手段は、前記ラインペア領域と判別するべき領域の条件として設定されたライン周期の下限値に応じた縮小率で当該元画像を縮小する、
請求項1または2記載の画像処理装置。
The resolution conversion unit reduces the original image at a reduction rate according to a lower limit value of a line period set as a condition of the area to be determined as the line pair area.
The image processing apparatus according to claim 1.
前記カウント手段は、2値化された前記元画像および2値化された前記縮小画像の少なくとも一方について、互いに直交する方向どうしを複数含む複数の方向のそれぞれにおける前記変化点をカウントし、当該複数の方向の中で直交する方向との前記変化点のカウント値の差が最も大きくかつ当該直交する方向よりも前記変化点のカウント値が大きい方向を判別用カウント方向とし、2値化された前記元画像および2値化された前記縮小画像の両方について、当該判別用カウント方向における前記変化点のカウント値を出力し、
前記判別手段は、前記判別用カウント方向における前記変化点のカウント値どうしの差を前記解像誤差として前記第2しきい値と比較する、
請求項1ないし3のいずれかに記載の画像処理装置。
The counting means counts the change points in each of a plurality of directions including a plurality of directions orthogonal to each other for at least one of the binarized original image and the binarized reduced image. The direction that has the largest difference in the count value of the change point from the orthogonal direction and the direction that the count value of the change point is larger than the orthogonal direction is defined as the count direction for determination, and is binarized. For both the original image and the binarized reduced image, the count value of the change point in the determination count direction is output,
The determination means compares a difference between count values of the change points in the determination count direction with the second threshold value as the resolution error;
The image processing apparatus according to claim 1.
画像内の領域を判別する領域判別方法であって、
原稿から読み取られた画像である元画像を縮小して縮小画像を生成し、
前記元画像および前記縮小画像をそれぞれ2値化し、
2値化された前記元画像および2値化された前記縮小画像のそれぞれについて、所定サイズの画素マトリクス内の隣接する画素間で画素値が異なる変化点をカウントし、
2値化された前記元画像の前記変化点のカウント値が第1しきい値以上であるか、または2値化された前記元画像の前記変化点のカウント値と2値化された前記縮小画像の前記変化点のカウント値との差である解像誤差が第2しきい値以上である場合に、前記元画像における前記画素マトリクスを、複数のライン状のパターンが並ぶラインペア領域と判別し、他の場合に前記画素マトリクスを前記ラインペア領域以外の領域と判別する、
ことを特徴とする領域判別方法。
An area determination method for determining an area in an image,
Reduce the original image, which is the image read from the document, to generate a reduced image,
Each of the original image and the reduced image is binarized,
For each of the binarized original image and the binarized reduced image, change points where pixel values differ between adjacent pixels in a pixel matrix of a predetermined size are counted,
The count value of the change point of the binarized original image is greater than or equal to a first threshold value, or the count value of the change point of the binarized original image and the binarized reduction When the resolution error, which is the difference from the count value of the change point of the image, is greater than or equal to a second threshold value, the pixel matrix in the original image is determined as a line pair region in which a plurality of line-shaped patterns are arranged. In other cases, the pixel matrix is determined as an area other than the line pair area.
An area discrimination method characterized by the above.
JP2016025484A 2016-02-15 2016-02-15 Image processing device and region determination method Pending JP2017147485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016025484A JP2017147485A (en) 2016-02-15 2016-02-15 Image processing device and region determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016025484A JP2017147485A (en) 2016-02-15 2016-02-15 Image processing device and region determination method

Publications (1)

Publication Number Publication Date
JP2017147485A true JP2017147485A (en) 2017-08-24

Family

ID=59681497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016025484A Pending JP2017147485A (en) 2016-02-15 2016-02-15 Image processing device and region determination method

Country Status (1)

Country Link
JP (1) JP2017147485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021077985A (en) * 2019-11-08 2021-05-20 コニカミノルタ株式会社 Image processing apparatus and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021077985A (en) * 2019-11-08 2021-05-20 コニカミノルタ株式会社 Image processing apparatus and image forming apparatus

Similar Documents

Publication Publication Date Title
JP4912270B2 (en) Image processing apparatus and control method thereof
CA1315885C (en) Image processing system
US8280100B2 (en) Image processing apparatus, image processing method, and computer program product
US20080137159A1 (en) Image forming apparatus and image quality improving method thereof
EP0500174B1 (en) Image processing method and scan/print system for performing the method
US6775031B1 (en) Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images
JP6249240B2 (en) Image processing device
JP3736535B2 (en) Document type identification device
JP2011082746A (en) Image processing apparatus
JP2017147485A (en) Image processing device and region determination method
JP4861506B2 (en) Image processing apparatus and control method thereof
US8964243B2 (en) Image forming apparatus capable of enhancing resolution of image data in high quality
JPS62147860A (en) Halftone facsimile signal processing system
JP2010074627A (en) Image processor and method of processing image
JP4504327B2 (en) Edge detection for distributed dot binary halftone images
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP6016844B2 (en) Image reading device
JP6025803B2 (en) Image processing device
US8213056B2 (en) Image processing apparatus and line pair pattern identification method
JP7077925B2 (en) Image processing equipment, image processing methods, and programs
JP7377435B2 (en) Image processing device
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP2004112608A (en) Image processing device, image processing method, and image processing program
US20110051169A1 (en) Image Processing Device
JP2023030420A (en) Image processing apparatus, image processing method, and program