JP5535138B2 - Image processing apparatus and image forming apparatus - Google Patents

Image processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP5535138B2
JP5535138B2 JP2011142444A JP2011142444A JP5535138B2 JP 5535138 B2 JP5535138 B2 JP 5535138B2 JP 2011142444 A JP2011142444 A JP 2011142444A JP 2011142444 A JP2011142444 A JP 2011142444A JP 5535138 B2 JP5535138 B2 JP 5535138B2
Authority
JP
Japan
Prior art keywords
color
pixel
fluorescent
fluorescent color
image
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
JP2011142444A
Other languages
Japanese (ja)
Other versions
JP2013012800A (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 JP2011142444A priority Critical patent/JP5535138B2/en
Publication of JP2013012800A publication Critical patent/JP2013012800A/en
Application granted granted Critical
Publication of JP5535138B2 publication Critical patent/JP5535138B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color Electrophotography (AREA)

Description

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

デジタルカラー複合機でカラーコピーを行う際に、蛍光色を含む原稿を用いることがある。蛍光色とは、例えば、蛍光ペンなどで原稿上に塗られた色である。   When performing color copying with a digital color multifunction peripheral, a document including a fluorescent color may be used. The fluorescent color is, for example, a color painted on a document with a fluorescent pen or the like.

一般の原稿の色は、原稿に照射された光の反射光のみで検出されるのに対し、原稿において蛍光色が塗られた部分(以下、蛍光色部分という)の色は、反射光に蛍光を加えた光で検出される。したがって、蛍光色部分を含む原稿の画像読取をスキャナーで行うと、蛍光色部分が、原稿におけるその部分の色とはまったく異なる色に再現されてしまうことがある。   While the color of a general document is detected only by the reflected light of the light irradiated on the document, the color of the fluorescently colored portion of the document (hereinafter referred to as the fluorescent color portion) is fluorescent in the reflected light. It is detected by the light added. Therefore, when an image of a document including a fluorescent color portion is read by a scanner, the fluorescent color portion may be reproduced in a color completely different from the color of the portion in the document.

そのため、ある画像処理装置は、RGB値から蛍光色部分を検出し、その蛍光色部分に対して色変換処理を施している(例えば、特許文献1参照)。特許文献1に記載の装置は、原稿をスキャンして得られたRGB入力値と所定の閾値とを比較することにより、各画素の色が蛍光色であるか否かを判定している。   For this reason, a certain image processing apparatus detects a fluorescent color portion from the RGB values and performs a color conversion process on the fluorescent color portion (see, for example, Patent Document 1). The apparatus described in Patent Document 1 determines whether or not the color of each pixel is a fluorescent color by comparing an RGB input value obtained by scanning a document with a predetermined threshold value.

特開平7−177368号公報JP-A-7-177368

しかしながら、上記特許文献1に記載の装置では、蛍光色と同一または蛍光色に近い色として検出される一般色も、蛍光色と同様に色変換されてしまい、そのような一般色が不自然な色で再現されてしまう。   However, in the apparatus described in Patent Document 1, a general color detected as a color that is the same as or close to the fluorescent color is also color-converted in the same manner as the fluorescent color, and such a general color is unnatural. It will be reproduced in color.

上記特許文献1に記載の装置は、蛍光色判定を高精度化するために、注目画素を含む局所領域内で、蛍光色と一次的に判定された画素の数をカウントし、その画素数に応じて、注目画素が蛍光色を有するか否かを最終的に判定しているが、このようにしたとしても、蛍光色に近い一般色が連続して存在する場合には、一般色が蛍光色と誤検知されてしまう可能性がある。   The apparatus described in Patent Document 1 counts the number of pixels that are primarily determined to be a fluorescent color in a local region including the pixel of interest in order to increase the accuracy of the fluorescent color determination. Accordingly, it is finally determined whether or not the pixel of interest has a fluorescent color, but even if this is done, if a general color close to the fluorescent color exists continuously, the general color is not fluorescent. There is a possibility of being mistaken for color.

本発明は、上記の問題に鑑みてなされたものであり、原稿内の一般色が蛍光色と誤検知される可能性を低減する画像処理装置および画像形成装置を得ることを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and an image forming apparatus that reduce the possibility that a general color in a document is erroneously detected as a fluorescent color.

上記の課題を解決するために、本発明では以下のようにした。   In order to solve the above problems, the present invention is configured as follows.

本発明に係る画像処理装置は、原稿画像から特定属性の領域を分離する領域分離部と、原稿画像における各画素について、蛍光色に対応する所定の色範囲内の色を有し、その画素から所定の範囲内に、特定属性の領域に属する画素が存在する場合には、その画素が蛍光色を有すると判定し、その色範囲内の色を有していても、その画素から所定の範囲内に、特定属性の領域に属する画素が存在しない場合には、その画素が蛍光色を有すると判定しない蛍光色判定部と、蛍光色判定部により、蛍光色を有すると判定された画素に対して所定の色変換処理を行う色変換部とを備える。   An image processing apparatus according to the present invention includes a region separation unit that separates a region having a specific attribute from a document image, and each pixel in the document image has a color within a predetermined color range corresponding to a fluorescent color. If there is a pixel belonging to the specific attribute area within the predetermined range, it is determined that the pixel has a fluorescent color, and even if the pixel has a color within the color range, the predetermined range from the pixel is determined. If there is no pixel belonging to the region of the specific attribute, the fluorescent color determination unit that does not determine that the pixel has a fluorescent color, and the pixel that is determined to have the fluorescent color by the fluorescent color determination unit And a color conversion unit for performing a predetermined color conversion process.

これにより、特定属性の領域の周辺の画素についてのみ蛍光色判定が行われるため、原稿内の一般色が蛍光色と誤検知される可能性が低減する。   As a result, since the fluorescent color determination is performed only for the pixels around the specific attribute region, the possibility that the general color in the document is erroneously detected as the fluorescent color is reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、上述の特定属性の領域は、文字領域である。   In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, the above-described specific attribute area is a character area.

これにより、文字を含む原稿が蛍光色部分を有する場合、文字に沿って蛍光ペンで塗られた蛍光色であることが多い。したがって、文字領域の周辺の画素についてのみ蛍光色判定が行われるため、原稿内の一般色が蛍光色と誤検知される可能性が低減する。   Thus, when a document including characters has a fluorescent color portion, it is often a fluorescent color painted with a fluorescent pen along the characters. Therefore, since the fluorescent color determination is performed only for the pixels around the character area, the possibility that the general color in the document is erroneously detected as the fluorescent color is reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、蛍光色判定部は、上述の色範囲内の色を有しているにも拘わらず蛍光色を有すると判定しなかった画素が、蛍光色を有すると判定した画素から連続しており、かつ、蛍光色を有すると判定した画素から所定の範囲内にあれば、蛍光色を有すると最終的に判定する。   The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the fluorescent color determination unit continues from the pixel determined not to have a fluorescent color, even though it has a color within the above-described color range, from the pixel determined to have a fluorescent color. If it is within a predetermined range from a pixel determined to have a fluorescent color, it is finally determined that the pixel has a fluorescent color.

これにより、例えば間隔の広い文字と文字の中間の画素のように、特定属性の領域から離れていても、蛍光色を有している画素が、蛍光色を有すると最終的に判定され、蛍光色部分にあるにも拘わらず、蛍光色を有さないと判定される画素が低減される。   As a result, for example, a pixel having a fluorescent color is finally determined to have a fluorescent color even if it is far from a specific attribute region, such as a pixel between a character having a wide interval and a character in the middle. Despite being in the color portion, pixels that are determined not to have a fluorescent color are reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、上述の色範囲は、1または複数の蛍光色に対応する明度、彩度、および色相の範囲であり、蛍光色判定部は、画素の明度、彩度、および色相の値に基づいて、その画素が蛍光色を有するか否かを判定する。   The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the color range described above is a range of lightness, saturation, and hue corresponding to one or more fluorescent colors, and the fluorescent color determination unit is based on the brightness, saturation, and hue values of the pixels. Then, it is determined whether or not the pixel has a fluorescent color.

本発明に係る画像形成装置は、上述の画像処理装置のいずれかと、原稿画像を読み取る画像読取装置と、画像処理装置の色変換部により所定の色変換処理が行われた後の原稿画像を印刷する印刷装置とを備える。   An image forming apparatus according to the present invention prints an original image after a predetermined color conversion process is performed by any one of the above-described image processing apparatuses, an image reading apparatus that reads an original image, and a color conversion unit of the image processing apparatus. A printing apparatus.

これにより、蛍光色部分を有する原稿から複写された印刷物における蛍光色部分の画質が良好となる。   Thereby, the image quality of the fluorescent color portion in the printed matter copied from the document having the fluorescent color portion is improved.

本発明によれば、原稿内の一般色が蛍光色と誤検知される可能性を低減する。   According to the present invention, it is possible to reduce the possibility that a general color in a document is erroneously detected as a fluorescent color.

図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 processing apparatus in FIG. 図3は、図1における画像処理装置による蛍光色判定(一次判定)を説明する図である。FIG. 3 is a diagram illustrating fluorescent color determination (primary determination) by the image processing apparatus in FIG. 図4は、図1における画像処理装置による蛍光色判定(二次判定)を説明する図である。FIG. 4 is a diagram illustrating fluorescent color determination (secondary determination) by the image processing apparatus in FIG. 図5は、図1における画像読取装置により読み取られた原稿画像の一例を示す図である。FIG. 5 is a diagram illustrating an example of a document image read by the image reading apparatus in FIG. 図6は、図1における画像読取装置により読み取られた原稿画像の他の例を示す図である。FIG. 6 is a diagram showing another example of a document image read by the image reading apparatus in FIG.

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

図1は、本発明の実施の形態に係る画像形成装置の構成を示すブロック図である。図1に示す画像形成装置1は、複写機である。ただし、画像形成装置1は、複合機などでもよい。   FIG. 1 is a block diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention. An image forming apparatus 1 shown in FIG. 1 is a copying machine. However, the image forming apparatus 1 may be a multifunction machine.

この画像形成装置1は、印刷装置11と、画像読取装置12と、画像処理装置13とを備える。   The image forming apparatus 1 includes a printing device 11, an image reading device 12, and an image processing device 13.

印刷装置11は、画像データに基づいて原稿画像を印刷する内部装置である。印刷装置11は、例えば、画像処理装置13により原稿画像の蛍光色部分の色変換が行われた後の画像データに基づいて原稿画像を印刷する。   The printing device 11 is an internal device that prints a document image based on image data. For example, the printing apparatus 11 prints the document image based on the image data after the color conversion of the fluorescent color portion of the document image is performed by the image processing device 13.

画像読取装置12は、原稿から原稿画像を光学的に読み取り、原稿画像の画像データを生成する内部装置である。   The image reading device 12 is an internal device that optically reads a document image from a document and generates image data of the document image.

画像処理装置13は、画像読取装置12などで生成された画像データに対して、蛍光色部分の色変換などの画像処理を行う。   The image processing device 13 performs image processing such as color conversion of the fluorescent color portion on the image data generated by the image reading device 12 or the like.

画像処理装置13は、演算処理装置21とメモリー22とを有する。演算処理装置21は、ASIC(Application Specific Integrated Circuit)やマイクロコンピューターで実現され、各種処理部を有する。メモリー22は、RAM(Random Access Memory)などの書換可能な記憶装置である。メモリー22には、画像処理を施す前の画像データ、画像処理の途中のデータ、画像処理を施した後の画像データなどが一時的に記憶される。   The image processing device 13 includes an arithmetic processing device 21 and a memory 22. The arithmetic processing unit 21 is realized by an application specific integrated circuit (ASIC) or a microcomputer, and has various processing units. The memory 22 is a rewritable storage device such as a RAM (Random Access Memory). The memory 22 temporarily stores image data before image processing, data during image processing, image data after image processing, and the like.

また、演算処理装置21は、処理部として、領域分離部31、蛍光色判定部32、および色変換部33を有する。   The arithmetic processing device 21 includes a region separation unit 31, a fluorescent color determination unit 32, and a color conversion unit 33 as processing units.

領域分離部31は、原稿画像から特定属性の領域を分離する。この実施の形態では、領域分離部31は、原稿画像から文字領域を分離する。具体的には、領域分離部31は、原稿画像における全画素のうち、文字領域に属する画素を特定する。なお、文字領域の分離には、周知の方法を使用すればよい。   The area separating unit 31 separates a specific attribute area from the document image. In this embodiment, the region separation unit 31 separates a character region from a document image. Specifically, the region separation unit 31 identifies pixels belonging to the character region among all the pixels in the document image. A known method may be used for separating the character areas.

蛍光色判定部32は、領域分離部31により特定された特定属性領域の周辺のみで蛍光色判定を行う。具体的には、蛍光色判定部32は、原稿画像における各画素について、蛍光色に対応する所定の色範囲内の色を有し、その画素から所定の範囲内に、その特定属性の領域に属する画素が存在する場合には、その画素が蛍光色を有すると判定する。一方、蛍光色判定部32は、その色範囲内の色を有していても、その画素から所定の範囲内に、特定属性の領域に属する画素が存在しない場合には、その画素が蛍光色を有すると判定しない。   The fluorescent color determination unit 32 performs the fluorescent color determination only around the specific attribute region specified by the region separation unit 31. Specifically, the fluorescent color determination unit 32 has a color within a predetermined color range corresponding to the fluorescent color for each pixel in the document image, and within the predetermined range from the pixel to the region of the specific attribute. If there is a pixel to which it belongs, it is determined that the pixel has a fluorescent color. On the other hand, even if the fluorescent color determination unit 32 has a color within the color range, and there is no pixel belonging to the specific attribute region within the predetermined range from the pixel, the fluorescent color determination unit 32 Not determined to have

また、蛍光色判定部32は、蛍光色を有すると判定した画素の周辺について、二次的な蛍光色判定を行う。具体的には、蛍光色判定部32は、上述の色範囲内の色を有しているにも拘わらず蛍光色を有すると判定しなかった画素が、蛍光色を有すると判定した画素から連続しており、かつ、蛍光色を有すると判定した画素から所定の範囲内にあれば、蛍光色を有すると最終的に判定する。   The fluorescent color determination unit 32 performs secondary fluorescent color determination on the periphery of the pixel determined to have a fluorescent color. Specifically, the fluorescent color determination unit 32 continues from the pixels determined not to have a fluorescent color, even though they have a color within the above-described color range, from the pixels determined to have a fluorescent color. If it is within a predetermined range from a pixel determined to have a fluorescent color, it is finally determined that the pixel has a fluorescent color.

この実施の形態では、上述の色範囲は、1または複数の蛍光色に対応する明度、彩度、および色相の範囲であり、蛍光色判定部32は、画素の明度、彩度、および色相の値に基づいて、その画素が蛍光色を有するか否かを判定する。   In this embodiment, the above-described color range is a range of lightness, saturation, and hue corresponding to one or a plurality of fluorescent colors, and the fluorescent color determination unit 32 determines the brightness, saturation, and hue of the pixel. Based on the value, it is determined whether or not the pixel has a fluorescent color.

蛍光色は、黄色系、緑色系、水色系、オレンジ色系、ピンク色系、および紫色系の6つのうちの1または複数であり、蛍光色判定部32は、黄色系、緑色系、水色系、オレンジ色系、ピンク色系、および紫色系の6つのうちの1または複数の蛍光色についての色範囲内の色を、画素が有するか否かを判定する。   The fluorescent color is one or more of six of yellow, green, light blue, orange, pink, and purple, and the fluorescent color determination unit 32 is yellow, green, light blue It is determined whether or not the pixel has a color within the color range for one or more of the six colors of orange, pink, and purple.

蛍光色判定部32は、各蛍光色に対応する明度、彩度、および色相の範囲データを有している。例えば、黄色系の蛍光色の明度L、彩度H、および色相Cの範囲は、93<L<98、40<H<53、および98<C<138とされる。この範囲データは、各座標の範囲の上限値と下限値を有する。   The fluorescent color determination unit 32 has brightness, saturation, and hue range data corresponding to each fluorescent color. For example, the range of lightness L, saturation H, and hue C of the yellow fluorescent color is 93 <L <98, 40 <H <53, and 98 <C <138. This range data has an upper limit value and a lower limit value of the range of each coordinate.

色変換部33は、蛍光色判定部32により、蛍光色を有すると判定された画素に対して所定の色変換処理を行う。この実施の形態では、色変換部33は、複数の色変換テーブルを有しており、蛍光色を有すると判定された画素以外に使用する色変換テーブルとは異なる色変換特性を有する色変換テーブルを、蛍光色を有すると判定された画素に対して使用する。   The color conversion unit 33 performs a predetermined color conversion process on the pixels determined by the fluorescent color determination unit 32 to have a fluorescent color. In this embodiment, the color conversion unit 33 has a plurality of color conversion tables, and has a color conversion characteristic that is different from the color conversion table used for pixels other than those determined to have fluorescent colors. Is used for pixels determined to have a fluorescent color.

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

画像読取装置12により生成された原稿画像の画像データが、メモリー22に記憶されると、演算処理装置21により、以下の処理が実行される。なお、この画像データは、各画素についてRGB値を有する。   When the image data of the document image generated by the image reading device 12 is stored in the memory 22, the following processing is executed by the arithmetic processing device 21. The image data has RGB values for each pixel.

まず、領域分離部31は、原稿画像の画像データを読み出し、原稿画像における全画素のうち、文字領域に属する画素を特定し、すべての画素のそれぞれについて、文字領域に属するか否かを示す属性フラグをメモリー22に記憶する(ステップS1)。   First, the region separation unit 31 reads out image data of a document image, identifies pixels belonging to the character region among all the pixels in the document image, and indicates whether each of the pixels belongs to the character region. The flag is stored in the memory 22 (step S1).

次に、蛍光色判定部32は、原稿画像の注目画素を設定する(ステップS2)。主走査方向をX座標とし、副走査方向をY座標として、画素の座標値を(X,Y)で表すと、蛍光色判定部32は、座標(0,0)の画素を最初に注目画素に設定し、主走査方向に沿って順番に注目画素を変化させていき、ライン終端の画素に到達すると、副走査方向に沿って次のラインの先頭画素を注目画素に設定する。以降、蛍光色判定部32は、この順番で、注目画素を変化させていく。   Next, the fluorescent color determination unit 32 sets a target pixel of the document image (step S2). When the main scanning direction is the X coordinate, the sub scanning direction is the Y coordinate, and the coordinate value of the pixel is represented by (X, Y), the fluorescent color determination unit 32 first sets the pixel at the coordinate (0, 0) to the target pixel. The target pixel is sequentially changed along the main scanning direction, and when the pixel at the end of the line is reached, the first pixel of the next line is set as the target pixel along the sub-scanning direction. Thereafter, the fluorescent color determination unit 32 changes the target pixel in this order.

蛍光色判定部32は、注目画素のRGB値を読み出し、このRGB値をL値に変換し、さらに、そのL値を、彩度H、色相Cおよび明度Lに変換する(ステップS3)。 The fluorescent color determination unit 32 reads the RGB value of the pixel of interest, converts the RGB value into an L * a * b * value, and further converts the L * a * b * value into saturation H, hue C, and brightness. Conversion to L (step S3).

そして、蛍光色判定部32は、注目画素の、彩度H、色相Cおよび明度Lが、それぞれ、蛍光色ごとに設定されている所定の範囲内にあるか否かを判定する(ステップS4)。   Then, the fluorescent color determination unit 32 determines whether the saturation H, the hue C, and the lightness L of the pixel of interest are within a predetermined range set for each fluorescent color (step S4). .

注目画素の、彩度H、色相Cおよび明度Lが、それぞれ、所定の範囲内にあると判定した場合(つまり、注目画素の色が蛍光色に対応する所定の色範囲内にある場合)、蛍光色判定部32は、注目画素の周辺領域内(例えば、注目画素を中心とした縦11画素、横11画素の領域)のすべての画素についての属性フラグを読み出し、それらの画素の少なくとも1つが文字領域に属するか否かを判定する(ステップS5)。   When it is determined that the saturation H, the hue C, and the lightness L of the target pixel are within a predetermined range (that is, when the color of the target pixel is within a predetermined color range corresponding to the fluorescent color), The fluorescent color determination unit 32 reads out the attribute flags for all the pixels in the peripheral area of the target pixel (for example, an area of 11 vertical pixels and 11 horizontal pixels centered on the target pixel), and at least one of the pixels is It is determined whether it belongs to the character area (step S5).

蛍光色判定部32は、注目画素の周辺領域内に、文字領域に属する画素が1つ以上存在する場合には、注目画素を、蛍光色を有する画素と判定し、この注目画素の位置を示す蛍光画素データをメモリー22に記憶する(ステップS6)。以下、蛍光色を有すると判定された画素を、蛍光画素という。   When there are one or more pixels belonging to the character area in the peripheral area of the target pixel, the fluorescent color determination unit 32 determines the target pixel as a pixel having a fluorescent color and indicates the position of the target pixel. The fluorescent pixel data is stored in the memory 22 (step S6). Hereinafter, a pixel determined to have a fluorescent color is referred to as a fluorescent pixel.

図3は、図1における画像処理装置13による蛍光色判定(一次判定)を説明する図である。例えば、図3に示すように、注目画素61の色が所定の色範囲内にある場合、注目画素61の周辺領域(ここでは、注目画素61を中心とした縦11画素、横11画素の領域)内に、文字領域に属する画素62(図3における黒色の画素)が存在すれば、注目画素61は、蛍光画素と判定される。   FIG. 3 is a diagram for explaining fluorescent color determination (primary determination) by the image processing apparatus 13 in FIG. For example, as shown in FIG. 3, when the color of the pixel of interest 61 is within a predetermined color range, the peripheral region of the pixel of interest 61 (here, the region of 11 pixels vertically and 11 pixels centered on the pixel of interest 61) ), The pixel of interest 61 is determined to be a fluorescent pixel.

一方、蛍光色判定部32は、注目画素の周辺領域内に、文字領域に属する画素が1つも存在しない場合には、注目画素を、蛍光画素とは判定せず、この注目画素を蛍光画素候補とし、この注目画素の位置を示す蛍光画素候補データをメモリー22に記憶する(ステップS7)。   On the other hand, if there is no pixel belonging to the character area in the peripheral area of the target pixel, the fluorescent color determination unit 32 does not determine the target pixel as a fluorescent pixel, and selects this target pixel as a fluorescent pixel candidate. Then, fluorescent pixel candidate data indicating the position of the target pixel is stored in the memory 22 (step S7).

そして、蛍光色判定部32は、すべての画素について蛍光色の一次判定が完了したか否かを判定し(ステップS8)、一次判定を行っていない画素がある場合には、ステップS2に戻り、次の注目画素について、同様の一次判定を行う。   Then, the fluorescent color determination unit 32 determines whether or not the primary determination of the fluorescent color has been completed for all the pixels (step S8), and if there is a pixel that has not been subjected to the primary determination, the process returns to step S2. The same primary determination is performed for the next pixel of interest.

すべての画素について蛍光色の一次判定が完了すると、蛍光色判定部32は、二次判定を行う。まず、蛍光色判定部32は、蛍光画素データを読み出し、蛍光画素データにおける最初の画素を注目画素に設定する(ステップS9)。   When the primary determination of the fluorescent color is completed for all the pixels, the fluorescent color determination unit 32 performs the secondary determination. First, the fluorescent color determination unit 32 reads the fluorescent pixel data and sets the first pixel in the fluorescent pixel data as the target pixel (step S9).

次に、蛍光色判定部32は、蛍光画素候補データを読み出して、注目画素から所定の範囲内(例えば、注目画素を中心として縦11画素、横11画素の範囲内)にある蛍光画素候補を特定し、さらに、その範囲内で、注目画素から連続している蛍光画素候補を抽出する(ステップS10)。蛍光色判定部32は、抽出した蛍光画素候補を示す二次判定データをメモリー22に記憶する。   Next, the fluorescent color determination unit 32 reads the fluorescent pixel candidate data, and selects fluorescent pixel candidates that are within a predetermined range from the target pixel (for example, within the range of 11 pixels vertically and 11 pixels horizontally from the target pixel). In addition, the fluorescent pixel candidates continuous from the target pixel are extracted within the range (step S10). The fluorescent color determination unit 32 stores secondary determination data indicating the extracted fluorescent pixel candidates in the memory 22.

蛍光色判定部32は、蛍光画素データにおけるすべての画素についてステップS10の処理を実行したか否かを判定し(ステップS11)、蛍光画素データにおける画素のうち、ステップS10の処理を実行していない画素がある場合には、ステップS9に戻り、次の注目画素について、同様にステップS10の処理を行う。   The fluorescent color determination unit 32 determines whether or not the processing in step S10 has been executed for all the pixels in the fluorescent pixel data (step S11), and among the pixels in the fluorescent pixel data, the processing in step S10 has not been executed. If there is a pixel, the process returns to step S9, and the process of step S10 is similarly performed for the next target pixel.

そして、蛍光色判定部32は、蛍光画素データにおけるすべての画素についての二次判定データを読み出し、二次判定データにより示される蛍光画素候補を、蛍光画素と判定し、二次判定データにより示される蛍光画素候補以外の蛍光画素候補を、蛍光色を有さない画素と判定する(ステップS12)。蛍光画素と判定された蛍光画素候補の位置情報は、蛍光画素データに追加される。   Then, the fluorescent color determination unit 32 reads the secondary determination data for all the pixels in the fluorescent pixel data, determines the fluorescent pixel candidate indicated by the secondary determination data as the fluorescent pixel, and is indicated by the secondary determination data. A fluorescent pixel candidate other than the fluorescent pixel candidate is determined as a pixel having no fluorescent color (step S12). The position information of the fluorescent pixel candidate determined as the fluorescent pixel is added to the fluorescent pixel data.

図4は、図1における画像処理装置13による蛍光色判定(二次判定)を説明する図である。例えば、図4に示すように、一次判定において、文字領域に属する画素81(図4における黒色の画素)の周辺の画素82(図4におけるハッチの画素)が、蛍光色を有する画素であると判定される。図4におけるそれ以外の画素83(図4における白色の画素)が蛍光画素候補とされている場合、二次判定において、画素83は、蛍光画素82から所定の範囲内(例えば、注目画素を中心として縦11画素、横11画素の範囲内)にあり、かつ蛍光画素82から連続しているため、蛍光画素と判定される。   FIG. 4 is a diagram illustrating fluorescent color determination (secondary determination) by the image processing apparatus 13 in FIG. For example, as shown in FIG. 4, in the primary determination, a pixel 82 (a hatched pixel in FIG. 4) around a pixel 81 (a black pixel in FIG. 4) belonging to the character area is a pixel having a fluorescent color. Determined. When the other pixel 83 in FIG. 4 (white pixel in FIG. 4) is a fluorescent pixel candidate, in the secondary determination, the pixel 83 is within a predetermined range from the fluorescent pixel 82 (for example, centering on the target pixel). In the range of 11 pixels in the vertical direction and 11 pixels in the horizontal direction) and is continuous from the fluorescent pixel 82, it is determined as the fluorescent pixel.

このようにして、一次判定および二次判定の2回の判定で、原稿画像における蛍光画素が抽出される。そして、色変換部33は、蛍光画素データを読み出し、蛍光画素データにより示される画素の色を、蛍光色用の色変換テーブルを使用して変換する。   In this way, the fluorescent pixels in the document image are extracted by two determinations of primary determination and secondary determination. Then, the color conversion unit 33 reads the fluorescent pixel data, and converts the color of the pixel indicated by the fluorescent pixel data using a fluorescent color conversion table.

図5は、図1における画像読取装置12により読み取られた原稿画像の一例を示す図である。図6は、図1における画像読取装置12により読み取られた原稿画像の他の例を示す図である。   FIG. 5 is a diagram showing an example of a document image read by the image reading device 12 in FIG. FIG. 6 is a view showing another example of a document image read by the image reading device 12 in FIG.

図5に示すように、文字領域101周辺において、蛍光色に対応する所定の色範囲内にある色を有する画素102は、蛍光画素として抽出されるが、文字領域101から離れた位置にある画素103は、蛍光色に対応する所定の色範囲内にある色を有していても、蛍光色を有する画素として抽出されない。   As shown in FIG. 5, pixels 102 having a color within a predetermined color range corresponding to the fluorescent color around the character area 101 are extracted as fluorescent pixels, but are pixels away from the character area 101. Even if 103 has a color within a predetermined color range corresponding to the fluorescent color, it is not extracted as a pixel having the fluorescent color.

また、図6に示すように、文字領域101から離れていても、一次判定において抽出された蛍光画素から連続している蛍光画素候補104は、二次判定において、蛍光画素と判定される。   As shown in FIG. 6, the fluorescent pixel candidates 104 that are continuous from the fluorescent pixels extracted in the primary determination even if they are separated from the character region 101 are determined as fluorescent pixels in the secondary determination.

さらに、図5および図6に示すように、文字領域101内のある文字の画素とその隣りの文字の画素との間隔が広くても(例えば図6における「C」と「D」との間)、二次判定において、そのような文字と文字との中間の蛍光画素候補が、二次判定において、蛍光画素と判定される。   Further, as shown in FIGS. 5 and 6, even if the distance between a pixel of a character in the character region 101 and a pixel of the adjacent character is wide (for example, between “C” and “D” in FIG. 6). In the secondary determination, the fluorescent pixel candidate between such characters is determined as the fluorescent pixel in the secondary determination.

以上のように、上記実施の形態によれば、領域分離部31は、原稿画像から文字領域を分離し、蛍光色判定部32は、原稿画像における各画素について、蛍光色に対応する所定の色範囲内の色を有し、その画素から所定の範囲内に、文字領域に属する画素が存在する場合には、その画素が蛍光色を有すると判定し、その色範囲内の色を有していても、その画素から所定の範囲内に、その文字領域に属する画素が存在しない場合には、その画素が蛍光色を有するとは判定しない。   As described above, according to the above embodiment, the region separation unit 31 separates the character region from the document image, and the fluorescent color determination unit 32 determines the predetermined color corresponding to the fluorescent color for each pixel in the document image. If a pixel belonging to the character area exists within a predetermined range from the pixel, it is determined that the pixel has a fluorescent color and has a color within the color range. However, when there is no pixel belonging to the character area within a predetermined range from the pixel, it is not determined that the pixel has a fluorescent color.

これにより、文字領域の周辺の画素についてのみ蛍光色判定が行われるため、原稿内の一般色が蛍光色と誤検知される可能性が低減する。   Thereby, since the fluorescent color determination is performed only for the pixels around the character area, the possibility that the general color in the document is erroneously detected as the fluorescent color is reduced.

また、上記実施の形態によれば、二次判定において、蛍光色判定部32は、上述の色範囲内の色を有しているにも拘わらず蛍光色を有すると判定しなかった画素が、蛍光色を有すると判定した画素から連続しており、かつ、蛍光色を有すると判定した画素から所定の範囲内にあれば、蛍光色を有すると最終的に判定する。   Further, according to the above embodiment, in the secondary determination, the fluorescent color determination unit 32 has pixels that have not been determined to have a fluorescent color despite having a color within the above color range. If it is continuous from the pixel determined to have the fluorescent color and is within a predetermined range from the pixel determined to have the fluorescent color, it is finally determined that it has the fluorescent color.

これにより、例えば間隔の広い文字と文字の中間の画素のように、文字領域から離れていても蛍光色を有している画素は、蛍光色を有すると最終的に判定され、蛍光色部分にあるにも拘わらず、蛍光色を有さないと判定される画素が低減される。   As a result, for example, pixels that have a fluorescent color even if they are separated from the character area, such as a pixel in the middle of a character with a large interval, are finally determined to have a fluorescent color, and the fluorescent color portion is displayed. Despite being there, the number of pixels determined to have no fluorescent color is reduced.

なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   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.

例えば、上記実施の形態において、ステップS7およびステップS9〜S12の処理(つまり、二次判定)を行わないようにし、一次判定のみで蛍光画素を抽出するようにしてもよい。   For example, in the above embodiment, the processing of step S7 and steps S9 to S12 (that is, secondary determination) may not be performed, and fluorescent pixels may be extracted only by primary determination.

また、上記実施の形態では、一次判定で、文字領域に属する画素を検索する範囲が、一例として、注目画素を中心として縦11画素、横11画素の領域とされているが、この範囲の、縦方向(つまり副走査方向)の画素数と、横方向(つまり主走査方向)の画素数とは、同一でなくてもよい。例えば、横方向(つまり主走査方向)の画素数を、縦方向(つまり副走査方向)の画素数より多くしてもよい。   In the above embodiment, the range for searching for pixels belonging to the character area in the primary determination is, as an example, an area of 11 pixels vertically and 11 pixels horizontally centered on the pixel of interest. The number of pixels in the vertical direction (that is, the sub-scanning direction) and the number of pixels in the horizontal direction (that is, the main scanning direction) may not be the same. For example, the number of pixels in the horizontal direction (that is, the main scanning direction) may be larger than the number of pixels in the vertical direction (that is, the sub-scanning direction).

また、上記実施の形態では、二次判定で、蛍光画素からの範囲が、一例として、注目画素を中心として縦11画素、横11画素の領域とされているが、この範囲の、縦方向(つまり副走査方向)の画素数と、横方向(つまり主走査方向)の画素数とは、同一でなくてもよい。例えば、横方向(つまり主走査方向)の画素数を、縦方向(つまり副走査方向)の画素数より多くしてもよい。   In the above embodiment, in the secondary determination, the range from the fluorescent pixel is, for example, an area of 11 pixels vertically and 11 pixels horizontally centered on the pixel of interest. That is, the number of pixels in the sub-scanning direction and the number of pixels in the horizontal direction (that is, the main scanning direction) may not be the same. For example, the number of pixels in the horizontal direction (that is, the main scanning direction) may be larger than the number of pixels in the vertical direction (that is, the sub-scanning direction).

本発明は、例えば、複写機、複合機などに適用可能である。   The present invention can be applied to, for example, a copying machine and a multifunction machine.

1 画像形成装置
11 印刷装置
12 画像読取装置
13 画像処理装置
31 領域分離部
32 蛍光色判定部
33 色変換部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 11 Printing apparatus 12 Image reading apparatus 13 Image processing apparatus 31 Area | region separation part 32 Fluorescence color determination part 33 Color conversion part

Claims (5)

原稿画像から特定属性の領域を分離する領域分離部と、
前記原稿画像における各画素について、前記画素が蛍光色に対応する所定の色範囲内の色を有し、前記画素から所定の範囲内に、前記特定属性の領域に属する画素が存在する場合には、前記画素が蛍光色を有すると判定し、前記画素が前記所定の色範囲内の色を有していても、前記画素から所定の範囲内に、前記特定属性の領域に属する画素が存在しない場合には、前記画素が蛍光色を有すると判定しない蛍光色判定部と、
前記蛍光色判定部により、蛍光色を有すると判定された前記画素に対して所定の色変換処理を行う色変換部と、
を備えることを特徴とする画像処理装置。
An area separation unit for separating an area having a specific attribute from an original image;
For each pixel in the document image, when the pixel has a color within a predetermined color range corresponding to a fluorescent color, and a pixel belonging to the region with the specific attribute exists within the predetermined range from the pixel Even if it is determined that the pixel has a fluorescent color and the pixel has a color within the predetermined color range, there is no pixel belonging to the region of the specific attribute within the predetermined range from the pixel. In this case, a fluorescent color determination unit that does not determine that the pixel has a fluorescent color;
A color conversion unit that performs a predetermined color conversion process on the pixels determined to have a fluorescent color by the fluorescent color determination unit;
An image processing apparatus comprising:
前記特定属性の領域は、文字領域であることを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the specific attribute area is a character area. 前記蛍光色判定部は、前記所定の色範囲内の色を有しているにも拘わらず蛍光色を有すると判定しなかった画素が、蛍光色を有すると判定した画素から連続しており、かつ、蛍光色を有すると判定した画素から所定の範囲内にあれば、蛍光色を有すると判定することを特徴とする請求項1または請求項2記載の画像処理装置。   The fluorescent color determination unit is continuous from the pixel determined not to have a fluorescent color despite having a color within the predetermined color range from the pixel determined to have a fluorescent color, 3. The image processing apparatus according to claim 1, wherein the image processing apparatus is determined to have a fluorescent color if within a predetermined range from a pixel determined to have the fluorescent color. 前記所定の色範囲は、1または複数の蛍光色に対応する明度、彩度、および色相の範囲であり、
前記蛍光色判定部は、前記画素の明度、彩度、および色相の値に基づいて、前記画素が蛍光色を有するか否かを判定すること、
を特徴とする請求項1から請求項3のうちのいずれか1項記載の画像処理装置。
The predetermined color range is a range of brightness, saturation, and hue corresponding to one or more fluorescent colors,
The fluorescent color determination unit determines whether or not the pixel has a fluorescent color based on brightness, saturation, and hue values of the pixel;
The image processing apparatus according to claim 1, wherein:
請求項1から請求項4のうちのいずれか1項記載の画像処理装置と、
前記原稿画像を読み取る画像読取装置と、
前記画像処理装置の前記色変換部により前記所定の色変換処理が行われた後の前記原稿画像を印刷する印刷装置と、
を備えることを特徴とする画像形成装置。
An image processing apparatus according to any one of claims 1 to 4,
An image reading device for reading the document image;
A printing apparatus that prints the document image after the predetermined color conversion process is performed by the color conversion unit of the image processing apparatus;
An image forming apparatus comprising:
JP2011142444A 2011-06-28 2011-06-28 Image processing apparatus and image forming apparatus Expired - Fee Related JP5535138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011142444A JP5535138B2 (en) 2011-06-28 2011-06-28 Image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011142444A JP5535138B2 (en) 2011-06-28 2011-06-28 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2013012800A JP2013012800A (en) 2013-01-17
JP5535138B2 true JP5535138B2 (en) 2014-07-02

Family

ID=47686344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011142444A Expired - Fee Related JP5535138B2 (en) 2011-06-28 2011-06-28 Image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP5535138B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6199795B2 (en) * 2014-04-23 2017-09-20 京セラドキュメントソリューションズ株式会社 Image processing device
US10623608B2 (en) 2015-06-26 2020-04-14 Hewlett-Packard Development Company, L.P. Enhance highlighter color in scanned images

Also Published As

Publication number Publication date
JP2013012800A (en) 2013-01-17

Similar Documents

Publication Publication Date Title
CN101123669B (en) Method and apparatus for converting images, and image forming apparatus having the same
JP4840495B2 (en) Image processing apparatus and computer program
CN1959738A (en) Image processing device, method and program thereof, and storage medium for storing the program
US6125200A (en) Removing non-text information from a color image
JP5535138B2 (en) Image processing apparatus and image forming apparatus
US8995009B2 (en) Image forming apparatus with fluorescent color recording portion
JP6304561B2 (en) Image processing device
US7545540B2 (en) Method and system for processing color image data
JP2006031245A (en) Image processing method and image processor by profile tracking of digital image
JP2010119006A (en) Image processing apparatus,and image processing method
JP6521250B2 (en) Image forming apparatus, color conversion program and color conversion method
JP2015012491A (en) Image processor
JP2000022943A (en) Device and method for discriminating image area, and recording medium recorded with image area discriminating program
JP4379580B2 (en) Color correction apparatus, color correction method, color correction program, color conversion apparatus, color conversion method, and color conversion program
JPWO2016158317A1 (en) Image processing apparatus and image forming apparatus
JP6852618B2 (en) Computer programs and image processing equipment
JP2006109482A (en) Image processing method, image processing apparatus and image processing program
JP4179998B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
US9098768B2 (en) Character detection apparatus, character detection method, and computer-readable storage medium
JP2012142869A (en) Image processing device and image processing method
JP2004134910A (en) Image processing apparatus
JP2011199352A (en) Image processing apparatus, and image forming apparatus,
JP2006311193A (en) Image processor, image reader provided with the same and image processing method
JP2004236157A (en) Image processing device, image processing method, and image processing program
JP2020092363A (en) Image processing apparatus and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130527

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140422

R150 Certificate of patent or registration of utility model

Ref document number: 5535138

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees