JP2005101895A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2005101895A
JP2005101895A JP2003332922A JP2003332922A JP2005101895A JP 2005101895 A JP2005101895 A JP 2005101895A JP 2003332922 A JP2003332922 A JP 2003332922A JP 2003332922 A JP2003332922 A JP 2003332922A JP 2005101895 A JP2005101895 A JP 2005101895A
Authority
JP
Japan
Prior art keywords
area
pixel
distance
discrimination
halftone dot
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
JP2003332922A
Other languages
Japanese (ja)
Other versions
JP4133711B2 (en
Inventor
Ryuichi Okumura
隆一 奥村
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2003332922A priority Critical patent/JP4133711B2/en
Publication of JP2005101895A publication Critical patent/JP2005101895A/en
Application granted granted Critical
Publication of JP4133711B2 publication Critical patent/JP4133711B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To highly accurately discriminate the dot area in an original manuscript. <P>SOLUTION: A pixel for discriminating the dot (a discriminating pixel) which shows the extreme value of the density (a density peak or a density dip) in the prescribed region of the image of the original manuscript, is detected by a pixel detector 111 for detecting the discriminating pixel. An inspection region is successively set on the prescribed region so that each discriminating pixel detected by the pixel detector 111 for detecting the discriminating pixel is located at the reference position of the inspection region. A two-dimensional histogram (a vector histogram) shows the occurrence frequency of the other discriminating pixel to the discriminating pixel at the reference position on the inspection region, and is created by a histogram creating part 111. The distance between the discriminating pixel located at the shortest distance from the reference position and the reference position, and the occurrence frequency of the discriminating pixel are specified by using the two-dimensional histogram. The dot area in the prescribed region is discriminated by a dot discriminating part 102 on the basis of the specified distance and occurrence frequency. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、複写機等に搭載される画像処理装置に関し、特に、原稿画像における網点領域を検出する機能を有する画像処理装置に関する。   The present invention relates to an image processing apparatus mounted on a copying machine or the like, and more particularly to an image processing apparatus having a function of detecting a halftone dot region in a document image.

従来、網点画像が印刷された原稿(網点原稿)に対する網点領域の検出によく使われる手法として、原稿の画像データにおける濃度ピーク(ピーク成分)又は濃度ディップ(ディップ成分)を検出した後、この画像における、当該濃度ピーク又は濃度ディップを示す画素の個数が多い領域を網点領域と判定する方法がある(例えば、特許文献1)。
特開平11−266364号公報
Conventionally, after detecting a density peak (peak component) or a density dip (dip component) in image data of a document as a technique often used for detecting a halftone dot region on a document on which a halftone image is printed (halftone document) In this image, there is a method of determining an area having a large number of pixels indicating the density peak or density dip as a halftone dot area (for example, Patent Document 1).
JP-A-11-266364

しかしながら、細かな文字が密集してなる画像等が印刷された原稿に対し、上記濃度ピーク又は濃度ディップを示す画素(以降、網点判別に用いられる原稿画像における濃度ピーク又は濃度ディップを示す画素のことを判別用画素という)の個数の多少によって網点領域の判定を行う場合、この細かな文字が密集している領域を網点領域と誤判定してしまうことがあり、また、この誤判定を回避しようとすると、反対に網点領域と判定されるべき領域が網点領域として判定されないといった判定漏れが発生してしまうことがあった。   However, for an original on which an image or the like in which fine characters are densely printed is printed, the pixel indicating the density peak or the density dip (hereinafter, the pixel indicating the density peak or the density dip in the original image used for halftone dot discrimination). If the halftone dot area is determined based on the number of pixels (which is called a discrimination pixel), the area where the fine characters are dense may be erroneously determined as a halftone dot area. On the other hand, there is a case where a determination omission occurs such that an area to be determined as a halftone dot area is not determined as a halftone dot area.

本発明は上記事情に鑑みてなされたもので、原稿における網点領域を精度良く判定することができる画像処理装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an image processing apparatus capable of accurately determining a halftone dot region in a document.

請求項1記載の発明は、原稿画像を取得する画像取得手段と、前記画像取得手段によって取得された原稿画像の所定領域において濃度の極値となる判別用画素を検出する検出手段と、前記検出手段により検出された判別用画素間の2次元平面上の位置関係及び当該位置関係の発生頻度を基に前記所定領域内の網点領域を判別する判別手段とを備えることを特徴とする画像処理装置である。   The invention according to claim 1 is an image acquisition unit that acquires a document image, a detection unit that detects a discrimination pixel having an extreme value of density in a predetermined region of the document image acquired by the image acquisition unit, and the detection And a discrimination means for discriminating a halftone dot area in the predetermined area based on a positional relationship between the discrimination pixels detected by the means on a two-dimensional plane and a frequency of occurrence of the positional relation. Device.

請求項2記載の発明は、上記請求項1記載の画像処理装置において、前記判別手段は、前記検出手段により検出された各判別用画素が検査領域の基準位置に位置するように前記所定領域上に検査領域を順次設定し、検査領域上における基準位置の判別用画素に対する他の判別用画素の発生頻度を表す2次元ヒストグラムを作成する作成手段と、前記作成手段により作成された2次元ヒストグラムを用いて、基準位置から最短距離に位置する判別用画素と基準位置との間の距離及び当該判別用画素の発生頻度を特定し、特定した距離及び発生頻度を基に前記所定領域内の網点領域を判別する網点判別手段とを含むことを特徴とする。   According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the determination unit is arranged on the predetermined region so that each determination pixel detected by the detection unit is positioned at a reference position of the inspection region. And creating means for creating a two-dimensional histogram representing the frequency of occurrence of other discrimination pixels with respect to a reference position discrimination pixel on the inspection area, and a two-dimensional histogram created by the creation means. Using the distance between the discrimination pixel located at the shortest distance from the reference position and the occurrence frequency of the discrimination pixel, and a halftone dot in the predetermined area based on the identified distance and occurrence frequency And halftone dot discrimination means for discriminating the region.

請求項3記載の発明は、上記請求項2記載の画像処理装置において、前記網点判別手段は、前記2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、前記2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、前記2次元ヒストグラムにおける各度数を合計した総度数に対する最大度数の割合を算出する割合算出手段とを含み、前記最大度数検出手段によって検出された最大度数、前記距離算出手段によって算出された距離、及び前記割合算出手段によって算出された割合の情報を用いて前記所定領域内の網点領域を判別することを特徴とする。   According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the halftone dot determining unit includes a maximum frequency detecting unit that detects a maximum frequency in the two-dimensional histogram, an origin and a maximum in the two-dimensional histogram. A distance calculating means for calculating the distance between the coordinates of the frequency and a ratio calculating means for calculating a ratio of the maximum frequency to the total frequency obtained by summing up the frequencies in the two-dimensional histogram, and the maximum frequency detecting means The halftone dot region in the predetermined region is determined using information on the detected maximum frequency, the distance calculated by the distance calculating unit, and the ratio calculated by the ratio calculating unit.

請求項4記載の発明は、上記請求項2記載の画像処理装置において、前記網点判別手段は、前記2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、前記2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、前記2次元ヒストグラムにおける原点からの距離が所定値以上所定値以下の範囲となる座標位置にある度数を合計した合計度数を算出する合計度数算出手段とを含み、前記距離算出手段によって算出された距離、及び前記合計度数算出手段によって算出された合計度数の情報を用いて前記所定領域内の網点領域を判別することを特徴とする。   According to a fourth aspect of the present invention, in the image processing apparatus according to the second aspect, the halftone dot discriminating means includes a maximum frequency detecting means for detecting a maximum frequency in the two-dimensional histogram, an origin and a maximum in the two-dimensional histogram. A distance calculating means for calculating a distance between the coordinate positions of the frequencies and a total frequency obtained by summing the frequencies at the coordinate positions where the distance from the origin in the two-dimensional histogram is in a range of a predetermined value to a predetermined value. A total frequency calculation means, wherein the halftone dot area in the predetermined area is determined using the distance calculated by the distance calculation means and the total frequency information calculated by the total frequency calculation means. To do.

請求項5記載の発明は、上記請求項1〜4のいずれかに記載の画像処理装置において、前記判別手段は、前記所定領域を複数の判定領域に分割し、判定領域ごとに網点領域を判別することを特徴とする。   According to a fifth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the determination unit divides the predetermined area into a plurality of determination areas, and a dot area is determined for each determination area. It is characterized by discriminating.

請求項1記載の発明によれば、画像取得手段によって原稿画像が取得され、画像取得手段によって取得された原稿画像の所定領域において濃度の極値となる判別用画素が検出手段によって検出される。そして、検出手段により検出された判別用画素間の2次元平面上の位置関係及び当該位置関係の発生頻度を基に所定領域内の網点領域が判別手段によって判別される。このように、判別用画素間の2次元平面上の位置関係及び当該位置関係の発
生頻度の情報に基づいて網点判別が行われるため、原稿における網点領域の判別を精度良
く行うことができる。
According to the first aspect of the present invention, a document image is acquired by the image acquisition unit, and a discrimination pixel having an extreme value of density in a predetermined region of the document image acquired by the image acquisition unit is detected by the detection unit. Then, based on the positional relationship between the determination pixels detected by the detection unit on the two-dimensional plane and the occurrence frequency of the positional relationship, the halftone dot region in the predetermined region is determined by the determination unit. As described above, halftone dot discrimination is performed based on the positional relationship between the discrimination pixels on the two-dimensional plane and the frequency of occurrence of the positional relationship, so that the halftone dot region in the document can be accurately determined. .

請求項2記載の発明によれば、判別手段には、検出手段により検出された各判別用画素が検査領域の基準位置に位置するように所定領域上に検査領域が順次設定され、検査領域上における基準位置の判別用画素に対する他の判別用画素の発生頻度を表す2次元ヒストグラムを作成する作成手段と、作成手段により作成された2次元ヒストグラムを用いて、基準位置から最短距離に位置する判別用画素と基準位置との間の距離及び当該判別用画素の発生頻度を特定し、特定した距離及び発生頻度を基に所定領域内の網点領域を判別する網点判別手段とが含まれる。このように、検査領域上における基準位置の判別用画素に対する他の判別用画素の発生頻度を表す2次元ヒストグラムが作成され、この2次元ヒストグラムに基づいて網点判別が行われるため、原稿における網点領域の判別を容易に行うことができる。   According to the second aspect of the present invention, the inspection unit sequentially sets the inspection region on the predetermined region so that each of the determination pixels detected by the detection unit is located at the reference position of the inspection region. Creating means for creating a two-dimensional histogram representing the frequency of occurrence of other discrimination pixels with respect to a reference position discrimination pixel in the image, and using the two-dimensional histogram created by the creation means to determine the shortest distance from the reference position And a halftone dot discriminating unit that identifies the distance between the pixel for use and the reference position and the occurrence frequency of the discrimination pixel and discriminates a halftone dot area in the predetermined area based on the specified distance and occurrence frequency. In this way, a two-dimensional histogram representing the frequency of occurrence of other discrimination pixels with respect to the reference position discrimination pixels on the inspection area is created, and halftone dot discrimination is performed based on the two-dimensional histogram. It is possible to easily determine the point area.

請求項3記載の発明によれば、網点判別手段には、2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、2次元ヒストグラムにおける各度数を合計した総度数に対する最大度数の割合を算出する割合算出手段とが含まれ、これら最大度数検出手段によって検出された最大度数、距離算出手段によって算出された距離、及び割合算出手段によって算出された割合の情報を用いて所定領域内の網点領域が網点判別手段によって判別される。よって、2次元ヒストグラムに基づく網点領域の判別を容易に行うことができる。   According to the invention described in claim 3, the halftone dot discriminating means calculates the distance between the maximum frequency detecting means for detecting the maximum frequency in the two-dimensional histogram and the origin and the coordinate position of the maximum frequency in the two-dimensional histogram. And a ratio calculation means for calculating the ratio of the maximum frequency to the total frequency obtained by summing up the frequencies in the two-dimensional histogram. The maximum frequency detected by the maximum frequency detection means is calculated by the distance calculation means. The halftone dot area in the predetermined area is discriminated by the halftone dot discriminating means using the calculated distance and the ratio information calculated by the ratio calculating means. Therefore, it is possible to easily determine the halftone dot region based on the two-dimensional histogram.

請求項4記載の発明によれば、網点判別手段には、2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、2次元ヒストグラムにおける原点からの距離が所定値以上所定値以下の範囲となる座標位置にある度数を合計した合計度数を算出する合計度数算出手段とが含まれ、これら距離算出手段によって算出された距離、及び前記合計度数算出手段によって算出された合計度数の情報を用いて所定領域内の網点領域が網点判別手段によって判別される。よって、2次元ヒストグラムに基づく網点領域の判別を容易に行うことができる。   According to the invention described in claim 4, the halftone dot discriminating means calculates the distance between the maximum frequency detecting means for detecting the maximum frequency in the two-dimensional histogram and the coordinate position of the maximum frequency in the two-dimensional histogram. A distance calculation means for calculating the total frequency, and a total frequency calculation means for calculating the total frequency obtained by summing the frequencies in the coordinate position where the distance from the origin in the two-dimensional histogram is within a predetermined value and a predetermined value or less. The halftone dot area in the predetermined area is discriminated by the halftone dot discriminating means by using the distance calculated by the means and the information on the total frequency calculated by the total frequency calculating means. Therefore, it is possible to easily determine the halftone dot region based on the two-dimensional histogram.

請求項5記載の発明によれば、判別手段によって、所定領域が複数の判定領域に分割され、判定領域ごとに網点領域が判別される。これにより、原稿画像に対する網点判別を行
う回数が多くなり、ひいては、原稿における網点領域の判別をより精度良く行うことがで
きる。
According to the invention described in claim 5, the predetermined area is divided into a plurality of determination areas by the determination means, and a halftone dot area is determined for each determination area. As a result, the number of times of halftone dot discrimination for an original image increases, and as a result, the halftone dot region of the original can be more accurately discriminated.

以下、本発明に係る画像処理装置の一例としての複写機について図面を参照しながら説明する。なお、各図において同一の符号を付した構成は、同一の構成であることを示している。   A copying machine as an example of an image processing apparatus according to the present invention will be described below with reference to the drawings. In addition, the structure which attached | subjected the same code | symbol in each figure has shown that it is the same structure.

(第1実施形態)
図1は、本発明の第1の実施形態に係る画像処理装置の一例である複写機1の内部構成を概略的に示す断面図である。複写機1は、本体部2と、本体部2の左方に配設されたスタックトレイ3と、本体部2の上部に配設された原稿読取部5と、原稿読取部5の上方に配設された原稿給送部6とを備えている。また、複写機1のフロント部には、ユーザが印刷実行指示を入力するためのスタートキー471と、印刷部数等を入力するためのテンキー472と、各種複写動作の設定等を入力するための操作ガイド情報等が表示されるとともに、各種操作指令を入力するための種々の操作ボタン等が表示される液晶表示器(LCD)等からなる表示器473(ディスプレイ)とを備えた操作部47が設けられている。
(First embodiment)
FIG. 1 is a cross-sectional view schematically showing an internal configuration of a copying machine 1 which is an example of an image processing apparatus according to a first embodiment of the present invention. The copying machine 1 is disposed above the document reading unit 5, the main unit 2, the stack tray 3 disposed on the left side of the main unit 2, the document reading unit 5 disposed on the top of the main unit 2. And a document feeding unit 6 provided. Further, a start key 471 for a user to input a print execution instruction, a numeric keypad 472 for inputting the number of copies to be printed, and operations for inputting settings for various copying operations, etc. An operation unit 47 is provided that includes a display 473 (display) including a liquid crystal display (LCD) on which guide information and the like are displayed and various operation buttons for inputting various operation commands are displayed. It has been.

原稿読取部5は、CCD(Charge Coupled Device)センサ及び露光ランプ等からなるスキャナ51と、ガラス等の透明部材により構成された原稿台52(プラテンガラス)及び原稿読取スリット53とを備える。スキャナ51は、図略の駆動部によって移動可能に構成され、原稿台52に載置された原稿を読み取る場合には原稿台52に対向する位置に移動され、原稿画像を走査しつつ取得した画像データを後述する制御部10(あるいは、画像メモリ7、HDD8又は画像処理部11)へ出力する。また、スキャナ51は、原稿給送部6により搬送された原稿を読み取る場合には原稿読取スリット53と対向する位置に移動され、原稿読取スリット53を介して原稿給送部6による原稿の搬送動作と同期して原稿の画像を取得し、当該画像に対する画像データを制御部10へ出力する。   The document reading section 5 includes a scanner 51 including a CCD (Charge Coupled Device) sensor and an exposure lamp, a document table 52 (platen glass) made of a transparent member such as glass, and a document reading slit 53. The scanner 51 is configured to be movable by a drive unit (not shown). When reading a document placed on the document table 52, the scanner 51 is moved to a position facing the document table 52, and an image acquired while scanning the document image. The data is output to the control unit 10 (or the image memory 7, the HDD 8, or the image processing unit 11) described later. The scanner 51 is moved to a position facing the document reading slit 53 when reading the document conveyed by the document feeding unit 6, and the document feeding operation is performed by the document feeding unit 6 through the document reading slit 53. The image of the document is acquired in synchronization with the image data, and image data for the image is output to the control unit 10.

原稿給送部6は、原稿を載置するための原稿載置部61と、画像読み取り後の原稿を排出するための原稿排出部62と、原稿載置部61に載置された原稿を1枚ずつ順に繰り出して原稿読取スリット53に対向する位置へ搬送し、原稿排出部62へ排出するための給紙ローラ及び搬送ローラ等からなる原稿搬送機構63を備える。また、原稿給送部6は可倒式に構成されており、原稿台52の上面を開放するように上方に持ち上げることによって、原稿台52の上面に、読み取り原稿を載置することが可能に構成されている。   The document feeding unit 6 includes a document placing unit 61 for placing a document, a document discharging unit 62 for discharging a document after image reading, and a document placed on the document placing unit 61. A document transport mechanism 63 including a feed roller, a transport roller, and the like for feeding the paper one by one in order and transporting it to a position facing the document reading slit 53 and discharging it to the document discharge section 62 is provided. Further, the document feeding unit 6 is configured to be retractable, and the read document can be placed on the upper surface of the document table 52 by lifting the document table 52 upward so as to open the upper surface of the document table 52. It is configured.

本体部2は、それぞれサイズが異なる用紙を収納する複数の給紙カセット461と、給
紙カセット461から用紙を1枚ずつ繰り出して後述する記録部40へ搬送する給紙ローラ462と、給紙カセット461から搬送されてきた用紙に、モノクロ画像又はカラー画像を形成する記録部40とを備えている。
The main body 2 includes a plurality of paper feed cassettes 461 that store papers of different sizes, a paper feed roller 462 that feeds the papers one by one from the paper feed cassette 461 and transports them to the recording unit 40 described later, and a paper feed cassette A recording unit 40 that forms a monochrome image or a color image on the sheet conveyed from 461 is provided.

記録部40は、スキャナ51で取得された画像データに基づいてレーザ光を出力して感光体ドラム43を露光し、当該感光体ドラム43の表面に静電潜像を形成する光学ユニット42と、上記静電潜像に基づいて感光体ドラム43上に、シアン(C)、マゼンタ(M)、イエロー(Y)及びブラック(K)の各色のトナー像を形成する画像形成部44と、感光体ドラム43上のトナー像を用紙に転写する転写部41と、トナー像が転写された用紙を加熱してトナー像を用紙に定着させる定着部45と、記録部40内の用紙搬送路中に設けられた搬送ローラ等によって用紙を搬送してスタックトレイ3又は排出トレイ48へ排出する用紙搬送装置46とを備えている。なお、上記シアン、マゼンタ、イエロー及びブラックの各色に対するトナーの供給は、図略のトナー供給容器(トナーカートリッジ)から行われる。   The recording unit 40 outputs a laser beam based on the image data acquired by the scanner 51 to expose the photosensitive drum 43, and forms an electrostatic latent image on the surface of the photosensitive drum 43. An image forming unit 44 that forms toner images of each color of cyan (C), magenta (M), yellow (Y), and black (K) on the photosensitive drum 43 based on the electrostatic latent image, and a photosensitive member A transfer unit 41 that transfers the toner image on the drum 43 to the paper, a fixing unit 45 that heats the paper on which the toner image is transferred and fixes the toner image on the paper, and a paper conveyance path in the recording unit 40 are provided. A paper transport device 46 that transports the paper by the transport rollers and the like and discharges the paper to the stack tray 3 or the discharge tray 48. The toner is supplied to each of the cyan, magenta, yellow and black colors from a toner supply container (toner cartridge) (not shown).

図2は、図1に示す複写機1の概略構成を示すブロック図である。複写機1は、装置全体の動作制御を司る制御部10を備えており、この制御部10は、スキャナ51等からなる原稿読取部5、原稿搬送機構63等からなる原稿給送部6、画像形成部44等からなる記録部40、スタートキー471、テンキー472等の操作キーや表示器473等からなる操作部47、画像メモリ7、HDD8、ネットワークI/F部9及び画像処理部11が接続されている。   FIG. 2 is a block diagram showing a schematic configuration of the copying machine 1 shown in FIG. The copying machine 1 includes a control unit 10 that controls operation of the entire apparatus. The control unit 10 includes a document reading unit 5 including a scanner 51 and the like, a document feeding unit 6 including a document transport mechanism 63, and an image. The recording unit 40 including the forming unit 44, the operation key 47 such as the start key 471 and the numeric keypad 472, the operation unit 47 including the display 473, the image memory 7, the HDD 8, the network I / F unit 9, and the image processing unit 11 are connected. Has been.

画像メモリ7は、原稿読取部5によって読み取られた原稿(例えば網点原稿)の画像データ、あるいは、後述するネットワークI/F部9を介して図略の外部装置から送信されてきた画像データを一時的に記憶するメモリである。   The image memory 7 stores image data of a document (for example, a halftone document) read by the document reading unit 5 or image data transmitted from an external device (not shown) via a network I / F unit 9 described later. It is a memory that stores temporarily.

HDD(Hard Disk Drive)8は、原稿読取部5によって読み取られた原稿画像の画像データ及び外部装置から送信されてきた画像データ並びに当該画像データに設定されている出力形式等が記憶される記憶装置である。   An HDD (Hard Disk Drive) 8 is a storage device that stores image data of a document image read by the document reading unit 5, image data transmitted from an external device, an output format set in the image data, and the like. It is.

ネットワークI/F部9は、ネットワークインタフェース(例えば10/100Base-TX)等を用い、LANなどのネットワークを介して接続された外部装置との間における種々のデータの送受信を行うものである。   The network I / F unit 9 uses a network interface (for example, 10 / 100Base-TX) or the like to transmit and receive various data to and from an external device connected via a network such as a LAN.

画像処理部11は、原稿読取部5による原稿の読み取りによって得られた原稿画像(画像データ)に対する各種画像処理を行うものである。画像処理部11では、例えば原稿読取部5によって読み取られた原稿画像に対する画像データのA/D変換が行われ、当該A/D変換された画像データを用いて上記各種画像処理が行われる。画像処理部11は、判別用画素検出部111を備えている。   The image processing unit 11 performs various image processes on a document image (image data) obtained by reading a document by the document reading unit 5. In the image processing unit 11, for example, A / D conversion of image data is performed on a document image read by the document reading unit 5, and the various image processes are performed using the A / D converted image data. The image processing unit 11 includes a discrimination pixel detection unit 111.

判別用画素検出部111は、原稿画像において濃度の極値(濃度ピーク又は濃度ディップ)となる判別用画素(後述する図3に示す判別用画素303)を検出するものである。   The discrimination pixel detection unit 111 detects discrimination pixels (discrimination pixels 303 shown in FIG. 3 to be described later) that are extreme values of density (density peak or density dip) in the document image.

制御部10は、複写機1の制御プログラムを記憶するROM(Read Only Memory)、一時的にデータを保管するRAM(Random Access Memory)、及び制御プログラム等を上記ROMから読み出して実行するマイクロコンピュータ等からなり、操作部47において入力された指示情報や、本装置の各所に設けられた各種センサからの検出信号に応じて装置全体の制御を行う処理を実行するものである。制御部10は、ヒストグラム作成部101、網点判別部102及び判別対象領域設定部103を備えている。   The control unit 10 includes a ROM (Read Only Memory) that stores a control program of the copying machine 1, a RAM (Random Access Memory) that temporarily stores data, a microcomputer that reads and executes a control program from the ROM, and the like. The processing for controlling the entire apparatus is executed in accordance with the instruction information input from the operation unit 47 and detection signals from various sensors provided in various places of the apparatus. The control unit 10 includes a histogram creation unit 101, a halftone discrimination unit 102, and a discrimination target area setting unit 103.

ヒストグラム作成部101は、判別用画素検出部111によって検出された判別用画素間の2次元平面上の位置関係及び当該位置関係の発生頻度の情報を有する2次元ヒストグラム(例えば後述するベクトルヒストグラム501、901)を作成するものである。   The histogram creation unit 101 has a two-dimensional histogram (for example, a vector histogram 501 described later) having information on the positional relationship between the determination pixels detected by the determination pixel detection unit 111 on the two-dimensional plane and the occurrence frequency of the positional relationship. 901).

ここで、図3を用いて、原稿画像の判別用画素に基づくベクトルヒストグラムの作成について説明する。符号301に示す領域は、画像処理部11(判別用画素検出部111)において濃度ピーク又は濃度ディップの検出に関する画像処理が施された原稿画像における所定領域(所定領域301)を示しており、複数の画素302から構成されている。所定領域301は、後述する検査領域305が移動する(設定される)範囲となっている。符号303に示す黒塗りの画素は、判別用画素検出部111によって検出された判別用画素(判別用画素303)を示している。所定領域301は、例えば600dpiの解像度で読み取られた場合の原稿画像を示しており、所定領域301における複数個の判別用画素303から構成される線、所謂網点線数が例えば1インチあたり120本となる(判別用画素303間の距離は5画素分の長さとなる)場合を示している(図12に示す、解像度600dpiにおける網点線数に対するドット(判別用画素303)間距離を参照)。   Here, the creation of a vector histogram based on the document image discrimination pixels will be described with reference to FIG. An area denoted by reference numeral 301 indicates a predetermined area (predetermined area 301) in an original image on which image processing related to detection of a density peak or density dip has been performed in the image processing unit 11 (determination pixel detection unit 111). Pixel 302. The predetermined area 301 is an area in which an inspection area 305 described later moves (is set). A black pixel denoted by reference numeral 303 indicates a discrimination pixel (discrimination pixel 303) detected by the discrimination pixel detection unit 111. The predetermined area 301 shows a document image when it is read at a resolution of, for example, 600 dpi, and the number of lines composed of a plurality of determination pixels 303 in the predetermined area 301, that is, the so-called halftone dot line number, for example, 120 lines per inch. (The distance between the discrimination pixels 303 is 5 pixels in length) (see the distance between dots (discrimination pixels 303) with respect to the number of halftone lines at a resolution of 600 dpi shown in FIG. 12).

符号304に示す領域は、ベクトルヒストグラムを作成して網点領域であるか否かを判別する対象となる、所定領域301内の所定サイズの(M行×N列の画素からなる)領域(以降、判別対象領域304という)を示している。所定領域301に対する座標軸を同図中に示すようにXY座標軸とすると、ここでは、判別対象領域304を、当該判別対象領域304の縦横の辺の長さがそれぞれY軸方向に例えば16ライン(16画素)分、X軸方向に例えば64画素分の長さからなる長方マトリクスの領域としている。ただし、判別対象領域304は当該16ライン×64画素からなる領域でなくともよく、例えば64ライン×16画素からなる領域であってもよいし、これ以外のサイズの長方マトリクスの領域あるいは正方マトリクスの領域であってもよい。   An area denoted by reference numeral 304 is an area (consisting of pixels of M rows × N columns) of a predetermined size within the predetermined area 301 (hereinafter referred to as a dot area by creating a vector histogram to determine whether it is a halftone dot area) , Referred to as a discrimination target area 304). Assuming that the coordinate axes for the predetermined area 301 are XY coordinate axes as shown in the figure, here, the length of the vertical and horizontal sides of the determination target area 304 is, for example, 16 lines (16 Pixels), a rectangular matrix region having a length of, for example, 64 pixels in the X-axis direction. However, the determination target area 304 may not be the area composed of 16 lines × 64 pixels, for example, may be an area composed of 64 lines × 16 pixels, or a rectangular matrix area or a square matrix of other sizes. It may be a region.

同図中の二重線で囲まれた、縦横の辺がそれぞれ8ライン、8画素の長さである所謂正方マトリクスの検査領域305は、判別対象領域304における或る1つの判別用画素303に対する他の判別用画素303(当該他の判別用画素303は、所定領域301における判別対象領域304以外の領域にある判別用画素303を含む)の位置、すなわち、判別用画素303間の位置関係、及び当該位置関係の発生頻度(後述する度数)に関する検査を行うための領域である。ただし、検査領域305の縦横の辺の長さ(画素数)はこれに限らず、例えば、縦横の辺の長さが異なる所謂長方マトリクスであってもよい。   A so-called square matrix inspection area 305 surrounded by double lines in the figure, each having a length and width of 8 lines and 8 pixels in length, corresponds to a certain discrimination pixel 303 in the discrimination target area 304. The position of another discrimination pixel 303 (the other discrimination pixel 303 includes the discrimination pixel 303 in an area other than the discrimination target area 304 in the predetermined area 301), that is, the positional relationship between the discrimination pixels 303; And an area for performing an inspection relating to the occurrence frequency (frequency described later) of the positional relationship. However, the length (number of pixels) of the vertical and horizontal sides of the inspection region 305 is not limited to this, and may be a so-called rectangular matrix having different vertical and horizontal sides.

符号306に示す図は、説明の便宜上、検査領域305を書き出したものである。この検査領域305内の1つの角部の画素の位置は、各判別用画素303間の位置関係や上記発生頻度を検出するための基準(基点)となる位置を示している(以降、この画素の位置を基準位置307という)。ただし、検査領域305内の基準位置307は、他の角部を含む検査領域305内のいずれの位置であってもよいが、後述するベクトルヒストグラムの原点位置と対応させるために符号306の図に示すような角部の画素の位置が好ましい。   The diagram indicated by reference numeral 306 shows the inspection area 305 written out for convenience of explanation. The position of a pixel at one corner in the inspection area 305 indicates a positional relationship between the respective determination pixels 303 and a position serving as a reference (base point) for detecting the occurrence frequency (hereinafter, this pixel). Is referred to as a reference position 307). However, the reference position 307 in the inspection area 305 may be any position in the inspection area 305 including other corners. However, in order to correspond to the origin position of the vector histogram described later, the reference numeral 306 is illustrated. The pixel positions at the corners as shown are preferred.

ヒストグラム作成部101は、判別用画素検出部111によって検出された各判別用画素303が検査領域305の基準位置307に位置するように所定領域301上に検査領域305を順次設定し、この検査領域305上における基準位置307の位置にある判別用画素303に対する他の判別用画素303の発生頻度を表すベクトルヒストグラムを作成する。検査領域305を所定領域301上に順次設定する場合、検査領域305を所定領域301の画素並びに沿って所定方向(例えば図3の符号308に示す矢印方向)に1画素づつ移動させ、当該移動した位置における検査領域305内に存在する各判別用画素303の上記位置関係及び発生頻度の情報に基づいてベクトルヒストグラムを作成する。   The histogram creation unit 101 sequentially sets the inspection region 305 on the predetermined region 301 so that each determination pixel 303 detected by the determination pixel detection unit 111 is positioned at the reference position 307 of the inspection region 305, and this inspection region A vector histogram representing the frequency of occurrence of other discrimination pixels 303 with respect to the discrimination pixel 303 at the reference position 307 on 305 is created. When the inspection area 305 is sequentially set on the predetermined area 301, the inspection area 305 is moved one pixel at a time along the pixels of the predetermined area 301 in a predetermined direction (for example, the arrow direction indicated by reference numeral 308 in FIG. 3). A vector histogram is created based on the positional relationship and occurrence frequency information of each discrimination pixel 303 existing in the inspection region 305 at the position.

ヒストグラム作成部101は、一致判別部1011、最短位置検出部1012及び積算部1013を備えている。一致判別部1011は、検査領域305の移動に伴って当該検査領域305内の基準位置307を判別対象領域304内の画素並びに沿って1画素づつ移動させていき、当該基準位置307が判別用画素303の位置に来たか否か、すなわち、当該基準位置307が判別用画素303の位置に一致したか否かを判別するものである。   The histogram creation unit 101 includes a match determination unit 1011, a shortest position detection unit 1012, and an integration unit 1013. The coincidence determination unit 1011 moves the reference position 307 in the inspection area 305 one pixel at a time along the pixels in the determination target area 304 along with the movement of the inspection area 305, and the reference position 307 becomes the determination pixel. It is determined whether or not the position 303 is reached, that is, whether or not the reference position 307 matches the position of the determination pixel 303.

基準位置307の当該移動は、判別対象領域304の全画素(全領域)に対して行われる。この場合、基準位置307の移動を、判別対象領域304における例えば符号311に示す端部(角部)の画素(第1画素とする)からスタートして順に画素312、313、・・・というように上記符号308に示す矢印の方向に移動させ、画素314(第64画素)の位置まで到達すると(第1ライン315の検査が終了すると)、次に第2ライン316に移行して同様に第1画素の位置から第64画素の位置まで移動させる。同様にして、第3ライン317、・・・第16ライン318と順に移行させる。このようにして、判別対象領域304の全画素に対して基準位置307の設定(移動)が行われる。   The movement of the reference position 307 is performed for all pixels (all regions) in the determination target region 304. In this case, the movement of the reference position 307 starts from, for example, an end (corner) pixel (referred to as a first pixel) indicated by reference numeral 311 in the determination target region 304, and the pixels 312, 313,. When the position of the pixel 314 (the 64th pixel) is reached (when the inspection of the first line 315 is completed), the process proceeds to the second line 316 and the second Move from the position of one pixel to the position of the 64th pixel. Similarly, the third line 317,..., And the sixteenth line 318 are sequentially shifted. In this way, the reference position 307 is set (moved) for all the pixels in the determination target region 304.

なお、所定領域301は、図3に示すように、判別対象領域304と、判別対象領域304の片側の外周部の領域、すなわち、Y軸方向に7ライン分、X軸方向に7画素分の領域とを合わせた領域となっているが、このY軸方向に7ライン分、X軸方向に7画素分の領域は、基準位置307が判別対象領域304内を移動する場合に、当該基準位置307を含む検査領域305がはみ出す部分の領域である。例えば、基準位置307の移動に伴って検査領域305が符号319に示す位置に移動したとすると、検査領域305が、第16ライン318のライン位置からY軸方向に7ライン分突出する。X軸方向の7画素分の領域についても同様である。   As shown in FIG. 3, the predetermined area 301 includes a determination target area 304 and an outer peripheral area on one side of the determination target area 304, that is, seven lines in the Y-axis direction and seven pixels in the X-axis direction. This area is an area that is combined with the area. The area corresponding to 7 lines in the Y-axis direction and 7 pixels in the X-axis direction is the reference position when the reference position 307 moves in the determination target area 304. This is an area where the inspection area 305 including 307 protrudes. For example, if the inspection area 305 moves to the position indicated by reference numeral 319 as the reference position 307 moves, the inspection area 305 protrudes from the line position of the 16th line 318 by 7 lines in the Y-axis direction. The same applies to the region for seven pixels in the X-axis direction.

最短位置検出部1012は、一致判別部1011によって基準位置307と判別用画素303の位置との一致が検出された場合に、基準位置307にある判別用画素303と検査領域305内に存在するその他の各判別用画素303との距離を算出し、この結果に基づいて、基準位置307から最短距離にある判別用画素303を検出するものである。例えば、符号306に示す検査領域305の符号309及び符号310に示す位置の画素が判別用画素303であったとすると、符号310に示す位置の判別用画素303が、基準位置307から最短距離の位置にある判別用画素303となる。   When the coincidence determination unit 1011 detects the coincidence between the reference position 307 and the position of the determination pixel 303, the shortest position detection unit 1012 and the other pixels existing in the inspection region 305 and the determination pixel 303 at the reference position 307 The distance to each of the determination pixels 303 is calculated, and based on the result, the determination pixel 303 at the shortest distance from the reference position 307 is detected. For example, assuming that the pixels at the positions indicated by reference numerals 309 and 310 in the inspection area 305 indicated by reference numeral 306 are the determination pixels 303, the determination pixel 303 at the position indicated by reference numeral 310 is located at the shortest distance from the reference position 307. This is the discrimination pixel 303 in FIG.

積算部1013は、所定領域301上の所定の位置に検査領域305が設定される毎に(判別対象領域304の各画素上を基準位置307が移動する毎に)、最短位置検出部1012によって検出された、基準位置307に位置する判別用画素303から最短距離の位置にある判別用画素303の出現回数を積算(カウント)するものである。なお、積算
部1013による積算によって得られた積算値が度数であり、この度数の情報を用いて例
えば、図4に示すようなベクトルヒストグラムが作成される。
The integration unit 1013 is detected by the shortest position detection unit 1012 every time the inspection region 305 is set at a predetermined position on the predetermined region 301 (each time the reference position 307 moves on each pixel of the determination target region 304). The number of appearances of the discrimination pixel 303 at the shortest distance from the discrimination pixel 303 located at the reference position 307 is integrated (counted). The integrated value obtained by the integration by the integration unit 1013 is a frequency, and a vector histogram as shown in FIG. 4 is created using the frequency information, for example.

図4に示すように、ベクトルヒストグラム401は、縦軸(Y軸)及び横軸(X軸)の座標軸の値が、それぞれ検査領域305の8行(8ライン)及び8列(8画素)の画素の位置に対応し、かつ、X座標及びY座標の値がゼロとなる符号402に示す位置にある画素(以降、この画素のことを原点という)が、検査領域305における基準位置307に対応するとともに、上記積算値(度数)がXY軸を有する2次元座標平面内に分布してなる所謂2次元ヒストグラムである。   As shown in FIG. 4, in the vector histogram 401, the values of the coordinate axes of the vertical axis (Y axis) and the horizontal axis (X axis) are 8 rows (8 lines) and 8 columns (8 pixels) of the inspection area 305, respectively. A pixel corresponding to the position of the pixel and located at the position indicated by reference numeral 402 where the values of the X coordinate and the Y coordinate are zero (hereinafter, this pixel is referred to as the origin) corresponds to the reference position 307 in the inspection region 305. In addition, the integrated value (frequency) is a so-called two-dimensional histogram that is distributed in a two-dimensional coordinate plane having XY axes.

ベクトルヒストグラム401の符号403に示す位置の度数「42」は、図3における判別対象領域304の全領域に亘って基準位置307を移動させた場合に、当該基準位置307となった判別用画素303から最短距離となる位置の判別用画素303(この場合、基準位置307から見て符号310に示す画素)が42回出現したことを示している。ただし、この場合の所定領域301に示す各判別用画素303は、規則的に配列された(網点による線が形成された)ものであるため、このように、基準位置307の位置から見て同じ位置に42回出現した結果となっている。   The frequency “42” at the position indicated by reference numeral 403 in the vector histogram 401 is the discrimination pixel 303 that has become the reference position 307 when the reference position 307 is moved over the entire discrimination target area 304 in FIG. This indicates that the determination pixel 303 (in this case, the pixel indicated by reference numeral 310 when viewed from the reference position 307) at the position having the shortest distance from the terminal appears 42 times. However, since the respective discrimination pixels 303 shown in the predetermined area 301 in this case are regularly arranged (a line formed by a halftone dot is formed), as seen from the position of the reference position 307 as described above. This is a result of appearing 42 times at the same position.

なお、上記座標平面内に分布する各度数は、符号402に示す原点(原点402)から見た場合に、「向き」(座標位置)と「大きさ」(原点402からの距離)との情報を有するものであることから、当該度数をベクトル的なものと見なしてベクトルヒストグラムと称している。   Each frequency distributed in the coordinate plane is information on “direction” (coordinate position) and “size” (distance from the origin 402) when viewed from the origin (origin 402) indicated by reference numeral 402. Therefore, the frequency is regarded as a vector and is referred to as a vector histogram.

網点判別部102は、ヒストグラム作成部101によって作成されたベクトルヒストグラムを用いて、基準位置307から最短距離に位置する判別用画素303と基準位置307との間の距離及び当該判別用画素303の発生頻度を特定し、この特定した距離及び発生頻度に基づいて所定領域301内の網点領域を判別するものである。網点判別部102は、最大値検出部1021、距離算出部1022及び割合算出部1023を備えている。   The halftone dot discrimination unit 102 uses the vector histogram created by the histogram creation unit 101 to determine the distance between the discrimination pixel 303 located at the shortest distance from the reference position 307 and the reference position 307, and the discrimination pixel 303. The occurrence frequency is specified, and the dot area in the predetermined area 301 is determined based on the specified distance and the occurrence frequency. The halftone dot determination unit 102 includes a maximum value detection unit 1021, a distance calculation unit 1022, and a ratio calculation unit 1023.

ここで、ヒストグラム作成部101によって作成された、例えば図5に示すベクトルヒストグラム501を用いて、最大値検出部1021、距離算出部1022及び割合算出部1023、並びにこれらを備えた網点判別部102による網点領域の判別について以下に説明する。   Here, for example, using a vector histogram 501 shown in FIG. 5 created by the histogram creation unit 101, a maximum value detection unit 1021, a distance calculation unit 1022, a ratio calculation unit 1023, and a halftone dot discrimination unit 102 including these. Discrimination of a halftone dot region by means of will be described below.

最大値検出部1021は、ヒストグラム作成部101によって作成されたベクトルヒストグラムにおける各度数、すなわち、積算部1013による積算によって得られた各度数のうちの最大値(以降、最大値を有する度数のことを最大度数という)を検出するものである。例えば、最大値検出部1021によって検出されたベクトルヒストグラム501における最大度数は、符号502に示す位置の度数「26」となる。   The maximum value detection unit 1021 represents each frequency in the vector histogram created by the histogram creation unit 101, that is, the maximum value of the frequencies obtained by the integration by the integration unit 1013 (hereinafter, the frequency having the maximum value). Is called the maximum frequency). For example, the maximum frequency in the vector histogram 501 detected by the maximum value detection unit 1021 is the frequency “26” at the position indicated by reference numeral 502.

距離算出部1022は、最大値検出部1021によって検出された最大度数の位置と、ベクトルヒストグラムの原点(基準位置307に相当)との間の距離を算出するものである。距離算出部1022は、例えばベクトルヒストグラム501において、原点503と最大度数「26」との間の距離を算出する。この距離は、ベクトルヒストグラムにおける原点の画素と最大度数の位置の画素との中心点間の距離に相当するものであり、各位置の座標値に基づく三平方(ピタゴラス)の定理から算出してもよい。例えば、XY座標が(0、0)で表される原点503と、XY座標が(1、4)で表される最大度数「26」とにおけるX座標間の長さは1(1画素分)であり、Y座標間の長さは4(4画素分)であることから、求める距離をLとすると、L2=12+42の式からLの値は、上記4.12(小数点第3位を四捨五入)と算出される。 The distance calculation unit 1022 calculates the distance between the position of the maximum frequency detected by the maximum value detection unit 1021 and the origin of the vector histogram (corresponding to the reference position 307). For example, in the vector histogram 501, the distance calculation unit 1022 calculates the distance between the origin 503 and the maximum frequency “26”. This distance corresponds to the distance between the center points of the pixel at the origin and the pixel at the maximum frequency position in the vector histogram, and can be calculated from the Pythagorean theorem based on the coordinate value of each position. Good. For example, the length between the X coordinates at the origin 503 whose XY coordinates are represented by (0, 0) and the maximum frequency “26” whose XY coordinates are represented by (1, 4) is 1 (for one pixel). Since the length between the Y coordinates is 4 (for 4 pixels), if the distance to be calculated is L, the value of L can be calculated from the above formula of L 2 = 1 2 +4 2 by the above 4.12. It is calculated as 3rd place rounded off).

なお、図11は、ベクトルヒストグラムの原点と当該ベクトルヒストグラムに分布する各度数の位置との距離を纏めたテーブル550であるが、予めこのようなテーブル550を距離算出部1022などに記憶しておき、必要に応じてこのテーブル550を用いて当該距離の値を取得する構成としてもよい。この場合、原点503と最大度数「26」との距離は、テーブル550の符号551に示す位置の情報から「4.12」と得られる。   FIG. 11 shows a table 550 that summarizes the distance between the origin of the vector histogram and the positions of the frequencies distributed in the vector histogram. Such a table 550 is stored in advance in the distance calculation unit 1022 or the like. The distance value may be acquired using this table 550 as necessary. In this case, the distance between the origin 503 and the maximum frequency “26” is obtained as “4.12” from the position information indicated by the reference numeral 551 in the table 550.

割合算出部1023は、ベクトルヒストグラムに分布する各度数を合計した総度数に対する最大度数の割合(パーセンテージ)を算出するものである。例えば、ベクトルヒストグラム501においては、総度数が「53」であり、最大度数が「26」であるため、求める割合は、(「26」÷「53」)×100の式から約49%となる。   The ratio calculation unit 1023 calculates a ratio (percentage) of the maximum frequency with respect to the total frequency obtained by adding the frequencies distributed in the vector histogram. For example, in the vector histogram 501, since the total frequency is “53” and the maximum frequency is “26”, the ratio to be calculated is about 49% from the formula of (“26” ÷ “53”) × 100. .

網点判別部102は、最大値検出部1021、距離算出部1022及び割合算出部1023それぞれによって得られた度数の最大値、原点と最大度数との間の距離、及び総度数に対する最大度数の割合の情報に基づいて、判別対象領域304が網点領域であるか否かの判別を行う。具体的には、以下(1)〜(3)の3条件を満たす場合には、判別対象領域304における部分領域が網点領域であると判別され、そうでない場合には、当該部分領域は網点領域でないと判別される。
(1)ベクトルヒストグラムにおける度数の最大値>15
(2)ベクトルヒストグラムにおける原点と最大度数との間の距離<5.0
(3)ベクトルヒストラムにおける総度数に対する最大度数の割合>40%
The halftone dot determination unit 102 includes a maximum frequency value obtained by the maximum value detection unit 1021, the distance calculation unit 1022, and the ratio calculation unit 1023, the distance between the origin and the maximum frequency, and the ratio of the maximum frequency to the total frequency. Based on this information, it is determined whether or not the determination target area 304 is a halftone dot area. Specifically, if the following three conditions (1) to (3) are satisfied, it is determined that the partial area in the determination target area 304 is a halftone dot area; It is determined that it is not a point area.
(1) Maximum value of frequency in vector histogram> 15
(2) Distance between origin and maximum frequency in vector histogram <5.0
(3) Ratio of maximum frequency to total frequency in vector histogram> 40%

図5に示すベクトルヒストグラム501に対しては、最大値は「26」(>15)、原点と最大度数との間の距離は「4.12」(<5.0)、及び総度数に対する最大度数の割合は「49%」(>40%)と上記3条件を満たしているため、判別対象領域304の部分領域は網点領域であると判別される。   For the vector histogram 501 shown in FIG. 5, the maximum value is “26” (> 15), the distance between the origin and the maximum frequency is “4.12” (<5.0), and the maximum for the total frequency. Since the frequency ratio is “49%” (> 40%), which satisfies the above three conditions, it is determined that the partial region of the determination target region 304 is a halftone dot region.

なお、上記3条件の設定は、解像度600dpiにおける網点線数が133線以上となる場合を網点と判別し、120線以下となる場合を網点と判別しない設定となっており、ベクトルヒストグラム501は、150線(スクリーン角75°)の網点(網点画像)に対応するものとなっている(これら網点線数に関しては、図12参照)。また、ベクトル
ヒストグラム501における斜線部の領域は、原点503からの距離が5.0未満の領域を示している。
The above three conditions are set so that a halftone dot when the number of halftone lines at a resolution of 600 dpi is 133 lines or more is determined as a halftone dot, and a case where it is 120 lines or less is not determined as a halftone dot. Corresponds to a halftone dot (halftone dot image) of 150 lines (screen angle 75 °) (refer to FIG. 12 for the number of halftone lines). Also, the shaded area in the vector histogram 501 indicates an area having a distance from the origin 503 of less than 5.0.

ところで、上記部分領域とは、所定領域301内における網点判別の結果を反映する領域であり、この場合、判別対象領域304を複数の部分領域に区分したもののうちの1つの領域を示している。図3を用いてこの反映について説明すると、判別対象領域304内の斜線部で示された領域320が部分領域(以降、反映領域320という)であり、網点判別部102によって、判別対象領域304に対して作成された例えばベクトルヒストグラム501が、網点と判別される条件(上記(1)〜(3)の条件)を満たしている場合、反映領域320は、網点領域であると判別(判定)され、ベクトルヒストグラム501が、網点と判別される条件を満たしていない場合、反映領域320は、網点領域でないと判別(判定)される。   By the way, the partial area is an area that reflects the result of halftone dot discrimination in the predetermined area 301. In this case, the partial area is one area obtained by dividing the discrimination target area 304 into a plurality of partial areas. . This reflection will be described with reference to FIG. 3. A region 320 indicated by hatching in the determination target region 304 is a partial region (hereinafter referred to as a reflection region 320). For example, when the vector histogram 501 created for the image satisfies a condition for determining a halftone dot (the above conditions (1) to (3)), the reflection area 320 is determined to be a halftone dot area ( If the vector histogram 501 does not satisfy the condition for determining a halftone dot, it is determined (determined) that the reflection area 320 is not a halftone dot area.

反映領域320は、判別対象領域304がX軸方向に所定数分区分(例えば4等分)されてなる領域のうちの、当該X軸方向の一端部の領域となっている。ただし、反映領域320のサイズは、上記4等分された16ライン×16画素のサイズでなくともよく、例えば16ライン×8画素や16ライン×32画素といったサイズの部分領域であってもよい。この場合、判別対象領域304(所定領域301)に対する反映領域320のサイズが小さくなる程、ベクトルヒストグラムの作成回数、すなわち、所定領域301に対する網点判別を行う回数が増加することになり、ひいては、所定領域301に対する網点領域の判別の精度をより高めることができる。換言すれば、所定領域301における判別対象領域304全体に対して網点判別の結果を反映せず、この判別対象領域304のサイズよりも小さいサイズの反映領域320に対して網点判別の結果を反映することによって、判別対象領域304全体が網点領域であると誤判別(誤判定)されてしまう確率を低くすることができ(誤判別の領域を狭くすることができ)、ひいては、判別の精度をより高めることができる。   The reflection area 320 is an area at one end in the X-axis direction among areas obtained by dividing the determination target area 304 by a predetermined number (for example, four equal parts) in the X-axis direction. However, the size of the reflection area 320 may not be the size of 16 lines × 16 pixels divided into four equal parts, but may be a partial area having a size of 16 lines × 8 pixels or 16 lines × 32 pixels, for example. In this case, the smaller the size of the reflection area 320 with respect to the determination target area 304 (predetermined area 301), the greater the number of vector histogram creations, that is, the number of halftone dot determinations for the predetermined area 301. The accuracy of halftone dot region discrimination with respect to the predetermined region 301 can be further increased. In other words, the halftone dot determination result is not reflected on the entire determination target area 304 in the predetermined area 301, and the halftone dot determination result is applied to the reflection area 320 having a size smaller than the size of the determination target area 304. By reflecting, it is possible to reduce the probability that the entire discrimination target area 304 is a halftone dot area (misidentification), so that the misclassification area can be narrowed. The accuracy can be further increased.

判別対象領域設定部103は、所定領域301における、検査領域305の基準位置307が移動する領域(判別対象領域304)の設定を、反映領域320に対する判別結果が反映される毎に順次行うものである。例えば、判別対象領域設定部103は、網点判別部102による網点判別の結果が反映領域320に反映されると、次の判別対象領域304を、反映領域320に隣接した位置、すなわち、例えば図3に示す判別対象領域304の位置からX軸方向に16画素分(反映領域320のX軸方向の長さ分)平行移動させた位置に設定する。当該次の判別対象領域304に対する網点判別及びこの判別結果の反映領域320への反映が終了すると、判別対象領域304をさらに次の位置へ移動させる。以降、同様の動作を所定領域301全体に亘って繰り返す。   The discrimination target area setting unit 103 sequentially sets the area (the discrimination target area 304) where the reference position 307 of the inspection area 305 moves in the predetermined area 301 every time the discrimination result for the reflection area 320 is reflected. is there. For example, when the result of halftone dot discrimination by the halftone dot discrimination unit 102 is reflected in the reflection area 320, the discrimination target area setting unit 103 sets the next discrimination target area 304 to a position adjacent to the reflection area 320, that is, for example, It is set to a position translated from the position of the discrimination target region 304 shown in FIG. 3 by 16 pixels in the X-axis direction (the length of the reflection region 320 in the X-axis direction). When the halftone dot determination for the next determination target region 304 and the reflection of the determination result to the reflection region 320 are completed, the determination target region 304 is further moved to the next position. Thereafter, the same operation is repeated over the entire predetermined area 301.

なお、図3に示す判別対象領域304の次の位置への移動は、上記X軸方向への平行移動に限らず、例えば、Y軸方向に16ライン分(反映領域320のY軸方向の長さ分)の平行移動であってもよいし、X軸方向及びY軸方向へ交互に(又は不規則に)平行移動させるような移動であってもよい。   The movement to the next position of the discrimination target area 304 shown in FIG. 3 is not limited to the parallel movement in the X-axis direction, for example, 16 lines in the Y-axis direction (the length of the reflection area 320 in the Y-axis direction). It may be a parallel movement, or may be a movement that is alternately (or irregularly) translated in the X-axis direction and the Y-axis direction.

また、所定領域301全体に亘って反映領域320への判別結果の反映が進行することにより、この判別結果が反映された各反映領域320以外の残りの領域(例えば所定領域301の端部近傍の領域)が、判別対象領域304のサイズより小さくなり、当該判別対象領域304の領域(図3の場合では16ライン×64画素のサイズ)が設定できない場合には、残りの領域に対するベクトルヒストグラムを作成し、このベクトルヒストグラムに基づいて、残りの領域(この残りの領域が反映領域320に相当する)に対する網点判別を行う構成であってもよい。   In addition, the reflection of the determination result in the reflection area 320 over the entire predetermined area 301 causes the remaining areas other than the reflection areas 320 to reflect the determination result (for example, near the end of the predetermined area 301). If the area is smaller than the size of the discrimination target area 304 and the area of the discrimination target area 304 (16 lines × 64 pixels in the case of FIG. 3) cannot be set, a vector histogram is created for the remaining areas. However, it may be configured to perform halftone dot discrimination for the remaining area (this remaining area corresponds to the reflection area 320) based on this vector histogram.

図6は、第1の実施形態に係る原稿画像に対する網点判別に関する動作の一例を示すフローチャートである。まず、原稿読取部5による原稿(網点原稿)の読み取りなどによって原稿画像が取得される(ステップS1)。判別用画素検出部111によって、この原稿画像(原稿画像における所定領域301)から判別用画素303が検出される(ステップS2)。そして、判別対象領域設定部103によって原稿画像における判別対象領域304が設定され(ステップS3)、ヒストグラム作成部101によって、この判別対象領域304に対するベクトルヒストグラム(例えばベクトルヒストグラム501)が作成される(ステップS4)。   FIG. 6 is a flowchart showing an example of an operation related to halftone dot discrimination for a document image according to the first embodiment. First, a document image is acquired by reading a document (half-tone document) by the document reading unit 5 (step S1). The discrimination pixel detection unit 111 detects the discrimination pixel 303 from the original image (the predetermined region 301 in the original image) (step S2). Then, the discrimination target area 304 in the document image is set by the discrimination target area setting unit 103 (step S3), and the histogram creation unit 101 creates a vector histogram (for example, the vector histogram 501) for the discrimination target area 304 (step S3). S4).

次に、このベクトルヒストグラム501における最大度数(「26」)が最大値検出部1021によって検出され(ステップS5)、原点503と最大度数の位置との間の距離が距離算出部1022によって算出され(ステップS6)、また、総度数に対する最大度数の割合が割合算出部1023によって算出される(ステップS7)。そして、これら最大値検出部1021、距離算出部1022及び割合算出部1023によって得られた最大値、距離及び割合の情報に基づいて、網点判別部102によって判別対象領域304における反映領域320が網点領域であるか否かの判別が行われる(ステップS8)。   Next, the maximum frequency (“26”) in the vector histogram 501 is detected by the maximum value detection unit 1021 (step S5), and the distance between the origin 503 and the position of the maximum frequency is calculated by the distance calculation unit 1022 ( In step S6), the ratio of the maximum frequency to the total frequency is calculated by the ratio calculation unit 1023 (step S7). Then, based on the maximum value, distance, and ratio information obtained by the maximum value detection unit 1021, the distance calculation unit 1022, and the ratio calculation unit 1023, the halftone dot determination unit 102 sets the reflection area 320 in the determination target area 304 to the network. It is determined whether or not it is a point area (step S8).

原稿画像全体に亘って網点判別結果の反映領域320への反映が終了していない場合には(ステップS9のNO)、ステップS3に戻り、判別対象領域設定部103による次の判別対象領域304の設定が行われる。当該網点判別結果の反映領域320への反映が終了した場合には(ステップS9のYES)、フロー終了となる。   When the reflection of the halftone dot discrimination result to the reflection area 320 is not completed over the entire document image (NO in step S9), the process returns to step S3, and the next discrimination target area 304 by the discrimination target area setting unit 103 is returned. Is set. When the reflection of the halftone dot determination result in the reflection area 320 is completed (YES in step S9), the flow ends.

図7は、図6に示すステップS4におけるベクトルヒストグラム作成に関する動作の一例を示すフローチャートである。まず、判別対象領域304における所定の画素の位置が注目位置とされ、すなわち、基準位置307の位置となる判別対象領域304における画素が設定され(ステップS41)、基準位置307と判別用画素303の位置とが一致するか否かの判別が一致判別部1011によって行われる(ステップS42)。基準位置307と判別用画素303とが一致する場合には(ステップS43のYES)、最短位置検出部1012によって、検査領域305における、当該基準位置307にある判別用画素303から最短距離の位置にある判別用画素303の検出が行われ(ステップS44)、当該基準位置307から最短距離の位置にある判別用画素303の検出回数(出現回数)が積算される(ステップS45)。   FIG. 7 is a flowchart showing an example of an operation related to vector histogram creation in step S4 shown in FIG. First, the position of a predetermined pixel in the discrimination target area 304 is set as a target position, that is, the pixel in the discrimination target area 304 that is the position of the reference position 307 is set (step S41), and the reference position 307 and the discrimination pixel 303 are set. The coincidence determination unit 1011 determines whether or not the position matches (step S42). When the reference position 307 and the determination pixel 303 match (YES in step S43), the shortest position detection unit 1012 sets the shortest distance from the determination pixel 303 at the reference position 307 in the inspection region 305. A certain discrimination pixel 303 is detected (step S44), and the number of detections (appearance count) of the discrimination pixel 303 located at the shortest distance from the reference position 307 is integrated (step S45).

所定領域301の全領域に対する検査領域305の設定が終了していない場合には、すなわち、基準位置307の移動(設定)が判別対象領域304の全領域に対して終了していない場合には(ステップS46のNO)、ステップS41に戻って、次の基準位置307となる判別対象領域304の画素の位置が設定される。基準位置307の移動が判別対象領域304の全領域に対して終了した場合には(ステップS46のYES)、ベクトルヒストグラムの作成が終了される。   When the setting of the inspection area 305 for all areas of the predetermined area 301 is not completed, that is, when the movement (setting) of the reference position 307 is not completed for all areas of the determination target area 304 ( NO in step S46), the process returns to step S41, and the position of the pixel in the determination target region 304 to be the next reference position 307 is set. When the movement of the reference position 307 is completed for all the areas to be determined 304 (YES in step S46), the creation of the vector histogram is ended.

なお、基準位置307の画素が判別用画素303でない場合には、すなわち、基準位置307と判別用画素303の位置とが一致しない場合には(ステップS43のNO)、判別用画素303の検出回数の積算が行われず、ステップS46へ移行する。   If the pixel at the reference position 307 is not the determination pixel 303, that is, if the reference position 307 and the position of the determination pixel 303 do not match (NO in step S43), the number of times the determination pixel 303 is detected. Is not performed, and the process proceeds to step S46.

(第2実施形態)
図8は、本発明の第2の実施形態に係る画像処理装置の一例である複写機1aの概略構
成を示すブロック図である。図8に示す複写機1aと図1に示す複写機1とでは、下記の点で異なる。すなわち、図8に示す複写機1aでは、網点判別部102aが、合計度数算出部1024を備えている。この合計度数算出部1024は、ベクトルヒストグラムの原点からの距離が所定値以上所定値以下の範囲となる位置にある度数を合計した合計度数を算出するものである。その他の構成は図2に示す複写機1と同様であるので、以下本実施形態の動作について説明する。
(Second Embodiment)
FIG. 8 is a block diagram showing a schematic configuration of a copying machine 1a which is an example of an image processing apparatus according to the second embodiment of the present invention. The copying machine 1a shown in FIG. 8 is different from the copying machine 1 shown in FIG. 1 in the following points. That is, in the copier 1a shown in FIG. 8, the halftone dot determination unit 102a includes a total frequency calculation unit 1024. The total frequency calculation unit 1024 calculates a total frequency by summing the frequencies in a position where the distance from the origin of the vector histogram is in a range between a predetermined value and a predetermined value. Since the other configuration is the same as that of the copying machine 1 shown in FIG. 2, the operation of this embodiment will be described below.

ここで、ヒストグラム作成部101によって作成された、例えば図9に示すベクトルヒストグラム901を用いて以下説明する。   Here, the following description will be made using, for example, a vector histogram 901 shown in FIG. 9 created by the histogram creation unit 101.

網点判別部102aは、距離算出部1022及び合計度数算出部1024それぞれによって得られた原点と最大度数との間の距離、及び合計度数の情報に基づいて、判別対象領域304が網点領域であるか否かの判別を行う。具体的には、以下(1)、(2)の2条件を満たす場合には、判別対象領域304における部分領域(反映領域320)が網点領域であると判別され、そうでない場合には、反映領域320は網点領域でないと判別される。
(1)ベクトルヒストグラムにおける原点と最大度数との間の距離≦5.0
(2)ベクトルヒストグラムにおける原点からの距離が2.5以上5.5以下の範囲の合計度数>25
The halftone dot determination unit 102a determines that the determination target region 304 is a halftone dot region based on the distance between the origin and the maximum frequency obtained by the distance calculation unit 1022 and the total frequency calculation unit 1024, and information on the total frequency. It is determined whether or not there is. Specifically, when the following two conditions (1) and (2) are satisfied, it is determined that the partial area (reflection area 320) in the determination target area 304 is a halftone dot area, and otherwise, It is determined that the reflection area 320 is not a halftone dot area.
(1) Distance between origin and maximum frequency in vector histogram ≦ 5.0
(2) Total frequency> 25 in the range where the distance from the origin in the vector histogram is 2.5 or more and 5.5 or less

図9に示すベクトルヒストグラム901に対しては、最大値検出部1021によって検出された最大度数は符号902に示す位置の度数「22」であり、符号903に示す原点(原点903)と最大度数「22」の位置との間の距離は4.47(≦5.0)となる。また、原点903からの距離が2.5以上5.5以下となる範囲の合計度数は「42」(>25)となり、よって上記2条件を満たしているため、判別対象領域304における反映領域320は網点領域であると判別される。   For the vector histogram 901 shown in FIG. 9, the maximum frequency detected by the maximum value detection unit 1021 is the frequency “22” at the position indicated by reference numeral 902, and the origin (origin 903) and the maximum frequency “ The distance between the position 22 ”is 4.47 (≦ 5.0). In addition, the total frequency of the range in which the distance from the origin 903 is 2.5 or more and 5.5 or less is “42” (> 25), and thus the above two conditions are satisfied. Is determined to be a halftone dot region.

なお、上記2条件の設定は、解像度600dpiにおける網点線数が120線以上となる場合を網点と判別し、100線以下となる場合を網点と判別しない設定となっており、ベクトルヒストグラム901は、133線(スクリーン角30°)の網点に対応するものとなっている(これら網点線数に関しては、図12参照)。また、ベクトルヒストグラム
901における斜線部の領域が原点903からの距離が2.5以上5.5以下の領域を示
している。
The above two conditions are set such that when the number of halftone lines at a resolution of 600 dpi is 120 lines or more, it is determined as a halftone dot, and when it is 100 lines or less, it is not determined as a halftone dot. Corresponds to halftone dots on line 133 (screen angle 30 °) (see FIG. 12 for the number of halftone dots). In addition, the shaded area in the vector histogram 901 indicates an area whose distance from the origin 903 is 2.5 or more and 5.5 or less.

図10は、第2の実施形態に係る原稿画像に対する網点判別に関する動作の一例を示す
フローチャートである。まず、原稿読取部5による原稿の読み取りなどによって原稿画像が取得される(ステップS21)。判別用画素検出部111によって、この原稿画像から判別用画素303が検出される(ステップS22)。そして、判別対象領域設定部103によって所定領域301における判別対象領域304が設定され(ステップS23)、ヒストグラム作成部101によって、この判別対象領域304に対するベクトルヒストグラム(例えばベクトルヒストグラム901)が作成される(ステップS24)。
FIG. 10 is a flowchart showing an example of an operation related to halftone dot discrimination for a document image according to the second embodiment. First, a document image is acquired by reading a document by the document reading unit 5 (step S21). The discrimination pixel detection unit 111 detects the discrimination pixel 303 from the document image (step S22). Then, the discrimination target area 304 in the predetermined area 301 is set by the discrimination target area setting unit 103 (step S23), and the histogram creation unit 101 creates a vector histogram (for example, a vector histogram 901) for the discrimination target area 304 ( Step S24).

次に、このベクトルヒストグラム901における最大度数(「22」)が最大値検出部
1021によって検出され(ステップS25)、原点903と最大度数の位置との間の距離が距離算出部1022によって算出され(ステップS26)、また、原点903からの距離が所定値以上所定値以下の範囲の位置にある度数の合計値である合計度数が合計度数算出部1024によって算出される(ステップS27)。そして、距離算出部1022及び合計度数算出部1024によって得られた距離及び合計度数の情報に基づいて、網点判別部102によって判別対象領域304における反映領域320が網点領域であるか否かの判別が行われる(ステップS28)。
Next, the maximum frequency (“22”) in the vector histogram 901 is detected by the maximum value detection unit 1021 (step S25), and the distance between the origin 903 and the position of the maximum frequency is calculated by the distance calculation unit 1022 ( In step S26), the total frequency which is the total value of the frequencies in the range where the distance from the origin 903 is not less than the predetermined value and not more than the predetermined value is calculated by the total frequency calculating unit 1024 (step S27). Then, based on the distance and total frequency information obtained by the distance calculation unit 1022 and the total frequency calculation unit 1024, the halftone dot determination unit 102 determines whether the reflection region 320 in the determination target region 304 is a halftone dot region. A determination is made (step S28).

原稿画像全体に亘って網点判別結果の反映領域320への反映が終了していない場合には(ステップS29のNO)、ステップS23に戻り、判別対象領域設定部103による次の判別対象領域304の設定が行われる。当該網点判別結果の反映領域320への反映が終了した場合には(ステップS29のYES)、フロー終了となる。   When the reflection of the halftone dot determination result to the reflection area 320 is not completed over the entire document image (NO in step S29), the process returns to step S23, and the next determination target area 304 by the determination target area setting unit 103 is returned. Is set. When the reflection of the halftone dot determination result in the reflection area 320 is completed (YES in step S29), the flow ends.

なお、上記ステップS24におけるベクトルヒストグラムの作成動作に関するフローチャートは、第1の実施形態における図7に示すフローチャートと同様であるため、その説明を省略する。   Note that the flowchart regarding the vector histogram creation operation in step S24 is the same as the flowchart shown in FIG. 7 in the first embodiment, and a description thereof will be omitted.

以上のとおり、本発明の画像処理装置によれば、原稿読取部5によって原稿画像が取得され、原稿読取部5によって取得された原稿画像の所定領域301において濃度の極値となる判別用画素303が判別用画素検出部111によって検出される。そして、判別用画素検出部111によって検出された判別用画素303間の2次元平面上の位置関係及び当該位置関係の発生頻度に基づいて所定領域301内の網点領域が制御部10によって判別される。このように、判別用画素303間の2次元平面上の位置関係及び当該位置関係の
発生頻度の情報に基づいて網点判別が行われるため、原稿における網点領域の判別を精度
良く行うことができる。
As described above, according to the image processing apparatus of the present invention, a document image is acquired by the document reading unit 5, and the determination pixel 303 having an extreme value of density in the predetermined region 301 of the document image acquired by the document reading unit 5. Is detected by the discrimination pixel detection unit 111. Then, based on the positional relationship between the determination pixels 303 detected by the determination pixel detection unit 111 on the two-dimensional plane and the frequency of occurrence of the positional relationship, the dot region in the predetermined region 301 is determined by the control unit 10. The As described above, halftone dot discrimination is performed based on the positional relationship between the discrimination pixels 303 on the two-dimensional plane and the information on the frequency of occurrence of the positional relationship, so that the halftone dot region in the document can be accurately determined. it can.

また、制御部10には、判別用画素検出部111によって検出された各判別用画素30
3が検査領域305の基準位置307に位置するように所定領域301上に検査領域305が順次設定され、検査領域305上における基準位置307の判別用画素303に対する他の判別用画素303の発生頻度を表す2次元ヒストグラム(ベクトルヒストグラム)を作成するヒストグラム作成部101と、ヒストグラム作成部101によって作成されたベクトルヒストグラムを用いて、基準位置307から最短距離に位置する判別用画素303と基準位置307との間の距離及び当該判別用画素303の発生頻度を特定し、特定した距離及び発生頻度を基に所定領域301内の網点領域を判別する網点判別部102とが含まれる。このように、検査領域305上における基準位置307の判別用画素303に対する他の判別用画素303の発生頻度(度数)を表すベクトルヒストグラムが作成され、このベクトルヒストグラムに基づいて網点判別が行われるため、原稿における網点領域の判別を容易に行うことができる。
Further, the control unit 10 includes each discrimination pixel 30 detected by the discrimination pixel detection unit 111.
The inspection area 305 is sequentially set on the predetermined area 301 so that 3 is positioned at the reference position 307 of the inspection area 305, and the occurrence frequency of the other determination pixels 303 with respect to the determination pixels 303 at the reference position 307 on the inspection area 305 A histogram creation unit 101 that creates a two-dimensional histogram (vector histogram) that represents the difference between the reference pixel 307 and the reference pixel 307 that is located at the shortest distance from the reference position 307 using the vector histogram created by the histogram creation unit 101. And a halftone dot discriminating unit 102 for discriminating a halftone dot area in the predetermined area 301 based on the identified distance and occurrence frequency. In this way, a vector histogram representing the occurrence frequency (frequency) of another discrimination pixel 303 with respect to the discrimination pixel 303 at the reference position 307 on the inspection region 305 is created, and halftone dot discrimination is performed based on this vector histogram. Therefore, it is possible to easily determine the halftone dot region in the document.

また、網点判別部102には、ベクトルヒストグラムにおける最大度数を検出する最大値検出部1021と、ベクトルヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出部1022と、ベクトルヒストグラムにおける各度数を合計した総度数に対する最大度数の割合を算出する割合算出部1023とが含まれ、これら最大値検出部1021によって検出された最大度数、距離算出部1022によって算出された距離、及び割合算出部1023によって算出された割合の情報を用いて所定領域301内の網点領域が網点判別部102によって判別される。したがって、ベクトルヒストグラムに基づく網点領域の判別を容易に行うことができる。   Further, the halftone dot determination unit 102 includes a maximum value detection unit 1021 that detects the maximum frequency in the vector histogram, a distance calculation unit 1022 that calculates the distance between the origin of the vector histogram and the coordinate position of the maximum frequency, and a vector A ratio calculation unit 1023 that calculates a ratio of the maximum frequency to the total frequency obtained by summing up the frequencies in the histogram, the maximum frequency detected by the maximum value detection unit 1021, the distance calculated by the distance calculation unit 1022, and The halftone dot area in the predetermined area 301 is discriminated by the halftone dot discriminating unit 102 using the ratio information calculated by the ratio calculating unit 1023. Therefore, it is possible to easily determine the halftone dot region based on the vector histogram.

また、網点判別部102には、ベクトルヒストグラムにおける最大度数を検出する最大値検出部1021と、ベクトルヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出部1022と、ベクトルヒストグラムにおける原点からの距離が所定値以上所定値以下の範囲となる座標位置にある度数を合計した合計度数を算出する合計度数算出部1024とが含まれ、これら距離算出部1022によって算出された距離、及び前記合計度数算出部1024によって算出された合計度数の情報を用いて所定領域301内の網点領域が網点判別部102によって判別される。したがって、ベクトルヒストグラムに基づく網点領域の判別を容易に行うことができる。   Further, the halftone dot determination unit 102 includes a maximum value detection unit 1021 that detects the maximum frequency in the vector histogram, a distance calculation unit 1022 that calculates the distance between the origin of the vector histogram and the coordinate position of the maximum frequency, and a vector A total frequency calculation unit 1024 that calculates a total frequency that is a total of the frequencies in the coordinate position in which the distance from the origin in the histogram is in the range of a predetermined value to a predetermined value, and the distance calculated by the distance calculation unit 1022 The halftone dot area in the predetermined area 301 is discriminated by the halftone dot discriminating unit 102 using the information on the total frequency calculated by the total frequency calculating unit 1024. Therefore, it is possible to easily determine the halftone dot region based on the vector histogram.

さらに、制御部10によって、所定領域301が複数の判定領域に分割され、この反映
領域320ごとに網点領域が判別される。すなわち、所定領域301内において、当該所定領域301内の判別対象領域304が所定数に区分されてなる部分領域のうちの1つである反映領域320が設定され、所定領域301(判別対象領域304)に対するこの反映領域320毎に網点領域の判別が行われるため、原稿画像に対する網点判別を行う回数(繰り返し数)が多くなり、ひいては、原稿における網点領域の判別をより精度良く行うことができる。なお、本発明は以下の態様をとることができる。
Further, the control unit 10 divides the predetermined area 301 into a plurality of determination areas, and a halftone dot area is determined for each reflection area 320. That is, in the predetermined area 301, the reflection area 320, which is one of the partial areas obtained by dividing the determination target areas 304 in the predetermined area 301 into a predetermined number, is set, and the predetermined area 301 (the determination target area 304 is determined). ) For each reflection area 320 for the reflection area 320), the number of times of halftone dot discrimination (repetition number) for the document image is increased, and as a result, the halftone dot region in the original is more accurately determined. Can do. In addition, this invention can take the following aspects.

(A)上記各実施形態においては、判別対象領域304における反映領域320に対して網点判別を行う構成であるが、このように判別対象領域304の一部分の領域に対して判別を行う構成でなくてもよい。すなわち、判別対象領域304全体に対する網点判別のみ行う構成であってもよい。   (A) In each of the above embodiments, the halftone dot is determined for the reflection area 320 in the determination target area 304. In this way, the determination is performed for a partial area of the determination target area 304. It does not have to be. That is, a configuration in which only halftone dot discrimination for the entire discrimination target region 304 may be performed.

(B)上記各実施形態においては、反映領域320に対する網点判別が終了すると、判別対象領域304を当該反映領域320に隣接する位置に順にずらしながら移動させて次回の網点判別を行う構成であるが、判別対象領域304を隣接する位置に移動させずに、前回における反映領域320から離れた位置に移動させる構成であってもよい。   (B) In each of the above embodiments, when the halftone dot discrimination for the reflection area 320 is completed, the next halftone dot discrimination is performed by moving the discrimination target area 304 while sequentially shifting to the position adjacent to the reflection area 320. There may be a configuration in which the determination target area 304 is moved to a position away from the previous reflection area 320 without being moved to an adjacent position.

本発明の第1の実施形態に係る画像処理装置の一例である複写機の内部構成を概略的に示す断面図である。1 is a cross-sectional view schematically showing an internal configuration of a copier that is an example of an image processing apparatus according to a first embodiment of the present invention. 図1に示す複写機の概略構成を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic configuration of the copier illustrated in FIG. 1. 原稿画像の判別用画素に基づくベクトルヒストグラムの作成に関する説明図である。It is explanatory drawing regarding preparation of the vector histogram based on the pixel for discrimination of a manuscript image. ベクトルヒストグラムの一例を示す図である。It is a figure which shows an example of a vector histogram. ベクトルヒストグラムの一例を示す図である。It is a figure which shows an example of a vector histogram. 第1の実施形態に係る原稿画像に対する網点判別に関する動作の一例を示すフローチャートである。6 is a flowchart showing an example of an operation related to halftone dot discrimination for a document image according to the first embodiment. 図6に示すステップS4におけるベクトルヒストグラム作成に関する動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement regarding vector histogram preparation in step S4 shown in FIG. 本発明の第2の実施形態に係る画像処理装置の一例である複写機の概略構成を示すブロック図である。FIG. 5 is a block diagram illustrating a schematic configuration of a copier that is an example of an image processing apparatus according to a second embodiment of the present invention. ベクトルヒストグラムの一例を示す図である。It is a figure which shows an example of a vector histogram. 第2の実施形態に係る原稿画像に対する網点判別に関する動作の一例を示すフローチャートである。10 is a flowchart illustrating an example of an operation related to halftone dot discrimination for a document image according to a second embodiment. ベクトルヒストグラムの原点とベクトルヒストグラムに分布する各度数の位置との距離を纏めたテーブルを示す図である。It is a figure which shows the table which put together the distance of the origin of a vector histogram, and the position of each frequency distributed in a vector histogram. 解像度600dpiにおける網点線数に対するドット間距離を示す図である。It is a figure which shows the distance between dots with respect to the number of halftone lines in the resolution of 600 dpi.

符号の説明Explanation of symbols

1 複写機(画像処理装置)
1a 複写機(画像処理装置)
5 原稿読取部(画像取得手段)
6 原稿給送部
7 画像メモリ
8 HDD
10 制御部(判別手段)
101 ヒストグラム作成部(作成手段)
1011 一致判別部
1012 最短位置検出部
1013 積算部
102 網点判別部(網点判別手段)
102a 網点判別部(網点判別手段)
1021 最大値検出部(最大度数検出手段)
1022 距離算出部(距離算出手段)
1023 割合算出部(割合算出手段)
1024 合計度数算出部(合計度数算出手段)
103 判別対象領域設定部
11 画像処理部
111 判別用画素検出部(検出手段)
40 記録部
47 操作部
473 表示器
301 所定領域
302 画素
303 判別用画素
304 判別対象領域
305 検査領域
307 基準位置
320 反映領域(判定領域)
401、501、901 ベクトルヒストグラム(2次元ヒストグラム)
402、503、903 原点
1 Copying machine (image processing device)
1a Copy machine (image processing device)
5 Document reading unit (image acquisition means)
6 Document Feeding Section 7 Image Memory 8 HDD
10 Control unit (discriminating means)
101 Histogram creation unit (creation means)
1011 Match determination unit 1012 Shortest position detection unit 1013 Integration unit 102 Halftone discrimination unit (halftone discrimination unit)
102a Halftone discrimination unit (halftone discrimination means)
1021 Maximum value detection unit (maximum frequency detection means)
1022 Distance calculation unit (distance calculation means)
1023 Ratio calculation unit (ratio calculation means)
1024 Total frequency calculation unit (total frequency calculation means)
103 Discrimination target area setting unit 11 Image processing unit 111 Discrimination pixel detection unit (detection means)
40 Recording Unit 47 Operation Unit 473 Display 301 Predetermined Area 302 Pixel 303 Discrimination Pixel 304 Discrimination Target Area 305 Inspection Area 307 Reference Position 320 Reflection Area (Determination Area)
401, 501, 901 Vector histogram (two-dimensional histogram)
402, 503, 903 Origin

Claims (5)

原稿画像を取得する画像取得手段と、
前記画像取得手段によって取得された原稿画像の所定領域において濃度の極値となる判別用画素を検出する検出手段と、
前記検出手段により検出された判別用画素間の2次元平面上の位置関係及び当該位置関係の発生頻度を基に前記所定領域内の網点領域を判別する判別手段とを備えることを特徴とする画像処理装置。
Image acquisition means for acquiring a document image;
Detection means for detecting a discrimination pixel having an extreme value of density in a predetermined area of the document image acquired by the image acquisition means;
And a discriminating unit that discriminates a halftone dot region in the predetermined region based on a positional relationship between the discrimination pixels detected by the detecting unit on a two-dimensional plane and an occurrence frequency of the positional relationship. Image processing device.
前記判別手段は、
前記検出手段により検出された各判別用画素が検査領域の基準位置に位置するように前記所定領域上に検査領域を順次設定し、検査領域上における基準位置の判別用画素に対する他の判別用画素の発生頻度を表す2次元ヒストグラムを作成する作成手段と、
前記作成手段により作成された2次元ヒストグラムを用いて、基準位置から最短距離に位置する判別用画素と基準位置との間の距離及び当該判別用画素の発生頻度を特定し、特定した距離及び発生頻度を基に前記所定領域内の網点領域を判別する網点判別手段とを含むことを特徴とする請求項1記載の画像処理装置。
The discrimination means includes
The inspection area is sequentially set on the predetermined area so that each determination pixel detected by the detection means is located at the reference position of the inspection area, and another determination pixel with respect to the determination pixel at the reference position on the inspection area Creating means for creating a two-dimensional histogram representing the occurrence frequency of
Using the two-dimensional histogram created by the creation means, the distance between the discrimination pixel located at the shortest distance from the reference position and the reference position and the occurrence frequency of the discrimination pixel are specified, and the specified distance and occurrence The image processing apparatus according to claim 1, further comprising: a halftone dot discriminating unit that discriminates a halftone dot area in the predetermined area based on a frequency.
前記網点判別手段は、
前記2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、
前記2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、
前記2次元ヒストグラムにおける各度数を合計した総度数に対する最大度数の割合を算出する割合算出手段とを含み、
前記最大度数検出手段によって検出された最大度数、前記距離算出手段によって算出された距離、及び前記割合算出手段によって算出された割合の情報を用いて前記所定領域内の網点領域を判別することを特徴とする請求項2記載の画像処理装置。
The halftone dot discrimination means
Maximum frequency detection means for detecting the maximum frequency in the two-dimensional histogram;
Distance calculating means for calculating a distance between the origin and the coordinate position of the maximum frequency in the two-dimensional histogram;
A ratio calculating means for calculating a ratio of the maximum frequency to the total frequency obtained by summing up the frequencies in the two-dimensional histogram,
Determining a halftone dot area in the predetermined area using information on the maximum frequency detected by the maximum frequency detection means, the distance calculated by the distance calculation means, and the ratio calculated by the ratio calculation means; The image processing apparatus according to claim 2, wherein:
前記網点判別手段は、
前記2次元ヒストグラムにおける最大度数を検出する最大度数検出手段と、
前記2次元ヒストグラムにおける原点と最大度数の座標位置との間の距離を算出する距離算出手段と、
前記2次元ヒストグラムにおける原点からの距離が所定値以上所定値以下の範囲となる座標位置にある度数を合計した合計度数を算出する合計度数算出手段とを含み、
前記距離算出手段によって算出された距離、及び前記合計度数算出手段によって算出された合計度数の情報を用いて前記所定領域内の網点領域を判別することを特徴とする請求項2記載の画像処理装置。
The halftone dot discrimination means
Maximum frequency detection means for detecting the maximum frequency in the two-dimensional histogram;
Distance calculating means for calculating a distance between the origin and the coordinate position of the maximum frequency in the two-dimensional histogram;
A total frequency calculating means for calculating a total frequency obtained by totaling the frequencies at a coordinate position in which the distance from the origin in the two-dimensional histogram is in a range not less than a predetermined value and not more than a predetermined value;
3. The image processing according to claim 2, wherein the halftone dot region in the predetermined region is determined using the distance calculated by the distance calculating unit and the information on the total frequency calculated by the total frequency calculating unit. apparatus.
前記判別手段は、前記所定領域を複数の判定領域に分割し、判定領域ごとに網点領域を判別することを特徴とする請求項1〜4のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the determination unit divides the predetermined region into a plurality of determination regions and determines a halftone dot region for each determination region.
JP2003332922A 2003-09-25 2003-09-25 Image processing device Expired - Fee Related JP4133711B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003332922A JP4133711B2 (en) 2003-09-25 2003-09-25 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003332922A JP4133711B2 (en) 2003-09-25 2003-09-25 Image processing device

Publications (2)

Publication Number Publication Date
JP2005101895A true JP2005101895A (en) 2005-04-14
JP4133711B2 JP4133711B2 (en) 2008-08-13

Family

ID=34461088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003332922A Expired - Fee Related JP4133711B2 (en) 2003-09-25 2003-09-25 Image processing device

Country Status (1)

Country Link
JP (1) JP4133711B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010187362A (en) * 2009-01-19 2010-08-26 Fuji Xerox Co Ltd Image processing apparatus, and program
JP2012175220A (en) * 2011-02-18 2012-09-10 Fuji Xerox Co Ltd Image processing apparatus and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010187362A (en) * 2009-01-19 2010-08-26 Fuji Xerox Co Ltd Image processing apparatus, and program
JP2012175220A (en) * 2011-02-18 2012-09-10 Fuji Xerox Co Ltd Image processing apparatus and image processing program

Also Published As

Publication number Publication date
JP4133711B2 (en) 2008-08-13

Similar Documents

Publication Publication Date Title
JP2019158994A (en) Diagnostic system, method for diagnosis, image formation device, and program
US9826118B2 (en) Image formation apparatus
JP4133711B2 (en) Image processing device
JP2013233764A (en) System, method, and program of print image inspection
JP5507509B2 (en) Mark detection device
JP4871211B2 (en) Image processing apparatus and image forming apparatus
JP5816728B2 (en) Mark detection device
JP3753684B2 (en) Image reading apparatus and image forming apparatus
JP5836453B2 (en) Mark detection device
JP5597330B2 (en) Mark detection device
JP7380148B2 (en) Image forming apparatus and image forming operation adjustment method
JPH1169096A (en) Image forming device
JP5568529B2 (en) Mark detection device
JP7159878B2 (en) Image processing device, image processing method and image processing program
JP5836454B2 (en) Mark detection device
JP5836455B2 (en) Mark detection device
JP5816727B2 (en) Mark detection device
JP6844522B2 (en) Image processing device
JP5802782B2 (en) Mark detection device
JP4814837B2 (en) Image processing apparatus and image forming apparatus
JP4871210B2 (en) Image processing apparatus and image forming apparatus
JP6384396B2 (en) Image reading apparatus and image forming apparatus
JP2024033823A (en) Printing system, print inspection device, and print inspection method
JP4814838B2 (en) Image processing apparatus and image forming apparatus
JP2005284116A (en) Image forming apparatus and image forming method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080131

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080602

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

Free format text: PAYMENT UNTIL: 20110606

Year of fee payment: 3

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130606

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140606

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees