JP2011223074A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2011223074A
JP2011223074A JP2010086599A JP2010086599A JP2011223074A JP 2011223074 A JP2011223074 A JP 2011223074A JP 2010086599 A JP2010086599 A JP 2010086599A JP 2010086599 A JP2010086599 A JP 2010086599A JP 2011223074 A JP2011223074 A JP 2011223074A
Authority
JP
Japan
Prior art keywords
color
image
unit
color marker
marker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010086599A
Other languages
Japanese (ja)
Inventor
Yusuke Mochizuki
裕介 望月
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2010086599A priority Critical patent/JP2011223074A/en
Publication of JP2011223074A publication Critical patent/JP2011223074A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)
  • Color Electrophotography (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of converting a color in an arbitrary area of an image drawn on a document to any desired color without a prior setting.SOLUTION: A compound machine 1 comprises: a reading unit 13 that reads a document and creates image data; an area detection unit 30 that detects a color-marked area included in the created image data; a color discrimination unit 31 that discriminates a color in the detected color-marked area; an image extraction unit 32 that extracts a grayscale image positioned in the color-marked area; and a color conversion unit 33 that converts a color in the extracted grayscale image to a color of the color marker. The color conversion unit 33 also converts a color in the color-marked area except for the grayscale image to the same color as a background color in the color-marked area.

Description

本発明は、画像処理装置に関し、特に、カラーマーカー編集機能を有する画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus having a color marker editing function.

従来から、カラーマーカーでマーキングされた領域の文書に対して特殊処理を施すカラーマーカー編集機能を有するカラー複写機が知られている。例えば、特許文献1には、複数のカラーマーカーの色に対応した複数の編集機能を提供するカラー複写機が開示されている。このカラー複写機では、予め、複数のカラーマーカーに対して、対応する文書編集機能を関係付けて記憶しておくことにより、複数の編集機能を利用することができる。このカラー複写機は、カラーマーカーでマーキングが施された原稿を読取り、カラーマーカーを検出するとともに、カラーマーカーの色を判別する。そして、カラーマーカーでマーキングされている領域に対して、判別されたカラーマーカーの色に対応して記憶されている文書編集作業を実行する。   Conventionally, a color copying machine having a color marker editing function for performing special processing on a document in an area marked with a color marker is known. For example, Patent Document 1 discloses a color copying machine that provides a plurality of editing functions corresponding to the colors of a plurality of color markers. In this color copying machine, a plurality of editing functions can be used by previously storing a corresponding document editing function in association with a plurality of color markers. This color copying machine reads a document marked with a color marker, detects the color marker, and discriminates the color of the color marker. Then, the document editing operation stored corresponding to the determined color marker color is executed for the area marked with the color marker.

特開平8−307660号公報JP-A-8-307660

上述したように、特許文献1記載のカラー複写機では、文書編集機能を利用するには、カラーマーカーの色と文書編集機能とを事前に対応付けて記憶させておく必要があるため、使い勝手があまりよくなかった。   As described above, in the color copying machine described in Patent Document 1, in order to use the document editing function, it is necessary to store the color of the color marker and the document editing function in advance in association with each other. It was not so good.

本発明は、上記問題点を解消する為になされたものであり、事前の設定を要することなく、原稿に記載されている画像の任意の領域を任意の色に変更することが可能な画像処理装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and image processing that can change an arbitrary region of an image described in a document to an arbitrary color without requiring a prior setting. An object is to provide an apparatus.

本発明に係る画像処理装置は、原稿を読取り画像データを生成する読取手段と、読取手段により生成された画像データに含まれるカラーマーカー領域を検出する検出手段と、検出手段により検出されたカラーマーカー領域の色を判別する判別手段と、カラーマーカー領域内に位置するグレースケール画像を抽出する抽出手段と、抽出手段により抽出されたグレースケール画像の色を、判別手段により判別されたカラーマーカー領域の色に変換する変換手段とを備えることを特徴とする。   An image processing apparatus according to the present invention includes a reading unit that reads a document and generates image data, a detection unit that detects a color marker region included in the image data generated by the reading unit, and a color marker detected by the detection unit A discriminating means for discriminating the color of the area; an extracting means for extracting a gray scale image located in the color marker area; and a color of the gray scale image extracted by the extracting means in the color marker area discriminated by the discriminating means. Conversion means for converting to a color.

本発明に係る画像処理装置によれば、カラーマーカーが付されているカラーマーカー領域内に位置するグレースケール画像の色が、カラーマーカーの色に変換される。そのため、色を変更したい画像を、変更したい色のカラーマーカーでマーキングすることにより、該画像の色をマーキングしたカラーマーカーの色に変更することができる。よって、事前になんら設定をすることなく、原稿に記載されている画像の任意の領域を任意の色に変更することが可能となる。なお、画像には、文字および図形などを含む。   According to the image processing device of the present invention, the color of the gray scale image located in the color marker region to which the color marker is attached is converted to the color of the color marker. Therefore, by marking an image whose color is to be changed with the color marker of the color to be changed, the color of the image can be changed to the color of the marked color marker. Therefore, it is possible to change an arbitrary area of the image described on the document to an arbitrary color without any setting in advance. The image includes characters and graphics.

本発明に係る画像処理装置では、カラーマーカー領域の色を判別する際に、判別手段が、カラーマーカー領域内に位置するグレースケール画像を除いた部分の色を判別することが好ましい。このようにすれば、カラーマーカー領域の色(すなわちカラーマーカーの色)を正確に判別することができる。   In the image processing apparatus according to the present invention, when determining the color of the color marker area, it is preferable that the determination means determine the color of the portion excluding the grayscale image located in the color marker area. In this way, the color of the color marker area (that is, the color of the color marker) can be accurately determined.

本発明に係る画像処理装置では、変換手段が、グレースケール画像を除くカラーマーカー領域の色を、該カラーマーカー領域の背景色と同じ色に変更することが好ましい。このようにすれば、グレースケール画像の色をカラーマーカーの色に変更するとともに、カラーマーカーを消去することが可能となる。   In the image processing apparatus according to the present invention, it is preferable that the conversion unit changes the color of the color marker area excluding the grayscale image to the same color as the background color of the color marker area. In this way, it is possible to change the color of the grayscale image to the color marker color and to erase the color marker.

本発明に係る画像処理装置は、検出手段により検出されたカラーマーカー領域とオーバーラップする文字を認識し、当該文字の位置情報を生成する生成手段をさらに備え、抽出手段が、生成手段により生成された文字の位置情報により示される位置にあるグレースケールの文字画像を抽出し、変換手段が、抽出手段により抽出されたグレースケールの文字画像の色を、カラーマーカー領域の色に変換することが好ましい。このようにすれば、文字又は文字列が全体的にカラーマーカーでマーキングされていない場合であっても、すなわち、文字又は文字列の一部にカラーマーカーが付されていない部分があったとしても、文字又は文字列全体の色を変更することが可能となる。   The image processing apparatus according to the present invention further includes a generating unit that recognizes a character that overlaps the color marker region detected by the detecting unit and generates position information of the character, and the extracting unit is generated by the generating unit. Preferably, the gray scale character image at the position indicated by the character position information is extracted, and the conversion means converts the color of the gray scale character image extracted by the extraction means into the color of the color marker area. . In this way, even if the character or character string is not entirely marked with the color marker, that is, even if there is a part where the color marker is not attached to a part of the character or character string. It becomes possible to change the color of the character or the entire character string.

本発明によれば、事前の設定を要することなく、原稿に記載されている画像の任意の領域を任意の色に変更することが可能となる。   According to the present invention, it is possible to change an arbitrary area of an image described in a document to an arbitrary color without requiring a prior setting.

第1実施形態に係る複合機の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a multifunction machine according to a first embodiment. 第1実施形態に係る複合機による画像色変換処理の処理手順を示すフローチャートである。5 is a flowchart illustrating a processing procedure of image color conversion processing by the multifunction peripheral according to the first embodiment. カラーマーカーによるマーキングが付された原稿と、該原稿に対して画像色変換処理が施された後の原稿の例を示す図である。FIG. 4 is a diagram illustrating an example of an original document marked with a color marker and an original document after image color conversion processing has been performed on the original document. 第2実施形態に係る複合機の構成を示すブロック図である。It is a block diagram which shows the structure of the multifunctional device which concerns on 2nd Embodiment. 第2実施形態に係る複合機による画像色変換処理の処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of image color conversion processing by the multifunction peripheral according to the second embodiment. カラーマーカーによるマーキングが付された原稿と、該原稿に対して画像色変換処理が施された後の原稿の例を示す図である。FIG. 4 is a diagram illustrating an example of an original document marked with a color marker and an original document after image color conversion processing has been performed on the original document.

以下、図面を参照して本発明の好適な実施形態について詳細に説明する。なお、各図において、同一要素には同一符号を付して重複する説明を省略する。なお、ここでは、実施形態に係る画像処理装置として複合機(MFP:Multi Functional Peripheral)を例にして説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the same element and the overlapping description is abbreviate | omitted. Note that, here, a multi-function peripheral (MFP) will be described as an example of the image processing apparatus according to the embodiment.

まず、図1を用いて、第1実施形態に係る複合機1の構成について説明する。図1は、複合機1の構成を示すブロック図である。   First, the configuration of the multifunction machine 1 according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of the multifunction machine 1.

複合機1は、スキャナ、プリンタ、コピー、及びファクシミリ(FAX)の各機能を有している。また、複合機1は、カラーマーカーでマーキングが付された原稿などを読取って、カラーマーカーでマーキングされた文字や図形などの画像を抽出するとともに、カラーマーカーの色を判別し、抽出した画像の色をカラーマーカーの色に変更する機能を有している。これらの機能を実現するために複合機1は、制御部10、操作部11、表示部12、読取部13、記憶部14、記録部16、コーデック17、モデム18、NCU19、IFAX制御部20、Webサーバ21、NIC22、及び、領域検出部30、色判別部31、画像抽出部32、色変換部33等を備えている。なお、各部はバス(通信路)23で相互に通信可能に接続されている。続いて、各構成要素について詳細に説明する。   The multifunction device 1 has functions of a scanner, a printer, a copy, and a facsimile (FAX). The multifunction device 1 reads a document or the like marked with a color marker, extracts images such as characters and figures marked with the color marker, determines the color of the color marker, and extracts the extracted image. It has a function to change the color to the color of the color marker. In order to realize these functions, the MFP 1 includes a control unit 10, an operation unit 11, a display unit 12, a reading unit 13, a storage unit 14, a recording unit 16, a codec 17, a modem 18, an NCU 19, an IFAX control unit 20, A Web server 21, a NIC 22, an area detection unit 30, a color determination unit 31, an image extraction unit 32, a color conversion unit 33, and the like are provided. Each unit is connected to be communicable with each other via a bus (communication path) 23. Subsequently, each component will be described in detail.

制御部10は、演算を行うマイクロプロセッサ、マイクロプロセッサに各処理を実行させるためのプログラム等を記憶するROM、演算結果などの各種データを一時的に記憶するRAM、及びデータがバックアップされているバックアップRAM等により構成されている。制御部10は、ROMに記憶されているプログラムを実行することにより、以下に説明する複合機1を構成する各部の機能を実現するとともに、複合機1を構成するハードウェアを統合的に制御する。   The control unit 10 includes a microprocessor that performs calculations, a ROM that stores a program for causing the microprocessor to execute each process, a RAM that temporarily stores various data such as calculation results, and a backup in which the data is backed up. It is comprised by RAM etc. The control unit 10 executes the program stored in the ROM, thereby realizing the functions of the respective units constituting the multi-function device 1 described below and controlling the hardware constituting the multi-function device 1 in an integrated manner. .

操作部11は、複合機1の各機能を利用するために用いられる複数のキー、例えば、テンキー、短縮キー、スタートキー、ストップキー、及び各種のファンクションキー等を備えている。操作部11は、例えば、カラーマーカーでマーキングが付された原稿を読取って、マーキングが付されている文字又は図形の色を、カラーマーカーの色に変換する操作をユーザから受け付ける。   The operation unit 11 includes a plurality of keys used for using each function of the multifunction machine 1, such as a numeric keypad, a shortened key, a start key, a stop key, and various function keys. For example, the operation unit 11 reads an original document marked with a color marker, and accepts an operation for converting the color of a character or figure with the marking into the color marker color from the user.

表示部12は、LCD等を用いた表示装置であり、複合機1の動作状態及び/又は各種設定内容等を表示する。また、表示部12は、読取部13により読み取られて色が変換された後の画像データ、及び変換される前の画像データを表示する。   The display unit 12 is a display device using an LCD or the like, and displays the operation state of the multifunction device 1 and / or various setting contents. The display unit 12 displays the image data after the color is converted by being read by the reading unit 13 and the image data before the conversion.

読取部13は、光源、及び、赤(R)、緑(G)、青(B)のカラーフィルタが貼り付けられた単板CCD等によって構成されており、例えば、カラーマーカーでマーキングが付された紙文書等の原稿を、設定された副走査線密度に応じてライン毎に読み取り、RGB各色の画像データを生成する。すなわち、読取部13は、特許請求の範囲に記載の読取手段として機能する。なお、カラーフィルタが貼り付けられた単板CCDに代えて、レンズからの光を分光プリズム内のダイクロック膜の反射によってRGBの3原色に分光し、それぞれの分光を3つのCCDによって光電変換する構成(3CCD方式)を用いてもよい。読取部13で生成された原稿の画像データは、領域検出部30に出力される。なお、通常のコピーを行う場合には、読取部13で生成された画像データは、記録部16に出力され、FAXを送信するときには、生成された画像データは、コーデック17に出力される。   The reading unit 13 includes a light source and a single-plate CCD to which red (R), green (G), and blue (B) color filters are attached. For example, the reading unit 13 is marked with a color marker. An original such as a paper document is read for each line according to the set sub-scanning line density, and image data for each color of RGB is generated. That is, the reading unit 13 functions as a reading unit described in the claims. Instead of a single CCD with a color filter attached, the light from the lens is split into three primary colors of RGB by reflection of the dichroic film in the spectral prism, and each spectrum is photoelectrically converted by the three CCDs. A configuration (3 CCD system) may be used. The document image data generated by the reading unit 13 is output to the region detection unit 30. Note that when performing normal copying, the image data generated by the reading unit 13 is output to the recording unit 16, and when transmitting a FAX, the generated image data is output to the codec 17.

領域検出部30は、読取部13により生成された画像データに含まれる1以上のカラーマーカー領域を検出する。すなわち、領域検出部30は、特許請求の範囲に記載の検出手段として機能する。より詳細には、領域検出部30は、まず、読取部13によって生成された赤(R)緑(G)青(B)の画像データを、該画像データの画素(ピクセル)毎に、HLS色空間に変換する。なお、RGB信号からHLS色空間への変換には、公知の手法を用いることができる。ここで、HLS色空間は、色相(Hue)、彩度(Saturation)、輝度(Lightness/Luminance)の3つの成分からなる色空間である。次に、領域検出部30は、画像データを構成する各画素のHLS色空間中の位置に基づいて、画素毎に当該画素がカラーかグレースケールかを判別する。   The area detection unit 30 detects one or more color marker areas included in the image data generated by the reading unit 13. That is, the region detection unit 30 functions as detection means described in the claims. More specifically, the area detection unit 30 first converts the red (R) green (G) blue (B) image data generated by the reading unit 13 into HLS color for each pixel (pixel) of the image data. Convert to space. A known method can be used for conversion from the RGB signal to the HLS color space. Here, the HLS color space is a color space including three components of hue (Hue), saturation (Saturation), and luminance (Lightness / Luminance). Next, the region detection unit 30 determines whether the pixel is color or gray scale for each pixel based on the position of each pixel constituting the image data in the HLS color space.

ここで、彩度(S)は、ゼロが無彩色であり、ゼロに近いほどグレースケールに近いことを示す。よって、領域検出部30は、画素の彩度(S)に基づいて、該画素が、カラー(有彩色)かグレースケールかを判別する。そして、領域検出部30は、カラーと判別された画素が存在している領域を、カラーマーカーでマーキングされたカラーマーキング領域として検出し、該カラーマーキング領域の4隅の位置座標を生成する。なお、領域検出部30により検出されたカラーマーカー領域の位置座標は、色判別部31及び画像抽出部32に出力される。   Here, the saturation (S) indicates that zero is an achromatic color, and the closer to zero, the closer to grayscale. Therefore, the region detection unit 30 determines whether the pixel is color (chromatic color) or gray scale based on the saturation (S) of the pixel. Then, the area detection unit 30 detects an area where pixels determined to be color exist as a color marking area marked with a color marker, and generates position coordinates of the four corners of the color marking area. Note that the position coordinates of the color marker area detected by the area detection unit 30 are output to the color determination unit 31 and the image extraction unit 32.

色判別部31は、領域検出部30により検出されたカラーマーカー領域の色(すなわちカラーマーカーの色)を判別する。ここで、カラーマーカー領域の色を判別する際に、色判別部31は、カラーマーカー領域内に位置するグレースケール画像を除いた部分の色を判別する。すなわち、色判別部31は、特許請求の範囲に記載の判別手段として機能する。より具体的には、色判別部31は、まず、グレースケール画像を除くカラーマーカー領域を構成する各画素のHLS色空間中の位置に基づいて、画素毎に当該画素の色(すなわちカラーマーカーの色)を判別する。そして、色判別部31は、例えば、1つのカラーマーカー領域中に含まれる複数の画素の色の内もっとも多い色、又は、すべての認識された色の中間色をカラーマーカーの色とする。なお、色判別部31により判別されたカラーマーカーの色は、色変換部33に出力される。   The color determination unit 31 determines the color of the color marker area detected by the area detection unit 30 (that is, the color of the color marker). Here, when determining the color of the color marker region, the color determination unit 31 determines the color of the portion excluding the grayscale image located in the color marker region. That is, the color discriminating unit 31 functions as the discriminating means described in the claims. More specifically, the color discriminating unit 31 first determines the color of each pixel (that is, the color marker) based on the position in the HLS color space of each pixel constituting the color marker area excluding the grayscale image. Color). Then, for example, the color determination unit 31 sets the color of the plurality of pixels included in one color marker region to be the most common color or the intermediate color of all recognized colors as the color marker color. Note that the color of the color marker determined by the color determination unit 31 is output to the color conversion unit 33.

画像抽出部32は、領域検出部30により検出されたカラーマーカー領域内に位置するグレースケール画像を抽出する。すなわち、画像抽出部32は、特許請求の範囲に記載の抽出手段として機能する。上述したように、HLS色空間の彩度(S)は、ゼロが無彩色であり、ゼロに近いほどグレースケールに近いことを示す。よって、画像抽出部32は、画素の彩度(S)に基づいて、該画素が、グレースケールか否かを判別することにより、グレースケール画像を抽出する。なお、画像抽出部32により抽出されたグレースケール画像は、色変換部33に出力される。   The image extraction unit 32 extracts a grayscale image located in the color marker region detected by the region detection unit 30. That is, the image extraction unit 32 functions as an extraction unit described in the claims. As described above, the saturation (S) of the HLS color space indicates that zero is an achromatic color, and the closer to zero, the closer to grayscale. Therefore, the image extraction unit 32 extracts a grayscale image by determining whether or not the pixel is grayscale based on the saturation (S) of the pixel. Note that the grayscale image extracted by the image extraction unit 32 is output to the color conversion unit 33.

色変換部33は、画像抽出部32により抽出されたグレースケール画像の色を、色判別部31により判別されたカラーマーカーの色に変換する。また、色変換部33は、グレースケール画像を除くカラーマーカー領域の色を、該カラーマーカー領域の周囲の色(背景色すなわち原稿の用紙の色)と同じ色に変換する。すなわち、色変換部33は、特許請求の範囲に記載の変換手段として機能する。なお、カラーマーカー領域の周囲の色の判別は、上述したカラーマーカー領域の色の判別と同様の手法により行われる。色変換部33により色が変換された後の画像データは、ユーザの操作に応じて、例えば、記録部16、表示部12、又は記憶部14などに出力される。   The color conversion unit 33 converts the color of the grayscale image extracted by the image extraction unit 32 into the color of the color marker determined by the color determination unit 31. Further, the color conversion unit 33 converts the color of the color marker area excluding the gray scale image into the same color as the surrounding color (background color, that is, the color of the original paper) of the color marker area. That is, the color conversion unit 33 functions as conversion means described in the claims. Note that the determination of the color around the color marker area is performed by the same method as the determination of the color of the color marker area described above. The image data whose color has been converted by the color conversion unit 33 is output to, for example, the recording unit 16, the display unit 12, or the storage unit 14 in accordance with a user operation.

記憶部14は、FAX又はIFAXで受信された画像データ(FAXデータ)、コーデック17で符号化された画像データ、及び外部のパーソナルコンピュータから受信されて符号化圧縮された画像データ等を記憶する。また、記憶部14は、色変換が施された画像データを記憶する。なお、記憶部14としては、例えば、CF(コンパクトフラッシュ(登録商標))又はHD(ハードディスク)などが好適に用いられる。   The storage unit 14 stores image data (FAX data) received by FAX or IFAX, image data encoded by the codec 17, image data received from an external personal computer, encoded and compressed, and the like. The storage unit 14 stores image data that has undergone color conversion. For example, CF (Compact Flash (registered trademark)) or HD (Hard Disk) is preferably used as the storage unit 14.

記録部16は、電子写真方式のプリンタであり、読取部13により読取られ、色が変換された画像データを用紙にプリントアウトする。また、記録部16は、パーソナルコンピュータなどから入力されるPCプリントデータ、及び、FAX、IFAX等で受信された画像データを用紙にプリントアウトする。   The recording unit 16 is an electrophotographic printer, and prints out image data read by the reading unit 13 and converted in color on paper. The recording unit 16 prints out PC print data input from a personal computer or the like and image data received by FAX, IFAX, or the like on a sheet.

その他、コーデック17は、読取部13で読取られた画像データを符号化圧縮(以下、単に「符号化」という)するとともに符号化されている画像データを復号する。モデム(変復調器)18は、ディジタル信号とアナログ信号との間の変復調を行なう。また、モデム18は、ディジタル命令信号(DCS)等の各種機能情報の発生及び検出を行なう。NCU(Network Control Unit)19は、モデム18と接続されており、モデム18と公衆交換電話網(PSTN)50との接続を制御する。また、NCU19は、送信先のFAX番号に対応した呼出信号の送出、及びその着信を検出する機能を備えている。   In addition, the codec 17 encodes and compresses the image data read by the reading unit 13 (hereinafter simply referred to as “encoding”) and decodes the encoded image data. A modem (modem / demodulator) 18 performs modulation / demodulation between a digital signal and an analog signal. The modem 18 generates and detects various function information such as a digital command signal (DCS). An NCU (Network Control Unit) 19 is connected to the modem 18 and controls the connection between the modem 18 and the public switched telephone network (PSTN) 50. Further, the NCU 19 has a function of transmitting a call signal corresponding to the FAX number of the transmission destination and detecting the incoming call.

IFAX制御部20は、インターネット環境を利用したIFAX機能を司る。IFAX制御部20は、SMTP(Simple Mail Transfer Protocol)に従って電子メールを送信する機能、及び、POP(Post Office Protocol)に従って電子メールを受信する機能を有している。IFAX制御部20は、送信原稿をTIFF形式等の画像データとして電子メールに添付し、メールアドレス(SMTPサーバ)宛てに送信する。また、IFAX制御部20は、設定された時間毎にPOPサーバから電子メールを受信する。   The IFAX control unit 20 manages an IFAX function using the Internet environment. The IFAX control unit 20 has a function of transmitting an electronic mail according to SMTP (Simple Mail Transfer Protocol) and a function of receiving an electronic mail according to POP (Post Office Protocol). The IFAX control unit 20 attaches the transmission document to the e-mail as image data in the TIFF format or the like, and transmits it to the e-mail address (SMTP server). The IFAX control unit 20 receives an e-mail from the POP server every set time.

Webサーバ21は、例えばHTMLで記述されたホームページ、ログインページ、及びファクシミリ操作ページ等のデータに対して、パーソナルコンピュータ等からアクセスして所定のHTTPタスクを実行することを可能にする。NIC22は、各種通信プロトコルの送受信制御処理、及び各種通信プロトコル上のデータ解析処理及びデータ作成処理を行なうネットワークインターフェースである。   The Web server 21 makes it possible to access a data such as a home page, a login page, and a facsimile operation page described in HTML from a personal computer or the like and execute a predetermined HTTP task. The NIC 22 is a network interface that performs transmission / reception control processing of various communication protocols, data analysis processing and data creation processing on various communication protocols.

次に、図2を参照しつつ、複合機1の動作について説明する。図2は、複合機1による画像色変換処理の処理手順を示すフローチャートである。なお、ここでは、図3の上段に示される原稿を読取り、図3の下段に示される色変換された画像を出力する場合を例にして説明する。   Next, the operation of the multifunction machine 1 will be described with reference to FIG. FIG. 2 is a flowchart illustrating a processing procedure of image color conversion processing performed by the multifunction device 1. Here, a case where the original shown in the upper part of FIG. 3 is read and the color-converted image shown in the lower part of FIG. 3 is output will be described as an example.

ステップS100では、カラーマーカーでマーキングが付された紙文書等の原稿が読み取られ、RGB各色の画像データが生成される。続いて、ステップS102では、ステップS100で生成された画像データに含まれるカラーマーカー領域の検出が行われる。また、ステップS102においてカラーマーカー領域の検出が行われる際には、検出されたカラーマーカー領域の数がカウントされる。なお、カラーマーカー領域の検出方法は、上述した通りであるので、ここでは詳細な説明は省略する。ここで、図3に示した例では、黄色のカラーマーカー領域100、青色のカラーマーカー領域101、及び、赤色のカラーマーカー領域102の3つのカラーマーカー領域が検出され、カラーマーカー領域のカウント数として「3」がセットされる。   In step S100, a document such as a paper document marked with a color marker is read to generate RGB color image data. Subsequently, in step S102, a color marker area included in the image data generated in step S100 is detected. Further, when color marker areas are detected in step S102, the number of detected color marker areas is counted. The method for detecting the color marker area is as described above, and thus detailed description thereof is omitted here. Here, in the example shown in FIG. 3, three color marker areas, a yellow color marker area 100, a blue color marker area 101, and a red color marker area 102, are detected, and the count number of the color marker areas is “3” is set.

次に、ステップS104では、ステップS102において、カラーマーカー領域の検出が行われた結果、カラーマーカー領域が検出されたか否かについての判断が行われる。ここで、カラーマーカー領域が検出された場合には、ステップS106に処理が移行する。一方、カラーマーカー領域が検出されなかったときには、ステップS100で生成された画像データがそのまま出力又は印刷される(ステップS114)。その後、本処理から一旦抜ける。   Next, in step S104, it is determined whether or not a color marker region has been detected as a result of the color marker region detection in step S102. Here, when the color marker region is detected, the process proceeds to step S106. On the other hand, when the color marker area is not detected, the image data generated in step S100 is output or printed as it is (step S114). Thereafter, the process is temporarily exited.

ステップS106では、ステップS102において検出されたカラーマーカー領域の色、すなわちカラーマーカーの色(図3の例では、黄色、青色、又は赤色)が判別される。なお、カラーマーカーの色の判別方法は上述した通りであるので、ここでは詳細な説明は省略する。   In step S106, the color of the color marker area detected in step S102, that is, the color of the color marker (yellow, blue, or red in the example of FIG. 3) is determined. Since the method for determining the color of the color marker is as described above, detailed description thereof is omitted here.

続いて、ステップS108では、グレースケール画像を除くカラーマーカー領域の色が、該カラーマーカー領域の周囲の色(背景色すなわち原稿の用紙の色)と同じ色に変換される。これにより、画像データからカラーマーカーが消去される。   Subsequently, in step S108, the color of the color marker area excluding the gray scale image is converted to the same color as the surrounding color of the color marker area (background color, that is, the color of the original paper). Thereby, the color marker is erased from the image data.

続くステップS110では、カラーマーカー領域内のグレースケール画像(図3の例では、「山田 太郎」「XXXYYYZZZ」又は「26」)が抽出されるとともに、抽出されたグレースケール画像の色が、ステップS106で判別されたカラーマーカーの色に変換される。   In the subsequent step S110, a grayscale image in the color marker region (in the example of FIG. 3, “Taro Yamada”, “XXXYYZZZ” or “26”) is extracted, and the color of the extracted grayscale image is determined in step S106. It is converted into the color of the color marker determined in.

次に、ステップS112では、すべて(図3の例では3つ)のカラーマーカー領域に対して、グレースケール画像をカラーマーカーの色に変換する画像色変換処理が終了したか否かについての判断が行われる。ここで、すべてのカラーマーカー領域に対して画像データの色変換処理が終了した場合には、ステップS114に処理が移行する。一方、まだすべてのカラーマーカー領域に対して画像色変換処理が終了していないとき、すなわち、画像色変換処理が行われていない画像データが残っている場合には、ステップS106に処理が移行する。そして、次のカラーマーカー領域に対して、上述したステップS106以降の処理が引き続いて実行される。このようにして、図3に示された例では、赤色のカラーマーカーでマーキングされた「山田 太郎」の文字が赤色に変換され、青色のカラーマーカーでマーキングされた「XXXYYYZZZ」の文字が青色に変換され、緑色のカラーマーカーでマーキングされた「26」の文字が緑色に変換される(図3の下段を参照)。   Next, in step S112, it is determined whether or not the image color conversion process for converting the grayscale image into the color marker color is completed for all (three in the example of FIG. 3) color marker regions. Done. Here, when the color conversion process of the image data is completed for all the color marker areas, the process proceeds to step S114. On the other hand, when the image color conversion process has not been completed for all the color marker regions, that is, when there is still image data that has not been subjected to the image color conversion process, the process proceeds to step S106. . Then, the processing after step S106 described above is continuously executed for the next color marker region. In this way, in the example shown in FIG. 3, the characters “Taro Yamada” marked with a red color marker are converted to red, and the characters “XXXYYYZZZ” marked with a blue color marker are converted to blue. The character “26” converted and marked with the green color marker is converted to green (see the lower part of FIG. 3).

すべての画像データに対して色変換処理が終了した場合、ステップS114では、色が変換された画像データが、ユーザの操作に応じて、例えば、記録部16、表示部12、又は記憶部14などに出力される。そして、出力された画像データは、記録部16で印刷され、表示部12で表示され、又は、記憶部14に保存される。   When the color conversion process is completed for all the image data, in step S114, the image data whose color has been converted is, for example, the recording unit 16, the display unit 12, or the storage unit 14 according to the user's operation. Is output. The output image data is printed by the recording unit 16 and displayed on the display unit 12 or stored in the storage unit 14.

本実施形態によれば、カラーマーカーが付されているカラーマーカー領域内に位置するグレースケール画像の色が、カラーマーカーの色に変換される。そのため、ユーザは、色を変更したい画像を、変更したい色のカラーマーカーでマーキングすることにより、該画像の色をマーキングしたカラーマーカーの色に変更することができる。よって、事前になんら設定をすることなく、原稿に記載されている画像の任意の領域を任意の色に変更することが可能となる。   According to the present embodiment, the color of the gray scale image located in the color marker region to which the color marker is attached is converted to the color marker color. Therefore, the user can change the color of the image to the color of the marked color marker by marking the image whose color is to be changed with the color marker of the color to be changed. Therefore, it is possible to change an arbitrary area of the image described on the document to an arbitrary color without any setting in advance.

本実施形態によれば、カラーマーカー領域の色を判別する際に、カラーマーカー領域内に位置するグレースケール画像を除いた領域の色が判別されるため、カラーマーカー領域の色、すなわちカラーマーカーの色を正確に判別することができる。   According to the present embodiment, when the color of the color marker area is determined, the color of the area excluding the grayscale image located in the color marker area is determined. The color can be accurately determined.

本実施形態によれば、グレースケール画像を除くカラーマーカー領域の色が、該カラーマーカー領域の背景色と同じ色に変更されるため、グレースケール画像の色をカラーマーカーの色に変更すると同時に、カラーマーカーを消去することが可能となる。   According to this embodiment, since the color of the color marker area excluding the gray scale image is changed to the same color as the background color of the color marker area, the color of the gray scale image is changed to the color of the color marker. It becomes possible to erase the color marker.

[第2実施形態]
続いて、図4を参照しつつ、第2実施形態に係る複合機2について説明する。図4は、複合機2の構成を示すブロック図である。なお、図4において第1実施形態と同一又は同等の構成要素については同一の符号が付されている。複合機2は、カラーマーカー領域を含む画像データから文字を認識し、当該文字の位置情報を生成する文字認識部15をさらに有している点で上述した複合機1と異なっている。その他の構成は、複合機1と同一又は同様であるので、ここでは説明を省略する。
[Second Embodiment]
Next, the MFP 2 according to the second embodiment will be described with reference to FIG. FIG. 4 is a block diagram illustrating a configuration of the multifunction machine 2. In FIG. 4, the same or equivalent components as those in the first embodiment are denoted by the same reference numerals. The multifunction device 2 is different from the multifunction device 1 described above in that it further includes a character recognition unit 15 that recognizes characters from image data including a color marker region and generates position information of the characters. Other configurations are the same as or similar to those of the multi-function device 1, and thus description thereof is omitted here.

文字認識部15は、読取部13により読み取られて生成された原稿の画像データから、カラーマーカーでマーキングが付された文字を認識して、文字コードを生成するとともに、該文字の位置情報を生成する。より詳細には、文字認識部15は、領域検出部30により検出されたカラーマーカー領域を含む(すなわちカラーマーカー領域とオーバーラップする)画像データから文字を認識し、文字コードを生成するとともに、該文字が記載されている原稿上の位置情報(文字又は文字列が記載されている矩形領域の四隅のXY座標)を生成する。すなわち、文字認識部15は、特許請求の範囲に記載の生成手段として機能する。なお、文字認識部15で生成された位置情報は画像抽出部32に出力される。   The character recognizing unit 15 recognizes a character marked with a color marker from the original image data read and generated by the reading unit 13, generates a character code, and generates position information of the character. To do. More specifically, the character recognition unit 15 recognizes a character from image data including the color marker region detected by the region detection unit 30 (that is, overlaps the color marker region), generates a character code, and Position information on the document in which characters are described (XY coordinates of four corners of a rectangular area in which characters or character strings are described) is generated. That is, the character recognition unit 15 functions as a generation unit described in the claims. Note that the position information generated by the character recognition unit 15 is output to the image extraction unit 32.

画像抽出部32は、文字認識部15により生成された文字の位置情報により示される位置にあるグレースケールの文字又は文字列の画像を抽出する。また、色変換部33は、画像抽出部32により抽出されたグレースケールの文字又は文字列の画像の色を、カラーマーカーの色に変換する。   The image extraction unit 32 extracts an image of a grayscale character or character string at a position indicated by the character position information generated by the character recognition unit 15. The color conversion unit 33 converts the color of the grayscale character or character string image extracted by the image extraction unit 32 into the color of the color marker.

次に、図5を参照しつつ、複合機2の動作について説明する。図5は、複合機2による画像色変換処理の処理手順を示すフローチャートである。なお、図5では、上述した図2と同一又は同等のステップについては同一の符号を付し、重複する説明を省略する。すなわち、ステップS100〜S108、S112、及びS114は、上述した通りであるので、ここでは詳細な説明を省略し、第1実施形態と異なるステップS210について説明する。   Next, the operation of the multifunction machine 2 will be described with reference to FIG. FIG. 5 is a flowchart illustrating a processing procedure of image color conversion processing by the multifunction device 2. In FIG. 5, steps that are the same as or equivalent to those in FIG. 2 described above are denoted by the same reference numerals, and redundant description is omitted. That is, since steps S100 to S108, S112, and S114 are as described above, detailed description is omitted here, and step S210 different from the first embodiment will be described.

ステップS210では、文字認識部15により文字の位置情報が生成され、該位置情報により示される位置にあるグレースケールの文字又は文字列の画像が抽出される。そして、抽出されたグレースケールの文字又は文字列の画像の色が、ステップS106で判別されたカラーマーカーの色に変換される。   In step S210, character position information is generated by the character recognition unit 15, and an image of a grayscale character or character string at the position indicated by the position information is extracted. Then, the color of the extracted grayscale character or character string image is converted to the color of the color marker determined in step S106.

本実施形態によれば、カラーマーカー領域とオーバーラップする画像データから文字/文字列が認識され、当該文字/文字列の位置情報が生成される。そして、生成された位置情報により示される位置にあるグレースケールの文字/文字列の画像の色が、カラーマーカーの色に変換される。そのため、図6に示されるように、文字/文字列が全体的にカラーマーカーでマーキングされていない場合であっても、すなわち、文字/文字列の一部にカラーマーカーが付されていない部分があったとしても(図6の上段を参照)、文字/文字列全体の色を変更することが可能となる(図6の下段を参照)。   According to the present embodiment, a character / character string is recognized from image data overlapping with the color marker region, and position information of the character / character string is generated. Then, the color of the grayscale character / character string image at the position indicated by the generated position information is converted into the color of the color marker. Therefore, as shown in FIG. 6, even when the character / character string is not entirely marked with the color marker, that is, a part where the color marker is not attached to a part of the character / character string. Even if it exists (see the upper part of FIG. 6), the color of the entire character / character string can be changed (see the lower part of FIG. 6).

以上、本発明の実施の形態について説明したが、本発明は、上記実施形態に限定されるものではなく種々の変形が可能である。例えば、上記実施形態では、文字/文字列の色を変換する場合を例にして、複合機1又は複合機2の動作を説明したが、文字/文字列に代えて、又は加えて図形の色を変換することもできる。   Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications can be made. For example, in the above-described embodiment, the operation of the multifunction device 1 or the multifunction device 2 has been described by taking the case of converting the color of a character / character string as an example. Can also be converted.

また、上記実施形態では、HLS色空間を利用してカラーマーカーの色を判別したが、HLS色空間に代えて、他の色空間、例えばHSV色空間、HSB色空間などを利用してもよい。   In the above embodiment, the color of the color marker is determined using the HLS color space. However, instead of the HLS color space, other color spaces such as an HSV color space, an HSB color space, or the like may be used. .

1,2 複合機
10 制御部
11 操作部
12 表示部
13 読取部
14 記憶部
15 文字認識部
16 記録部
17 コーデック
18 モデム
19 NCU
20 IFAX制御部
21 Webサーバ
22 NIC
23 バス
30 領域検出部
31 色判別部
32 画像抽出部
33 色変換部
DESCRIPTION OF SYMBOLS 1, 2 Multifunction device 10 Control part 11 Operation part 12 Display part 13 Reading part 14 Storage part 15 Character recognition part 16 Recording part 17 Codec 18 Modem 19 NCU
20 IFAX control unit 21 Web server 22 NIC
23 Bus 30 Area detection unit 31 Color discrimination unit 32 Image extraction unit 33 Color conversion unit

Claims (4)

原稿を読取り画像データを生成する読取手段と、
前記読取手段により生成された画像データに含まれるカラーマーカー領域を検出する検出手段と、
前記検出手段により検出された前記カラーマーカー領域の色を判別する判別手段と、
前記カラーマーカー領域内に位置するグレースケール画像を抽出する抽出手段と、
前記抽出手段により抽出された前記グレースケール画像の色を、前記判別手段により判別された前記カラーマーカー領域の色に変換する変換手段と、を備えることを特徴とする画像処理装置。
Reading means for reading a document and generating image data;
Detecting means for detecting a color marker region included in the image data generated by the reading means;
Discriminating means for discriminating the color of the color marker area detected by the detecting means;
Extracting means for extracting a grayscale image located in the color marker region;
An image processing apparatus comprising: conversion means for converting the color of the grayscale image extracted by the extraction means into the color of the color marker area determined by the determination means.
前記判別手段は、前記カラーマーカー領域の色を判別する際に、前記カラーマーカー領域内に位置する前記グレースケール画像を除いた部分の色を判別することを特徴とする請求項1に記載の画像処理装置。   2. The image according to claim 1, wherein when determining the color of the color marker region, the determination unit determines a color of a portion excluding the grayscale image located in the color marker region. Processing equipment. 前記変換手段は、前記グレースケール画像を除く前記カラーマーカー領域の色を、該カラーマーカー領域の背景色と同じ色に変更することを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the conversion unit changes the color of the color marker area excluding the grayscale image to the same color as a background color of the color marker area. 前記検出手段により検出された前記カラーマーカー領域とオーバーラップする文字を認識し、当該文字の位置情報を生成する生成手段をさらに備え、
前記抽出手段は、前記生成手段により生成された前記文字の位置情報により示される位置にあるグレースケールの文字画像を抽出し、
前記変換手段は、前記抽出手段により抽出された前記グレースケールの文字画像の色を、前記カラーマーカー領域の色に変換することを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。

Recognizing a character overlapping with the color marker area detected by the detection means, further comprising a generation means for generating position information of the character;
The extracting means extracts a grayscale character image at a position indicated by the character position information generated by the generating means;
The image according to claim 1, wherein the conversion unit converts the color of the grayscale character image extracted by the extraction unit into a color of the color marker region. Processing equipment.

JP2010086599A 2010-04-02 2010-04-02 Image processing apparatus Pending JP2011223074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010086599A JP2011223074A (en) 2010-04-02 2010-04-02 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010086599A JP2011223074A (en) 2010-04-02 2010-04-02 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2011223074A true JP2011223074A (en) 2011-11-04

Family

ID=45039537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010086599A Pending JP2011223074A (en) 2010-04-02 2010-04-02 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2011223074A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016184368A (en) * 2015-03-27 2016-10-20 京セラドキュメントソリューションズ株式会社 Image processing apparatus
JP2019068134A (en) * 2017-09-28 2019-04-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016184368A (en) * 2015-03-27 2016-10-20 京セラドキュメントソリューションズ株式会社 Image processing apparatus
US9736339B2 (en) 2015-03-27 2017-08-15 Kyocera Document Solutions, Inc. Image processing apparatus
JP2019068134A (en) * 2017-09-28 2019-04-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
JP4758502B2 (en) Image processing apparatus, image reading apparatus, image transmitting apparatus, image forming apparatus, image processing method, program, and recording medium thereof
JP5220828B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, program, and recording medium
JP5813523B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
US8659773B2 (en) Image sending apparatus and preview display method
CN101640744A (en) Image forming apparatus and preview display method
JP4532717B2 (en) Image communication apparatus, e-mail transmission control method, and storage medium
JP2010147569A (en) Image forming apparatus and preview display method
CN101626443A (en) Image sending apparatus
JP4903851B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2011223074A (en) Image processing apparatus
JP4442701B2 (en) Area discriminating method, image compressing method, image compressing apparatus, and computer program
US20090040544A1 (en) Data processing apparatus capable of processing data of latest version, data processing method and data processing program embodied on computer readable medium
JP2010161745A (en) Image processor, image reader, image transmission device, image formation device, image processing method, program, and recording medium of the same
JP2002140276A (en) Image communication device, communication system, electronic mail transmission controlling method, and storage medium
JP5054828B2 (en) Image transmitting apparatus and preview display method
JP5215829B2 (en) Image forming apparatus, program, and preview display method
JP2006229386A (en) Image processor
US11863717B2 (en) Image reading apparatus and image reading method
JP3768801B2 (en) Image communication apparatus, image communication method, and storage medium
JP2006180222A (en) Image processing apparatus
JP6560942B2 (en) Image forming apparatus, control method therefor, and control program
JP3809358B2 (en) Image communication apparatus, transmission image control method, storage medium, and program
JP3991922B2 (en) Image processing device
JP6478623B2 (en) Image processing apparatus, control method, and program
JP2015023461A (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium