JP2015119262A - Image processing device, image processing method, and image processing program - Google Patents

Image processing device, image processing method, and image processing program Download PDF

Info

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
Application number
JP2013260264A
Other languages
Japanese (ja)
Other versions
JP6095558B2 (en
Inventor
康之 藪内
Yasuyuki Yabuuchi
康之 藪内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013260264A priority Critical patent/JP6095558B2/en
Publication of JP2015119262A publication Critical patent/JP2015119262A/en
Application granted granted Critical
Publication of JP6095558B2 publication Critical patent/JP6095558B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device, an image processing method, and an image processing program, capable of appropriately performing white determination to an extraction image independently of an image size of the extraction image.SOLUTION: In a case where it is determined that a second determination region that is set by a second determination region setting part 93 is equal to or smaller than a preliminarily-defined minimum size (YES at S11), a first determination region setting part 92 changes the second determination region to a region of the entire extraction image, and sets the region after the changing as a first determination region (S12). Otherwise (NO at S11), the first determination region setting part 92 sets the second determination region as the first determination region as it is (S13). In a case where a white determination processing part 94 determined that the extraction image is not a white image on the basis of whether or not an image of the first determination region that is set by the first determination region setting part 92 is a white image (YES at S15), an image processing part 95 executes image generation processing for generating the image repeat image by using the extraction image.

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.

特開平10−229484号公報JP-A-10-229484

ところで、読み取った原稿画像における特定領域の画像を抽出画像として抽出し、前記抽出画像を使って所望の出力画像を生成する機能が画像処理装置に搭載されている場合がある。このような出力画像を生成する場合に、前記抽出画像が白画像であると、例えば前記出力画像全体も白画像となる等、所望の出力画像が生成されない場合が生じる。そこで、前記抽出画像に対して白判定を行う場合がある。   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.

本発明の実施形態に係る画像処理装置の一実施形態の内部構成を示す模式図。1 is a schematic diagram showing an internal configuration of an embodiment of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像処理装置の電気的な構成の一例を示すブロック図。1 is a block diagram showing an example of an electrical configuration of an image processing apparatus according to an embodiment of the present invention. イメージリピート画像の説明図。Explanatory drawing of an image repeat image. 判定領域設定画面の画面図。The screen figure of a judgment area setting screen. 読取画像と第1判定領域との関係を示す説明図。Explanatory drawing which shows the relationship between a read image and the 1st determination area | region. 第1の実施形態における第1判定領域の設定態様の説明図。Explanatory drawing of the setting aspect of the 1st determination area | region in 1st Embodiment. 本発明の実施形態に係る画像処理装置の制御部により実行されるイメージリピート画像生成処理の流れを示すフローチャート。6 is a flowchart showing a flow of image repeat image generation processing executed by the control unit of the image processing apparatus according to the embodiment of the present invention. 第1判定領域の設定に係る変形例を示す図。The figure which shows the modification which concerns on the setting of a 1st determination area | region.

以下、図面を参照しながら、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明を具体化した一例にすぎず、本発明の技術的範囲を限定するものではない。   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 image processing apparatus 1 according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2. The image processing apparatus 1 is a multifunction machine having an image reading function, a facsimile function, an image forming function, and the like. As shown in FIG. 1, an image processing apparatus 1 includes an image reading unit 2, a document cover 3, an automatic document feeder (hereinafter referred to as ADF) 4, an image forming unit 5, and an operation display unit 6 (FIG. 1). 2), a paper feed cassette 7, a communication interface (I / F) unit 8 (see FIG. 2), and a control unit 9 (see FIG. 2) for controlling them. Note that the image processing apparatus 1 that is a multifunction peripheral is illustrated and described as an example of the image processing apparatus according to the present invention. However, the present invention is not limited to this, and for example, a printer, a facsimile apparatus, a copier, or a scanner apparatus may be used. This corresponds to the image processing apparatus according to the invention.

画像読取部2は、原稿から画像データを読み取る画像読取処理を実行する。図1に示されるように、画像読取部2は、コンタクトガラス10、読取ユニット11、ミラー12、ミラー13、光学レンズ14及びCCD(Charge Coupled Device)15などを備えている。   The image reading unit 2 executes image reading processing for reading image data from a document. As shown in FIG. 1, the image reading unit 2 includes a contact glass 10, a reading unit 11, a mirror 12, a mirror 13, an optical lens 14, a CCD (Charge Coupled Device) 15, and the like.

読取ユニット11は、LED(Light Emitting Diode)光源16及びミラー17を備えており、ステッピングモーター等の駆動モーターを用いた移動機構(不図示)により副走査方向18(図1における左右方向)へ移動可能に構成されている。そして、前記駆動モーターにより読取ユニット11が副走査方向18へ移動されると、LED光源16から画像読取部2の上面に設けられたコンタクトガラス10へ向けて照射される光が副走査方向18へ走査される。   The reading unit 11 includes an LED (Light Emitting Diode) light source 16 and a mirror 17 and moves in a sub-scanning direction 18 (left and right direction in FIG. 1) by a moving mechanism (not shown) using a driving motor such as a stepping motor. It is configured to be possible. When the reading unit 11 is moved in the sub-scanning direction 18 by the drive motor, light emitted from the LED light source 16 toward the contact glass 10 provided on the upper surface of the image reading unit 2 is moved in the sub-scanning direction 18. Scanned.

ミラー17は、LED光源16から光が照射されたときに、原稿又は原稿カバー3の裏面で反射した反射光をミラー12へ向けて反射させる。ミラー17で反射した光は、ミラー12,13により光学レンズ14に導かれる。光学レンズ14は、入射した光を集光してCCD15に入射させる。   The mirror 17 reflects the reflected light reflected by the back surface of the document or the document cover 3 toward the mirror 12 when light is emitted from the LED light source 16. The light reflected by the mirror 17 is guided to the optical lens 14 by the mirrors 12 and 13. The optical lens 14 collects incident light and makes it incident on the CCD 15.

CCD15は、受光した光をその光量(輝度の強度)に応じた電気信号(電圧)に変換して制御部9へ出力する光電変換素子である。制御部9では、CCD15からの電気信号を画像処理することにより原稿の画像データを生成する。なお、本実施形態では、撮像素子としてCCD15を用いた例について説明するが、CCD15による読取機構に代えて、CCD15よりも焦点距離の短い密着型のイメージセンサー(CIS: Contact Image Sensor)を用いた読取機構を適用することも可能である。   The CCD 15 is a photoelectric conversion element that converts received light into an electrical signal (voltage) corresponding to the amount of light (intensity of luminance) and outputs it to the control unit 9. In the control unit 9, image data of the document is generated by performing image processing on the electrical signal from the CCD 15. In the present embodiment, an example in which the CCD 15 is used as an imaging device will be described. However, a contact image sensor (CIS: Contact Image Sensor) having a focal length shorter than that of the CCD 15 is used instead of the reading mechanism using the CCD 15. It is also possible to apply a reading mechanism.

画像読取部2には、原稿カバー3が回動自在に設けられている。原稿カバー3が回動操作されることにより、画像読取部2の上面のコンタクトガラス10が開閉される。原稿カバー3の回動支持部には、リミットスイッチなどのカバー開検出センサー(不図示)が設けられており、ユーザーが原稿の画像を読み取らせようとして原稿カバー3が開けられると、そのカバー開検出センサーが作動して、その検出信号(カバー開検出信号)が制御部9に出力される。   The image reading unit 2 is provided with a document cover 3 so as to be rotatable. When the document cover 3 is rotated, the contact glass 10 on the upper surface of the image reading unit 2 is opened and closed. The rotation support portion of the document cover 3 is provided with a cover open detection sensor (not shown) such as a limit switch. When the user opens the document cover 3 so as to read an image of the document, the cover is opened. The detection sensor is activated and the detection signal (cover open detection signal) is output to the control unit 9.

ここで、画像読取部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 image reading unit 2 is performed in the following procedure. First, the document is placed on the contact glass 10, and then the document cover 3 is closed. Thereafter, when an image reading instruction is input from the operation display unit 6, one line of light is sequentially emitted from the LED light source 16 while moving the reading unit 11 to the right in the sub-scanning direction 18. Then, reflected light from the back of the document or document cover 3 is guided to the CCD 15 via the mirrors 17, 12, 13 and the optical lens 14, and light amount data corresponding to the amount of light received by the CCD 15 is sequentially output to the control unit 9. Is done. When the light amount data in the entire area irradiated with light is obtained, the control unit 9 processes the light amount data to generate document image data from the light amount data. This image data is image data constituting a rectangular image.

なお、原稿カバー3にADF4が設けられている。ADF4は、原稿セット部19にセットされた一以上の原稿を複数の搬送ローラーにより順次搬送して、コンタクトガラス10上に定められた自動原稿読取位置を副走査方向18の右向きへ通過するように原稿を移動させる。ADF4による原稿の移動時は、前記自動原稿読取位置の下方に読取ユニット11が配置され、この位置で読取ユニット11により移動中の原稿の画像が読み取られる。原稿セット部19には、接点信号を出力可能な機械的な原稿検出センサー(不図示)が設けられており、原稿セット部19に原稿がセットされると、前記原稿検出センサーが作動して、その検出信号(原稿検出信号)が制御部9に出力される。   A document cover 3 is provided with an ADF 4. The ADF 4 sequentially conveys one or more originals set on the original setting unit 19 by a plurality of conveyance rollers so that the automatic original reading position determined on the contact glass 10 passes rightward in the sub-scanning direction 18. Move the document. When the document is moved by the ADF 4, the reading unit 11 is disposed below the automatic document reading position, and the image of the moving document is read by the reading unit 11 at this position. The document setting unit 19 is provided with a mechanical document detection sensor (not shown) capable of outputting a contact signal. When a document is set on the document setting unit 19, the document detection sensor operates, The detection signal (original detection signal) is output to the control unit 9.

図1に示されるように、画像形成部5は、画像読取部2で読み取られた画像データ、又は外部のパーソナルコンピューター等の情報処理装置から通信I/F部8を通じて入力された印刷ジョブに基づいて画像形成処理(印刷処理)を実行する電子写真方式の画像形成手段である。具体的には、画像形成部5は、感光体ドラム20、帯電部21、現像部22、トナーコンテナ23、転写ローラー24、除電部25、定着ローラー26、加圧ローラー27などを備えている。なお、本実施形態では、電子写真方式の画像形成部5を例にして説明するが、画像形成部5は電子写真方式のものに限られず、インクジェット記録方式のものであっても、或いはそれ以外の記録方式又は印刷方式のものであってもかまわない。   As shown in FIG. 1, the image forming unit 5 is based on image data read by the image reading unit 2 or a print job input from an information processing apparatus such as an external personal computer through a communication I / F unit 8. An electrophotographic image forming means for executing image forming processing (printing processing). Specifically, the image forming unit 5 includes a photosensitive drum 20, a charging unit 21, a developing unit 22, a toner container 23, a transfer roller 24, a charge removing unit 25, a fixing roller 26, a pressure roller 27, and the like. In this embodiment, the electrophotographic image forming unit 5 will be described as an example. However, the image forming unit 5 is not limited to the electrophotographic type, and may be an ink jet recording type or other than that. The recording method or the printing method may be used.

ここで、画像形成部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 image forming unit 5, the image forming process for the printing paper supplied from the paper feed cassette 7 is performed in the following procedure. First, when a print job including a print instruction is input through the communication I / F unit 8, the photosensitive drum 20 is uniformly charged to a predetermined potential by the charging unit 21. Next, light based on image data included in the print job is irradiated onto the surface of the photosensitive drum 20 by a laser scanning unit (LSU not shown). As a result, an electrostatic latent image is formed on the surface of the photosensitive drum 20. The electrostatic latent image on the photosensitive drum 20 is developed (visualized) as a toner image by the developing unit 22. The developing unit 22 is supplied with toner (developer) from the toner container 23. Subsequently, the toner image formed on the photosensitive drum 20 is transferred onto the printing paper by the transfer roller 24. Thereafter, the toner image transferred to the printing paper is heated and fused by the fixing roller 26 when the printing paper passes between the fixing roller 26 and the pressure roller 27 and is discharged. The electric potential of the photosensitive drum 20 is neutralized by the neutralization unit 25.

図2を参照して、画像処理装置1においては、画像読取部2、ADF4、画像形成部5、操作表示部6、通信I/F部8、記憶部28及び制御部9が相互にデータの入出力を行うことができるように、各構成要素がデータバス200を介して接続されている。   Referring to FIG. 2, in image processing apparatus 1, image reading unit 2, ADF 4, image forming unit 5, operation display unit 6, communication I / F unit 8, storage unit 28, and control unit 9 mutually exchange data. Each component is connected via the data bus 200 so that input / output can be performed.

通信I/F部8は、画像処理装置1にインターネット又はLANのような通信ネットワークを介して接続された外部装置との間でデータ通信を実行するインターフェイスである。記憶部28は、ハードディスクドライブ(Hard Disc Drive;HDD)等の不揮発性メモリで構成される。   The communication I / F unit 8 is an interface that executes data communication with an external apparatus connected to the image processing apparatus 1 via a communication network such as the Internet or a LAN. The storage unit 28 is configured by a non-volatile memory such as a hard disk drive (HDD).

制御部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 image processing apparatus 1 by the CPU executing a program stored in the ROM.

また、制御部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 image processing apparatus 1, an image processing program for causing the control unit 9 to execute each processing procedure of the image processing, or the image processing program. It may be considered as a computer-readable recording medium.

操作表示部6は、表示部29と操作部30とを有する。表示部29は、例えばカラー液晶ディスプレイなどを有し、操作表示部6を操作するユーザーに対して各種の情報を表示する。操作部30は、表示部29に隣接配置された各種の押しボタンキー及び表示部29の表示画面上に配置されるタッチパネルセンサーなどを有し、画像処理装置1のユーザーにより各種の指示が入力される。なお、ユーザーが画像読取動作及び画像形成動作の少なくとも一方を実行させるために操作表示部6に対して操作が行われると、その操作信号が操作表示部6から制御部9に出力される。   The operation display unit 6 includes a display unit 29 and an operation unit 30. The display unit 29 includes, for example, a color liquid crystal display and displays various types of information to the user who operates the operation display unit 6. The operation unit 30 includes various push button keys disposed adjacent to the display unit 29, a touch panel sensor disposed on the display screen of the display unit 29, and the like, and various instructions are input by the user of the image processing apparatus 1. The Note that when the user performs an operation on the operation display unit 6 in order to execute at least one of an image reading operation and an image forming operation, an operation signal is output from the operation display unit 6 to the control unit 9.

本実施形態に係る画像処理装置1は、読み取った原稿画像における特定領域の画像を抽出し、この抽出画像を1ページ中に複数並べた画像(イメージリピート画像という)を生成するイメージリピート機能を有する。イメージリピート機能は、例えば、ラベル印刷又はシール印刷等、同じ画像を1枚のシートに複数形成したい場合に利用される。   The image processing apparatus 1 according to the present embodiment has an image repeat function that extracts an image of a specific area in a read document image and generates an image (referred to as an image repeat image) in which a plurality of the extracted images are arranged in one page. . The image repeat function is used when a plurality of the same images are desired to be formed on one sheet, for example, label printing or sticker printing.

操作部30は、画像処理装置1の動作モードをこのイメージリピート機能の実行モード(以下、イメージリピートモードという)に設定する操作を行うためのモード設定操作部31を有する。モード設定操作部31は、例えば表示部29に表示される所定のモード設定画面(不図示)の操作キーである。   The operation unit 30 includes a mode setting operation unit 31 for performing an operation for setting the operation mode of the image processing apparatus 1 to an execution mode of the image repeat function (hereinafter referred to as an image repeat mode). The mode setting operation unit 31 is an operation key of a predetermined mode setting screen (not shown) displayed on the display unit 29, for example.

また、操作部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 operation unit 30 is used to specify an area for extracting an image from the read image obtained by the reading operation of the image reading unit 2 when the operation mode of the image processing apparatus 1 is set to the image repeat mode. An image selection operation unit 32 is provided. The extracted image selection operation unit 32 is an extraction frame F2 displayed on the display unit 29 together with the read image F1, for example, as shown in FIG. That is, in the present embodiment, the area within the extraction frame F2 is designated as an area for extracting an image from the read image F1. Further, the extraction frame F2 moves by performing a slide operation with the fingertip on the extraction frame F2. Further, by performing a pinch-out operation or a pinch-in operation on the extraction frame F2, the extraction frame F2 is enlarged or reduced. An area designated by the operation of the extraction frame F <b> 2 by the extracted image selection operation unit 32 becomes the extracted image 101. FIG. 3 shows an image repeat image 100 in which a plurality of extracted images 101 are arranged in one page.

さらに、操作部30は、この抽出画像101に対してユーザーが後述の白判定処理を行う対象の判定領域(以下、第2判定領域という)をユーザーが設定するための判定領域設定操作部33を備える。判定領域設定操作部33は、本実施形態では、図4に示す判定領域設定画面200に表示される後述の各種距離入力部201〜204である。   Furthermore, the operation unit 30 includes a determination region setting operation unit 33 for the user to set a determination region (hereinafter referred to as a second determination region) on which the user performs white determination processing described later on the extracted image 101. Prepare. In this embodiment, the determination area setting operation unit 33 is various distance input units 201 to 204 described later displayed on the determination area setting screen 200 illustrated in FIG.

前記第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 image 101. The determination area setting screen 200 shown in FIG. 4 is a screen for setting the distance from each side constituting the outer shape of the extracted image 101 to each side of the second determination area. Specifically, the determination area setting screen 200 is provided with distance input units 201, 202, 203, and 204 for inputting the separation distances a, b, c, and d. The separation distance a is a separation distance between the upper side constituting the outer shape of the extracted image 101 and the upper side of the rectangle defining the second determination area. The separation distance b is a separation distance between the lower side constituting the outer shape of the extracted image 101 and the lower side of the rectangle defining the second determination area. The separation distance c is a separation distance between the left side that forms the outer shape of the extracted image 101 and the left side of the rectangle that defines the second determination region. The separation distance d is a separation distance between the right side that forms the outer shape of the extracted image 101 and the right side of the rectangle that defines the second determination region. The user touches the display position of the distance input units 201 to 204 corresponding to the separation distance to be set, and inputs a numerical value with a numeric keypad (not shown) of the operation unit 30 to correspond to the touched distance input unit. A separation distance can be set. The operation unit 30 receives an input regarding the separation distance as an input for setting a size and a position of the second determination region with respect to the extracted image.

従来では、読み取った原稿画像における特定領域の画像を抽出画像として抽出し、前記抽出画像を使って所望の出力画像を生成する機能が画像処理装置に搭載されている場合がある。このような出力画像を生成する場合に、前記抽出画像が白画像であると、例えば前記出力画像全体も白画像となる等、所望の出力画像が生成されない場合が生じる。そして、前記抽出画像に対して白判定を行う場合がある。   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 image processing apparatus 1 according to the present embodiment, as described later, white determination on the extracted image is appropriately performed regardless of the image size of the extracted image.

図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 image extraction unit 91, a first determination region setting unit 92, a second determination region setting unit 93, a white determination processing unit 94, and It functions as the image processing unit 95. Note that a configuration in which a part or a plurality of functions of the control unit 9 is provided as an electronic circuit is also conceivable as another embodiment.

画像抽出部91は、画像処理装置1がモード設定操作部31によりイメージリピートモードに設定され、且つ、抽出画像選択操作部32により抽出画像101を決定する操作が行われると、前記抽出枠F2によって選択された抽出画像101を前記読取画像F1から抽出する。例えば図3に示すように、読取画像F1の中から「B」の文字を含む領域が前記抽出枠F2によって選択されると、画像抽出部91は、この領域に含まれる画像を抽出画像101として前記読取画像F1から抽出する。   When the image processing apparatus 1 is set to the image repeat mode by the mode setting operation unit 31 and an operation for determining the extraction image 101 is performed by the extraction image selection operation unit 32, the image extraction unit 91 performs the extraction frame F2. The selected extracted image 101 is extracted from the read image F1. For example, as illustrated in FIG. 3, when an area including the character “B” is selected from the read image F <b> 1 by the extraction frame F <b> 2, the image extraction unit 91 uses the image included in this area as the extracted image 101. Extracted from the read image F1.

第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 area setting unit 93 sets the second determination area for the extracted image extracted by the image extraction unit 91 based on the input information to the determination area setting screen 200 received from the operation unit 30. The second determination area setting unit 93 corresponds to second determination area setting means. For example, as illustrated in FIG. 5, the extracted image extracted by the image extraction unit 91 is an image having a rectangular shape with a length of 40 mm and a width of 30 mm, and the separation distance a = b = c = Consider a case where d = 5 mm is input. In this case, the second determination area setting unit 93 sets, as the second determination area R2, a rectangular area of 30 mm in length and 20 mm in width excluding a 5 mm wide strip-shaped area along each of the upper, lower, left and right sides of the extracted image 101. To do.

第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 area setting section 93, the first determination area setting section 92 determines whether or not the second determination area is equal to or smaller than a predetermined minimum size. For example, in the case where the minimum size is a rectangular area of 5 mm square, as shown in FIG. 5, when the second determination area R2 is a rectangular area having a length of 30 mm and a width of 20 mm, the first determination area setting unit 92 It is determined whether or not the second determination area R2 of 30 mm × 20 mm is equal to or smaller than a 5 mm square area. Note that the first determination area setting unit 92 may determine whether or not the second determination area R2 is 0, that is, whether or not the minimum size is 0.

第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 region setting unit 92 sets the entire region of the extracted image as the first determination region R1, as shown in FIG. On the other hand, when the second determination region R2 exceeds the minimum size, the first determination region setting unit 92 sets the second determination region R2 as it is as the first determination region. The first determination area setting unit 92 corresponds to first determination area setting means for setting the first determination area R1 in the extracted image according to the size of the extracted image.

白判定処理部94は、第1判定領域設定部92により設定された前記第1判定領域R1の画像が白画像であるか否かに基づいて、前記抽出画像101が白画像であるか否かを判定する。白判定処理部94は、前記第1判定領域R1に存在する画素のうち、予め定められた濃度を有する画素の数をカウントし、そのカウント数が予め定められた閾値を超えているか否かを判定する。超えている場合、白判定処理部94は、前記第1判定領域R1の画像が白画像でないと判定し、前記抽出画像101が白画像でないと判定する。一方、前記カウント数が前記予め定められた閾値以下の場合には、白判定処理部94は、前記第1判定領域R1の画像が白画像であると判定し、前記抽出画像101が白画像であると判定する。   The white determination processing unit 94 determines whether the extracted image 101 is a white image based on whether the image of the first determination region R1 set by the first determination region setting unit 92 is a white image. Determine. The white determination processing unit 94 counts the number of pixels having a predetermined density among the pixels existing in the first determination area R1, and determines whether or not the count exceeds a predetermined threshold value. judge. When it exceeds, the white determination processing unit 94 determines that the image of the first determination region R1 is not a white image, and determines that the extracted image 101 is not a white image. On the other hand, when the count number is equal to or smaller than the predetermined threshold, the white determination processing unit 94 determines that the image of the first determination region R1 is a white image, and the extracted image 101 is a white image. Judge that there is.

画像処理部95は、白判定処理部94により白画像でないと判定された場合に、前記抽出画像101を用いて、前記イメージリピート画像を生成する画像生成処理を実行する。前記イメージリピート画像は、前記抽出画像101を複数配置した出力画像の一例である。例えば図3に示すように、画像処理部95は、読取画像の中から「B」の文字領域が抽出画像101として選択された場合、この「B」の文字を含む領域の抽出画像101をマトリックス状に配列した画像を生成する。   When the white determination processing unit 94 determines that the image is not a white image, the image processing unit 95 uses the extracted image 101 to execute image generation processing for generating the image repeat image. The image repeat image is an example of an output image in which a plurality of the extracted images 101 are arranged. For example, as illustrated in FIG. 3, when the character region “B” is selected as the extracted image 101 from the read image, the image processing unit 95 uses the extracted image 101 of the region including the character “B” as a matrix. An image arranged in a shape is generated.

白判定処理部94により白画像であると判定された場合、制御部9は、第2判定領域R2の変更をユーザーに促す為の処理を行う。例えば、制御部9は、前記第2判定領域R2を変更する指示を示すメッセージを表示部29に表示させる。なお、この場合、画像処理部95は、前記イメージリピート画像を生成しない。   When the white determination processing unit 94 determines that the image is a white image, the control unit 9 performs processing for prompting the user to change the second determination region R2. For example, the control unit 9 causes the display unit 29 to display a message indicating an instruction to change the second determination region R2. In this case, the image processing unit 95 does not generate the image repeat image.

次に、図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 document setting unit 19 and the image repeat mode is set by the user. 7, steps S1, S2,... Represent processing procedure (step) numbers. Here, it is assumed that an image of one original is read.

図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 image reading unit 3 to perform a reading operation (step S1). Step S2). Then, the control unit 9 causes the display unit 29 to display the read image obtained by the reading operation and the extraction frame F2 (see FIG. 3) for designating the extracted image 101 (step S3).

制御部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 image extraction unit 91 extracts the extracted image 101 selected by the extraction frame F2 from the read image. (Step S7). And the control part 9 displays the determination area | region setting screen 200 (refer FIG. 4) on the display part 29 (step S8). Thereby, the input of the distance information of the separation distances a to d is accepted.

制御部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 operation unit 30 by the operation of the OK button B1 in FIG. 4 (Step S9). When the operation information is not received from the operation unit 30 (NO in step S9), the control unit 9 stands by. When the control unit 9 determines that the operation information has been received from the operation unit 30 (YES in step S9), the second determination area setting unit 93 is based on the distance information received from the operation unit 30 together with the operation information. Then, the second determination region R2 is set for the extracted image extracted by the image extraction unit 91 (step S10).

第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 area setting unit 92 determines whether or not the second determination area R2 set by the second determination area setting unit 93 is equal to or smaller than a predetermined minimum size (step S11). When determining that the second determination region R2 is equal to or smaller than the minimum size (YES in step S11), the first determination region setting unit 92 sets the entire region of the extracted image 101 as the first determination region R1 ( Step S12). On the other hand, when it is determined that the second determination region R2 exceeds the minimum size (NO in step S11), the first determination region setting unit 92 sets the second determination region R2 as it is as the first determination region R1. (Step S13).

ステップ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 determination processing unit 94 determines whether the extracted image 101 is based on whether the image of the first determination region R1 set by the first determination region setting unit 92 is a white image. Is a white image (step S14). If the white determination processing unit 94 determines that the image is not a white image (YES in step S15), the image processing unit 95 executes image generation processing for generating the image repeat image using the extracted image 101 (step S16). . On the other hand, when the white determination processing unit 94 determines that the image is a white image (YES in step S15), the control unit 9 performs processing for instructing the user to change the second determination region R2 (step S17).

以上のように、本実施形態に係る画像処理装置1においては、ユーザーが設定した第2判定領域R2が予め設定された最小サイズ以下である場合、前記抽出画像101全体が前記第1判定領域R1として設定される。これにより、抽出画像101の画像サイズを問わず前記抽出画像101に対する白判定を適切に行うことができる。その結果、適切なイメージリピート画像を生成することができる。   As described above, in the image processing apparatus 1 according to the present embodiment, when the second determination region R2 set by the user is equal to or smaller than the preset minimum size, the entire extracted image 101 is the first determination region R1. Set as Thereby, it is possible to appropriately perform white determination on the extracted image 101 regardless of the image size of the extracted image 101. As a result, an appropriate image repeat image can be generated.

また、白判定処理によって前記抽出画像101が白画像であると判定された場合には、画像処理装置1が前記イメージリピート画像を生成せず、第2判定領域R2の変更をユーザーに指示するようにしたので、前記イメージリピート画像が形成されず白紙の印刷物が生成されるという事態を回避することができる。   If the extracted image 101 is determined to be a white image by white determination processing, the image processing apparatus 1 does not generate the image repeat image and instructs the user to change the second determination region R2. Therefore, it is possible to avoid a situation in which the image repeat image is not formed and a blank printed matter is generated.

以上、本発明の好ましい実施形態について説明したが、本発明は前述した内容のものに限られず、種々の変形例が適用可能である。   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 region setting unit 92 changes the second determination region R2 to an entire region of the extracted image 101. The changed area is set as the first determination area R1. However, the mode of change is not limited to this, and the first determination region setting unit 92 reduces the first reduced region in which the outer shape of the extracted image 101 is reduced toward the center of the extracted image 101 at a preset reduction rate. You may comprise so that it may set as determination area | region R1. For example, when the vertical reduction ratio is set to 80 (%) and the horizontal reduction ratio is set to 70 (%), as shown in FIG. A region in which the length is reduced to a length of 80 (%) and the width to a length of 70 (%) toward the center of the extracted image 101 is set as the first determination region R1. Also good. An area obtained by reducing the outer shape of the extracted image 101 toward the center of the extracted image 101 at a preset reduction rate while maintaining the aspect ratio of the outer shape of the extracted image 101 is set as the first determination region R1. It is also possible to do. Note that a predetermined value may be stored in the control unit 9 as the reduction ratio when the outer shape of the extracted image 101 is reduced, or the control unit 9 sets according to the operation of the operation unit 30 by the user. A possible configuration may be used.

また、制御部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 operation unit 30 is conceivable. Specifically, when the control unit 9 has the second determination region R2 that is equal to or smaller than a preset minimum size, the first determination region setting unit 92 sets the second determination region R2 to the entire extracted image 101. A first mode in which the area after the change is set as the first determination area R1, and an area in which the outer shape of the extracted image 101 is reduced at a preset reduction rate toward the center of the extracted image 101. And a second mode in which the first determination region R1 is set, and one of the modes may be selected in response to a user operation. Thereby, the user can selectively use the first mode and the second mode.

読取対象が複数の原稿からなる原稿束である場合に、前記読取画像毎(ページ毎)にユーザーが前記第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 image processing apparatus 1 displays the determination area setting screen 200 shown in FIG. 4 on the display unit 29 each time an image of each document is read, and receives inputs of the separation distances a to d. Then, the control unit 9 of the image processing apparatus 1 executes the white determination process (S14) after executing the processes of steps S11 to S13 in FIG. 7 for the received second determination region R2. Thus, when generating image repeat images based on the extracted images 101 extracted from the read images of a plurality of originals of the same size or different sizes, appropriate white determination processing is performed for each read image (for each page). It can be carried out.

1 画像処理装置
9 制御部
91 画像抽出部
92 第1判定領域設定部(第1判定領域設定手段)
93 第2判定領域設定部(第2判定領域設定手段)
94 白判定処理部(白判定処理手段)
95 画像処理部(画像処理手段)
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 9 Control part 91 Image extraction part 92 1st determination area setting part (1st determination area setting means)
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判定領域設定手段と、
前記第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判定領域設定手段は、前記抽出画像の外形を構成する各辺から内側にそれぞれ予め設定された距離だけ離間した複数の線分で規定される第2判定領域が予め設定された最小サイズ以下である場合は、前記抽出画像全体を前記第1判定領域として設定する請求項1に記載の画像処理装置。   The first determination area setting means is a minimum size in which a second determination area defined by a plurality of line segments separated from each side constituting the outer shape of the extracted image by a predetermined distance is set in advance. The image processing apparatus according to claim 1, wherein the entire extracted image is set as the first determination area when the following is true. 前記第1判定領域設定手段は、前記抽出画像の外形を構成する各辺から内側にそれぞれ予め設定された距離だけ離間した複数の線分で規定される第2判定領域が予め設定された最小サイズ以下である場合は、前記外形を前記抽出画像の中心に向けて予め設定された縮小率で縮小した領域を前記第1判定領域として設定する請求項1に記載の画像処理装置。   The first determination area setting means is a minimum size in which a second determination area defined by a plurality of line segments separated from each side constituting the outer shape of the extracted image by a predetermined distance is set in advance. 2. The image processing apparatus according to claim 1, wherein an area obtained by reducing the outer shape toward a center of the extracted image with a preset reduction ratio is set as the first determination area when the following is true. 前記第1判定領域設定手段は、前記抽出画像の外形を構成する各辺から内側にそれぞれ予め設定された距離だけ離間した複数の線分で規定される第2判定領域が予め設定された最小サイズ以下である場合に、前記抽出画像全体を前記第1判定領域として設定する第1のモードと、前記外形を前記抽出画像の中心に向けて予め設定された縮小率で縮小した領域を前記第1判定領域として設定する第2のモードとのいずれかを予め定められた選択操作に従って選択して実行する請求項1に記載の画像処理装置。   The first determination area setting means is a minimum size in which a second determination area defined by a plurality of line segments separated from each side constituting the outer shape of the extracted image by a predetermined distance is set in advance. In the following cases, a first mode in which the entire extracted image is set as the first determination region, and a region in which the outer shape is reduced at a preset reduction rate toward the center of the extracted image are set in the first mode. The image processing apparatus according to claim 1, wherein one of the second modes set as the determination area is selected and executed according to a predetermined selection operation. 前記読取画像毎に前記第2判定領域の大きさを予め定められた設定操作に応じて設定する第2判定領域設定手段を更に備える請求項2乃至4の何れか一項に記載の画像処理装置。   5. The image processing apparatus according to claim 2, further comprising: a second determination area setting unit configured to set a size of the second determination area for each of the read images according to a predetermined setting operation. . 前記白判定処理手段により白画像でないと判定された場合に、前記抽出画像を複数配置した出力画像を生成する画像生成処理を実行する画像処理手段を更に備える請求項1乃至5の何れか一項に記載の画像処理装置。   6. The image processing device according to claim 1, further comprising an image processing unit configured to execute an image generation process for generating an output image in which a plurality of the extracted images are arranged when the white determination processing unit determines that the image is not a white image. An image processing apparatus according to 1. 前記画像処理手段は、前記白判定処理手段により白画像であると判定した場合に、前記画像生成処理を実行しない請求項6に記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the image processing unit does not execute the image generation processing when the white determination processing unit determines that the image is a white image. 入力された画像から抽出された抽出画像における第1判定領域を前記抽出画像のサイズに応じて設定する第1ステップと、
前記第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ステップと、
前記第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
JP2013260264A 2013-12-17 2013-12-17 Image processing apparatus, image processing method, and image processing program Expired - Fee Related JP6095558B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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