JP7494586B2 - Image processing device and image processing program - Google Patents
Image processing device and image processing program Download PDFInfo
- Publication number
- JP7494586B2 JP7494586B2 JP2020101842A JP2020101842A JP7494586B2 JP 7494586 B2 JP7494586 B2 JP 7494586B2 JP 2020101842 A JP2020101842 A JP 2020101842A JP 2020101842 A JP2020101842 A JP 2020101842A JP 7494586 B2 JP7494586 B2 JP 7494586B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- input
- image
- output image
- cut
- 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.)
- Active
Links
Landscapes
- Image Processing (AREA)
- Facsimiles In General (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、画像処理装置及び画像処理プログラムに関する。 The present invention relates to an image processing device and an image processing program.
従来より、媒体に画像を記録するプリンタ部、原稿に記録された画像を読み取って画像データを生成するスキャナ部、外部装置に画像データをFAX送信するFAX部などを備えた複合機が知られている。このような複合機は、スキャナ部が生成した画像データを送信先装置の能力に合わせて画像処理(圧縮)し、画像処理後の画像データを送信先装置に送信する処理を実行することができる。 Conventionally, there are known multifunction devices equipped with a printer unit that records an image on a medium, a scanner unit that reads an image recorded on an original document and generates image data, and a fax unit that transmits the image data by fax to an external device. Such multifunction devices can perform image processing (compression) of the image data generated by the scanner unit to match the capabilities of the destination device, and transmit the image data after image processing to the destination device.
上記の処理を実行可能な複合機のなかには、画像処理後の画像データで示される画像データをディスプレイにプレビュー表示し、オペレータに画質を確認させてから送信する機能を有するものがある(例えば、特許文献1を参照)。 Among multifunction devices capable of carrying out the above-mentioned processing, there are some that have the function of previewing the image data shown as image data after image processing on a display, allowing the operator to check the image quality before sending it (see, for example, Patent Document 1).
上記構成の複合機によれば、画質が過度に劣化した画像データの送信を停止させることはできるものの、オペレータが画質の調整をして再びスキャナ部に原稿を読み取らせる必要がある。そのため、オペレータの操作負担が大きいという課題がある。 Although the multifunction device with the above configuration can stop the transmission of image data whose image quality has been excessively degraded, the operator must adjust the image quality and have the scanner unit read the document again. This places a heavy burden on the operator.
本発明は、このような課題を解決するためになされたものであり、オペレータの操作負担を増加させることなく、画像処理後の画像データの画質を適切に調整して送信することが可能な画像処理装置を提供することを目的とする。 The present invention has been made to solve these problems, and aims to provide an image processing device that can appropriately adjust and transmit image quality of image data after image processing without increasing the operational burden on the operator.
上記課題を解決するために、画像処理装置は、画像を表示するディスプレイと、オペレータからの入力操作を受け付ける入力部と、外部装置と通信する通信インタフェースと、コントローラとを備え、前記コントローラは、入力画像データに画像処理を施して出力画像データを生成し、前記出力画像データで示される出力画像を前記ディスプレイに表示させ、前記出力画像データの送信許可が前記入力部に入力された場合に、前記通信インタフェースを通じて前記出力画像データを外部装置に送信し、前記出力画像データの送信拒否が前記入力部に入力された場合に、前記入力画像データ及び前記出力画像データそれぞれに含まれる文字を抽出し、前記入力画像データで示される入力画像のうち、前記入力画像データ及び前記出力画像データそれぞれから抽出した文字の認識結果が異なる誤認識領域の画像を切り抜いて、切抜画像データを生成し、前記切抜画像データで示される切抜画像を、前記出力画像の前記誤認識領域に合成し、前記切抜画像を合成後の前記出力画像を示す前記出力画像データを、前記通信インタフェースを通じて外部装置に送信することを特徴とする。 To solve the above problem, the image processing device includes a display that displays an image, an input unit that accepts input operations from an operator, a communication interface that communicates with an external device, and a controller, and the controller performs image processing on the input image data to generate output image data, displays an output image represented by the output image data on the display, transmits the output image data to the external device through the communication interface when permission to transmit the output image data is input to the input unit, and extracts characters contained in the input image data and the output image data when a refusal to transmit the output image data is input to the input unit, cuts out an image of an erroneous recognition area in the input image represented by the input image data, in which the recognition results of the characters extracted from the input image data and the output image data differ, to generate cut-out image data, combines the cut-out image represented by the cut-out image data with the erroneous recognition area of the output image, and transmits the output image data representing the output image after the cut-out image has been combined to the external device through the communication interface.
本発明によれば、オペレータの操作負担を増加させることなく、画像処理後の画像データの画質を適切に調整して送信することができる。 According to the present invention, it is possible to appropriately adjust the image quality of image data after image processing and transmit the data without increasing the operational burden on the operator.
以下、図面を参照して、本発明の実施形態について説明する。図1は、画像処理システム1の概略図である。画像処理システム1は、通信ネットワーク2を通じて接続された複数の装置間において、画像データを送受信するシステムである。図1に示すように、画像処理システム1では、複数のMFP100A、100B、100C(以下、これらを参照して、「MFP100」と表記することがある。)と、PC110とが、通信ネットワーク2を介して接続されている。 Below, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram of an image processing system 1. The image processing system 1 is a system that transmits and receives image data between multiple devices connected via a communication network 2. As shown in FIG. 1, in the image processing system 1, multiple MFPs 100A, 100B, and 100C (hereinafter, these may be referred to as "MFPs 100") and a PC 110 are connected via the communication network 2.
MFP100(MFP:Multifunction Peripheral/Product/Printer)は、媒体に画像を記録するプリンタ機能、原稿に記録された画像を読み取って画像データを生成するスキャナ機能、外部装置に画像データをFAX送信するFAX機能などを備えた画像処理装置の一例である。PC110は、画像データを編集する機能を有すると共に、通信ネットワーク2を通じて画像データを送受信可能に構成された画像処理装置の他の例である。さらに、画像処理システム1には、画像処理装置の他の例であるタブレット端末やスマートフォン等が接続されてもよい。 MFP100 (MFP: Multifunction Peripheral/Product/Printer) is an example of an image processing device equipped with a printer function for recording an image on a medium, a scanner function for reading an image recorded on an original and generating image data, and a fax function for faxing the image data to an external device. PC110 is another example of an image processing device that has a function for editing image data and is configured to be able to send and receive image data via communication network 2. Furthermore, other examples of image processing devices such as a tablet terminal or a smartphone may be connected to image processing system 1.
また、MFP100A、100B、100Cには、通信ネットワーク2上で当該装置を一意に識別する宛先情報(例えば、FAX番号、IPアドレス等)が割り当てられている。本実施形態では、MFP100Aの宛先情報を“xx-xxxx-xxxx”とし、MFP100Bの宛先情報を“yy-yyyy-yyyy”とし、MFP100Cの宛先情報を“zz-zzzz-zzzz”とする。また図示は省略するが、PC110にも宛先情報が割り当てられる。 Additionally, MFPs 100A, 100B, and 100C are assigned destination information (e.g., FAX number, IP address, etc.) that uniquely identifies the device on communication network 2. In this embodiment, the destination information of MFP 100A is "xx-xxxx-xxxx", the destination information of MFP 100B is "yy-yyyy-yyyy", and the destination information of MFP 100C is "zz-zzzz-zzzz". Although not shown in the figure, destination information is also assigned to PC 110.
また、MFP100A、100B、100Cは、処理能力(例えば、用紙サイズ、解像度、色)が互いに異なっていてもよい。用紙サイズとは、例えば、スキャナ部231で読取可能な原稿のサイズ、及びプリンタ部232で画像を形成可能な媒体のサイズを指す。解像度とは、例えば、スキャナ部231で生成可能な画像データの解像度、及びプリンタ部232で形成可能な画像データの解像度を指す。色とは、例えば、スキャナ部231で読取可能な色、及びプリンタ部232で媒体に形成可能な色を指す。 Furthermore, MFPs 100A, 100B, and 100C may differ from each other in processing capabilities (e.g., paper size, resolution, color). Paper size refers to, for example, the size of an original that can be read by scanner unit 231 and the size of a medium on which an image can be formed by printer unit 232. Resolution refers to, for example, the resolution of image data that can be generated by scanner unit 231 and the resolution of image data that can be formed by printer unit 232. Color refers to, for example, the colors that can be read by scanner unit 231 and the colors that can be formed on a medium by printer unit 232.
本実施形態では、MFP100A、100Cは、用紙サイズ“A3”、“A4”、“A5”、解像度“600dpi”、“400dpi”、“300dpi”、色“カラー”、“モノクロ”に対応する。MFP100Bは、最大の用紙サイズ“A4”、“A5”、最大の解像度“400dpi”、“300dpi”、色“モノクロ”に対応する。そして、MFP100A、100B、100Cは、ITU-T勧告、T.30勧告に基づき、NSFやDISによって、処理能力を示す能力情報を相互に交換(送受信)することができる。 In this embodiment, MFPs 100A and 100C support paper sizes "A3", "A4", and "A5", resolutions "600 dpi", "400 dpi", and "300 dpi", and colors "color" and "monochrome". MFP 100B supports the maximum paper sizes "A4" and "A5", maximum resolutions "400 dpi" and "300 dpi", and color "monochrome". MFPs 100A, 100B, and 100C can mutually exchange (transmit and receive) capability information indicating processing capabilities using NSF and DIS based on ITU-T Recommendation T.30.
通信ネットワーク2は、インターネット、公衆電話回線、LANなどの一部または全部によって構成されている。また、通信ネットワーク2は、有線通信のみならず、無線通信に対応していてもよい。そして、通信ネットワーク2に接続された装置100A、100B、100C、110は、HTTP、FTP、FAXプロトコルなど、様々なプロトコルに準拠した方法で通信することができる。 The communication network 2 is composed of part or all of the Internet, public telephone lines, LAN, etc. Furthermore, the communication network 2 may support not only wired communication but also wireless communication. The devices 100A, 100B, 100C, and 110 connected to the communication network 2 can communicate in a manner conforming to various protocols such as HTTP, FTP, and FAX protocols.
図2は、MFP100のハードウェア構成図である。図2に示されているように、MFP100は、コントローラ210、近距離通信I/F220、エンジン制御部230、操作パネル240(入力部)、ネットワークI/F250(通信インタフェース)を備えている。 Figure 2 is a hardware configuration diagram of the MFP 100. As shown in Figure 2, the MFP 100 includes a controller 210, a short-range communication I/F 220, an engine control unit 230, an operation panel 240 (input unit), and a network I/F 250 (communication interface).
これらのうち、コントローラ210は、コンピュータの主要部であるCPU201、システムメモリ(MEM-P)202、ノースブリッジ(NB)203、サウスブリッジ(SB)204、ASIC(Application Specific Integrated Circuit)206、記憶部であるローカルメモリ(MEM-C)207、HDDコントローラ208、及び、記憶部であるHD209を有し、NB203とASIC206との間をAGP(Accelerated Graphics Port)バス221で接続した構成となっている。 Of these, the controller 210 has a CPU 201, which is the main part of the computer, a system memory (MEM-P) 202, a north bridge (NB) 203, a south bridge (SB) 204, an ASIC (Application Specific Integrated Circuit) 206, a local memory (MEM-C) 207, which is a storage unit, a HDD controller 208, and a HD 209, which is also a storage unit, and is configured such that the NB 203 and the ASIC 206 are connected by an AGP (Accelerated Graphics Port) bus 221.
これらのうち、CPU201は、MFP100の全体制御を行う制御部である。NB203は、CPU201と、MEM-P202、SB204、及びAGPバス221とを接続するためのブリッジであり、MEM-P202に対する読み書きなどを制御するメモリコントローラと、PCI(Peripheral Component Interconnect)マスタ及びAGPターゲットとを有する。 Of these, the CPU 201 is a control unit that performs overall control of the MFP 100. The NB 203 is a bridge that connects the CPU 201 with the MEM-P 202, the SB 204, and the AGP bus 221, and includes a memory controller that controls reading and writing to the MEM-P 202, a PCI (Peripheral Component Interconnect) master, and an AGP target.
MEM-P202は、コントローラ210の各機能を実現させるプログラムやデータの格納用メモリであるROM202a、プログラムやデータの展開、及びメモリ印刷時の描画用メモリなどとして用いるRAM202bとからなる。なお、RAM202bに記憶されているプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM、CD-R、DVD等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。 The MEM-P 202 consists of a ROM 202a, which is memory for storing programs and data that realize the various functions of the controller 210, and a RAM 202b, which is used for expanding programs and data, and as a drawing memory during memory printing. The programs stored in the RAM 202b may be provided by recording them in an installable or executable format on a computer-readable recording medium such as a CD-ROM, CD-R, or DVD.
SB204は、NB203とPCIデバイス、周辺デバイスとを接続するためのブリッジである。ASIC206は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGPバス221、PCIバス222、HDDコントローラ208およびMEM-C207をそれぞれ接続するブリッジの役割を有する。このASIC206は、PCIターゲットおよびAGPマスタ、ASIC206の中核をなすアービタ(ARB)、MEM-C207を制御するメモリコントローラ、ハードウェアロジックなどにより画像データの回転などを行う複数のDMAC(Direct Memory Access Controller)、並びに、スキャナ部231、プリンタ部232、及びFAX部233との間でPCIバス222を介したデータ転送を行うPCIユニットとからなる。なお、ASIC206には、USB(Universal Serial Bus)のインタフェースや、IEEE1394(Institute of Electrical and Electronics Engineers 1394)のインタフェースを接続するようにしてもよい。 SB204 is a bridge for connecting NB203 with PCI devices and peripheral devices. ASIC206 is an IC (Integrated Circuit) for image processing purposes that has hardware elements for image processing, and plays the role of a bridge connecting AGP bus221, PCI bus222, HDD controller208, and MEM-C207. This ASIC206 is composed of a PCI target and AGP master, an arbiter (ARB) that is the core of ASIC206, a memory controller that controls MEM-C207, multiple DMACs (Direct Memory Access Controllers) that rotate image data using hardware logic, and a PCI unit that transfers data between scanner unit231, printer unit232, and FAX unit233 via PCI bus222. In addition, a USB (Universal Serial Bus) interface or an IEEE 1394 (Institute of Electrical and Electronics Engineers 1394) interface may be connected to the ASIC 206.
MEM-C207は、コピー用画像バッファ及び符号バッファとして用いるローカルメモリである。HD209は、画像データの蓄積、印刷時に用いるフォントデータの蓄積、フォームの蓄積を行うためのストレージである。HD209は、CPU201の制御にしたがってHD209に対するデータの読出又は書込を制御する。AGPバス221は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレータカード用のバスインタフェースであり、MEM-P202に高スループットで直接アクセスすることにより、グラフィックスアクセラレータカードを高速にすることができる。 The MEM-C 207 is a local memory used as an image buffer for copying and a code buffer. The HD 209 is a storage for storing image data, font data used during printing, and forms. The HD 209 controls the reading and writing of data from and to the HD 209 under the control of the CPU 201. The AGP bus 221 is a bus interface for a graphics accelerator card proposed to speed up graphic processing, and by directly accessing the MEM-P 202 with high throughput, the graphics accelerator card can be made faster.
また、近距離通信I/F220には、近距離通信回路220aが備わっている。近距離通信回路220aは、NFC、Bluetooth(登録商標)等の通信回路である。 The short-range communication I/F 220 also includes a short-range communication circuit 220a. The short-range communication circuit 220a is a communication circuit such as NFC or Bluetooth (registered trademark).
また、エンジン制御部230には、スキャナ部231、プリンタ部232、及びFAX部233が接続されている。スキャナ部231は、コンタクトガラスまたはADF(Auto Document Feeder:自動原稿送り装置)にセットされた原稿を読み取って、画像データを生成する。プリンタ部232は、指定された画像データで示される画像を媒体(例えば、用紙、OHPシート)に形成する。FAX部233は、FAXプロトコルに準拠して、外部装置との間で画像データを送受信する。 The engine control unit 230 is also connected to a scanner unit 231, a printer unit 232, and a fax unit 233. The scanner unit 231 reads an original document set on the contact glass or an ADF (Auto Document Feeder) and generates image data. The printer unit 232 forms an image indicated by the specified image data on a medium (e.g., paper, an OHP sheet). The fax unit 233 transmits and receives image data to and from an external device in accordance with the fax protocol.
また、操作パネル240は、現在の設定値や選択画面等を表示させ、操作者からの入力を受け付けるタッチパネル等のパネル表示部240a(ディスプレイ)、並びに、濃度の設定条件などの画像形成に関する条件の設定値を受け付けるテンキー及びコピー開始指示を受け付けるスタートキー等からなる操作パネル240bを備えている。コントローラ210は、MFP100全体の制御を行い、例えば、描画、通信、操作パネル240からの入力等を制御する。 The operation panel 240 also includes a panel display unit 240a (display) such as a touch panel that displays the current settings and selection screens and accepts input from the operator, and an operation panel 240b that includes a numeric keypad that accepts settings for image formation conditions such as density settings and a start key that accepts a copy start command. The controller 210 controls the entire MFP 100, and controls, for example, drawing, communication, and input from the operation panel 240.
なお、MFP100は、操作パネル240のアプリケーション切り替えキーにより、ドキュメントボックス機能、コピー機能、プリンタ機能、およびファクシミリ機能を順次に切り替えて選択することが可能となる。ドキュメントボックス機能の選択時にはドキュメントボックスモードとなり、コピー機能の選択時にはコピーモードとなり、プリンタ機能の選択時にはプリンタモードとなり、ファクシミリモードの選択時にはファクシミリモードとなる。 The MFP 100 can sequentially switch between the document box function, copy function, printer function, and facsimile function using the application switching key on the operation panel 240. When the document box function is selected, the mode becomes document box mode, when the copy function is selected, the mode becomes copy mode, when the printer function is selected, the mode becomes printer mode, and when the facsimile mode is selected, the mode becomes facsimile mode.
また、ネットワークI/F250は、通信ネットワーク2を利用してデータ通信をするためのインタフェースである。近距離通信I/F220及びネットワークI/F250は、PCIバス222を介して、ASIC206に電気的に接続されている。 The network I/F 250 is an interface for data communication using the communication network 2. The short-range communication I/F 220 and the network I/F 250 are electrically connected to the ASIC 206 via the PCI bus 222.
次に、図3~図5を参照して、コントローラ210が実行する処理を説明する。図3は、MFP100の機能ブロック図である。図4は、画像データ送信処理のフローチャートである。図5は、画像データ送信処理でパネル表示部240aに表示される画面例であって、(A)はFAX送信画面を、(B)はプレビュー画面を示す。 Next, the processing executed by the controller 210 will be described with reference to Figures 3 to 5. Figure 3 is a functional block diagram of the MFP 100. Figure 4 is a flowchart of the image data transmission processing. Figure 5 shows an example of a screen displayed on the panel display unit 240a during the image data transmission processing, where (A) shows a FAX transmission screen and (B) shows a preview screen.
図3に示すように、MFP100は、スキャン処理部310、画像圧縮部(画像処理部)320、プレビュー処理部330、FAX送信部340、及び画質調整部350を備える。また、画質調整部350は、OCR処理部351、画像切抜部352、2値化処理部353、及び画像合成部354を備える。図3に示す各機能ブロック310~354は、コントローラ210内のCPU301が、HD209に記憶されている画像処理プログラムをRAM202bに展開し、演算実行することで実現される機能部である。 As shown in FIG. 3, the MFP 100 includes a scan processing unit 310, an image compression unit (image processing unit) 320, a preview processing unit 330, a FAX transmission unit 340, and an image quality adjustment unit 350. The image quality adjustment unit 350 also includes an OCR processing unit 351, an image cropping unit 352, a binarization processing unit 353, and an image synthesis unit 354. Each of the functional blocks 310 to 354 shown in FIG. 3 is a functional unit that is realized when the CPU 301 in the controller 210 loads an image processing program stored in the HD 209 into the RAM 202b and executes the program.
図3に示す画像データ送信処理は、例えば、操作パネル240を通じてFAX部233が起動されたことによって開始される。以下、MFP100Aのコントローラ210が画像データ送信処理を実行する例を説明する。但し、画像データ送信処理は、MFP100B、100C或いはPC110によって実行されてもよい。 The image data transmission process shown in FIG. 3 is started, for example, when the FAX unit 233 is started via the operation panel 240. Below, an example will be described in which the controller 210 of the MFP 100A executes the image data transmission process. However, the image data transmission process may also be executed by the MFP 100B, 100C, or the PC 110.
まず、スキャン処理部310は、図5(A)に示すFAX送信画面を、パネル表示部240aに表示させる(S401)。FAX送信画面は、FAX送信の条件(例えば、宛先情報、原稿の読取条件など)をオペレータに指定させるための画面である。但し、FAX送信画面のレイアウトは、図5(A)に限定されない。 First, the scan processing unit 310 displays the fax transmission screen shown in FIG. 5(A) on the panel display unit 240a (S401). The fax transmission screen is a screen that allows the operator to specify the conditions for fax transmission (e.g., destination information, document reading conditions, etc.). However, the layout of the fax transmission screen is not limited to that shown in FIG. 5(A).
図5(A)に示すように、FAX送信画面は、宛先情報の入力を受け付けるテキストボックス511と、原稿サイズ、読取解像度R1(第1解像度)、及び読取色の選択を受け付けるプルダウンメニュー512、513、514と、[実行]ボタン515とを含む。プルダウンメニュー512、513、514には、MFP100の能力情報に対応する複数の選択肢が設定される。 5A, the FAX transmission screen includes a text box 511 for receiving input of destination information, pull-down menus 512, 513, and 514 for receiving selection of document size, reading resolution R1 (first resolution), and reading color, and an [Execute] button 515. A plurality of options corresponding to capability information of the MFP 100 are set in the pull-down menus 512, 513, and 514.
そして、スキャン処理部310は、操作パネル240を通じて、テキストボックス511に宛先が入力され、プルダウンメニュー512~514で読取条件が設定され、[実行]ボタン515が押下されるまで(S402:No)、ステップS403以降の処理の実行を待機する。本実施形態では、図5(A)に示すように、テキストボックス511に宛先情報“yy-yyyy-yyyy”が入力され、プルダウンメニュー512、513、514で原稿サイズ“A4”、読取解像度R1“600dpi”、読取色“モノクロ”が選択されたものとして、以下の処理を説明する。 Then, the scan processing unit 310 waits to execute the processes from step S403 onwards until a destination is entered in the text box 511 via the operation panel 240, reading conditions are set in the pull-down menus 512 to 514, and the [Execute] button 515 is pressed (S402: No). In this embodiment, the following process will be described assuming that destination information "yy-yyyy-yyyy" is entered in the text box 511, and document size "A4", reading resolution R1 "600 dpi", and reading color "monochrome" are selected in the pull-down menus 512, 513, and 514 as shown in FIG. 5A.
次に、スキャン処理部310は、[実行]ボタン515が押下された場合に(S402:Yes)、プルダウンメニューで指定された読取条件に従って、コンタクトガラス或いはADFにセットされた原稿を、スキャナ部231に読み取らせる(S403)。すなわち、スキャナ部231は、A4サイズの原稿に記録された画像を読み取って、解像度が600dpiでモノクロの読取画像データ(入力画像データ)を生成し、生成した読取画像データをHD209に保存する。そして、スキャン処理部310は、画像圧縮部320に制御を引き継ぐ(S404)。 Next, when the [Execute] button 515 is pressed (S402: Yes), the scan processing unit 310 causes the scanner unit 231 to read the document set on the contact glass or ADF according to the reading conditions specified in the pull-down menu (S403). That is, the scanner unit 231 reads the image recorded on the A4-sized document, generates monochrome read image data (input image data) with a resolution of 600 dpi, and saves the generated read image data in the HD 209. The scan processing unit 310 then hands over control to the image compression unit 320 (S404).
次に、スキャン処理部310から制御を引き継いだ画像圧縮部320は、テキストボックス511に入力された宛先情報“yy-yyyy-yyyy”で特定されるMFP100Bから、ネットワークI/F250を通じて能力情報を取得する(S404)。以下、MFP100Bの能力情報に含まれる解像度のうち、最大の解像度“400dpi”を、「宛先解像度R2(第2解像度)」と表記する。そして、画像圧縮部320は、読取解像度R1と宛先解像度R2とを比較する(S405)。 Next, image compression unit 320, which has taken over control from scan processing unit 310, acquires capability information from MFP 100B identified by destination information "yy-yyyy-yyyy" entered in text box 511, via network I/F 250 (S404). Hereinafter, the maximum resolution "400 dpi" included in the capability information of MFP 100B will be referred to as "destination resolution R2 (second resolution)." Then, image compression unit 320 compares reading resolution R1 with destination resolution R2 (S405).
画像圧縮部320は、読取解像度R1が宛先解像度R2より大きい場合に(S405:Yes)、読取解像度R1の読取画像データを圧縮して宛先解像度R2の圧縮画像データ(入力画像データ)を生成し、生成した圧縮画像データをHD209に保存する(S406)。すなわち、圧縮画像データは、読取画像データより解像度の低い画像データである。画像データの圧縮には、周知の技術を用いることができる。以下、読取画像データで示される画像を「読取画像(入力画像)」と表記し、圧縮画像データで示される画像を「圧縮画像(出力画像)」と表記する。 When the reading resolution R1 is greater than the destination resolution R2 (S405: Yes), the image compression unit 320 compresses the read image data of the reading resolution R1 to generate compressed image data (input image data) of the destination resolution R2 , and stores the generated compressed image data in the HD 209 (S406). In other words, the compressed image data is image data with a lower resolution than the read image data. Well-known techniques can be used to compress image data. Hereinafter, an image represented by the read image data will be referred to as a "read image (input image)" and an image represented by the compressed image data will be referred to as a "compressed image (output image)".
そして、画像圧縮部320は、プレビュー処理部330に制御を引き継ぐ(S407)。一方、画像圧縮部320は、読取解像度R1が宛先解像度R2以下の場合に(S405:No)、ステップS407~S409の処理をスキップして、FAX送信部340に制御を引き継ぐ(S410)。 Then, the image compression unit 320 passes control to the preview processing unit 330 (S407). On the other hand, if the reading resolution R1 is equal to or lower than the destination resolution R2 (S405: No), the image compression unit 320 skips the processes of steps S407 to S409 and passes control to the FAX transmission unit 340 (S410).
次に、画像圧縮部320から制御を引き継いだプレビュー処理部330は、図5(B)に示すプレビュー画面を、パネル表示部240aに表示させる(S407)。プレビュー画面は、圧縮画像データで示される圧縮画像を、オペレータに確認させるための画面である。但し、プレビュー画面のレイアウトは、図5(B)の例に限定されない。 Next, the preview processing unit 330, which has taken over control from the image compression unit 320, displays the preview screen shown in FIG. 5(B) on the panel display unit 240a (S407). The preview screen is a screen that allows the operator to check the compressed image represented by the compressed image data. However, the layout of the preview screen is not limited to the example of FIG. 5(B).
図5(B)に示すように、プレビュー画面は、圧縮画像を表示するプレビュー領域521と、[+拡大]ボタン522と、[-縮小]ボタン523と、[送信]ボタン524と、[調整]ボタン525とを含む。[+拡大]ボタン522は、プレビュー領域521上での圧縮画像の拡大表示を指示するボタンである。[-縮小]ボタン523は、プレビュー領域521上での圧縮画像の縮小表示を指示するボタンである。[送信]ボタン524は、圧縮画像データの送信を許可するボタンである。[調整]ボタン525は、圧縮画像データの送信を拒否(換言すれば、圧縮画像データの調整を指示)するボタンである。 As shown in FIG. 5 (B), the preview screen includes a preview area 521 that displays the compressed image, a [+ Enlarge] button 522, a [- Reduce] button 523, a [Send] button 524, and an [Adjust] button 525. The [+ Enlarge] button 522 is a button that instructs the compressed image to be displayed enlarged in the preview area 521. The [- Reduce] button 523 is a button that instructs the compressed image to be displayed reduced in the preview area 521. The [Send] button 524 is a button that allows the transmission of compressed image data. The [Adjust] button 525 is a button that refuses the transmission of compressed image data (in other words, instructs the adjustment of the compressed image data).
そして、プレビュー処理部330は、操作パネル240を通じて、[送信]ボタン524及び[調整]ボタン525のいずれかが押下されるまで(S408)、ステップS409以降の処理の実行を待機する。また、プレビュー処理部330は、[+拡大]ボタン522が押下された場合に、プレビュー領域521上での圧縮画像の倍率を上昇させ、[-縮小]ボタン523が押下された場合に、プレビュー領域521上での圧縮画像の倍率を減少させる。 Then, the preview processing unit 330 waits to execute the processes from step S409 onwards until either the [Send] button 524 or the [Adjust] button 525 is pressed via the operation panel 240 (S408). Furthermore, when the [+ Enlarge] button 522 is pressed, the preview processing unit 330 increases the magnification of the compressed image in the preview area 521, and when the [- Reduce] button 523 is pressed, the preview processing unit 330 decreases the magnification of the compressed image in the preview area 521.
オペレータは、必要に応じて[+拡大]ボタン522及び[-縮小]ボタン523を押下しながら、プレビュー領域521に表示された圧縮画像の画質を確認する。そして、オペレータは、圧縮画像の画質に問題がなければ(例えば、圧縮画像に含まれる文字が判別できれば)、[送信]ボタン524を押下する。一方、オペレータは、圧縮画像の画質に問題があれば(例えば、圧縮画像に判別しにくい文字が含まれていれば)、[調整]ボタン525を押下する。 The operator checks the image quality of the compressed image displayed in the preview area 521 while pressing the [+ Zoom in] button 522 and the [- Zoom out] button 523 as necessary. Then, if there is no problem with the image quality of the compressed image (for example, if the characters contained in the compressed image are distinguishable), the operator presses the [Send] button 524. On the other hand, if there is a problem with the image quality of the compressed image (for example, if the compressed image contains characters that are difficult to distinguish), the operator presses the [Adjust] button 525.
そして、プレビュー処理部330は、[調整]ボタン525が押下(すなわち、圧縮画像データの送信拒否が入力)された場合に(S408:調整)、画質調整部350に制御を引き継ぐ(S409)。一方、プレビュー処理部330は、[送信]ボタン524が押下(すなわち、圧縮画像データの送信許可が入力)された場合に(S408:送信)、FAX送信部340に制御を引き継ぐ(S410)。 Then, when the [Adjust] button 525 is pressed (i.e., a refusal to send compressed image data is input) (S408: Adjust), the preview processing unit 330 hands over control to the image quality adjustment unit 350 (S409). On the other hand, when the [Send] button 524 is pressed (i.e., permission to send compressed image data is input) (S408: Send), the preview processing unit 330 hands over control to the FAX sending unit 340 (S410).
プレビュー処理部330から制御を引き継いだFAX送信部340は、FAX部233を制御することによって、HD209に保存されている圧縮画像データを、宛先情報“yy-yyyy-yyyy”で特定されるMFP100Bに、ネットワークI/F250を通じてFAX送信する(S410)。また、画像圧縮部320から制御を引き継いだFAX送信部340は、FAX部233を制御することによって、HD209に保存されている読取画像データを、宛先情報“yy-yyyy-yyyy”で特定されるMFP100Bに、ネットワークI/F250を通じてFAX送信する(S410)。なお、「FAX送信」とは、FAXプロトコルに準拠した手順で画像データを送信することを指す。 The FAX transmission unit 340, which has taken over control from the preview processing unit 330, controls the FAX unit 233 to FAX the compressed image data stored in the HD 209 to the MFP 100B specified by the destination information "yy-yyyy-yyyy" through the network I/F 250 (S410). The FAX transmission unit 340, which has taken over control from the image compression unit 320, controls the FAX unit 233 to FAX the scanned image data stored in the HD 209 to the MFP 100B specified by the destination information "yy-yyyy-yyyy" through the network I/F 250 (S410). Note that "FAX transmission" refers to the transmission of image data in a procedure that complies with the FAX protocol.
また、プレビュー処理部330から制御を引き継いだ画質調整部350は、画質調整処理(S409)を実行する。図6は、画質調整処理のフローチャートである。図7は、(A)は読取画像データに対するOCR処理の結果を示し、(B)は圧縮画像データに対するOCR処理の結果を示す。図8は、2値化処理部353の処理を説明するための図である。画質調整処理は、HD209に保存された圧縮画像データの画質を調整する処理である。 Furthermore, the image quality adjustment unit 350, which has taken over control from the preview processing unit 330, executes image quality adjustment processing (S409). Figure 6 is a flowchart of the image quality adjustment processing. Figure 7 (A) shows the result of OCR processing on the scanned image data, and (B) shows the result of OCR processing on the compressed image data. Figure 8 is a diagram for explaining the processing of the binarization processing unit 353. The image quality adjustment processing is processing for adjusting the image quality of the compressed image data stored in HD 209.
まず、画質調整部350のOCR処理部351は、HD209に保存された読取画像データ及び圧縮画像データそれぞれに対して、フィルタ処理、2値化処理、及びOCR処理を実行する(S601)。そして、画質調整部350は、処理結果をHD209に保存して、画像切抜部352に制御を引き継ぐ(S602)。 First, the OCR processing unit 351 of the image quality adjustment unit 350 performs filtering, binarization, and OCR processing on the scanned image data and compressed image data stored in the HD 209 (S601). The image quality adjustment unit 350 then stores the processing results in the HD 209 and hands over control to the image cutout unit 352 (S602).
より詳細には、OCR処理部351は、読取画像データ及び圧縮画像データそれぞれに対して、エッジを強調するフィルタ処理を実行する。エッジとは、画像データで示される画像に含まれる地色及び文字の境界を指す。エッジを強調するフィルタ処理の具体例としては、例えば、ラプラシアンフィルタ等が挙げられる。 More specifically, the OCR processing unit 351 performs filter processing to enhance edges on both the scanned image data and the compressed image data. An edge refers to the boundary between the background color and the characters contained in the image represented by the image data. A specific example of filter processing to enhance edges is a Laplacian filter.
次に、OCR処理部351は、フィルタ処理後の読取画像データ及び圧縮画像データそれぞれを2値化する。2値化とは、各画像データを構成する複数の画素値のうち、画素値が2値化閾値以上の画素に画素値“1”を設定し、画素値が2値化閾値未満の画素に画素値“0”を設定する処理である。これにより、各画像データで示される画像のうち、文字を構成する画素に画素値“1”が設定され、地色を構成する画素に画素値“0”が設定される。2値化閾値は、予め定められた固定値でもよいし、画像データの特性に合わせた可変値でもよい。 Next, the OCR processing unit 351 binarizes each of the scanned image data and compressed image data after the filter processing. Binarization is a process in which, of the multiple pixel values that make up each image data, a pixel value of "1" is set to pixels whose pixel values are equal to or greater than the binarization threshold, and a pixel value of "0" is set to pixels whose pixel values are less than the binarization threshold. As a result, of the images shown by each image data, a pixel value of "1" is set to pixels that make up characters, and a pixel value of "0" is set to pixels that make up the background color. The binarization threshold may be a predetermined fixed value, or a variable value that matches the characteristics of the image data.
次に、OCR処理部351は、2値化処理後の読取画像データ及び圧縮画像データそれぞれに対して、OCR処理を実行する。OCR処理は、各画像に含まれる文字を抽出する処理である。より詳細には、OCR処理は、各画像に含まれる文字画像に対応する文字コード(例えば、ASCII、Unicode等)を抽出する処理である。 Next, the OCR processing unit 351 performs OCR processing on each of the scanned image data and compressed image data after the binarization processing. The OCR processing is a process for extracting characters contained in each image. More specifically, the OCR processing is a process for extracting character codes (e.g., ASCII, Unicode, etc.) corresponding to character images contained in each image.
OCR処理は、例えば、周知のOCRエンジンによって実現されるが、例えば以下の手順で処理を行う。まず、OCR処理部351は、画像から抽出した文字画像を所定の大きさに正規化し、特徴(方向成分)を抽出する。次に、OCR処理部351は、文字画像から抽出した特徴と、予め用意された標準パターンとをマッチングする。そして、OCR処理部351は、特徴の一致度が最も高い標準パターンに対応付けられた文字コードを、文字画像に対応する文字コードとして抽出する。但し、OCR処理の具体的な処理方法は、前述の例に限定されない。 OCR processing is realized, for example, by a well-known OCR engine, and is performed, for example, according to the following procedure. First, the OCR processing unit 351 normalizes the character image extracted from the image to a predetermined size and extracts features (directional components). Next, the OCR processing unit 351 matches the features extracted from the character image with a standard pattern prepared in advance. Then, the OCR processing unit 351 extracts the character code associated with the standard pattern with the highest degree of match of features as the character code corresponding to the character image. However, the specific processing method of OCR processing is not limited to the above example.
次に、OCR処理部351から処理を引き継いだ画像切抜部352は、読取画像及び圧縮画像の対応する領域から抽出した文字(文字コード)同士を比較する。そして、OCR処理部351は、対応する領域から抽出した文字の認識結果が異なる誤認識領域を特定する(S602)。図7の例では、読取画像及び圧縮画像の対応する領域のうち、読取画像から抽出された文字“c”(図7(A))と、圧縮画像から抽出された文字“o”(図7(B))との認識結果が異なる。 Next, the image cutout unit 352, which has taken over the process from the OCR processing unit 351, compares the characters (character codes) extracted from the corresponding areas of the read image and the compressed image. Then, the OCR processing unit 351 identifies an erroneous recognition area where the recognition results of the characters extracted from the corresponding areas differ (S602). In the example of FIG. 7, of the corresponding areas of the read image and the compressed image, the recognition results of the character "c" extracted from the read image (FIG. 7(A)) and the character "o" extracted from the compressed image (FIG. 7(B)) differ.
次に、画像切抜部352は、読取画像から誤認識領域の画像を切り抜いて、切抜画像データを生成する。本実施形態では、図8に示すように、図7(A)の文字“c”を囲む矩形の画像が切り抜かれる。また、画像切抜部352は、生成した切抜画像データを読取解像度R1から宛先解像度R2に圧縮して、圧縮後の切抜画像データをHD209に保存する(S603)。すなわち、画像切抜部352は、ステップS603において、入力画像データから出力画像データを生成するための画像処理を、切抜画像データに施す。以下、切抜画像データで示される画像を、「切抜画像」と表記する。そして、画像切抜部352は、2値化処理部353に制御を引き継ぐ。 Next, the image cutting unit 352 cuts out the image of the erroneous recognition area from the read image to generate cut-out image data. In this embodiment, as shown in FIG. 8, a rectangular image surrounding the letter "c" in FIG. 7(A) is cut out. The image cutting unit 352 also compresses the generated cut-out image data from the reading resolution R1 to the destination resolution R2 , and stores the compressed cut-out image data in the HD 209 (S603). That is, in step S603, the image cutting unit 352 performs image processing on the cut-out image data to generate output image data from the input image data. Hereinafter, the image represented by the cut-out image data will be referred to as a "cut-out image". Then, the image cutting unit 352 hands over control to the binarization processing unit 353.
次に、画像切抜部352から制御を引き継いだ2値化処理部353は、宛先解像度R2に圧縮後の切抜画像データに対してフィルタ処理(第1フィルタ処理)を実行する(S604)。ステップS604におけるフィルタ処理は、切抜画像のエッジを強調する処理であって、具体的な方法はステップS601と同様でよい。 Next, the binarization processing unit 353, which has taken over control from the image cropping unit 352, executes a filter process (first filter process) on the cropped image data compressed to the destination resolution R2 (S604). The filter process in step S604 is a process for enhancing the edges of the cropped image, and the specific method may be the same as that in step S601.
次に、2値化処理部353は、フィルタ処理後の切抜画像データから、エッジ画素の最小画素値Pminと、非エッジ画素の最大画素値Pmaxとを抽出する(S605)。エッジ画素とは、切抜画像内のエッジを構成する画素であって、図8の画素1-D、1-E、2-B、2-C、2-E、3-C、3-D等の画素を指す。非エッジ画素とは、切抜画像内の地色を構成する画素であって、図8の前述した画素以外の画素を指す。 Next, the binarization processing unit 353 extracts the minimum pixel value Pmin of the edge pixels and the maximum pixel value Pmax of the non-edge pixels from the cut-out image data after the filter processing (S605). The edge pixels are pixels that make up the edges in the cut-out image, and refer to pixels such as 1-D, 1-E, 2-B, 2-C, 2-E, 3-C, and 3-D in Fig. 8. The non-edge pixels are pixels that make up the background color in the cut-out image, and refer to pixels other than the aforementioned pixels in Fig. 8.
そして、最小画素値Pminは、切抜画像のエッジを構成する複数のエッジ画素のうち、最も地色に近い画素(例えば、画素2-B)の画素値を指す。一方、非エッジ画素の画素値は、原稿に付着した埃や読み取り時のノイズ等によってバラツキがある。そのため、最大画素値Pmaxは、切抜画像の地色を構成する複数の非エッジ画素のうち、地色以外の成分が最も多い画素の画素値を指す。 The minimum pixel value Pmin indicates the pixel value of the pixel (e.g., pixel 2-B) that is closest to the background color among the multiple edge pixels that make up the edge of the cutout image. On the other hand, the pixel values of the non-edge pixels vary due to dust on the document, noise during reading, etc. Therefore, the maximum pixel value Pmax indicates the pixel value of the pixel that has the most components other than the background color among the multiple non-edge pixels that make up the background color of the cutout image.
次に、2値化処理部353は、エッジ画素の最小画素値Pminと非エッジ画素の最大画素値Pmaxとを比較する(S606)。そして、2値化処理部353は、最小画素値Pminが最大画素値Pmaxより大きい場合に(S606:Yes)、最大画素値Pmaxを2値化閾値として、切抜画像データに対して2値化処理を実行する(S607)。 Next, the binarization processing unit 353 compares the minimum pixel value Pmin of the edge pixels with the maximum pixel value Pmax of the non-edge pixels (S606). If the minimum pixel value Pmin is greater than the maximum pixel value Pmax (S606: Yes), the binarization processing unit 353 performs binarization processing on the cutout image data using the maximum pixel value Pmax as a binarization threshold value (S607).
一方、2値化処理部353は、最小画素値Pminが最大画素値Pmax以下の場合に(S606:No)、切抜画像データに対して第2フィルタ処理を実行する(S604)。そして、2値化処理部353は、最小画素値Pminが最大画素値Pmaxより大きくなるまで(S606:No)、ステップS604~S606の処理を繰り返し実行する。 On the other hand, if the minimum pixel value Pmin is equal to or smaller than the maximum pixel value Pmax (S606: No), the binarization processing unit 353 executes a second filter process on the cutout image data (S604).Then, the binarization processing unit 353 repeatedly executes the processes of steps S604 to S606 until the minimum pixel value Pmin becomes greater than the maximum pixel value Pmax (S606: No).
なお、2値化処理部353は、N(Nは2以上の整数)回目のステップS604において、(N-1)回目のステップS604よりエッジをさらに強調するフィルタ処理(第Nフィルタ処理)を実行する。エッジをさらに強調する具体的な方法としては、例えば、第Nフィルタ処理と第(N-1)フィルタ処理とで、ラプラシアンフィルタのパラメータを変更してもよいし、異なるアルゴリズムのフィルタ処理を実行してもよい。 Note that in step S604 for the Nth (N is an integer equal to or greater than 2) time, the binarization processing unit 353 executes a filter process (Nth filter process) that further emphasizes edges compared to step S604 for the (N-1) time. As a specific method for further emphasizing edges, for example, the parameters of the Laplacian filter may be changed between the Nth filter process and the (N-1)th filter process, or filter processes using different algorithms may be executed.
なお、ステップS607における2値化処理は、ステップS601と同様でよい。これにより、切抜画像のうち、文字を構成する画素に画素値“1”が設定され、地色を構成する画素に画素値“0”が設定される。次に、2値化処理部353は、2値化処理後の切抜画像データをHD209に保存する。そして、2値化処理部353は、画像合成部354に制御を引き継ぐ(S608)。 The binarization process in step S607 may be the same as that in step S601. As a result, the pixels that make up the characters in the cut-out image are set to a pixel value of "1", and the pixels that make up the background color are set to a pixel value of "0". Next, the binarization processing unit 353 stores the cut-out image data after the binarization process in the HD 209. Then, the binarization processing unit 353 hands over control to the image synthesis unit 354 (S608).
次に、2値化処理部353から制御を引き継いだ画像合成部354は、2値化後の圧縮画像データで示される圧縮画像の誤認識領域に、2値化後の切抜画像データで示される切抜画像を合成する(S608)。本実施形態では、図7(B)の文字“o”を囲む矩形の画像が、図8の文字“c”を囲む矩形の画像に置換される。次に、画像合成部354は、切抜画像を合成後の圧縮画像を示す圧縮画像データで、HD209に保存された圧縮画像データを上書きする。そして、画像合成部354は、プレビュー処理部330に制御を引き継ぐ(S407)。 Next, the image synthesis unit 354, which has taken over control from the binarization processing unit 353, synthesizes the cut-out image represented by the binarized cut-out image data into the erroneous recognition area of the compressed image represented by the binarized compressed image data (S608). In this embodiment, the rectangular image surrounding the letter "o" in FIG. 7(B) is replaced with a rectangular image surrounding the letter "c" in FIG. 8. Next, the image synthesis unit 354 overwrites the compressed image data stored in the HD 209 with compressed image data representing the compressed image after synthesis with the cut-out image. Then, the image synthesis unit 354 hands over control to the preview processing unit 330 (S407).
次に図4に戻って、画像合成部354から制御を引き継いだプレビュー処理部330は、画質調整処理で画質が調整された圧縮画像データを用いて、ステップS407以降の処理を実行する。すなわち、コントローラ210は、オペレータが[送信]ボタン524を押下するまで、ステップS407~S409の処理を繰り返し実行する。そして、オペレータが[送信]ボタン524を押下すると(S408:送信)、FAX送信部340は、HD209に保存された(すなわち、画質が調整された)圧縮画像データを、MFP100Bに対してFAX部233にFAX送信させる(S410)。 Returning to FIG. 4, the preview processing unit 330, which has taken over control from the image synthesis unit 354, executes the processes from step S407 onwards using the compressed image data whose image quality has been adjusted in the image quality adjustment process. That is, the controller 210 repeatedly executes the processes from step S407 to S409 until the operator presses the [Send] button 524. Then, when the operator presses the [Send] button 524 (S408: Send), the FAX transmission unit 340 causes the FAX unit 233 to FAX the compressed image data stored in the HD 209 (i.e., whose image quality has been adjusted) to the MFP 100B (S410).
上記の実施形態によれば、例えば以下の作用効果を奏する。 The above embodiment provides the following advantages:
上記の実施形態によれば、オペレータがプレビュー画面を見て文字が判別できないと判断した場合に(S408:調整)、画質調整処理(S409)を実行するので、オペレータの操作負担を増加させることなく、圧縮画像データの画質を適切に調整して送信することができる。なお、上記の実施形態では、画質調整処理(S409)の後に、プレビュー画面を再び表示する(S407)例を説明したが、画質調整処理の後に直接ステップS410を実行してもよい。 According to the above embodiment, if the operator judges that the characters are not legible when looking at the preview screen (S408: Adjustment), the image quality adjustment process (S409) is executed, so that the image quality of the compressed image data can be appropriately adjusted and sent without increasing the operational burden on the operator. Note that, although the above embodiment describes an example in which the preview screen is displayed again (S407) after the image quality adjustment process (S409), step S410 may be executed directly after the image quality adjustment process.
また、上記の実施形態によれば、読取画像データ及び圧縮画像データそれぞれから抽出した文字の認識結果が異なる誤認識領域に切抜画像を合成するので、文字が潰れて判別しにくい部分の画質を選択的に調整することができる。このように、本発明は、文字が主体の原稿(文書原稿)を読み取って読取画像データを生成する場合に、特に有利な作用効果を奏する。但し、本発明の対象となる入力画像データは、文字のみを含むものに限定されず、少なくとも文字を含み、さらに図柄(例えば、イラスト、写真、グラフ、表など)を含んでもよい。 In addition, according to the above embodiment, a cut-out image is synthesized in an erroneous recognition area where the character recognition results extracted from the read image data and the compressed image data are different, so that it is possible to selectively adjust the image quality of parts where the characters are blurred and difficult to distinguish. In this way, the present invention has a particularly advantageous effect when reading an original (document original) that is mainly composed of characters to generate read image data. However, the input image data that is the subject of the present invention is not limited to that containing only characters, but may contain at least characters and also include patterns (e.g., illustrations, photographs, graphs, tables, etc.).
また、上記の実施形態によれば、圧縮画像データ及び切抜画像データそれぞれを2値化してから合成するので、各画像に含まれる文字がさらに鮮明になる。このように、本発明は、原稿をモノクロで読み取って読取画像データを生成する場合に、特に有利な作用効果を奏する。 In addition, according to the above embodiment, the compressed image data and the cut-out image data are binarized before being combined, so the characters contained in each image become clearer. In this way, the present invention has a particularly advantageous effect when scanning an original in monochrome to generate scanned image data.
また、上記の実施形態によれば、エッジ画素の最小画素値Pminが、非エッジ画素の最大画素値Pmaxより大きくなるまでフィルタ処理を繰り返し実行し、非エッジ画素の最大画素値Pmaxを2値化閾値として切抜画像データを2値化するので、切抜画像に含まれる文字をさらに鮮明にすることができる。 Furthermore, according to the above embodiment, the filtering process is repeatedly performed until the minimum pixel value Pmin of the edge pixels becomes larger than the maximum pixel value Pmax of the non-edge pixels, and the cut-out image data is binarized using the maximum pixel value Pmax of the non-edge pixels as the binarization threshold value, so that the characters included in the cut-out image can be made even clearer.
なお、上記の実施形態では、スキャナ部231が生成した読取画像データを入力画像データの一例として説明したが、入力画像データの具体例はこれに限定されない。他の例として、PC110が画像データ送信処理を実行する場合は、画像作成(編集)アプリケーションを用いて作成(編集)した画像データを、入力画像データとしてもよい。さらに他の例として、タブレット端末やスマートフォンが画像データ送信処理を実行する場合は、内蔵カメラで撮影した画像データを、入力画像データとしてもよい。 In the above embodiment, the scanned image data generated by the scanner unit 231 has been described as an example of input image data, but specific examples of input image data are not limited to this. As another example, when the PC 110 executes the image data transmission process, image data created (edited) using an image creation (editing) application may be used as the input image data. As yet another example, when a tablet terminal or smartphone executes the image data transmission process, image data captured by a built-in camera may be used as the input image data.
また、上記の実施形態では、画像データをFAX送信する例を説明したが、画像データの送信プロトコルはFAXプロトコルに限定されず、HTTP、FTPなど、画像データを送受信可能なあらゆるプロトコルが適用できる。 In addition, in the above embodiment, an example of sending image data by fax has been described, but the protocol for sending image data is not limited to the fax protocol, and any protocol capable of sending and receiving image data, such as HTTP or FTP, can be applied.
また、上記の実施形態では、宛先装置の能力に応じて宛先解像度R2を決定する例を説明したが、宛先解像度R2の決定方法は前述の例に限定されない。他の例として、宛先解像度R2は、通信ネットワーク2の帯域幅に応じて決定されてもよいし、予め定められた固定値でもよい。読取解像度R1の決定方法についても同様である。 In the above embodiment, the destination resolution R2 is determined according to the capabilities of the destination device, but the method of determining the destination resolution R2 is not limited to the above example. As another example, the destination resolution R2 may be determined according to the bandwidth of the communication network 2, or may be a predetermined fixed value. The same applies to the method of determining the reading resolution R1 .
さらに、上記の実施形態では、読取画像データを圧縮して圧縮画像データを生成する例を説明したが、入力画像データから出力画像データを生成するための画像処理は、「圧縮」に限定されない。すなわち、コントローラ210は、画質を低下させる画像処理を入力画像データに施して、出力画像データを生成すればよい。画像処理の他の例としては、コントラスト補正、明るさ補正、色補正、ノイズ除去、拡大及び縮小などが挙げられる。 Furthermore, in the above embodiment, an example was described in which the scanned image data was compressed to generate compressed image data, but the image processing for generating output image data from input image data is not limited to "compression". In other words, the controller 210 may perform image processing on the input image data that reduces image quality to generate output image data. Other examples of image processing include contrast correction, brightness correction, color correction, noise removal, enlargement and reduction, etc.
上記で説明した実施形態の各機能は、一又は複数の処理回路によって実現することが可能である。ここで、本明細書における「処理回路」とは、電子回路により実装されるプロセッサのようにソフトウェアによって各機能を実行するようプログラミングされたプロセッサや、上記で説明した各機能を実行するよう設計されたASIC(Application Specific Integrated Circuit)、DSP(digital signal processor)、FPGA(field programmable gate array)や従来の回路モジュール等のデバイスを含むものとする。 Each function of the above-described embodiments can be realized by one or more processing circuits. In this specification, the term "processing circuit" includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and devices such as an ASIC (Application Specific Integrated Circuit), DSP (digital signal processor), FPGA (field programmable gate array), and conventional circuit modules designed to execute each function described above.
明細書中の対応テーブル(表)は、機械学習の学習効果によって生成されたものでもよい。また、各パラメータを機械学習にて分類付けすることで、対応テーブルを使用しなくてもよい。ここで、機械学習とは、コンピュータに人のような学習能力を獲得させるための技術であり,コンピュータが,データ識別等の判断に必要なアルゴリズムを,事前に取り込まれる学習データから自律的に生成し,新たなデータについてこれを適用して予測を行う技術のことをいう。機械学習のための学習方法は、教師あり学習、教師なし学習、半教師学習、強化学習、深層学習のいずれかの方法でもよく、さらに、これらの学習方法を組み合わせた学習方法でもよく、機械学習のための学習方法は問わない。 The correspondence table in the specification may be generated by the learning effect of machine learning. In addition, by classifying each parameter by machine learning, it is not necessary to use a correspondence table. Here, machine learning is a technology for enabling a computer to acquire human-like learning capabilities, and refers to a technology in which a computer autonomously generates an algorithm required for judgment such as data identification from learning data that is previously loaded, and applies this to new data to make predictions. The learning method for machine learning may be any of supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning, and deep learning, or may be a combination of these learning methods. Any learning method for machine learning is acceptable.
なお、本発明は上述した実施形態に限定されるものではなく、その技術的要旨を逸脱しない範囲で種々の変形が可能であり、特許請求の範囲に記載された技術思想に含まれる技術的事項の全てが本発明の対象となる。上記実施形態は、好適な例を示したものであるが、当業者であれば、開示した内容から様々な変形例を実現することが可能である。そのような変形例も、特許請求の範囲に記載された技術的範囲に含まれる。 The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the technical gist of the invention. All technical matters included in the technical ideas described in the claims are covered by the present invention. The above-described embodiment shows a preferred example, but a person skilled in the art can realize various modifications from the disclosed contents. Such modifications are also included in the technical scope described in the claims.
1 :画像処理システム
2 :通信ネットワーク
100 :MFP
110 :PC
201 :CPU
202a :ROM
202b :RAM
206 :ASIC
208 :HDDコントローラ
210 :コントローラ
220 :近距離通信I/F
220a :近距離通信回路
221 :AGPバス
222 :PCIバス
230 :エンジン制御部
231 :スキャナ部
232 :プリンタ部
233 :FAX部
240 :操作パネル
240a :パネル表示部
240b :操作パネル
250 :ネットワークI/F
301 :CPU
310 :スキャン処理部
320 :画像圧縮部
330 :プレビュー処理部
340 :FAX送信部
350 :画質調整部
351 :OCR処理部
352 :画像切抜部
354 :画像合成部
511 :テキストボックス
512,513,514 :プルダウンメニュー
515 :[実行]ボタン
521 :プレビュー領域
522 :[+拡大]ボタン
523 :[-縮小]ボタン
524 :[送信]ボタン
525 :[調整]ボタン
1: Image processing system 2: Communication network 100: MFP
110: PC
201: CPU
202a: ROM
202b: RAM
206: ASIC
208: HDD controller 210: Controller 220: Short-range communication I/F
220a: short-distance communication circuit 221: AGP bus 222: PCI bus 230: engine control unit 231: scanner unit 232: printer unit 233: FAX unit 240: operation panel 240a: panel display unit 240b: operation panel 250: network I/F
301: CPU
310: Scan processing section 320: Image compression section 330: Preview processing section 340: FAX transmission section 350: Image quality adjustment section 351: OCR processing section 352: Image cropping section 354: Image synthesis section 511: Text boxes 512, 513, 514: Pull-down menu 515: [Execute] button 521: Preview area 522: [+Enlarge] button 523: [-Reduce] button 524: [Send] button 525: [Adjust] button
Claims (6)
オペレータからの入力操作を受け付ける入力部と、
外部装置と通信する通信インタフェースと、
コントローラとを備え、
前記コントローラは、
入力画像データに画像処理を施して出力画像データを生成し、
前記出力画像データで示される出力画像を前記ディスプレイに表示させ、
前記出力画像データの送信許可が前記入力部に入力された場合に、前記通信インタフェースを通じて前記出力画像データを外部装置に送信し、
前記出力画像データの送信拒否が前記入力部に入力された場合に、
前記入力画像データ及び前記出力画像データそれぞれに含まれる文字を抽出し、
前記入力画像データで示される入力画像のうち、前記入力画像データ及び前記出力画像データそれぞれから抽出した文字の認識結果が異なる誤認識領域の画像を切り抜いて、切抜画像データを生成し、
前記切抜画像データで示される切抜画像を、前記出力画像の前記誤認識領域に合成し、
前記切抜画像を合成後の前記出力画像を示す前記出力画像データを、前記通信インタフェースを通じて外部装置に送信することを特徴とする画像処理装置。 A display for displaying an image;
an input unit that accepts input operations from an operator;
A communication interface for communicating with an external device;
A controller.
The controller:
performing image processing on the input image data to generate output image data;
displaying an output image represented by the output image data on the display;
When a transmission permission for the output image data is input to the input unit, the output image data is transmitted to an external device through the communication interface;
When a refusal to transmit the output image data is input to the input unit,
Extracting characters contained in each of the input image data and the output image data;
generating cut-out image data by cutting out an image of an erroneous recognition area in which the character recognition results extracted from the input image data and the output image data differ from each other, from the input image represented by the input image data;
The cut-out image represented by the cut-out image data is synthesized into the erroneous recognition area of the output image;
The image processing apparatus is characterized in that the output image data indicating the output image after the cut-out image is combined is transmitted to an external device via the communication interface.
前記切抜画像データを前記第1解像度から前記第2解像度に圧縮し、
地色及び文字の境界であるエッジの位置の最小画素値が地色の位置の最大画素値より大きくなるまで、前記エッジを強調するフィルタ処理を、前記第2解像度の前記切抜画像データに対して繰り返し実行し、
前記最小画素値より小さくなった前記最大画素値を2値化閾値として、前記切抜画像データを2値化し、
2値化後の前記切抜画像データで示される前記切抜画像を、前記出力画像の前記誤認識領域に合成することを特徴とすることを特徴とする請求項2に記載の画像処理装置。 The controller:
compressing the cropped image data from the first resolution to the second resolution;
repeatedly performing a filter process for emphasizing the edge on the cutout image data at the second resolution until a minimum pixel value at an edge position that is a boundary between a background color and a character becomes greater than a maximum pixel value at a background color position;
the maximum pixel value, which is smaller than the minimum pixel value, is used as a binarization threshold value to binarize the cut-out image data;
3. The image processing apparatus according to claim 2 , wherein the cut-out image represented by the binarized cut-out image data is synthesized into the erroneous recognition area of the output image .
前記入力画像データ及び前記出力画像データそれぞれに対して、地色及び文字の境界であるエッジを強調するフィルタ処理を実行し、
前記フィルタ処理後の前記入力画像データ及び前記出力画像データそれぞれを2値化し、
2値化後の前記入力画像データ及び前記出力画像データそれぞれに含まれる文字を抽出することを特徴とする請求項1または2に記載の画像処理装置。 The controller:
A filter process is performed on each of the input image data and the output image data to emphasize edges that are boundaries between background colors and characters;
binarizing the input image data and the output image data after the filtering process;
3. The image processing apparatus according to claim 1, further comprising: extracting characters contained in the binarized input image data and the binarized output image data.
前記コントローラは、前記スキャナ部が生成した前記入力画像データに前記画像処理を施して、前記出力画像データを生成することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。 a scanner unit that reads an image recorded on an original and generates the input image data;
5. The image processing apparatus according to claim 1, wherein the controller performs the image processing on the input image data generated by the scanner unit to generate the output image data.
オペレータからの入力操作を受け付ける入力部と、
外部装置と通信する通信インタフェースとに接続されたコンピュータによって実行される画像処理プログラムであって、
入力画像データに画像処理を施して出力画像データを生成し、
前記出力画像データで示される出力画像を前記ディスプレイに表示させ、
前記出力画像データの送信許可が前記入力部に入力された場合に、前記通信インタフェースを通じて前記出力画像データを外部装置に送信し、
前記出力画像データの送信拒否が前記入力部に入力された場合に、
前記入力画像データ及び前記出力画像データそれぞれに含まれる文字文字を抽出し、
前記入力画像データで示される入力画像のうち、前記入力画像データ及び前記出力画像データそれぞれから抽出した文字の認識結果が異なる誤認識領域の画像を切り抜いて、切抜画像データを生成し、
前記切抜画像データで示される切抜画像を、前記出力画像の前記誤認識領域に合成し、
前記切抜画像を合成後の前記出力画像を示す前記出力画像データを、前記通信インタフェースを通じて外部装置に送信する処理を、前記コンピュータに実行させることを特徴とする画像処理プログラム。 A display for displaying an image;
an input unit that accepts input operations from an operator;
An image processing program executed by a computer connected to a communication interface for communicating with an external device,
generating output image data by performing image processing on the input image data;
displaying an output image represented by the output image data on the display;
When a transmission permission for the output image data is input to the input unit, the output image data is transmitted to an external device through the communication interface;
When a refusal to transmit the output image data is input to the input unit,
Extracting characters contained in the input image data and the output image data,
generating cut-out image data by cutting out an image of an erroneous recognition area in which the character recognition results extracted from the input image data and the output image data differ from each other, from the input image represented by the input image data;
The cut-out image represented by the cut-out image data is synthesized into the erroneous recognition area of the output image;
An image processing program that causes the computer to execute a process of transmitting the output image data indicating the output image after the cut-out image is combined with an external device via the communication interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020101842A JP7494586B2 (en) | 2020-06-11 | 2020-06-11 | Image processing device and image processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020101842A JP7494586B2 (en) | 2020-06-11 | 2020-06-11 | Image processing device and image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021197600A JP2021197600A (en) | 2021-12-27 |
| JP7494586B2 true JP7494586B2 (en) | 2024-06-04 |
Family
ID=79196247
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020101842A Active JP7494586B2 (en) | 2020-06-11 | 2020-06-11 | Image processing device and image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7494586B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019212950A (en) | 2018-05-31 | 2019-12-12 | 富士ゼロックス株式会社 | Information processing unit and program |
-
2020
- 2020-06-11 JP JP2020101842A patent/JP7494586B2/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019212950A (en) | 2018-05-31 | 2019-12-12 | 富士ゼロックス株式会社 | Information processing unit and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021197600A (en) | 2021-12-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101753777B (en) | Image processing apparatus, image forming apparatus, and image processing method | |
| JP3226109B2 (en) | Image processing device | |
| CN101662558B (en) | Display control device, image forming apparatus, method for controlling display device | |
| CN101146169B (en) | Image processing method, image processing apparatus, manuscript reading apparatus, and image forming apparatus | |
| JP3797669B2 (en) | Image forming apparatus and image forming method | |
| US8467085B2 (en) | Image processing apparatus, data amount reducing method, and data amount reducing program embodied on computer readable medium | |
| KR101309369B1 (en) | Image processing apparatus and control method | |
| JP7600805B2 (en) | Image processing device, image processing method, and program | |
| JP6628279B2 (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
| JP4502390B2 (en) | Image processing apparatus and method | |
| JP4551439B2 (en) | Image processing device | |
| US20200336604A1 (en) | Image processing device, image forming apparatus, image reading device, control method, and recording medium | |
| CN104519227B (en) | image judgment device and image processing system | |
| JP7494586B2 (en) | Image processing device and image processing program | |
| JP3940890B2 (en) | Image processing apparatus and image processing method | |
| JP7484474B2 (en) | Image processing device and image processing program | |
| JP2006180343A (en) | Image input / output device | |
| JP2011077669A (en) | Document reader with preview function | |
| JP2006166134A (en) | Image communication apparatus, control method therefor, program, and storage medium | |
| JP2006128763A (en) | Image processing system | |
| JP2017055436A (en) | Image processing apparatus, image forming apparatus, image processing program, and recording medium | |
| JP2004032054A (en) | Image input / output device | |
| JP2006287707A (en) | Image processing device | |
| JP2006165753A (en) | Image processing system, image processing method, storage medium, and program | |
| JP2006240151A (en) | Image output device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230412 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240131 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240213 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240405 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20240405 |
|
| 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: 20240423 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240506 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7494586 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |