Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6540389B2 - Image editing apparatus, image editing method and image editing program - Google Patents
[go: Go Back, main page]

JP6540389B2 - Image editing apparatus, image editing method and image editing program - Google Patents

Image editing apparatus, image editing method and image editing program Download PDF

Info

Publication number
JP6540389B2
JP6540389B2 JP2015172191A JP2015172191A JP6540389B2 JP 6540389 B2 JP6540389 B2 JP 6540389B2 JP 2015172191 A JP2015172191 A JP 2015172191A JP 2015172191 A JP2015172191 A JP 2015172191A JP 6540389 B2 JP6540389 B2 JP 6540389B2
Authority
JP
Japan
Prior art keywords
image
additional image
area
display
additional
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.)
Expired - Fee Related
Application number
JP2015172191A
Other languages
Japanese (ja)
Other versions
JP2017050690A (en
Inventor
博貴 上田
博貴 上田
伸一 浅井
伸一 浅井
健一 駒場
健一 駒場
笑子 羽場
笑子 羽場
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2015172191A priority Critical patent/JP6540389B2/en
Publication of JP2017050690A publication Critical patent/JP2017050690A/en
Application granted granted Critical
Publication of JP6540389B2 publication Critical patent/JP6540389B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

この発明は画像編集装置、画像編集方法および画像編集プログラムに関し、特に、データの画像に別の画像を合成する画像編集装置、その画像編集装置で実行される画像編集方法および画像編集プログラムに関する。   The present invention relates to an image editing apparatus, an image editing method, and an image editing program, and more particularly, to an image editing apparatus that combines another image with an image of data, an image editing method and an image editing program executed by the image editing apparatus.

近年、複合機(MFP)等の画像形成装置は、プリントの対象となるデータの画像に、スタンプ画像などの予め準備された付加画像を合成して、プリントする機能を有する。例えば、特開2011−188197号公報には、1つの画像に対して複数の合成画像を合成する画像処理装置であって、前記画像に合成するための複数の合成画像に係る画像データを記憶する記憶手段であって、合成画像に係る画像データとともに前記合成画像の一部の領域であって他の合成画像との重なりを禁止する禁止領域の情報を記憶する記憶手段と、前記記憶手段に記憶されている合成画像の禁止領域の情報に基づいて、前記画像に合成される合成画像の禁止領域に他の合成画像が重なっているか否かを判断する判断手段と、前記判断手段によって重なっていると判断された場合には、警告を行う、または前記他の合成画像を前記禁止領域に重ならない位置に移動させるよう制御する制御手段とを有することを特徴とする画像処理装置が記載されている。   2. Description of the Related Art In recent years, an image forming apparatus such as a multifunction peripheral (MFP) has a function of combining an image of data to be printed with a previously prepared additional image such as a stamp image for printing. For example, JP-A-2011-188197 is an image processing apparatus that combines a plurality of composite images with one image, and stores image data related to a plurality of composite images to be combined with the image. A storage unit that stores information of a prohibited area that is a partial area of the composite image and that prohibits overlapping with another composite image, together with image data related to the composite image; Determining means for determining whether or not another composite image overlaps the prohibited area of the composite image to be combined with the image based on the information of the prohibited area of the composite image being overlapped by the determination means Control means for giving a warning or controlling to move the other composite image to a position not overlapping the prohibited area. Location have been described.

一方、MFPにおいては、ユーザーインターフェースとしてタッチパネルが用いられる場合が多く、ユーザーが付加画像をドラッグアンドドロップすることにより、データの画像中で付加画像を配置する位置を決定することができる。しかしながら、特開2011−188197号公報に記載の画像処理装置では、ユーザーが付加画像の位置を決めた後に、警告または禁止領域に重ならない位置に移動させる。このため、警告される場合には付加画像を配置可能な位置に配置するために、再度付加画像を移動可能な状態にして移動させる操作をしなければならず、禁止領域に重ならない位置に操作が煩雑になるといった問題がある。また、付加画像が禁止領域に重ならない位置に移動される場合には、ユーザーの所望する位置とは異なる場合があり、その場合には、再度付加画像を移動可能な状態にして移動させる操作をしなければならない。このため、再度付加画像を移動可能な状態にして移動させる操作が煩雑になるといった問題がある。
特開2011−188197号公報
On the other hand, in the MFP, a touch panel is often used as a user interface, and the user can drag and drop the additional image to determine the position where the additional image is to be arranged in the data image. However, in the image processing apparatus described in JP 2011-188197 A, after the user has determined the position of the additional image, it is moved to a position not overlapping the warning or prohibited area. Therefore, in the case of a warning, in order to place the additional image at a position where it can be arranged, the additional image must be moved again and made to be movable again, and the operation to a position not overlapping the prohibited area There is a problem that it becomes complicated. When the additional image is moved to a position not overlapping the prohibited area, it may be different from the position desired by the user. In this case, an operation for moving the additional image so as to be movable again is performed. Must. Therefore, there is a problem that the operation of moving the additional image in a movable state again becomes complicated.
JP, 2011-188197, A

この発明は上述した問題点を解決するためになされたもので、この発明の目的の1つは、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集装置を提供することである。   The present invention has been made to solve the above-mentioned problems, and one of the objects of the present invention is to provide an image editing apparatus capable of facilitating an operation of determining a position for arranging an additional image. It is.

この発明の他の目的は、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集方法を提供することである。   Another object of the present invention is to provide an image editing method capable of facilitating an operation of determining a position where an additional image is to be arranged.

この発明のさらに他の目的は、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集プログラムを提供することである。   Still another object of the present invention is to provide an image editing program capable of facilitating an operation of determining a position for arranging an additional image.

上述した目的を達成するためにこの発明のある局面によれば、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、検出された位置に基づいてユーザーによる操作を決定する操作決定手段と、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示手段と、データの画像に合成するための付加画像を表示手段に表示する付加画像表示手段と、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定手段と、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動手段と、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助手段と、第2の操作が決定された後に、移動可能状態を解除する解除手段と、を備え、補助手段は、付加画像移動手段により移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ解除手段による移動可能状態の解除を禁止させる解除延長手段を含むAccording to an aspect of the present invention for achieving the above object, an image editing apparatus includes a display means capable of displaying an image, and a position detection means for detecting a position designated by a user on a display surface of the display means. Operation determination means for determining an operation by the user based on the detected position, a preview image display means for displaying the image of the data as a preview image on the display means, and an additional image for combining with the image of the data and additional image display means for displaying the unit, in response to the first operation is determined, and the movable state setting means for setting an additional image to the moving state movable in a display surface, a movable state In response to the second operation being determined while being set, the additional image is moved to the position detected by the position detection means at the time when the second operation in the display surface is determined. And additional image moving means, between a movable state, on the basis of the image to be arranged in the additional image and the preview image, an auxiliary means for assisting the user interaction, after the second operation is determined, the movable state And the auxiliary means, after the second operation is determined, when the additional image after being moved by the additional image moving means and the overlap prohibited area in the preview image do not overlap. It includes release extension means for inhibiting release of the movable state by the release means for a predetermined time .

この局面に従えば、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な状態に設定し、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で検出された位置に移動させ、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する。このため、付加画像をプレビュー画像中で移動させている最中にユーザーによる操作を補助するので、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集装置を提供することができる。また、移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ移動可能状態の解除が禁止されるので、第2の操作が決定されてから所定の時間の間は第1の操作をすることなく付加画像を移動させることができるので、付加画像の位置を決める操作を容易にすることができる。
この発明の他の局面によれば、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、検出された位置に基づいてユーザーによる操作を決定する操作決定手段と、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示手段と、データの画像に合成するための付加画像を表示手段に表示する付加画像表示手段と、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定手段と、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動手段と、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助手段と、移動可能状態の間、位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定手段と、プレビュー画像中の空白の空白領域であって、位置検出手段により検出された位置から決定された移動方向に配置され、位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定手段と、を備え、付加画像移動手段は、移動可能状態に設定されている間に位置検出手段により連続して位置が検出される場合、位置検出手段により位置が検出されるごとに検出された位置に付加画像を配置して表示手段に表示し、補助手段は、表示手段に表示される付加画像のサイズを、決定された候補領域のサイズに基づいて変更する。
この局面に従えば、移動可能状態の間、付加画像の移動方向を決定し、プレビュー画像中の空白の空白領域であって、検出された位置から移動方向に配置され、検出された位置からの距離が最短の空白領域を候補領域に決定し、付加画像のサイズを、候補領域のサイズに基づいて変更するので、プレビュー画像中で付加画像が配置される可能性の高い空白領域を候補領域に決定し、付加画像のサイズを候補領域に納まるサイズに変更することができる。このため、付加画像をプレビュー画像中で配置する操作を容易にすることができる。
According to this aspect, in response to the determination of the first operation, the additional image is set to be movable in the display surface, and the second operation is determined while being set to be movable. And the additional image is moved to the position detected at the time when the second operation in the display surface is determined, and the additional image and the image to be arranged in the preview image are in the movable state. Assist the user in the operation based on. For this reason, since the user's operation is assisted while moving the additional image in the preview image, it is possible to provide an image editing apparatus capable of facilitating the operation of determining the position where the additional image is to be arranged. Can. In addition, when the additional image after being moved and the overlap prohibited area in the preview image do not overlap, the release of the movable state is prohibited only for a predetermined time after the second operation is determined. Since the additional image can be moved without performing the first operation for a predetermined time after the operation of is determined, the operation of determining the position of the additional image can be facilitated.
According to another aspect of the present invention, the image editing apparatus includes display means capable of displaying an image, position detection means for detecting a position designated by the user on the display surface of the display means, and a detected position. Operation determination means for determining the operation by the user based on the preview image display means for displaying the data image as the preview image on the display means, and additional image display for displaying the additional image to be combined with the data image on the display means Means, movable state setting means for setting the additional image in the movable state in the display surface in response to the determination of the first operation, and setting of the additional image in the movable state; An additional image moving means for moving the additional image to a position detected by the position detection means when the second operation on the display surface is determined according to the determination of the second operation; During the state, based on the additional image and the image arranged in the preview image, at the two or more positions detected at different times by the position detecting means, the auxiliary means for assisting the user's operation and the movable state. Based on the movement direction determination means for determining the movement direction, and a blank area in the preview image, the blank area being disposed in the movement direction determined from the position detected by the position detection means and detected by the position detection means Candidate area determining means for determining a blank area having the shortest distance from the position as the candidate area, and the additional image moving means is continuously moved by the position detecting means while being set in the movable state. When it is detected, the additional image is arranged at the position detected each time the position is detected by the position detecting means and displayed on the display means, and the auxiliary means is displayed on the display means. The size of the image is changed based on the size of the determined candidate region.
According to this aspect, while in the movable state, the movement direction of the additional image is determined, and a blank space area in the preview image is disposed from the detected position in the movement direction and from the detected position. Since the blank area with the shortest distance is determined as the candidate area and the size of the additional image is changed based on the size of the candidate area, the blank area with high possibility of the additional image being arranged in the preview image is set as the candidate area It is possible to determine and change the size of the additional image to a size that fits in the candidate area. Therefore, the operation of arranging the additional image in the preview image can be facilitated.

好ましくは、第2の操作が決定された後に、移動可能状態を解除する解除手段を、さらに備え、補助手段は、付加画像移動手段により移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ解除手段による移動可能状態の解除を禁止させる解除延長手段を含む。
この局面に従えば、移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ移動可能状態の解除が禁止されるので、第2の操作が決定されてから所定の時間の間は第1の操作をすることなく付加画像を移動させることができるので、付加画像の位置を決める操作を容易にすることができる。
好ましくは、補助手段は、付加画像移動手段により移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重なる場合、解除手段による移動可能状態の解除を禁止させる解除禁止手段を含む。
Preferably, the apparatus further comprises release means for releasing the movable state after the second operation is determined, wherein the auxiliary means is configured to prevent the additional image after being moved by the additional image moving means and the overlap prohibited area in the preview image. And a release extension means for prohibiting release of the movable state by the release means for a predetermined time after the second operation is determined.
According to this aspect, when the additional image after being moved and the overlap prohibited area in the preview image do not overlap, the release of the movable state is prohibited for a predetermined time after the second operation is determined. Therefore, since the additional image can be moved without performing the first operation for a predetermined time after the second operation is determined, the operation of determining the position of the additional image can be facilitated.
Preferably, the auxiliary means includes release inhibiting means for inhibiting release of the movable state by the releasing means when the additional image after being moved by the additional image moving means and the overlap prohibited area in the preview image overlap.

この局面に従えば、移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重なる場合、移動可能状態の解除が禁止されるので、第1の操作をすることなく付加画像を移動させることができるので、付加画像をプレビュー画像中の重なり禁止領域と重ならない位置に配置する操作を容易にすることができる。   According to this aspect, when the additional image after being moved and the overlap prohibited area in the preview image overlap, since the release of the movable state is prohibited, the additional image is moved without performing the first operation. As a result, it is possible to facilitate the operation of arranging the additional image in a position not overlapping the non-overlapping area in the preview image.

好ましくは、解除延長手段は、プレビュー画像が拡大表示されている場合、所定の時間を長くする。   Preferably, the release extension means lengthens the predetermined time when the preview image is enlarged.

この局面に従えば、第2の操作が決定された後の移動可能状態の解除が禁止される時間が長くなるので、プレビュー画像が拡大表示されている場合における第2の操作が決定されてから第1の操作をすることなく付加画像を移動させることができる期間を長くすることができ、付加画像の位置を正確に定める場合の操作を容易にすることができる。   According to this aspect, since the time for which release of the movable state is prohibited after the second operation is determined is long, the second operation in the case where the preview image is enlarged and displayed is determined. The period in which the additional image can be moved without performing the first operation can be extended, and the operation in the case of accurately determining the position of the additional image can be facilitated.

好ましくは、位置検出手段により一度に検出される複数の位置に基づいて、指示された領域の指示面積を決定する指示面積決定手段を、さらに備え、解除延長手段は、付加画像の面積と決定された指示面積とに基づいて、所定の時間を決定する。   Preferably, the image processing apparatus further comprises designated area determination means for determining the designated area of the instructed area based on a plurality of positions detected at one time by the position detection means, and the release extension means is determined as the area of the additional image Based on the designated area, a predetermined time is determined.

この局面に従えば、一度に検出される複数の位置に基づいて、指示された領域の指示面積が決定され、付加画像の面積と指示面積とに基づいて所定の時間が決定される。ユーザーの指で付加画像の一部が隠れてしまい、付加画像を指示しながら付加画像のプレビュー画像中の位置の確認が困難になる場合における付加画像の位置を定める操作を容易にすることができる。   According to this aspect, the designated area of the designated area is determined based on the plurality of positions detected at one time, and the predetermined time is determined based on the area of the additional image and the designated area. It is possible to facilitate the operation of determining the position of the additional image when the user's finger hides part of the additional image and it becomes difficult to check the position of the additional image in the preview image while designating the additional image. .

好ましくは、重なり禁止領域は、プレビュー画像中の空白領域以外の領域を含む。   Preferably, the non-overlapping area includes an area other than the blank area in the preview image.

この局面に従えば、空白領域以外の領域を、重なり禁止領域とするので、付加画像がプレビュー画像中に配置された画像と重ならないようにすることができる。   According to this aspect, since the area other than the blank area is set as the non-overlap area, it is possible to prevent the additional image from overlapping the image arranged in the preview image.

好ましくは、プレビュー画像表示手段は、データが複数のページを含む場合、複数ページのいずれかの画像をプレビュー画像として表示手段の表示面に表示し、重なり禁止領域は、複数のページのすべてで空白となる共通空白領域以外の領域を含む。   Preferably, when the data includes a plurality of pages, the preview image display means displays one of the images of the plurality of pages as a preview image on the display surface of the display means, and the overlap prohibited area is blank in all of the plurality of pages. It includes areas other than the common blank area where

この局面に従えば、データが複数のページを含む場合、複数のページのすべてで空白となる共通空白領域以外の領域を重なり禁止領域とするので、複数ページすべてに付加画像を配置する場合において、付加画像が他の画像と重ならない位置に付加画像を配置する操作を容易にすることができる。   According to this aspect, when the data includes a plurality of pages, an area other than the common blank area, which is blank in all of the plurality of pages, is set as the overlap prohibited area. It is possible to facilitate the operation of arranging the additional image at a position where the additional image does not overlap with other images.

好ましくは、プレビュー画像表示手段は、画像を記録媒体に形成可能な画像形成装置によってデータの画像が記録媒体に形成される前に、プレビュー画像を表示し、重なり禁止領域は、画像形成装置による画像形成が不可能な印字不可領域を含む。   Preferably, the preview image display means displays the preview image before the image of the data is formed on the recording medium by the image forming apparatus capable of forming an image on the recording medium, and the overlap prohibited area is an image by the image forming apparatus. It includes unprintable areas that can not be formed.

この局面に従えば、画像形成装置による画像形成が不可能な印字不可領域を、重なり禁止領域とするので、画像形成可能な位置に付加画像を配置する操作を容易にすることができる。   According to this aspect, since the non-printable area in which image formation by the image forming apparatus can not be performed is set as the overlap prohibited area, the operation of arranging the additional image at the image formable position can be facilitated.

好ましくは、補助手段は、移動可能状態の間、プレビュー画像中で空白の領域であって、付加画像のサイズより大きな配置可能領域を示す輪郭画像をプレビュー画像に重畳して表示する輪郭画像表示手段を、含む。   Preferably, the auxiliary means is an outline image display means for displaying an outline image indicating a positionable area which is a blank area in the preview image and is larger than the size of the additional image while being movable, on the preview image. including.

この局面に従えば、移動可能状態の間、プレビュー画像中で空白の領域であって、付加画像のサイズより大きな配置可能領域を示す輪郭画像をプレビュー画像に重畳して表示する。このため、付加画像を配置可能な配置可能領域がプレビュー画像中で示されるので、ユーザーは、付加画像の位置を容易に定めることができる。   According to this aspect, while in the movable state, an outline image indicating a positionable area which is a blank area in the preview image and is larger than the size of the additional image is superimposed and displayed on the preview image. Therefore, since the locatable area in which the additional image can be arranged is shown in the preview image, the user can easily determine the position of the additional image.

好ましくは、プレビュー画像中で付加画像を配置するために予め定められた既定領域を検出する既定領域検出手段を、さらに備え、補助手段は、付加画像のサイズと既定領域のサイズとに基づいて、付加画像のサイズを変更する。   Preferably, the apparatus further comprises: a predetermined area detection means for detecting a predetermined area predetermined for arranging the additional image in the preview image, and the auxiliary means is based on the size of the additional image and the size of the predetermined area Change the size of the additional image.

この局面に従えば、付加画像を配置するために予め定められた既定領域を検出し、付加画像のサイズと既定領域のサイズとに基づいて、付加画像のサイズを変更するので、付加画像のサイズを既定領域に納まるサイズに変更することができる。このため、付加画像をプレビュー画像中で配置する操作を容易にすることができる。   According to this aspect, the size of the additional image is detected because the predetermined area determined in advance for arranging the additional image is detected, and the size of the additional image is changed based on the size of the additional image and the size of the predetermined area. Can be resized to fit within the default area. Therefore, the operation of arranging the additional image in the preview image can be facilitated.

好ましくは、補助手段は、付加画像とプレビュー画像中の画像とが重なる場合、付加画像と形状が同じで、付加画像と重なる画像の色の補色またはその同系色の候補画像を選択可能に表示する候補画像表示手段を、含む。   Preferably, when the additional image and the image in the preview image overlap, the auxiliary means selectively displays a candidate image of the complementary color of the color of the image overlapping with the additional image or having the same shape as that of the additional image. The candidate image display means is included.

この局面に従えば、付加画像とプレビュー画像中の画像とが重なる場合、付加画像と形状が同じで、付加画像と重なる画像の色の補色またはその同系色の候補画像を選択可能に表示するので、付加画像の色を変更する操作を容易にすることができる。   According to this aspect, when the additional image and the image in the preview image overlap, the candidate image having the same shape as the additional image and the complementary color of the color of the image overlapping the additional image or the similar color is displayed in a selectable manner. The operation of changing the color of the additional image can be facilitated.

この発明の他の局面によれば、画像編集方法は、画像編集装置で実行される画像編集方法であって、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、位置検出手段により検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示ステップと、データの画像に合成するための付加画像を表示手段に表示する付加画像表示ステップと、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動ステップと、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、第2の操作が決定された後に、移動可能状態を解除する解除ステップと、を含み、補助ステップは、付加画像移動ステップにおいて移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ解除ステップにおける移動可能状態の解除を禁止させる解除延長ステップを含む。 According to another aspect of the present invention, the image editing method is an image editing method executed by the image editing apparatus, and the image editing apparatus includes display means capable of displaying an image and a display surface of the display means. An operation determination step of determining an operation by the user based on the position detected by the position detection means, and position display means for detecting the position instructed by the user; and displaying an image of the data as a preview image on the display means Moving the additional image in the display surface according to the preview image display step of performing, the additional image display step of displaying on the display means an additional image to be combined with the data image, and the first operation being determined a movable state setting step of setting a movable state capable, in response to the second operation is determined during set in the movable state, displaying an additional image Based on the additional image moving step of moving to the position detected by the position detection means at the time when the second operation in the middle is determined, and the additional image and the image arranged in the preview image during the movable state. The auxiliary step for assisting the operation by the user, and the releasing step for releasing the movable state after the second operation is determined, the auxiliary step including the additional image after being moved in the additional image moving step When the overlap prohibition area in the preview image does not overlap, the release extension step is configured to prohibit release of the movable state in the release step for a predetermined time after the second operation is determined .

この局面に従えば、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集方法を提供することができる。
この発明のさらに他の局面によれば、画像編集方法は、画像編集装置で実行される画像編集方法であって、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示ステップと、データの画像に合成するための付加画像を表示手段に表示する付加画像表示ステップと、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動ステップと、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、移動可能状態の間、位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定ステップと、プレビュー画像中の空白の空白領域であって、位置検出手段により検出された位置から決定された移動方向に配置され、位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定ステップと、を含み、付加画像移動ステップは、移動可能状態に設定されている間に位置検出手段により連続して位置が検出される場合、位置検出手段により位置が検出されるごとに検出された位置に付加画像を配置して表示手段に表示するステップを含み、補助ステップは、表示手段に表示される付加画像のサイズを、決定された候補領域のサイズに基づいて変更するステップを含む。
According to this aspect, it is possible to provide an image editing method capable of facilitating the operation of determining the position where the additional image is to be arranged.
According to still another aspect of the present invention, the image editing method is an image editing method executed by the image editing device, and the image editing device includes display means capable of displaying an image, and a display surface of the display means. Operation detecting step of determining an operation by the user based on the detected position, and a preview image for displaying an image of the data as a preview image on the display means. A display step, an additional image display step for displaying an additional image to be combined with an image of the data on the display means, and a movable movement of the additional image on the display surface according to the determination of the first operation In the movable state setting step of setting to the possible state, and in response to the determination of the second operation while the movable state is set, the second image on the display surface is displayed. Assists the user's operation based on the additional image moving step of moving to the position detected by the position detection means when the operation is determined, and the additional image and the image arranged in the preview image during the movable state A moving direction determining step of determining the moving direction based on two or more positions detected at different times by the position detecting means during the movable state, and a blank space area in the preview image. And a candidate area determining step of determining a blank area located in the moving direction determined from the position detected by the position detecting means and having the shortest distance from the position detected by the position detecting means as a candidate area. In the additional image moving step, when the position detection means continuously detects the position while the movable state is set, the position detection means The step of arranging the additional image at the detected position every time the detection position is detected and displaying it on the display means, the auxiliary step comprises the step of determining the size of the additional image to be displayed on the display means of the determined candidate area. Includes changing based on size.

この発明のさらに他の局面によれば、画像編集プログラムは、画像編集装置を制御するコンピューターで実行される画像編集プログラムであって、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、位置検出手段により検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示ステップと、データの画像に合成するための付加画像を表示手段に表示する付加画像表示ステップと、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動ステップと、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、第2の操作が決定された後に、移動可能状態を解除する解除ステップと、をコンピューターに実行させ、補助ステップは、付加画像移動ステップにおいて移動された後の付加画像とプレビュー画像中の重なり禁止領域とが重ならない場合、第2の操作が決定された後の所定の時間だけ解除ステップにおける移動可能状態の解除を禁止させる解除延長ステップを含むAccording to still another aspect of the present invention, the image editing program is an image editing program executed by a computer that controls the image editing apparatus, and the image editing apparatus includes display means capable of displaying an image, and display means Operation detection step of determining an operation by the user based on the position detected by the position detection means; and a position detection means for detecting the position instructed by the user on the display surface of the image; As a preview image display step displayed on the display means as an image, an additional image display step displaying an additional image to be combined with the data image on the display means, and the first image being determined in response to the determination of the first operation. a movable state setting step of setting a movable state movable in the display surface, the second steering while being set on a movable state Moving the additional image to the position detected by the position detection means at the time when the second operation in the display surface is determined in response to the determination of Causing the computer to execute an assisting step for assisting the user's operation based on the image and the image arranged in the preview image, and a releasing step for releasing the movable state after the second operation is determined , In the auxiliary step, when the additional image after being moved in the additional image moving step and the overlap prohibited area in the preview image do not overlap, the movable state in the releasing step for a predetermined time after the second operation is determined. Includes a release extension step that prohibits release of the

この局面に従えば、付加画像を配置する位置を決定する操作を容易にすることが可能な画像編集プログラムを提供することができる。
この発明のさらに他の局面によれば、画像編集プログラムは、画像編集装置を制御するコンピューターで実行される画像編集プログラムであって、画像編集装置は、画像を表示可能な表示手段と、表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、データの画像をプレビュー画像として表示手段に表示するプレビュー画像表示ステップと、データの画像に合成するための付加画像を表示手段に表示する付加画像表示ステップと、第1の操作が決定されることに応じて、付加画像を表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、移動可能状態に設定されている間に第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点で位置検出手段により検出された位置に移動させる付加画像移動ステップと、移動可能状態の間、付加画像とプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、移動可能状態の間、位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定ステップと、プレビュー画像中の空白の空白領域であって、位置検出手段により検出された位置から決定された移動方向に配置され、位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定ステップと、をコンピューターに実行させ、付加画像移動ステップは、移動可能状態に設定されている間に位置検出手段により連続して位置が検出される場合、位置検出手段により位置が検出されるごとに検出された位置に付加画像を配置して表示手段に表示するステップを含み、補助ステップは、表示手段に表示される付加画像のサイズを、決定された候補領域のサイズに基づいて変更するステップを含む。
According to this aspect, it is possible to provide an image editing program capable of facilitating the operation of determining the position where the additional image is to be arranged.
According to still another aspect of the present invention, the image editing program is an image editing program executed by a computer that controls the image editing apparatus, and the image editing apparatus includes display means capable of displaying an image, and display means Operation detection step of determining an operation by the user based on the detected position, and an image of the data as a preview image on the display means. The preview image display step to be displayed, the additional image display step to display the additional image to be combined with the data image on the display means, and the additional image in the display surface according to the determination of the first operation. A movable state setting step of setting the movable state and a second operation being determined while the movable state is set. According to the additional image moving step of moving the additional image to the position detected by the position detection means at the time when the second operation in the display surface is determined, and in the movable state, arranged in the additional image and the preview image Determination of the movement direction based on two or more positions detected at different times by the position detection means during the movable state, and an auxiliary step for assisting the user's operation based on the selected image A step and a blank area in the preview image, the blank area being disposed in the moving direction determined from the position detected by the position detecting means, and the shortest distance from the position detected by the position detecting means The computer executes the candidate area determining step of determining the candidate area as the candidate area, and the additional image moving step performs position detection while being set in the movable state. In the case where the position is continuously detected by the means, including the step of arranging the additional image at the position detected each time the position is detected by the position detection means and displaying it on the display means, the auxiliary step includes Changing the size of the additional image to be displayed based on the size of the determined candidate area.

本発明の実施の形態の一つにおけるMFPの外観を示す斜視図である。FIG. 2 is a perspective view showing an appearance of the MFP in one of the embodiments of the present invention. MFPのハードウェア構成の概要を示すブロック図である。FIG. 2 is a block diagram showing an outline of a hardware configuration of an MFP. 操作パネルの平面図である。It is a top view of an operation panel. 本実施の形態におけるMFPが備えるCPUが有する機能の一例を示すブロック図である。FIG. 6 is a block diagram showing an example of functions of a CPU of the MFP in the present embodiment. プレビュー画面の一例を示す図である。It is a figure which shows an example of a preview screen. スタンプ選択画面の一例を示す図である。It is a figure which shows an example of a stamp selection screen. スタンプ設定画面の一例を示す図である。It is a figure which shows an example of a stamp setting screen. プレビュー画像の一例を模式的に示す図である。It is a figure which shows an example of a preview image typically. プレビュー画像中の画像を示す禁止領域の一例を示す図である。It is a figure which shows an example of the prohibition area which shows the image in a preview image. プレビュー画像中の印刷することのできない領域の禁止領域の一例を示す第1の図である。FIG. 10 is a first diagram illustrating an example of a prohibited area of a non-printable area in a preview image. プレビュー画像中の印刷することのできない領域の禁止領域の一例を示す第2の図である。It is a 2nd figure which shows an example of the prohibition area | region of the area | region which can not be printed in a preview image. 空白領域の枠が表示された状態のプレビュー画像の一例を示す図である。It is a figure which shows an example of the preview image of the state by which the frame of the blank area was displayed. 付加画像を指で指示した状態を示す図である。It is a figure which shows the state which designated the additional image with the finger. 本実施の形態における画像編集処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the image edit process in this Embodiment. 移動中処理の流れの一例を示すフローチャートである。It is a flow chart which shows an example of the flow of processing under movement. 移動中表示処理の流れの一例を示すフローチャートである。It is a flow chart which shows an example of a flow of display processing under movement. 延長時間決定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of extension time determination processing.

以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description about them will not be repeated.

図1は、本発明の実施の形態の一つにおけるMFPの外観を示す斜視図である。図2は、MFPのハードウェア構成の概要を示すブロック図である。図1および図2を参照して、画像編集装置として機能するMFP100は、メイン回路110と、原稿を読み取るための原稿読取部130と、原稿を原稿読取部130に搬送するための自動原稿搬送装置120と、原稿読取部130が原稿を読み取って出力する画像データに基づいて用紙等に画像を形成するための画像形成部140と、画像形成部140に用紙を供給するための給紙部150と、ユーザーインターフェースとしての操作パネル160とを含む。   FIG. 1 is a perspective view showing the appearance of an MFP according to an embodiment of the present invention. FIG. 2 is a block diagram showing an outline of the hardware configuration of the MFP. Referring to FIGS. 1 and 2, MFP 100 functioning as an image editing apparatus includes main circuit 110, an original reading unit 130 for reading an original, and an automatic original conveying apparatus for conveying an original to original reading unit 130. 120, an image forming unit 140 for forming an image on a sheet based on image data which the document reading unit 130 reads and outputs a document, and a sheet feeding unit 150 for supplying the sheet to the image forming unit 140 , And an operation panel 160 as a user interface.

メイン回路110は、MFP100の全体を制御するCPU111と、通信インターフェース(I/F)部112と、ROM113と、RAM114と、大容量記憶装置としてのハードディスクドライブ(HDD)115と、ファクシミリ部116と、外部記憶装置117と、を含む。CPU111は、自動原稿搬送装置120、原稿読取部130、画像形成部140、給紙部150および操作パネル160と接続され、MFP100の全体を制御する。   The main circuit 110 controls a whole of the MFP 100, a communication interface (I / F) unit 112, a ROM 113, a RAM 114, a hard disk drive (HDD) 115 as a mass storage device, and a facsimile unit 116. And an external storage device 117. The CPU 111 is connected to the automatic document feeder 120, the document reading unit 130, the image forming unit 140, the paper feeding unit 150, and the operation panel 160, and controls the entire MFP 100.

自動原稿搬送装置120は、原稿給紙トレイ上にセットされた複数枚の原稿を1枚ずつ自動的に原稿読取部130のプラテンガラス上に設定された所定の原稿読み取り位置まで搬送し、原稿読取部130により原稿画像が読み取られた原稿を原稿排紙トレイ上に排出する。原稿読取部130は、原稿読取位置に搬送されてきた原稿に光を照射する光源と、原稿で反射した光を受光する光電変換素子とを含み、原稿のサイズに応じた原稿画像を走査する。光電変換素子は、受光した光を電気信号である画像データに変換して、画像形成部140に出力する。給紙部150は、給紙トレイに収納された用紙を画像形成部140に搬送する。   The automatic document feeder 120 automatically conveys a plurality of documents set on the document feeding tray one by one to a predetermined document reading position set on the platen glass of the document reading unit 130 and reading the documents A document whose document image has been read by the unit 130 is discharged onto a document discharge tray. The document reading unit 130 includes a light source for irradiating light to the document conveyed to the document reading position, and a photoelectric conversion element for receiving light reflected from the document, and scans a document image according to the size of the document. The photoelectric conversion element converts the received light into image data which is an electric signal, and outputs the image data to the image forming unit 140. The sheet feeding unit 150 conveys the sheet stored in the sheet feeding tray to the image forming unit 140.

画像形成部140は、周知の電子写真方式により画像を形成するものであって、原稿読取部130から入力される画像データにシェーディング補正などの各種のデータ処理を施した、データ処理後の画像データまたは、外部から受信された画像データに基づいて、給紙部150により搬送される用紙に画像を形成する。   The image forming unit 140 forms an image by a known electrophotographic method, and image data after data processing in which various data processing such as shading correction is performed on the image data input from the document reading unit 130 Alternatively, an image is formed on the sheet conveyed by the sheet feeding unit 150 based on the image data received from the outside.

ファクシミリ部116は、公衆交換電話網(PSTN)に接続され、PSTNにファクシミリデータを送信する、またはPSTNからファクシミリデータを受信する。ファクシミリ部116は、受信したファクシミリデータを、HDD115に記憶するとともに、画像形成部140でプリント可能なプリントデータに変換して、画像形成部140に出力する。これにより、画像形成部140は、ファクシミリ部116により受信されたファクシミリデータを用紙に画像を形成する。また、ファクシミリ部116は、HDD115に記憶されたデータをファクシミリデータに変換して、PSTNに接続されたファクシミリ装置に送信する。   The facsimile unit 116 is connected to a public switched telephone network (PSTN), transmits facsimile data to the PSTN, or receives facsimile data from the PSTN. The facsimile unit 116 stores the received facsimile data in the HDD 115, converts the received facsimile data into print data printable by the image forming unit 140, and outputs the print data to the image forming unit 140. Thus, the image forming unit 140 forms an image on a sheet of facsimile data received by the facsimile unit 116. In addition, the facsimile unit 116 converts the data stored in the HDD 115 into facsimile data, and transmits the data to a facsimile apparatus connected to the PSTN.

通信I/F部112は、ネットワークにMFP100を接続するためのインターフェースである。通信I/F部112は、TCP(Transmission Control Protocol)またはFTP(File Transfer Protocol)等の通信プロトコルで、ネットワークに接続された他のコンピューターまたはデータ処理装置と通信する。なお、通信I/F部112が接続されるネットワークは、ローカルエリアネットワーク(LAN)であり、接続形態は有線または無線を問わない。またネットワークは、LANに限らず、ワイドエリアネットワーク(WAN)、公衆交換電話網(PSTN)、インターネット等であってもよい。   Communication I / F unit 112 is an interface for connecting MFP 100 to the network. The communication I / F unit 112 communicates with another computer or data processing apparatus connected to the network by a communication protocol such as TCP (Transmission Control Protocol) or FTP (File Transfer Protocol). The network to which the communication I / F unit 112 is connected is a local area network (LAN), and the connection form may be wired or wireless. The network is not limited to a LAN, and may be a wide area network (WAN), a public switched telephone network (PSTN), the Internet, or the like.

ROM113は、CPU111が実行するプログラム、またはそのプログラムを実行するために必要なデータを記憶する。RAM114は、CPU111がプログラムを実行する際の作業領域として用いられる。また、RAM114は、原稿読取部130から連続的に送られてくる読取画像を一時的に記憶する。   The ROM 113 stores a program executed by the CPU 111 or data necessary for executing the program. The RAM 114 is used as a work area when the CPU 111 executes a program. Further, the RAM 114 temporarily stores read images continuously sent from the document reading unit 130.

操作パネル160は、MFP100の上面に設けられる。操作パネル160は、表示部161と操作部163とを含む。表示部161は、例えば、液晶表示装置(LCD)であり、ユーザーに対する指示メニューや取得した画像データに関する情報等を表示する。なお、LCD165に代えて、画像を表示する装置であれば、例えば、有機EL(Electroluminescence)ディスプレイを用いることができる。   Operation panel 160 is provided on the top surface of MFP 100. Operation panel 160 includes a display unit 161 and an operation unit 163. The display unit 161 is, for example, a liquid crystal display (LCD), and displays an instruction menu for the user, information on acquired image data, and the like. Note that, in place of the LCD 165, for example, an organic EL (Electroluminescence) display can be used as long as it is an apparatus that displays an image.

操作部163は、タッチパネル165と、ハードキー部167とを含む。タッチパネル165は、静電容量方式である。なお、タッチパネル165は、静電容量方式に限らず、例えば、抵抗膜方式、表面弾性波方式、赤外線方式、電磁誘導方式等の他の方式を用いることができる。   Operation portion 163 includes touch panel 165 and hard key portion 167. The touch panel 165 is a capacitive type. The touch panel 165 is not limited to the electrostatic capacitance type, but may be another type such as a resistive film type, a surface acoustic wave type, an infrared type, or an electromagnetic induction type.

タッチパネル165は、その検出面が表示部161の上面または下面に表示部161に重畳して設けられる。ここでは、タッチパネル165の検出面のサイズと、表示部161の表示面のサイズとを同じにしている。このため、表示面の座標系と検出面の座標系は同じである。タッチパネル165は、ユーザーが、表示部161の表示面を指示する位置を検出面で検出し、検出した位置の座標をCPU111に出力する。表示面の座標系と検出面の座標系は同じなので、タッチパネル165が出力する座標を、表示面の座標に置き換えることができる。以下、ユーザーが表示部161の表示面を指示することによりタッチパネル165が検出面で検出して出力する座標を、表示面の座標ともいう。   The touch panel 165 is provided such that the detection surface thereof is superimposed on the display unit 161 on the upper surface or the lower surface of the display unit 161. Here, the size of the detection surface of the touch panel 165 and the size of the display surface of the display unit 161 are the same. For this reason, the coordinate system of the display surface and the coordinate system of the detection surface are the same. The touch panel 165 detects the position at which the user instructs the display surface of the display unit 161 on the detection surface, and outputs the coordinates of the detected position to the CPU 111. Since the coordinate system of the display surface and the coordinate system of the detection surface are the same, the coordinates output from the touch panel 165 can be replaced with the coordinates of the display surface. Hereinafter, the coordinates detected and output by the touch panel 165 on the detection surface when the user designates the display surface of the display unit 161 are also referred to as the coordinates of the display surface.

ハードキー部167は、複数のハードキーを含む。ハードキーは、例えば接点スイッチである。タッチパネル165は、表示部161の表示面中でユーザーにより指示された位置を検出する。ユーザーがMFP100を操作する場合は直立した姿勢となる場合が多いので、表示部161の表示面、タッチパネル165の操作面およびハードキー部167は、上方を向いて配置される。ユーザーが表示部161の表示面を容易に視認することができ、ユーザーが指で操作部163を容易に指示することができるようにするためである。   Hard key portion 167 includes a plurality of hard keys. The hard key is, for example, a contact switch. The touch panel 165 detects the position designated by the user on the display surface of the display unit 161. When the user operates the MFP 100, the display surface of the display unit 161, the operation surface of the touch panel 165, and the hard key unit 167 are arranged facing upward since the posture is often upright. This is to allow the user to easily view the display surface of the display unit 161 and to easily instruct the operation unit 163 with a finger.

外部記憶装置117は、CPU111により制御され、CD−ROM(Compact Disk Read Only Memory)118、または半導体メモリが装着される。本実施の形態においては、CPU111は、ROM113に記憶されたプログラムを実行する例を説明するが、CPU111は、外部記憶装置117を制御して、CD−ROM118からCPU111が実行するためのプログラムを読出し、読み出したプログラムをRAM102に記憶し、実行するようにしてもよい。   The external storage device 117 is controlled by the CPU 111, and a compact disk read only memory (CD-ROM) 118 or a semiconductor memory is mounted. In the present embodiment, an example in which the CPU 111 executes a program stored in the ROM 113 will be described. However, the CPU 111 controls the external storage device 117 to read a program to be executed by the CPU 111 from the CD-ROM 118 The read program may be stored in the RAM 102 and executed.

なお、CPU111が実行するためのプログラムを記憶する記録媒体としては、CD−ROM118に限られず、フレキシブルディスク、カセットテープ、光ディスク(MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、ICカード、光カード、マスクROM、EPROM(Erasable Programmable ROM)、EEPROM(Electrically EPROM)などの半導体メモリ等の媒体でもよい。さらに、CPU111がネットワークに接続されたコンピューターからプログラムをダウンロードしてHDD115に記憶する、または、ネットワークに接続されたコンピューターがプログラムをHDD115に書込みするようにして、HDD115に記憶されたプログラムをRAM114にロードしてCPU111で実行するようにしてもよい。ここでいうプログラムは、CPU111により直接実行可能なプログラムだけでなく、ソースプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含む。   The recording medium for storing the program to be executed by the CPU 111 is not limited to the CD-ROM 118, and a flexible disc, a cassette tape, an optical disc (Magnetic Optical Disc) / MD (Mini Disc) / DVD (Digital Versatile Disc) ), IC card, optical card, mask ROM, semiconductor memory such as EPROM (Erasable Programmable ROM), EEPROM (Electrically EPROM), etc. may be used. Furthermore, the CPU 111 downloads a program from a computer connected to the network and stores the program in the HDD 115, or a computer connected to the network writes the program to the HDD 115 and loads the program stored in the HDD 115 to the RAM 114 Then, the program may be executed by the CPU 111. The program referred to here includes not only a program directly executable by the CPU 111 but also a source program, a compressed program, an encrypted program and the like.

図3は、操作パネル160の平面図である。図3を参照して、操作パネル160は、表示部161と、表示部161に重畳して設けられたタッチパネル165と、表示部161の右側および下方に、スタートキー171、BOXキー173、COPYキー175およびFAXキー177を含む複数のハードキーが配置されたハードキー部167と、を含む。   FIG. 3 is a plan view of the operation panel 160. As shown in FIG. Referring to FIG. 3, operation panel 160 includes display portion 161, touch panel 165 superimposed on display portion 161, and start key 171, BOX key 173, and COPY key on the right and lower side of display portion 161. And a hard key portion 167 in which a plurality of hard keys including a 175 and a fax key 177 are arranged.

図4は、本実施の形態におけるMFPが備えるCPUが有する機能の一例を示すブロック図である。図4に示す機能は、MFP100が備えるCPU111が、ROM113、HDD115またはCD−ROM118に記憶された画像編集プログラムを実行することにより、CPU111により構成される機能である。図4を参照して、CPU111は、操作決定部31と、表示部161を制御する表示制御部33と、移動可能状態設定部35と、解除部37と、判定部39と、補助部41と、移動方向決定部43と、指示面積決定部45と、空白領域決定部47と、候補領域決定部49と、既定領域検出部51と、データの画像に付加画像を合成する合成画像生成部71と、画像形成部140を制御する画像形成制御部73と、を含む。   FIG. 4 is a block diagram showing an example of functions of the CPU of the MFP in the present embodiment. The function illustrated in FIG. 4 is a function configured by the CPU 111 when the CPU 111 included in the MFP 100 executes an image editing program stored in the ROM 113, the HDD 115, or the CD-ROM 118. Referring to FIG. 4, CPU 111 includes operation determining unit 31, display control unit 33 for controlling display unit 161, movable state setting unit 35, canceling unit 37, determination unit 39, and auxiliary unit 41. , A movement direction determination unit 43, a designated area determination unit 45, a blank area determination unit 47, a candidate area determination unit 49, a predetermined area detection unit 51, and a composite image generation unit 71 that combines the additional image with the data image. And an image forming control unit 73 that controls the image forming unit 140.

操作決定部31は、ユーザーの操作を受け付けるための操作画面の表示を、表示制御部33に指示し、ユーザーが操作画面に従って操作部163に入力する操作を決定する。具体的には、操作決定部31は、操作画面を識別するための画面識別情報を含む表示指示を表示制御部33に出力する。操作決定部31は、初期段階において、予め定められた操作画面の画面識別情報を含む表示指示を表示制御部33に出力する。初期段階は、例えば、MFP100に電源が投入された時、または、電力消費の少ないスリープ状態から復帰した時、等である。   The operation determination unit 31 instructs the display control unit 33 to display an operation screen for receiving a user's operation, and determines an operation input to the operation unit 163 by the user according to the operation screen. Specifically, the operation determining unit 31 outputs, to the display control unit 33, a display instruction including screen identification information for identifying the operation screen. At an initial stage, the operation determination unit 31 outputs a display instruction including screen identification information of a predetermined operation screen to the display control unit 33. The initial stage is, for example, when the MFP 100 is powered on or when it recovers from a sleep state where power consumption is low.

表示制御部33は、操作決定部31から表示指示が入力されることに応じて、表示指示に含まれる画面識別情報で特定される操作画面をHDD115から読出し、読み出された操作画面を、表示部161に表示する。   Display control unit 33 reads the operation screen specified by the screen identification information included in the display instruction from HDD 115 in response to the display instruction being input from operation determining unit 31, and displays the read operation screen. Displayed on the part 161.

操作決定部31は、タッチパネル165を制御する。操作決定部31は、表示制御部33に画面識別情報を出力した後に、タッチパネル165から座標が入力されることに応じて、タッチパネル165から入力される座標に基づいて、ユーザーによる操作を決定する。操作決定部31は、タッチパネル165から入力された座標に基づいて、操作画面中でユーザーにより指示された位置を特定する。具体的には、表示部161に表示されている操作画面の画像中でタッチパネル165から入力された座標によって特定される位置を、ユーザーにより指示された操作画面中の位置に変換することによって、操作を決定する。   The operation determination unit 31 controls the touch panel 165. After outputting the screen identification information to the display control unit 33, the operation determining unit 31 determines an operation by the user based on the coordinates input from the touch panel 165 in response to the coordinates being input from the touch panel 165. Operation determining unit 31 specifies the position designated by the user on the operation screen based on the coordinates input from touch panel 165. Specifically, an operation is performed by converting the position specified by the coordinates input from touch panel 165 in the image of the operation screen displayed on display portion 161 into the position in the operation screen instructed by the user. Decide.

操作決定部31は、操作画面中で特定された位置に対応する操作を決定する。例えば、操作画面が、処理の実行を指示する操作が割り当てられた実行指示ボタンを含む場合に、操作画面中でユーザーにより指示された位置がその実行指示ボタンの範囲内ならば、実行指示操作を特定する。   The operation determining unit 31 determines an operation corresponding to the position specified in the operation screen. For example, when the operation screen includes an execution instruction button to which an operation instructing the execution of processing is assigned, if the position instructed by the user in the operation screen is within the range of the execution instruction button, the execution instruction operation is Identify.

また、操作決定部31は、操作画面が、別の操作画面が割り当てられた遷移ボタンを含む場合に、操作画面中でユーザーにより指示された位置がその遷移ボタンの範囲内ならば、画面を遷移する操作を特定する。操作決定部31は、画面を遷移する操作を特定する場合、表示制御部33に遷移ボタンに割り当てられた操作画面の画面識別情報を含む表示指示を出力する。操作画面は、プレビュー画面を含む。プレビュー画面が割り当てられた遷移ボタンを操作画面が含む場合に、操作決定部31は、操作画面中でユーザーにより指示された位置が、プレビュー画面が割り当てられた遷移ボタンの範囲内ならば、プレビュー画面に遷移する操作を特定する。操作決定部31は、プレビュー画面に遷移する操作を特定する場合、表示制御部33にプレビュー画面の画面識別情報を含む表示指示を出力する。表示制御部33は、操作決定部31からプレビュー画面の画面識別情報を含む表示指示が入力されることに応じて、プレビュー画面を表示部161に表示する。   In addition, when the operation screen includes a transition button to which another operation screen is assigned, the operation determining unit 31 transitions the screen if the position designated by the user in the operation screen is within the range of the transition button. Identify the operation to be performed. When specifying the operation of transitioning the screen, the operation determining unit 31 outputs a display instruction including the screen identification information of the operation screen assigned to the transition button to the display control unit 33. The operation screen includes a preview screen. When the operation screen includes the transition button to which the preview screen is assigned, the operation determining unit 31 displays the preview screen if the position designated by the user in the operation screen is within the range of the transition button to which the preview screen is assigned. Identify the operation that transitions to When specifying the operation for transitioning to the preview screen, the operation determining unit 31 outputs a display instruction including the screen identification information of the preview screen to the display control unit 33. The display control unit 33 displays the preview screen on the display unit 161 in response to the display instruction including the screen identification information of the preview screen being input from the operation determination unit 31.

図5は、プレビュー画面の一例を示す図である。図5を参照して、プレビュー画面300は、プレビュー画像を表示するプレビュー領域301と、「スタンプ」の文字が表されたポップダウンボタン303と、「スタンプ設定」の文字が表されたポップアップボタン305と、遷移ボタン311〜316と、を含む。ポップアップボタン303は、スタンプ選択画面に関連付けられている。スタンプ選択画面は、ポップアップ画面であり、プレビュー画面に重畳して表示される。ポップアップボタン305は、スタンプ設定画面に関連付けられている。スタンプ設定画面は、ポップアップ画面であり、プレビュー画面に重畳して表示される。   FIG. 5 is a diagram showing an example of the preview screen. Referring to FIG. 5, preview screen 300 has a preview area 301 for displaying a preview image, a pop-down button 303 in which the characters “stamp” are displayed, and a pop-up button 305 in which the characters “stamp” are displayed. And transition buttons 311 to 316. The pop-up button 303 is associated with the stamp selection screen. The stamp selection screen is a pop-up screen, and is displayed superimposed on the preview screen. The pop-up button 305 is associated with the stamp setting screen. The stamp setting screen is a pop-up screen, and is displayed superimposed on the preview screen.

図6は、スタンプ選択画面の一例を示す図である。図6を参照して、スタンプ選択画面330は、スタンプの文字が表されたポップアップボタン303に関連付けられたポップアップ画面である。スタンプ選択画面330は、選択ボタン331〜338と、OKの文字が表された決定ボタン339と、を含む。選択ボタン331〜338は、複数のスタンプ画像のいずれかに関連付けられている。決定ボタン339は、スタンプ画像を決定するコマンドと、スタンプ選択画面330の表示を終了するコマンドとが関連付けられている。   FIG. 6 is a diagram showing an example of the stamp selection screen. Referring to FIG. 6, stamp selection screen 330 is a pop-up screen associated with pop-up button 303 in which the characters of the stamp are displayed. The stamp selection screen 330 includes selection buttons 331 to 338 and a determination button 339 in which the character of OK is displayed. The selection buttons 331 to 338 are associated with any of the plurality of stamp images. In the determination button 339, a command for determining a stamp image and a command for ending the display of the stamp selection screen 330 are associated.

図7は、スタンプ設定画面の一例を示す図である。図7を参照して、スタンプ設定画面は、スタンプ画像を合成するページを設定するためのページ設定ボタン351,352と、スタンプ画像のサイズを設定するためのサイズ設定ボタン353〜355と、OKの文字が表された決定ボタン359と、を含む。ページ設定ボタン351は、スタンプ画像を合成するページを全ページに設定するコマンドが関連付けられている。ページ設定ボタン352は、スタンプ画像を合成するページを最初のページに設定するコマンドが関連付けられている。サイズ設定ボタン353は、スタンプ画像のサイズを最も大きいサイズ「大」に設定するコマンドが関連付けられている。サイズ設定ボタン355は、スタンプ画像のサイズを最も小さいサイズ「小」に設定するコマンドが関連付けられている。サイズ設定ボタン354は、スタンプ画像のサイズを最も大きいサイズより小さく、最も小さいサイズより大きいサイズ「中」に設定するコマンドが関連付けられている。決定ボタン359は、スタンプ画像を合成するページとスタンプ画像のサイズとを決定するコマンドと、スタンプ設定画面350の表示を終了するコマンドとが関連付けられている。   FIG. 7 is a diagram showing an example of the stamp setting screen. Referring to FIG. 7, the stamp setting screen includes page setting buttons 351 and 352 for setting a page for combining stamp images, size setting buttons 353 to 355 for setting a stamp image size, and OK. And a decision button 359 in which the character is represented. The page setting button 351 is associated with a command to set a page for combining stamp images to all pages. The page setting button 352 is associated with a command for setting a page for combining stamp images as the first page. The size setting button 353 is associated with a command for setting the size of the stamp image to the largest size “large”. The size setting button 355 is associated with a command for setting the size of the stamp image to the smallest size “small”. A size setting button 354 is associated with a command for setting the size of the stamp image to “medium” which is smaller than the largest size and larger than the smallest size. The determination button 359 is associated with a command for determining the page on which the stamp image is to be synthesized and the size of the stamp image, and a command for ending the display of the stamp setting screen 350.

図4に戻って、表示制御部33は、プレビュー画像表示部53と、付加画像表示部55と、を含む。プレビュー画像表示部53は、表示部161にプレビュー画面300が表示されている状態で、処理対象に設定されているデータの画像をプレビュー画像としてプレビュー画面300のプレビュー領域301に表示する。処理対象に設定されているデータは、ユーザーにより処理対象に指定されたデータであり、原稿読取部120が原稿を読み取って出力する画像データ、HDD115に記憶されたデータを含む。HDD115に記憶されたデータは、ファクシミリ部116により受信されたファクシミリデータ、CPU111がアプリケーションプログラムを実行して生成したアプリケーションデータを含む。また、HDD115に記憶されたデータは、外部のコンピューターから受信されたデータを含む。プレビュー画像表示部53は、プレビュー画像とプレビュー画像の操作画面中の位置とを重なり判定部39および既定領域検出部51に出力する。   Returning to FIG. 4, the display control unit 33 includes a preview image display unit 53 and an additional image display unit 55. While the preview screen 300 is displayed on the display unit 161, the preview image display unit 53 displays an image of data set as a processing target in the preview area 301 of the preview screen 300 as a preview image. The data set as the processing target is data specified as the processing target by the user, and includes image data that the document reading unit 120 reads and outputs a document, and data stored in the HDD 115. The data stored in the HDD 115 includes facsimile data received by the facsimile unit 116 and application data generated by the CPU 111 executing an application program. Also, data stored in the HDD 115 includes data received from an external computer. The preview image display unit 53 outputs the preview image and the position of the preview image in the operation screen to the overlap determination unit 39 and the default area detection unit 51.

付加画像表示部55は、表示部161にプレビュー画面300が表示されている状態で、付加画像をプレビュー画面300に重畳して表示する。具体的には、付加画像表示部55は、スタンプ選択画面330が表示部161に表示されている状態で、操作決定部31により選択ボタン331〜338のいずれか、例えば選択ボタン331を指示する操作が決定されることに応じて、指示された選択ボタン331に関連付けられたスタンプ画像を付加画像に決定する。付加画像表示部55は、付加画像を決定した後、操作決定部31によってOKの文字が表された決定ボタン339を指示する操作が決定される場合、スタンプ選択画面330の表示を終了するとともに、付加画像を予め定められたサイズでプレビュー画面300に重畳して表示する。   While the preview screen 300 is displayed on the display unit 161, the additional image display unit 55 superimposes the additional image on the preview screen 300 and displays the superimposed image. Specifically, in the state where the stamp selection screen 330 is displayed on the display unit 161, the additional image display unit 55 performs an operation of instructing one of the selection buttons 331 to 338, for example, the selection button 331 by the operation determination unit 31. Is determined, the stamp image associated with the instructed selection button 331 is determined as the additional image. After the additional image display unit 55 determines the additional image, when the operation determination unit 31 determines an operation of instructing the determination button 339 representing the character of OK, the display of the stamp selection screen 330 ends, and The additional image is superimposed and displayed on the preview screen 300 in a predetermined size.

また、付加画像表示部55は、スタンプ画像を表示する際に、スタンプ設定画面350が表示部161に表示されている状態で、操作決定部31によりサイズ設定ボタン353〜355のいずれか、例えばサイズ設定ボタン351を指示する操作が決定されることに応じて、指示されたサイズ設定ボタン351に関連付けられたサイズに、スタンプ画像のサイズを決定する。付加画像表示部55は、付加画像のサイズを決定した後、操作決定部31によってOKの文字が表された決定ボタン359を指示する操作が決定される場合、スタンプ設定画面350の表示を終了するとともに、付加画像を決定されたサイズでプレビュー画面300に重畳して表示する。   In addition, when the additional image display unit 55 displays the stamp image, any one of the size setting buttons 353 to 355 by the operation determination unit 31, for example, the size, with the stamp setting screen 350 being displayed on the display unit 161. The size of the stamp image is determined to the size associated with the instructed size setting button 351 in response to the determination of the operation for instructing the setting button 351. After the size of the additional image is determined, the additional image display unit 55 ends the display of the stamp setting screen 350 when the operation determining unit 31 determines the operation of instructing the determination button 359 in which the character of OK is displayed. At the same time, the additional image is superimposed and displayed on the preview screen 300 at the determined size.

付加画像表示部55は、スタンプ設定画面350が表示部161に表示されている状態で、操作決定部31によりページ設定ボタン351を指示する操作が決定されることに応じて、スタンプ画像を合成するページを全ページに設定し、操作決定部31によりページ設定ボタン352を指示する操作が決定されることに応じて、スタンプ画像を合成するページを最初のページに設定する。   In the state where the stamp setting screen 350 is displayed on the display unit 161, the additional image display unit 55 combines the stamp image in response to the operation determining unit 31 determining the operation specifying the page setting button 351. A page is set to all pages, and in response to the operation determining unit 31 determining an operation to instruct the page setting button 352, a page on which a stamp image is to be combined is set to the first page.

プレビュー画像表示部53は、スタンプ画像を合成するページが最初のページに設定される場合であって、処理対象データに含まれる複数ページのうち第2ページ以降のページの画像をプレビュー画像として表示している場合は、付加画像表示部55により付加画像が表示されることに応じて、処理対象データに含まれる複数ページのうち先頭のページの画像をプレビュー画像として表示する。   The preview image display unit 53 displays, as a preview image, an image of pages subsequent to the second page among a plurality of pages included in the processing target data, in a case where the page to be composited with the stamp image is set to the first page. In the case where the additional image is displayed by the additional image display unit 55, the image of the first page among the plurality of pages included in the processing target data is displayed as a preview image.

操作決定部31は、表示部161に付加画像が表示されている状態で、第1の操作を決定する。第1の操作は、付加画像を選択する操作であり、ユーザーが指またはスタイラスペンで、付加画像を指示する操作である。ここでは、第1の操作を、ユーザーが指またはスタイラスペンで、付加画像を所定時間継続して指示する操作とする。操作決定部31は、表示部161に表示されている操作画面の画像中の付加画像の範囲内の座標が、タッチパネル165から所定時間継続して入力されることに応じて、第1の操作を決定する。操作決定部31は、第1の操作を決定することに応じて第1信号を移動可能状態設定部35に出力する。   The operation determination unit 31 determines the first operation in a state where the additional image is displayed on the display unit 161. The first operation is an operation of selecting an additional image, and is an operation in which the user designates the additional image with a finger or a stylus pen. Here, the first operation is an operation in which the user continuously designates the additional image for a predetermined time with a finger or a stylus pen. Operation determination unit 31 performs the first operation in response to the coordinates within the range of the additional image in the image of the operation screen being displayed on display unit 161 being continuously input from touch panel 165 for a predetermined time. decide. The operation determination unit 31 outputs the first signal to the movable state setting unit 35 in response to the determination of the first operation.

移動可能状態設定部35は、操作決定部31から第1信号が入力されることに応じて、移動可能状態に設定する。移動可能状態設定部35は、移動可能状態に設定している間、付加画像表示部55および操作決定部31に移動可能状態であることを示す状態信号を出力する。   The movable state setting unit 35 sets the movable state in response to the input of the first signal from the operation determination unit 31. The movable state setting unit 35 outputs a state signal indicating the movable state to the additional image display unit 55 and the operation determination unit 31 while the movable state is set.

操作決定部31は、移動可能状態に設定されている状態で、付加画像の移動先の位置を決定する第2の操作を決定する。第2の操作は、ユーザーが指またはスタイラスペンで、付加画像の移動先の位置を指示する操作である。操作決定部31は、第2の操作を決定することに応じて第2信号を解除部37に出力する。   The operation determination unit 31 determines a second operation for determining the position of the movement destination of the additional image in the state in which the movement is enabled. The second operation is an operation in which the user uses a finger or a stylus to indicate the position of the movement destination of the additional image. Operation determining unit 31 outputs the second signal to canceling unit 37 in response to determining the second operation.

<ドラッグアンドドロップ操作の場合>
第2の操作は、移動可能状態に設定されている間に、ユーザーが指またはスタイラスペンで指示している付加画像の指示を終了する操作である。例えば、ユーザーが指またはスタイラスペンで付加画像を所定時間指示した段階で、第1の操作が決定される。その後、指またはスタイラスペンで指示を継続しながら、換言すれば、表示部161の表示面に接触した状態を維持しながら表示部161の表示面を移動させた後、指またはスタイラスペンを表示面から離す操作を第2の操作とすることができる。操作決定部31は、移動可能状態に設定された後に、タッチパネル165から入力されていた座標が入力されなくなると、第2の操作を決定する。
<In the case of drag and drop operation>
The second operation is an operation of ending the instruction of the additional image indicated by the user with a finger or a stylus pen while being set in the movable state. For example, when the user designates an additional image for a predetermined time with a finger or a stylus pen, the first operation is determined. Thereafter, while the instruction is continued with the finger or the stylus pen, in other words, after the display surface of the display unit 161 is moved while maintaining the state in contact with the display surface of the display unit 161, the finger or the stylus pen The operation of releasing from can be the second operation. The operation determining unit 31 determines the second operation when the coordinates input from the touch panel 165 are not input after being set in the movable state.

<タップ操作の場合>
第2の操作は、移動可能状態に設定されている間に、ユーザーが指またはスタイラスペンで操作画面中の位置を指示する操作である。ユーザーが指またはスタイラスペンで付加画像を所定時間指示した段階で、第1の操作が決定され、移動可能状態に設定される。移動可能状態に設定された後、指またはスタイラスペンを表示部161の表示面から離し、次に指またはスタイラスペンで操作画面中の位置を指示する操作を第2の操作とすることができる。操作決定部31は、移動可能状態に設定された後に、タッチパネル165から入力されていた座標が入力されなくなり、その後、タッチパネル165から座標が入力されることに応じて、第2の操作を決定する。
<In case of tap operation>
The second operation is an operation in which the user designates a position in the operation screen with a finger or a stylus pen while being set in the movable state. When the user designates an additional image with a finger or a stylus for a predetermined time, the first operation is determined and set to be movable. After being set in the movable state, an operation of releasing a finger or a stylus pen from the display surface of the display portion 161 and then instructing a position in the operation screen with the finger or the stylus pen can be set as a second operation. After being set in the movable state, the operation determining unit 31 does not receive the coordinates input from the touch panel 165, and thereafter determines the second operation in response to the coordinates being input from the touch panel 165. .

なお、第1の操作および第2の操作は、上述した操作に限らず、操作画面中でユーザーが指示する位置、指示する時間等を組み合わせることによって他の操作と区別可能な操作としてもよい。以下の説明では、ドラッグアンドドロップ操作を用いて第2の操作を決定する場合を例に説明する。   The first operation and the second operation are not limited to the above-described operation, and may be an operation distinguishable from other operations by combining the position instructed by the user on the operation screen, the instructed time, and the like. In the following description, the case of determining the second operation using a drag and drop operation will be described as an example.

解除部37は、操作決定部31から第2信号が入力されることに応じて、後述する補助部41によって禁止信号または延長信号が入力されていないことを条件に、移動可能状態を解除する。解除部37は、移動可能状態を解除することに応じて、付加画像表示部55および操作決定部31に移動可能状態を解除したことを示す状態信号を出力する。   In response to the second signal being input from the operation determination unit 31, the release unit 37 releases the movable state on the condition that the prohibition signal or the extension signal is not input by the auxiliary unit 41 described later. The releasing unit 37 outputs a state signal indicating that the movable state is released to the additional image display unit 55 and the operation determining unit 31 in response to releasing the movable state.

付加画像表示部55は、付加画像移動部57を含む。付加画像移動部57は、移動可能状態に設定されている間は、付加画像をタッチパネル165が出力する座標で特定される操作画面中の位置に移動させる。また、付加画像移動部57は、操作決定部31によって第2の操作が決定されることに応じて、付加画像を表示面中の第2の操作が決定される時点でタッチパネル165が出力する座標で特定される操作画面中の位置に移動させる。付加画像表示部55は、付加画像を移動させる場合、付加画像と、移動後の付加画像の操作画面中の位置を、重なり判定部39および移動方向決定部43に出力する。   The additional image display unit 55 includes an additional image moving unit 57. While being set in the movable state, the additional image moving unit 57 moves the additional image to a position in the operation screen specified by the coordinates output by the touch panel 165. In addition, the additional image moving unit 57 outputs coordinates of the additional image at the time when the second operation on the display surface is determined in response to the second operation being determined by the operation determining unit 31. Move to the position in the operation screen specified by. When moving the additional image, the additional image display unit 55 outputs the position of the additional image and the position of the additional image after movement in the operation screen to the overlap determination unit 39 and the movement direction determination unit 43.

重なり判定部39は、プレビュー画像表示部53からプレビュー画像とプレビュー画像の操作画面中の位置が入力され、付加画像表示部55から付加画像と、付加画像の操作画面中の位置と、が入力される。重なり判定部39は、付加画像とプレビュー画像内の禁止領域との重なりを判定する。禁止領域は、プレビュー画像に配置される画像が表された矩形の領域を含む。換言すれば、禁止領域は、プレビュー画像の空白以外の矩形の領域を含む。重なり判定部39は、プレビュー画像を二値化し、値が「1」になる画素を含む矩形の領域を、画像が表された領域に決定する。例えば、プレビュー画像を縦方向に走査して値が「1」になる画素が少なくとも1つ存在する位置から値が「1」になる画素が存在しなくなるまでの位置との間の長さを縦方向の長さとし、プレビュー画像を横方向に走査して値が「1」になる画素が少なくとも1つ存在する位置から値が「1」になる画素が存在しなくなるまでの位置との間の長さを横方向の長さとする矩形の領域を、画像が表された矩形の領域に決定する。なお、縦方向の位置が同じで、横方向の位置が異なる複数の領域が画像が表された矩形の領域とされる場合があり、横方向の位置が同じで、縦方向の位置が異なる複数の領域が画像が表された矩形の領域とされる場合がある。   The overlap determination unit 39 receives the preview image and the position of the preview image in the operation screen from the preview image display unit 53, and the additional image from the additional image display unit 55 and the position in the operation screen of the additional image. Ru. The overlap determination unit 39 determines the overlap between the additional image and the prohibited area in the preview image. The prohibited area includes a rectangular area in which the image to be arranged in the preview image is represented. In other words, the prohibited area includes a non-blank rectangular area of the preview image. The overlap determination unit 39 binarizes the preview image, and determines a rectangular area including pixels whose value is “1” as an area in which the image is displayed. For example, the length between the position where there is at least one pixel with a value of “1” and the position where there is no pixel with a value of “1” will be Length in the direction, and the length between the position where the preview image is scanned in the horizontal direction and there is at least one pixel with a value of "1" to the position where there is no pixel with a value of "1" A rectangular area having a length in the horizontal direction is determined as the rectangular area in which the image is represented. Note that there are cases where a plurality of areas with the same position in the vertical direction but different positions in the horizontal direction may be considered as rectangular areas representing images, and a plurality of regions with the same horizontal position but different positions in the vertical direction. The region of may be a rectangular region in which the image is represented.

また、禁止領域は、プレビュー画像中で、画像形成部140が印字することのできない領域を含む。画像形成部140が印字することのできない領域は、プレビュー画像の端から所定の長さの領域である。また、画像形成部140が印字することのできない領域は、プレビュー画像が、複数のページを合成した画像の場合、例えば、プレビュー画像が2ページを1つに合成した画像の場合、複数のページごとに端から所定の長さの領域を含む。   In addition, the prohibited area includes an area in the preview image where the image forming unit 140 can not print. The area which can not be printed by the image forming unit 140 is an area of a predetermined length from the end of the preview image. Further, in the area where the image forming unit 140 can not print is, in the case where the preview image is an image obtained by combining a plurality of pages, for example, in the case where the preview image is an image obtained by combining two pages, Includes an area of a predetermined length from the end.

重なり判定部39は、スタンプ画像を合成するページが最初のページに設定されている場合、付加画像がプレビュー画像中の禁止領域と重なるか否かを判断する。重なり判定部39は、付加画像の少なくとも一部が、禁止領域の少なくとも一部と重なる場合、両者が重なると判断する。重なり判定部39は、付加画像と禁止領域とが重なると判断する場合、補助部41に重なりが発生していることを示す重なり信号を出力する。   When the page to be combined with the stamp image is set to the first page, the overlap determination unit 39 determines whether the additional image overlaps the prohibited area in the preview image. When at least a part of the additional image overlaps with at least a part of the prohibited area, the overlap determination unit 39 determines that both overlap. When the overlap determination unit 39 determines that the additional image and the prohibited area overlap, the overlap determination unit 39 outputs an overlap signal indicating that the auxiliary unit 41 is overlapping.

また、重なり判定部39は、スタンプ画像を合成するページが全ページに設定されている場合、付加画像が処理対象となるデータに含まれる複数のページそれぞれの画像中の禁止領域と重なるか否かを判断する。重なり判定部39は、複数ページごとに禁止領域を決定し、付加画像の少なくとも一部が、複数のページのいずれかの禁止領域の少なくとも一部と重なる場合、付加画像が処理対象となるデータに含まれる複数のページそれぞれの画像中の禁止領域と重なると判断する。重なり判定部39は、付加画像が複数のページそれぞれの禁止領域のいずれかと重なると判断する場合、補助部41に重なりが発生していることを示す重なり信号を出力する。   Further, when the page to be composited with the stamp image is set to all pages, the overlap determination unit 39 determines whether the additional image overlaps the prohibited area in each of the plurality of pages included in the data to be processed. To judge. The overlap determination unit 39 determines a prohibited area for each of a plurality of pages, and when at least a part of the additional image overlaps with at least a part of any of the prohibited areas of a plurality of pages, the additional image becomes data to be processed. It is determined to overlap with the prohibited area in the image of each of the plurality of included pages. When it is determined that the additional image overlaps with any of the prohibited areas of each of the plurality of pages, the overlap determination unit 39 outputs an overlap signal indicating that the auxiliary unit 41 has an overlap.

空白領域決定部47は、プレビュー画像中で画像が表されていない矩形の領域を空白領域に決定する。プレビュー画像中で画像が表されていない領域は、プレビュー画像を二値化して、値が「0」になる画素の集合として検出することができる。例えば、プレビュー画像を縦方向に走査して値が「0」になる画素が少なくとも1つ存在する位置から値が「0」になる画素が存在しなくなるまでの位置との間の長さを縦方向の長さとし、プレビュー画像を横方向に走査して値が「0」になる画素が少なくとも1つ存在する位置から値が「0」になる画素が存在しなくなるまでの位置との間の長さを横方向の長さとする矩形の領域を、空白領域に決定する。なお、縦方向の位置が同じで、横方向の位置が異なる複数の領域が空白領域とされる場合があり、横方向の位置が同じで、縦方向の位置が異なる複数の領域が空白領域とされる場合がある。空白領域決定部47は、決定された1以上空白領域それぞれのプレビュー画像中の位置を示す空白領域情報を補助部41および候補領域決定部49に出力する。なお、空白領域を、そのサイズが、付加画像のサイズよりも大きなサイズにするようにしてもよい。付加画像のサイズを異ならせることなく配置することが可能な空白の領域を空白領域とすることができる。   The blank area determination unit 47 determines a rectangular area in which the image is not represented in the preview image as a blank area. An area where an image is not represented in the preview image can be detected as a set of pixels whose value becomes “0” by binarizing the preview image. For example, the length between the position where there is at least one pixel with a value of “0” and the position where there is no pixel with a value of “0” will be The length in the direction, and the length between the position where there is at least one pixel with a value of “0” and the position where there is no pixel with a value of “0”, by scanning the preview image in the horizontal direction A rectangular area having a length in the horizontal direction is determined as a blank area. A plurality of areas having the same position in the vertical direction but different positions in the horizontal direction may be blank areas, and a plurality of areas having the same position in the horizontal direction but different positions in the vertical direction may be blank areas. May be The blank area determination unit 47 outputs blank area information indicating the positions of the determined one or more blank areas in the preview image to the auxiliary unit 41 and the candidate area determination unit 49. The blank area may have a size larger than the size of the additional image. A blank area can be a blank area that can be arranged without making the size of the additional image different.

移動方向決定部43は、付加画像の移動方向を決定する。移動方向決定部43は、付加画像の操作画面中の位置が付加画像移動部57から入力される。移動方向決定部43は、異なる時刻における付加画像の操作画面中の位置から付加画像の移動前の位置と移動方向を決定する。具体的には、移動方向決定部43は、第1の時刻における付加画像の操作画面中の位置と、第1の時刻より後の第2の時刻における付加画像の操作画面中の位置とから第1の時刻から第2の時刻に付加画像が移動した方向を決定し、第1の時刻における付加画像の操作画面中の位置と決定した移動方向とを、候補領域決定部49に出力する。   The movement direction determination unit 43 determines the movement direction of the additional image. The movement direction determination unit 43 receives the position of the additional image in the operation screen from the additional image movement unit 57. The movement direction determination unit 43 determines the position and movement direction of the additional image before the movement based on the position in the operation screen of the additional image at different times. Specifically, movement direction determination unit 43 determines the position of the additional image at the first time in the operation screen and the position of the additional image at the second time after the first time in the operation screen. The direction in which the additional image has moved from time 1 to the second time is determined, and the position in the operation screen of the additional image at the first time and the determined moving direction are output to the candidate area determination unit 49.

候補領域決定部49は、空白領域決定部47から1以上の空白領域それぞれの空白領域情報が入力され、移動方向決定部43から付加画像の操作画面中の位置および移動方向が入力される。候補領域決定部49は、1以上の空白領域のうちから1つを候補領域に決定する。操作画面中で1以上の空白領域それぞれの位置を特定し、1以上の空白領域のうち付加画像の操作画面中の位置から移動方向に存在し、付加画像から最も距離の短い空白領域を候補領域に決定する。候補領域決定部49は、候補領域の空白領域情報を補助部41に出力する。   The candidate area determination unit 49 receives blank area information of each of the one or more blank areas from the blank area determination unit 47, and receives from the movement direction determination unit 43 the position and movement direction of the additional image on the operation screen. The candidate area determination unit 49 determines one of the one or more blank areas as a candidate area. Specify the position of each one or more blank areas in the operation screen, and exist in the moving direction from the position in the operation screen of the additional image among the one or more blank areas, and select the blank area with the shortest distance from the additional image as a candidate area Decide on. The candidate area determination unit 49 outputs the blank area information of the candidate area to the auxiliary unit 41.

指示面積決定部45は、ユーザーの指がタッチパネル165に触れる面積を決定する。ユーザーの指がタッチパネル165に触れる面積を指示面積という。指示面積決定部45は、タッチパネル165を制御して、タッチパネル165が同時に検出する複数の座標から指示面積を決定する。指示面積決定部45は、決定された指示面積を補助部41に出力する。   The designated area determination unit 45 determines the area of the touch of the user's finger on the touch panel 165. The area where the user's finger touches the touch panel 165 is referred to as a designated area. The designated area determination unit 45 controls the touch panel 165 to determine the designated area from a plurality of coordinates simultaneously detected by the touch panel 165. The designated area determination unit 45 outputs the determined designated area to the auxiliary unit 41.

既定領域検出部51は、プレビュー画像表示部53からプレビュー画像とプレビュー画像の操作画面中の位置とが入力される。既定領域検出部51は、付加画像が予め定められた既定画像の場合、プレビュー画像を解析して、プレビュー画像中で既定画像に対応する既定領域を検出する。既定画像は、合成する画像によって配置される位置が定まるスタンプ画像である。ここでは、既定画像を、印鑑またはサインの画像としている。既定領域は、スタンプ画像を配置するために画像によって定められた領域である。例えば、既定領域は、印鑑の画像であるスタンプ画像に対して押印する領域、サインの画像であるスタンプ画像に対してサインするための領域である。この場合、印鑑の画像であるスタンプ画像、またはサインの画像であるスタンプ画像に対応する領域は、その領域またはその領域の近傍に「印」、「署名」または「サイン」の等の文字列を含む場合がある。既定領域検出部51は、プレビュー画像を文字認識し、「印」、「署名」または「サイン」の文字列がプレビュー画像に含まれるか否かを判断する。既定領域検出部51は、プレビュー画像が「印」、「署名」または「サイン」の文字列を含むと判断する場合、プレビュー画像中で文字または画像が表されていない空白領域のうち、プレビュー画像中で「印」、「署名」または「サイン」の文字列が表された位置から最も近い空白領域を既定領域として検出する。また、氏名の横などの近傍に、印鑑の画像であるスタンプ画像、またはサインの画像であるスタンプ画像に対応する領域が配置される場合がある。既定領域検出部51は、プレビュー画像を文字認識し、ユーザーの氏名の文字列がプレビュー画像に含まれるか否かを判断する。既定領域検出部51は、プレビュー画像がユーザーの氏名の文字列を含むと判断する場合、プレビュー画像中で文字または画像が表されていない空白領域のうち、プレビュー画像中でユーザーの氏名の文字列が表された位置から最も近い空白領域を既定領域として検出する。既定領域検出部51は、既定領域を検出する場合、既定領域の空白領域情報を補助部41に出力する。   The default area detection unit 51 receives the preview image and the position of the preview image on the operation screen from the preview image display unit 53. When the additional image is a predetermined default image, the default area detection unit 51 analyzes the preview image to detect a default area corresponding to the default image in the preview image. The default image is a stamp image in which the position to be arranged is determined by the image to be synthesized. Here, the default image is an image of a seal or a signature. The default area is an area defined by the image to arrange the stamp image. For example, the predetermined area is an area to be stamped on a stamp image that is an image of a seal stamp, and an area to sign on a stamp image that is an image of a signature. In this case, a stamp image which is an image of a seal stamp or an area corresponding to a stamp image which is an image of a signature is a character string such as “mark”, “signature” or “sign” in the area or in the vicinity of the area. May be included. The default area detection unit 51 character-recognizes the preview image, and determines whether a character string of “mark”, “signature” or “sign” is included in the preview image. When the default area detection unit 51 determines that the preview image includes the character string of “mark”, “signature” or “sign”, the preview image is one of the blank areas in which no character or image is represented in the preview image. The nearest blank area is detected as the default area from the position at which the character string "sign", "signature" or "signature" is represented. Further, there may be a case where a stamp image which is an image of a seal stamp or an area corresponding to a stamp image which is an image of a signature is arranged in the vicinity of the side of a name or the like. The default area detection unit 51 performs character recognition on the preview image, and determines whether the character string of the user's name is included in the preview image. When the default area detection unit 51 determines that the preview image includes the character string of the user's name, the character string of the user's name in the preview image among the blank regions in which no character or image is represented in the preview image The nearest blank area from the position where is represented is detected as a default area. The default area detection unit 51 outputs the blank area information of the default area to the auxiliary unit 41 when detecting the default area.

補助部41は、移動可能状態に設定されている間、付加画像のサイズとプレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する。補助部41は、候補画像表示部61と、解除禁止部63と、解除延長部65と、輪郭画像表示部67と、サイズ変更部69と、を含む。   The auxiliary unit 41 assists the user's operation based on the size of the additional image and the image arranged in the preview image while being set in the movable state. The auxiliary unit 41 includes a candidate image display unit 61, a release prohibition unit 63, a release extension unit 65, an outline image display unit 67, and a size change unit 69.

候補画像表示部61に重なり判定部39から重なり信号が入力される場合は、付加画像がプレビュー画像に配置された画像と重なる場合である。候補画像表示部61は、重なり判定部39から重なり信号が入力される場合、付加画像が画像との重なりが許可されている場合は、付加画像と形状が同じで、色が異なる1以上の候補画像を選択可能に表示部161に表示されている操作画面に重畳して表示する。候補画像の色は、プレビュー画像中で付加画像が重なる位置の色の補色または補色に近似する色であることが好ましい。これにより、付加画像がプレビュー画像中の画像と重なる場合であっても、付加画像をプレビュー画像と区別してプレビュー画像と合成することができる。   When the overlap signal is input from the overlap determination unit 39 to the candidate image display unit 61, the additional image overlaps with the image arranged in the preview image. In the candidate image display unit 61, when an overlap signal is input from the overlap determination unit 39, one or more candidates having the same shape as the additional image and having a different color when overlap with the image is permitted. The image is superimposed and displayed on the operation screen displayed on the display unit 161 in a selectable manner. The color of the candidate image is preferably a complementary color of the color at the position where the additional image overlaps in the preview image or a color close to the complementary color. Thus, even when the additional image overlaps the image in the preview image, the additional image can be distinguished from the preview image and synthesized with the preview image.

解除禁止部63は、重なり判定部39から重なり信号が入力される場合、解除部37による移動可能状態の解除を禁止するために、解除部37に禁止信号を出力する。解除禁止部63は、重なり判定部39から重なり信号が入力されている間、解除部37に禁止信号を出力する。解除部37は、操作決定部31から第2信号が入力された時点で、解除禁止部63から禁止信号が入力されている場合は、移動可能状態を解除しない。解除部37による移動可能状態の解除を禁止すると、ユーザーが付加画像から指を離す第2の操作を入力した時点で、移動可能状態が維持されるので、移動可能状態に設定するための第1の操作を入力する必要がなく、付加画像を移動させる操作を直ちに入力することができる。   When the overlap signal is input from the overlap determination unit 39, the release prohibition unit 63 outputs a prohibition signal to the release unit 37 in order to prohibit the release of the movable state by the release unit 37. The release prohibition unit 63 outputs a prohibition signal to the release unit 37 while the overlap signal is input from the overlap determination unit 39. When the release signal is input from the release prohibition unit 63 when the second signal is input from the operation determination unit 31, the release unit 37 does not release the movable state. If the release of the movable state by the release unit 37 is prohibited, the movable state is maintained when the user inputs a second operation to release the finger from the additional image, so the first state for setting the movable state is performed. It is not necessary to input the operation of and it is possible to immediately input the operation of moving the additional image.

解除延長部65は、重なり判定部39から重なり信号が入力されない場合、解除の延長が設定されている場合は、解除部37による移動可能状態の解除を第1の期間延長するために、解除部37に第1の延長信号を出力する。解除の延長の設定は、ユーザーがMFP100に予め設定することにより設定される。また、付加画像に、重なりを許可または不許可を示す属性を付与し、属性が重なりを不許可に設定されている場合に、解除の延長を設定するようにしてもよい。解除部37は、第1の延長信号が入力される場合、操作決定部31から第2信号が入力されてから第1の期間が経過すると、移動可能状態を解除する。移動可能状態の解除を第1の期間延長すると、ユーザーが付加画像から指を離す第2の操作を入力した時点で、付加画像の位置が決定されるとともに、移動可能状態が第1の期間だけ維持される。ユーザーが第2の操作を入力した時点における付加画像の位置が、ユーザーが所望する位置と異なる場合があるが、第2の操作を入力してから第1の期間だけ移動可能状態が維持されるので、第1の操作を入力する必要がなく、付加画像を移動させる操作を直ちに入力することができる。   The release extension unit 65 is a release unit for extending the release of the movable state by the release unit 37 for a first period when the extension of release is set when the overlap signal is not input from the overlap determination unit 39. The first extension signal is output to 37. The setting of extension of cancellation is set by the user setting in MFP 100 in advance. Further, an attribute indicating permission or non-permission of overlap may be added to the additional image, and extension of release may be set when the attribute is set to be non-permission of overlap. When the first extension signal is input, the release unit 37 releases the movable state when the first period elapses after the second signal is input from the operation determination unit 31. When the release of the movable state is extended for a first period, the position of the additional image is determined when the user inputs a second operation for releasing the finger from the additional image, and the movable state is only for the first period. Maintained. Although the position of the additional image at the time when the user inputs the second operation may be different from the position desired by the user, the movable state is maintained for only the first period after the input of the second operation Therefore, there is no need to input the first operation, and an operation to move the additional image can be immediately input.

解除延長部65は、指示面積決定部45から指示面積が入力される。解除延長部65は、付加画像の面積に占める指示面積の割合が所定のしきい値以上の場合に、解除部37による移動可能状態の解除を第2の期間延長するために、第2の延長信号を出力する。限定するものではないが、第2の期間は第1の期間より長くするのが好ましい。付加画像の面積に占める指示面積の割合が所定のしきい値以上の場合は、付加画像を移動させる操作をするユーザーの指で付加画像の一部が隠れてしまうため、付加画像を移動させる操作をしている間は付加画像の位置を正確に確認することができない場合がある。このため、付加画像の位置を確認するための期間として第2の期間を確保することにより、付加画像の位置を決定するための操作を容易にすることができる。   The release extension unit 65 receives the designated area from the designated area determination unit 45. The release extension unit 65 performs a second extension in order to extend the release of the movable state by the release unit 37 for a second period when the ratio of the designated area to the area of the additional image is equal to or greater than a predetermined threshold value. Output a signal. Although not limiting, it is preferable to make the second period longer than the first period. When the ratio of the designated area to the area of the additional image is equal to or more than the predetermined threshold value, the user moves the additional image, and a part of the additional image is hidden by the finger of the user. While doing this, it may not be possible to accurately check the position of the additional image. Therefore, by securing the second period as the period for confirming the position of the additional image, the operation for determining the position of the additional image can be facilitated.

また、解除延長部65は、プレビュー画像表示部53によりプレビュー画像がページの画像の全部でなく、一部を拡大した画像として表示されている場合、解除部37による移動可能状態の解除を第2の期間延長するために、第2の延長信号を出力する。限定するものではないが、第2の期間は第1の期間より長くするのが好ましい。プレビュー画像がページの一部を拡大した画像の場合、プレビュー画像中で付加画像の位置を正確に定めることが可能である。このため、付加画像の位置を確認するための期間として第2の期間を確保することにより、付加画像の位置を決定するための操作を容易にすることができる。   When the preview image is displayed by the preview image display unit 53 as an image obtained by enlarging a part of the page, the cancel extension unit 65 cancels the movable state by the cancel unit 37 as the second The second extension signal is output to extend the period of time. Although not limiting, it is preferable to make the second period longer than the first period. When the preview image is an image obtained by enlarging a part of the page, it is possible to accurately determine the position of the additional image in the preview image. Therefore, by securing the second period as the period for confirming the position of the additional image, the operation for determining the position of the additional image can be facilitated.

輪郭画像表示部67は、空白領域決定部47から空白領域情報が入力される。輪郭画像表示部67は、空白領域情報に基づいて、1以上の空白領域それぞれの輪郭を示す画像を、プレビュー画像に重畳して表示する。これにより、ユーザーに、付加画像を配置可能な領域を通知することができる。   The outline image display unit 67 receives blank area information from the blank area determination unit 47. The outline image display unit 67 superimposes and displays an image indicating the outline of each of the one or more blank areas on the basis of the blank area information. Thereby, the user can be notified of the area where the additional image can be arranged.

サイズ変更部69は、候補領域決定部49から候補領域の空白領域情報が入力される場合、付加画像のサイズと、候補領域のサイズと、付加画像と候補領域との間の距離に基づいて、付加画像のサイズを変更する。付加画像移動部57によって付加画像が移動される前の段階では、付加画像のサイズは、ユーザーにより指定されたサイズである。この場合のサイズを初期サイズという。サイズ変更部69は、付加画像が候補領域と重なる場合は、付加画像のサイズを候補領域のサイズ以下に決定する。この場合のサイズを移動後サイズという。サイズ変更部69は、初期サイズが移動後サイズより大きい場合は、付加画像のサイズを付加画像と候補領域との間の距離に比例するサイズに決定する。サイズ変更部69は、初期サイズが移動後サイズより小さい場合は、付加画像のサイズを付加画像と候補領域との間の距離に反比例するサイズに決定する。サイズ変更部69は、変更後の付加画像のサイズを付加画像表示部55に出力する。   When blank area information of the candidate area is input from the candidate area determination section 49, the size changing section 69 determines the size of the additional image, the size of the candidate area, and the distance between the additional image and the candidate area. Change the size of the additional image. At a stage before the additional image is moved by the additional image moving unit 57, the size of the additional image is a size designated by the user. The size in this case is called the initial size. When the additional image overlaps the candidate area, the size changing unit 69 determines the size of the additional image to be equal to or less than the size of the candidate area. The size in this case is called the size after movement. When the initial size is larger than the post-movement size, the size changing unit 69 determines the size of the additional image to be a size proportional to the distance between the additional image and the candidate area. If the initial size is smaller than the post-movement size, the size changing unit 69 determines the size of the additional image to be inversely proportional to the distance between the additional image and the candidate area. The size changing unit 69 outputs the size of the additional image after the change to the additional image display unit 55.

また、サイズ変更部69は、既定領域検出部51から既定領域の空白領域情報が入力される。サイズ変更部69は、付加画像表示部55により表示される付加画像が既定領域に対応するスタンプ画像の場合、付加画像のサイズを、既定領域の空白領域情報で定まる既定領域のサイズ以下のサイズに変更する。サイズ変更部69は、変更後の付加画像のサイズを付加画像表示部55に出力する。この場合においても、付加画像のサイズを付加画像と既定領域との間の距離に比例または反比例するサイズに決定するようにしてもよい。   In addition, the size changing unit 69 receives blank area information of the default area from the default area detecting unit 51. When the additional image displayed by the additional image display unit 55 is a stamp image corresponding to the predetermined area, the size changing unit 69 sets the size of the additional image to a size equal to or less than the size of the predetermined area determined by the blank area information of the predetermined area. change. The size changing unit 69 outputs the size of the additional image after the change to the additional image display unit 55. Also in this case, the size of the additional image may be determined to be proportional to or inversely proportional to the distance between the additional image and the predetermined area.

付加画像表示部55は、サイズ変更部69から付加画像の変更後のサイズが入力されることに応じて、付加画像のサイズをサイズ変更部69から入力されるサイズに変更し、サイズを変更した後の付加画像を表示部161に表示する。   The additional image display unit 55 changes the size of the additional image to the size input from the size changing unit 69 in response to the size after the change of the additional image being input from the size changing unit 69, and changes the size The subsequent additional image is displayed on the display unit 161.

合成画像生成部71は、操作決定部31によりプリント指示が入力されることに応じて、プレビュー画像に付加画像を合成した合成画像を生成し、生成した合成画像を画像形成制御部73に出力する。付加画像をプレビュー画像に合成する位置は、付加画像表示部55によって表示された付加画像のプレビュー画像中の位置である。画像形成制御部73は、合成画像生成部71から合成画像が入力されることに応じて、画像形成部140を制御し、合成画像を用紙に形成させる。   In response to the print instruction being input by the operation determination unit 31, the composite image generation unit 71 generates a composite image obtained by combining the preview image and the additional image, and outputs the generated composite image to the image formation control unit 73. . The position at which the additional image is synthesized with the preview image is the position in the preview image of the additional image displayed by the additional image display unit 55. The image formation control unit 73 controls the image forming unit 140 to form a composite image on a sheet in response to the composite image being input from the composite image generation unit 71.

図8は、プレビュー画像の一例を模式的に示す図である。図8においては、文字の画像を記号○で示し、写真の画像を写真1の文字を含む矩形の領域と、写真2の文字を含む矩形の領域と、で示している。図8を参照して、プレビュー画像500は、文字の画像と、写真の画像とを含む。   FIG. 8 is a view schematically showing an example of the preview image. In FIG. 8, an image of a character is indicated by a symbol ○, and an image of a photograph is indicated by a rectangular region including the characters of Photo 1 and a rectangular region including the characters of Photo 2. Referring to FIG. 8, preview image 500 includes an image of text and an image of a photo.

図9は、プレビュー画像中の画像を示す禁止領域の一例を示す図である。図9を参照して、図8に示したプレビュー画像500は、文字の画像を含む禁止領域501と、文字の画像および写真1の画像を含む禁止領域502と、文字の画像を含む禁止領域503と、写真2の画像を含む禁止領域504と、を含む。   FIG. 9 is a view showing an example of the prohibited area showing the image in the preview image. Referring to FIG. 9, preview image 500 shown in FIG. 8 includes a prohibited area 501 including a character image, a prohibited area 502 including a character image and a photo 1 image, and a prohibited area 503 including a character image. And a prohibited area 504 including the image of the picture 2.

図10は、プレビュー画像中の印刷することのできない領域の禁止領域の一例を示す第1の図である。図10を参照して、図8に示したプレビュー画像500は、プレビュー画像500の端から所定の長さの禁止領域510を、含む。   FIG. 10 is a first diagram showing an example of the prohibited area of the unprintable area in the preview image. Referring to FIG. 10, preview image 500 shown in FIG. 8 includes a prohibited area 510 having a predetermined length from the end of preview image 500.

図11は、プレビュー画像中の印刷することのできない領域の禁止領域の一例を示す第2の図である。図11を参照して、プレビュー画像600は、複数ページを合成した画像であり、第1ページの画像601と第2ページの画像603とを含む。この場合、プレビュー画像600は、プレビュー画像600の端から所定の長さの領域と、第1ページの画像601と第2ページの画像605との間の領域とを含む禁止領域605を、含む。   FIG. 11 is a second diagram showing an example of the prohibited area of the unprintable area in the preview image. Referring to FIG. 11, preview image 600 is an image obtained by combining a plurality of pages, and includes an image 601 of the first page and an image 603 of the second page. In this case, the preview image 600 includes a prohibited area 605 including an area of a predetermined length from the edge of the preview image 600 and an area between the image 601 of the first page and the image 605 of the second page.

図12は、空白領域の枠が表示された状態のプレビュー画像の一例を示す図である。図12を参照して、プレビュー画像500に重畳して付加画像620が重畳して表示される。また、プレビュー画像500に、空白領域の枠の画像611,612,613,614が重畳して表示される。画像611,612,613,614は、付加画像620のサイズよりも大きい。   FIG. 12 is a view showing an example of a preview image in a state where a frame of a blank area is displayed. Referring to FIG. 12, an additional image 620 is superimposed and displayed on the preview image 500. In addition, the images 611, 612, 613, and 614 of the frame of the blank area are displayed superimposed on the preview image 500. The images 611, 612, 613, 614 are larger than the size of the additional image 620.

また、図12に示す付加画像620は、写真2の画像と重なるため、付加画像620が画像との重なりが許可されていない場合には、移動可能状態が設定された状態である。また、付加画像620が画像との重なりが許可されている場合には、付加画像620が写真2の画像と重なる状態で第2の操作が受け付けられると、換言すれば、付加画像620を写真2の画像と重なる状態でドロップすると、付加画像620に対応する1以上の候補画像が表示される。この場合の1以上の候補画像は、写真2の画像で付加画像620と重なる部分の色の補色または補色に類似する色である。ユーザーが候補画像のいずれかを指示すれば、指示された候補画像の色に、付加画像の色が変更され、移動可能状態が解除される。   Further, since the additional image 620 shown in FIG. 12 overlaps the image of the picture 2, the movable state is set when the additional image 620 is not permitted to overlap with the image. In addition, when the additional image 620 is permitted to overlap with the image, if the second operation is accepted in a state where the additional image 620 overlaps with the image of the picture 2, in other words, the additional image 620 becomes the picture 2 When the image is dropped in a state of overlapping with the image, one or more candidate images corresponding to the additional image 620 are displayed. The one or more candidate images in this case are complementary colors or colors similar to the color of the portion of the image of the picture 2 overlapping the additional image 620. If the user indicates any of the candidate images, the color of the additional image is changed to the color of the instructed candidate image, and the movable state is canceled.

図13は、付加画像を指で指示した状態を示す図である。図13を参照して、付加画像620をユーザーが指で指示する状態においては、付加画像620中でユーザーの指で指示された領域630がユーザーの指で見えなくなる。   FIG. 13 is a diagram showing a state in which the additional image is indicated by a finger. Referring to FIG. 13, in a state where the user points the additional image 620 with a finger, a region 630 indicated by the user's finger in the additional image 620 is not visible by the user's finger.

図14は、本実施の形態における画像編集処理の流れの一例を示すフローチャートである。画像編集処理は、MFP100が備えるCPU111が、ROM113、HDD115またはCD−ROM118に記憶された画像編集プログラムを実行することにより、CPU111により実行される処理である。図14を参照して、CPU111は、プレビュー画面を表示する指示を受け付けたか否かを判断する(ステップS01)。プレビュー画面を表示する指示を受け付けるまで待機状態となり(ステップS01でNO)、プレビュー画面を表示する指示を受け付けたならば(ステップS01でYES)、処理をステップS02に進める。ユーザーが操作パネル160を操作して、プレビュー画面が割り当てられた遷移ボタンを指示する場合に、プレビュー画面を表示する指示を受け付ける。   FIG. 14 is a flow chart showing an example of the flow of the image editing process in the present embodiment. The image editing process is a process executed by CPU 111 when CPU 111 of MFP 100 executes an image editing program stored in ROM 113, HDD 115 or CD-ROM 118. Referring to FIG. 14, CPU 111 determines whether an instruction to display a preview screen has been received (step S01). The process waits until an instruction to display the preview screen is received (NO in step S01), and if an instruction to display the preview screen is received (YES in step S01), the process proceeds to step S02. When the user operates operation panel 160 to designate a transition button to which a preview screen is assigned, an instruction to display the preview screen is accepted.

次のステップS02においては、処理対象データを決定する。プレビュー画面を表示する指示を受け付けた時点で、処理対象に設定されているデータを、処理対象データに決定する。処理対象に設定されているデータは、ユーザーにより処理対象に指定されたデータであり、原稿読取部120が原稿を読み取って出力する画像データ、HDD115に記憶されたデータを含む。   In the next step S02, processing target data is determined. When an instruction to display the preview screen is received, the data set as the process target is determined as the process target data. The data set as the processing target is data specified as the processing target by the user, and includes image data that the document reading unit 120 reads and outputs a document, and data stored in the HDD 115.

次のステップS03においては、プレビュー画面を表示し、処理をステップS04に進める。ここでは、図5に示したプレビュー画面300を表示部161に表示する場合を例に説明する。プレビュー画面300は、処理対象に設定されているデータの画像が表示されるプレビュー領域301を含む。ステップS04においては、付加画像が選択されたか否かを判断する。プレビュー画面300に含まれるスタンプの文字が表されたポップダウンボタン303がユーザーにより指示され、表示部161に表示されるスタンプ選択画面330の選択ボタン331〜338のいずれかが指示されることに応じて、指示された選択ボタンに関連付けられたスタンプ画像を、付加画像として選択する。付加画像が選択されるまで待機状態となり(ステップS04でNO)、付加画像が選択されたならば(ステップS04でYES)、処理をステップS05に進める。なお、付加画像が選択されない場合に、プリント指示を受け付けた場合に、処理対象データの画像を画像形成するようにしてもよい。   In the next step S03, a preview screen is displayed, and the process proceeds to step S04. Here, the case where the preview screen 300 shown in FIG. 5 is displayed on the display unit 161 will be described as an example. The preview screen 300 includes a preview area 301 in which an image of data set as a processing target is displayed. In step S04, it is determined whether an additional image has been selected. In response to the user instructing the pop-down button 303 representing the character of the stamp included in the preview screen 300 and instructing one of the selection buttons 331 to 338 of the stamp selection screen 330 displayed on the display unit 161. The stamp image associated with the instructed selection button is selected as an additional image. The process waits until an additional image is selected (NO in step S04), and if an additional image is selected (YES in step S04), the process proceeds to step S05. When a print instruction is received when the additional image is not selected, the image of the processing target data may be formed.

ステップS05においては、付加画像のサイズを既定のサイズに決定する。付加画像のサイズを、付加画像に対して予め定められたサイズに決定する。次のステップS06においては、付加画像を表示部161に表示されたプレビュー画面300に重畳して表示し、処理をステップS07に進める。付加画像を表示するプレビュー画面300中の位置は、特に定めるものではないが、プレビュー領域301に重ねて表示するようにしてもよい。   In step S05, the size of the additional image is determined to be a predetermined size. The size of the additional image is determined to be a predetermined size for the additional image. In the next step S06, the additional image is superimposed and displayed on preview screen 300 displayed on display portion 161, and the process proceeds to step S07. The position in the preview screen 300 for displaying the additional image is not particularly determined, but may be displayed overlapping the preview area 301.

ステップS07においては、プレビュー画像中の空白領域を決定する。空白領域は、プレビュー画像中で画像が表されていない矩形の領域である。プレビュー画像中で画像が表されていない領域は、プレビュー画像を二値化して、値が「0」になる画素の集合として検出することができる。   In step S07, a blank area in the preview image is determined. The blank area is a rectangular area in which the image is not represented in the preview image. An area where an image is not represented in the preview image can be detected as a set of pixels whose value becomes “0” by binarizing the preview image.

次のステップS08においては、付加画像が既定画像か否かをする。ステップS04において選択された付加画像が予め定められた既定画像ならば処理をステップS09に進めるが、そうでなければステップS09をスキップして処理をステップS10に進める。ここでは、ステップS04において選択された付加画像が、既定画像である印鑑の画像の場合を例に説明する。ステップS09においては、付加画像に対応する既定領域を決定し、処理をステップS10に進める。具体的には、プレビュー画像を文字認識し、「印」、「署名」、「サイン」またはユーザーの氏名の文字列をプレビュー画像から抽出し、「印」、「署名」、「サイン」またはユーザーの氏名の文字列の近傍の空白領域を既定領域に決定する。   In the next step S08, it is determined whether the additional image is a default image. If the additional image selected in step S04 is a predetermined default image, the process proceeds to step S09. If not, step S09 is skipped and the process proceeds to step S10. Here, the case where the additional image selected in step S04 is an image of a seal stamp which is a default image will be described as an example. In step S09, a predetermined area corresponding to the additional image is determined, and the process proceeds to step S10. Specifically, the preview image is character-recognized, and a character string of "mark", "signature", "sign" or the user's name is extracted from the preview image, and "mark", "signature", "sign" or the user Determine the blank area in the vicinity of the name string as the default area.

ステップS10においては、第1の操作を受け付けたか否かを判断する。第1の操作を受け付けたならば処理をステップS18に進めるが、そうでなければ処理をステップS11に進める。第1の操作は、付加画像を所定時間継続して指示する操作である。タッチパネル165から付加画像中の座標が所定時間継続して出力される場合に、第1の操作を検出する。ステップS11においては、プリント指示を受け付けたか否かを判断する。プリント指示を受け付けたならば処理をステップS12に進めるが、そうでなければ処理をステップS14に進める。プリント指示が割り当てられたボタンが支持される場合に、プリント指示を受け付ける。例えば、ハードキー部167のスタートキー171が押下されると、プリント指示を受け付ける。ステップS12においては、プレビュー画像に付加画像を合成した合成画像を生成し、処理をステップS13に進める。ステップS13においては、画像形成部140を制御して、合成画像を用紙に形成させ、処理を終了する。   In step S10, it is determined whether the first operation has been accepted. If the first operation is accepted, the process proceeds to step S18; otherwise, the process proceeds to step S11. The first operation is an operation of continuously instructing an additional image for a predetermined time. When the coordinates in the additional image are continuously output from the touch panel 165 for a predetermined time, the first operation is detected. In step S11, it is determined whether a print instruction has been accepted. If a print instruction is accepted, the process proceeds to step S12; otherwise, the process proceeds to step S14. When the button to which the print instruction is assigned is supported, the print instruction is accepted. For example, when the start key 171 of the hard key unit 167 is pressed, a print instruction is accepted. In step S12, a composite image is generated by combining the preview image and the additional image, and the process proceeds to step S13. In step S13, the image forming unit 140 is controlled to form a composite image on a sheet, and the process ends.

ステップS14においては、プレビュー画像を拡大または縮小する操作を受け付けたか否かを判断する。プレビュー画像を拡大または縮小する操作を受け付けたならば処理をステップS15に進めるが、そうでなければ処理をステップS16に進める。ステップS15においては、プレビュー画像を変倍し、処理をステップS10に戻す。この場合、プレビュー画像を変倍した倍率と同じ倍率で、付加画像を変倍する。   In step S14, it is determined whether an operation for enlarging or reducing the preview image has been accepted. If an operation to enlarge or reduce the preview image is accepted, the process proceeds to step S15. If not, the process proceeds to step S16. In step S15, the preview image is scaled, and the process returns to step S10. In this case, the additional image is scaled at the same magnification as the scaling of the preview image.

ステップS16においては、付加画像のサイズの指定を受け付けたか否かを判断する。サイズの指定を受け付けたならば処理をステップS17に進めるが、そうでなければ処理をステップS10に戻す。プレビュー画面300のポップアップボタン305が指示され、スタンプ設定画面350が表示部161に表示されている状態で、サイズ設定ボタン353〜355のいずれかが指示されることに応じて、サイズ設定ボタン353〜355内指示されたサイズ設定ボタンに対応するサイズの指定を受け付ける。ステップS17においては、付加画像のサイズを、ステップS16において指定されたサイズに変更し、処理をステップS10に戻す。   In step S16, it is determined whether specification of the size of the additional image has been accepted. If the designation of the size is accepted, the process proceeds to step S17. If not, the process returns to step S10. When the pop-up button 305 of the preview screen 300 is instructed and the stamp setting screen 350 is displayed on the display unit 161, the size setting buttons 353 to 353 are selected in response to any of the size setting buttons 353 to 355 being instructed. The specification of the size corresponding to the size setting button instructed in 355 is accepted. In step S17, the size of the additional image is changed to the size specified in step S16, and the process returns to step S10.

ステップS18においては、移動可能状態に設定し、処理をステップS19に進める。ステップS19においては、移動中処理を実行し、処理をステップS20に進める。移動中処理の詳細は後述するが、移動可能状態に設定されている間に実行される処理である。ステップS20においては、移動可能状態を解除し、処理をステップS10に戻す。   In step S18, the movable state is set, and the process proceeds to step S19. In step S19, the process of moving is executed, and the process proceeds to step S20. The details of the process during movement will be described later, but is a process that is executed while being set in the movable state. In step S20, the movable state is released, and the process returns to step S10.

図15は、移動中処理の流れの一例を示すフローチャートである。移動中処理は、図14のステップS19において実行される処理である。図15を参照して、CPU111は、付加画像が既定画像か否かをする(ステップS21)。付加画像が既定画像でなれば処理をステップS22に進めるが、そうでなければステップS22をスキップして処理をステップS23に進める。ステップS22においては、付加画像よりもサイズの大きな空白領域の枠の画像をプレビュー画像に重畳して表示し、処理をステップS23に進める。これにより、付加画像を配置可能な領域をユーザーに通知することができる。   FIG. 15 is a flowchart showing an example of the process of movement. The moving process is a process executed in step S19 of FIG. Referring to FIG. 15, CPU 111 determines whether the additional image is a default image (step S21). If the additional image is a default image, the process proceeds to step S22. If not, step S22 is skipped and the process proceeds to step S23. In step S22, an image of a frame of a blank area larger than the additional image is displayed superimposed on the preview image, and the process proceeds to step S23. Thereby, the user can be notified of the area where the additional image can be arranged.

ステップS23においては、移動操作を演出したか否かを判断する。移動操作は、ユーザーが付加画像を指示した状態で、表示部161から指またはスタイラスペンを離すことなく移動させる操作である。タッチパネル165から継続して座標が入力され、座標の値が変化する場合に移動操作を演出する。移動操作を検出したならば処理をステップS24に進めるが、そうでなければ処理をステップS25に進める。ステップS24においては、移動中表示処理を実行し、処理をステップS23に戻す。   In step S23, it is determined whether a move operation has been produced. The movement operation is an operation for moving the display unit 161 without releasing a finger or a stylus pen in a state where the user designates an additional image. The coordinates are continuously input from the touch panel 165, and when the values of the coordinates change, the moving operation is produced. If the move operation is detected, the process proceeds to step S24. If not, the process proceeds to step S25. In step S24, a display process during movement is executed, and the process returns to step S23.

図16は、移動中表示処理の流れの一例を示すフローチャートである。移動中表示処理は、図15のステップS24において実行される処理である。図16を参照して、CPU111は、移動操作に従って付加画像を移動させ(ステップS41)、処理をステップS42に進める。   FIG. 16 is a flowchart showing an example of the flow of the display processing during movement. The moving display process is a process executed in step S24 of FIG. Referring to FIG. 16, CPU 111 moves the additional image in accordance with the moving operation (step S41), and advances the process to step S42.

ステップS42においては、付加画像が既定画像か否かをする。付加画像が既定画像ならば処理をステップS43に進めるが、そうでなければ処理をステップS46に進める。ステップS43においては、付加画像と既定領域との間の距離を算出し、処理をステップS44に進める。ステップS44においては、付加画像のサイズを決定する。付加画像のサイズ、既定領域のサイズ、およびステップS43において算出された距離に基づいて、サイズを決定する。ユーザーにより指定された付加画像のサイズを初期サイズとし、既定領域のサイズ以下となるサイズを移動後サイズとし、移動前の距離に対して初期サイズを割り当て、距離が「0」に対して移動後サイズを割り当て、算出された距離に比例または反比例するサイズに決定する。ステップS45においては、付加画像のサイズを決定されたサイズに変更し、処理を移動中処理に戻す。これにより、付加画像が既定領域に近くなるにつれて付加画像のサイズが既定領域に納まるサイズに変更される。   In step S42, it is determined whether the additional image is a default image. If the additional image is a default image, the process proceeds to step S43; otherwise, the process proceeds to step S46. In step S43, the distance between the additional image and the predetermined area is calculated, and the process proceeds to step S44. In step S44, the size of the additional image is determined. The size is determined based on the size of the additional image, the size of the predetermined area, and the distance calculated in step S43. The size of the additional image specified by the user is assumed to be the initial size, the size that is smaller than the size of the predetermined area is assumed to be the size after movement, the initial size is assigned to the distance before movement, Assign a size, and determine the size proportional to or inversely proportional to the calculated distance. In step S45, the size of the additional image is changed to the determined size, and the process returns to the moving process. As a result, the size of the additional image is changed to fit within the predetermined area as the additional image approaches the predetermined area.

ステップS46においては、付加画像の移動方向を決定する。タッチパネル165が異なる時刻に出力する2つの座標から移動方向を決定する。次のステップS47においては、画像編集処理のステップS07において決定された1以上の空白領域のうちから1つの候補領域を決定する。1以上の空白領域のうち付加画像の位置からステップS46において決定された移動方向に存在する空白領域を候補領域に決定する。なお、付加画像の位置から移動方向に複数の空白領域が位置する場合には、付加画像との間の距離が最短の空白領域を候補領域に決定すればよい。   In step S46, the moving direction of the additional image is determined. The moving direction is determined from two coordinates which the touch panel 165 outputs at different times. In the next step S47, one candidate area is determined from among the one or more blank areas determined in step S07 of the image editing process. Among the one or more blank areas, blank areas existing in the moving direction determined in step S46 from the position of the additional image are determined as candidate areas. When a plurality of blank areas are located in the movement direction from the position of the additional image, the blank area having the shortest distance to the additional image may be determined as the candidate area.

次のステップS48においては、付加画像と候補領域との間の距離を算出し、処理をステップS49に進める。ステップS49においては、付加画像のサイズを決定する。付加画像のサイズ、候補領域のサイズ、およびステップS47において算出された距離に基づいて、サイズを決定する。ユーザーにより指定された付加画像のサイズを初期サイズとし、候補領域のサイズ以下となるサイズを移動後サイズとし、移動前の距離に対して初期サイズを割り当て、距離が「0」に対して移動後サイズを割り当て、算出された距離に比例または反比例するサイズに決定する。ステップS50においては、付加画像のサイズを決定されたサイズに変更し、処理を移動中処理に戻す。これにより、付加画像が候補領域に近くなるにつれて付加画像のサイズが候補領域に納まるサイズに変更される。なお、移動中処理のステップS22においては、付加画像のサイズより大きなサイズの空白領域の枠の画像を表示するが、ステップS47において候補領域に決定される空白領域は、付加画像のサイズより小さなサイズの空白領域である場合がある。   In the next step S48, the distance between the additional image and the candidate area is calculated, and the process proceeds to step S49. In step S49, the size of the additional image is determined. The size is determined based on the size of the additional image, the size of the candidate area, and the distance calculated in step S47. The size of the additional image specified by the user is assumed to be the initial size, and the size which is smaller than the size of the candidate area is assumed to be the size after movement, and the initial size is assigned to the distance before movement, Assign a size, and determine the size proportional to or inversely proportional to the calculated distance. In step S50, the size of the additional image is changed to the determined size, and the process returns to the moving process. As a result, the size of the additional image is changed to a size that fits in the candidate area as the additional image approaches the candidate area. In Step S22 of the process during movement, an image of a frame of a blank area larger than the size of the additional image is displayed, but the blank area determined as the candidate area in Step S47 is smaller than the size of the additional image It may be a blank area of

図15に戻って、ステップS25においては、第2の操作を検出したか否かを判断する。第2の操作は、ユーザーが指またはスタイラスペンを表示面から離す操作である。タッチパネル165から入力されていた座標が入力されなくなることに応じて、第2の操作を決定する。第2の操作を検出したならば処理をステップS26に進めるが、そうでなければ処理をステップS23に戻す。   Referring back to FIG. 15, in step S25, it is determined whether the second operation has been detected. The second operation is an operation in which the user releases the finger or the stylus pen from the display surface. In response to the fact that the coordinates input from the touch panel 165 are not input, the second operation is determined. If the second operation is detected, the process proceeds to step S26; otherwise, the process returns to step S23.

ステップS26においては、延長時間決定処理を実行し、処理をステップS27に進める。延長時間決定処理の詳細は後述するが、延長時間を決定する処理である。ステップS27においては、付加画像が禁止領域と重なるか否かを判断する。禁止領域は、プレビュー画像に配置される画像が表された矩形の領域を含む。プレビュー画像に配置される画像が表された矩形の領域は、例えば、プレビュー画像を二値化し、値が「1」となる画素の集合を囲む矩形の領域である。また、禁止領域は、プレビュー画像中で、画像形成部140が印字することのできない領域を含む。付加画像の少なくとも一部が、禁止領域の少なくとも一部と重なる場合、両者が重なると判断する。両者が重なると判断する場合、処理をステップS28に進めるが、そうでなければ処理をステップS33に進める。   In step S26, an extension time determination process is performed, and the process proceeds to step S27. Although the details of the extension time determination process will be described later, this is a process of determining the extension time. In step S27, it is determined whether the additional image overlaps the prohibited area. The prohibited area includes a rectangular area in which the image to be arranged in the preview image is represented. The rectangular area representing the image to be arranged in the preview image is, for example, a rectangular area surrounding a set of pixels whose value is “1” by binarizing the preview image. In addition, the prohibited area includes an area in the preview image where the image forming unit 140 can not print. If at least part of the additional image overlaps at least part of the prohibited area, it is determined that both overlap. If it is determined that the two overlap, the process proceeds to step S28. If not, the process proceeds to step S33.

ステップS33においては、第2の操作が検出されてからステップS28において決定された延長時間が経過したか否かを判断する。延長時間が経過したならば処理を画像編集処理に戻すが、そうでなければ処理をステップS34に進める。ステップS34においては、移動操作を検出したか否かを判断する。ここでの移動操作は、ユーザーが指またはスタイラスペンで付加画像を指示しながら指またはスタイラスペンを表示部161の表示面上を移動させる操作である。タッチパネル165から付加画像内の座標が入力された後に、連続して座標が入力される場合に移動操作を検出する。移動操作を検出したならば処理をステップS24に進めるが、そうでなければ処理をステップS33に戻す。第2の操作が検出されてから延長時間が経過する前に移動操作を受け付けると、付加画像を移動させる。このため、第2の操作を入力した後に、移動可能状態が延長時間だけ維持されるので、ユーザーは、移動可能状態に設定するための第1の操作を入力することなく、移動操作を入力することができるので、操作が容易となる。   In step S33, it is determined whether the extension time determined in step S28 has passed since the second operation was detected. If the extension time has elapsed, the process returns to the image editing process, but if not, the process proceeds to step S34. In step S34, it is determined whether a move operation has been detected. The movement operation here is an operation for moving the finger or the stylus pen on the display surface of the display unit 161 while the user designates the additional image with the finger or the stylus pen. After the coordinates in the additional image are input from the touch panel 165, the movement operation is detected when the coordinates are continuously input. If the move operation is detected, the process proceeds to step S24. If not, the process returns to step S33. If the moving operation is received before the extension time has elapsed since the second operation was detected, the additional image is moved. Therefore, after the second operation is input, the movable state is maintained only for the extension time, so the user inputs the moving operation without inputting the first operation for setting the movable state. Operation is easy because it is possible to

ステップS28においては、付加画像が禁止領域のうち画像と重なるか否かを判断する。付加画像が、禁止領域のうちプレビュー画像に配置される画像が表された矩形の領域と重なるか否かを判断する。付加画像が禁止領域のうち画像と重なるならば処理をステップS29に進めるが、そうでなければ処理をステップS23に戻す。ステップS29においては、付加画像に対して画像との重なりが許可されているか否かを判断する。付加画像に対して画像との重なりが許可されているならば処理をステップS30に進めるが、そうでなければ処理をステップS23に戻す。   In step S28, it is determined whether the additional image overlaps the image in the prohibited area. It is determined whether the additional image overlaps the rectangular area in which the image arranged in the preview image is represented among the prohibited areas. If the additional image overlaps the image in the prohibited area, the process proceeds to step S29. If not, the process returns to step S23. In step S29, it is determined whether overlap with the image is permitted for the additional image. If overlap with the image is permitted for the additional image, the process proceeds to step S30; otherwise, the process returns to step S23.

ステップS30においては、付加画像に対応する候補画像をプレビュー画面に重畳して表示する。候補画像は、付加画像と形状が同じで、色が異なる画像である。候補画像の色は、プレビュー画像中で付加画像が重なる位置の色の補色または補色に近似する色である。次のステップS31においては、候補画像が選択されるまで待機状態となり(ステップS31でNO)、候補画像がユーザーにより選択されると(ステップS31でYES)、処理をステップS32に進める。ステップS32においては、付加画像の色を候補画像の色に変更し、処理を画像編集処理に戻す。   In step S30, the candidate image corresponding to the additional image is displayed superimposed on the preview screen. The candidate image is an image that has the same shape as the additional image and is different in color. The color of the candidate image is a color close to or complementary to the color of the color at the position where the additional image overlaps in the preview image. In the next step S31, the process stands by until a candidate image is selected (NO in step S31), and when the candidate image is selected by the user (YES in step S31), the process proceeds to step S32. In step S32, the color of the additional image is changed to the color of the candidate image, and the process returns to the image editing process.

図17は、延長時間決定処理の流れの一例を示すフローチャートである。延長時間決定処理は、移動中処理のステップS26において実行される処理である。図17を参照して、CPU111は、指示面積を決定する(ステップS61)。指示面積は、ユーザーの指またはスタイラスペンが表示部161の表示面に触れる面積である。タッチパネル165が同時に出力する座標の集合に基づいて、指示面積を決定する。次のステップS62においては、指示面積が付加画像の面積に占める割合がしきい値T以上か否かを判断する。指示面積が付加画像の面積に占める割合がしきい値T以上ならば処理をステップS63に進めるが、そうでなければ処理をステップS64に進める。ステップS63においては、延長時間を第2の時間に決定し、処理を移動中処理に戻す。   FIG. 17 is a flowchart illustrating an example of the flow of the extension time determination process. The extension time determination process is a process executed in step S26 of the moving process. Referring to FIG. 17, CPU 111 determines a designated area (step S61). The designated area is an area where the user's finger or stylus pen touches the display surface of the display unit 161. The designated area is determined based on the set of coordinates simultaneously output by the touch panel 165. In the next step S62, it is determined whether the ratio of the designated area to the area of the additional image is equal to or more than a threshold T. If the ratio of the designated area to the area of the additional image is equal to or larger than threshold value T, the process proceeds to step S63; otherwise, the process proceeds to step S64. In step S63, the extension time is determined to be the second time, and the process is returned to the moving process.

ステップS64においては、延長時間を第1の時間に決定し、処理をステップS65に進める。ステップS65においては、プレビュー画像が拡大されているか否かを判断する。プレビュー画像が拡大されているならば処理をステップS66に進めるが、そうでなければステップS66をスキップして処理を移動中処理に戻す。ステップS66においては、延長時間を第2の時間に決定し、処理を移動中処理に戻す。   In step S64, the extension time is determined to be the first time, and the process proceeds to step S65. In step S65, it is determined whether the preview image is enlarged. If the preview image is enlarged, the process proceeds to step S66. If not, step S66 is skipped and the process is returned to the moving process. In step S66, the extension time is determined to be the second time, and the process is returned to the process during movement.

第2の時間は、第1の時間よりも長い。ユーザーは、指またはスタイラスペンを表示部161の表示面に触れながら付加画像を移動させる移動操作を入力するが、指示面積が付加画像の面積に占める割合がしきい値T以上の場合には、ユーザーの指またはユタイラスペンで付加画像の一部が隠れてしまい、移動操作を入力中に付加画像の位置を正確に判断できない場合がある。このため、第2の期間の延長時間だけ移動可能状態を維持することにより、第1の操作を入力することなく直ちに移動操作を入力することができるので、操作が容易になる。また、第2の期間を第1の期間より長い時間とすることにより、第2の操作を入力してから次に移動操作を入力するまでの期間が長くなるので、移動操作を終了してから付加画像のプレビュー画像中の位置を確認する時間を確保することができる。   The second time is longer than the first time. The user inputs a moving operation for moving the additional image while touching the display surface of the display unit 161 with a finger or a stylus, but if the ratio of the indicated area to the area of the additional image is equal to or larger than the threshold T, A part of the additional image may be hidden by the user's finger or Utyras pen, and the position of the additional image may not be accurately determined while inputting the moving operation. Therefore, by maintaining the movable state only for the extension time of the second period, the movement operation can be input immediately without inputting the first operation, which facilitates the operation. Further, by setting the second period to be longer than the first period, the period from when the second operation is input until when the next move operation is input becomes longer. It is possible to secure time to confirm the position in the preview image of the additional image.

また、プレビュー画像が拡大されている場合は、プレビュー画像中で付加画像の位置を正確に定めることが可能である。このため、付加画像の位置を修正するために、第1の操作を入力することなく直ちに移動操作を入力することができるので、操作が容易になる。さらに、付加画像の位置を確認するための期間として第2の期間を確保することにより、移動操作を終了してから付加画像のプレビュー画像中の位置を確認する時間を確保することができる。   In addition, when the preview image is enlarged, it is possible to accurately determine the position of the additional image in the preview image. Therefore, in order to correct the position of the additional image, the moving operation can be input immediately without inputting the first operation, which facilitates the operation. Furthermore, by securing the second period as a period for confirming the position of the additional image, it is possible to ensure time for confirming the position in the preview image of the additional image after the end of the moving operation.

なお、付加画像が禁止領域と重ならない場合は、第1の期間または第2の期間の延長期間だけ移動可能状態を維持するようにしたが、第1の期間を「0」とするようにしてもよい。この場合には、指示面積が付加画像の面積に占める割合がしきい値T以上の場合、または、プレビュー画像が拡大表示されている場合に、第2の期間の延長期間だけ移動可能状態を維持する。このため、指示面積が付加画像の面積に占める割合がしきい値T以下の場合、かつ、プレビュー画像が拡大表示されていない場合は、第2の操作が入力されると、移動可能状態が解除される。この場合には、ユーザーは、第2の操作を入力した後に、移動操作とは別の操作を直ちに入力することができる。   In the case where the additional image does not overlap with the prohibited area, the movable state is maintained only for the first period or the extension period of the second period, but the first period is set to “0”. It is also good. In this case, when the ratio of the designated area to the area of the additional image is equal to or larger than the threshold T, or when the preview image is displayed in an enlarged scale, the movable state is maintained for the extended period of the second period. Do. Therefore, when the ratio of the designated area to the area of the additional image is equal to or less than the threshold value T and the preview image is not displayed enlarged, the movable state is canceled when the second operation is input. Be done. In this case, after the user inputs the second operation, the user can immediately input an operation different from the move operation.

なお、上述した実施の形態においては、データ装置の一例としてMFP100について説明したが、図14〜図17に示した画像編集処理をMFP100に実行させる設定方法、またはその設定方法を、MFP100を制御するCPU111に実行させるための画像編集プログラムとして発明を特定することができるのは言うまでもない。   Although MFP 100 has been described as an example of a data device in the above-described embodiment, MFP 100 is controlled by the setting method for causing MFP 100 to execute the image editing process shown in FIGS. It goes without saying that the invention can be specified as an image editing program to be executed by the CPU 111.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   It should be understood that the embodiments disclosed herein are illustrative and non-restrictive in every respect. The scope of the present invention is indicated not by the above description but by the claims, and is intended to include all the modifications within the meaning and scope equivalent to the claims.

<付記>
(1) 前記補助手段は、前記移動中表示手段により表示される前記付加画像のサイズを、前記位置検出手段により検出された位置から前記候補領域までの距離に比例したサイズに変更する、請求項10に記載の画像編集装置。
<ドラッグアンドドロップ>
(2) 前記操作決定手段は、前記位置検出手段により前記付加画像内の位置が所定時間検出されることに応じて、前記第1の操作を決定し、
前記移動可能状態で、前記位置検出手段により位置が検出されなくなることに応じて、前記第2の操作を決定する、請求項1〜12のいずれかに記載の画像編集装置。
<タップ>
(3) 前記操作決定手段は、前記移動可能状態に設定されていない状態で、前記位置検出手段により前記付加画像内の位置が検出されることに応じて、前記第1の操作を決定し、
前記移動可能状態で、前記位置検出手段により前記プレビュー画像中の位置が検出されることに応じて、前記第2の操作を決定する、請求項1〜12のいずれかに記載の画像編集装置。
<Supplementary Note>
(1) The auxiliary means changes the size of the additional image displayed by the display means during movement to a size proportional to the distance from the position detected by the position detection means to the candidate area. 10. The image editing apparatus according to 10.
<Drag and drop>
(2) The operation determining means determines the first operation in response to the position detecting means detecting a position in the additional image for a predetermined time period.
The image editing apparatus according to any one of claims 1 to 12, wherein in the movable state, the second operation is determined according to the fact that the position detection unit no longer detects the position.
<Tap>
(3) The operation determining means determines the first operation in response to the position detection means detecting a position in the additional image in a state in which the movable state is not set.
The image editing apparatus according to any one of claims 1 to 12, wherein the second operation is determined in response to the position detection unit detecting a position in the preview image in the movable state.

100 MFP、110 メイン回路、111 CPU、112 通信I/F部、113 ROM、114 RAM、115 HDD、116 ファクシミリ部、117 外部記憶装置、118 CD−ROM、120 自動原稿搬送装置、130 原稿読取部、140 画像形成部、150 給紙部、160 操作パネル、161 表示部、163 操作部、165 タッチパネル、167 ハードキー部、31 操作決定部、33 表示制御部、35 移動可能状態設定部、37 解除部、39 判定部、41 補助部、43 移動方向決定部、45 指示面積決定部、47 空白領域決定部、49 候補領域決定部、51 既定領域検出部、53 プレビュー画像表示部、55 付加画像表示部、57 付加画像移動部、61 候補画像表示部、63 解除禁止部、65 解除延長部、67 輪郭画像表示部、69 サイズ変更部、71 合成画像生成部、73 画像形成制御部。
100 MFP 110 main circuit 111 CPU 112 communication I / F unit 113 ROM 114 RAM 115 HDD 116 facsimile unit 117 external storage device 118 CD-ROM 120 automatic document feeder 130 document reading unit , 140 image forming unit, 150 sheet feeding unit, 160 operation panel, 161 display unit, 163 operation unit, 165 touch panel, 167 hard key unit, 31 operation determining unit, 33 display control unit, 35 movable state setting unit, 37 release Part, 39 determination part, 41 auxiliary part, 43 movement direction determination part, 45 designated area determination part, 47 blank area determination part, 49 candidate area determination part, 51 default area detection part, 53 preview image display part, 55 additional image display Part, 57 Additional image moving part, 61 Candidate image display part, 63 Release prohibition part, 65 Release extension part, 6 Contour image display unit, 69 resizing section, 71 the composite image generating unit, 73 image forming control unit.

Claims (16)

画像を表示可能な表示手段と、
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、
前記検出された位置に基づいてユーザーによる操作を決定する操作決定手段と、
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示手段と、
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示手段と、
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定手段と、
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動手段と、
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助手段と、
前記第2の操作が決定された後に、前記移動可能状態を解除する解除手段と、を備え
前記補助手段は、前記付加画像移動手段により移動された後の前記付加画像と前記プレビュー画像中の重なり禁止領域とが重ならない場合、前記第2の操作が決定された後の所定の時間だけ前記解除手段による前記移動可能状態の解除を禁止させる解除延長手段を含む、画像編集装置。
Display means capable of displaying an image;
Position detection means for detecting a position designated by the user on the display surface of the display means;
Operation determining means for determining an operation by the user based on the detected position;
Preview image display means for displaying an image of data as a preview image on the display means;
Additional image display means for displaying an additional image to be combined with the image of the data on the display means;
In response to the first operation is determined, and the movable state setting means for setting the additional image on a movable state movable in the display surface,
The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. Additional image moving means for moving to the specified position;
Auxiliary means for assisting the user's operation based on the additional image and the image arranged in the preview image while in the movable state;
And releasing means for releasing the movable state after the second operation is determined ,
When the additional image after being moved by the additional image moving means and the overlap prohibited area in the preview image do not overlap, the auxiliary means performs the predetermined time after the second operation is determined. An image editing apparatus , comprising release extension means for inhibiting release of the movable state by release means .
画像を表示可能な表示手段と、
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、
前記検出された位置に基づいてユーザーによる操作を決定する操作決定手段と、
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示手段と、
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示手段と、
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定手段と、
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動手段と、
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助手段と、
前記移動可能状態の間、前記位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定手段と、
前記プレビュー画像中の空白の空白領域であって、前記位置検出手段により検出された位置から前記決定された移動方向に配置され、前記位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定手段と、を備え、
前記付加画像移動手段は、前記移動可能状態に設定されている間に前記位置検出手段により連続して位置が検出される場合、前記位置検出手段により位置が検出されるごとに前記検出された位置に前記付加画像を配置して前記表示手段に表示し、
前記補助手段は、前記表示手段に表示される前記付加画像のサイズを、前記決定された候補領域のサイズに基づいて変更する、画像編集装置。
Display means capable of displaying an image;
Position detection means for detecting a position designated by the user on the display surface of the display means;
Operation determining means for determining an operation by the user based on the detected position;
Preview image display means for displaying an image of data as a preview image on the display means;
Additional image display means for displaying an additional image to be combined with the image of the data on the display means;
In response to the first operation is determined, and the movable state setting means for setting the additional image on a movable state movable in the display surface,
The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. Additional image moving means for moving to the specified position;
Auxiliary means for assisting the user's operation based on the additional image and the image arranged in the preview image while in the movable state;
Movement direction determination means for determining the movement direction based on two or more positions detected at different times by the position detection means during the movable state;
A blank area in the preview image, the blank area being disposed in the moving direction determined from the position detected by the position detecting means and having the shortest distance from the position detected by the position detecting means Bei example a candidate region determination means for determining a candidate region, and
The additional image moving means detects the position every time the position is detected by the position detecting means when the position is continuously detected by the position detecting means while being set in the movable state. Placing the additional image on the display means and displaying it on the display means,
The auxiliary means, the size of the additional image displayed on the display means is changed based on the size of the determined candidate region, images editing apparatus.
前記第2の操作が決定された後に、前記移動可能状態を解除する解除手段を、さらに備え、
前記補助手段は、前記付加画像移動手段により移動された後の前記付加画像と前記プレビュー画像中の重なり禁止領域とが重ならない場合、前記第2の操作が決定された後の所定の時間だけ前記解除手段による前記移動可能状態の解除を禁止させる解除延長手段を含む、請求項2に記載の画像編集装置。
It further comprises releasing means for releasing the movable state after the second operation is determined,
When the additional image after being moved by the additional image moving means and the overlap prohibited area in the preview image do not overlap, the auxiliary means performs the predetermined time after the second operation is determined. It includes a release extension means to prohibit the release of the movable state by releasing means, an image editing apparatus according to claim 2.
記補助手段は、前記付加画像移動手段により移動された後の前記付加画像と前記プレビュー画像中の重なり禁止領域とが重なる場合、前記解除手段による前記移動可能状態の解除を禁止させる解除禁止手段を含む、請求項1または3に記載の画像編集装置。 Before SL auxiliary means, the additional image when the movement and the additional image after being moved by the means and the overlapping forbidden area in the preview image overlap release inhibiting means to prohibit the release of the movable state by the releasing means including, an image editing apparatus according to claim 1 or 3. 前記解除延長手段は、前記プレビュー画像が拡大表示されている場合、前記所定の時間を長くする、請求項1、3および4のいずれかに記載の画像編集装置。 The release extension means, when the preview image is enlarged, a longer predetermined time, the image editing apparatus according to any one of claims 1, 3 and 4. 前記位置検出手段により一度に検出される複数の位置に基づいて、指示された領域の指示面積を決定する指示面積決定手段を、さらに備え、
前記解除延長手段は、前記付加画像の面積と前記決定された指示面積とに基づいて、前記所定の時間を決定する、請求項1、3〜5のいずれかに記載の画像編集装置。
The apparatus further comprises indicated area determination means for determining an indicated area of the indicated area based on a plurality of positions detected at one time by the position detection means.
The release extension means, based on the instruction area and the area of the additional image is the determined, to determine the predetermined time, the image editing apparatus according to any one of claims 1, 3 to 5.
前記重なり禁止領域は、前記プレビュー画像中の空白領域以外の領域を含む、請求項1、3〜6のいずれかに記載の画像編集装置。 The image editing apparatus according to any one of claims 1 to 6 , wherein the overlap prohibition area includes an area other than the blank area in the preview image. 前記プレビュー画像表示手段は、前記データが複数のページを含む場合、前記複数ページのいずれかの画像を前記プレビュー画像として前記表示手段の前記表示面に表示し、
前記重なり禁止領域は、前記複数のページのすべてで空白となる共通空白領域以外の領域を含む、請求項に記載の画像編集装置。
It said preview image display means, when said data includes a plurality of pages, and displays one of the images of the plurality of pages on the display surface of the display unit as the preview image,
The image editing apparatus according to claim 7 , wherein the non-overlapping area includes an area other than the common blank area which is blank in all of the plurality of pages.
前記プレビュー画像表示手段は、画像を記録媒体に形成可能な画像形成装置によって前記データの画像が記録媒体に形成される前に、前記プレビュー画像を表示し、
前記重なり禁止領域は、前記画像形成装置による画像形成が不可能な印字不可領域を含む、請求項1、3〜8のいずれかに記載の画像編集装置。
The preview image display means displays the preview image before an image of the data is formed on the recording medium by an image forming apparatus capable of forming an image on the recording medium.
The overlapping forbidden area includes a non-printable area imaging is not possible due to the image forming apparatus, an image editing apparatus according to any one of claims 1,3~8.
前記補助手段は、前記移動可能状態の間、前記プレビュー画像中で空白の領域であって、前記付加画像のサイズより大きな配置可能領域を示す輪郭画像を前記プレビュー画像に重畳して表示する輪郭画像表示手段を、含む請求項1〜のいずれかに記載の画像編集装置。 The auxiliary means, while in the movable state, displays an outline image which is a blank area in the preview image and which shows an arrangeable area larger than the size of the additional image, superimposed on the preview image and displayed. The image editing apparatus according to any one of claims 1 to 9 , further comprising display means. 前記プレビュー画像中で前記付加画像を配置するために予め定められた既定領域を検出する既定領域検出手段を、さらに備え、
前記補助手段は、前記付加画像のサイズと前記既定領域のサイズとに基づいて、前記付加画像のサイズを変更する、請求項1〜10のいずれかに記載の画像編集装置。
It further comprises a predetermined area detection means for detecting a predetermined area which is predetermined for arranging the additional image in the preview image,
The image editing apparatus according to claim 1, wherein the auxiliary means changes the size of the additional image based on the size of the additional image and the size of the predetermined area.
前記補助手段は、前記付加画像と前記プレビュー画像中の画像とが重なる場合、前記付加画像と形状が同じで、前記付加画像と重なる画像の色の補色またはその同系色の候補画像を選択可能に表示する候補画像表示手段を、含む請求項1〜11のいずれかに記載の画像編集装置。 When the additional image and the image in the preview image overlap, the auxiliary means can select a candidate image of the complementary color of the image having the same shape as the additional image and overlapping with the additional image or a similar color thereof The image editing apparatus according to any one of claims 1 to 11 , further comprising candidate image display means for displaying. 画像編集装置で実行される画像編集方法であって、
前記画像編集装置は、
画像を表示可能な表示手段と、
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、
前記位置検出手段により検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示ステップと、
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示ステップと、
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動ステップと、
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、
前記第2の操作が決定された後に、前記移動可能状態を解除する解除ステップと、を含み、
前記補助ステップは、前記付加画像移動ステップにおいて移動された後の前記付加画像と前記プレビュー画像中の重なり禁止領域とが重ならない場合、前記第2の操作が決定された後の所定の時間だけ前記解除ステップにおける前記移動可能状態の解除を禁止させる解除延長ステップを含む画像編集方法。
An image editing method performed by an image editing apparatus, comprising:
The image editing apparatus
Display means capable of displaying an image;
And position detection means for detecting a position designated by the user on the display surface of the display means.
An operation determining step of determining an operation by the user based on the position detected by the position detecting means;
A preview image display step of displaying an image of data as a preview image on the display means;
An additional image display step of displaying on the display means an additional image to be combined with the image of the data;
In response to the first operation is determined, and the movable state setting step of setting the additional image on a movable state movable in the display surface,
The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. An additional image moving step of moving to the specified position;
An auxiliary step of assisting operation by a user based on the additional image and an image arranged in the preview image while in the movable state;
Releasing the movable state after the second operation has been determined;
In the auxiliary step, when the additional image after being moved in the additional image moving step and the overlap prohibited area in the preview image do not overlap, the auxiliary step is performed for a predetermined time after the second operation is determined. An image editing method including a release extension step of prohibiting release of the movable state in the release step .
画像編集装置で実行される画像編集方法であって、An image editing method performed by an image editing apparatus, comprising:
前記画像編集装置は、The image editing apparatus
画像を表示可能な表示手段と、Display means capable of displaying an image;
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、And position detection means for detecting a position designated by the user on the display surface of the display means.
前記検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、An operation determining step of determining an operation by the user based on the detected position;
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示ステップと、A preview image display step of displaying an image of data as a preview image on the display means;
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示ステップと、An additional image display step of displaying on the display means an additional image to be combined with the image of the data;
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、A movable state setting step of setting the additional image to be movable in the display surface in response to the determination of the first operation;
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動ステップと、The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. An additional image moving step of moving to the specified position;
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、An auxiliary step of assisting operation by a user based on the additional image and an image arranged in the preview image while in the movable state;
前記移動可能状態の間、前記位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定ステップと、A movement direction determination step of determining a movement direction based on two or more positions detected at different times by the position detection means during the movable state;
前記プレビュー画像中の空白の空白領域であって、前記位置検出手段により検出された位置から前記決定された移動方向に配置され、前記位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定ステップと、を含み、A blank area in the preview image, the blank area being disposed in the moving direction determined from the position detected by the position detecting means and having the shortest distance from the position detected by the position detecting means Determining a candidate area as a candidate area;
前記付加画像移動ステップは、前記移動可能状態に設定されている間に前記位置検出手段により連続して位置が検出される場合、前記位置検出手段により位置が検出されるごとに前記検出された位置に前記付加画像を配置して前記表示手段に表示するステップを含み、In the additional image moving step, when the position is continuously detected by the position detector while the movable state is set, the position detected by the position detector is detected every time the position is detected. Placing the additional image on the display unit and displaying it on the display means,
前記補助ステップは、前記表示手段に表示される前記付加画像のサイズを、前記決定された候補領域のサイズに基づいて変更するステップを含む、画像編集方法。The image editing method, wherein the assisting step includes the step of changing the size of the additional image displayed on the display means based on the size of the determined candidate area.
画像編集装置を制御するコンピューターで実行される画像編集プログラムであって、
前記画像編集装置は、
画像を表示可能な表示手段と、
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、
前記位置検出手段により検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示ステップと、
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示ステップと、
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動ステップと、
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、
前記第2の操作が決定された後に、前記移動可能状態を解除する解除ステップと、を前記コンピューターに実行させ
前記補助ステップは、前記付加画像移動ステップにおいて移動された後の前記付加画像と前記プレビュー画像中の重なり禁止領域とが重ならない場合、前記第2の操作が決定された後の所定の時間だけ前記解除ステップにおける前記移動可能状態の解除を禁止させる解除延長ステップを含む、画像編集プログラム。
An image editing program executed by a computer that controls an image editing apparatus, comprising:
The image editing apparatus
Display means capable of displaying an image;
And position detection means for detecting a position designated by the user on the display surface of the display means.
An operation determining step of determining an operation by the user based on the position detected by the position detecting means;
A preview image display step of displaying an image of data as a preview image on the display means;
An additional image display step of displaying on the display means an additional image to be combined with the image of the data;
In response to the first operation is determined, and the movable state setting step of setting the additional image on a movable state movable in the display surface,
The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. An additional image moving step of moving to the specified position;
An auxiliary step of assisting operation by a user based on the additional image and an image arranged in the preview image while in the movable state;
Releasing the movable state after the second operation is determined, causing the computer to execute
In the auxiliary step, when the additional image after being moved in the additional image moving step and the overlap prohibited area in the preview image do not overlap, the auxiliary step is performed for a predetermined time after the second operation is determined. An image editing program comprising a release extension step of prohibiting release of the movable state in the release step .
画像編集装置を制御するコンピューターで実行される画像編集プログラムであって、An image editing program executed by a computer that controls an image editing apparatus, comprising:
前記画像編集装置は、The image editing apparatus
画像を表示可能な表示手段と、Display means capable of displaying an image;
前記表示手段の表示面中でユーザーにより指示された位置を検出する位置検出手段と、を備え、And position detection means for detecting a position designated by the user on the display surface of the display means.
前記検出された位置に基づいてユーザーによる操作を決定する操作決定ステップと、An operation determining step of determining an operation by the user based on the detected position;
データの画像をプレビュー画像として前記表示手段に表示するプレビュー画像表示ステップと、A preview image display step of displaying an image of data as a preview image on the display means;
前記データの画像に合成するための付加画像を前記表示手段に表示する付加画像表示ステップと、An additional image display step of displaying on the display means an additional image to be combined with the image of the data;
第1の操作が決定されることに応じて、前記付加画像を前記表示面中で移動可能な移動可能状態に設定する移動可能状態設定ステップと、A movable state setting step of setting the additional image to be movable in the display surface in response to the determination of the first operation;
前記移動可能状態に設定されている間に第2の操作が決定されることに応じて、前記付加画像を前記表示面中の前記第2の操作が決定される時点で前記位置検出手段により検出された位置に移動させる付加画像移動ステップと、The additional image is detected by the position detection means when the second operation on the display surface is determined in response to the second operation being determined while the movable state is set. An additional image moving step of moving to the specified position;
前記移動可能状態の間、前記付加画像と前記プレビュー画像に配置される画像とに基づいて、ユーザーによる操作を補助する補助ステップと、An auxiliary step of assisting operation by a user based on the additional image and an image arranged in the preview image while in the movable state;
前記移動可能状態の間、前記位置検出手段により異なる時間に検出された2以上の位置に基づいて、移動方向を決定する移動方向決定ステップと、A movement direction determination step of determining a movement direction based on two or more positions detected at different times by the position detection means during the movable state;
前記プレビュー画像中の空白の空白領域であって、前記位置検出手段により検出された位置から前記決定された移動方向に配置され、前記位置検出手段により検出された位置からの距離が最短の空白領域を候補領域に決定する候補領域決定ステップと、を前記コンピューターに実行させ、A blank area in the preview image, the blank area being disposed in the moving direction determined from the position detected by the position detecting means and having the shortest distance from the position detected by the position detecting means Determining the candidate area as the candidate area;
前記付加画像移動ステップは、前記移動可能状態に設定されている間に前記位置検出手段により連続して位置が検出される場合、前記位置検出手段により位置が検出されるごとに前記検出された位置に前記付加画像を配置して前記表示手段に表示するステップを含み、In the additional image moving step, when the position is continuously detected by the position detector while the movable state is set, the position detected by the position detector is detected every time the position is detected. Placing the additional image on the display unit and displaying it on the display means,
前記補助ステップは、前記表示手段に表示される前記付加画像のサイズを、前記決定された候補領域のサイズに基づいて変更するステップを含む、画像編集プログラム。The image editing program, wherein the auxiliary step includes the step of changing the size of the additional image displayed on the display means based on the size of the determined candidate area.
JP2015172191A 2015-09-01 2015-09-01 Image editing apparatus, image editing method and image editing program Expired - Fee Related JP6540389B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015172191A JP6540389B2 (en) 2015-09-01 2015-09-01 Image editing apparatus, image editing method and image editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015172191A JP6540389B2 (en) 2015-09-01 2015-09-01 Image editing apparatus, image editing method and image editing program

Publications (2)

Publication Number Publication Date
JP2017050690A JP2017050690A (en) 2017-03-09
JP6540389B2 true JP6540389B2 (en) 2019-07-10

Family

ID=58280338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015172191A Expired - Fee Related JP6540389B2 (en) 2015-09-01 2015-09-01 Image editing apparatus, image editing method and image editing program

Country Status (1)

Country Link
JP (1) JP6540389B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961113B (en) * 2021-10-28 2025-09-23 维沃移动通信有限公司 Image processing method, device, electronic device and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10207441A (en) * 1997-01-24 1998-08-07 Japan Radio Co Ltd Cursor display control device
JP2011076460A (en) * 2009-09-30 2011-04-14 Canon Electronics Inc Image processor, image processing method, system, and computer program
JP2011250251A (en) * 2010-05-28 2011-12-08 Konica Minolta Business Technologies Inc Image processing system, additional image compositing method, and additional image compositing program
JP2014192590A (en) * 2013-03-26 2014-10-06 Fuji Xerox Co Ltd Image processor, printing device, printing system and program
JP2014212387A (en) * 2013-04-17 2014-11-13 株式会社沖データ Image forming apparatus and image formation control method

Also Published As

Publication number Publication date
JP2017050690A (en) 2017-03-09

Similar Documents

Publication Publication Date Title
JP5241750B2 (en) Image display apparatus, image forming apparatus, image display method, computer program, and recording medium
JP5273133B2 (en) Image processing apparatus and image processing program
JP2006003568A (en) Image forming apparatus, image forming method, program for causing computer to execute the method, image processing system, and image processing apparatus
JP7094733B2 (en) Image processing device, program, image processing method
CN101827189B (en) Image processing device, image processing system and image processing method
CN110879689A (en) Information processing apparatus, recording medium, and information processing method
US10789022B2 (en) Image processing apparatus in which a process repeatedly arranges a target image on a sheet
CN100377564C (en) image processing equipment
US8947754B2 (en) Image processing device displaying a preview image and image processing method and program displaying a preview image
US11140276B2 (en) Image processing apparatus, non-transitory storage medium, and image processing method
JP5871606B2 (en) Image forming apparatus, image display method, and program
JP6540389B2 (en) Image editing apparatus, image editing method and image editing program
JP2009278373A (en) Image processor, image formation device, and computer program
JP6772505B2 (en) Programs and terminals
JP6953957B2 (en) Image processing equipment and programs
JP5983264B2 (en) Control apparatus, image forming apparatus, display method, and control program
JP6164020B2 (en) Image forming apparatus and program
JP2011066589A (en) Image processing apparatus, and image processing method thereof
JP5772205B2 (en) Image forming apparatus, setting method, and setting program
JP2016111390A (en) Image formation apparatus
JP2019161639A (en) Image processing apparatus, program and image processing method
JP2006260398A (en) Printing controller and its control method
JP2011250251A (en) Image processing system, additional image compositing method, and additional image compositing program
JP6946821B2 (en) Control device, book cover production method and control program
JP5693319B2 (en) Display device, image forming apparatus, image display method, computer program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190410

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: 20190514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190527

R150 Certificate of patent or registration of utility model

Ref document number: 6540389

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees