JP2023026304A - Image processing system - Google Patents
Image processing system Download PDFInfo
- Publication number
- JP2023026304A JP2023026304A JP2022067250A JP2022067250A JP2023026304A JP 2023026304 A JP2023026304 A JP 2023026304A JP 2022067250 A JP2022067250 A JP 2022067250A JP 2022067250 A JP2022067250 A JP 2022067250A JP 2023026304 A JP2023026304 A JP 2023026304A
- Authority
- JP
- Japan
- Prior art keywords
- image
- tilt angle
- transformation
- image processing
- rotating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000009466 transformation Effects 0.000 claims abstract description 103
- 230000006870 function Effects 0.000 claims description 4
- 238000003672 processing method Methods 0.000 claims description 4
- 230000008602 contraction Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 14
- 230000001131 transforming effect Effects 0.000 description 10
- 238000000034 method Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005401 electroluminescence Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Abstract
Description
本発明は、デジタル画像データの変形処理を行う画像処理装置に関する。 The present invention relates to an image processing apparatus that transforms digital image data.
従来より、パソコンなどを用いて、写真や動画などのデジタル画像のサイズを変更したり、変形したり、様々なエフェクトを加えるなどの画像編集が広く一般に行われている。例えば、元の画像の形状を変形させる画像変形においては、様々なUI(ユーザインタフェース)が用いられているが、例えば、図13(a)に示すように、変形対象となる画像80を、画像変形の初期位置となる長方形枠81のUIで囲うことで変形範囲を指定する。その後、図13(b)に示すようにこの長方形枠81を拡大縮小することで画像80を拡大縮小したり、図13(c)に示すように長方形枠81を回転させることで選択された画像80を回転したり、図13(d)に示すように画像80を回転させた状態からさらに長方形枠81をその長手方向に伸縮させることで傾斜した画像80を伸縮できる。
2. Description of the Related Art Conventionally, image editing such as changing the size of digital images such as photographs and moving images, transforming them, and adding various effects has been widely and commonly performed using a personal computer or the like. For example, various UIs (user interfaces) are used in image transformation that transforms the shape of an original image. For example, as shown in FIG. The deformation range is specified by enclosing it with the UI of a
そして、例えば、矩形画像を任意の四角形状に変形するに際して、遠近感の有無を任意に選択し、あるいは矩形画像を任意の変形画像に変形する場合には、遠近感を自動的に調整できる画像変形装置が開示されている(例えば、特許文献1参照)。 For example, when deforming a rectangular image into an arbitrary rectangular shape, the presence or absence of perspective can be arbitrarily selected, or when a rectangular image is deformed into an arbitrary deformed image, the perspective can be automatically adjusted. A deformation device has been disclosed (see, for example, Patent Document 1).
ところで、一般に広く用いられているMicrosoft(登録商標)社のWord(登録商標)やExcel(登録商標)など編集ソフトにおける画像変形において、斜めに表示された傾斜画像の変形処理において問題が生じることがある。このことを、図14を用いて説明する。 By the way, in the image deformation in widely used editing software such as Microsoft (registered trademark) Word (registered trademark) and Excel (registered trademark), there is a problem in the deformation processing of an obliquely displayed oblique image. be. This will be explained using FIG.
例えば、写真の一部を変形するような場面において、その変形対象となる画像が傾いた傾斜画像となる場合が多々ある。この場合、図14(a)に示すように傾斜画像90を囲む初期位置となる長方形枠91を指定してから画像変形が行われるが、傾斜画像90の傾斜角度を同じにした状態(ここでは正立した状態と呼ぶ)で上手く変形できないという問題が生じる。具体的には、傾斜画像90の正立した状態の画像を得ようとして、図14(b)及び図14(c)に示すように、単に長方形枠91を横方向や縦方向に引き伸ばすと、変形後の傾斜画像90がかなり歪んでしまう。そして、この場合において、傾斜画像90の正立した状態の画像を得ようとすると、図14(d)に示すように長方形枠91の四隅の制御点を細かく動かして菱形のように配置しないと実現できず、変形作業が難しく且つ手間を要するという問題がある。
For example, when a part of a photograph is to be transformed, the image to be transformed is often a tilted image. In this case, as shown in FIG. 14A, a
本発明は、上記課題に鑑みてなされたものであり、画像変形の際において、傾斜画像などの画像を、容易に伸縮変形、移動及び回転するためのユーザインタフェースを生成して表示する画像処理装置を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and is an image processing apparatus that generates and displays a user interface for easily expanding, contracting, moving, and rotating an image such as an oblique image during image deformation. intended to provide
上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理装置であって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定手段と、前記傾斜角度指定手段において指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成手段と、少なくとも前記画像及び前記UI生成手段で生成された前記画像変形用UIを表示する表示手段と、前記表示手段に表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作手段と、を備えることを特徴とするものである。 In order to achieve the above object, the present invention provides an image processing apparatus for stretching, transforming, moving, and rotating an image, wherein an image transformation UI (User Interface) used when stretching, transforming, moving, and rotating the image is tilted. tilt angle designating means for designating an angle; UI generating means for generating an image transformation UI tilted at the tilt angle designated by the tilt angle designating means; Display means for displaying an image transformation UI; and operation means for stretching, moving, and rotating the image by stretching, moving, and rotating the image transformation UI displayed on the display means. It is characterized by
この画像処理装置において前記UI生成手段は、前記傾斜角度指定手段で指定された傾斜角度を有し、且つ前記画像を囲む最小の長方形を前記画像変形用UIとして生成することが好ましい。 In this image processing apparatus, it is preferable that the UI generating means generates a minimum rectangle surrounding the image, which has the tilt angle specified by the tilt angle specifying means, as the image transformation UI.
この画像処理装置において前記画像処理装置は、さらに、前記画像を囲み、且つ画像変形の際の初期位置となる長方形領域を決定する初期位置決定手段を備え、前記傾斜角度指定手段は、前記傾斜角度として、前記初期位置決定手段において決定された前記長方形領域の傾斜角度を指定することが好ましい。 In this image processing apparatus, the image processing apparatus further comprises initial position determining means for determining a rectangular area surrounding the image and serving as an initial position for image deformation, and the tilt angle specifying means is configured to determine the tilt angle It is preferable to specify the inclination angle of the rectangular area determined by the initial position determining means as .
この画像処理装置において前記UI生成手段は、前記傾斜角度指定手段で指定された傾斜角度を有し、前記長方形領域の中心位置を中心とする条件を満たし、且つ前記画像を囲む最小の長方形を前記画像変形用UIとして生成することが好ましい。 In this image processing apparatus, the UI generating means has the tilt angle specified by the tilt angle specifying means, satisfies the condition that the center position of the rectangular area is the center, and creates a minimum rectangle surrounding the image. It is preferable to generate the UI for image transformation.
この画像処理装置において前記画像処理装置は、さらに、前記画像変形用UIの中心位置を指定するUI中心位置指定手段を備え、前記UI生成手段は、前記傾斜角度指定手段で指定された傾斜角度を有し、前記UI中心位置指定手段において指定されたUI中心位置を中心とする条件を満たし、且つ前記画像を囲む最小の長方形を前記画像変形用UIとして生成することが好ましい。 In this image processing apparatus, the image processing apparatus further includes UI center position specifying means for specifying a center position of the UI for image deformation, and the UI generating means specifies the tilt angle specified by the tilt angle specifying means. A minimum rectangle that satisfies the condition that the UI center position specified by the UI center position specifying means is the center and surrounds the image is preferably generated as the image transformation UI.
この画像処理装置において前記UI生成手段は、さらに、前記傾斜角度指定手段で指定された傾斜角度を有し、且つ前記長方形領域の四隅に外接する最小の長方形を前記画像変形用UIとして生成することが好ましい。 In this image processing apparatus, the UI generating means further generates, as the image transformation UI, a minimum rectangle having the tilt angle specified by the tilt angle specifying means and circumscribing the four corners of the rectangular area. is preferred.
この画像処理装置において前記傾斜角度指定手段は、前記長方形領域の四隅の何れかをドラックすること、前記表示手段として表示される回転ハンドルを回転すること、又は前記表示手段として表示されるスライダもしくは数値入力ボックスに傾斜角度を入力することで前記傾斜角度を指定することが好ましい。 In this image processing apparatus, the inclination angle specifying means is performed by dragging any one of the four corners of the rectangular area, rotating a rotation handle displayed as the display means, or by moving a slider or numerical value displayed as the display means. It is preferable to specify the tilt angle by inputting the tilt angle into an input box.
この画像処理装置においてさらに、前記操作手段を介して、前記画像変形用UIに囲まれた前記画像を自由変形又はワープ変形させることが好ましい。 In this image processing apparatus, it is preferable that the image surrounded by the UI for image transformation be freely transformed or warp transformed through the operation means.
この画像処理装置において前記画像には、ベクター画像又は画像操作のコントロールポイントを有する画像が含まれることが好ましい。 In this image processing apparatus, the image preferably includes a vector image or an image having control points for image manipulation.
また、上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理装置において機能するプログラムであって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、少なくとも前記画像及び前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を前記画像処理装置に実行させることを特徴とするものである。 Further, in order to achieve the above object, the present invention provides a program functioning in an image processing apparatus for expanding, contracting, moving, and rotating an image, comprising an image deformation UI for expanding, contracting, moving, and rotating the image. a tilt angle specifying step of specifying a tilt angle of (User Interface); a UI generating step of generating a UI for image transformation tilted at the tilt angle specified in the tilt angle specifying step; and generating at least the image and the UI. a display step of displaying the UI for image transformation generated in the step; and an operation of stretching, moving, and rotating the image by stretching, moving, and rotating the UI for image transformation displayed in the displaying step. and the image processing apparatus.
また、上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理方法であって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、少なくとも前記画像及び前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を含むことを特徴とするものである。 Further, in order to achieve the above object, the present invention provides an image processing method for stretching, moving, and rotating an image, comprising an image transformation UI (User Interface) used when stretching, transforming, moving, and rotating the image. a tilt angle designating step of designating the tilt angle of the image, a UI generating step of generating an image transformation UI tilted at the tilt angle designated in the tilt angle designating step, and at least the image and the UI generated in the UI generating step a display step of displaying the UI for image transformation; and an operation step of stretching, moving, and rotating the UI for image transformation displayed in the display step, thereby stretching, moving, and rotating the image. It is characterized by comprising
本発明は、画像を伸縮変形、移動及び回転する画像処理装置であって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定手段と、当該傾斜角度で傾けた画像変形用UIを生成するUI生成手段と、少なくとも対象画像及び画像変形用UIを表示する表示部と、画像変形用UIを伸縮変形、移動及び回転することで対象画像を伸縮変形、移動及び回転させる操作部と、を備える。この構成により、本発明では、画像変形の際において、変形対象となる画像を、容易に伸縮変形、移動及び回転するためのユーザインタフェースを生成・表示できる。 The present invention relates to an image processing apparatus for expanding, contracting, moving, and rotating an image, wherein the inclination angle designation is performed for specifying the inclination angle of an image deformation UI (User Interface) used when expanding, contracting, moving, and rotating the image. means, UI generation means for generating an image transformation UI tilted at the tilt angle, a display unit for displaying at least the target image and the image transformation UI, and stretching, moving, and rotating the image transformation UI. and an operation unit for expanding and contracting, moving, and rotating the target image. With this configuration, in the present invention, it is possible to generate and display a user interface for easily stretching, moving, and rotating an image to be transformed when transforming the image.
(実施の形態1)
本発明の実施の形態1に係る画像処理装置について図1乃至図6を参照して説明する。本実施の形態1に係る画像処理装置は、写真や動画などのデジタル画像中で斜めに表示された傾斜画像などの画像を伸縮変形、移動及び回転するための画像変形用UI(User Interface)生成して表示するものである。なお、画像の傾斜角度とは、例えば傾斜画像が四角形状の場合には、その底辺の水平に対する傾斜角のことである。
(Embodiment 1)
An image processing apparatus according to
最初に、画像処理装置1に備わる各処理部に関して図1を参照しながら説明する。画像処理装置1は、図1に示すように、制御部10、画像処理部11、記憶部12、通信部13、表示部14、操作部15及び読取部16を備える。なお、画像処理装置1及び画像処理装置1における動作について以下では、1台のコンピュータとして説明するが、複数のコンピュータによって処理を分散するようにして構成されてもよい。
First, each processing unit provided in the
制御部10は、CPUなどのプロセッサやメモリを用いて、画像処理装置1の構成部を制御して各種機能を実現する。この制御部10は、本実施の形態1においては例えば記憶部12に記憶してある画像処理プログラム1Pの実行によって画像変形用UIの表示や画像変形処理を行う。すなわち、制御部10は、入力される対象画像データ(対象データ)に対して所定のUI表示・変形処理を実行すると共に、当該UI表示・変形処理のための演算を行う。
The
画像処理部11は、GPU又は専用回路等のプロセッサ及びメモリを用い、制御部10からの制御指示に応じて画像処理を実行する。なお、制御部10及び画像処理部11は、CPU,GPU等のプロセッサ、メモリ、さらには記憶部12及び通信部13を集積した1つのハードウェア(SoC:System on a Chip)として構成されていてもよい。
The
記憶部12は、ハードディスクやフラッシュメモリを用いる。記憶部12には、画像処理プログラム1P、表示部14に表示される画像データ1Dなどが記憶されている。この画像データ1Dは、例えば通信部13を介してネットワークから取得した画像データや読取部16から読み込んだ画像データである。
The
通信部13は、インターネット等の通信網への通信接続を実現する通信モジュールである。通信部13には、例えばネットワークカード、無線通信デバイス又はキャリア通信用モジュールを用いる。
The
表示部14は、液晶パネル又は有機EL(Electro Luminescence)ディプレイ等を用いる。表示部14は、制御部10の指示による画像処理部11での処理によって画像を表示すると共に、画像変形用UIを表示することが可能である。この表示部14は画面を構成する各画素における一般的なRGB形式のデータに従って画像データを表示する。
The
操作部15は、キーボード又はマウス等のユーザインタフェースを含む。筐体に設けられた物理的ボタンを用いてもよいし、表示部14に表示されるソフトウェアボタン等を用いてもよい。操作部15は、ユーザによる操作情報を制御部10へ通知する。
The operating
読取部16は、例えばディスクドライブを用い、光ディスク等を用いた記録媒体2(光ディスク、磁気ディスクや光磁気ディスクなど)に記憶してある画像処理プログラム2Pを読み取ることが可能である。また、読取部16は、表示部14への表示対象のカラー画像の動画や静止画の画像データを記録媒体2などから読み込むときに用いても良い。なお、記憶部12に記憶してある画像処理プログラム1Pは、通信部13を介してネットワークから取得したものや、記録媒体2から読取部16が読み取った画像処理プログラム2Pを制御部10が記憶部12に複製したものであってもよい。
The
次に、画像処理装置1の操作部15に備わる機能に関して説明する。本実施の形態1において、操作部15は、初期位置決定部(初期位置決定手段)15a、傾斜角度指定部(傾斜角度指定手段)15b及びUI中心位置指定部(UI中心位置指定手段)15cを備える。画像処理装置1は、斜めに表示された傾斜画像などの画像を伸縮変形、移動及び回転するための画像変形用UIを生成・表示する。初期位置決定部15aは、ユーザからの指示を受け、この画像を囲み、且つ画像変形の際の初期位置となる長方形領域(長方形枠)を決定する。傾斜角度指定部15bは、ユーザからの指示を受けて初期位置決定部15aにおいて決定された長方形領域の傾斜角度を指定する。UI中心位置指定部15cは、ユーザからの指示を受けて画像変形用UIの中心位置を指定する。なお、ここでは初期位置として長方形領域を用いて説明するが、正方形など他の矩形領域や多角形領域を用いても良い。
Next, functions provided in the
制御部10はUI生成部10aを備え、このUI生成部10aは、傾斜角度指定部15bにおいて指定された傾斜角度で傾けた画像変形用UIを生成する。表示部14は、少なくとも対象となる画像及びこの画像を囲む画像変形用UIをディスプレイに表示する。操作部15は、表示部14に表示された画像変形用UIを伸縮変形、移動及び回転することで対象となる画像を伸縮変形、移動及び回転させる際に使用される。
The
次に、生成・表示される画像変形用UI生成の具体例に関して図2及び図3を参照しながら説明する。なお、ここでは第一例から第四例を用いて説明し、これら第一例から第四例までの編集対象となる画像には典型例として傾斜画像を用い、特にこの傾斜画像の傾斜角度を維持した状態で伸縮変形する場合を説明する。 Next, a specific example of generating an image transformation UI to be generated and displayed will be described with reference to FIGS. 2 and 3. FIG. Here, the first to fourth examples will be used for explanation, and the images to be edited in the first to fourth examples are typically tilted images, and the tilt angle of the tilted image is used as a typical example. A description will be given of a case of stretching and deforming in a maintained state.
図2(a)に示す第一例の場合、最初に、ユーザが初期位置決定部15aを介して少なくとも傾斜画像Sを囲み、且つ傾斜画像Sを傾斜角度を維持した状態で伸縮変形するための初期位置となる長方形領域Lを指定する。なお、長方形領域Lは例えば傾斜画像Sが四角形状の場合には、その四隅に外接する長方形枠である。次に、ユーザは傾斜角度指定部15bを介して傾斜角度(本図の例では約20度)を指定する。なお、ここでは傾斜角度を、長方形領域Lが水平状態から半時計方向の回転する際の角度として説明する。
In the case of the first example shown in FIG. 2A, first, the user surrounds at least the tilted image S via the initial
そして、傾斜角度指定部15bから傾斜角度の指令を受けたUI生成部10aは、当該傾斜角度を有して、且つ傾斜画像Sを囲む最小の長方形を画像変形用UI(1a)として生成し、表示部14に表示する。その後、ユーザは操作部15を介して画像変形用UI(1a)を伸縮することで、傾斜画像Sが正立した状態で伸縮変形される。なお、傾斜画像Sを傾斜角度を維持した状態で伸縮変形する画像変形は、例えば、傾斜画像を構成する座標点の縦横比率を固定した変換式、射影変換における座標点の変換式など所謂一般的に用いられている元の四角形から別の四角形に伸縮する技術などを適用すればよい。また、正立画像とは、一般的に上下方向が正しい向き(文字や画像が反転していない向き)で表示される画像、すなわち、上下(左右)が逆転していない画像を指すが、本実施の形態1の説明においては上下が逆転せず、且つ傾斜角度が同じ伸縮画像を含むものとする。
Then, the
図2(b)に示す第二例の場合には、最初に、ユーザが初期位置決定部15aを介して少なくとも傾斜画像Sを囲み、且つ傾斜画像Sを傾斜角度を維持した状態で伸縮変形するための初期位置を示す長方形領域Lを指定する。次に、ユーザは傾斜角度指定部15bを介して傾斜角度(本図の例では約20度)を指定する。そして、傾斜角度指定部15bから傾斜角度の指令を受けたUI生成部10aは、当該傾斜角度を有し、長方形領域の中心位置C1を中心とする条件を満たし、且つ傾斜画像Sを囲む最小の長方形を画像変形用UI(1b)として生成して、表示部14に表示する。この第二例においては、ユーザが傾斜角度のみ指定すると、長方形領域Lの中心を固定したままで、指定された傾斜角度と当該中心C1を中心とする条件を満たした最小の長方形が画像変形用UI(1b)として生成・表示される。その後、ユーザは操作部15を介して画像変形用UI(1b)を伸縮変形することで、傾斜画像Sが正立した状態で伸縮変形される。
In the case of the second example shown in FIG. 2B, first, the user encloses at least the tilted image S via the initial
図3(a)に示す第三例の場合には、最初に、ユーザが初期位置決定部15aを介して少なくとも傾斜画像Sを囲み、且つ傾斜画像Sを傾斜角度を維持した状態で伸縮変形するための初期位置を示す長方形領域Lを指定する。次に、ユーザは傾斜角度指定部15bを介して傾斜角度(本図の例では約20度)を指定すると共に、UI中心位置指定部15cを介して画像変形用UIの中心位置C2を指定する。すると、傾斜角度指定部15bから傾斜角度の指令及びUI中心位置指定部15cから画像変形用UIの中心位置C2の指定を受けたUI生成部10aは、当該傾斜角度を有して、UI中心位置指定部15cにおいて指定され中心位置C2を中心とする条件を満たし、且つ傾斜画像Sを囲む最小の長方形を画像変形用UI(1c)として生成して、表示部14に表示する。その後、ユーザは操作部15を介して画像変形用UI(1c)を伸縮することで、傾斜画像Sが正立した状態で伸縮変形される。
In the case of the third example shown in FIG. 3A, first, the user encloses at least the tilted image S via the initial
図3(b)に示す第四例の場合には、最初に、ユーザが初期位置決定部15aを介して少なくとも傾斜画像Sを囲み、且つ傾斜画像Sを傾斜角度を維持した状態で伸縮変形するための初期位置を示す長方形領域Lを指定する。次に、ユーザは傾斜角度指定部15bを介して傾斜角度(本図の例では約20度)を指定する。すると、傾斜角度指定部15bから傾斜角度の指令を受けたUI生成部10aは、傾斜角度指定部15bで指定された傾斜角度を有し、且つ長方形領域Lの四隅に外接する最小の長方形を画像変形用UI(1d)として生成して、表示部14に表示する。その後、ユーザは操作部15を介して画像変形用UI(1d)を伸縮することで、傾斜画像Sが正立した状態で伸縮変形される。なお、図4(a)は、この第四例における画像変形用UI(1d)を生成・表示した状態で、画像変形用UI(1d)を引き伸ばすことで図4(b)に示すように傾斜画像Sを正立した状態で引き延ばすことができる。
In the case of the fourth example shown in FIG. 3B, first, the user encloses at least the tilted image S via the initial
次に、本実施の形態1に係る画像処理装置1の動作手順に関して図5に示すフローチャートを参照しながら説明する。ここでは、上述の第三例の場合における動作手順に関して説明する。
Next, the operation procedure of the
最初に、ユーザが初期位置決定部15aを介して少なくとも傾斜画像を囲み、且つ傾斜画像を伸縮変形、移動及び回転するための初期位置を示す長方形領域(長方形枠)を指定する(S51)。次に、ユーザは傾斜角度指定部15bを介して長方形領域の傾斜角度を指定することで生成される画像変形用UIの傾斜角度を指定する(S52)。そして、画像変形用UIの中心位置の指定をするか否かを決定する(S53)。ここで、画像変形用UIの中心位置を指定する場合には(S53でYes)、UI生成部10aは、指定された傾斜角度を有して、UI中心位置指定部15cにおいて指定された中心位置を中心とする条件を満たし、且つ傾斜画像を囲む最小の長方形を画像変形用UIとして生成して表示部14に表示する(S54)。一方、画像変形用UIの中心位置を必要としない場合には(S53でNo)、UI生成部10aは、指定された傾斜角度を有して、且つ傾斜画像を囲む最小の長方形を画像変形用UIとして生成して、表示部14に表示する(S55)。
First, the user designates a rectangular area (rectangular frame) that surrounds at least the tilted image and indicates the initial position for stretching, moving, and rotating the tilted image via the initial
次に、傾斜角度指定部15bを介して傾斜角度の具体例な指定方法に関して図6を参照しながら説明する。傾斜角度指定部15bは、表示部14に表示される長方形領域Lの四隅の何れかをドラックすることで傾斜角度を指定しても良い。また、図6(a)に示すように、例えば表示部14に表示される長方形領域Lに一体又は別体の回転ハンドル61を用いて傾斜角度を指定しても良い。なお、ここでは長方形領域Lに一体化された回転ハンドル61を示している。さらに、図6(b)に示すように、表示部14に回転角を指定するスライダ62を表示しても良く、図6(c)に示すようなコントロールウインドウ63を表示してその中の傾斜角度の数値入力ボックス63aに傾斜角度を入力して決定用ボタン63bを用いて決定しても良い。即ち、傾斜角度指定部15bは、長方形領域につける傾斜角度を指定できる形態であれば良い。同様に、UI中心位置指定部15cは、移動可能な十字ポインタをドラッグすることで画像変形用UIの中心位置を指定しても良い。
Next, a specific example of a method of designating the tilt angle via the tilt
以上の説明のように、本実施の形態1は、画像を伸縮変形、移動及び回転する画像処理装置1であって、この画像を囲み、且つ画像変形の際の初期位置となる長方形領域を決定する初期位置決定部15aと、初期位置決定部15aにおいて決定された長方形領域の傾斜角度を指定する傾斜角度指定部15bと、傾斜角度指定15bにおいて指定された傾斜角度で傾けた画像変形用UIを生成するUI生成部10aと、少なくとも当該画像及びUI生成部10aで生成された画像変形用UIを表示する表示部14と、表示部14に表示された画像変形用UIを伸縮変形、移動及び回転することで対象となる画像を伸縮変形、移動及び回転させる操作部15と、を備える。この構成により、画像処理装置1では、画像変形の際において、初期位置となる長方形領域に囲まれた傾斜画像などの画像を、容易に伸縮変形、移動及び回転するためのユーザインタフェースを生成して表示できる。
As described above, the first embodiment is an
(変形例)
本発明の実施の形態1に係る画像処理装置1の変形例に関して図7を参照しながら説明する。図7(a)では、変形対象となる画像71の初期位置となる長方形領域を確定させ、この傾斜角度で傾けた画像変形用UI(1d)を生成・表示し、その後、操作部15を用いて変形対象となる画像71の一部を自由変形(ここでは一例として歪み変形を示す)している。同様に、図7(b)では、制御点とハンドルを追加し、変形対象となる画像72をメッシュワープ変形している。本変形例では、画像変形用UIを用いて画像を編集する際において、画像変形用UI(1d)に垂直もしくは水平方向の伸縮以外の変形(例えば上記の自由変形、ワープ変形など)を実現可能とする。
(Modification)
A modification of the
(実施の形態2)
以下、本発明に係る画像処理装置1の実施の形態2に関して図8乃至図10を参照して説明する。なお、本実施の形態2に係る画像処理装置1の構成において、上記実施の形態1に係る画像処理装置1と同様の構成には同じ符号を付して、その詳細な説明を省略する。
(Embodiment 2)
A second embodiment of the
図8に示す画像処理装置1の操作部15は、初期位置決定部15aが無く、画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI の傾斜角度を指定する傾斜角度指定部15及びUI中心位置指定部(UI中心位置指定手段)15cを備える。
The
本実施の形態2においては、図9の第五例に示すように、画像変形の際の初期位置となる長方形領域を決定するステップを省略し、傾斜角度指定部15bから傾斜角度の指令を受けたUI生成部10aは、当該傾斜角度を有して、且つ対象画像Sを囲む最小の長方形を画像変形用UI(1a)として生成し、表示部14に表示する。その後は、上記実施の形態1と同様に、ユーザは操作部15を介して画像変形用UI(1a)を伸縮などすることで、傾斜画像Sが正立した状態で伸縮変形される。
In the second embodiment, as shown in the fifth example of FIG. 9, the step of determining the rectangular area that will be the initial position for image deformation is omitted, and the tilt angle instruction is received from the tilt
次に、本実施の形態2に係る画像処理装置1の動作手順に関して図10に示すフローチャートを参照しながら説明する。最初に、ユーザは傾斜角度指定部15bを介して傾斜角度を指定することで生成される画像変形用UIの傾斜角度を指定する(S101)。そして、UI生成部10aは、指定された傾斜角度を有して、且つ対象画像を囲む最小の長方形を画像変形用UIとして生成して、表示部14に表示する(S102)。なお、傾斜角度指定部15bにおいて指定される傾斜角度は、絶対角度以外に、元画像から回転させる回転角度であっても良い。
Next, the operation procedure of the
この構成により、本実施の形態2に係る画像処理装置1では、ユーザが初期位置の長方形領域を指定するステップを省略して、最初に画像変形の際に使用する画像変形用 UIの傾斜角度を指定する。その結果、傾斜画像などの画像を、容易に伸縮変形、移動及び回転するためのユーザインタフェースが表示される。
With this configuration, in the
なお、上記実施の形態の説明における画像は、画像をピクセルという点の集まりで表現するラスター画像、図11に示すような自由変形ツールTなどを用いて画像の2次元情報を数値化して記録して表現するベクター画像110や、図12に示す画像操作の複数のコントロールポイントPを有する画像120でも良い。また、図11に示すように長方形領域Lが複数の画像を選択した状態でも良い。さらに、画像変形用UIの生成は、既に設定されている画像変形用UIを更新する形で設定されても良いし、既に指定の傾斜角度で傾いている画像変形用UIを更に回転させる形で生成しても良い。
The image in the description of the above embodiment is a raster image that expresses an image as a group of points called pixels, and is recorded by digitizing two-dimensional information of the image using a free transformation tool T as shown in FIG. A
なお、本発明は、上記実施の形態の構成に限られず、発明の趣旨を変更しない範囲で種々の変形が可能である。また、本発明の目的を達成するために、本発明は、画像処理装置1に含まれる特徴的な構成手段をステップとする画像処理方法としたり、それらの特徴的なステップを含むプログラムとして実現することもできる。そして、そのプログラムは、ROM等に格納しておくだけでなく、USBメモリ等の記録媒体や通信ネットワークを介して流通させることもできる。
The present invention is not limited to the configuration of the above-described embodiment, and various modifications are possible without changing the gist of the invention. Further, in order to achieve the object of the present invention, the present invention is implemented as an image processing method having steps of characteristic constituent means included in the
また、上述において初期位置決定部15aにおいて決定される領域を長方形領域として説明したが、その他の矩形領域や多角形領域でも良い。さらに、上記の実施の形態においては傾斜角度指定部15bを介してユーザが手動で長方形領域の傾斜角度を指定しているが、例えば傾斜画像の底辺の傾斜角度と平行な角度を傾斜角度として自動指定することも考え得る。さらに、上記の実施の形態の説明では画像処理装置1の各機能をプログラムによって実現する例を記載したがハードウェア的に実現しても良い。
In the above description, the area determined by the initial
さらに、本発明は、画像処理装置又はコンピュータプログラムに向けて入力データを送信し、画像処理装置又はコンピュータプログラムからの出力データを受信して利用するコンピュータシステムとしても実現できる。本システムに用いる装置(画像処理装置1に相当)は、表示部及び通信部を備えた画像処理装置又はコンピュータと情報を送受信できる情報処理装置などであり、例えば所謂PC、スマートフォン、携帯端末、ゲーム機器などである。 Furthermore, the present invention can also be implemented as a computer system that transmits input data to an image processing device or computer program and receives and uses output data from the image processing device or computer program. A device (corresponding to the image processing device 1) used in this system is an image processing device having a display unit and a communication unit or an information processing device capable of transmitting and receiving information to and from a computer. equipment, etc.
1 画像処理装置
1a~1d 画像変形用UI
10 制御部
10a UI生成部(UI生成手段)
11 画像処理部
12 記憶部
13 通信部
14 表示部(表示手段)
15 操作部(操作手段)
15a 初期位置決定部(初期位置決定手段)
15b 傾斜角度指定部(傾斜角度指定手段)
15c UI中心位置指定部(UI中心位置指定手段)
16 読取部
C2 UI中心位置
L 長方形領域
S 傾斜画像
1 Image processing device 1a to 1d UI for image transformation
10
11
15 operation part (operation means)
15a initial position determination unit (initial position determination means)
15b Inclination angle specifying unit (inclination angle specifying means)
15c UI center position specifying unit (UI center position specifying means)
16 Reading unit C2 UI center position L Rectangular area S Slanted image
上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理装置であって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定手段と、前記傾斜角度指定手段において指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成手段と、少なくとも前記画像及び、前記画像に対して前記傾斜角度指定手段で指定された傾斜角度を有して且つ前記UI生成手段で生成された前記画像変形用UIを表示する表示手段と、前記表示手段に表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作手段と、を備えることを特徴とするものである。 In order to achieve the above object, the present invention provides an image processing apparatus for stretching, transforming, moving, and rotating an image, wherein an image transformation UI (User Interface) used when stretching, transforming, moving, and rotating the image is tilted. tilt angle designating means for designating an angle; UI generating means for generating an image transformation UI tilted at the tilt angle designated by the tilt angle designating means; and at least the image and the tilt angle with respect to the image. display means for displaying the UI for image transformation having the tilt angle designated by the designation means and generated by the UI generation means; and operation means for expanding, contracting, moving, and rotating the image by rotating the image.
また、上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理装置において機能するプログラムであって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、少なくとも前記画像及び、前記画像に対して前記傾斜角度指定ステップにおいて指定された傾斜角度を有して且つ前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を前記画像処理装置に実行させることを特徴とするものである。 Further, in order to achieve the above object, the present invention provides a program functioning in an image processing apparatus for expanding, contracting, moving, and rotating an image, comprising an image deformation UI for expanding, contracting, moving, and rotating the image. a tilt angle specifying step of specifying a tilt angle of (User Interface); a UI generating step of generating a UI for image transformation tilted at the tilt angle specified in the tilt angle specifying step; a display step of displaying the UI for image transformation having the tilt angle designated in the tilt angle designation step and generated in the UI generation step; and the image transformation UI displayed in the display step. and an operation step of expanding, contracting, moving, and rotating the image by expanding, contracting, moving, and rotating the UI.
また、上記目的を達成するために本発明は、画像を伸縮変形、移動及び回転する画像処理方法であって、前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、少なくとも前記画像及び、前記画像に対して前記傾斜角度指定ステップにおいて指定された傾斜角度を有して且つ前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を含むことを特徴とするものである。 Further, in order to achieve the above object, the present invention provides an image processing method for stretching, moving, and rotating an image, comprising an image transformation UI (User Interface) used when stretching, transforming, moving, and rotating the image. a tilt angle designating step of designating a tilt angle of; a UI generating step of generating an image transformation UI tilted at the tilt angle designated in the tilt angle designating step; a display step of displaying the UI for image transformation having the tilt angle specified in the step of specifying an inclination angle and generated in the step of generating the UI; , and an operation step of stretching, moving, and rotating the image by moving and rotating the image.
Claims (11)
前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定手段と、
前記傾斜角度指定手段において指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成手段と、
少なくとも前記画像及び前記UI生成手段で生成された前記画像変形用UIを表示する表示手段と、
前記表示手段に表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作手段と、を備えることを特徴とする画像処理装置。 An image processing device that expands, contracts, moves, and rotates an image,
an inclination angle specifying means for specifying an inclination angle of an image transformation UI (User Interface) used when expanding, contracting, moving, and rotating the image;
UI generation means for generating an image transformation UI tilted at the tilt angle designated by the tilt angle designation means;
display means for displaying at least the image and the UI for image transformation generated by the UI generation means;
An image processing apparatus, comprising: operation means for stretching, moving, and rotating the image by stretching, moving, and rotating the UI for image transformation displayed on the display means.
前記画像を囲み、且つ画像変形の際の初期位置となる長方形領域を決定する初期位置決定手段を備え、
前記傾斜角度指定手段は、前記傾斜角度として、前記初期位置決定手段において決定された前記長方形領域の傾斜角度を指定する、ことを特徴とする請求項1記載の画像処理装置。 The image processing device further comprises:
initial position determining means for determining a rectangular area surrounding the image and serving as an initial position for image deformation;
2. The image processing apparatus according to claim 1, wherein said tilt angle designating means designates the tilt angle of said rectangular area determined by said initial position determining means as said tilt angle.
前記画像変形用UIの中心位置を指定するUI中心位置指定手段を備え、
前記UI生成手段は、前記傾斜角度指定手段で指定された傾斜角度を有し、前記UI中心位置指定手段において指定されたUI中心位置を中心とする条件を満たし、且つ前記画像を囲む最小の長方形を前記画像変形用UIとして生成する、ことを特徴とする請求項3記載の画像処理装置。 The image processing device further comprises:
UI center position specifying means for specifying a center position of the UI for image transformation;
The UI generating means has the tilt angle specified by the tilt angle specifying means, satisfies the condition that the UI center position specified by the UI center position specifying means is the center, and is the smallest rectangle surrounding the image. 4. The image processing apparatus according to claim 3, wherein is generated as said UI for image transformation.
前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、
前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、
少なくとも前記画像及び前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、
前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を前記画像処理装置に実行させることを特徴とするプログラム。 A program that functions in an image processing device that expands, contracts, moves, and rotates an image,
an inclination angle specifying step of specifying an inclination angle of an image transformation UI (User Interface) used when stretching, moving, and rotating the image;
a UI generation step of generating an image transformation UI tilted at the tilt angle designated in the tilt angle designation step;
a display step of displaying at least the image and the UI for image transformation generated in the UI generation step;
and an operation step of stretching, moving, and rotating the image by stretching, moving, and rotating the UI for image transformation displayed in the display step. .
前記画像を伸縮変形、移動及び回転する際に用いる画像変形用 UI(User Interface)の傾斜角度を指定する傾斜角度指定ステップと、
前記傾斜角度指定ステップにおいて指定された前記傾斜角度で傾けた画像変形用UIを生成するUI生成ステップと、
少なくとも前記画像及び前記UI生成ステップにおいて生成された前記画像変形用UIを表示する表示ステップと、
前記表示ステップにおいて表示された前記画像変形用UIを伸縮変形、移動及び回転することで前記画像を伸縮変形、移動及び回転させる操作ステップと、を含むことを特徴とする画像処理方法。 An image processing method for expanding, contracting, moving, and rotating an image,
an inclination angle specifying step of specifying an inclination angle of an image transformation UI (User Interface) used when stretching, moving, and rotating the image;
a UI generation step of generating an image transformation UI tilted at the tilt angle designated in the tilt angle designation step;
a display step of displaying at least the image and the UI for image transformation generated in the UI generation step;
and an operation step of stretching, moving, and rotating the image by stretching, moving, and rotating the UI for image transformation displayed in the display step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023060315A JP7329303B1 (en) | 2021-08-13 | 2023-04-03 | Image processing device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021131892 | 2021-08-13 | ||
JP2021131892 | 2021-08-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023026304A true JP2023026304A (en) | 2023-02-24 |
Family
ID=85252441
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022067250A Pending JP2023026304A (en) | 2021-08-13 | 2022-04-14 | Image processing system |
JP2023060315A Active JP7329303B1 (en) | 2021-08-13 | 2023-04-03 | Image processing device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2023060315A Active JP7329303B1 (en) | 2021-08-13 | 2023-04-03 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP2023026304A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003323241A (en) * | 2002-02-28 | 2003-11-14 | Seiko Epson Corp | Image area specification and image adjustment |
US8081197B1 (en) * | 2008-12-03 | 2011-12-20 | Adobe Systems Incorporated | System and method for angular image selection |
-
2022
- 2022-04-14 JP JP2022067250A patent/JP2023026304A/en active Pending
-
2023
- 2023-04-03 JP JP2023060315A patent/JP7329303B1/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003323241A (en) * | 2002-02-28 | 2003-11-14 | Seiko Epson Corp | Image area specification and image adjustment |
US8081197B1 (en) * | 2008-12-03 | 2011-12-20 | Adobe Systems Incorporated | System and method for angular image selection |
Non-Patent Citations (1)
Title |
---|
井村克也, 「PHOTOSHOP スーパーリファレンス」, vol. 初版, JPN6022001328, 2019, pages 132 - 133, ISSN: 0004877932 * |
Also Published As
Publication number | Publication date |
---|---|
JP7329303B1 (en) | 2023-08-18 |
JP2023157852A (en) | 2023-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7928994B2 (en) | Graphics items that extend outside a background perimeter | |
JP4574467B2 (en) | Data processing apparatus, data processing method, and computer program | |
JP2006120166A (en) | Perspective editing tool for 2-d image | |
JP2003271665A (en) | Graphical user interface for retrieval | |
US11398010B2 (en) | Generating a digital collage using digital images | |
JP7441917B2 (en) | Projection distortion correction for faces | |
JP4646735B2 (en) | Image processing apparatus and image processing method | |
JP7329303B1 (en) | Image processing device | |
JP7401245B2 (en) | Image synthesis device, control method and program for image synthesis device | |
US11176720B2 (en) | Computer program, image processing method, and image processing apparatus | |
JP4550460B2 (en) | Content expression control device and content expression control program | |
US20060279579A1 (en) | Image display device, image display method and image display system | |
JP2003087550A (en) | Device and method for compositing image and computer readable recording medium having image composite processing program recorded thereon | |
JP3679347B2 (en) | Pattern change simulation system | |
JP4534205B2 (en) | Image display device | |
JP2001005911A (en) | Character input device and display controlling method | |
US11508029B2 (en) | Information processing apparatus and non-transitory computer readable medium | |
CN112583976B (en) | Graphic code display method, equipment and readable storage medium | |
JP2010252270A (en) | Image processor and image processing method | |
US6400369B1 (en) | Information processing method and apparatus for generating texture-data for computer graphics | |
JP2002197452A (en) | Processor for correcting image distortion | |
JPS62256175A (en) | Picture editing processor | |
JPH04326474A (en) | Picture display device | |
JP2017125990A (en) | Graphic data processing apparatus, graphic data display device, and program | |
JPH11242742A (en) | Image processor and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20220424 |
|
AA64 | Notification of invalidation of claim of internal priority (with term) |
Free format text: JAPANESE INTERMEDIATE CODE: A241764 Effective date: 20220531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220603 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220920 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20221116 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221215 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20230306 |