JP2017212645A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2017212645A
JP2017212645A JP2016105429A JP2016105429A JP2017212645A JP 2017212645 A JP2017212645 A JP 2017212645A JP 2016105429 A JP2016105429 A JP 2016105429A JP 2016105429 A JP2016105429 A JP 2016105429A JP 2017212645 A JP2017212645 A JP 2017212645A
Authority
JP
Japan
Prior art keywords
luminance
exclusion threshold
value
default value
edge
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
JP2016105429A
Other languages
Japanese (ja)
Other versions
JP6414710B2 (en
Inventor
秀也 村本
Hideya Muramoto
秀也 村本
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 JP2016105429A priority Critical patent/JP6414710B2/en
Publication of JP2017212645A publication Critical patent/JP2017212645A/en
Application granted granted Critical
Publication of JP6414710B2 publication Critical patent/JP6414710B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve image quality of a medium-density character in an input image.SOLUTION: An edge pixel specifying part 21 specifies edge pixels in an input image. A luminance distribution specifying part 22 specifies a luminous distribution of the specified edge pixels. A determination condition setting part 23 sets an exclusion threshold according to peak luminance of the specified luminance distribution. A pixel attribute specifying part 24 excludes an edge pixel having luminance equal to or larger than the set exclusion threshold from the edge pixels. Then the determination condition setting part 23 sets as an exclusion threshold a luminance value obtained by making a predetermined-width shift from a default value of the exclusion threshold when the difference between the default value and the peak luminance is equal to or less than a predetermined value, and sets the default value as an exclusion threshold when the difference between the default value of the exclusion threshold and the peak luminance is larger than the predetermined value.SELECTED DRAWING: Figure 1

Description

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

ある画像処理装置は、入力画像における黒文字エッジを検出し、エッジ画素の周辺の所定サイズの領域内の画素属性を参照して不要エッジ画素を除去し、黒文字エッジに含まれている文字以外のエッジを除去している(例えば特許文献1参照)。   An image processing apparatus detects a black character edge in an input image, removes an unnecessary edge pixel by referring to a pixel attribute in a region of a predetermined size around the edge pixel, and detects an edge other than a character included in the black character edge (For example, refer to Patent Document 1).

特開2005−198157号公報JP 2005-198157 A

しかしながら、上述の装置では、エッジ画素の周辺画素の画素属性に基づいて、不要エッジ画素を除去しているため、中濃度文字のエッジが複数箇所で途切れているような場合には、そのようなエッジを除去することも、エッジを繋げることも困難である。そのため、エッジの途切れが残ってしまい、文字画質が低下してしまう。   However, in the above-described apparatus, unnecessary edge pixels are removed based on the pixel attributes of the peripheral pixels of the edge pixels. Therefore, when the edges of medium-density characters are interrupted at a plurality of locations, such It is difficult to remove edges and connect edges. As a result, edge breaks remain and character image quality is degraded.

図4は、原稿から得られたスキャン画像における無彩色文字の濃度と文字エッジとの関係を説明する図である。高濃度の文字の場合、文字エッジが途切れずに検出され、低濃度の文字の場合、文字エッジが完全に検出されない。一方、中濃度の文字の場合、原稿における印字濃度のバラツキ、スキャナーなどの画像読取装置の原稿面内における読取濃度のバラツキなどに起因して、文字濃度は一定ではなくバラツキを有する。そのため、中濃度の文字から得られる文字エッジには、文字エッジと判定される画素と、文字エッジと判定されない画素とが混在することになる。例えば、カラー印刷時、文字エッジがブラックトナーで表現され文字内部などその他の部分がカラートナー(シアン・マゼンタ・イエロー:CMY)で表現される場合、文字エッジに途切れがあると、印刷物上の文字のエッジに、ブラックでの印刷部分とCMY混合色での印刷部分とが混在するため、画質が低くなる。   FIG. 4 is a diagram for explaining the relationship between the density of achromatic characters and the character edge in a scanned image obtained from a document. In the case of a high-density character, the character edge is detected without interruption, and in the case of a low-density character, the character edge is not completely detected. On the other hand, in the case of a medium density character, the character density is not constant and varies due to variations in the print density of the document, variations in the reading density in the document surface of an image reading apparatus such as a scanner, and the like. For this reason, a character edge obtained from a medium-density character contains a mixture of pixels that are determined as character edges and pixels that are not determined as character edges. For example, in color printing, when a character edge is expressed with black toner and other parts such as the inside of the character are expressed with color toner (cyan, magenta, yellow: CMY), if there is a break in the character edge, the character on the printed matter Since the printed portion in black and the printed portion in the CMY mixed color are mixed at the edge, the image quality is lowered.

本発明は、上記の問題に鑑みてなされたものであり、入力画像内の中濃度文字の画質を良好にする画像読取装置を得ることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to obtain an image reading apparatus that improves the image quality of medium-density characters in an input image.

本発明に係る画像読取装置は、入力画像内のエッジ画素を特定するエッジ画素特定部と、特定された前記エッジ画素の輝度分布を特定する輝度分布特定部と、特定された前記輝度分布におけるピーク輝度に応じて除外閾値を設定する判定条件設定部と、特定された前記エッジ画素のうち、設定された前記除外閾値以上の輝度を有する画素を、前記エッジ画素から除外する画素属性特定部とを備える。そして、前記判定条件設定部は、前記除外閾値のデフォルト値と前記ピーク輝度との間の差分が所定値以下である場合には、前記デフォルト値から所定幅シフトして得られる輝度値を前記除外閾値に設定し、前記除外閾値のデフォルト値と前記ピーク輝度との間の差分が前記所定値より大きい場合には、前記デフォルト値を前記除外閾値に設定する。   An image reading apparatus according to the present invention includes an edge pixel specifying unit that specifies an edge pixel in an input image, a luminance distribution specifying unit that specifies a luminance distribution of the specified edge pixel, and a peak in the specified luminance distribution A determination condition setting unit that sets an exclusion threshold according to luminance, and a pixel attribute identification unit that excludes, from the edge pixels, pixels that have a luminance equal to or higher than the set exclusion threshold among the identified edge pixels. Prepare. When the difference between the default value of the exclusion threshold and the peak luminance is equal to or less than a predetermined value, the determination condition setting unit excludes a luminance value obtained by shifting a predetermined width from the default value. When the difference between the default value of the exclusion threshold and the peak luminance is larger than the predetermined value, the default value is set as the exclusion threshold.

本発明によれば、入力画像内の中濃度文字の画質を良好にする画像読取装置が得られる。   According to the present invention, an image reading apparatus that improves the image quality of medium-density characters in an input image can be obtained.

本発明の上記又は他の目的、特徴および優位性は、添付の図面とともに以下の詳細な説明から更に明らかになる。   These and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

図1は、本発明の実施の形態に係る画像形成装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention. 図2は、図1に示す画像形成装置の動作について説明するフローチャートである。FIG. 2 is a flowchart for explaining the operation of the image forming apparatus shown in FIG. 図3は、図1に示す画像形成装置におけるエッジ画素の輝度分布に応じた除外閾値の設定について説明する図である。FIG. 3 is a diagram for explaining setting of the exclusion threshold value according to the luminance distribution of the edge pixels in the image forming apparatus shown in FIG. 図4は、原稿から得られたスキャン画像における文字の濃度と文字エッジとの関係を説明する図である。FIG. 4 is a diagram for explaining the relationship between the character density and the character edge in the scanned image obtained from the document.

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

図1は、本発明の実施の形態に係る画像形成装置の構成を示すブロック図である。図1に示す画像形成装置は、例えばコピー機、複合機などである。   FIG. 1 is a block diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention. The image forming apparatus shown in FIG. 1 is, for example, a copier or a multifunction machine.

図1に示す画像形成装置は、画像入力部1、画像処理部2、および画像出力部3を備える。画像入力部1は、例えばスキャナーを有し、1ページずつ、原稿画像を光学的に読み取り、その原稿画像の画像データを生成し、画像処理部2に出力する。画像処理部2は、画像入力部1から入力された画像データに対して各種画像処理を行い、画像処理後の画像データを画像出力部3に出力する。画像出力部3は、例えば電子写真方式のカラープリントエンジンを有し、画像処理部2からの画像データに基づく画像を印刷用紙に印刷する。   The image forming apparatus shown in FIG. 1 includes an image input unit 1, an image processing unit 2, and an image output unit 3. The image input unit 1 includes, for example, a scanner, optically reads a document image page by page, generates image data of the document image, and outputs the image data to the image processing unit 2. 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. The image output unit 3 includes, for example, an electrophotographic color print engine, and prints an image based on the image data from the image processing unit 2 on a printing paper.

画像処理部2は、画像領域判定部11と、出力画像処理部12とを備える。   The image processing unit 2 includes an image area determination unit 11 and an output image processing unit 12.

画像領域判定部11は、入力される画像データに基づく入力画像における文字エッジ領域および文字内部領域を特定する。具体的には、画像領域判別部11は、入力画像データにおける各画素の領域属性を文字エッジ領域、文字内部領域、および白地(背景)領域のいずれかとして特定する。   The image area determination unit 11 specifies a character edge area and a character internal area in the input image based on the input image data. Specifically, the image region determination unit 11 specifies the region attribute of each pixel in the input image data as one of a character edge region, a character internal region, and a white background (background) region.

画像領域判定部11は、エッジ画素特定部21、輝度分布特定部22、判定条件設定部23、および画素属性特定部24を備える。   The image area determination unit 11 includes an edge pixel specifying unit 21, a luminance distribution specifying unit 22, a determination condition setting unit 23, and a pixel attribute specifying unit 24.

エッジ画素特定部21は、入力画像データに基づく入力画像において、例えばラプラシアンフィルターなどでエッジを抽出し、そのエッジの低濃度側と高濃度側との濃度差に応じたエッジの高濃度側の範囲内の画素をエッジ画素として特定する。したがって、高濃度の文字ほど、その文字のエッジ画素の領域は広くなる。通常、エッジ画素の幅は、2、3画素程度である。   The edge pixel specifying unit 21 extracts an edge from an input image based on the input image data using, for example, a Laplacian filter, and the range of the edge on the high density side according to the density difference between the low density side and the high density side of the edge. The pixels inside are specified as edge pixels. Therefore, the area of the edge pixel of the character becomes wider as the character has a higher density. Usually, the width of the edge pixel is about a few pixels.

輝度分布特定部22は、特定されたエッジ画素の輝度分布を特定する。   The luminance distribution specifying unit 22 specifies the luminance distribution of the specified edge pixel.

この実施の形態では、輝度分布特定部22は、エッジ画素の輝度を、ヒストグラム状に、最低輝度(ここでは0)から最高輝度(ここでは255)までの範囲における所定輝度幅(ここでは16)の区間ごとに分類し、分類されたエッジ画素の数が最も多い輝度幅の中心輝度をピーク輝度とする。   In this embodiment, the luminance distribution specifying unit 22 displays the luminance of the edge pixels in a histogram shape with a predetermined luminance width (here, 16) in the range from the lowest luminance (here, 0) to the highest luminance (here, 255). And the central luminance of the luminance width with the largest number of classified edge pixels is set as the peak luminance.

判定条件設定部23は、特定された輝度分布におけるピーク輝度に応じて除外閾値を設定する。   The determination condition setting unit 23 sets an exclusion threshold according to the peak luminance in the specified luminance distribution.

判定条件設定部23は、除外閾値のデフォルト値とピーク輝度との間の差分が所定値以下である場合には、そのデフォルト値から所定幅シフトして得られる輝度値を除外閾値に設定し、除外閾値のデフォルト値とピーク輝度との間の差分がその所定値より大きい場合には、そのデフォルト値を除外閾値に設定する。   When the difference between the default value of the exclusion threshold and the peak luminance is equal to or less than the predetermined value, the determination condition setting unit 23 sets the luminance value obtained by shifting the default value by a predetermined width as the exclusion threshold. When the difference between the default value of the exclusion threshold value and the peak luminance is larger than the predetermined value, the default value is set as the exclusion threshold value.

この実施の形態では、この所定幅(ここでは、24)は、上述の所定輝度幅(ここでは、16)より大きく設定されている。   In this embodiment, the predetermined width (here, 24) is set larger than the predetermined luminance width (here, 16).

なお、デフォルト値は、最小輝度(ここでは0)と最大輝度(ここでは255)との間の中間値(ここでは、128)よりやや低い値(ここでは、104)に設定される。   The default value is set to a value (here, 104) that is slightly lower than an intermediate value (here, 128) between the minimum luminance (here, 0) and the maximum luminance (here, 255).

この実施の形態では、判定条件設定部23は、除外閾値のデフォルト値とピーク輝度との間の差分が所定値以下である場合には、そのデフォルト値と上述の所定幅との和を除外閾値に設定する。   In this embodiment, when the difference between the default value of the exclusion threshold value and the peak luminance is equal to or smaller than the predetermined value, the determination condition setting unit 23 calculates the sum of the default value and the predetermined width as the exclusion threshold value. Set to.

例えば、この実施の形態では、複数濃度の文字が入力画像に含まれている場合、判定条件設定部23は、特定された輝度分布における複数のピーク輝度を検出する。そして、その場合、判定条件設定部23は、(a)その複数のピーク輝度のうち、除外閾値のデフォルト値に最も近いピーク輝度を特定し、(b)除外閾値のデフォルト値と特定したピーク輝度との間の差分が所定値以下である場合には、デフォルト値から所定幅シフトして得られる輝度値を除外閾値に設定し、除外閾値のデフォルト値と特定したピーク輝度との間の差分が上述の所定値より大きい場合には、そのデフォルト値を除外閾値に設定する。   For example, in this embodiment, when a character having a plurality of densities is included in the input image, the determination condition setting unit 23 detects a plurality of peak luminances in the specified luminance distribution. In that case, the determination condition setting unit 23 (a) specifies the peak luminance closest to the default value of the exclusion threshold among the plurality of peak luminances, and (b) the peak luminance identified as the default value of the exclusion threshold. Is less than or equal to a predetermined value, a luminance value obtained by shifting a predetermined width from the default value is set as an exclusion threshold, and the difference between the default value of the exclusion threshold and the specified peak luminance is If it is larger than the above-mentioned predetermined value, the default value is set as the exclusion threshold.

画素属性特定部24は、エッジ画素特定部21により特定されたエッジ画素のうち、設定された除外閾値以上の輝度を有する画素を、エッジ画素から除外し、入力画像におけるエッジ画素の属性を文字エッジ属性と特定し、入力画像におけるエッジ画素以外の画素の属性を非エッジ属性と特定する。   The pixel attribute specifying unit 24 excludes, from the edge pixels, pixels having luminances equal to or higher than a set exclusion threshold among the edge pixels specified by the edge pixel specifying unit 21, and sets the edge pixel attributes in the input image as character edges. An attribute is specified, and an attribute of a pixel other than an edge pixel in the input image is specified as a non-edge attribute.

そして、出力画像処理部12は、文字領域について、微分フィルター等を用いたエッジ強調処理、文字領域に適応させた、色補正処理、黒生成/UCR(Under Color Removal)処理、中間調処理などを行い、非エッジ属性の画素領域のうちの網点領域あるいは下地領域について、積分フィルター等を用いた平滑化処理、網点領域あるいは下地領域に適応させた、色補正処理、黒生成/UCR処理、中間調処理などを行う。これにより、印刷画像内の文字部分を鮮明にしたり、網点部分のモアレやノイズを抑える。   Then, the output image processing unit 12 performs edge enhancement processing using a differential filter or the like for the character region, color correction processing, black generation / UCR (Under Color Removal) processing, halftone processing, and the like adapted to the character region. Smoothing processing using an integration filter or the like for the halftone dot region or background region of the non-edge attribute pixel region, color correction processing, black generation / UCR processing adapted to the halftone region or background region, Perform halftone processing. 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に示す画像形成装置の動作について説明するフローチャートである。図3は、図1に示す画像形成装置におけるエッジ画素の輝度分布に応じた除外閾値の設定について説明する図である。   Next, the operation of the image forming apparatus will be described. FIG. 2 is a flowchart for explaining the operation of the image forming apparatus shown in FIG. FIG. 3 is a diagram for explaining setting of the exclusion threshold value according to the luminance distribution of the edge pixels in the image forming 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).

画像領域判定部11は、そのビットマップ画像データを読み出し、その原稿画像を入力画像とする。そして、エッジ画素特定部21は、その入力画像における文字エッジ画素を抽出し、エッジ画像を生成する(ステップS2)。エッジ画像は、エッジ画素の画素位置の画素値を1とし、エッジ画素以外の画素位置の画素値を0とした2値画像である。つまり、エッジ画像は、入力画像の各画素の属性を示す画像である。   The image area determination unit 11 reads the bitmap image data and uses the document image as an input image. Then, the edge pixel specifying unit 21 extracts a character edge pixel in the input image and generates an edge image (step S2). The edge image is a binary image in which the pixel value at the pixel position of the edge pixel is 1 and the pixel value at the pixel position other than the edge pixel is 0. That is, the edge image is an image indicating the attribute of each pixel of the input image.

次に、輝度分布特定部22は、上述したように、特定されたエッジ画素の輝度分布を特定する(ステップS3)。   Next, as described above, the brightness distribution specifying unit 22 specifies the brightness distribution of the specified edge pixel (step S3).

判定条件設定部23は、その輝度分布におけるピーク輝度Ypを特定し、除外閾値Yのデフォルト値Ydとピーク輝度Ypとの間の差分が所定値THD以下であるか否かを判定する(ステップS4)。   The determination condition setting unit 23 specifies the peak luminance Yp in the luminance distribution, and determines whether or not the difference between the default value Yd of the exclusion threshold Y and the peak luminance Yp is equal to or less than a predetermined value THD (step S4). ).

判定条件設定部23は、除外閾値Yのデフォルト値Ydとピーク輝度Ypとの間の差分が所定値THD以下である場合には、そのデフォルト値Ydから所定幅Aシフトして得られる輝度値(Yd+A)を除外閾値Yに設定し(ステップS5)、除外閾値Yのデフォルト値Ydとピーク輝度Ypとの間の差分がその所定値THDより大きい場合には、そのデフォルト値Ydを除外閾値Yに設定する(ステップS6)。   If the difference between the default value Yd of the exclusion threshold Y and the peak luminance Yp is equal to or less than the predetermined value THD, the determination condition setting unit 23 shifts the luminance value ( Yd + A) is set as the exclusion threshold Y (step S5), and if the difference between the default value Yd of the exclusion threshold Y and the peak luminance Yp is larger than the predetermined value THD, the default value Yd is set as the exclusion threshold Y. Set (step S6).

このようにすることにより、入力画像内に中濃度文字が存在し、中濃度文字の輝度分布が除外閾値のデフォルト値Yd付近に存在する場合には、図3に示すように、除外閾値Yがデフォルト値Ydからシフトされる。なお、図3における「頻度」は画素数を意味する。   In this way, when an intermediate density character exists in the input image and the luminance distribution of the intermediate density character exists near the default value Yd of the exclusion threshold, the exclusion threshold Y is set as shown in FIG. Shifted from the default value Yd. Note that “frequency” in FIG. 3 means the number of pixels.

このようにして、除外閾値Yを設定した後、画素属性特定部24は、以下の処理を実行する。   After setting the exclusion threshold Y in this way, the pixel attribute specifying unit 24 executes the following processing.

そして、画素属性特定部24は、その入力画像において、所定の走査順序で注目画素を選択していく(ステップS7)。   Then, the pixel attribute specifying unit 24 selects a target pixel in the input image in a predetermined scanning order (step S7).

各注目画素について、画素属性特定部24は、エッジ画像を参照して、注目画素がエッジ画素であるか否かを判定する(ステップS8)。   For each target pixel, the pixel attribute specifying unit 24 refers to the edge image to determine whether the target pixel is an edge pixel (step S8).

注目画素がエッジ画素である場合、画素属性特定部24は、注目画素が、設定された除外閾値Y未満の輝度を有するか否かを判定する(ステップS9)。   If the target pixel is an edge pixel, the pixel attribute specifying unit 24 determines whether the target pixel has a luminance less than the set exclusion threshold Y (step S9).

そして、注目画素がエッジ画素であり、かつ、設定された除外閾値Y未満の輝度を有する場合、画素属性特定部24は、注目画素の属性を文字エッジ属性と判定し(ステップS10)、   If the pixel of interest is an edge pixel and has a luminance less than the set exclusion threshold Y, the pixel attribute specifying unit 24 determines that the attribute of the pixel of interest is a character edge attribute (step S10).

一方、注目画素がエッジ画素であり、かつ、設定された除外閾値Y以上の輝度を有する場合、画素属性特定部24は、注目画素の属性を文字エッジ属性から非文字エッジ属性(イメージ属性)へ変更する(ステップS11)。これにより、注目画素がエッジ画素から除外される。   On the other hand, when the target pixel is an edge pixel and has a luminance equal to or higher than the set exclusion threshold Y, the pixel attribute specifying unit 24 changes the attribute of the target pixel from the character edge attribute to the non-character edge attribute (image attribute). Change (step S11). As a result, the target pixel is excluded from the edge pixels.

また、ステップS8において注目画素がエッジ画素ではない場合、画素属性特定部24は、注目画素の属性を非文字エッジ属性(イメージ属性)と判定する(ステップS11)。   If the target pixel is not an edge pixel in step S8, the pixel attribute specifying unit 24 determines that the attribute of the target pixel is a non-character edge attribute (image attribute) (step S11).

このようにして、注目画素の属性が特定されると、画素属性特定部24は、入力画像内のすべての画素の属性を特定したか否かを判定し(ステップS12)、属性を特定していない画素がある場合には、ステップS7に戻り、次の注目画素を選択し、次の注目画素に対して同様の処理を実行する。   When the attribute of the pixel of interest is specified in this way, the pixel attribute specifying unit 24 determines whether or not the attributes of all the pixels in the input image have been specified (step S12), and specifies the attributes. If there is no pixel, the process returns to step S7, the next pixel of interest is selected, and the same processing is executed for the next pixel of interest.

一方、入力画像内のすべての画素の属性が特定された場合、出力画像処理部12は、その画素の属性に基づいて入力画像の画像処理を実行し(ステップS13)、画像処理後の入力画像の印刷を画像出力部3に実行させる(ステップS14)。このとき、エッジ属性の画素は、ブラック一色で表現され、イメージ属性の画素は、カラートナー色(CMY)の混合色で表現される。   On the other hand, when the attributes of all the pixels in the input image are specified, the output image processing unit 12 performs image processing of the input image based on the attributes of the pixels (step S13), and the input image after the image processing Printing is executed by the image output unit 3 (step S14). At this time, the pixel having the edge attribute is expressed by a single black color, and the pixel having the image attribute is expressed by a mixed color of color toner colors (CMY).

以上のように、上記実施の形態によれば、エッジ画素特定部21は、入力画像内のエッジ画素を特定する。輝度分布特定部22は、特定されたエッジ画素の輝度分布を特定する。判定条件設定部23は、特定された輝度分布におけるピーク輝度に応じて除外閾値を設定する。画素属性特定部24は、設定された除外閾値以上の輝度を有するエッジ画素を、エッジ画素から除外する。そして、判定条件設定部23は、除外閾値のデフォルト値と上述のピーク輝度との間の差分が所定値以下である場合には、そのデフォルト値から所定幅シフトして得られる輝度値を除外閾値に設定し、除外閾値のデフォルト値とピーク輝度との間の差分が所定値より大きい場合には、そのデフォルト値を除外閾値に設定する。   As described above, according to the embodiment, the edge pixel specifying unit 21 specifies the edge pixel in the input image. The luminance distribution specifying unit 22 specifies the luminance distribution of the specified edge pixel. The determination condition setting unit 23 sets an exclusion threshold according to the peak luminance in the specified luminance distribution. The pixel attribute specifying unit 24 excludes edge pixels having a luminance equal to or higher than a set exclusion threshold from the edge pixels. Then, when the difference between the default value of the exclusion threshold and the above-described peak luminance is equal to or less than the predetermined value, the determination condition setting unit 23 determines the luminance value obtained by shifting the default value by a predetermined width as the exclusion threshold. When the difference between the default value of the exclusion threshold value and the peak luminance is larger than a predetermined value, the default value is set as the exclusion threshold value.

これにより、中濃度文字のエッジが一括して文字エッジとして特定されるか、一括して非文字エッジとして特定されやすくなるため、入力画像内の中濃度文字の画質が良好になる。つまり、図4に示すような文字エッジの途切れが発生しにくくなる。   As a result, the edges of medium density characters are easily specified as character edges or collectively as non-character edges, so that the image quality of intermediate density characters in the input image is improved. That is, the break of the character edge as shown in FIG. 4 is less likely to occur.

なお、上述の実施の形態に対する様々な変更および修正については、当業者には明らかである。そのような変更および修正は、その主題の趣旨および範囲から離れることなく、かつ、意図された利点を弱めることなく行われてもよい。つまり、そのような変更および修正が請求の範囲に含まれることを意図している。   Various changes and modifications to the above-described embodiment will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the spirit and scope of the subject matter and without diminishing its intended advantages. That is, such changes and modifications are intended to be included within the scope of the claims.

例えば、上記実施の形態では、デフォルト値Ydとピーク輝度値Ypとの差(Yd−Yp)が所定値THD以下である場合には、デフォルト値Ydと所定値Aとの和を除外閾値Yとしているが、その代わりに、デフォルト値Ydとピーク輝度値Ypとの差(Yd−Yp)の絶対値が所定値THD以下である場合には、デフォルト値Ydと所定値Aとの和を除外閾値Yとし、そうでない場合には、デフォルト値Ydを除外閾値Yとしてもよい。   For example, in the above embodiment, when the difference (Yd−Yp) between the default value Yd and the peak luminance value Yp is equal to or smaller than the predetermined value THD, the sum of the default value Yd and the predetermined value A is set as the exclusion threshold Y. However, if the absolute value of the difference (Yd−Yp) between the default value Yd and the peak luminance value Yp is equal to or smaller than the predetermined value THD, the sum of the default value Yd and the predetermined value A is excluded as an exclusion threshold value. In other cases, the default value Yd may be used as the exclusion threshold Y.

また、上記実施の形態において、デフォルト値Ydとピーク輝度値Ypとの差(Yd−Yp)が0より大きくかつ所定値THD以下である場合には、デフォルト値Ydと所定値Aとの和を除外閾値Yとし、ピーク輝度値Ypとデフォルト値Ydとの差(Yp−Yd)が0より大きくかつ所定値THD以下である場合には、デフォルト値Ydと所定値Aとの差(Yd−A)を除外閾値Yとし、それ以外の場合には、デフォルト値Ydを除外閾値Yとしてもよい。   In the above embodiment, when the difference (Yd−Yp) between the default value Yd and the peak luminance value Yp is greater than 0 and less than or equal to the predetermined value THD, the sum of the default value Yd and the predetermined value A is calculated. When the exclusion threshold Y is set and the difference (Yp−Yd) between the peak luminance value Yp and the default value Yd is greater than 0 and less than or equal to the predetermined value THD, the difference between the default value Yd and the predetermined value A (Yd−A) ) Is the exclusion threshold Y, and in other cases, the default value Yd may be the exclusion threshold Y.

また、上記実施の形態において、所定幅Aは一定であるが、輝度分布のピーク形状(例えば分散値)に応じて所定幅Aを調整するようにしてもよい。例えば、輝度分布のピーク形状がなだらかな場合の所定幅Aが、輝度分布のピーク形状が急峻な場合より大きく設定されるようにしてもよい。   In the above embodiment, the predetermined width A is constant. However, the predetermined width A may be adjusted according to the peak shape (for example, dispersion value) of the luminance distribution. For example, the predetermined width A when the peak shape of the luminance distribution is gentle may be set larger than when the peak shape of the luminance distribution is steep.

本発明は、例えば、複写機、複合機などの画像形成装置に適用可能である。   The present invention can be applied to an image forming apparatus such as a copying machine or a multifunction machine.

21 エッジ画素特定部
22 輝度分布特定部
23 判定条件設定部
24 画素属性特定部
21 edge pixel specifying unit 22 luminance distribution specifying unit 23 determination condition setting unit 24 pixel attribute specifying unit

Claims (5)

入力画像内のエッジ画素を特定するエッジ画素特定部と、
特定された前記エッジ画素の輝度分布を特定する輝度分布特定部と、
特定された前記輝度分布におけるピーク輝度に応じて除外閾値を設定する判定条件設定部と、
特定された前記エッジ画素のうち、設定された前記除外閾値以上の輝度を有する画素を、前記エッジ画素から除外する画素属性特定部と、
を備え、
前記判定条件設定部は、前記除外閾値のデフォルト値と前記ピーク輝度との間の差分が所定値以下である場合には、前記デフォルト値から所定幅シフトして得られる輝度値を前記除外閾値に設定し、前記除外閾値のデフォルト値と前記ピーク輝度との間の差分が前記所定値より大きい場合には、前記デフォルト値を前記除外閾値に設定すること、
を特徴とする画像処理装置。
An edge pixel specifying unit for specifying an edge pixel in the input image;
A luminance distribution specifying unit that specifies the luminance distribution of the specified edge pixel;
A determination condition setting unit that sets an exclusion threshold according to the peak luminance in the specified luminance distribution;
Among the identified edge pixels, a pixel attribute identifying unit that excludes pixels having a luminance equal to or higher than the set exclusion threshold from the edge pixels;
With
When the difference between the default value of the exclusion threshold and the peak luminance is equal to or less than a predetermined value, the determination condition setting unit sets a luminance value obtained by shifting a predetermined width from the default value as the exclusion threshold. And if the difference between the default value of the exclusion threshold and the peak luminance is greater than the predetermined value, setting the default value to the exclusion threshold;
An image processing apparatus.
前記輝度分布特定部は、前記エッジ画素の輝度を、最低輝度から最高輝度までの範囲における所定輝度幅の区間ごとに分類し、分類された前記エッジ画素の数が最も多い前記輝度幅の中心輝度を前記ピーク輝度とすることを特徴とする請求項1記載の画像処理装置。   The luminance distribution specifying unit classifies the luminance of the edge pixels into sections of a predetermined luminance width in a range from the lowest luminance to the highest luminance, and the central luminance of the luminance width having the largest number of classified edge pixels. The image processing apparatus according to claim 1, wherein the peak luminance is set as the peak luminance. 前記所定幅は、前記所定輝度幅より大きいことを特徴とする請求項2記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the predetermined width is larger than the predetermined luminance width. 前記判定条件設定部は、前記除外閾値のデフォルト値と前記ピーク輝度との間の差分が所定値以下である場合には、前記デフォルト値と前記所定幅との和を前記除外閾値に設定することを特徴とする請求項1から請求項3のうちのいずれか1項記載の画像処理装置。   The determination condition setting unit sets a sum of the default value and the predetermined width as the exclusion threshold when a difference between a default value of the exclusion threshold and the peak luminance is equal to or less than a predetermined value. The image processing apparatus according to claim 1, wherein: 前記判定条件設定部は、(a)特定された前記輝度分布が複数のピーク輝度を有する場合、前記複数のピーク輝度のうち、前記除外閾値のデフォルト値に最も近いピーク輝度を特定し、(b)前記除外閾値のデフォルト値と特定した前記ピーク輝度との間の差分が所定値以下である場合には、前記デフォルト値から所定幅シフトして得られる輝度値を前記除外閾値に設定し、前記除外閾値のデフォルト値と特定した前記ピーク輝度との間の差分が前記所定値より大きい場合には、前記デフォルト値を前記除外閾値に設定することを特徴とする請求項1から請求項4のうちのいずれか1項記載の画像処理装置。   The determination condition setting unit specifies (a) a peak luminance closest to a default value of the exclusion threshold among the plurality of peak luminances when the specified luminance distribution has a plurality of peak luminances; ) When the difference between the default value of the exclusion threshold and the specified peak luminance is less than or equal to a predetermined value, a luminance value obtained by shifting a predetermined width from the default value is set as the exclusion threshold, The default value is set as the exclusion threshold value when the difference between the default value of the exclusion threshold value and the specified peak luminance is larger than the predetermined value. The image processing apparatus according to claim 1.
JP2016105429A 2016-05-26 2016-05-26 Image processing device Expired - Fee Related JP6414710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016105429A JP6414710B2 (en) 2016-05-26 2016-05-26 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016105429A JP6414710B2 (en) 2016-05-26 2016-05-26 Image processing device

Publications (2)

Publication Number Publication Date
JP2017212645A true JP2017212645A (en) 2017-11-30
JP6414710B2 JP6414710B2 (en) 2018-10-31

Family

ID=60476968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016105429A Expired - Fee Related JP6414710B2 (en) 2016-05-26 2016-05-26 Image processing device

Country Status (1)

Country Link
JP (1) JP6414710B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096957A (en) * 1995-06-23 1997-01-10 Toshiba Corp Binarization method for density image and image binarization device
JP2005165925A (en) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Method and system for binarization process
JP2013042415A (en) * 2011-08-18 2013-02-28 Pfu Ltd Image processing apparatus, image processing method, and computer program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096957A (en) * 1995-06-23 1997-01-10 Toshiba Corp Binarization method for density image and image binarization device
JP2005165925A (en) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Method and system for binarization process
JP2013042415A (en) * 2011-08-18 2013-02-28 Pfu Ltd Image processing apparatus, image processing method, and computer program

Also Published As

Publication number Publication date
JP6414710B2 (en) 2018-10-31

Similar Documents

Publication Publication Date Title
JP4700721B2 (en) Image processing device
US7889395B2 (en) Image processing apparatus, image processing method, and program
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
US8223402B2 (en) Color trapping on a halftoned bi-level bitmap
US8243330B2 (en) Apparatus, method, and computer-readable recording medium for performing color material saving process
US8345310B2 (en) Halftone frequency determination method and printing apparatus
US20080137159A1 (en) Image forming apparatus and image quality improving method thereof
US9253368B2 (en) Image processing device setting binary value without using dither matrix when prescribed condition is satisfied
JP2006115425A (en) Image processing apparatus, image forming apparatus, image processing method, computer program and recording medium
KR20090004427A (en) Image forming apparatus and control method for improving the quality of image
JP2022173510A (en) Image processing apparatus, image processing method, and program
JP2011082746A (en) Image processing apparatus
US20140126005A1 (en) Method for controlling image processing device
EP3331233B1 (en) Image processing device
JP6414710B2 (en) Image processing device
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP2011166776A (en) Apparatus and method for processing image
JP2006270148A (en) Image processing method, image processor and image forming apparatus
US10038823B2 (en) Image forming apparatus
JP6681033B2 (en) Image processing device
JP6350877B2 (en) Image forming apparatus
JP2009302761A (en) Image processor
JP6440000B2 (en) Image processing device
JP2015211243A (en) Image reading device
JP5360131B2 (en) Image processing apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180919

R150 Certificate of patent or registration of utility model

Ref document number: 6414710

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees