JP2015119262A - Image processing device, image processing method, and image processing program - Google Patents
Image processing device, image processing method, and image processing program Download PDFInfo
- Publication number
- JP2015119262A JP2015119262A JP2013260264A JP2013260264A JP2015119262A JP 2015119262 A JP2015119262 A JP 2015119262A JP 2013260264 A JP2013260264 A JP 2013260264A JP 2013260264 A JP2013260264 A JP 2013260264A JP 2015119262 A JP2015119262 A JP 2015119262A
- Authority
- JP
- Japan
- Prior art keywords
- image
- determination
- extracted
- white
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、入力画像が白画像であるか否かの白判定を行う機能を有する画像処理装置、画像処理方法及び画像処理プログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and an image processing program having a function of performing white determination as to whether an input image is a white image.
従来、読み取った原稿の画像が白画像であるか否かを判定し、白画像と判定された場合、その画像を削除する白判定機能を搭載した画像処理装置が提案されている(例えば特許文献1参照)。このような白判定機能が搭載された画像処理装置では、1ページの原稿画像の中から白判定を行う判定領域が予め設定される。例えば、原稿における上下左右の各辺からの距離が入力可能であり、前記距離が入力されると、この入力された距離だけ前記各辺より内側の矩形領域が前記判定領域として設定される。また、原稿における上下左右の各辺からの距離が初期設定により予め定められていることも考えられる。そして、この判定領域に文字や図形などの描画像が存在するか否かによって白判定が行われる。 2. Description of the Related Art Conventionally, there has been proposed an image processing apparatus equipped with a white determination function for determining whether or not a read image of a document is a white image and deleting the image when it is determined to be a white image (for example, Patent Documents). 1). In an image processing apparatus equipped with such a white determination function, a determination region for performing white determination from one page of a document image is set in advance. For example, the distance from each of the upper, lower, left, and right sides of the document can be input. When the distance is input, a rectangular area inside the each side by the input distance is set as the determination area. It is also conceivable that the distances from the top, bottom, left, and right sides of the document are predetermined by the initial setting. Then, white determination is performed based on whether or not a drawing image such as a character or a graphic exists in the determination area.
ところで、読み取った原稿画像における特定領域の画像を抽出画像として抽出し、前記抽出画像を使って所望の出力画像を生成する機能が画像処理装置に搭載されている場合がある。このような出力画像を生成する場合に、前記抽出画像が白画像であると、例えば前記出力画像全体も白画像となる等、所望の出力画像が生成されない場合が生じる。そこで、前記抽出画像に対して白判定を行う場合がある。 By the way, there is a case where the image processing apparatus is equipped with a function of extracting an image of a specific area in the read document image as an extracted image and generating a desired output image using the extracted image. When such an output image is generated, if the extracted image is a white image, a desired output image may not be generated, for example, the entire output image is also a white image. Therefore, white determination may be performed on the extracted image.
ここで、その白判定に用いる前記判定領域を前記のようにユーザーに設定させる場合、前記判定領域を設定するための前記距離と前記抽出画像の大きさとの関係によっては、この抽出画像に前記判定領域が設定されない場合が生じる。例えば、抽出画像が1辺20mmの正方形の画像である場合において、前記判定領域を設定するための前記距離として10mmが入力された場合である。また、前記距離についてデフォルト値が予め設定されている場合に、そのデフォルト値で白判定が行われる場合も同様に、前記距離と前記抽出画像の大きさとの関係によっては、この抽出画像に前記判定領域が設定されない場合が生じるという問題が生じる。 Here, when the user sets the determination region used for the white determination as described above, depending on the relationship between the distance for setting the determination region and the size of the extracted image, the determination image may be included in the extracted image. An area may not be set. For example, when the extracted image is a square image having a side of 20 mm, 10 mm is input as the distance for setting the determination region. In addition, when a default value is set in advance for the distance, white determination is performed using the default value. Similarly, depending on the relationship between the distance and the size of the extracted image, the determination may be performed on the extracted image. There arises a problem that an area may not be set.
本発明の目的は、抽出画像の画像サイズを問わず前記抽出画像に対する白判定を適切に行うことのできる画像処理装置、画像処理方法及び画像処理プログラムを提供することである。 An object of the present invention is to provide an image processing apparatus, an image processing method, and an image processing program capable of appropriately performing white determination on an extracted image regardless of the image size of the extracted image.
本発明の一の局面に係る画像処理装置は、判定領域設定手段と、白判定処理手段とを有する。前記判定領域設定手段は、入力された画像から抽出された抽出画像における第1判定領域を前記抽出画像のサイズに応じて設定する。前記白判定処理手段は、前記判定領域設定手段により設定された前記第1判定領域が白画像であるか否かを判定する。 An image processing apparatus according to one aspect of the present invention includes a determination area setting unit and a white determination processing unit. The determination area setting means sets a first determination area in the extracted image extracted from the input image according to the size of the extracted image. The white determination processing unit determines whether or not the first determination region set by the determination region setting unit is a white image.
本発明の他の局面に係る画像処理方法は、第1ステップと、第2ステップとを有する。前記第1ステップは、入力された画像から抽出された抽出画像における第1判定領域を前記抽出画像のサイズに応じて設定する。前記第2ステップは、前記第1ステップで設定された前記第1判定領域が白画像であるか否かを判定する。 An image processing method according to another aspect of the present invention includes a first step and a second step. The first step sets a first determination region in an extracted image extracted from the input image according to the size of the extracted image. In the second step, it is determined whether or not the first determination region set in the first step is a white image.
本発明の他の局面に係る画像処理プログラムは、コンピューターに、第1ステップと、第2ステップとを含む処理を実行させる。前記第1ステップは、入力された画像から抽出された抽出画像における第1判定領域を前記抽出画像のサイズに応じて設定する。前記第2ステップは、前記第1ステップで設定された前記第1判定領域が白画像であるか否かを判定する。 An image processing program according to another aspect of the present invention causes a computer to execute processing including a first step and a second step. The first step sets a first determination region in an extracted image extracted from the input image according to the size of the extracted image. In the second step, it is determined whether or not the first determination region set in the first step is a white image.
本発明によれば、抽出画像の画像サイズを問わず前記抽出画像に対する白判定を適切に行うことができる。 According to the present invention, it is possible to appropriately perform white determination on the extracted image regardless of the image size of the extracted image.
以下、図面を参照しながら、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明を具体化した一例にすぎず、本発明の技術的範囲を限定するものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, embodiment described below is only an example which actualized this invention, and does not limit the technical scope of this invention.
まず、図1及び図2を参照して本発明の実施形態に係る画像処理装置1の概略構成について説明する。画像処理装置1は、画像読取機能、ファクシミリー機能、及び画像形成機能などを備える複合機である。図1に示されるように、画像処理装置1は、画像読取部2、原稿カバー3、自動原稿送り装置(Auto Document Feeder;以下、ADFという)4、画像形成部5、操作表示部6(図2参照)、給紙カセット7、通信インターフェイス(I/F)部8(図2参照)、及びこれらを制御する制御部9(図2参照)を備えている。なお、本発明に係る画像処理装置の一例として複合機である画像処理装置1を例示して説明するが、本発明はこれに限られず、例えばプリンター、ファクシミリー装置、複写機あるいはスキャナー装置も本発明に係る画像処理装置に該当する。
First, a schematic configuration of an
画像読取部2は、原稿から画像データを読み取る画像読取処理を実行する。図1に示されるように、画像読取部2は、コンタクトガラス10、読取ユニット11、ミラー12、ミラー13、光学レンズ14及びCCD(Charge Coupled Device)15などを備えている。
The
読取ユニット11は、LED(Light Emitting Diode)光源16及びミラー17を備えており、ステッピングモーター等の駆動モーターを用いた移動機構(不図示)により副走査方向18(図1における左右方向)へ移動可能に構成されている。そして、前記駆動モーターにより読取ユニット11が副走査方向18へ移動されると、LED光源16から画像読取部2の上面に設けられたコンタクトガラス10へ向けて照射される光が副走査方向18へ走査される。
The
ミラー17は、LED光源16から光が照射されたときに、原稿又は原稿カバー3の裏面で反射した反射光をミラー12へ向けて反射させる。ミラー17で反射した光は、ミラー12,13により光学レンズ14に導かれる。光学レンズ14は、入射した光を集光してCCD15に入射させる。
The
CCD15は、受光した光をその光量(輝度の強度)に応じた電気信号(電圧)に変換して制御部9へ出力する光電変換素子である。制御部9では、CCD15からの電気信号を画像処理することにより原稿の画像データを生成する。なお、本実施形態では、撮像素子としてCCD15を用いた例について説明するが、CCD15による読取機構に代えて、CCD15よりも焦点距離の短い密着型のイメージセンサー(CIS: Contact Image Sensor)を用いた読取機構を適用することも可能である。
The
画像読取部2には、原稿カバー3が回動自在に設けられている。原稿カバー3が回動操作されることにより、画像読取部2の上面のコンタクトガラス10が開閉される。原稿カバー3の回動支持部には、リミットスイッチなどのカバー開検出センサー(不図示)が設けられており、ユーザーが原稿の画像を読み取らせようとして原稿カバー3が開けられると、そのカバー開検出センサーが作動して、その検出信号(カバー開検出信号)が制御部9に出力される。
The
ここで、画像読取部2による原稿画像の読み取りは、以下の手順で行われる。まず、原稿がコンタクトガラス10上に載置され、その後、原稿カバー3が閉姿勢にされる。その後、操作表示部6から画像読取指示が入力されると、読取ユニット11を副走査方向18の右向きへ移動させつつLED光源16から連続して順次1ライン分の光が照射される。そして、原稿又は原稿カバー3の裏面からの反射光がミラー17,12,13及び光学レンズ14を介してCCD15に導かれ、CCD15にて受光した光量に応じた光量データが順次制御部9に出力される。制御部9では、光が照射された領域全体における光量データが得られると、その光量データを処理することにより、前記光量データから原稿の画像データを生成する。この画像データは、長方形状の画像を構成する画像データである。
Here, the reading of the document image by the
なお、原稿カバー3にADF4が設けられている。ADF4は、原稿セット部19にセットされた一以上の原稿を複数の搬送ローラーにより順次搬送して、コンタクトガラス10上に定められた自動原稿読取位置を副走査方向18の右向きへ通過するように原稿を移動させる。ADF4による原稿の移動時は、前記自動原稿読取位置の下方に読取ユニット11が配置され、この位置で読取ユニット11により移動中の原稿の画像が読み取られる。原稿セット部19には、接点信号を出力可能な機械的な原稿検出センサー(不図示)が設けられており、原稿セット部19に原稿がセットされると、前記原稿検出センサーが作動して、その検出信号(原稿検出信号)が制御部9に出力される。
A
図1に示されるように、画像形成部5は、画像読取部2で読み取られた画像データ、又は外部のパーソナルコンピューター等の情報処理装置から通信I/F部8を通じて入力された印刷ジョブに基づいて画像形成処理(印刷処理)を実行する電子写真方式の画像形成手段である。具体的には、画像形成部5は、感光体ドラム20、帯電部21、現像部22、トナーコンテナ23、転写ローラー24、除電部25、定着ローラー26、加圧ローラー27などを備えている。なお、本実施形態では、電子写真方式の画像形成部5を例にして説明するが、画像形成部5は電子写真方式のものに限られず、インクジェット記録方式のものであっても、或いはそれ以外の記録方式又は印刷方式のものであってもかまわない。
As shown in FIG. 1, the
ここで、画像形成部5では、給紙カセット7から供給される印刷用紙に対する画像形成処理が以下の手順で行われる。まず、通信I/F部8を通じて印刷指示を含む印刷ジョブが入力されると、帯電部21により感光体ドラム20が所定の電位に一様に帯電される。次に、レーザスキャニングユニット(Laser Scanning Unit;LSU 不図示)により感光体ドラム20の表面に印刷ジョブに含まれる画像データに基づく光が照射される。これにより、感光体ドラム20の表面に静電潜像が形成される。そして、感光体ドラム20上の静電潜像は現像部22によりトナー像として現像(可視像化)される。なお、現像部22には、トナーコンテナ23からトナー(現像剤)が補給される。続いて、感光体ドラム20に形成されたトナー像は転写ローラー24により印刷用紙に転写される。その後、印刷用紙に転写されたトナー像は、その印刷用紙が定着ローラー26及び加圧ローラー27の間を通過して排出される際に定着ローラー26で加熱されて溶融定着する。なお、感光体ドラム20の電位は除電部25で除電される。
Here, in the
図2を参照して、画像処理装置1においては、画像読取部2、ADF4、画像形成部5、操作表示部6、通信I/F部8、記憶部28及び制御部9が相互にデータの入出力を行うことができるように、各構成要素がデータバス200を介して接続されている。
Referring to FIG. 2, in
通信I/F部8は、画像処理装置1にインターネット又はLANのような通信ネットワークを介して接続された外部装置との間でデータ通信を実行するインターフェイスである。記憶部28は、ハードディスクドライブ(Hard Disc Drive;HDD)等の不揮発性メモリで構成される。
The communication I /
制御部9は、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを備えて構成される。前記CPUは、各種の演算処理を実行するプロセッサーである。前記ROMは、前記CPUに各種の処理を実行させるための制御プログラムなどの情報が予め記憶される不揮発性の記憶部である。前記RAMは、前記CPUが実行する各種の処理の一時記憶メモリー(作業領域)として使用される揮発性の記憶部である。制御部9は、前記CPUが前記ROMに記憶されているプログラムを実行することにより、画像処理装置1の動作を制御する。
The control unit 9 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The CPU is a processor that executes various arithmetic processes. The ROM is a non-volatile storage unit in which information such as a control program for causing the CPU to execute various processes is stored in advance. The RAM is a volatile storage unit used as a temporary storage memory (working area) for various processes executed by the CPU. The control unit 9 controls the operation of the
また、制御部9のROMには、制御部9の前記CPUに後述の画像処理(図7のフローチャート参照)を実行させるための画像処理プログラムが予め記憶されている。なお、前記画像処理プログラムは、CD、DVD、フラッシュメモリなどのコンピューター読み取り可能な記録媒体に記録されており、前記記録媒体から前記制御部9の前記EEPROM又は不図示のハードディスクなどの記憶手段にインストールされてもよい。本発明は、前記画像処理装置1において前記画像処理の各処理手順を実行する方法、制御部9に前記画像処理の各処理手順を実行させるための画像処理プログラム、又は前記画像処理プログラムを記録したコンピューター読み取り可能な記録媒体として捉えてもよい。
The ROM of the control unit 9 stores in advance an image processing program for causing the CPU of the control unit 9 to execute image processing (see the flowchart of FIG. 7) described later. The image processing program is recorded on a computer-readable recording medium such as a CD, a DVD, or a flash memory, and is installed from the recording medium into a storage unit such as the EEPROM of the control unit 9 or a hard disk (not shown). May be. The present invention records a method for executing each processing procedure of the image processing in the
操作表示部6は、表示部29と操作部30とを有する。表示部29は、例えばカラー液晶ディスプレイなどを有し、操作表示部6を操作するユーザーに対して各種の情報を表示する。操作部30は、表示部29に隣接配置された各種の押しボタンキー及び表示部29の表示画面上に配置されるタッチパネルセンサーなどを有し、画像処理装置1のユーザーにより各種の指示が入力される。なお、ユーザーが画像読取動作及び画像形成動作の少なくとも一方を実行させるために操作表示部6に対して操作が行われると、その操作信号が操作表示部6から制御部9に出力される。
The
本実施形態に係る画像処理装置1は、読み取った原稿画像における特定領域の画像を抽出し、この抽出画像を1ページ中に複数並べた画像(イメージリピート画像という)を生成するイメージリピート機能を有する。イメージリピート機能は、例えば、ラベル印刷又はシール印刷等、同じ画像を1枚のシートに複数形成したい場合に利用される。
The
操作部30は、画像処理装置1の動作モードをこのイメージリピート機能の実行モード(以下、イメージリピートモードという)に設定する操作を行うためのモード設定操作部31を有する。モード設定操作部31は、例えば表示部29に表示される所定のモード設定画面(不図示)の操作キーである。
The
また、操作部30は、画像処理装置1の動作モードがイメージリピートモードに設定された場合に、画像読取部2の読取動作で得られた読取画像から画像を抽出する領域を指定するための抽出画像選択操作部32を有する。抽出画像選択操作部32は、例えば図3に示すように、読取画像F1とともに表示部29に表示される抽出枠F2である。すなわち、本実施形態では、抽出枠F2内の領域が、読取画像F1から画像を抽出する領域として指定される。また、抽出枠F2に対して指先によるスライド操作を行うことで、抽出枠F2が移動する。また、抽出枠F2に対してピンチアウト操作やピンチイン操作を行うことで、抽出枠F2が拡大したり縮小したりする。抽出画像選択操作部32による抽出枠F2の操作によって指定された領域が抽出画像101となる。図3には、この抽出画像101を1ページ中に複数並べたイメージリピート画像100が示されている。
In addition, the
さらに、操作部30は、この抽出画像101に対してユーザーが後述の白判定処理を行う対象の判定領域(以下、第2判定領域という)をユーザーが設定するための判定領域設定操作部33を備える。判定領域設定操作部33は、本実施形態では、図4に示す判定領域設定画面200に表示される後述の各種距離入力部201〜204である。
Furthermore, the
前記第2判定領域は、抽出画像101の外形(矩形)を構成する各辺からそれぞれ内側に離間する複数の線分(辺)により規定される矩形状の領域である。図4に示す判定領域設定画面200は、抽出画像101の外形を構成する各辺から前記第2判定領域の各辺までの距離を設定するための画面である。具体的に、判定領域設定画面200には、離間距離a、b、c及びdを入力するための距離入力部201、202、203及び204が設けられている。離間距離aは、抽出画像101の外形を構成する上辺と前記第2判定領域を規定する矩形の上辺との離間距離である。離間距離bは、抽出画像101の外形を構成する下辺と前記第2判定領域を規定する矩形の下辺との離間距離である。離間距離cは、抽出画像101の外形を構成する左辺と前記第2判定領域を規定する矩形の左辺との離間距離である。離間距離dは、抽出画像101の外形を構成する右辺と前記第2判定領域を規定する矩形の右辺との離間距離である。ユーザーは、設定しようとする離間距離に対応する距離入力部201〜204の表示位置をタッチし、操作部30のテンキー(不図示)で数値を入力することにより、タッチした距離入力部に対応する離間距離を設定することができる。操作部30は、前記離間距離についての入力を、前記抽出画像に対する前記第2判定領域の大きさ及び位置を設定する入力として受け付ける。
The second determination area is a rectangular area defined by a plurality of line segments (sides) that are spaced inward from the respective sides constituting the outer shape (rectangle) of the extracted
従来では、読み取った原稿画像における特定領域の画像を抽出画像として抽出し、前記抽出画像を使って所望の出力画像を生成する機能が画像処理装置に搭載されている場合がある。このような出力画像を生成する場合に、前記抽出画像が白画像であると、例えば前記出力画像全体も白画像となる等、所望の出力画像が生成されない場合が生じる。そして、前記抽出画像に対して白判定を行う場合がある。 Conventionally, there is a case in which an image processing apparatus is equipped with a function of extracting an image of a specific area in a read document image as an extracted image and generating a desired output image using the extracted image. When such an output image is generated, if the extracted image is a white image, a desired output image may not be generated, for example, the entire output image is also a white image. In some cases, white determination is performed on the extracted image.
ここで、その白判定に用いる前記判定領域を前記のようにユーザーに設定させる場合、前記判定領域を設定するための前記距離と前記抽出画像の大きさとの関係によっては、この抽出画像に前記判定領域が設定されない場合が生じる。例えば、抽出画像が1辺20mmの正方形の画像である場合において、前記判定領域を設定するための前記距離として10mmが入力された場合である。また、前記距離についてデフォルト値が予め設定されている場合に、そのデフォルト値で白判定が行われる場合も同様に、前記距離と前記抽出画像の大きさとの関係によっては、この抽出画像に前記判定領域が設定されない場合が生じるという問題が生じる。一方、本実施の形態に係る画像処理装置1では、後述するように、抽出画像の画像サイズを問わず前記抽出画像に対する白判定が適切に行われる。
Here, when the user sets the determination region used for the white determination as described above, depending on the relationship between the distance for setting the determination region and the size of the extracted image, the determination image may be included in the extracted image. An area may not be set. For example, when the extracted image is a square image having a side of 20 mm, 10 mm is input as the distance for setting the determination region. In addition, when a default value is set in advance for the distance, white determination is performed using the default value. Similarly, depending on the relationship between the distance and the size of the extracted image, the determination may be performed on the extracted image. There arises a problem that an area may not be set. On the other hand, in the
図2に示すように、制御部9は、CPUを用いてプログラムを実行することにより、画像抽出部91、第1判定領域設定部92、第2判定領域設定部93、白判定処理部94及び画像処理部95として機能する。なお、制御部9が有する機能の一部又は複数が電子回路として設けられる構成も他の実施形態として考えられる。
As shown in FIG. 2, the control unit 9 executes a program using the CPU, whereby an
画像抽出部91は、画像処理装置1がモード設定操作部31によりイメージリピートモードに設定され、且つ、抽出画像選択操作部32により抽出画像101を決定する操作が行われると、前記抽出枠F2によって選択された抽出画像101を前記読取画像F1から抽出する。例えば図3に示すように、読取画像F1の中から「B」の文字を含む領域が前記抽出枠F2によって選択されると、画像抽出部91は、この領域に含まれる画像を抽出画像101として前記読取画像F1から抽出する。
When the
第2判定領域設定部93は、操作部30から受信する判定領域設定画面200への入力情報に基づき、画像抽出部91により抽出された抽出画像に対して第2判定領域を設定する。第2判定領域設定部93は、第2判定領域設定手段に対応する。例えば、図5に示すように、画像抽出部91により抽出された抽出画像が、縦40mm、横30mmの矩形状を有する画像であり、判定領域設定画面200において前記離間距離a=b=c=d=5mmが入力された場合を考える。この場合、第2判定領域設定部93は、前記抽出画像101のうち上下左右の各辺に沿った5mm幅の帯状領域を除く縦30mm、横20mmの矩形領域を前記第2判定領域R2として設定する。
The second determination
第1判定領域設定部92は、第2判定領域設定部93により第2判定領域R2が設定されると、その第2判定領域が予め定められた最小サイズ以下となるか否かを判定する。例えば、前記最小サイズが5mm四方の矩形領域である場合において、図5に示すように前記第2判定領域R2が縦30mm、横20mmの矩形領域であるとき、第1判定領域設定部92は、30mm×20mmの第2判定領域R2が5mm四方の矩形領域以下であるか否かを判定することになる。なお、第1判定領域設定部92は、第2判定領域R2が0になるか否か、即ち前記最小サイズが0であるか否かを判定することも考えられる。
When the second determination area R2 is set by the second determination
第1判定領域設定部92は、第2判定領域R2が予め定められた最小サイズ以下になる場合、図6に示すように、前記抽出画像全体の領域を第1判定領域R1として設定する。一方、第1判定領域設定部92は、前記第2判定領域R2が前記最小サイズを超える場合、前記第2判定領域R2をそのまま第1判定領域として設定する。第1判定領域設定部92は、前記抽出画像における第1判定領域R1を前記抽出画像のサイズに応じて設定する第1判定領域設定手段に相当する。
When the second determination region R2 is equal to or smaller than a predetermined minimum size, the first determination
白判定処理部94は、第1判定領域設定部92により設定された前記第1判定領域R1の画像が白画像であるか否かに基づいて、前記抽出画像101が白画像であるか否かを判定する。白判定処理部94は、前記第1判定領域R1に存在する画素のうち、予め定められた濃度を有する画素の数をカウントし、そのカウント数が予め定められた閾値を超えているか否かを判定する。超えている場合、白判定処理部94は、前記第1判定領域R1の画像が白画像でないと判定し、前記抽出画像101が白画像でないと判定する。一方、前記カウント数が前記予め定められた閾値以下の場合には、白判定処理部94は、前記第1判定領域R1の画像が白画像であると判定し、前記抽出画像101が白画像であると判定する。
The white
画像処理部95は、白判定処理部94により白画像でないと判定された場合に、前記抽出画像101を用いて、前記イメージリピート画像を生成する画像生成処理を実行する。前記イメージリピート画像は、前記抽出画像101を複数配置した出力画像の一例である。例えば図3に示すように、画像処理部95は、読取画像の中から「B」の文字領域が抽出画像101として選択された場合、この「B」の文字を含む領域の抽出画像101をマトリックス状に配列した画像を生成する。
When the white
白判定処理部94により白画像であると判定された場合、制御部9は、第2判定領域R2の変更をユーザーに促す為の処理を行う。例えば、制御部9は、前記第2判定領域R2を変更する指示を示すメッセージを表示部29に表示させる。なお、この場合、画像処理部95は、前記イメージリピート画像を生成しない。
When the white
次に、図7を用いて、制御部9によって実行されるイメージリピート画像生成処理の流れについて説明する。このイメージリピート画像生成処理は、原稿セット部19に原稿がセットされ、且つ、ユーザーによりイメージリピートモードに設定された場合に実行開始される。なお、図7のフローチャートにおいてステップS1、S2、・・・は処理手順(ステップ)番号を表している。また、ここでは、1枚の原稿の画像を読み取る場合を想定している。
Next, the flow of image repeat image generation processing executed by the control unit 9 will be described with reference to FIG. The image repeat image generation process is started when a document is set on the
図7に示すように、制御部9は、原稿の読取指示を示す読取指示情報(操作情報)を操作部30から受信すると(ステップS1でYES)、画像読取部3に読取動作を行わせる(ステップS2)。そして、制御部9は、その読取動作により得られた読取画像と、前記抽出画像101を指定するための前記抽出枠F2(図3参照)とを表示部29に表示させる(ステップS3)。
As shown in FIG. 7, when the control unit 9 receives reading instruction information (operation information) indicating an original reading instruction from the operation unit 30 (YES in step S1), the control unit 9 causes the
制御部9は、前記抽出枠F2に対する操作が行われたか否かを判定し(ステップS4)、行われた場合には(ステップS4でYES)、その操作に応じて前記抽出枠F2を移動したり拡大縮小したりする変更を行い(ステップS5)、ステップS6を実行する。一方、ステップS4において、制御部9は、前記抽出枠F2に対する操作が行われていないと判定した場合には(ステップS4でNO)、ステップS5の処理をスキップしてステップS6の処理を実行する。 The control unit 9 determines whether or not an operation has been performed on the extraction frame F2 (step S4). If it has been performed (YES in step S4), the control unit 9 moves the extraction frame F2 in accordance with the operation. Change to enlarge or reduce (step S5), and execute step S6. On the other hand, if it is determined in step S4 that the operation on the extraction frame F2 has not been performed (NO in step S4), the control unit 9 skips the process in step S5 and executes the process in step S6. .
ステップS6では、制御部9は、抽出領域を決定する操作情報を操作部30から受信したか否かを判定する(ステップS6)。制御部9は、抽出領域を決定する操作情報を操作部30から受信していない場合は(ステップS6でNO)、ステップS4の処理に戻る。一方、制御部9は、抽出領域を決定する操作情報を操作部30から受信すると(ステップS6でYES)、画像抽出部91は、抽出枠F2によって選択された抽出画像101を前記読取画像から抽出する(ステップS7)。そして、制御部9は、判定領域設定画面200(図4参照)を表示部29に表示させる(ステップS8)。これにより、前記離間距離a〜dの距離情報の入力を受け付ける。
In step S6, the control unit 9 determines whether or not the operation information for determining the extraction area has been received from the operation unit 30 (step S6). When the operation information for determining the extraction area is not received from the operation unit 30 (NO in step S6), the control unit 9 returns to the process of step S4. On the other hand, when the control unit 9 receives the operation information for determining the extraction area from the operation unit 30 (YES in step S6), the
制御部9は、図4のOKボタンB1の操作により前記離間距離a〜dの距離情報を確定する操作情報を操作部30から受信したか否かを判定する(ステップS9)。制御部9は、前記操作情報を操作部30から受信していない場合は(ステップS9でNO)、待機する。また、制御部9は、前記操作情報を操作部30から受信したと判定すると(ステップS9でYES)、第2判定領域設定部93は、前記操作情報とともに操作部30から受信した距離情報に基づき、画像抽出部91により抽出された抽出画像に対して第2判定領域R2を設定する(ステップS10)。
The control unit 9 determines whether or not the operation information for determining the distance information of the separation distances a to d is received from the
第1判定領域設定部92は、第2判定領域設定部93により設定された前記第2判定領域R2が予め定められた最小サイズ以下となるか否かを判定する(ステップS11)。第1判定領域設定部92は、前記第2判定領域R2が前記最小サイズ以下であると判定した場合(ステップS11でYES)、前記抽出画像101全体の領域を第1判定領域R1に設定する(ステップS12)。一方、第1判定領域設定部92は、前記第2判定領域R2が前記最小サイズを超えると判定した場合(ステップS11でNO)、前記第2判定領域R2をそのまま第1判定領域R1に設定する(ステップS13)。
The first determination
ステップS12又はS13の処理後、白判定処理部94は、第1判定領域設定部92により設定された前記第1判定領域R1の画像が白画像であるか否かに基づいて、前記抽出画像101が白画像であるか否かを判定する(ステップS14)。白判定処理部94が白画像でないと判定すると(ステップS15でYES)、画像処理部95は、前記抽出画像101を用いて、前記イメージリピート画像を生成する画像生成処理を実行する(ステップS16)。一方、白判定処理部94が白画像であると判定すると(ステップS15でYES)、制御部9は、第2判定領域R2の変更をユーザーに指示する処理を行う(ステップS17)。
After the processing in step S12 or S13, the white
以上のように、本実施形態に係る画像処理装置1においては、ユーザーが設定した第2判定領域R2が予め設定された最小サイズ以下である場合、前記抽出画像101全体が前記第1判定領域R1として設定される。これにより、抽出画像101の画像サイズを問わず前記抽出画像101に対する白判定を適切に行うことができる。その結果、適切なイメージリピート画像を生成することができる。
As described above, in the
また、白判定処理によって前記抽出画像101が白画像であると判定された場合には、画像処理装置1が前記イメージリピート画像を生成せず、第2判定領域R2の変更をユーザーに指示するようにしたので、前記イメージリピート画像が形成されず白紙の印刷物が生成されるという事態を回避することができる。
If the extracted
以上、本発明の好ましい実施形態について説明したが、本発明は前述した内容のものに限られず、種々の変形例が適用可能である。 As mentioned above, although preferable embodiment of this invention was described, this invention is not restricted to the thing of the content mentioned above, A various modification is applicable.
前記実施形態では、前記第2判定領域R2が予め設定された最小サイズ以下である場合は、第1判定領域設定部92は、前記第2判定領域R2を前記抽出画像101全体の領域に変更し、この変更後の領域を第1判定領域R1に設定する。しかし、変更の態様はこれに限らず、第1判定領域設定部92が、前記抽出画像101の外形を前記抽出画像101の中心に向けて予め設定された縮小率で縮小した領域を前記第1判定領域R1として設定するように構成してもよい。例えば、縦の縮小率が80(%)、横の縮小率が70(%)と設定されている場合、図8に示すように、第1判定領域設定部92は、前記抽出画像101の外形を前記抽出画像101の中心に向けて縦を80(%)の長さに、横を70(%)の長さにそれぞれ縮小した領域を前記第1判定領域R1として設定するように構成してもよい。また、前記抽出画像101の外形の縦横比を維持しつつ前記抽出画像101の外形を前記抽出画像101の中心に向けて予め設定された縮小率で縮小した領域を前記第1判定領域R1として設定することも考えられる。なお、前記抽出画像101の外形を縮小する際の縮小率は、予め定められた値が制御部9に格納されていてもよいし、制御部9がユーザーによる操作部30の操作に応じて設定可能な構成であってもよい。
In the embodiment, when the second determination region R2 is equal to or smaller than the preset minimum size, the first determination
また、制御部9が、第1判定領域R1の設定手法が異なる複数の設定モードを有し、その設定モードを操作部30のユーザー操作に応じて選択可能な構成が考えられる。具体的に、制御部9が、前記第2判定領域R2が予め設定された最小サイズ以下である場合に、第1判定領域設定部92が、前記第2判定領域R2を前記抽出画像101全体の領域に変更し、この変更後の領域を第1判定領域R1に設定する第1モードと、前記抽出画像101の外形を前記抽出画像101の中心に向けて予め設定された縮小率で縮小した領域を前記第1判定領域R1として設定する第2モードとを備え、いずれかのモードをユーザー操作に応じて選択することが考えられる。これにより、ユーザーは、第1モード及び第2モードを選択的に使用することが可能である。
Further, a configuration in which the control unit 9 has a plurality of setting modes with different setting methods for the first determination region R1 and the setting mode can be selected according to a user operation of the
読取対象が複数の原稿からなる原稿束である場合に、前記読取画像毎(ページ毎)にユーザーが前記第2判定領域R2の大きさを設定できるとともに、その第2判定領域R2に基づいて白判定処理を行うようにしてもよい。すなわち、画像処理装置1の制御部9は、各原稿の画像を読み取るたびに図4に示す判定領域設定画面200を表示部29に表示して離間距離a〜dの入力を受け付ける。そして、画像処理装置1の制御部9は、受け付けた前記第2判定領域R2に対し図7のステップS11〜S13の処理を実行した後、白判定処理(S14)を実行する。これにより、同じサイズ又は異なるサイズの複数の原稿の読取画像からそれぞれ抽出した抽出画像101に基づいてそれぞれイメージリピート画像を生成する場合に、読取画像毎(ページ毎)にそれぞれ適切な白判定処理を行うことができる。
When the reading target is a document bundle made up of a plurality of documents, the user can set the size of the second determination region R2 for each read image (for each page), and white based on the second determination region R2. A determination process may be performed. That is, the control unit 9 of the
1 画像処理装置
9 制御部
91 画像抽出部
92 第1判定領域設定部(第1判定領域設定手段)
93 第2判定領域設定部(第2判定領域設定手段)
94 白判定処理部(白判定処理手段)
95 画像処理部(画像処理手段)
DESCRIPTION OF
93 Second determination area setting unit (second determination area setting means)
94 White determination processing unit (white determination processing means)
95 Image processing unit (image processing means)
Claims (9)
前記第1判定領域設定手段により設定された前記第1判定領域の画像が白画像であるか否かを判定する白判定処理手段と、
を備える画像処理装置。 First determination area setting means for setting a first determination area in an extracted image extracted from an input image according to the size of the extracted image;
White determination processing means for determining whether or not the image of the first determination area set by the first determination area setting means is a white image;
An image processing apparatus comprising:
前記第1ステップで設定された前記第1判定領域の画像が白画像であるか否かを判定する第2ステップと、
を備える画像処理方法。 A first step of setting a first determination region in the extracted image extracted from the input image according to the size of the extracted image;
A second step of determining whether or not the image of the first determination region set in the first step is a white image;
An image processing method comprising:
前記第1ステップで設定された前記第1判定領域の画像が白画像であるか否かを判定する第2ステップと、
を含む処理をコンピューターに実行させる画像処理プログラム。 A first step of setting a first determination region in the extracted image extracted from the input image according to the size of the extracted image;
A second step of determining whether or not the image of the first determination region set in the first step is a white image;
An image processing program for causing a computer to execute processing including
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013260264A JP6095558B2 (en) | 2013-12-17 | 2013-12-17 | Image processing apparatus, image processing method, and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013260264A JP6095558B2 (en) | 2013-12-17 | 2013-12-17 | Image processing apparatus, image processing method, and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015119262A true JP2015119262A (en) | 2015-06-25 |
JP6095558B2 JP6095558B2 (en) | 2017-03-15 |
Family
ID=53531653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013260264A Expired - Fee Related JP6095558B2 (en) | 2013-12-17 | 2013-12-17 | Image processing apparatus, image processing method, and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6095558B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011055131A (en) * | 2009-08-31 | 2011-03-17 | Kyocera Mita Corp | Image forming apparatus |
JP2013251666A (en) * | 2012-05-31 | 2013-12-12 | Kyocera Document Solutions Inc | Image reading apparatus and image formation apparatus |
-
2013
- 2013-12-17 JP JP2013260264A patent/JP6095558B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011055131A (en) * | 2009-08-31 | 2011-03-17 | Kyocera Mita Corp | Image forming apparatus |
JP2013251666A (en) * | 2012-05-31 | 2013-12-12 | Kyocera Document Solutions Inc | Image reading apparatus and image formation apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP6095558B2 (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090125841A1 (en) | Operation panel and electric device including the same | |
US9203997B2 (en) | Image processing apparatus and image processing method | |
US20140320933A1 (en) | Image processing apparatus and image forming apparatus | |
JP5656947B2 (en) | Image processing program, electronic device, image forming apparatus | |
JP6269455B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP6076495B2 (en) | Image processing apparatus and image processing method | |
JP2015080104A (en) | Image reader, control method of image reader, program, and recording medium | |
JP2007013566A (en) | Image processor and image forming apparatus | |
JP5526089B2 (en) | Input device and image forming apparatus | |
JP6583164B2 (en) | Image forming apparatus | |
JP6095558B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP6470071B2 (en) | Image processing device | |
JP6269298B2 (en) | Image forming apparatus | |
JP5593300B2 (en) | Character input device and character input program | |
JP5885766B2 (en) | Image processing device | |
JP5959392B2 (en) | Image forming apparatus | |
JP6141237B2 (en) | Image processing apparatus and image processing method | |
JP5746602B2 (en) | Image processing apparatus and image processing method | |
JP4602837B2 (en) | Image forming apparatus and preview display control method | |
JP6165026B2 (en) | Image processing apparatus, image editing method, and image processing program | |
JP5697793B1 (en) | Image processing program, electronic device, image forming apparatus | |
JP5697792B2 (en) | Image processing program, electronic device, image forming apparatus | |
JP6780603B2 (en) | Image reader and image forming device | |
JP2020144214A (en) | Image forming device, operation mode selection method, and program | |
JP2018010476A (en) | Display control device and display control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150925 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160920 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161025 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161215 |
|
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: 20170117 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170214 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6095558 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |