JP2009238106A - Image processing method, device and program - Google Patents
Image processing method, device and program Download PDFInfo
- Publication number
- JP2009238106A JP2009238106A JP2008086027A JP2008086027A JP2009238106A JP 2009238106 A JP2009238106 A JP 2009238106A JP 2008086027 A JP2008086027 A JP 2008086027A JP 2008086027 A JP2008086027 A JP 2008086027A JP 2009238106 A JP2009238106 A JP 2009238106A
- Authority
- JP
- Japan
- Prior art keywords
- cursor
- point
- trajectory
- releasing
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
【課題】簡易なカーソル操作により、画面上の領域に複数の飾付部品をユーザの意図を反映して配置する。
【解決手段】画面上の、カーソルを放す操作が行われた第1の点と、カーソルを放す操作の前にカーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方に基づいて長さを決定し、第1の点と、カーソルを放す操作の前に、カーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の第1の点を越えて延びた、その決定された長さの延長軌道を決定し、決定された延長軌道に沿って複数の飾付部品を配置する。
【選択図】図4A plurality of decorative parts are arranged in a region on a screen reflecting a user's intention by a simple cursor operation.
The movement distance and movement of a cursor between a first point on the screen where the operation for releasing the cursor has been performed and a second point on the trajectory to which the cursor has moved before the operation for releasing the cursor. Determine the length based on at least one of the times, and from the trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved prior to releasing the cursor, the trajectory An extension trajectory of the determined length extending beyond the first point is determined, and a plurality of decorative parts are arranged along the determined extension trajectory.
[Selection] Figure 4
Description
本発明は、画像表示手段上に表示されている対象領域に、カーソルの操作に基づいて複数の飾付部品を配置する画像処理方法および装置ならびにプログラムに関するものである。 The present invention relates to an image processing method, apparatus, and program for arranging a plurality of decorative parts in a target area displayed on an image display means based on a cursor operation.
近年、デジタル写真画像を楽しむ上で、写真画像に対して花やハートマーク等、各種の図形の飾り付けをすることが行われており、画像表示手段上に、飾り付ける対象の写真画像を表示させ、ユーザによるカーソルのクリック操作などで直接指定された写真画像上の位置に所望の飾付部品を配置処理することが知られている。 In recent years, in order to enjoy digital photographic images, various shapes such as flowers and heart marks have been decorated on the photographic images, and the photographic images to be decorated are displayed on the image display means. It is known that a desired decorative part is arranged at a position on a photographic image that is directly designated by a user clicking a cursor.
特許文献1では、図18に示すように、写真画像91中の、人物の顔領域92を除いた背景領域のランダムな位置に飾付部品を自動配置する方法が提案されている。
In
特許文献2では、写真画像中の人物の顔領域のサイズに合わせて拡縮した飾付部品(メガネ、付け髭など)を、その顔領域の画像に合うように位置決めして自動配置する方法が提案されている。
しかし、ユーザにより直接指定された位置に飾付部品を配置する上記方法では、飾付部品を配置する度にその配置位置を指定する操作を要するため、配置する飾付部品の数が多いほど手間が掛かるという問題がある。また、ユーザが飾付部品を配置する位置決めに不慣れな場合には、不自然な配置になってしまう場合も多い。 However, in the above-described method of arranging a decorative part at a position directly designated by the user, an operation for specifying the arrangement position is required every time a decorative part is arranged. There is a problem that it takes. In addition, when the user is unfamiliar with the positioning for arranging the decorative part, the arrangement is often unnatural.
また、飾付部品をランダムな位置に自動配置する特許文献1の方法では、飾付部品の配置を自動化することによりユーザの手間を軽減することは可能であるが、飾付部品の配置にユーザの意図を反映することができない。
Moreover, in the method of
また、顔領域の位置とサイズに応じて、飾付部品のしかるべき配置位置が一意的に決定される特許文献2では、その飾付部品を用いることにより得られる飾り付けの効果のバリエーションが少ないという問題がある。
Further, in
本発明は、上記事情に鑑み、簡易なカーソル操作により、複数の飾付部品をユーザの意図を反映して配置することができる画像処理方法および装置ならびにプログラムを提供することを目的とするものである。 In view of the above circumstances, an object of the present invention is to provide an image processing method, an apparatus, and a program capable of arranging a plurality of decorative parts reflecting a user's intention by a simple cursor operation. is there.
本発明の画像処理方法は、画像表示手段上に表示されている対象領域に、カーソルの操作に基づいて複数の飾付部品を配置する画像処理方法であって、画像表示手段上の、カーソルを放す操作が行われた第1の点と、カーソルを放す操作の前にそのカーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間に基づいて長さを決定し、第1の点と、カーソルを放す操作の前に、そのカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の第1の点を越えて延びた、その決定された長さの延長軌道を決定し、決定された延長軌道に沿って複数の飾付部品を配置することを特徴とするものである。 An image processing method of the present invention is an image processing method in which a plurality of decorative parts are arranged in a target area displayed on an image display means based on an operation of the cursor. At least one of the moving distance and the moving time of the cursor between the first point at which the releasing operation is performed and the second point on the trajectory to which the cursor has moved before the releasing operation, or the pressing of the cursor Determine the length based on the time, and from the trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved before the operation of releasing the cursor, An extension track of the determined length extending beyond one point is determined, and a plurality of decorative parts are arranged along the determined extension track.
本発明の画像処理装置は、画像表示手段上に表示されている対象領域に、カーソルの操作に基づいて複数の飾付部品を配置する画像処理装置であって、画像表示手段上の、カーソルを放す操作が行われた第1の点と、カーソルを放す操作の前にそのカーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間に基づいて長さを決定する長さ決定手段と、第1の点と、カーソルを放す操作の前に、そのカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の前記第1の点を越えて延びた、長さ決定手段により決定された長さの延長軌道を決定する延長軌道決定手段と、延長軌道決定手段により決定された延長軌道に沿って複数の飾付部品を配置する飾付部品配置手段とを備えたことを特徴とするものである。 An image processing apparatus of the present invention is an image processing apparatus that arranges a plurality of decorative parts in a target area displayed on an image display means based on an operation of the cursor, and the cursor on the image display means At least one of the moving distance and the moving time of the cursor between the first point at which the releasing operation is performed and the second point on the trajectory to which the cursor has moved before the releasing operation, or the pressing of the cursor From a trajectory defined based on a length determining means for determining a length based on time, a first point, and one or more points on the trajectory to which the cursor has moved prior to the operation of releasing the cursor An extended trajectory determining means for determining an extended trajectory having a length determined by the length determining means, extending beyond the first point of the trajectory; and along the extended trajectory determined by the extended trajectory determining means Arrange multiple decorative parts It is characterized in that a Kazarizuke component placement means.
上記装置は、飾付部品配置手段により配置される飾付部品の数、大きさ、および色の少なくとも1つを設定する設定手段をさらに備えたものであってもよい。 The apparatus may further include setting means for setting at least one of the number, size, and color of the decoration parts arranged by the decoration part arrangement means.
この設定手段による設定は、画像表示手段上に表示されている、配置する飾付部品の選択に用いられる選択ボタン上で、カーソルを押下した状態で維持する操作の持続時間に基づいて行われるものであってもよい。 The setting by the setting means is performed based on the duration of the operation that is maintained while the cursor is pressed on the selection button that is displayed on the image display means and that is used to select a decorative part to be arranged. It may be.
また、上記装置においては、選択ボタン上でカーソルを押下する操作と、第1の点でカーソルを放す操作とが、一連の動作で行われるものであってもよい。 In the above apparatus, the operation of pressing the cursor on the selection button and the operation of releasing the cursor at the first point may be performed in a series of operations.
また、上記装置において、対象領域が、写真画像が存在する領域であり、写真画像中の主要被写体を表す領域を検出する検出手段をさらに備え、飾付部品配置手段が、検出手段により検出された領域と他の領域に、互いに異なる配置態様で装飾部品を配置するものであってもよい。 Further, in the above apparatus, the target region is a region where a photographic image exists, and further includes a detection unit that detects a region representing a main subject in the photographic image, and the decoration component arranging unit is detected by the detection unit. You may arrange | position a decorative component in a mutually different arrangement | positioning aspect in an area | region and another area | region.
また、長さ決定手段による決定は、第1の点と第2の点との間のカーソルの移動速度、移動加速度のいずれかに基づいて行われるものであってもよい。 The determination by the length determination means may be made based on either the moving speed or the moving acceleration of the cursor between the first point and the second point.
また、第2の点は、カーソルを放す操作に先立ってその放す操作と一連の動作でカーソルの押下操作を開始した点、カーソルを放す操作の所定の時間前にカーソルがあった点およびカーソルを放す操作の前にそのカーソルが移動した軌道上で、第1の点から所定の距離に存在する点のいずれかであってもよい。 In addition, the second point is the point at which the cursor was pressed by a series of operations before releasing the cursor, the point at which the cursor was located a predetermined time before the operation to release the cursor, and the cursor. It may be one of the points existing at a predetermined distance from the first point on the trajectory where the cursor has moved before the releasing operation.
本発明の画像処理プログラムは、画像表示手段上に表示されている対象領域に、カーソルの操作に基づいて複数の飾付部品を配置ためのプログラムであって、コンピュータに、画像表示手段上の、カーソルを放す操作が行われた第1の点と、カーソルを放す操作の前にそのカーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間に基づいて長さを決定し、第1の点と、カーソルを放す操作の前に、そのカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の第1の点を越えて延びた前記決定された長さの延長軌道を決定し、決定された延長軌道に沿って複数の飾付部品を配置することを実行させるためのものである。 The image processing program of the present invention is a program for arranging a plurality of decorative parts on the target area displayed on the image display means based on the operation of the cursor, on the computer, on the image display means, At least one of the movement distance and the movement time of the cursor between the first point where the operation for releasing the cursor was performed and the second point on the trajectory to which the cursor moved before the operation for releasing the cursor, or the cursor A path determined from the trajectory defined on the basis of the first point and one or more points on the trajectory to which the cursor has moved before the operation of releasing the cursor. Determining an extension trajectory of the determined length extending beyond the first point, and arranging a plurality of decorative parts along the determined extension trajectory.
なお、ここで対象領域というのは、飾付部品を配置したい領域を広く意味するものであり、写真画像のほか各種の画像、図形、文字列等のコンテンツが存在する領域に限らず、何らコンテンツが存在しない領域をも含むものである。 Note that the target area here means a wide area where a decorative part is to be placed, and is not limited to an area in which various types of images, graphics, character strings, etc. exist in addition to photographic images. It also includes areas where no exists.
また、「カーソル」とは、画面上での操作位置を示すものであり、必ずしも画面上に表れる絵記号に限られるものではない。したがって、「カーソルを操作する」とは、表示画面上のカーソルを操作するマウスや、赤外線方式や電波方式によるリモートコントロール・ポインティングデバイス等の、表示画面上での入力位置や座標を指定する入力機器を用いて表示画面上のカーソルを操作する画面上の絵記号を動かすものに限られるものではなく、画面には何も現れないで指で操作をするタッチパネルをも含むものを意味する。 The “cursor” indicates an operation position on the screen, and is not necessarily limited to a pictorial symbol appearing on the screen. Therefore, “operating the cursor” means an input device that specifies the input position and coordinates on the display screen, such as a mouse that operates the cursor on the display screen and a remote control / pointing device using an infrared or radio system. It is not limited to moving the pictorial symbol on the screen to operate the cursor on the display screen using, but means including a touch panel that operates with a finger without appearing on the screen.
ここで、カーソルを、押下する操作、押下した状態で維持する操作、押下した状態で移動する動作(ドラッグ操作)、および放す操作とは、たとえばカーソルを操作する入力機器がマウスである場合、それぞれマウスボタンを押す操作、マウスボタンを押したまま維持する操作およびマウスボタンを離す操作をいう。また、タッチパネルであれば、パネルに指をタッチする操作、タッチした状態で維持する操作、タッチした指をパネル面上で移動する操作、およびパネルから指を離す操作を意味する。 Here, the operation of pressing the cursor, the operation of maintaining the pressed state, the operation of moving in the pressed state (drag operation), and the releasing operation are, for example, when the input device that operates the cursor is a mouse. An operation of pressing a mouse button, an operation of keeping a mouse button pressed, and an operation of releasing a mouse button. In the case of a touch panel, it means an operation of touching the panel with a finger, an operation of maintaining the touched state, an operation of moving the touched finger on the panel surface, and an operation of releasing the finger from the panel.
また、カーソルを押下する操作とカーソルを放す操作とを一連の動作で行うとは、それらの操作の間ではカーソルを押下した状態で維持することを意味する。 Further, performing the operation of pressing the cursor and the operation of releasing the cursor by a series of operations means that the cursor is kept pressed between these operations.
本発明の画像処理方法および装置ならびにプログラムによれば、画像表示手段上に表示されている対象領域に、カーソルの操作に基づいて複数の飾付部品を配置する際に、画像表示手段上の、カーソルを放す操作が行われた第1の点と、カーソルを放す操作の前にそのカーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間のいずれか一方または両方、あるいはカーソルの押下時間に基づいて長さを決定し、第1の点と、カーソルを放す操作の前に、そのカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の第1の点を越えて延びた、その決定された長さの延長軌道を決定し、決定された延長軌道に沿って複数の飾付部品を配置するようにしているので、簡易なカーソル操作により、複数の飾付部品をユーザの意図を反映して配置することができる。 According to the image processing method and apparatus and the program of the present invention, when arranging a plurality of decorative parts based on the operation of the cursor in the target area displayed on the image display means, on the image display means, Either or both of the moving distance and moving time of the cursor between the first point at which the operation for releasing the cursor was performed and the second point on the trajectory to which the cursor moved before the operation for releasing the cursor Alternatively, the length is determined based on the time the cursor is pressed, and from a trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved prior to releasing the cursor. The extension track of the determined length extending beyond the first point of the track is determined, and a plurality of decorative parts are arranged along the determined extension track. By a simple cursor operation A plurality of components with decoration can be arranged to reflect the user's intention.
また、その延長軌道がカーソルの移動した軌道より長い場合には、小さい範囲でのカーソル操作で、広い範囲に亘って飾付部品を配置することもできる。 In addition, when the extended trajectory is longer than the trajectory moved by the cursor, the decorative part can be arranged over a wide range by a cursor operation in a small range.
また、配置される飾付部品の数、大きさ、および色の少なくとも1つを、画像表示手段上に表示されている、配置する飾付部品の選択に用いられる選択ボタン上でカーソルを押下した状態で維持する操作の持続時間に基づいて設定する場合には、ユーザは飾付部品の数などの設定を直感的なカーソルの操作によりに行うことができる。 Further, at least one of the number, size, and color of the decoration parts to be arranged is displayed on the image display means, and the cursor is pressed on the selection button used for selecting the decoration parts to be arranged. When setting based on the duration of the operation maintained in the state, the user can perform settings such as the number of decorative parts by intuitive cursor operation.
また、選択ボタン上でカーソルを押下する操作と、第1の点でカーソルを放す操作とが、一連の動作で行われるものである場合には、より少ない操作で飾付部品を配置することができる。 In addition, when the operation of pressing the cursor on the selection button and the operation of releasing the cursor at the first point are performed in a series of operations, the decorative component can be arranged with fewer operations. it can.
また、対象領域を写真画像が存在する領域とし、写真画像中の主要被写体を表す領域を検出し、検出された領域と他の領域に、互いに異なる配置態様で装飾部品を配置する場合には、たとえば人物画像中の主要被写体となる顔領域上には多数の飾付部品が重なって配置されることがないようにするとともに、顔以外の領域には多数の飾付部品が重なって配置されてもよいようにすることができ、顔画像を際立たせることができる。 In addition, when the target area is an area where a photographic image exists, an area representing a main subject in the photographic image is detected, and decorative parts are arranged in different arrangement modes in the detected area and other areas, For example, a large number of decorative parts should not be placed on the face area that is the main subject in the human image, and a large number of decorative parts should be placed in areas other than the face. The face image can be made to stand out.
以下、図面を参照して、本発明の一実施の形態について説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、画像処理ワークステーションの概要を示すブロック図である。図に示すように、この画像処理ワークステーションは、入力された画像を表示させ、ユーザからの指示に応じて画像処理を施し、画像処理済の画像を表示させるコンピュータであり、デジタル画像を入力する画像入力部10と、ユーザからの指示を入力するためのユーザ入力部20と、ユーザ入力部20における入力に基づいて、デジタル画像に画像処理を行う画像処理部30と、ディスプレイ等の画像表示部40と、画像表示部40上に、入力された画像や画像処理済の画像などを表示させる表示制御部50と備えている。
FIG. 1 is a block diagram showing an outline of an image processing workstation. As shown in the figure, this image processing workstation is a computer that displays an input image, performs image processing according to an instruction from a user, and displays an image processed image, and inputs a digital image. An
ユーザ入力部30には、マウスやタッチパネル、赤外線方式や電波方式によるリモートコントロール・ポインティングデバイス等の、表示画面上での入力位置や座標を指定する入力機器が含まれており、このような入力機器を用いて表示画面上のカーソルを操作することにより、コンピュータに所望の処理を実行させることができる。なお、たとえばマウスボタンを押下し、押下した状態でマウスを移動させ、移動先でマウスボタンを離すことにより、カーソルを、押下する操作、押下した状態で維持しながら移動させる操作、放す操作を行うことができる。
The
図2は、画像処理部30の、飾付部品を配置する機能に関連する部分を示すブロック図である。この画像処理部30は、たとえば図3に示すような表示画面61上におけるカーソルの操作に基づいて飾付部品を配置するものであり、飾付部品選択部31、強度設定部32、長さ決定部34、延長軌道決定部35、配置部36、検出部37などを備えている。
FIG. 2 is a block diagram showing a part of the
なお、図2に示す画像処理部の構成は、補助記憶装置に読み込まれた画像処理プログラムを画像処理ワークステーション上で実行することにより実現される。このとき、この画像処理プログラムは、CD-ROM等の情報記憶媒体に記憶され、もしくはインターネット等のネットワークを介して配布され、コンピュータにインストールされることになる。 The configuration of the image processing unit shown in FIG. 2 is realized by executing an image processing program read into the auxiliary storage device on the image processing workstation. At this time, the image processing program is stored in an information storage medium such as a CD-ROM, or distributed via a network such as the Internet and installed in a computer.
飾付部品選択部31は、たとえば図4に示すような、表示画面61上に表示されている飾付部品の選択ボタン71、72、73のいずれかの上でカーソルを押下する操作により、その選択ボタンに対応する飾付部品を選択するものである。
The decorative
強度設定部32は、配置処理部34により配置される飾付部品の数、大きさ、色などをあらかじめデフォルトで設定した値を用いて、あるいはユーザの入力に応じて設定するものであって、たとえば選択ボタン上で、カーソルを押下した回数や、カーソルを押下した状態で維持する操作の持続時間が長さや、感圧式タッチパネルなどによりカーソルを押下する押し圧の強さなどに応じて飾付部品の数などを設定する。
The
図4に示すように、選択ボタン上でカーソルCsを押下した状態で維持する操作の持続時間が長いほど、表示画面上にハート型の飾付部品が増えていくアニメーションを表示させるとともに、設定される飾付部品の数も大きくなるようにしてもよい。 As shown in Fig. 4, the longer the duration of the operation that is held with the cursor Cs held down on the selection button, the longer the animation that the heart-shaped decoration parts increase on the display screen, and the setting is made. You may make it also the number of decoration parts to increase.
なお、それぞれランダムな色を有する多様なサイズの飾付部品を配置する場合には、飾付部品に用いられる、色の数、サイズの数などを設定し、配置される飾付部品の多様性を調整することもできる。 In addition, when arranging decorative parts of various sizes with random colors, set the number of colors, the number of sizes, etc. used for the decorative parts, and the variety of decorative parts to be arranged Can also be adjusted.
また、複数の設定項目のそれぞれの設定値を予め複数の段階で定義しておき、ユーザの入力に応じて選ばれた段階に対応する設定値のセットを用いるようにしてもよい。たとえば、段階1では、配置される飾付部品の数を5個とし、その中で2個は赤色、3個は白色とし、かつ、2個は大の大きさ、2個は中大きさ、1個は小の大きさとする設定が、段階2では、配置される飾付部品の数を7個とし、その中で2個は赤色、3個は白色、2個は青色とし、かつ、3個は大の大きさ、2個は中の大きさ、2個は小の大きさとする設定がなされるよう、予め定義する。
Alternatively, each setting value of a plurality of setting items may be defined in advance at a plurality of stages, and a set of setting values corresponding to a stage selected according to a user input may be used. For example, in
長さ決定部34は、画像表示部40上の、カーソルを放す操作が行われた点Ptと、カーソルを放す操作の前にカーソルが移動した軌道上の点Phとの間のカーソルの移動距離および移動時間のいずれか一方または両方に基づいて長さDを決定する。
The
たとえば、点Ptと点Phとの間のカーソルの移動距離、移動速度、移動加速度のいずれかを長さを決定するための基準とし、基準として用いる移動距離、移動速度、または移動加速度の値が大きいほど、長さDが大きくなるように決定する。 For example, any of the movement distance, movement speed, and movement acceleration of the cursor between the point Pt and the point Ph is used as a reference for determining the length, and the value of the movement distance, movement speed, or movement acceleration used as the reference is It determines so that length D becomes large, so that it is large.
なお、カーソルの押下を開始した時点から点Ptでカーソルを放すまでの経過時間が長いほど、長さDが大きくなるように決定してもよい。 Note that the length D may be determined to increase as the elapsed time from when the cursor starts to be pressed until the cursor is released at the point Pt is longer.
ここで、点Phは、図5および図6に示すように、カーソルの移動軌道Tにおいて、点P1でカーソルが押下され、押下したまま点Ptに移動し、点Ptで放す操作が行われた場合、押下操作を開始した点P1であってもよいし、点Ptでのカーソルを放す操作の前にカーソルが移動した軌道上で点Ptから所定の距離に存在する点P2であってもよいし、点Ptでのカーソルを放す操作の所定の時間前にカーソルがあった点であってもよい。 Here, as shown in FIG. 5 and FIG. 6, the point Ph is moved at the point P1 in the movement trajectory T of the cursor, moved to the point Pt while being pressed, and released at the point Pt. In this case, it may be the point P1 at which the pressing operation is started, or may be the point P2 existing at a predetermined distance from the point Pt on the trajectory on which the cursor has moved before the operation of releasing the cursor at the point Pt. Alternatively, it may be a point where the cursor is located a predetermined time before the operation of releasing the cursor at the point Pt.
なお、図5から図8では、カーソルを押下した状態で移動した軌道の部分は実線で表し、カーソルを放した状態で移動した軌道の部分は破線で表している。 In FIG. 5 to FIG. 8, the portion of the trajectory moved with the cursor pressed is indicated by a solid line, and the portion of the trajectory moved with the cursor released is indicated by a broken line.
延長軌道決定部38は、点Ptと、カーソルを放す操作の前にカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の点Ptを越えて延びた、長さDの延長軌道を決定する。ここで、複数の点に基づいて規定される軌道とは、たとえば、その複数の点を滑らかに通るスプライン曲線、その複数の点を制御点として得られるベジェ曲線などをいう。なお、2つの点に基づいて規定される軌道とは、それらの点を結ぶ直線をいう。 The extended trajectory determination unit 38 extends from a trajectory defined based on the point Pt and one or more points on the trajectory to which the cursor has moved before the operation of releasing the cursor, beyond the point Pt of the trajectory. Determine the extension trajectory of length D. Here, the trajectory defined based on a plurality of points refers to, for example, a spline curve that smoothly passes through the plurality of points, a Bezier curve obtained using the plurality of points as control points, and the like. A trajectory defined based on two points refers to a straight line connecting those points.
たとえば、図5および図6に示すように、カーソルの押下操作を開始した点P1と、その押下したカーソルを放した点Ptとを結んだ線分R1から、点Ptを超えて伸びた、長さDを有する直線E1を延長軌道として決定する。また、点Ptと、点Ptでのカーソルを放す操作の前にカーソルが移動した軌道上で点Ptから所定の距離に存在する点P2とを結んだ線分R2から、点Ptを超えて伸びた、長さDを有する直線E2を延長軌道として決定するようにしてもよいし、点Ptと、点Ptでのカーソルを放す操作の所定の時間前にカーソルがあった点とを結んだ線分から、点Ptを超えて伸びた、長さDを有する直線を延長軌道として決定するようにしてもよい。 For example, as shown in FIG. 5 and FIG. 6, a long line extending beyond the point Pt from a line segment R1 connecting the point P1 at which the cursor pressing operation is started and the point Pt at which the pressed cursor is released is connected. A straight line E1 having a length D is determined as an extended trajectory. In addition, it extends beyond the point Pt from the line segment R2 that connects the point Pt and the point P2 that exists at a predetermined distance from the point Pt on the trajectory where the cursor has moved before releasing the cursor at the point Pt. Alternatively, the straight line E2 having the length D may be determined as the extension trajectory, or a line connecting the point Pt and the point where the cursor was located a predetermined time before the operation of releasing the cursor at the point Pt. Therefore, a straight line having a length D extending beyond the point Pt may be determined as the extended trajectory.
また、図7および図8に示すように、カーソルの押下操作を開始した点P1と、その押下したカーソルを放した点Ptと、それらの点PtとP1の間でカーソルが移動した軌道上の点Q2、Q3およびQ4とを制御点として得られる曲線R3から、点Ptを超えて伸びた、長さDを有する曲線E3を延長軌道として決定するようにしてもよいし、点Ptと、点Ptでのカーソルを放す操作の前にカーソルが移動した軌道上で点Ptから所定の距離に存在する点Q5と、それらの点PtとQ5の間でカーソルが移動した軌道上の点Q6、Q7およびQ8とを滑らかに通る曲線から、点Ptを超えて伸びた、長さDを有する曲線E4を延長軌道として決定するようにしてもよい。また、点Ptと、点Ptでのカーソルを放す操作の所定の時間前にカーソルがあった点と、それらの点の間でカーソルが移動した軌道上の1以上の点とを制御点として得られる曲線から、点Ptを超えて伸びた、長さDを有する曲線E4を延長軌道として決定するようにしてもよい。 Further, as shown in FIGS. 7 and 8, the point P1 at which the cursor pressing operation is started, the point Pt at which the pressed cursor is released, and the trajectory on which the cursor moves between the points Pt and P1 From the curve R3 obtained using the points Q2, Q3 and Q4 as control points, a curve E3 having a length D extending beyond the point Pt may be determined as an extended trajectory, or the point Pt and the point The point Q5 that exists at a predetermined distance from the point Pt on the trajectory where the cursor moved before the operation of releasing the cursor at Pt, and the points Q6 and Q7 on the trajectory where the cursor moved between those points Pt and Q5 And a curve E4 having a length D extending beyond the point Pt from the curve smoothly passing through Q8 and Q8 may be determined as the extended trajectory. Also, the control point is obtained from the point Pt, the point where the cursor was at a predetermined time before releasing the cursor at the point Pt, and one or more points on the trajectory where the cursor moved between those points. A curve E4 having a length D extending beyond the point Pt from the obtained curve may be determined as the extension trajectory.
なお、ここでは、カーソルを放す操作が行われた点Ptに接して延びた延長軌道を例示して説明しているが、延長軌道は、点Ptを越えて延びたものであればよく、点Ptからある程度離れた位置から長さDをもって延びたものであってもよい。なお、この延長軌道の始点の位置は、強度設定部32において設定された飾付部品の大きさに基づいて決定されるようにしてもよい。
Note that, here, an extended trajectory extending in contact with the point Pt at which the operation of releasing the cursor was performed is described as an example, but the extended trajectory may be any one that extends beyond the point Pt. It may extend with a length D from a position away from Pt to some extent. Note that the position of the starting point of the extended track may be determined based on the size of the decorative part set in the
配置部34(飾付部品配置手段)は、延長軌道決定部により決定された延長軌道に沿って飾付部品を配置するものであって、たとえば、図9および図10に示すように、延長軌道Ej上に基準点S1、S2、…、S7を等間隔で設定し、設定された基準点毎に、その基準点を重心位置に有するランダムな大きさの正三角形を設定し、設定された各三角形の各頂点に飾付部品を配置する。これにより、図11に示すような配置画像が得られる。 The arrangement part 34 (decoration part arrangement means) arranges the decoration parts along the extension trajectory determined by the extension trajectory determination part. For example, as shown in FIG. 9 and FIG. The reference points S1, S2, ..., S7 are set on Ej at equal intervals, and for each set reference point, a regular triangle of random size having the reference point at the center of gravity is set. Place decorative parts at each vertex of the triangle. Thereby, an arrangement image as shown in FIG. 11 is obtained.
なお、配置処理部34は、検出部37において従来のオブジェクト検出手法により検出された主要被写体領域と他の領域に、互いに異なる配置態様で飾付部品を配置する機能をさらに有する。たとえば、図11の人物画像において顔領域が主要被写体として検出された場合、図12に示すように、顔領域に重なって配置されている飾付部品を削除したり、図13に示すように飾付部品を配置するために設定した三角形を回転・縮小させたりし、顔領域上に飾付部品が重なって配置されないようにすることが可能である。
The
また、検出された主要被写体領域を他の領域と異なるレイヤーとして扱うことにより、たとえば図14に示すように、飾付部品が主要被写体(ここでは人物領域の全体)の後方で、かつ他の領域の前方に配置されるようにすることもできる。 Further, by treating the detected main subject area as a layer different from the other areas, for example, as shown in FIG. 14, the decoration part is behind the main subject (here, the entire person area) and the other areas. It can also be arranged in front of.
上記飾付部品の配置において、基準点の数、多角形の種類(三角形、四角形、それらの組み合わせ等)は、強度設定部32において設定された飾付部品の数などに基づいて決定されるようにしてもよく、基準点の配置間隔は、写真画像の大きさに応じて決定されるようにしてもよい。
In the arrangement of the decorative parts, the number of reference points and the types of polygons (triangles, quadrangles, combinations thereof, etc.) are determined based on the number of decorative parts set in the
また、各基準点に対応して設定される多角形の大きさは、ランダムであってもよいが、延長軌道に沿って次第に大きくなるように、または小さくなるように予め設定しておいてもよい。 The size of the polygon set corresponding to each reference point may be random, but may be set in advance so as to gradually increase or decrease along the extended trajectory. Good.
また、各多角形は、それぞれ対応する基準点をその多角形の大まかな中心に有するものであってもよいし、中心から外れた位置に有するものであってもよく、その基準点を中心位置とする所定の基準軸に対して任意の角度で回転しているものであってもよい。 In addition, each polygon may have a corresponding reference point at the rough center of the polygon, or may have a reference point that is off the center. Rotating at an arbitrary angle with respect to a predetermined reference axis.
以上では、直線の延長軌道に沿って飾付部品を配置する場合を例示して説明しているが、延長軌道が曲線である場合にも上述した方法により飾付部品を配置することができる。たとえば、図15および図16に示すように、曲線の延長軌道Ek上に基準点S11、S12、、S16を等間隔で設定し、設定された基準点毎に、その基準点を重心位置に有するランダムな大きさの正三角形をランダムな傾きに設定し、設定された各三角形の各頂点に飾付部品を配置する。これにより、図17に示すような配置画像が得られる。 In the above description, the case where the decorative component is arranged along the straight extended track is described as an example. However, even when the extended track is a curve, the decorated component can be arranged by the above-described method. For example, as shown in FIGS. 15 and 16, reference points S11, S12, and S16 are set at equal intervals on the extended trajectory Ek of the curve, and each reference point has the reference point at the center of gravity. Randomly sized equilateral triangles are set to a random inclination, and a decorative part is placed at each vertex of the set triangles. Thereby, an arrangement image as shown in FIG. 17 is obtained.
また、上記直線の延長軌道に沿って飾付部品を配置する場合における上述した種々の対応についても、曲線の延長軌道に沿って飾付部品を配置する場合に適用することができる。 In addition, the above-described various correspondences in the case where the decorative component is arranged along the linear extension track can also be applied to the case where the decorative component is arranged along the curved extension track.
上記の構成により、飾付部品を配置する際には、たとえば、表示画面上に表示されている配置させたい飾付部品の選択ボタン上でカーソルを押下する操作を開始し、押下したまま所望する飾付部品の数、大きさ、色が設定されるまでカーソルを選択ボタン上に位置させ、所望する設定になったら、引き続き押下したまま飾付部品を配置したい方向に、かつ配置したい範囲の長さに応じたスピードでカーソルを動かし、飾付部品を配置したい範囲に入る直前にカーソルを放す操作を行う。これにより、カーソルを押下して放す一連の直感的なカーソル操作により、所望の数の飾付部品を対象画像上の所望の範囲に配置することができる。 With the above configuration, when placing a decorative part, for example, an operation of pressing the cursor on the selection button of the decorative part to be placed displayed on the display screen is started, and the desired part remains pressed. Position the cursor on the selection button until the number, size, and color of the decoration parts are set. When the desired setting is reached, continue pressing and hold in the direction you want to place the decoration parts and the length of the range you want to place. Move the cursor at the appropriate speed, and release the cursor immediately before entering the area where you want to place the decorative part. Thus, a desired number of decorative parts can be arranged in a desired range on the target image by a series of intuitive cursor operations in which the cursor is pressed and released.
なお、上記操作例においては、飾付部品の選択等のために選択ボタン上でカーソルを押下する操作と、飾付部品の配置を指示するカーソルを放す操作とが、一連の動作で行われる場合について説明したが、飾付部品の選択等のために選択ボタン上でカーソルを押下する操作が行われた後に、再度カーソルを押下して放す操作により飾付部品が配置されるようにしてもよい。 In the above operation example, when the operation of pressing the cursor on the selection button for selection of the decoration part and the like and the operation of releasing the cursor for instructing the placement of the decoration part are performed in a series of operations. However, after an operation of pressing the cursor on the selection button for selecting a decorative part is performed, the decorative part may be arranged by an operation of pressing and releasing the cursor again. .
上記実施の形態によれば、画像表示部40上に表示されている対象画像に、カーソルの操作に基づいて複数の飾付部品を配置する際に、画像表示手段上の、カーソルを放す操作が行われた点Ptと、カーソルを放す操作の前にそのカーソルが移動した軌道上の点Phとの間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間基づいて長さDを決定し、点Ptと、カーソルを放す操作の前に、そのカーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、その軌道の点Ptを越えて延びた長さDの延長軌道を決定し、決定された延長軌道に沿って複数の飾付部品を配置するようにしているので、簡易なカーソル操作により、複数の飾付部品をユーザの意図を反映して配置することができる。
According to the above embodiment, when arranging a plurality of decorative parts on the target image displayed on the
1 アルバム編集装置
10 画像入力部
20 ユーザ入力部
30 画像処理部
40 画像表示部
50 表示制御部
31 飾付部品選択部
32 強度設定部
34 長さ決定部
35 延長軌道決定部
36 配置部
37 検出部
DESCRIPTION OF
Claims (9)
前記画像表示手段上の、カーソルを放す操作が行われた第1の点と、前記カーソルを放す操作の前に該カーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間に基づいて長さを決定し、
前記第1の点と、前記カーソルを放す操作の前に、該カーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、該軌道の前記第1の点を越えて延びた前記決定された長さの延長軌道を決定し、
該決定された延長軌道に沿って前記複数の飾付部品を配置する
ことを特徴とする画像処理方法。 An image processing method for arranging a plurality of decorative parts on a target area displayed on an image display means based on an operation of a cursor,
The movement distance of the cursor between the first point on the image display means where the operation for releasing the cursor is performed and the second point on the trajectory to which the cursor has moved before the operation for releasing the cursor, and Determine the length based on at least one of the travel times or the time the cursor is pressed,
Extends beyond the first point of the trajectory from a trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved prior to releasing the cursor. Determining an extended trajectory of the determined length;
The image processing method, wherein the plurality of decorative parts are arranged along the determined extension trajectory.
前記画像表示手段上の、カーソルを放す操作が行われた第1の点と、前記カーソルを放す操作の前に該カーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間の少なくとも一方、あるいはカーソルの押下時間に基づいて長さを決定する長さ決定手段と、
前記第1の点と、前記カーソルを放す操作の前に、該カーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、該軌道の前記第1の点を越えて延びた前記長さ決定手段により決定された長さの延長軌道を決定する延長軌道決定手段と、
前記延長軌道決定手段により決定された延長軌道に沿って前記複数の飾付部品を配置する飾付部品配置手段と
を備えたことを特徴とする画像処理装置。 An image processing device that arranges a plurality of decorative parts in a target area displayed on an image display means based on an operation of a cursor,
The movement distance of the cursor between the first point on the image display means where the operation for releasing the cursor is performed and the second point on the trajectory to which the cursor has moved before the operation for releasing the cursor, and A length determining means for determining the length based on at least one of the movement times or the time of pressing the cursor;
Extends beyond the first point of the trajectory from a trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved prior to releasing the cursor. Extended trajectory determining means for determining an extended trajectory of the length determined by the length determining means;
An image processing apparatus comprising: decoration part arranging means for arranging the plurality of decoration parts along the extension orbit determined by the extension orbit determining means.
前記写真画像中の主要被写体を表す領域を検出する検出手段をさらに備え、
前記飾付部品配置手段が、前記検出手段により検出された領域と他の領域に、互いに異なる配置態様で前記装飾部品を配置するものであることを特徴とする請求項1から4のいずれか1項記載の画像処理装置。 The target area is an area where a photographic image exists,
Detection means for detecting a region representing the main subject in the photographic image;
5. The decorative part arranging unit arranges the decorative part in a different arrangement form in the area detected by the detecting unit and in another area. The image processing apparatus according to item.
コンピュータに、
前記画像表示手段上の、カーソルを放す操作が行われた第1の点と、前記カーソルを放す操作の前に該カーソルが移動した軌道上の第2の点との間のカーソルの移動距離および移動時間のいずれか一方または両方に基づいて長さを決定し、
前記第1の点と、前記カーソルを放す操作の前に、該カーソルが移動した軌道上の1以上の点とに基づいて規定される軌道から、該軌道の前記第1の点を越えて延びた前記決定された長さの延長軌道を決定し、
該決定された延長軌道に沿って前記複数の飾付部品を配置する
ことを実行させるための画像処理プログラム。 An image processing program for arranging a plurality of decorative parts on the target area displayed on the image display means based on the operation of the cursor,
On the computer,
The movement distance of the cursor between the first point on the image display means where the operation for releasing the cursor is performed and the second point on the trajectory to which the cursor has moved before the operation for releasing the cursor, and Determine the length based on one or both of the travel times,
Extends beyond the first point of the trajectory from a trajectory defined based on the first point and one or more points on the trajectory to which the cursor has moved prior to releasing the cursor. Determining an extended trajectory of the determined length;
An image processing program for causing the plurality of decorative parts to be arranged along the determined extension trajectory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008086027A JP2009238106A (en) | 2008-03-28 | 2008-03-28 | Image processing method, device and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008086027A JP2009238106A (en) | 2008-03-28 | 2008-03-28 | Image processing method, device and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009238106A true JP2009238106A (en) | 2009-10-15 |
Family
ID=41251928
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008086027A Withdrawn JP2009238106A (en) | 2008-03-28 | 2008-03-28 | Image processing method, device and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009238106A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013057907A1 (en) * | 2011-10-17 | 2013-04-25 | Necカシオモバイルコミュニケーションズ株式会社 | Input device, display processing method, and storage medium in which display processing program is stored |
-
2008
- 2008-03-28 JP JP2008086027A patent/JP2009238106A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013057907A1 (en) * | 2011-10-17 | 2013-04-25 | Necカシオモバイルコミュニケーションズ株式会社 | Input device, display processing method, and storage medium in which display processing program is stored |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12443324B2 (en) | Systems, methods, and graphical user interfaces for interacting with augmented and virtual reality environments | |
| US12536762B2 (en) | Systems and methods of creating and editing virtual objects using voxels | |
| US10963140B2 (en) | Augmented reality experience creation via tapping virtual surfaces in augmented reality | |
| US11227446B2 (en) | Systems, methods, and graphical user interfaces for modeling, measuring, and drawing using augmented reality | |
| US5767835A (en) | Method and system for displaying buttons that transition from an active state to an inactive state | |
| US10540069B2 (en) | Image processing apparatus, method, and program using depression time input | |
| USD892148S1 (en) | Display screen or a portion thereof with an animated graphical user interface | |
| USD892149S1 (en) | Display screen or a portion thereof with an animated graphical user interface | |
| US10678340B2 (en) | System and method for providing user interface tools | |
| US7663620B2 (en) | Accessing 2D graphic content using axonometric layer views | |
| USD892829S1 (en) | Display screen or a portion thereof with an animated graphical user interface | |
| AU769120B2 (en) | Control of depth movement for visual display with layered screens | |
| CN117032519A (en) | Apparatus, methods and graphical user interfaces for interacting with three-dimensional environments | |
| JP2019200783A (en) | Systems and methods for multi-user shared virtual and augmented reality-based haptics | |
| JP7242546B2 (en) | Display processing device, display processing method, and program | |
| US20090244004A1 (en) | Image operating device, image operating method, and image operating program | |
| JP2016515226A (en) | Visual shopping | |
| CN116243801A (en) | Apparatus, method and graphical user interface for manipulating user interface objects with visual and/or tactile feedback | |
| JPH1011597A (en) | Picture creation equipment | |
| KR20210137875A (en) | User interfaces related to time | |
| US10241663B2 (en) | Information processing apparatus capable of being operated by multi-touch | |
| CN107123152A (en) | A kind of editing and processing method and device | |
| JP2009238106A (en) | Image processing method, device and program | |
| US20220050550A1 (en) | Information processing device, information processing method, and program | |
| JP2001195604A5 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110607 |