JP2017098875A - Image determination device - Google Patents

Image determination device Download PDF

Info

Publication number
JP2017098875A
JP2017098875A JP2015231685A JP2015231685A JP2017098875A JP 2017098875 A JP2017098875 A JP 2017098875A JP 2015231685 A JP2015231685 A JP 2015231685A JP 2015231685 A JP2015231685 A JP 2015231685A JP 2017098875 A JP2017098875 A JP 2017098875A
Authority
JP
Japan
Prior art keywords
image
determination
unit
image data
determination unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015231685A
Other languages
Japanese (ja)
Inventor
原田 隆史
Takashi Harada
隆史 原田
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 JP2015231685A priority Critical patent/JP2017098875A/en
Publication of JP2017098875A publication Critical patent/JP2017098875A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To determine whether or not to include an entire image of an output prohibited image over the image represented by each of the plurality of image data.SOLUTION: An image determination device 1 of the present invention includes a storage unit 3, a determination unit 10, and a determination unit 11. The storage unit 3 stores output prohibition image data representing an output prohibited image. The determination unit 10 determines whether the image represented by the image data includes a partial image of the output prohibited image. The determination unit 11 determines whether or not to include the entire image of the output prohibited image over the image represented by each of the plurality of image data. The plurality of image data are image data determined by the determination unit 10 to include a partial image of the output prohibited image.SELECTED DRAWING: Figure 1

Description

本発明は、画像判定装置に関する。   The present invention relates to an image determination apparatus.

画像判定装置は、印刷対象の画像データが表す画像が、印刷禁止画像の全体画像を含むか否かを判定する。そして、その判定結果が肯定である場合は、印刷対象の画像データを表す画像の印刷を禁止する。従来の画像判定装置は、1つの画像データ(例えば1ページ分の画像データ)の中に、印刷禁止画像の全体画像を含むか否かを判定する(例えば特許文献1)。   The image determination apparatus determines whether the image represented by the image data to be printed includes the entire print prohibited image. If the determination result is affirmative, printing of an image representing image data to be printed is prohibited. A conventional image determination apparatus determines whether one image data (for example, image data for one page) includes an entire print-prohibited image (for example, Patent Document 1).

特開2010−212859号公報JP 2010-212859 A

特許文献1に記載の画像判定装置では、複数の画像データの各々が表す画像に跨って、印刷禁止画像の全体画像が含まれる場合は、複数の画像データの各々が表す画像の印刷を禁止することができない。なぜならば、複数の画像データの各々が表す画像は、印刷禁止画像の部分画像を含むが、印刷禁止画像の全体画像を含まないからである。   In the image determination device described in Patent Literature 1, when the entire image of the print prohibition image is included across the image represented by each of the plurality of image data, printing of the image represented by each of the plurality of image data is prohibited. I can't. This is because the image represented by each of the plurality of image data includes a partial image of the print prohibited image but does not include the entire image of the print prohibited image.

本発明は上記課題に鑑みてなされたものであり、その目的は、複数の画像データの各々が表す画像に跨って、印刷禁止画像の全体画像を含むか否かを判定することが可能な画像判定装置を提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to determine whether or not to include the entire print-prohibited image across the image represented by each of the plurality of image data. It is to provide a determination device.

本発明に係る画像判定装置は、第1記憶部と、第1判定部と、第2判定部とを備える。前記第1記憶部は、出力禁止画像を表す出力禁止画像データを保存する。前記第1判定部は、画像データが表す画像が、前記出力禁止画像の部分画像を含むか否かを判定する。前記第2判定部は、複数の画像データの各々が表す画像に跨って前記出力禁止画像の全体画像を含むか否かを判定する。前記複数の画像データは、前記出力禁止画像の部分画像を含むと前記第1判定部によって判定された画像データである。   The image determination apparatus according to the present invention includes a first storage unit, a first determination unit, and a second determination unit. The first storage unit stores output prohibited image data representing an output prohibited image. The first determination unit determines whether an image represented by image data includes a partial image of the output-prohibited image. The second determination unit determines whether or not the entire image of the output prohibition image is included across the image represented by each of the plurality of image data. The plurality of image data are image data determined by the first determination unit to include a partial image of the output prohibited image.

本発明によれば、複数の画像データの各々が表す画像に跨って、出力禁止画像の全体画像を含むか否かを判定することが可能である。   According to the present invention, it is possible to determine whether or not the entire image of the output prohibition image is included across the image represented by each of the plurality of image data.

第1実施形態に係る画像判定装置の構成図である。It is a block diagram of the image determination apparatus which concerns on 1st Embodiment. 第1実施形態の判定部の判定方法を示す図である。It is a figure which shows the determination method of the determination part of 1st Embodiment. 第1実施形態の別の判定部の判定方法を示す図である。It is a figure which shows the determination method of another determination part of 1st Embodiment. 第1実施形態の更に別の判定部の判定方法を示す図である。It is a figure which shows the determination method of another determination part of 1st Embodiment. 第1実施形態に係る画像判定装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the image determination apparatus which concerns on 1st Embodiment. 第2実施形態の判定部の判定方法を示す図である。It is a figure which shows the determination method of the determination part of 2nd Embodiment.

<第1実施形態>
以下、本発明の実施形態について、図面を参照しながら説明する。なお、図中、同一又は相当部分については同一の参照符号を付して説明を繰り返さない。
<First Embodiment>
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof is not repeated.

図1を参照して、本実施形態に係る画像判定装置について説明する。図1は、本実施形態に係る画像判定装置の構成図である。   With reference to FIG. 1, the image determination apparatus according to the present embodiment will be described. FIG. 1 is a configuration diagram of an image determination apparatus according to the present embodiment.

本実施形態に係る画像判定装置は、複数の画像データの各々が表す画像に跨って、印刷禁止画像(出力禁止画像)の全体画像が含まれるか否かを判定する。そして、画像判定装置は、判定結果が肯定である場合は、画像データが表す画像を加工して印刷し、判定結果が否定である場合は、画像データを表す画像を加工せずに印刷する。   The image determination apparatus according to the present embodiment determines whether or not the entire print prohibited image (output prohibited image) is included across the image represented by each of the plurality of image data. Then, when the determination result is affirmative, the image determination device processes and prints the image represented by the image data, and when the determination result is negative, the image determination device prints the image representing the image data without processing.

なお、1つの画像データは、例えば1ページ分の画像を表す。印刷は、画像データの出力の一例である。   One image data represents, for example, an image for one page. Printing is an example of image data output.

本実施形態に係る画像判定装置は、画像形成装置(例えば複合機)に適用される。   The image determination apparatus according to the present embodiment is applied to an image forming apparatus (for example, a multifunction machine).

図1に示すように、本実施形態に係る画像判定装置1は、画像取得部2と、記憶部3(第1記憶部、第2記憶部)と、表示部4と、操作入力部5(第1操作入力部、第2操作入力部)と、印刷部6と、制御部7とを備える。   As shown in FIG. 1, the image determination device 1 according to the present embodiment includes an image acquisition unit 2, a storage unit 3 (first storage unit, second storage unit), a display unit 4, and an operation input unit 5 ( 1st operation input part, 2nd operation input part), the printing part 6, and the control part 7 are provided.

画像取得部2は、印刷用の画像データを取得する。画像取得部2は、例えば画像読取部又は通信部である。   The image acquisition unit 2 acquires image data for printing. The image acquisition unit 2 is, for example, an image reading unit or a communication unit.

画像読取部は、原稿台を有する。画像読取部は、原稿台に置かれた原稿を光学的に読み取り、読み取った情報に基づいて印刷用の画像データを生成する。画像取得部2が画像読取部である場合は、画像取得部2は、印刷用の画像データを生成することで、印刷用の画像データを取得する。   The image reading unit has a document table. The image reading unit optically reads a document placed on a document table, and generates image data for printing based on the read information. When the image acquisition unit 2 is an image reading unit, the image acquisition unit 2 acquires image data for printing by generating image data for printing.

通信部は、有線通信又は無線通信によって外部装置(例えばパソコン)との間で通信を行い、外部装置から印刷用の画像データを受信する。画像取得部2が通信部である場合は、画像取得部2は、外部装置から印刷用の画像データを受信することで、印刷用の画像データを取得する。   The communication unit communicates with an external device (for example, a personal computer) by wired communication or wireless communication, and receives image data for printing from the external device. When the image acquisition unit 2 is a communication unit, the image acquisition unit 2 receives the image data for printing from the external device, and acquires the image data for printing.

記憶部3は、各種データを保存する。各種データは、例えば、印刷用の画像データ、印刷禁止画像データ(出力禁止画像データ)、ユーザー情報、及び、印刷禁止画像の識別情報である。印刷禁止画像データは、印刷禁止画像を表す画像データである。印刷禁止画像は、印刷が禁止された画像である。ユーザー情報は、画像判定装置1を使用するユーザーを特定する情報であり、例えばユーザーの個人情報である。印刷禁止画像の識別情報は、印刷禁止画像を識別する情報である。記憶部3は、例えば不揮発性の記憶装置である。   The storage unit 3 stores various data. The various data are, for example, image data for printing, print prohibited image data (output prohibited image data), user information, and identification information of print prohibited images. The print prohibition image data is image data representing a print prohibition image. The print prohibited image is an image for which printing is prohibited. The user information is information that identifies a user who uses the image determination apparatus 1, and is, for example, personal information of the user. The print prohibition image identification information is information for identifying a print prohibition image. The storage unit 3 is, for example, a nonvolatile storage device.

表示部4は、印刷用の画像データが表す画像をプレビュー表示する。表示部4は、例えば液晶表示装置である。   The display unit 4 displays a preview of the image represented by the print image data. The display unit 4 is a liquid crystal display device, for example.

操作入力部5は、各種の操作が入力される。各種の操作は、例えば、画像加工方法を選択する操作、及び、ユーザー情報を入力する操作である。画像加工方法は、印刷用の画像データが表す画像の一部を、一部の画像内容を認識し難くするように加工する方法である。   Various operations are input to the operation input unit 5. The various operations are, for example, an operation for selecting an image processing method and an operation for inputting user information. The image processing method is a method of processing a part of an image represented by image data for printing so as to make it difficult to recognize a part of the image content.

印刷部6は、印刷用の画像データが表す画像を印刷する。   The printing unit 6 prints an image represented by image data for printing.

制御部7は、画像判定装置1の各部(画像取得部2、記憶部3、表示部4、操作入力部5、及び、印刷部6)を制御する。制御部7は、判定部9と、判定部10(第1判定部)と、判定部11(第2判定部)と、記憶制御部12と、表示制御部13と、画像加工部14と、印刷制御部15とを備える。   The control unit 7 controls each unit of the image determination apparatus 1 (image acquisition unit 2, storage unit 3, display unit 4, operation input unit 5, and printing unit 6). The control unit 7 includes a determination unit 9, a determination unit 10 (first determination unit), a determination unit 11 (second determination unit), a storage control unit 12, a display control unit 13, an image processing unit 14, And a printing control unit 15.

制御部7は、例えば、CPU(Central Processing Unit)、RAM(Random Access Memory)、及び、ROM(Read Only Memory)を備える。CPUが例えばROMに格納されたプログラムを実行することで、CPUが制御部7の各部(判定部9,判定部10、判定部11、記憶制御部12、表示制御部13、画像加工部14、及び、印刷制御部15)として機能する。   The control unit 7 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory), and a ROM (Read Only Memory). The CPU executes a program stored in the ROM, for example, so that the CPU can control each unit of the control unit 7 (determination unit 9, determination unit 10, determination unit 11, storage control unit 12, display control unit 13, image processing unit 14, And it functions as the print control unit 15).

判定部9は、画像データが表す画像が、印刷禁止画像の全体画像を含むか否かを判定する。画像データは、画像取得部2が取得した印刷用の画像データである。以下、印刷禁止画像の全体画像を単に全体画像とも記載する。判定部9による判定方法の詳細は、図2を参照して後述する。   The determination unit 9 determines whether the image represented by the image data includes the entire print prohibited image. The image data is image data for printing acquired by the image acquisition unit 2. Hereinafter, the entire image of the print prohibited image is also simply referred to as the entire image. Details of the determination method by the determination unit 9 will be described later with reference to FIG.

判定部10は、画像データが表す画像が、印刷禁止画像の部分画像を含むか否かを判定する。画像データは、画像取得部2が取得した印刷用の画像データである。印刷禁止画像の部分画像は、印刷禁止画像のうちの任意の領域の部分画像である。以下、印刷禁止画像の部分画像を単に部分画像とも記載する。判定部10による判定方法の詳細は、図3を参照して後述する。   The determination unit 10 determines whether the image represented by the image data includes a partial image of the print prohibited image. The image data is image data for printing acquired by the image acquisition unit 2. The partial image of the print prohibition image is a partial image of an arbitrary area of the print prohibition image. Hereinafter, the partial image of the print prohibited image is also simply referred to as a partial image. Details of the determination method by the determination unit 10 will be described later with reference to FIG.

判定部11は、1つ以上の画像データの各々が表す画像の全体に、印刷禁止画像の全体画像が含まれるか否かを判定する。1つ以上の画像データは、印刷禁止画像の部分画像を含むと判定部10によって判定された画像データである。   The determination unit 11 determines whether or not the entire image represented by each of the one or more image data includes the entire print-prohibited image. The one or more pieces of image data are image data determined by the determination unit 10 as including a partial image of the print prohibition image.

即ち、判定部11は、画像データが1つだけのときは、1つの画像データが表す画像が印刷禁止画像の全体画像を含むか否かを判定する。また、判定部11は、画像データが複数有るときは、複数の画像データの各々が表す画像に跨って、印刷禁止画像の全体画像が含まれるか否かを判定する。判定部11による判定方法の詳細は、図4を参照して後述する。   That is, when there is only one image data, the determination unit 11 determines whether or not the image represented by one image data includes the entire print prohibited image. Further, when there are a plurality of image data, the determination unit 11 determines whether or not the entire image of the print prohibited image is included across the images represented by each of the plurality of image data. Details of the determination method by the determination unit 11 will be described later with reference to FIG.

記憶制御部12は、記憶部3への各種データの保存を制御する。例えば、記憶制御部12は、画像取得部2が取得した画像データを、印刷用の画像データ又は印刷禁止画像データとして記憶部3に保存する。   The storage control unit 12 controls the storage of various data in the storage unit 3. For example, the storage control unit 12 stores the image data acquired by the image acquisition unit 2 in the storage unit 3 as image data for printing or print prohibited image data.

記憶制御部12は、印刷禁止画像データとして保存させる旨の操作が操作入力部5に入力された場合は、画像取得部2が取得した印刷用の画像データを、印刷禁止画像データとして記憶部3に保存する。その際、記憶制御部12は、印刷禁止画像データに印刷禁止画像の識別情報を付加して記憶部3に保存する。印刷禁止画像の識別情報は、印刷禁止画像データが表す印刷禁止画像を識別する識別情報である。   When an operation for saving as print-prohibited image data is input to the operation input unit 5, the storage control unit 12 stores the print image data acquired by the image acquisition unit 2 as print-prohibited image data. Save to. At that time, the storage control unit 12 adds the identification information of the print prohibition image to the print prohibition image data and stores it in the storage unit 3. The identification information of the print prohibition image is identification information for identifying the print prohibition image represented by the print prohibition image data.

従って、ユーザーは、画像取得部2に印刷禁止画像を取得させ、その印刷禁止画像の画像データを印刷禁止画像データとして記憶部3に保存させることで、新たな印刷禁止画像を画像判定装置1に登録する。   Accordingly, the user causes the image acquisition unit 2 to acquire the print prohibition image and saves the image data of the print prohibition image as the print prohibition image data in the storage unit 3. sign up.

また、記憶制御部12は、判定部11の判定結果が否定である場合に、操作入力部5にユーザー情報が入力されると、ユーザー情報を印刷禁止画像の識別情報と対応付けて記憶部3に保存する。印刷禁止画像の識別情報は、判定部11の判定結果の対象である画像データが含む印刷禁止画像を識別する情報である。   Further, when the determination result of the determination unit 11 is negative and the user information is input to the operation input unit 5, the storage control unit 12 associates the user information with the identification information of the print prohibited image and stores the user information. Save to. The identification information of the print prohibition image is information for identifying the print prohibition image included in the image data that is the target of the determination result of the determination unit 11.

表示制御部13は、表示部4の表示を制御する。表示制御部13は、判定部11の判定結果が肯定である場合、判定結果の対象の画像データが表す画像を表示部4に表示する。表示制御部13は、画像が含む印刷禁止画像の部分画像を強調表示する。   The display control unit 13 controls display on the display unit 4. When the determination result of the determination unit 11 is affirmative, the display control unit 13 displays an image represented by the target image data of the determination result on the display unit 4. The display control unit 13 highlights the partial image of the print prohibited image included in the image.

強調表示は、画像データが表す画像のうちのどの領域が部分画像であるかを、ユーザーが認識し易くするための表示である。強調表示は、例えば、部分画像を太線で囲む表示、又は、部分画像を拡大する表示である。   The highlight display is a display for making it easier for the user to recognize which region of the image represented by the image data is a partial image. The highlight display is, for example, a display that surrounds the partial image with a thick line, or a display that enlarges the partial image.

また、表示制御部13は、部分画像を加工する画像加工方法の選択肢を表示部4に提示する。画像加工方法の選択肢には、例えば、白抜き処理、黒塗り潰し処理、罫線処理がある。白抜き処理は、画像の一部を白色一色で表示する処理である。黒塗り潰し処理は、画像の一部を黒色一色で表示する処理である。罫線処理は、画像の一部上に複数の直線(例えば横線)を描くことで、一部の画像内容を認識し難くする処理である。   In addition, the display control unit 13 presents options for an image processing method for processing the partial image on the display unit 4. Options for the image processing method include, for example, whitening processing, black painting processing, and ruled line processing. The whiteout process is a process of displaying a part of an image with a single white color. The black filling process is a process of displaying a part of an image in black. The ruled line process is a process for making it difficult to recognize a part of the image contents by drawing a plurality of straight lines (for example, horizontal lines) on a part of the image.

また、表示制御部13は、判定部11の判定結果が否定である場合は、ユーザー情報の登録を催促するメーセージを表示部4に表示する。   Moreover, the display control part 13 displays the message which prompts registration of user information on the display part 4, when the determination result of the determination part 11 is negative.

画像加工部14は、操作入力部5への入力によって選択された画像加工方法に基づいて、画像データが表す画像が含む印刷禁止画像の部分画像を加工する。   Based on the image processing method selected by the input to the operation input unit 5, the image processing unit 14 processes the partial image of the print prohibited image included in the image represented by the image data.

印刷制御部15は、判定部9の判定結果、判定部10の判定結果、判定部11の判定結果、操作入力部5へのユーザー情報の入力の有無、及び、操作入力部5への画像加工方法の選択操作の入力の有無に基づいて、印刷部6を制御する。印刷制御部15による制御の詳細は、図5を参照して後述する。   The print control unit 15 determines the determination result of the determination unit 9, the determination result of the determination unit 10, the determination result of the determination unit 11, whether or not user information is input to the operation input unit 5, and image processing to the operation input unit 5. The printing unit 6 is controlled based on whether or not a method selection operation is input. Details of the control by the print control unit 15 will be described later with reference to FIG.

次に図2を参照して、判定部9の判定方法について詳しく説明する。図2は、判定部9の判定方法を示す図である。以下、判定部9が判定する画像データが表す画像を、判定画像Gとも記載する。図2(a)は、印刷禁止画像の全体画像及び判定画像の一例を示す図である。図2(b)は、判定部9の判定方法を示す図である。図2(b)に示す判定画像Gには、印刷禁止画像の全体画像G0が重ね合わされている。   Next, the determination method of the determination unit 9 will be described in detail with reference to FIG. FIG. 2 is a diagram illustrating a determination method of the determination unit 9. Hereinafter, the image represented by the image data determined by the determination unit 9 is also referred to as a determination image G. FIG. 2A is a diagram illustrating an example of the entire print-prohibited image and the determination image. FIG. 2B is a diagram illustrating a determination method of the determination unit 9. The entire image G0 of the print prohibition image is superimposed on the determination image G shown in FIG.

判定部9は、画像データが表す画像(判定画像)Gが、印刷禁止画像の全体画像G0を含むか否かを判定する。以後、この判定を判定Aとも記載する。   The determination unit 9 determines whether or not the image (determination image) G represented by the image data includes the entire print prohibited image G0. Hereinafter, this determination is also referred to as determination A.

詳しくは、図2(b)に示すように、判定部9は、全体画像G0を判定画像Gに重ね合わせる。全体画像G0は、判定画像Gよりも小さい。そして、判定部9は、全体画像G0を判定画像Gの全領域に亘って走査させる。判定部9は、判定画像G上で全体画像G0を少し移動させる毎に、全体画像G0と判定画像Gの重畳領域Sa内の画像とを比較して画像の一致度を算出する。重畳領域Saは、判定画像Gのうち全体画像G0と重畳する領域である。   Specifically, as illustrated in FIG. 2B, the determination unit 9 superimposes the entire image G0 on the determination image G. The entire image G0 is smaller than the determination image G. Then, the determination unit 9 scans the entire image G0 over the entire region of the determination image G. Each time the entire image G0 is slightly moved on the determination image G, the determination unit 9 compares the entire image G0 and the image in the overlapping region Sa of the determination image G to calculate the degree of coincidence of the images. The overlapping area Sa is an area that overlaps the entire image G0 in the determination image G.

画像の一致度は、例えば下記のように算出される。即ち、重畳領域Sa内の各画素位置において、同じ画素位置に在る判定画像Gの画素値と全体画像G0の画素値との差分絶対値を求める。画像値は、輝度値である。そして、求めた差分絶対値を重畳領域Sa内の全ての画素位置に亘って積算する。積算した差分絶対値が、画像の一致度である。即ち、画像の一致度の算出値が小さいほど、判定画像Gと重畳領域Sa内の画像との間の一致度は高い。   The degree of coincidence of images is calculated as follows, for example. That is, the difference absolute value between the pixel value of the determination image G at the same pixel position and the pixel value of the entire image G0 is obtained at each pixel position in the overlapping region Sa. The image value is a luminance value. Then, the obtained absolute difference value is integrated over all the pixel positions in the superposition region Sa. The integrated difference absolute value is the degree of coincidence of images. That is, the smaller the calculated value of the degree of coincidence of images, the higher the degree of coincidence between the determination image G and the image in the overlapping area Sa.

そして、判定部9は、画像の一致度が第1閾値以上である場合は、全体画像G0と重畳領域Sa内の画像とは一致しないと判定する。他方、判定部9は、画像の一致度が第1閾値未満である場合は、全体画像G0と重畳領域Sa内の画像とは一致すると判定する。   Then, the determination unit 9 determines that the entire image G0 and the image in the superimposed region Sa do not match when the matching degree of the images is equal to or greater than the first threshold value. On the other hand, when the degree of coincidence of the images is less than the first threshold value, the determination unit 9 determines that the entire image G0 and the image in the overlapping area Sa match.

そして、判定部9は、全体画像G0と一致すると判定された重畳領域Saが判定画像G内に存在しない場合は、画像データに対する判定Aを否定とする。他方、判定部9は、全体画像G0と一致すると判定された重畳領域Saが判定画像G内に存在する場合は、画像データに対する判定Aを肯定とする。   Then, when the overlapping region Sa determined to match the entire image G0 does not exist in the determination image G, the determination unit 9 denies determination A for the image data. On the other hand, when the overlapping region Sa determined to match the entire image G0 exists in the determination image G, the determination unit 9 affirms the determination A for the image data.

次に図3を参照して、判定部10の判定方法について詳しく説明する。図3は、判定部10の判定方法を示す図である。図3(a)は、判定部10が判定する画像データが表す画像Gの一例を示す図である。以下、画像Gを判定画像Gとも記載する。図3(b)は、印刷禁止画像の全体画像G0の一例を示す図である。図3(b)に示す全体画像G0には、区域画像gijが重ね合わされている。区域画像gijは、判定画像Gを複数の区域画像に区分したときの一の区域画像である。   Next, the determination method of the determination unit 10 will be described in detail with reference to FIG. FIG. 3 is a diagram illustrating a determination method of the determination unit 10. FIG. 3A is a diagram illustrating an example of the image G represented by the image data determined by the determination unit 10. Hereinafter, the image G is also referred to as a determination image G. FIG. 3B is a diagram showing an example of the entire print prohibited image G0. The area image gij is superimposed on the entire image G0 shown in FIG. The area image gij is one area image when the determination image G is divided into a plurality of area images.

判定部10は、画像データが表す画像(判定画像)Gが、印刷禁止画像の部分画像を含むか否かを判定する。以後、この判定を判定Bとも記載する。   The determination unit 10 determines whether the image (determination image) G represented by the image data includes a partial image of the print prohibition image. Hereinafter, this determination is also referred to as determination B.

詳しくは、図3(a)に示すように、判定部10は、判定画像Gを例えば格子状に区分することで、判定画像Gを複数の区域画像gij(i=1,2,…、j=1,2,…)に区分する。   Specifically, as illustrated in FIG. 3A, the determination unit 10 divides the determination image G into, for example, a lattice shape, thereby dividing the determination image G into a plurality of area images gij (i = 1, 2,..., J = 1, 2, ...).

なお、区域画像gijは、格子状に配置する複数の区域画像のうちのi行目j列目に在る区域画像を示す。複数の区域画像gijの各々は、全体画像G0よりも小さい。   The area image gij indicates an area image in the i-th row and j-th column among a plurality of area images arranged in a grid pattern. Each of the plurality of area images gij is smaller than the entire image G0.

そして、判定部10は、区域画像gijを1つずつ全体画像G0に重ね合わせる。そして、判定部10は、全体画像G0上で区域画像gijを少しずつ移動させ、区域画像gijを全体画像G0の全領域に亘って走査させる。判定部10は、全体画像G0上で区域画像gijを少し移動させる毎に、区域画像gijと全体画像G0の重畳領域Sb内の画像(即ち全体画像G0の一部)とを比較して、画像の一致度を算出する。重畳領域Sbは、全体画像G0のうち区域画像gijと重畳する領域である。画像の一致度の算出方法は、判定部9での画像の一致度の算出方法と同じである。   Then, the determination unit 10 superimposes the area images gij one by one on the entire image G0. Then, the determination unit 10 moves the area image gij little by little on the entire image G0, and scans the area image gij over the entire area of the entire image G0. Every time the section image gij is slightly moved on the entire image G0, the determination unit 10 compares the section image gij with the image in the overlapping region Sb of the entire image G0 (that is, a part of the entire image G0) The degree of coincidence of is calculated. The overlapping area Sb is an area that overlaps the area image gij in the entire image G0. The image coincidence calculation method is the same as the image coincidence calculation method in the determination unit 9.

そして、判定部10は、画像の一致度が第2閾値以上である場合は、区域画像gijと重畳領域Sb内の画像とは一致しないと判定する。他方、判定部10は、画像の一致度が第2閾値未満である場合は、区域画像gijと重畳領域Sb内の画像とは一致すると判定する。   Then, the determination unit 10 determines that the area image gij and the image in the superimposed region Sb do not match when the degree of coincidence of the images is equal to or greater than the second threshold. On the other hand, when the degree of coincidence of the images is less than the second threshold value, the determination unit 10 determines that the area image gij and the image in the superimposed region Sb match.

そして、判定部10は、重畳領域Sb内の画像と一致すると判定された区域画像gijが複数の区域画像gijの中に存在しない場合は、画像データに対する判定Bを否定と判定する。他方、判定部10は、重畳領域Sb内の画像と一致すると判定された区域画像gijが複数の区域画像gijの中に存在する場合は、画像データに対する判定Bを肯定と判定する。   Then, when the section image gij determined to match the image in the superimposed area Sb does not exist in the plurality of section images gij, the determination unit 10 determines that the determination B for the image data is negative. On the other hand, when the section image gij determined to match the image in the superimposed region Sb exists in the plurality of section images gij, the determination unit 10 determines that the determination B for the image data is positive.

なお、当該画像データが表す画像のうち、重畳領域Sb内の画像と一致すると判定部10によって判定された区域画像gijが、印刷禁止画像の部分画像を含む領域である。   Of the images represented by the image data, the area image gij determined by the determination unit 10 as being coincident with the image in the superimposed region Sb is a region including a partial image of the print prohibited image.

次に図4を参照して、判定部11の判定方法について詳しく説明する。図4は、結合画像の一例を示す図である。結合画像KGは、1つ以上の画像データの各々が表す画像Gを結合した画像である。図4に示す結合画像KGには、印刷禁止画像の全体画像G0が重ね合わされている。   Next, the determination method of the determination unit 11 will be described in detail with reference to FIG. FIG. 4 is a diagram illustrating an example of a combined image. The combined image KG is an image obtained by combining the images G represented by one or more pieces of image data. The combined image KG shown in FIG. 4 is overlaid with the entire print prohibited image G0.

判定部11は、1つ以上の画像データの各々が表す画像Gの全体に、印刷禁止画像の全体画像G0が含まれるか否かを判定する。以後、この判定を判定Cとも記載する。1つ以上の画像データは、判定部10が、印刷禁止画像の部分画像を含むと判定した画像データである。   The determination unit 11 determines whether the entire image G represented by each of the one or more image data includes the entire print prohibited image G0. Hereinafter, this determination is also referred to as determination C. The one or more pieces of image data are image data that the determination unit 10 determines to include a partial image of the print prohibited image.

詳しくは、判定部11は、下記のように判定Cを行う。判定部11は、先ず、1つ以上の画像データの各々が表す画像Gの配列の組み合わせを算出する。図4には、4枚の画像G(G1,G2,G3,G4)が有る場合の画像Gの配列の一例が示される。図4に示す4枚の画像Gは、2行2列に配列されている。   Specifically, the determination unit 11 performs determination C as follows. The determination unit 11 first calculates a combination of arrays of images G represented by one or more pieces of image data. FIG. 4 shows an example of the arrangement of the images G when there are four images G (G1, G2, G3, G4). The four images G shown in FIG. 4 are arranged in 2 rows and 2 columns.

なお、1つ以上の画像Gの配列の組み合わせには、各画像Gが横一例に並べられる配列、各画像Gが縦一列に並べられる配列、各画像Gが縦横に並べられる配列が含まれる。また、1つ以上の画像Gの配列の組み合わせには、各画像Gが上下反転、左右反転、90度回転、及び180度回転される配列も含まれる。   The combination of the arrangements of one or more images G includes an arrangement in which the images G are arranged in a horizontal example, an arrangement in which the images G are arranged in a vertical row, and an arrangement in which the images G are arranged in a vertical and horizontal manner. The combination of the arrangement of one or more images G includes an arrangement in which each image G is inverted vertically, inverted horizontally, rotated 90 degrees, and rotated 180 degrees.

そして、判定部11は、算出された配列の組み合わせの各々に基づいて、1つ以上の画像データの各々が表す画像Gを1つの画像に結合して結合画像KGを生成する。そして、判定部11は、生成した結合画像KGが全体画像G0を含むか否かを判定する。以後、この判定を判定Dとも記載する。なお、画像データが1つだけの場合は、結合画像KGは、1つの画像データが表す画像である。   Then, the determination unit 11 generates a combined image KG by combining the images G represented by each of the one or more pieces of image data into one image based on each of the calculated array combinations. Then, the determination unit 11 determines whether or not the generated combined image KG includes the entire image G0. Hereinafter, this determination is also referred to as determination D. When there is only one image data, the combined image KG is an image represented by one image data.

詳しくは、判定部11は、下記のように、判定Dを行う。先ず、図4に示すように、判定部11は、画像Gの配列の組み合わせの中の一の配列に基づいて、一の結合画像KGを生成する。そして、判定部11は、生成した結合画像KGに全体画像G0を重ね合わせる。そして、判定部11は、全体画像G0を結合画像KGの全領域に亘って走査させる。判定部11は、結合画像KG上で全体画像G0を少し移動させる毎に、全体画像G0と結合画像KGの重畳領域Sc内の画像とを比較して、画像の一致度を算出する。重畳領域Scは、結合画像KGのうち全体画像G0と重畳する領域である。画像の一致度の算出方法は、判定部9での画像の一致度の算出方法と同じである。   Specifically, the determination unit 11 performs determination D as described below. First, as illustrated in FIG. 4, the determination unit 11 generates one combined image KG based on one array among combinations of arrays of images G. Then, the determination unit 11 superimposes the entire image G0 on the generated combined image KG. Then, the determination unit 11 scans the entire image G0 over the entire region of the combined image KG. Each time the entire image G0 is slightly moved on the combined image KG, the determination unit 11 compares the entire image G0 with the image in the overlapping region Sc of the combined image KG and calculates the degree of coincidence of the images. The overlapping area Sc is an area that overlaps the entire image G0 in the combined image KG. The image coincidence calculation method is the same as the image coincidence calculation method in the determination unit 9.

そして、判定部11は、画像の一致度が第3閾値以上である場合は、全体画像G0と重畳領域Sc内の画像とは一致しないと判定する。他方、判定部11は、画像の一致度が第3閾値未満である場合は、全体画像G0と重畳領域Sc内の画像とは一致すると判定する。   And the determination part 11 determines with the whole image G0 and the image in the superimposition area | region Sc not matching, when the matching degree of an image is more than a 3rd threshold value. On the other hand, when the degree of coincidence of the images is less than the third threshold value, the determination unit 11 determines that the entire image G0 and the image in the overlapping area Sc match.

そして、判定部11は、全体画像G0に一致すると判定された重畳領域Scが結合画像KG内に存在しない場合は、一の結合画像KG(即ち一の配列)に対する判定Dは否定(即ち結合画像KGは全体画像G0を含まない)とする。他方、判定部11は、全体画像G0に一致すると判定された重畳領域Scが結合画像KG内に存在する場合は、一の結合画像KGに対する判定Dは肯定(即ち結合画像KGは全体画像G0を含む)とする。   Then, when the overlapping region Sc determined to match the entire image G0 does not exist in the combined image KG, the determination unit 11 negates the determination D for one combined image KG (that is, one array) (that is, the combined image). KG does not include the entire image G0). On the other hand, when the overlapping region Sc determined to match the entire image G0 is present in the combined image KG, the determination unit 11 determines that the determination D for one combined image KG is affirmative (that is, the combined image KG indicates the entire image G0). Included).

そして、判定部11は、画像Gの配列の組み合わせの全てに対して判定Dを行う。そして、判定部11は、判定Dで肯定(即ち結合画像KGが全体画像G0を含む)と判定された配列が、算出された配列の組み合わせの中に存在しない場合は、1つ以上の画像データに対する判定Cを否定と判定する。他方、判定部11は、判定Dで肯定と判定された配列が、算出された配列の組み合わせの中に存在する場合は、1つ以上の画像データに対する判定Cを肯定と判定する。   Then, the determination unit 11 performs determination D for all the combinations of the arrays of the images G. Then, the determination unit 11 determines one or more pieces of image data when the array determined to be affirmative in the determination D (that is, the combined image KG includes the entire image G0) does not exist in the calculated combination of arrays. It is determined that the determination C is negative. On the other hand, the determination unit 11 determines that the determination C for one or more pieces of image data is affirmative when the array determined to be affirmative in the determination D exists in the calculated combination of arrays.

次に図5を参照して、画像判定装置1の動作を説明する。図5は、画像判定装置1の動作を示すフローチャートである。   Next, the operation of the image determination apparatus 1 will be described with reference to FIG. FIG. 5 is a flowchart showing the operation of the image determination apparatus 1.

ステップS1では、画像取得部2が、印刷用の一の画像データを取得する。   In step S1, the image acquisition unit 2 acquires one piece of image data for printing.

ステップS2では、判定部9が、一の画像データが表す画像が印刷禁止画像の全体画像を含むか否かを判定する。その判定結果が肯定である場合(YES)は、動作がステップS3に進み、その判定結果が否定である場合(NO)は、動作がステップS4に進む。   In step S <b> 2, the determination unit 9 determines whether or not the image represented by one image data includes the entire print-prohibited image. If the determination result is affirmative (YES), the operation proceeds to step S3, and if the determination result is negative (NO), the operation proceeds to step S4.

ステップS3では、印刷制御部15が、一の画像データが表す画像の印刷を停止する。そして、動作が終了する。   In step S3, the print control unit 15 stops printing an image represented by one image data. Then, the operation ends.

ステップS4では、判定部10が、一の画像データが表す画像が、印刷禁止画像の部分画像を含むか否かを判定する。印刷禁止画像は、記憶部3に保存された印刷禁止画像データが表す印刷禁止画像である。そして、その判定結果が否定である場合(NO)は、動作がステップS5に進み、その判定結果が肯定である場合(YES)は、動作がステップS6に進む。   In step S4, the determination unit 10 determines whether or not the image represented by one image data includes a partial image of the print prohibited image. The print prohibited image is a print prohibited image represented by the print prohibited image data stored in the storage unit 3. If the determination result is negative (NO), the operation proceeds to step S5. If the determination result is affirmative (YES), the operation proceeds to step S6.

ステップS5では、印刷制御部15が、一の画像データが表す画像を印刷する。従って、一の画像データが表す画像が印刷禁止画像の全体画像及び部分画像を含まない場合は、一の画像データが表す画像は、印刷される。そして、動作が終了する。   In step S5, the print control unit 15 prints an image represented by one image data. Therefore, when the image represented by one image data does not include the entire image and the partial image of the print prohibition image, the image represented by the one image data is printed. Then, the operation ends.

ステップS6では、記憶制御部12が、一の画像データを記憶部3に保存する。一の画像データは、印刷禁止画像の全体画像を含まない画像であって、印刷禁止画像の部分画像を含む画像を表す。従って、ステップS1で、画像取得部2が1つ以上の画像データを順に取得すると、ステップS6で、1つ以上の画像データのうち所定の画像データが、記憶部3に累積保存される。所定の画像データは、印刷禁止画像の全体画像を含まない画像であって印刷禁止画像の部分画像を含む画像を表す。そして、動作がステップS7に進む。   In step S <b> 6, the storage control unit 12 stores one image data in the storage unit 3. One image data is an image that does not include the entire print-prohibited image and that includes a partial image of the print-prohibited image. Accordingly, when the image acquisition unit 2 sequentially acquires one or more pieces of image data in step S1, predetermined image data among the one or more pieces of image data is accumulated and stored in the storage unit 3 in step S6. The predetermined image data represents an image that does not include the entire print prohibited image and includes a partial image of the print prohibited image. Then, the operation proceeds to step S7.

ステップS7では、画像取得部2が一の画像データを取得した時点から所定時間経過するまでに次の一の画像データを取得したか否かを、判定部11が判定する。この判定結果が肯定である場合(YES)は、動作がステップS2に戻り、次の一の画像データに対して、ステップS2以降の動作が繰り返される。他方、その判定結果が否定である場合(NO)は、動作がステップS8に進む。   In step S <b> 7, the determination unit 11 determines whether or not the next image data has been acquired before a predetermined time has elapsed since the time when the image acquisition unit 2 acquired the one image data. If the determination result is affirmative (YES), the operation returns to step S2, and the operations after step S2 are repeated for the next one image data. On the other hand, when the determination result is negative (NO), the operation proceeds to step S8.

ステップS8では、判定部11が、1つ以上の画像データの各々が表す画像の全体に、印刷禁止画像の全体画像が含まれる否かを判定する。1つ以上の画像データは、ステップS6で記憶部3に累積保存された画像データである。そして、その判定結果が肯定である場合(YES)は、動作がステップS9に進み、その判定結果が否定である場合(NO)は、動作がステップS12に進む。   In step S8, the determination unit 11 determines whether or not the entire image represented by each of the one or more pieces of image data includes the entire print-prohibited image. One or more pieces of image data are image data accumulated and stored in the storage unit 3 in step S6. If the determination result is affirmative (YES), the operation proceeds to step S9. If the determination result is negative (NO), the operation proceeds to step S12.

ステップS9では、表示制御部13が、1つ以上の画像データの各々が表す画像を表示部4に表示する。表示制御部13は、画像が含む印刷禁止画像の部分画像を強調表示する。更に、表示制御部13は、画像加工方法の選択肢を表示部4に提示する。画像加工方法は、画像が含む印刷禁止画像の部分画像を加工する方法である。そして、動作がステップS10に進む。   In step S <b> 9, the display control unit 13 displays an image represented by each of the one or more image data on the display unit 4. The display control unit 13 highlights the partial image of the print prohibited image included in the image. Further, the display control unit 13 presents options for the image processing method on the display unit 4. The image processing method is a method of processing a partial image of a print prohibited image included in an image. Then, the operation proceeds to step S10.

ステップS10では、画像加工方法の選択肢が表示部4に表示された時点から一定時間内に、ユーザーが、画像加工方法の選択肢を選択する操作を操作入力部5に入力しない場合(NO)は、動作がステップS3に進む。そして、ステップS3で、印刷制御部15が、1つ以上の画像データが表す画像の印刷を停止する。そして、動作が終了する。   In step S <b> 10, when the user does not input an operation for selecting an image processing method option to the operation input unit 5 within a predetermined time from when the image processing method option is displayed on the display unit 4 (NO), Operation proceeds to step S3. In step S3, the print control unit 15 stops printing the image represented by the one or more image data. Then, the operation ends.

他方、ステップS10で、画像加工方法の選択肢が表示部4に表示された時点から一定時間内に、ユーザーが、画像加工方法の選択肢を選択する操作を操作入力部5に入力した場合(YES)は、動作がステップS11に進む。   On the other hand, in step S10, when the user inputs an operation for selecting an image processing method option to the operation input unit 5 within a predetermined time from when the image processing method option is displayed on the display unit 4 (YES). The operation proceeds to step S11.

ステップS11では、画像加工部14が、選択された画像加工方法に基づいて、1つ以上の画像データの各々が含む印刷禁止画像の部分画像を加工する。この結果、1つ以上の画像データが含む印刷禁止画像の部分画像が、認識され難くなる。そして、動作がステップS5に進む。そして、ステップS5で、印刷制御部15が、1つ以上の画像データの各々が表す画像を印刷する。そして、動作が終了する。   In step S11, the image processing unit 14 processes a partial image of the print prohibited image included in each of the one or more image data based on the selected image processing method. As a result, the partial image of the print prohibition image included in one or more image data is difficult to be recognized. Then, the operation proceeds to step S5. In step S5, the print control unit 15 prints an image represented by each of the one or more image data. Then, the operation ends.

他方、ステップS12では、表示制御部13が、ユーザー情報の登録を催促するメーセージを表示部4に表示する。そして、動作がステップS13に進む。   On the other hand, in step S12, the display control unit 13 displays a message prompting the registration of user information on the display unit 4. Then, the operation proceeds to step S13.

ステップS13では、メッセージが表示部4に表示された時点から一定時間内に、ユーザーが、自身のユーザー情報を操作入力部5に入力しない場合(NO)は、動作がステップS3に進む。そして、ステップS3で、印刷制御部15が、1つ以上の画像データの各々が表す画像の印刷を停止する。そして、動作が終了する。   In step S13, if the user does not input his / her user information to the operation input unit 5 within a predetermined time from when the message is displayed on the display unit 4 (NO), the operation proceeds to step S3. In step S3, the print control unit 15 stops printing the image represented by each of the one or more pieces of image data. Then, the operation ends.

他方、ステップS13で、メッセージが表示部4に表示された時点から一定時間内に、ユーザーが、自身のユーザー情報を操作入力部5に入力した場合(YES)は、動作がステップS14に進む。   On the other hand, if the user inputs his / her user information to the operation input unit 5 within a certain time from the time when the message is displayed on the display unit 4 in step S13 (YES), the operation proceeds to step S14.

ステップS14では、記憶制御部12が、操作入力部5に入力されたユーザー情報を、印刷禁止画像の識別情報と対応付けて記憶部3に保存する。印刷禁止画像の識別情報は、1つ以上の画像データの各々が表す画像が含む印刷禁止画像を識別する情報である。この保存されたユーザー情報及び印刷禁止画像の識別情報を参照することで、誰がどの印刷禁止画像を印刷したかを確認することが可能である。そして、動作がステップS5に進む。そして、ステップS5で、印刷制御部15が、1つ以上の画像データの各々が表す画像を印刷する。そして、動作が終了する。   In step S <b> 14, the storage control unit 12 stores the user information input to the operation input unit 5 in the storage unit 3 in association with the identification information of the print prohibition image. The identification information of the print prohibition image is information for identifying the print prohibition image included in the image represented by each of the one or more image data. By referring to the stored user information and identification information of the print prohibition image, it is possible to confirm who printed which print prohibition image. Then, the operation proceeds to step S5. In step S5, the print control unit 15 prints an image represented by each of the one or more image data. Then, the operation ends.

図5を参照して説明したように、以上の動作では、一の画像データが印刷禁止画像の全体画像を含む場合は、一の画像データは印刷されない(ステップS1→S2→S3)。一の画像データが印刷禁止画像の全体画像及び部分画像を含まない場合は、一の画像データは印刷される(ステップS1→S2→S4→S5)。   As described with reference to FIG. 5, in the above operation, when one image data includes the entire print-prohibited image, the one image data is not printed (steps S 1 → S 2 → S 3). If the one image data does not include the entire image and the partial image of the print prohibition image, the one image data is printed (steps S 1 → S 2 → S 4 → S 5).

また、1つ以上の画像データの各々が印刷禁止画像の部分画像を含み、且つ、1つ以上の画像データの全体に印刷禁止画像の全体画像が含まれる場合は、部分画像を加工すれば、1つ以上の画像データは印刷される(ステップS8→S9→S10→S11→S5)。他方、部分画像を加工しないならば、1つ以上の画像データは印刷されない(ステップS8→S9→S10→S3)。   Further, when each of the one or more image data includes a partial image of the print prohibition image and the entire image of the print prohibition image is included in the entire one or more image data, if the partial image is processed, One or more pieces of image data are printed (steps S8 → S9 → S10 → S11 → S5). On the other hand, if the partial image is not processed, one or more pieces of image data are not printed (steps S8 → S9 → S10 → S3).

また、1つ以上の画像データの各々が印刷禁止画像の部分画像を含み、且つ、1つ以上の画像データの全体に印刷禁止画像の全体画像が含まれない場合は、ユーザー登録すれば、1つ以上の画像データは印刷される(ステップS8→S12→S13→S14→S5)。他方、ユーザー登録しないならば、1つ以上の画像データは印刷されない(ステップS8→S12→S13→S3)。   If each of the one or more image data includes a partial image of the print prohibition image and the entire image of the print prohibition image is not included in the whole of the one or more image data, if the user registration is performed, 1 One or more pieces of image data are printed (steps S8 → S12 → S13 → S14 → S5). On the other hand, if the user is not registered, one or more pieces of image data are not printed (steps S8 → S12 → S13 → S3).

<変形例>
第1実施形態では、画像取得部2が一の画像データを取得した時点から所定時間経過するまでに次の一の画像データを取得しない場合に、判定部11は判定Cを行うが(ステップS8のNO)、判定部11が判定Cを行うタイミングは、このように限定されない。例えば、ステップS6で記憶部3に累積保存された画像データが含む印刷禁止画像の部分画像のうちに、印刷禁止画像の全体画像を構成するために必要な全ての部分画像が揃った場合に、判定部11は判定Cを行ってもよい。
<Modification>
In the first embodiment, the determination unit 11 performs determination C when the next image data is not acquired before the predetermined time has elapsed from the time when the image acquisition unit 2 acquired the one image data (step S8). NO), the timing at which the determination unit 11 performs the determination C is not limited in this way. For example, when all the partial images necessary for constituting the entire image of the print prohibition image are prepared among the partial images of the print prohibition image included in the image data accumulated and stored in the storage unit 3 in step S6, The determination unit 11 may perform determination C.

<第2実施形態>
図6を参照して、本発明の第2実施形態について説明する。図6は、本実施形態の判定部11の判定方法を示す図である。
Second Embodiment
A second embodiment of the present invention will be described with reference to FIG. FIG. 6 is a diagram illustrating a determination method of the determination unit 11 according to the present embodiment.

第1実施形態では、判定部10は、画像データが表す画像が印刷禁止画像の部分画像を含むと判定した場合、画像データを記憶部3に累積保存するが(図6のステップS6)、本実施形態では、判定部10は、画像データの代わりに領域データを記憶部3に累積保存する。領域データは、部分画像が印刷禁止画像のどの領域の部分画像であるかを表す。領域データは、例えば、印刷禁止画像上で定義された座標系を用いて表される。   In the first embodiment, when the determination unit 10 determines that the image represented by the image data includes a partial image of the print prohibition image, the image data is accumulated and stored in the storage unit 3 (step S6 in FIG. 6). In the embodiment, the determination unit 10 accumulates and saves area data in the storage unit 3 instead of image data. The area data represents which area of the print prohibited image the partial image is. The area data is represented using, for example, a coordinate system defined on the print prohibited image.

領域データは、画像データよりもデータ量が少ない。従って、画像データの代わりに領域データを記憶部3に保存することで、記憶部3の記憶容量を節約できる。なお、領域データを圧縮して保存してもよい。記憶部3の記憶容量を更に節約できる。   The area data has a smaller data amount than the image data. Therefore, the storage capacity of the storage unit 3 can be saved by storing the area data in the storage unit 3 instead of the image data. The area data may be compressed and stored. The storage capacity of the storage unit 3 can be further saved.

本実施形態の判定部11は、画像データの代わりに領域データを用いて上記の判定Cを行う。詳しくは、判定部11は、記憶部3に累積保存された1つ以上の領域データが表す領域を継ぎ合わせて継合領域を生成する。なお、記憶部3に累積保存された領域データが1つだけのときは、1つの領域データが表す領域が、継合領域である。そして、判定部11は、印刷禁止画像の全体画像に対する継合領域の占有率を算出する。   The determination unit 11 of the present embodiment performs the above determination C using region data instead of image data. Specifically, the determination unit 11 generates a joint region by joining regions represented by one or more region data accumulated and stored in the storage unit 3. When there is only one area data accumulated and stored in the storage unit 3, the area represented by one area data is a joint area. Then, the determination unit 11 calculates the occupancy ratio of the joint area with respect to the entire image of the print prohibited image.

具体的には、記憶部3に例えば2つの領域データD1,D2が累積保存される場合は、判定部11は、下記のように占有率Qを算出する。例えば図6に示すように、領域データD1は、全体画像G0の領域R1を表し、領域データD2は、全体画像G0の領域R2を表す。判定部11は、領域R1と領域R2とを継ぎ合わせて継合領域Rsを生成する。   Specifically, when, for example, two area data D1 and D2 are accumulated and stored in the storage unit 3, the determination unit 11 calculates the occupation ratio Q as follows. For example, as shown in FIG. 6, the area data D1 represents the area R1 of the entire image G0, and the area data D2 represents the area R2 of the entire image G0. The determination unit 11 joins the region R1 and the region R2 to generate a joint region Rs.

そして、判定部11は、全体画像G0及び継合領域Rsの各々の面積を算出し、算出した面積に基づいて、全体画像G0に対する継合領域Rsの占有率Qを算出する。なお、全体画像G0の面積は、印刷禁止画像データに基づいて算出され、継合領域Rsの面積は、領域データD1及び領域データD2に基づいて算出される。   And the determination part 11 calculates the area of each of the whole image G0 and the joining area | region Rs, and calculates the occupation rate Q of the joining area | region Rs with respect to the whole image G0 based on the calculated area. The area of the entire image G0 is calculated based on the print prohibition image data, and the area of the joining region Rs is calculated based on the region data D1 and the region data D2.

そして、判定部11は、占有率が一定値以上の場合は、判定Cを肯定と判定し、他方、占有率が一定値未満の場合は、判定Cを否定と判定する。   Then, the determination unit 11 determines that the determination C is affirmative when the occupation ratio is greater than or equal to a certain value, and determines that the determination C is negative when the occupation ratio is less than the certain value.

なお、本実施形態では、画像データが保存されないため、図5が示す動作において、画像データを用いる動作(ステップS9,S11及びS5)は行われない。本実施形態の構成及び動作は、以上の点以外は、第1実施形態の構成及び動作と同じである。   In the present embodiment, since image data is not stored, the operation using the image data (steps S9, S11, and S5) is not performed in the operation illustrated in FIG. The configuration and operation of this embodiment are the same as the configuration and operation of the first embodiment except for the above points.

<第3実施形態>
第2実施形態では、画像データの代わりに領域データを記憶部3に累積保存したが、本実施形態では、画像データと領域データとを互いに対応させて記憶部3に累積保存する。本実施形態の判定部11は、第2実施形態の判定部11と同じ判定方法で上記の判定Cを行う。
<Third Embodiment>
In the second embodiment, the area data is accumulated and stored in the storage unit 3 instead of the image data. However, in this embodiment, the image data and the area data are accumulated and stored in the storage unit 3 in association with each other. The determination unit 11 of the present embodiment performs the above determination C by the same determination method as the determination unit 11 of the second embodiment.

なお、第2実施形態では、画像データが保存されないため、図5が示す動作において、画像データを用いる動作(ステップS9,S11,S5)は行われないが、本実施形態では、画像データが保存されるため、画像データを用いる動作(ステップS9,S11,S5)も行われる。本実施形態の構成及び動作は、以上の点以外は、第1実施形態の構成及び動作と同じである。   In the second embodiment, since image data is not stored, the operation using the image data (steps S9, S11, S5) is not performed in the operation illustrated in FIG. 5, but in the present embodiment, the image data is stored. Therefore, an operation using the image data (steps S9, S11, S5) is also performed. The configuration and operation of this embodiment are the same as the configuration and operation of the first embodiment except for the above points.

以上、図面(図1〜図6)を参照しながら本発明の実施形態(第1〜第3実施形態、及び、変形例)を説明した。但し、本発明は、上記の実施形態に限られるものではなく、その要旨を逸脱しない範囲で種々の態様において実施することが可能である。図面は、理解しやすくするために、それぞれの構成要素を主体に模式的に示しており、図示された各構成要素の厚み、長さ、個数等は、図面作成の都合上から実際とは異なる。また、上記の実施形態で示す各構成要素の材質や形状、寸法等は一例であって、特に限定されるものではなく、本発明の効果から実質的に逸脱しない範囲で種々の変更が可能である。   The embodiments of the present invention (first to third embodiments and modifications) have been described above with reference to the drawings (FIGS. 1 to 6). However, the present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the gist thereof. In order to facilitate understanding, the drawings schematically show each component as a main component, and the thickness, length, number, and the like of each component shown in the drawings are different from the actual for convenience of drawing. . In addition, the material, shape, dimensions, and the like of each component shown in the above embodiment are merely examples, and are not particularly limited, and various changes can be made without departing from the effects of the present invention. is there.

1 画像判定装置
3 記憶部
5 操作入力部
5 操作入力部
6 印刷部
10 判定部
11 判定部
12 記憶制御部
13 表示制御部
14 画像加工部
G0 全体画像
G 画像
gij 区域画像
DESCRIPTION OF SYMBOLS 1 Image determination apparatus 3 Memory | storage part 5 Operation input part 5 Operation input part 6 Printing part 10 Determination part 11 Determination part 12 Storage control part 13 Display control part 14 Image processing part G0 Whole image G Image
gij area image

Claims (10)

出力禁止画像を表す出力禁止画像データを保存する第1記憶部と、
画像データが表す画像が、前記出力禁止画像の部分画像を含むか否かを判定する第1判定部と、
複数の画像データの各々が表す画像に跨って前記出力禁止画像の全体画像を含むか否かを判定する第2判定部と、を備え、
前記複数の画像データは、前記出力禁止画像の部分画像を含むと前記第1判定部によって判定された画像データである、画像判定装置。
A first storage unit for storing output-prohibited image data representing an output-prohibited image;
A first determination unit that determines whether an image represented by image data includes a partial image of the output-prohibited image;
A second determination unit that determines whether or not the entire image of the output prohibition image is included across the image represented by each of the plurality of image data,
The image determination device, wherein the plurality of image data are image data determined by the first determination unit to include a partial image of the output prohibited image.
印刷部を更に備え、
前記印刷部は、前記第1判定部の判定結果が否定である場合、前記画像データが表す画像を印刷する、請求項1に記載の画像判定装置。
A printing section,
The image determination apparatus according to claim 1, wherein the printing unit prints an image represented by the image data when the determination result of the first determination unit is negative.
印刷部と、画像加工部とを更に備え、
前記画像加工部は、前記第2判定部の判定結果が肯定である場合、前記第2判定部が肯定と判定した前記画像データが表す画像に含まれる前記部分画像を加工し、
前記印刷部は、前記画像加工部によって前記部分画像が加工された前記画像データが表す画像を印刷する、請求項1又は請求項2に記載の画像判定装置。
A printing unit and an image processing unit;
When the determination result of the second determination unit is affirmative, the image processing unit processes the partial image included in the image represented by the image data determined to be affirmative by the second determination unit,
The image determination apparatus according to claim 1, wherein the printing unit prints an image represented by the image data obtained by processing the partial image by the image processing unit.
画像加工方法が入力される第1操作入力部を更に備え、
前記画像加工部は、前記第1操作入力部に入力された画像加工方法に基づいて、前記画像データが表す画像に含まれる前記部分画像を加工する、請求項3に記載の画像判定装置。
A first operation input unit for inputting an image processing method;
The image determination device according to claim 3, wherein the image processing unit processes the partial image included in an image represented by the image data based on an image processing method input to the first operation input unit.
表示部と、表示制御部とを更に備え、
前記表示制御部は、前記第2判定部の判定結果が肯定である場合、前記第2判定部が肯定と判定した前記画像を前記表示部に表示し、前記画像が含む前記部分画像を強調表示する、請求項1〜請求項4の何れかの1項に記載の画像判定装置。
A display unit and a display control unit;
When the determination result of the second determination unit is affirmative, the display control unit displays the image determined to be affirmative by the second determination unit on the display unit, and highlights the partial image included in the image The image determination apparatus according to any one of claims 1 to 4.
第2操作入力部と、印刷部と、第2記憶部と、記憶制御部とを更に備え、
前記第2操作入力部には、ユーザー情報が入力され、
前記印刷部は、前記第2判定部の判定結果が否定である場合、且つ、前記第2操作入力部にユーザー情報が入力された場合に、前記第2判定部が否定と判定した前記画像データが表す画像を印刷し、
前記記憶制御部は、前記第2判定部の判定結果が否定である場合に、前記第2操作入力部にユーザー情報が入力されると、前記ユーザー情報と前記出力禁止画像の識別情報とを対応付けて前記第2記憶部に保存し、
前記出力禁止画像の識別情報は、前記第2判定部が否定と判定した前記画像データが表す画像が含む前記出力禁止画像を識別する情報である、請求項1〜請求項5の何れかの1項に記載の画像判定装置。
A second operation input unit, a printing unit, a second storage unit, and a storage control unit;
User information is input to the second operation input unit,
When the determination result of the second determination unit is negative, and when user information is input to the second operation input unit, the printing unit determines that the image data that the second determination unit has determined to be negative Print the image represented by
When the user information is input to the second operation input unit when the determination result of the second determination unit is negative, the storage control unit associates the user information with the identification information of the output-prohibited image. And store it in the second storage unit,
The identification information of the output prohibition image is information for identifying the output prohibition image included in an image represented by the image data determined to be negative by the second determination unit. The image determination apparatus according to item.
前記第1判定部は、前記画像データが表す画像を複数の区域画像に区分し、前記複数の区域画像の中に前記全体画像の一部と一致する区域画像が存在する場合は、前記第1判定部の判定を肯定とし、他方、前記複数の区域画像の中に前記全体画像の一部と一致する区域画像が存在しない場合は、前記第1判定部の判定を否定とする、請求項1〜請求項6の何れかの1項に記載の画像判定装置。   The first determination unit divides the image represented by the image data into a plurality of section images, and when a section image that matches a part of the whole image exists in the plurality of section images, the first determination unit The determination by the determination unit is affirmed, and on the other hand, if there is no area image that matches a part of the entire image in the plurality of area images, the determination by the first determination unit is negative. The image determination apparatus according to claim 6. 前記第2判定部は、前記複数の画像データの各々が表す画像の配列の組み合わせを算出し、算出された配列の組み合わせの各々に基づいて、前記複数の画像データの各々が表す画像を結合して結合画像を生成し、前記結合画像が前記全体画像を含むか否かを判定し、
前記第2判定部は、算出された前記配列の組み合わせの中に所定の配列が存在しない場合は、前記複数の画像データの各々が表す画像に跨って前記出力禁止画像の全体画像を含まないと判定し、他方、算出された配列の組み合わせの中に前記所定の配列が存在する場合は、前記複数の画像データの各々が表す画像に跨って前記出力禁止画像の全体画像を含むと判定し、
前記所定の配列は、前記全体画像を含むと前記第2判定部によって判定された前記結合画像に対応する前記配列である、請求項1〜請求項7の何れかの1項に記載の画像判定装置。
The second determination unit calculates a combination of image arrays represented by each of the plurality of image data, and combines the images represented by each of the plurality of image data based on each of the calculated combination of arrays. Generating a combined image and determining whether the combined image includes the entire image;
The second determination unit does not include the entire image of the output-prohibited image across the image represented by each of the plurality of image data when a predetermined array does not exist in the calculated combination of the arrays. On the other hand, if the predetermined array exists in the calculated combination of arrays, it is determined that the entire image of the output prohibited image is included across the image represented by each of the plurality of image data,
The image determination according to any one of claims 1 to 7, wherein the predetermined array is the array corresponding to the combined image determined by the second determination unit to include the entire image. apparatus.
前記第1判定部は、前記画像データが表す画像が前記部分画像を含むと判定した場合、前記部分画像が前記出力禁止画像のどの領域の部分画像であるかを表す領域データを前記第1記憶部に保存する、請求項1に記載の画像判定装置。   When the first determination unit determines that the image represented by the image data includes the partial image, the first storage unit stores region data indicating which region of the output prohibited image the partial image is in the first storage. The image determination apparatus according to claim 1, wherein the image determination apparatus is stored in a unit. 前記第2判定部は、前記第1記憶部に保存された複数の前記領域データが表す領域を継ぎ合わせて継合領域を生成し、前記全体画像に対する前記継合領域の占有率を算出し、
前記第2判定部は、前記占有率が一定値以上の場合は、前記第2判定部の判定を肯定とし、他方、前記占有率が前記一定値未満の場合は、前記第2判定の判定を否定とする、請求項9に記載の画像判定装置。
The second determination unit generates a joining region by joining regions represented by the plurality of region data stored in the first storage unit, calculates an occupation rate of the joining region with respect to the entire image,
The second determination unit affirms the determination of the second determination unit when the occupation ratio is equal to or greater than a certain value, and determines the second determination when the occupation ratio is less than the certain value. The image determination apparatus according to claim 9, wherein the determination is negative.
JP2015231685A 2015-11-27 2015-11-27 Image determination device Pending JP2017098875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015231685A JP2017098875A (en) 2015-11-27 2015-11-27 Image determination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015231685A JP2017098875A (en) 2015-11-27 2015-11-27 Image determination device

Publications (1)

Publication Number Publication Date
JP2017098875A true JP2017098875A (en) 2017-06-01

Family

ID=58804081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015231685A Pending JP2017098875A (en) 2015-11-27 2015-11-27 Image determination device

Country Status (1)

Country Link
JP (1) JP2017098875A (en)

Similar Documents

Publication Publication Date Title
JP6559609B2 (en) Image composition apparatus, image composition method, and image composition program
KR20090132484A (en) Information display apparatus, information displaying method, and computer readable medium
CN102572257B (en) Image processing apparatus and image processing method
CN107239390A (en) The method and apparatus for proofreading application interface information
US20160231975A1 (en) Content composing device and method of composing content
JP4339675B2 (en) Gradient image creation apparatus and gradation image creation method
JP2013125426A (en) Content display device, method, and program
EP2919187B1 (en) Image processing apparatus and image processing method
CN101398938B (en) Image processing apparatus, image processing system and image processing method
JP2017098875A (en) Image determination device
CN107147820A (en) Information processor
JP2005117492A (en) Template selection processing used for layout of image
US9727224B2 (en) Image processing device, image processing method, and storage medium storing image processing program
JP4334981B2 (en) Image processing apparatus and image processing method
JP2000209433A (en) Image forming device
JP4127178B2 (en) Multiple image layout processing
JP2009232246A (en) Image processing unit and image processing method
JP4305346B2 (en) Image processing apparatus, image processing method, and image processing program
CN103838708B (en) Electronic typesetting method and electronic typesetting device
EP4145395A1 (en) Method for arranging digital images on a digital page
US20230137237A1 (en) Apparatus for displaying information superimposed on mirror image, displaying apparatus, and displaying program
US7564592B2 (en) Color image edge enhancement method
JP2009232243A (en) Image processing unit, image processing method, and computer program for image processing
JP2022104334A (en) Printer, printing data creation method, and program
JP4517903B2 (en) Print data generation apparatus, print data generation method, and print data generation program