JP5975945B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP5975945B2
JP5975945B2 JP2013137070A JP2013137070A JP5975945B2 JP 5975945 B2 JP5975945 B2 JP 5975945B2 JP 2013137070 A JP2013137070 A JP 2013137070A JP 2013137070 A JP2013137070 A JP 2013137070A JP 5975945 B2 JP5975945 B2 JP 5975945B2
Authority
JP
Japan
Prior art keywords
attribute
region
area
pixel
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013137070A
Other languages
Japanese (ja)
Other versions
JP2015012491A (en
Inventor
秀也 村本
秀也 村本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013137070A priority Critical patent/JP5975945B2/en
Publication of JP2015012491A publication Critical patent/JP2015012491A/en
Application granted granted Critical
Publication of JP5975945B2 publication Critical patent/JP5975945B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像処理装置に関するものである。   The present invention relates to an image processing apparatus.

ある画像処理装置では、カラー画像上の特徴により画像領域を「網点領域」、「写真領域」または「文字領域」と判別し、それぞれに異なった画像処理を施すことにより、良好な画像を得ている。例えば、網点や写真領域では階調性が重視され、文字領域では鮮鋭性や識別性が重視されるため、目的に応じた画像処理を切り替えて出力することが望まれる。   In some image processing apparatuses, a good image is obtained by distinguishing an image area as a “halftone dot area”, “photo area”, or “character area” according to the characteristics of a color image, and applying different image processing to each. ing. For example, gradation is emphasized in halftone dots and photographic areas, and sharpness and discrimination are emphasized in character areas. Therefore, it is desirable to switch and output image processing according to the purpose.

「文字領域」の場合、さらに黒文字領域か色文字領域かでそれぞれ異なる処理が施されている。例えば特許文献1に記載されている画像処理装置では、無彩色でありかつ文字領域であるときはカラー(CMY)の出力を停止し黒のみを出力している。また、特許文献2に記載されている画像処理装置では、黒文字と色文字と連続階調画像と中間調画像とで各々異なる画像処理を施している。   In the case of the “character area”, different processing is further performed for the black character area or the color character area. For example, in the image processing apparatus described in Japanese Patent Application Laid-Open No. H10-228867, when the color is an achromatic color and a character area, the output of color (CMY) is stopped and only black is output. Further, in the image processing apparatus described in Patent Document 2, different image processing is applied to black characters, color characters, continuous tone images, and halftone images.

このような領域毎の処理を行うためには、それぞれの領域を正確に認識し、分離する必要があり、種々の提案がなされている。   In order to perform such processing for each area, it is necessary to accurately recognize and separate each area, and various proposals have been made.

例えば特許文献3に記載されている画像処理装置では、色判別部にてカラーか白黒かの判定を行い、色文字属性の場合、文字色の明度を判定し、非常に暗い色および非常に明るい色を除く画素のみを色文字出力している。   For example, in the image processing apparatus described in Patent Document 3, the color discrimination unit determines whether the color is black or white, and in the case of a color character attribute, the brightness of the character color is determined, and a very dark color and a very bright color are determined. Only the pixels other than the color are output as color characters.

しかし、上述の方法では、黒文字と判定された領域と色文字として判定された領域の境界が不必要に強調されて目立ってしまう場合があるとともに、部分ごとに異なる処理が施されて文字としての視認性が低下する場合がある。   However, in the above-described method, the boundary between the area determined to be a black character and the area determined as a color character may be emphasized unnecessarily, and different processing is performed for each part as a character. Visibility may be reduced.

また、特許文献4に記載されている画像処理装置では、色画素領域に対し、膨張処理で色文字の切れをつなぎ、収縮処理で黒文字部の色画素を除去することにより、色文字領域の補正処理を施して、判定精度を向上している。   Further, in the image processing apparatus described in Patent Document 4, correction of the color character area is performed by connecting the cutout of the color character by the expansion process to the color pixel area and removing the color pixel of the black character part by the contraction process. Processing is performed to improve the determination accuracy.

特開昭64−072662号公報JP-A 64-072662 特開平04−160981号公報Japanese Patent Laid-Open No. 04-160981 特開2000−069309号公報JP 2000-069309 A 特開平11−004344号公報JP-A-11-004344

しかしながら、上述の方法では、膨張・縮小処理の特性上、色画素領域にガタツキを有する場合、このガタツキを持ったまま膨張・収縮処理が実行され、十分な補正がなされない可能性がある。また、網点領域上文字や非白地領域上文字の場合、色画素膨張処理による黒文字の消失が懸念される。さらに、色文字領域の補正処理に2つの膨張処理回路および1つの収縮処理回路を必要とするため、演算回路規模が膨大となり、装置のコストが増加してしまう。   However, in the above-described method, due to the characteristics of the expansion / reduction process, if the color pixel area has a backlash, the expansion / contraction process is executed with this backlash, and there is a possibility that sufficient correction is not performed. In addition, in the case of a character on a halftone dot region or a character on a non-white background region, there is a concern that the black character may disappear due to the color pixel expansion process. Furthermore, since two expansion processing circuits and one contraction processing circuit are required for the correction process of the color character area, the scale of the arithmetic circuit becomes enormous and the cost of the apparatus increases.

本発明は、上記の問題に鑑みてなされたものであり、画像処理の回路規模を増大することなく、黒文字、色文字、およびイメージ部(階調部)の判定精度が良好である画像処理装置を得ることを目的とする。   The present invention has been made in view of the above-described problems, and an image processing apparatus having good determination accuracy for black characters, color characters, and image portions (gradation portions) without increasing the circuit scale of image processing. The purpose is to obtain.

本発明に係る画像処理装置は、入力カラー画像データにおける各画素の領域属性を文字領域、白地領域、非白地領域、および網点領域のいずれかとして特定するとともに、その画素の所定の周辺画素の前記領域属性に基づき、その画素の背景属性を、前記白地領域、前記非白地領域および前記網点領域のいずれかとして特定する画像領域判別部と、前記領域属性が前記文字領域である注目画素に対して、前記注目画素を含む所定サイズの参照ウィンドウ内に存在する複数の参照画素についての、前記領域属性と前記背景属性との属性組合せに基づいて、前記注目画素の前記領域属性を補正する領域属性補正部と、補正データとを備える。前記領域属性補正部は、前記参照ウィンドウ内に存在する複数の参照画素について、前記属性組合せごとに、その属性組合せを有する前記参照画素をカウントし、前記カウントの結果と、前記属性組合せごとに設定されている閾値とを比較し、前記カウントの結果が前記閾値を超えた前記属性組合せに応じて、前記注目画素の前記領域属性を補正する。前記補正データは、前記属性組合せごとに、前記閾値、および前記カウントの結果が前記閾値を超えた場合の補正後の前記領域属性を示し、前記領域属性補正部は、前記注目画素の前記領域属性を補正する場合、前記補正データに基づいて、前記補正後の領域属性を決定する。前記補正データは、前記カウントの結果が前記閾値を超えた場合の補正後の前記領域属性に関連付けて優先度情報を有し、前記領域属性補正部は、前記カウントの結果が前記閾値を超えた前記属性組合せが複数ある場合、前記優先度情報が示す優先度に基づいて、前記補正後の領域属性を決定する。

The image processing apparatus according to the present invention specifies the area attribute of each pixel in the input color image data as one of a character area, a white background area, a non-white background area, and a halftone area, and the predetermined peripheral pixels of the pixel. Based on the region attribute, an image region determination unit that specifies a background attribute of the pixel as one of the white background region, the non-white background region, and the halftone dot region; and a target pixel whose region attribute is the character region On the other hand, a region for correcting the region attribute of the target pixel based on an attribute combination of the region attribute and the background attribute for a plurality of reference pixels existing in a reference window of a predetermined size including the target pixel. An attribute correction unit and correction data are provided. The region attribute correction unit counts, for each attribute combination, the reference pixels having the attribute combination for a plurality of reference pixels existing in the reference window, and sets the count result and the attribute combination. The region attribute of the pixel of interest is corrected in accordance with the attribute combination whose comparison result exceeds the threshold. The correction data indicates, for each attribute combination, the threshold value and the region attribute after correction when the count result exceeds the threshold value, and the region attribute correction unit includes the region attribute of the target pixel. Is corrected, the corrected region attribute is determined based on the correction data. The correction data has priority information in association with the corrected area attribute when the count result exceeds the threshold, and the area attribute correction unit has the count result exceeds the threshold When there are a plurality of attribute combinations, the corrected region attribute is determined based on the priority indicated by the priority information.

本発明によれば、画像処理の回路規模を増大することなく、黒文字、色文字、およびイメージ部(階調部)の判定精度が良好である画像処理装置が得られる。   According to the present invention, it is possible to obtain an image processing apparatus having good determination accuracy for black characters, color characters, and image portions (gradation portions) without increasing the circuit scale of image processing.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 図2は、図1に示す画像処理装置の動作について説明するフローチャートである。FIG. 2 is a flowchart for explaining the operation of the image processing apparatus shown in FIG. 図3は、図1における領域属性補正部12により使用される補正データの一例を示す図である。FIG. 3 is a diagram showing an example of correction data used by the region attribute correction unit 12 in FIG. 図4は、図1に示す画像処理装置による領域属性の補正の具体例を示す図である。FIG. 4 is a diagram showing a specific example of region attribute correction by the image processing apparatus shown in FIG.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

図1に示す画像処理装置は、画像入力部1、画像処理部2、および画像出力部3を備える。   The image processing apparatus shown in FIG. 1 includes an image input unit 1, an image processing unit 2, and an image output unit 3.

画像入力部1は、例えばスキャナーを有し、原稿画像を光学的に読み取り、その原稿画像の画像データを生成し、画像処理部2に出力する。   The image input unit 1 includes, for example, a scanner, optically reads a document image, generates image data of the document image, and outputs the image data to the image processing unit 2.

画像処理部2は、画像入力部1から入力された画像データに対して各種画像処理を行い、画像処理後の画像データを画像出力部3に出力する。   The image processing unit 2 performs various image processes on the image data input from the image input unit 1, and outputs the image data after the image processing to the image output unit 3.

画像出力部3は、例えばプリントエンジンを有し、画像処理部2からの画像データに基づく画像を印刷用紙に印刷する。   The image output unit 3 includes, for example, a print engine, and prints an image based on the image data from the image processing unit 2 on printing paper.

そして、画像処理部2は、画像領域判定部11と、領域属性補正部12と、出力画像処理部13とを有する。   The image processing unit 2 includes an image region determination unit 11, a region attribute correction unit 12, and an output image processing unit 13.

画像領域判定部11は、入力された画像データにおける画素ごとに画像領域判定を行う。具体的には、画像領域判別部11は、入力カラー画像データにおける各画素の領域属性を文字領域、白地領域、非白地領域、および網点領域のいずれかとして特定するとともに、その画素の所定の周辺画素の領域属性に基づき、その画素の背景属性を、白地領域、非白地領域および網点領域のいずれかとして特定する。   The image area determination unit 11 performs image area determination for each pixel in the input image data. Specifically, the image area determination unit 11 specifies the area attribute of each pixel in the input color image data as one of a character area, a white background area, a non-white background area, and a halftone dot area, Based on the area attribute of the peripheral pixel, the background attribute of the pixel is specified as one of a white area, a non-white area, and a halftone area.

画像領域判定部11では、文字領域判定部21は、各画素が文字領域内の画素であるか否かおよび文字エッジであるか否かを判定し、網点領域判定部22は、各画素が網点領域内の画素であるか否かを判定し、下地領域判定部23は、各画素が下地領域(つまり無地の領域)内の画素であるか否かを判定するとともに、下地領域内の画素についての下地色を特定する。なお、下地領域判定部23は、下地色が白色である場合、白地領域と判定し、下地色が白以外の有色である場合、非白地(以下、色地ともいう)と判定する。   In the image region determination unit 11, the character region determination unit 21 determines whether each pixel is a pixel in the character region and whether it is a character edge, and the halftone region determination unit 22 determines whether each pixel is a pixel edge. It is determined whether or not the pixel is in a halftone dot region, and the ground region determination unit 23 determines whether each pixel is a pixel in the ground region (that is, a plain region) and Specify the background color for the pixel. The background area determination unit 23 determines that the background color is white when the background color is white, and determines that the background color is a non-white background (hereinafter also referred to as a color background) when the background color is a color other than white.

なお、文字領域判定部21は、例えばエッジ抽出により文字構造を抽出する。また、網点領域判定部22は、例えば縦・横・斜め方向における濃度変化パターン抽出により網点構造を抽出する。さらに、下地色領域判定23は、例えば輝度情報あるいは濃度情報に基づき白地領域であるか非白地領域であるか否かの判定を行う。   The character area determination unit 21 extracts a character structure by edge extraction, for example. Further, the halftone dot region determination unit 22 extracts a halftone dot structure by extracting density change patterns in vertical, horizontal, and diagonal directions, for example. Further, the background color area determination 23 determines whether the area is a white area or a non-white area based on, for example, luminance information or density information.

また、画像領域判定部11における色彩判定部24は、文字領域判定部121により文字領域と判定された画素が有彩色であるか無彩色であるかを判定する。これにより、文字領域は、さらに、黒文字領域および色文字領域に分けられる。   In addition, the color determination unit 24 in the image region determination unit 11 determines whether the pixel determined as the character region by the character region determination unit 121 is a chromatic color or an achromatic color. Thereby, the character region is further divided into a black character region and a color character region.

例えば、色彩判定部24は、入力画像のRGBデータから変換されたYUVデータのU値およびV値に対して閾値処理を行い、黒文字であるか色文字であるかを特定する。   For example, the color determination unit 24 performs threshold processing on the U value and V value of the YUV data converted from the RGB data of the input image, and specifies whether the character is a black character or a color character.

なお、この実施の形態に記載される領域抽出方法や有彩画素判定方法などは、一例であり、別の方法でもよい。   Note that the region extraction method and the chromatic pixel determination method described in this embodiment are examples, and other methods may be used.

領域属性補正部12は、画像領域判定部11により得られる注目画素の領域属性を補正する。具体的には、領域属性補正部12は、領域属性が文字領域である注目画素に対して、注目画素を含む所定サイズの参照ウィンドウ内に存在する複数の参照画素についての、領域属性と背景属性との属性組合せに基づいて、注目画素の領域属性を補正する。   The region attribute correction unit 12 corrects the region attribute of the target pixel obtained by the image region determination unit 11. Specifically, the region attribute correction unit 12 performs the region attribute and the background attribute for a plurality of reference pixels existing in a reference window of a predetermined size including the target pixel with respect to the target pixel whose region attribute is a character region. The region attribute of the target pixel is corrected based on the attribute combination.

参照ウィンドウは、注目画素周辺のm×n画素範囲である。   The reference window is an m × n pixel range around the target pixel.

また、この実施の形態では、領域属性補正部12は、参照ウィンドウ内に存在する複数の参照画素について、属性組合せごとに、その属性組合せを有する参照画素をカウントし、そのカウントの結果(カウント値Ni)と、属性組合せごとに設定されている閾値THiとを比較し、そのカウント値Niがその閾値THiを超えた属性組合せに応じて、注目画素の領域属性を補正する。   Further, in this embodiment, the region attribute correction unit 12 counts the reference pixels having the attribute combination for each attribute combination for a plurality of reference pixels existing in the reference window, and the result of the count (count value) Ni) is compared with the threshold value THi set for each attribute combination, and the region attribute of the target pixel is corrected according to the attribute combination whose count value Ni exceeds the threshold value THi.

さらに、この実施の形態では、領域属性補正部12が、属性組合せごとに、上述の閾値THi、およびカウント値Niが閾値THiを超えた場合の補正後の領域属性を示す補正データを有し、注目画素の領域属性を補正する場合、その補正データに基づいて、補正後の領域属性を決定する。  Furthermore, in this embodiment, the region attribute correction unit 12 has correction data indicating the region attribute after correction when the threshold value THi and the count value Ni exceed the threshold value THi for each attribute combination, When correcting the region attribute of the target pixel, the corrected region attribute is determined based on the correction data.

また、その補正データは、カウント値が閾値を超えた場合の補正後の領域属性に関連付けて優先度情報を有する。そして、領域属性補正部12は、カウント値Niが閾値THiを超えた属性組合せが複数ある場合、その優先度情報が示す優先度に基づいて、補正後の領域属性を決定する。   In addition, the correction data has priority information in association with the corrected region attribute when the count value exceeds the threshold value. Then, when there are a plurality of attribute combinations in which the count value Ni exceeds the threshold value THi, the region attribute correction unit 12 determines the corrected region attribute based on the priority indicated by the priority information.

なお、領域属性補正部12は、領域属性が文字領域でありかつ文字エッジ上の注目画素のみに対して、上述の領域属性の補正を行うようにしてもよい。   Note that the region attribute correction unit 12 may perform the above-described region attribute correction only on the pixel of interest on the character edge where the region attribute is a character region.

出力画像処理部13は、画像データに基づく印刷のために必要な画像処理を行う。例えば、出力画像処理部13は、文字領域について、微分フィルター等を用いたエッジ強調処理、文字領域に適応させた、色補正処理、黒生成/UCR(Under Color Removal)処理、中間調処理などを行い、網点領域あるいは下地領域について、積分フィルター等を用いた平滑化処理、網点領域あるいは下地領域に適応させた、色補正処理、黒生成/UCR処理、中間調処理などを行う。これにより、印刷画像内の文字部分を鮮明にしたり、網点部分のモアレやノイズを抑える。   The output image processing unit 13 performs image processing necessary for printing based on the image data. For example, the output image processing unit 13 performs edge enhancement processing using a differential filter or the like for a character region, color correction processing, black generation / UCR (Under Color Removal) processing, halftone processing, and the like adapted to the character region. Then, smoothing processing using an integration filter or the like, color correction processing, black generation / UCR processing, halftone processing, etc. adapted to the halftone region or background region are performed on the halftone region or background region. As a result, the character portion in the printed image is sharpened, and moire and noise in the halftone dot portion are suppressed.

次に、上記画像処理装置の動作について説明する。図2は、図1に示す画像処理装置の動作について説明するフローチャートである。   Next, the operation of the image processing apparatus will be described. FIG. 2 is a flowchart for explaining the operation of the image processing apparatus shown in FIG.

まず、画像入力部1が、イメージスキャナーにて読み取った原稿画像のビットマップ画像データを生成し、図示せぬメモリーなどに格納する(ステップS1)。   First, the image input unit 1 generates bitmap image data of a document image read by an image scanner and stores it in a memory (not shown) or the like (step S1).

そして、画像処理部2は、その画像データについて、1ページずつ、各ページ内で、所定の走査順序で注目画素を選択していく(ステップS2)。   Then, the image processing unit 2 selects a pixel of interest in a predetermined scanning order for each page of the image data in each page (step S2).

画像領域判定部11は、上述のようにして、注目画素についての画像領域判定を行う(ステップS3)。これにより、注目画素についての領域属性および背景属性が特定される。   The image area determination unit 11 determines the image area for the target pixel as described above (step S3). Thereby, the region attribute and the background attribute for the target pixel are specified.

そして、画像領域判定部11は、注目画素の領域属性が文字領域であるか否かを判定する(ステップS4)。そして、注目画素の領域属性が文字領域ではない場合には、注目画素の領域属性の補正は行わない。   Then, the image area determination unit 11 determines whether or not the area attribute of the target pixel is a character area (step S4). If the region attribute of the target pixel is not a character region, the region attribute of the target pixel is not corrected.

一方、注目画素の領域属性が文字領域である場合、画像領域判定部11は、注目画素が無彩色であるか否かを判定し、その判定結果に基づき、文字領域が黒文字領域か色文字領域かを特定する。   On the other hand, when the region attribute of the target pixel is a character region, the image region determination unit 11 determines whether the target pixel is achromatic, and based on the determination result, the character region is a black character region or a color character region. To identify.

そして、領域属性補正部12は、画像領域判定部11で、注目画素の領域属性および背景属性を特定し、さらに、注目画素の参照ウィンドウ内の各参照画素の領域属性および背景属性を特定し、属性組合せごとに、参照画素をカウントする(ステップS5)。   Then, the region attribute correction unit 12 specifies the region attribute and background attribute of the target pixel in the image region determination unit 11, and further specifies the region attribute and background attribute of each reference pixel in the reference window of the target pixel. For each attribute combination, reference pixels are counted (step S5).

図3は、図1における領域属性補正部12により使用される補正データの一例を示す図である。   FIG. 3 is a diagram showing an example of correction data used by the region attribute correction unit 12 in FIG.

図3に示すように、領域属性、および背景属性についての複数の属性組合せが存在し、領域属性補正部12は、複数の属性組合せのそれぞれに対する複数のカウンターを有し、各参照画素について、その参照画素の属性組合せを特定し、特定した属性組合せについてのカウンターのカウント値iを1だけ増加する。   As shown in FIG. 3, there are a plurality of attribute combinations for the region attribute and the background attribute, and the region attribute correction unit 12 has a plurality of counters for each of the plurality of attribute combinations. The attribute combination of the reference pixel is specified, and the count value i of the counter for the specified attribute combination is increased by 1.

そして、参照ウィンドウ内のすべての参照画素についての属性組合せのカウントが完了した後、領域属性補正部12は、補正データから各属性組合せについての閾値THiを特定し、各属性組合せについて、カウント値Niが閾値THiを超えているか否かを判定する(ステップS6)。   Then, after the count of the attribute combinations for all the reference pixels in the reference window is completed, the region attribute correction unit 12 specifies the threshold value THi for each attribute combination from the correction data, and the count value Ni for each attribute combination. It is determined whether or not exceeds a threshold value THi (step S6).

すべての属性組合せについて、カウント値Niが閾値THiを超えていない場合には、この注目画素の領域属性の補正は行わない。   When the count value Ni does not exceed the threshold value THi for all the attribute combinations, the region attribute of the target pixel is not corrected.

一方、1つの属性組合せについて、カウント値Niが閾値THiを超えている場合、領域属性補正部12は、補正データで、その属性組合せについての補正後の領域属性および背景属性を特定する(ステップS7)。   On the other hand, when the count value Ni exceeds the threshold value THi for one attribute combination, the region attribute correction unit 12 specifies the corrected region attribute and background attribute for the attribute combination with the correction data (step S7). ).

図3に示す補正データを使用する場合、例えば、注目画素の領域属性が黒文字領域(黒色の文字領域)と判定されたときにおいて、参照画素について、領域属性が色文字領域(有彩色の文字領域)でありかつ背景属性が色文字領域である参照画素の数N5が、その属性組合せの閾値TH5を超えると、注目画素の領域属性が黒文字領域から色文字領域に変更され、注目画素の背景属性が色地領域とされる。なお、図3に示すように、場合によっては、閾値THiを超えた場合でも、補正を行わないことがある。また、属性組合せごとに異なる閾値THiを使用することができる。   When the correction data shown in FIG. 3 is used, for example, when the region attribute of the target pixel is determined to be a black character region (black character region), the region attribute is a color character region (chromatic character region) for the reference pixel. When the number N5 of reference pixels whose background attributes are color character areas exceeds the threshold TH5 of the attribute combination, the area attribute of the target pixel is changed from the black character area to the color character area, and the background attribute of the target pixel Is a color background area. As shown in FIG. 3, in some cases, even when the threshold value THi is exceeded, correction may not be performed. Further, a different threshold THi can be used for each attribute combination.

他方、複数の属性組合せについて、カウント値Niが閾値THiを超えている場合、領域属性補正部12は、その複数の属性組合せについての優先度情報を、補正データで特定する。図3では、補正後の領域属性の後ろに記載されている括弧付きの数値が優先度情報を示している。なお、ここでは、優先度情報の示す優先度が1である場合が最も優先度が高く、優先度の値が低いほど、優先度が低くなる。そして、領域属性補正部12は、その複数の属性組合せのうち、優先度の最も高い属性組合せを特定し、その属性組合せについての補正後の領域属性を、注目画素の領域属性に設定する。   On the other hand, when the count value Ni exceeds the threshold value THi for a plurality of attribute combinations, the region attribute correction unit 12 specifies the priority information for the plurality of attribute combinations with the correction data. In FIG. 3, a numerical value with parentheses described after the corrected area attribute indicates the priority information. Here, the priority is the highest when the priority indicated by the priority information is 1, and the lower the priority value, the lower the priority. Then, the region attribute correction unit 12 identifies the attribute combination having the highest priority among the plurality of attribute combinations, and sets the corrected region attribute for the attribute combination as the region attribute of the target pixel.

その後、出力画像処理部13が、注目画素について上述の画像適応処理(空間フィルター処理、色補正処理、黒生成/UCR処理、中間調処理など)を行う(ステップS8)。   Thereafter, the output image processing unit 13 performs the above-described image adaptation processing (spatial filter processing, color correction processing, black generation / UCR processing, halftone processing, etc.) for the target pixel (step S8).

画像処理部2は、注目画素についての上述の処理(ステップS2〜S8)が完了すると、注目画素がページの最後に到達しているか否かを判定し(ステップS9)、注目画素がページの最後に到達していない場合には、ステップS2に戻り、次の注目画素を選択し、その注目画素に対して上述の処理(ステップS2〜S8)を実行する。   When the above-described processing (steps S2 to S8) for the target pixel is completed, the image processing unit 2 determines whether the target pixel has reached the end of the page (step S9), and the target pixel is the end of the page. If not, the process returns to step S2, selects the next target pixel, and executes the above-described processing (steps S2 to S8) for the target pixel.

一方、注目画素がページの最後に到達している場合には、画像処理部2は、このページの画像処理を終了し、このページの印刷を画像出力部3に実行させる(ステップS10)。   On the other hand, if the target pixel has reached the end of the page, the image processing unit 2 ends the image processing of this page, and causes the image output unit 3 to print this page (step S10).

図4は、図1に示す画像処理装置による領域属性の補正の具体例を示す図である。   FIG. 4 is a diagram showing a specific example of region attribute correction by the image processing apparatus shown in FIG.

図4(A)は、原稿の一例を示す図である。図4(A)に示す原稿は、「1」という黒文字を有する。   FIG. 4A is a diagram illustrating an example of a document. The document shown in FIG. 4A has a black character “1”.

図4(B)は、画像領域判定部11での領域属性判定処理により得られる領域属性の一例を示す。図4(B)示す領域属性においては、文字エッジ部分において、黒文字の画素が誤って色文字領域と判定されている。図4においては、斜線を付している画素が色文字領域と判定された画素である。   FIG. 4B shows an example of region attributes obtained by region attribute determination processing in the image region determination unit 11. In the region attribute shown in FIG. 4B, a black character pixel is erroneously determined to be a color character region in the character edge portion. In FIG. 4, the hatched pixels are pixels that are determined to be color character areas.

図4(C)は、領域属性補正部12が使用する参照ウィンドウの一例を示す。図4(C)に示すように、注目画素を中心とする参照ウィンドウ内の参照画素の属性組合せに基づいて、注目画素の領域属性を補正することで、色文字領域と誤って判定された画素の領域属性が正しい領域属性へ補正される。図4(D)は、補正後の領域属性を示す図である。   FIG. 4C shows an example of a reference window used by the region attribute correction unit 12. As shown in FIG. 4C, a pixel erroneously determined as a color character region by correcting the region attribute of the target pixel based on the attribute combination of the reference pixel in the reference window centered on the target pixel. The area attribute is corrected to the correct area attribute. FIG. 4D is a diagram illustrating the region attributes after correction.

図4(C)の参照ウィンドウには、黒文字領域と判定された比較的多数の画素(N10=65)と、色文字領域と誤って判定された比較的少数の画素(N11=2)とが含まれている。よって、図3において、条件「N11>TH11」は満たされないので、優先度が1である「補正せず(1)」は選択されず、条件「N10>TH10」は満たされるので、優先度が2である「白地上黒文字(2)」が選択される。これにより、色文字領域と誤って判定された比較的少数の画素が、黒へ補正される。   In the reference window of FIG. 4C, there are a relatively large number of pixels (N10 = 65) determined as a black character region and a relatively small number of pixels (N11 = 2) erroneously determined as a color character region. include. Therefore, in FIG. 3, since the condition “N11> TH11” is not satisfied, “Uncorrected (1)” with a priority of 1 is not selected, and the condition “N10> TH10” is satisfied, so the priority is 2. “Black character on white (2)” is selected. Thereby, a relatively small number of pixels erroneously determined to be color character areas are corrected to black.

以上のように、上記実施の形態によれば、画像領域判定部11は、入力カラー画像データにおける各画素の領域属性を文字領域、白地領域、非白地領域、および網点領域のいずれかとして特定するとともに、その画素の所定の周辺画素の領域属性に基づき、その画素の背景属性を、白地領域、非白地領域および網点領域のいずれかとして特定し、領域属性補正部12は、領域属性が文字領域である注目画素に対して、注目画素を含む所定サイズの参照ウィンドウ内に存在する複数の参照画素についての、領域属性と背景属性との属性組合せに基づいて、注目画素の領域属性を補正する。   As described above, according to the above embodiment, the image region determination unit 11 specifies the region attribute of each pixel in the input color image data as one of a character region, a white background region, a non-white background region, and a halftone dot region. In addition, based on the region attribute of a predetermined peripheral pixel of the pixel, the background attribute of the pixel is specified as one of a white region, a non-white region, and a halftone region, and the region attribute correction unit 12 For a pixel of interest that is a character region, correct the region attribute of the pixel of interest based on the attribute combination of the region attribute and the background attribute for multiple reference pixels that exist within a reference window of a predetermined size that includes the pixel of interest. To do.

これにより、黒文字、色文字およびイメージ部の領域判定の際に誤判定が発生しても補正される。したがって、画像処理の回路規模を増大することなく、黒文字、色文字、およびイメージ部(階調部)の判定精度が良好となる。   As a result, correction is made even if an erroneous determination occurs when determining the area of the black character, the color character, and the image portion. Therefore, the determination accuracy of black characters, color characters, and image portions (gradation portions) is improved without increasing the circuit scale of image processing.

なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   The above-described embodiments are preferred examples of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. is there.

本発明は、例えば、デジタル複合機、イメージスキャナーなどの画像処理装置に適用可能である。   The present invention is applicable to an image processing apparatus such as a digital multifunction peripheral or an image scanner.

11 画像領域判別部
12 領域属性補正部
11 Image region discriminating unit 12 Region attribute correcting unit

Claims (2)

入力カラー画像データにおける各画素の領域属性を文字領域、白地領域、非白地領域、および網点領域のいずれかとして特定するとともに、その画素の所定の周辺画素の前記領域属性に基づき、その画素の背景属性を、前記白地領域、前記非白地領域および前記網点領域のいずれかとして特定する画像領域判別部と、
前記領域属性が前記文字領域である注目画素に対して、前記注目画素を含む所定サイズの参照ウィンドウ内に存在する複数の参照画素についての、前記領域属性と前記背景属性との属性組合せに基づいて、前記注目画素の前記領域属性を補正する領域属性補正部と、
補正データとを備え
前記領域属性補正部は、前記参照ウィンドウ内に存在する複数の参照画素について、前記属性組合せごとに、その属性組合せを有する前記参照画素をカウントし、前記カウントの結果と、前記属性組合せごとに設定されている閾値とを比較し、前記カウントの結果が前記閾値を超えた前記属性組合せに応じて、前記注目画素の前記領域属性を補正し、
前記補正データは、前記属性組合せごとに、前記閾値、および前記カウントの結果が前記閾値を超えた場合の補正後の前記領域属性を示し、
前記領域属性補正部は、前記注目画素の前記領域属性を補正する場合、前記補正データに基づいて、前記補正後の領域属性を決定し、
前記補正データは、前記カウントの結果が前記閾値を超えた場合の補正後の前記領域属性に関連付けて優先度情報を有し、
前記領域属性補正部は、前記カウントの結果が前記閾値を超えた前記属性組合せが複数ある場合、前記優先度情報が示す優先度に基づいて、前記補正後の領域属性を決定すること、
を特徴とする画像処理装置。
The area attribute of each pixel in the input color image data is specified as one of a character area, a white background area, a non-white background area, and a halftone dot area, and based on the area attribute of a predetermined peripheral pixel of the pixel, An image area determination unit that specifies a background attribute as one of the white area, the non-white area, and the halftone area;
Based on an attribute combination of the region attribute and the background attribute for a plurality of reference pixels existing in a reference window of a predetermined size including the target pixel for the target pixel whose region attribute is the character region A region attribute correction unit that corrects the region attribute of the pixel of interest;
Correction data ,
The region attribute correction unit counts, for each attribute combination, the reference pixels having the attribute combination for a plurality of reference pixels existing in the reference window, and sets the count result and the attribute combination. Is compared with a threshold value, and the region attribute of the target pixel is corrected according to the attribute combination in which the count result exceeds the threshold value,
The correction data indicates, for each attribute combination, the threshold value, and the region attribute after correction when the count result exceeds the threshold value,
When correcting the region attribute of the target pixel, the region attribute correction unit determines the corrected region attribute based on the correction data,
The correction data has priority information associated with the region attribute after correction when the count result exceeds the threshold,
The region attribute correction unit, when there are a plurality of the attribute combinations whose count result exceeds the threshold, determining the corrected region attribute based on the priority indicated by the priority information;
An image processing apparatus.
前記領域属性補正部は、前記領域属性が前記文字領域でありかつ文字エッジ上の注目画素のみに対して、前記参照ウィンドウ内に存在する複数の参照画素についての、前記領域属性と前記背景属性との属性組合せに基づいて、前記注目画素の前記領域属性を補正することを特徴とする請求項1記載の画像処理装置。 The region attribute correction unit includes the region attribute and the background attribute for a plurality of reference pixels existing in the reference window for only the pixel of interest on the character edge where the region attribute is the character region. attribute on the basis of a combination, the target pixel of the area attribute image processing apparatus according to claim 1 Symbol placement and corrects the.
JP2013137070A 2013-06-28 2013-06-28 Image processing device Expired - Fee Related JP5975945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013137070A JP5975945B2 (en) 2013-06-28 2013-06-28 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013137070A JP5975945B2 (en) 2013-06-28 2013-06-28 Image processing device

Publications (2)

Publication Number Publication Date
JP2015012491A JP2015012491A (en) 2015-01-19
JP5975945B2 true JP5975945B2 (en) 2016-08-23

Family

ID=52305272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013137070A Expired - Fee Related JP5975945B2 (en) 2013-06-28 2013-06-28 Image processing device

Country Status (1)

Country Link
JP (1) JP5975945B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016136541A1 (en) * 2015-02-27 2016-09-01 京セラドキュメントソリューションズ株式会社 Image-processing device
JP6436358B2 (en) * 2016-03-03 2018-12-12 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JPWO2022065299A1 (en) * 2020-09-24 2022-03-31

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4049294B2 (en) * 2001-02-28 2008-02-20 株式会社リコー Image processing apparatus and image processing method
JP2003230006A (en) * 2002-02-04 2003-08-15 Sharp Corp Image processing method, image processing apparatus, and image forming device
US8223395B2 (en) * 2007-07-20 2012-07-17 Sharp Laboratories Of America, Inc. Methods and systems for refining text color in a digital image

Also Published As

Publication number Publication date
JP2015012491A (en) 2015-01-19

Similar Documents

Publication Publication Date Title
JP4926568B2 (en) Image processing apparatus, image processing method, and image processing program
KR101172399B1 (en) Image forming apparatus and image improvement method thereof
JP6781406B2 (en) Image processing equipment and computer programs
JP2009278363A (en) Image processor and image processing method
US9253368B2 (en) Image processing device setting binary value without using dither matrix when prescribed condition is satisfied
CN108965646B (en) Image processing apparatus, image processing method, and program
JP2018056873A (en) Image processing device and computer program
JP5975945B2 (en) Image processing device
JP5407627B2 (en) Image processing apparatus, image processing method, and program
JP6249240B2 (en) Image processing device
JP6566277B2 (en) Image processing device
JP2010119006A (en) Image processing apparatus,and image processing method
JP4582330B2 (en) Image determination apparatus, image determination method, and image determination program
US10931852B2 (en) Image processing apparatus, image processing method, and storage medium, with determining whether or not character clipping rectangle determined to be non-character region is character region
JP2018147199A (en) Image processing device, and computer program
US9305250B2 (en) Image processing apparatus and image processing method including location information identification
JP2010004300A (en) Image processing method, image processing apparatus, image processing program, and printer
JP2010003091A (en) Object detection device, object detection method, object detection program and printer
JP4994326B2 (en) Image processing apparatus and image forming apparatus including the image processing apparatus
JP6025803B2 (en) Image processing device
JP7077925B2 (en) Image processing equipment, image processing methods, and programs
JP7377435B2 (en) Image processing device
JP2014011590A (en) Image processing system
JP6681033B2 (en) Image processing device
JP2012244261A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160512

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160719

R150 Certificate of patent or registration of utility model

Ref document number: 5975945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees