JP4909755B2 - Image processing apparatus, image processing method, and image processing program - Google Patents
Image processing apparatus, image processing method, and image processing program Download PDFInfo
- Publication number
- JP4909755B2 JP4909755B2 JP2007029465A JP2007029465A JP4909755B2 JP 4909755 B2 JP4909755 B2 JP 4909755B2 JP 2007029465 A JP2007029465 A JP 2007029465A JP 2007029465 A JP2007029465 A JP 2007029465A JP 4909755 B2 JP4909755 B2 JP 4909755B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- point
- image processing
- display magnification
- pointer
- 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.)
- Active
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Description
本発明は、ユーザーがポイント入力手段を用いた簡単な操作によって表示手段画面上の画像上の任意の位置を中心とする領域を任意の表示倍率にて改変して観察できる画像処理装置、画像処理方法および画像処理プログラムに関する。 The present invention relates to an image processing apparatus and an image processing device that allow a user to modify and observe an area centered at an arbitrary position on an image on a display means screen at an arbitrary display magnification by a simple operation using a point input means The present invention relates to a method and an image processing program.
一般分野や医用などの特殊分野で使用されている画像処理技術では、ユーザーがディスプレー装置の画面上に表示された画像についてその一部の領域を詳細に観察したい場合や画面に表示された画像を含み全体をより広く観察したい場合のために当該領域を拡大または縮小(以下、この拡大または縮小を「改変」と呼ぶこととする。)させる機能が具備されているのが一般的である。そして、この改変のための操作は、通常、マウスなどのポイント入力装置を用いて行えるようになっている。
しかし、従来の画像処理技術では、ユーザーは、画像を改変して観察するために、マウスなどを操作してアイコンを選択するなどの所定の操作を行って表示倍率を決定してから、マウスなどをさらに操作し画像の観察したい領域が現れるまで当該画像を改変するか、あるいはその反対にマウスなどを用いて所定の操作を行い画像の観察したい部分を画面の略中心に表示させた上で、別の操作を行って画像が適切な表示倍率で表示されるまで画像の表示倍率を調整するといった操作が必要であった。すなわち、表示倍率を決定して画像を改変する操作と改変後の画像が画面上に現れるように調整する操作とをそれぞれ別個に行わなければならず、ユーザーにとっては煩雑な操作となっていた。 However, in the conventional image processing technology, in order to modify and observe an image, a user performs a predetermined operation such as selecting an icon by operating a mouse or the like and then determines a display magnification, and then a mouse or the like. Further change the image until the region you want to observe appears, or on the contrary, perform a predetermined operation using a mouse etc. and display the part you want to observe in the approximate center of the screen, An operation of adjusting the display magnification of the image until the image is displayed at an appropriate display magnification by performing another operation is necessary. That is, the operation for determining the display magnification and modifying the image and the operation for adjusting the modified image so that they appear on the screen must be performed separately, which is a cumbersome operation for the user.
そこで、本発明は、前記課題を解決すべく、ユーザーがポイント入力手段を用いた簡単な操作を行うだけで、画像中の観察したい領域を任意の表示倍率で改変して観察できる画像処理装置、画像処理方法および画像処理プログラムを提供することを目的とする。 Accordingly, the present invention provides an image processing apparatus that can modify and observe an area to be observed in an image at an arbitrary display magnification by simply performing a simple operation using a point input means by a user in order to solve the above-described problem, An object is to provide an image processing method and an image processing program.
前記目的は、本発明の一局面によれば、画像データに基づいて画面上に画像を表示する表示手段と、前記画像上の所定位置をポインターにより指示するポイント入力手段と、ユーザーが前記ポイント入力手段をポイントオン状態で操作して前記ポインターを移動させることで、当該移動に係る始点および現在点の座標をそれぞれ取得し、これら各点の所定の座標軸成分に基づいて演算された改変時の表示倍率により前記画像データを改変して前記始点に当該画像データにおける当該始点の対応位置を合致させた改変後の画像を生成し、当該改変後の画像を前記画面上に再表示するように前記表示手段に出力する画像処理手段とを備えたことを特徴とする画像処理装置によって達成される。 According to an aspect of the present invention, the object is to provide a display unit that displays an image on a screen based on image data, a point input unit that indicates a predetermined position on the image with a pointer, and a user that inputs the point By operating the means in a point-on state and moving the pointer, the coordinates of the start point and the current point related to the movement are acquired, and the display at the time of modification calculated based on the predetermined coordinate axis component of each point The image data is modified according to a magnification to generate a modified image in which the corresponding position of the start point in the image data matches the start point, and the display is performed so that the modified image is redisplayed on the screen. This is achieved by an image processing apparatus comprising image processing means for outputting to the means.
また、前記目的は、本発明の別の局面によれば、画像データに基づいて画面上に画像を表示する表示手段と、前記画像上の所定位置をポインターにより指示するポイント入力手段と、画像処理手段とを備えた画像処理装置における画像処理方法であって、ユーザーが前記ポイント入力手段をポイントオン状態で操作して前記ポインターを移動させることで、前記画像処理手段が当該移動に係る始点および現在点の座標をそれぞれ取得し、各点の所定の座標軸成分に基づいて改変時の表示倍率を演算する表示倍率演算ステップと、前記画像処理手段が当該表示倍率を用いて前記画像データを前記始点に当該画像データにおける当該始点の対応位置を合致させるように改変して改変後の画像を生成し、この改変後の画像を前記出力手段に出力する画像改変、再表示ステップとを有することを特徴とする画像処理方法によって達成される。 According to another aspect of the present invention, the object is to provide a display unit that displays an image on a screen based on image data, a point input unit that indicates a predetermined position on the image with a pointer, and image processing. An image processing method in an image processing apparatus comprising: a user operating the point input unit in a point-on state to move the pointer so that the image processing unit A display magnification calculation step of acquiring the coordinates of each point and calculating a display magnification at the time of modification based on a predetermined coordinate axis component of each point; and the image processing means uses the display magnification to set the image data as the starting point. A modified image is generated by matching the corresponding position of the start point in the image data, and the modified image is output to the output means. Image modification is accomplished by an image processing method characterized by having a re-displaying step.
さらにまた、前記目的は、本発明の別の局面によれば、画像データに基づいて画面上に画像を表示する表示手段と、前記画像上の所定位置をポインターにより指示するポイント入力手段とを備えたコンピューターに、ユーザーが前記ポイント入力手段をポイントオン状態で操作して前記ポインターを移動させることで、当該移動に係る始点および現在点の座標をそれぞれ取得し、各点の所定の座標軸成分に基づいて改変時の表示倍率を演算する表示倍率演算ステップと、前記表示倍率を用いて前記画像データを前記始点に当該画像データにおける前記始点に対応する位置を合致させるように改変して改変後の画像を生成し、この改変後の画像を前記表示手段に出力する画像改変ステップとを実行させることを特徴とする画像処理プログラムによって達成される。 Still further, according to another aspect of the present invention, the object includes display means for displaying an image on a screen based on image data, and point input means for indicating a predetermined position on the image with a pointer. The computer operates the point input means in a point-on state to move the pointer, thereby acquiring the coordinates of the start point and the current point related to the movement, and based on the predetermined coordinate axis component of each point A display magnification calculation step for calculating a display magnification at the time of modification, and an image after modification by modifying the image data so that the position corresponding to the start point in the image data matches the start point using the display magnification And executing an image modification step of outputting the modified image to the display means. It is achieved me.
前記画像処理方法および前記画像処理プログラムにおける表示倍率演算ステップは、前記ポイント入力手段がポイントオンされることで、前記画像処理手段が以下の動作ステップを処理するように構成することができる。
(1)前記画像上の前記始点の座標および当該画像の前記画像データに対する表示倍率を取得するステップ、
(2)前記ポイント入力手段のポイントオン状態での操作により前記ポインターが移動するに伴い、所定のタイミングで前記ポインターの現在位置を取得するとともに、当該現在位置と前記始点との所定の座標軸成分の差に基づいて前記改変時の表示倍率を変更するステップ、
(3)ユーザーにより前記ポイント入力手段がポイントオフ状態とされることで、前記画像処理手段が前記ポインターの停止位置を終点として取得するとともに、この終点と前記始点との所定の座標軸成分の差に基づいて演算された改変時の表示倍率を確定するステップ。
このように、ポインターの移動に伴い、この表示倍率演算ステップにおいて改変時の表示倍率が所定のタイミングで繰り返し演算され、それぞれの表示倍率にて改変後の画像が画面上に連続して表示されるので、ユーザーは、画像上の改変して観察したい領域内でポイント入力手段をポイントオンしたその位置を中心として、当該領域について徐々に拡大し、あるいは徐々に縮小する画像を連続して観察し、また任意の位置でポイント入力手段をポイントオフ状態にすることで、その時点での確定した表示倍率によって拡大または縮小された画像を画面上で表示状態としたまま観察することができる利点がある。
The display magnification calculation step in the image processing method and the image processing program can be configured such that the image processing means processes the following operation steps when the point input means is turned on.
(1) obtaining a display magnification for the image data of the image and the coordinates of the start point on the image;
(2) Acquires the current position of the pointer at a predetermined timing as the pointer is moved by an operation in a point-on state of the point input means, and determines a predetermined coordinate axis component between the current position and the start point. Changing the display magnification at the time of modification based on the difference;
(3) When the point input unit is turned off by the user, the image processing unit acquires the stop position of the pointer as an end point, and the difference between a predetermined coordinate axis component between the end point and the start point The step of determining the display magnification at the time of modification calculated based on the step.
Thus, as the pointer moves, the display magnification at the time of modification is repeatedly calculated at a predetermined timing in this display magnification calculation step, and the modified images are continuously displayed on the screen at each display magnification. Therefore, the user continuously observes the image that is gradually enlarged or gradually reduced about the region around the position where the point input means is pointed on in the region to be observed by modification on the image, Further, by setting the point input means to the point-off state at an arbitrary position, there is an advantage that an image enlarged or reduced by the display magnification determined at that time can be observed while being displayed on the screen.
本発明によれば、ユーザーが画面上の画像において観察したい領域内の任意の位置においてポイント入力手段をポイントオンし、その状態でポインターを任意の方向に移動させる簡単な操作で、該ポインターの移動量に応じた任意の表示倍率で改変された画像を表示手段画面上に表示させることができるので、従来のような煩雑な操作は不要となり、ユーザーの操作性向上が図られる。しかも、前記画像上の始点に前記画像データにおける当該始点に対応する位置を合致させて改変後の画像を画面上に表示させるため、ユーザーは改変後の画像の観察したい領域を確実に観察することができる。 According to the present invention, the user can move the pointer by a simple operation of pointing on the point input means at an arbitrary position within the region desired to be observed in the image on the screen and moving the pointer in an arbitrary direction in that state. Since the image modified at an arbitrary display magnification according to the amount can be displayed on the display means screen, the conventional complicated operation is not required, and the operability for the user is improved. In addition, since the modified image is displayed on the screen by matching the position corresponding to the starting point in the image data with the starting point on the image, the user surely observes the region to be observed of the modified image. Can do.
以下、添付図面を参照して本発明の実施形態の一例を詳細に説明する。図1は、本実施形態における画像処理装置の全体構成を説明するためのブロック図である。図1に示す画像処理装置1は、CPU3、ROM4、記憶部としてのRAM5を有する演算処理部2と、ポイント入力手段としてのマウス7、ビデオコントローラ8、ハードディスク装置10、ネットワークインターフェース11を備えており、これらがシステムバス6を介して相互に接続された構成とされている。ビデオコントローラ8には表示手段としてのディスプレー装置9が接続されている。なお、ポイント入力手段7としては、前記のマウス以外に、トラックボール、ジョイスチティックなどを用いることもできる。
Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram for explaining the overall configuration of the image processing apparatus according to the present embodiment. An
CPU3は、ROM4やハードディスク装置5に格納されているプログラムをRAM5内のプログラム記憶エリアに展開して画像処理装置1内の各部を制御する処理を実行するとともに、ハードディスク装置5などに記憶されている画像データをRAM5の画像データ記憶エリアに読み出す処理などを行う。なお、CPU3のRAM5へのアクセス速度を向上させるため、CPU3はキャッシュメモリを備えていてもよい。
The CPU 3 develops a program stored in the ROM 4 or the hard disk device 5 in a program storage area in the RAM 5 and executes a process for controlling each part in the
ビデオコントローラ8は、CPU3からの指令を受けて画像をディスプレー装置9に表示させるものであり、このコントローラ8には画面の表示内容を記憶するVRAM(不図示)などが実装されている。また、表示手段3は、例えばCRTや液晶ディスプレー装置などである。 The video controller 8 receives an instruction from the CPU 3 and causes the display device 9 to display an image. The controller 8 is mounted with a VRAM (not shown) for storing display contents of the screen. The display means 3 is, for example, a CRT or a liquid crystal display device.
ネットワークインターフェース11は、これを介して画像データを含む各種データなどが記憶された不図示のサーバーが存在する場合に、当該サーバーと接続して前記各種データなどの読み出しや書き込みに使用されるものである。サーバーとの連携や当該サーバーに記憶された画像の読み出しなどの各機能については、これらの機能を実行するように記述されたプログラムをCPU3に実行させることで実現される。 The network interface 11 is used for reading and writing various data by connecting to the server when there is a server (not shown) that stores various data including image data through the network interface 11. is there. Each function such as cooperation with a server and reading of an image stored in the server is realized by causing the CPU 3 to execute a program written to execute these functions.
次に、本実施形態に係る画像処理装置の動作について図2を参照して説明する。図2は、本実施形態における画像処理の流れを説明するフローチャートである。また、図3は、図2に示す表示倍率演算ステップの処理の流れを説明するフローチャートである。また、図4および図5は、本発明の画像処理方法を用いた画像の所定の領域の改変、再表示を説明する図であり、図4は画像を拡大して再表示する場合、図5は画像を縮小して再表示する場合を示している。なお、図4および図5において、(a)は改変前の上の画像を、(b)は改変後の画像をそれぞれ示しており、これらの図(a)に示したx座標軸およびy座標軸からなる互いに直交する座標軸は、矢印の方向に数値が大きくなるものとする。 Next, the operation of the image processing apparatus according to the present embodiment will be described with reference to FIG. FIG. 2 is a flowchart for explaining the flow of image processing in the present embodiment. FIG. 3 is a flowchart for explaining the processing flow of the display magnification calculation step shown in FIG. 4 and 5 are diagrams for explaining modification and redisplay of a predetermined area of an image using the image processing method of the present invention. FIG. 4 is a diagram illustrating the case where the image is enlarged and redisplayed. Indicates a case where the image is reduced and redisplayed. 4 and 5, (a) shows the upper image before modification, and (b) shows the image after modification. From the x coordinate axis and y coordinate axis shown in these figures (a), FIG. The coordinate axes that are orthogonal to each other are assumed to increase in numerical value in the direction of the arrow.
ディスプレー装置画面上の画像21は、ユーザーがハードディスク装置10またはサーバーに記憶された画像データを選択することで、CPU3によって当該選択された画像データがRAM5に記憶され、この画像データが所定の表示倍率Z0にてビデオコントローラ8に送られ、表示されたものである。この表示倍率Z0は、通常、RAM5に記憶された画像データを画面上に表示させるのにアプリケーションソフトなどのプログラムによって設定されている。
The
まず、画像21においてユーザーが観察したい領域22を拡大して表示させたい場合、図4に示すように、ユーザーは当該領域22内の任意の位置にマウス7のポンターを移動させ、そこでマウス7の所定のボタンをクリックする(この位置をA(x1,y1)とする)。次に、ユーザーはクリックした状態でマウス7をドラッグして画像上のポインターをA座標よりも画面に向って斜め左下方に移動させ、位置B(x2,y2)にて停止し、マウス7のボタンから指を離しクリックされていない(ポイントオフ)状態とするものとする。なお、ポインターは、画像上位置A(x1,y1)より下方向であれば、前記のように斜め左下方向に限らず、適宜の方向に移動させることができる。また、ポインターの停止位置(図4では、位置B(x2,y2))は、その移動可能な範囲で適宜設定することができる。
First, when the user wants to enlarge and display the
一方、画像処理手段2では、ユーザーによる前記のマウス7のそれぞれの操作により発生するイベントを検出し、各イベントまたはこれらのイベントが組み合わさって発生した場合に一定の処理が行われ、改変時の表示倍率が演算される表示倍率演算ステップ(S2)が行われる。以下、具体的にこのステップS2について説明する。
On the other hand, the image processing means 2 detects an event generated by each operation of the
このステップS2ではまず、CPU3は、ユーザーによってマウス7が操作され、マウス7のボタンがクリックされた(ポイントオンされた)ことをイベントが発生したか否かによって判断する(S101)。このイベントは、マウス7がクリックされたときに瞬間的に発生するものであり、これが発生した場合には、画像上でクリックされた位置の座標A(x1,y1)が始点P0として、またその時点における当該画像の画像データに対する表示倍率が初期(改変前)の表示倍率Z0としてRAM5のデータ記憶エリアに記憶される。また、クリック状態では真、そうでない状態では偽が返されるように予め設定された変数BLに「真」が返され、マウス7がクリックされた状態であることが記憶される(S102)。その後、ステップS101に戻り、同様の判断が行われる。
In this step S2, first, the CPU 3 determines whether or not an event has occurred that the user has operated the
ステップS101において、マウス7がクリックされた状態で保持されており、マウス7がクリックされたことによるイベントが発生していない場合には、次にCPU3はマウス7が移動状態にあるか否かをイベントの発生によって判断する(S103)。このイベントの発生によりマウス7が移動状態にある場合には、CPU3は次にマウス7がクリック状態にあるか否かを変数BLの値により判断する(S104)。
In step S101, if the
その結果、マウス7がクリック状態で移動(ドラッグ)されている場合には、ステップS103においてマウス移動イベントが発生し、ステップS104において変数BLが真であるので、CPU3はポインターの現在点PをRAM5のデータ記憶エリアに記憶させ、この現在点Pおよび前記始点A(x1,y1)の2点のy軸成分を用いて以下の演算式によってこのポインターの現在位置での表示倍率Zを演算する(S105)。この演算結果も前記現在点Pと同様にRAM5のデータ記憶エリアに記憶される。
As a result, when the
この演算式において、始点P0、現在点P間のポインターの移動量としてのy軸成分の差は、y2>y1であるから、Py−P0y=y2−y1>0(正数)となり、得られる演算結果はZ>Z0となるので、表示倍率は拡大倍率となる。その後、マウス7がクリックされたか否かがイベントの発生によって判断されるステップS101に戻り、一連の処理が繰り返される。
In this arithmetic expression, the difference in the y-axis component as the amount of movement of the pointer between the starting point P 0 and the current point P is y2> y1, and therefore , P y −P 0y = y2−y1> 0 (positive number). since the operation result obtained is the Z> Z 0, the display magnification is enlargement magnification. Thereafter, the process returns to step S101 where it is determined whether or not the
一方、前記ステップS103においてマウス7が移動状態にあっても、ステップS104においてクリック状態でなく、変数BLが真でない(偽の)場合には、再度ステップS101以降の処理が繰り返される。
On the other hand, even if the
このように、マウス7がドラッグされている状態では、ステップS101〜S105の処理が所定のタイミングで繰り返されるので、このポインターの現在点Pと演算結果の表示倍率Z(拡大倍率)とはその都度書き換えられてRAM5のデータ記憶エリアに記憶される。
As described above, when the
ユーザーがマウス7を停止した場合、ステップS103では、停止時点でマウス7の移動イベントは発せられなくなるので、CPU3はイベントの発生がないと判断し、次にマウス7のクリック状態が解かれた(ポイントオフ状態)か否かをイベントの発生によって判断する(S106)。その結果、マウス7がポイントオフ状態である場合には、変数BLに「偽」が返され(S107)、ステップS101以降の処理が再度繰り返される。この場合、その直後にマウス7が移動されたとしても、ステップS104において変数BLは偽となるので、ステップS101〜S104の処理が繰り返されることになる。
When the user stops the
すなわち、この表示倍率演算ステップS2では、マウス7が移動中であると停止状態であるとを問わず、ステップS104において変数BLに偽が返され、マウス7がクリック状態にない場合に、このマウス7のクリックが解かれた時点でのポインターの位置(図4では、座標B(x2,y2))がRAM5のデータ記憶エリアに現在点P(終点)として記憶されるとともに、上式1によってこの終点Pおよび前記始点P0のy軸成分の差が求められ、表示倍率Zが演算される。この演算結果は、改変時の表示倍率(Z)として確定され、RAM5のデータ記憶領域に記憶される。
That is, in this display magnification calculation step S2, regardless of whether the
逆に、画像の所定の領域を縮小して観察したい場合には、図5に示すように、ユーザーは画像上縮小して観察したい領域内の任意の位置座標C(x3,y3)においてマウス7をクリックし、そこからマウス7をクリックした状態でドラッグして位置C(x3,y3)よりも画面に向って斜め左上方向にポインターを移動させ、位置D(x4,y4)にて停止し、マウス7のボタンから指を離しクリックされていない(ポイントオフ)状態とするものとする。なお、ポインターは、画像上位置C(x3,y3)より上方向であれば、前記のように斜め左上方向に限らず、適宜の方向に移動させることができ、またポインターの停止位置はその移動可能な範囲で適宜設定できる点は、拡大表示の場合と同様である。
On the other hand, when it is desired to reduce and observe a predetermined area of the image, as shown in FIG. 5, the user reduces the image of the
画像処理手段2では、CPU3がマウス7がクリックされたことを検出し(S101)、位置座標C(x3,y3)を始点P0として、またその時点における当該画像の画像データに対する表示倍率が初期(改変前)の表示倍率Z0としてRAM5のデータ記憶エリアに記憶させる。マウス7がドラッグされている間は、ポインターの現在点Pと、当該現在点Pおよび始点から前記式1によって演算された表示倍率Zとが所定のタイミングで書き換えられてRAM5のデータ記憶エリアに記憶される。また、ポインターが停止した場合、その時点でのポインター位置P(図5では、D(x4,y4))が終点として記憶され、この終点Pおよび始点P0によって演算された表示倍率ZがRAM5のデータ記憶エリアに記憶され、改変時の表示倍率として確定される。この場合、現在点(終点)Pと始点P0の座標のy成分はy3>y4であるので、Py−P0y=y4−y3<0(負数)となり、式1によって得られる演算結果は、Z<Z0となるので、表示倍率Zは縮小倍率となる。
In the
なお、前記式1では、始点P、終点P0間の移動量をこれら両座標のy成分の差により求めているが、両座標のx成分の差を用いて移動量を求めることもできる。また、前記のx−y座標軸の代わりに画像上に別途任意の方向の座標軸を設け、この座標軸成分を用いて始点、現在点(終点)間の移動量を求めることもできる。
In the
ステップS106においてマウス7がポイントオフ状態の場合には、前記のとおり終点Pおよび改変時の表示倍率Zが確定されるが、マウス7がポイントオフ状態でない場合には、CPU3は終了指示のイベントが発生しているか否かを判断する(S108)。この終了指示のイベントは、例えば本実施形態の画像処理を行う動作モードを他の動作モードに切り替えるなどの操作を行うことによって発生されるようにすることができる。この終了指示のイベントが発生した場合には、表示倍率演算ステップS2の各処理は終了する。一方、この終了指示のイベントが発生していない場合には、このイベントが発生するまで、このステップS2におけるS101〜S107の各ステップは繰り返され、ユーザーがマウス7を用いた前記操作を繰り返すことで、その都度拡大倍率または縮小倍率などの改変時の表示倍率が演算され、RAM5のデータ記憶エリアに書き換えられて記憶されることになる。
If the
この表示倍率演算ステップS2においてRAM5のデータ記憶エリアに前記の始点P0、初期の表示倍率Z0、現在点(終点)Pおよび改変時の表示倍率Z(確定された改変時の表示倍率を含む)がそれぞれ記憶された場合、CPU3は、RAM5のデータ記憶エリアから表示倍率Zおよび始点P0をそれぞれ読み出すとともに、画像記憶エリアに記憶されている画像データを読み出す。また、CPU3は、この画像データをビデオコントローラ8のVRAM上の画像記憶エリアに送り、そこで表示倍率Zによって改変するが、その際、前記表示画面上の始点P0(図4の場合では位置A(x1,y1)、図5の場合では位置C(x3,y3))に位置画像データにおける当該始点P0に対応する位置(図4の場合では位置A’(x1’,y1’)、図5の場合では位置C’(x3’,y3’))を合致させるように(図4の場合、A(x1,y1)=A’(x1’,y1’)となり、図5の場合、C(x3,y3)=C’(x3’,y3’)となるように)改変後の画像を生成する(S3)。そして、CPU3は、このデータ読み出しから改変後の画像の生成に至る一連の処理動作を所定のタイミングで繰り返すので、生成された改変後の画像は、その都度VRAM上に書き換えられながら記憶され、ビデオコントローラ8によってディスプレー装置9の画面に再表示される(S4)。 In this display magnification calculation step S2, the start point P0, the initial display magnification Z 0 , the current point (end point) P, and the display magnification Z at the time of modification (including the confirmed display magnification at the time of modification) are stored in the data storage area of the RAM 5. If but stored respectively, CPU 3 reads out each display magnification Z and the start point P 0 from the data storage area of the RAM 5, reads the image data stored in the image storage area. Further, the CPU 3 sends this image data to the image storage area on the VRAM of the video controller 8 where it is modified by the display magnification Z. At this time, the starting point P 0 (position A in the case of FIG. 4) is displayed on the display screen. (X1, y1), position C (x3, y3) in the case of FIG. 5, a position corresponding to the start point P 0 in the position image data (position A ′ (x1 ′, y1 ′ in the case of FIG. 4)), FIG. In the case of 5, the position C ′ (x3 ′, y3 ′)) is matched (in the case of FIG. 4, A (x1, y1) = A ′ (x1 ′, y1 ′), and in the case of FIG. A modified image is generated (S3) so that (x3, y3) = C ′ (x3 ′, y3 ′). Then, the CPU 3 repeats a series of processing operations from the data reading to the generation of the modified image at a predetermined timing, so that the generated modified image is stored in the VRAM while being rewritten on the VRAM each time. The image is redisplayed on the screen of the display device 9 by the controller 8 (S4).
以上説明したように、ユーザーが画像上でマウスをクリックした位置からその状態でドラッグしてポインターを任意の方向に移動する簡単な操作を行うことで、画像処理手段はポインターの移動に係る始点および現在点を取得し、これら各点の所定の座標軸成分の差を求めることで、当該ポインターの移動方向および移動量に応じて演算された表示倍率(拡大倍率または縮小倍率)にて画像データを改変して表示手段に出力する処理を所定のタイミングで繰り返す。そのため、表示手段の画面上では、ポインターの移動量に応じて徐々に拡大または縮小する改変後の画像が繰り返し再表示される。しかも、改変後の画像は、いずれも改変前の画像上の始点の座標と当該画像の画像データの当該始点の座標に対応する位置を合致させてディスプレー装置9の画面上に再表示されるので、表示倍率の大小によらずユーザーが改変して観察したい領域が当該画面上に必ず表示されることになる。これにより、ユーザーは、画像上の改変して観察したい領域内でマウスをクリックした位置を中心に、当該領域について徐々に拡大し、あるいは徐々に縮小する画像を連続して観察し、また任意の位置でマウスをポイントオフ状態にすることで、その時点での確定した表示倍率によって拡大または縮小された画像を画面上で表示状態としたまま観察することができ、その結果ユーザーの操作性向上が図られる。 As described above, by performing a simple operation of moving the pointer in an arbitrary direction by dragging the mouse from the position where the user clicked the mouse on the image, the image processing means can set the start point and the movement of the pointer. By acquiring the current point and calculating the difference between the specified coordinate axis components of each point, the image data is modified with the display magnification (enlargement magnification or reduction magnification) calculated according to the movement direction and movement amount of the pointer. Then, the process of outputting to the display means is repeated at a predetermined timing. Therefore, on the screen of the display means, the modified image that is gradually enlarged or reduced according to the amount of movement of the pointer is repeatedly displayed again. In addition, the modified image is redisplayed on the screen of the display device 9 with the coordinates of the start point on the image before modification matched with the position corresponding to the coordinates of the start point of the image data of the image. Regardless of the display magnification, the region that the user wants to change and observe is always displayed on the screen. As a result, the user continuously observes the image that is gradually enlarged or gradually reduced with respect to the position where the mouse is clicked in the region to be modified and observed on the image. By placing the mouse in the point-off state at the position, the image enlarged or reduced by the display magnification determined at that time can be observed while being displayed on the screen, resulting in improved user operability. Figured.
なお、画像処理装置としては、少なくともCPUやRAMなどを内蔵し、マウスなどのポインティングデバイスやディスプレー装置が接続された汎用のパーソナルコンピューターを使用することもできる。この場合、前記画像処理を実行するために記述されたプログラムをこのパーソナルコンピューターにインストールすればよい。また、このプログラムは、各種のオペレーションシステムに適用可能であり、磁気ディスク(フレキシブルディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、半導体メモリなどの記憶媒体に格納してこれらを頒布することができる。また、必要であれば、これらの記憶媒体にはサーバーとの連携やその内部に記憶された画像の読み出しなどのプログラムなどを併せて格納しておくこともできる。 As the image processing apparatus, a general-purpose personal computer having at least a CPU, a RAM, and the like, and a pointing device such as a mouse and a display device connected thereto may be used. In this case, a program described for executing the image processing may be installed in the personal computer. Further, this program can be applied to various operation systems, and is stored in a storage medium such as a magnetic disk (flexible disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, and distributed. be able to. Further, if necessary, these storage media can also store programs such as cooperation with the server and reading of images stored therein.
本発明の画像処理装置、画像処理方法および当該方法を実施するためのプログラムは、医用画像ファイリングシステム(PACS)をはじめとする各種画像処理技術に適用可能である。 The image processing apparatus, the image processing method, and the program for executing the method of the present invention can be applied to various image processing technologies including a medical image filing system (PACS).
1 画像処理装置
2 画像処理手段
3 CPU
4 ROM
5 RAM
6 システムバス
7 マウス(ポイント入力手段)
8 ビデオコントローラ
9 ディスプレー装置(表示手段)
10 ハードディスク装置
11 ネットワークインターフェース
20 ディスプレー装置画面
21 画像
22 ユーザーが観察したい領域
23 改変後の画像
24 改変後のユーザーが観察したい領域
DESCRIPTION OF
4 ROM
5 RAM
6
8 Video controller 9 Display device (display means)
DESCRIPTION OF
Claims (5)
ユーザーが前記ポイント入力手段をポイントオン状態で操作して前記ポインターを移動させることで、前記画像処理手段が当該移動に係る始点および現在点の座標をそれぞれ取得し、各点の所定の座標軸成分に基づいて改変時の表示倍率を演算する表示倍率演算ステップと、
前記画像処理手段が当該改変時の表示倍率を用いて前記画像データを前記始点に当該画像データにおける当該始点の対応位置を合致させるように改変して改変後の画像を生成し、この改変後の画像を前記出力手段に出力する画像改変、再表示ステップとを有することを特徴とする画像処理方法。 An image processing method in an image processing apparatus comprising: display means for displaying an image on a screen based on image data; point input means for indicating a predetermined position on the image with a pointer; and image processing means,
When the user operates the point input means in a point-on state to move the pointer, the image processing means obtains the coordinates of the start point and the current point related to the movement, and uses the predetermined coordinate axis component of each point. A display magnification calculation step for calculating the display magnification at the time of modification based on,
The image processing means generates a modified image by modifying the image data so as to match the corresponding position of the start point in the image data with the start point using the display magnification at the time of the modification. An image processing method comprising image modification and redisplay steps for outputting an image to the output means.
(1)ユーザーにより前記ポイント入力手段がポイントオンされることで、前記画像上の前記始点の座標および当該画像の前記画像データに対する表示倍率を取得するステップ、
(2)前記ポイント入力手段のポイントオン状態での操作により前記ポインターが移動するに伴い、所定のタイミングで前記ポインターの現在点を取得するとともに、当該現在点と前記始点との所定の座標軸成分の差に基づいて前記改変時の表示倍率を変更するステップ、
(3)ユーザーにより前記ポイント入力手段がポイントオフ状態とされることで、前記画像処理手段が前記ポインターの停止位置を終点として取得するとともに、この終点と前記始点との所定の座標軸成分の差に基づいて演算された改変時の表示倍率を確定するステップ。 The image processing method according to claim 2, wherein the display magnification calculation step includes the following operation steps by an image processing unit.
(1) A step of acquiring the display magnification for the image data of the image and the coordinates of the start point on the image when the point input means is pointed on by the user;
(2) Acquires a current point of the pointer at a predetermined timing as the pointer is moved by an operation in a point-on state of the point input means, and determines a predetermined coordinate axis component between the current point and the start point. Changing the display magnification at the time of modification based on the difference;
(3) When the point input unit is turned off by the user, the image processing unit acquires the stop position of the pointer as an end point, and the difference between a predetermined coordinate axis component between the end point and the start point The step of determining the display magnification at the time of modification calculated based on the step.
ユーザーが前記ポイント入力手段をポイントオン状態で操作して前記ポインターを移動させることで、当該移動に係る始点および現在点の座標をそれぞれ取得し、各点の所定の座標軸成分に基づいて改変時の表示倍率を演算する表示倍率演算ステップと、
当該改変時の表示倍率を用いて前記画像データを前記始点に当該画像データにおける前記始点に対応する位置を合致させるように改変して改変後の画像を生成し、この改変後の画像を前記表示手段に出力する画像改変ステップと、
を少なくとも実行させることを特徴とする画像処理プログラム。 A computer comprising display means for displaying an image on a screen based on image data, and point input means for indicating a predetermined position on the image with a pointer,
The user operates the point input means in a point-on state to move the pointer, thereby acquiring the coordinates of the start point and the current point related to the movement, and based on the predetermined coordinate axis component of each point, A display magnification calculation step for calculating the display magnification;
Using the display magnification at the time of the modification, the image data is modified to match the position corresponding to the start point in the image data with the start point to generate a modified image, and the modified image is displayed on the display An image modification step to output to the means;
An image processing program that executes at least
(1)ユーザーにより前記ポイント入力手段がポイントオンされることで、前記画像上の前記始点の座標および当該画像の前記画像データに対する表示倍率を取得するステップ、
(2)前記ポイント入力手段のポイントオン状態での操作により前記ポインターが移動するに伴い、所定のタイミングで前記ポインターの現在位置を取得するとともに、当該現在位置と前記始点との所定の座標軸成分の差に基づいて前記改変時の表示倍率を変更するステップ、
(3)ユーザーにより前記ポイント入力手段がポイントオフ状態とされることで、前記画像処理手段が前記ポインターの停止位置を終点として取得するとともに、この終点と前記始点との所定の座標軸成分の差に基づいて演算された改変時の表示倍率を確定するステップ。 The image processing program according to claim 4, wherein the display magnification calculation step includes the following operation steps by an image processing means.
(1) A step of acquiring the display magnification for the image data of the image and the coordinates of the start point on the image when the point input means is pointed on by the user;
(2) Acquires the current position of the pointer at a predetermined timing as the pointer is moved by an operation in a point-on state of the point input means, and determines a predetermined coordinate axis component between the current position and the start point. Changing the display magnification at the time of modification based on the difference;
(3) When the point input unit is turned off by the user, the image processing unit acquires the stop position of the pointer as an end point, and the difference between a predetermined coordinate axis component between the end point and the start point The step of determining the display magnification at the time of modification calculated based on the step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007029465A JP4909755B2 (en) | 2007-02-08 | 2007-02-08 | Image processing apparatus, image processing method, and image processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007029465A JP4909755B2 (en) | 2007-02-08 | 2007-02-08 | Image processing apparatus, image processing method, and image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008197736A JP2008197736A (en) | 2008-08-28 |
| JP4909755B2 true JP4909755B2 (en) | 2012-04-04 |
Family
ID=39756649
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007029465A Active JP4909755B2 (en) | 2007-02-08 | 2007-02-08 | Image processing apparatus, image processing method, and image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4909755B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7954067B2 (en) * | 2007-03-16 | 2011-05-31 | Apple Inc. | Parameter setting superimposed upon an image |
| JP5751608B2 (en) | 2010-02-05 | 2015-07-22 | 日本電気株式会社 | Zoom processing apparatus, zoom processing method, and computer program |
| JP5812576B2 (en) | 2010-04-16 | 2015-11-17 | ソニー株式会社 | Information processing apparatus and program thereof |
| CN114205523B (en) * | 2021-11-18 | 2024-06-04 | 苏州长风航空电子有限公司 | Photoelectric turntable monitoring image control method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003076718A (en) * | 2001-06-22 | 2003-03-14 | Nippon Telegr & Teleph Corp <Ntt> | Document information content browsing system, document information content browsing method, program, and recording medium |
-
2007
- 2007-02-08 JP JP2007029465A patent/JP4909755B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008197736A (en) | 2008-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4093823B2 (en) | View movement operation method | |
| JP5751608B2 (en) | Zoom processing apparatus, zoom processing method, and computer program | |
| JP6364893B2 (en) | Terminal device, electronic whiteboard system, electronic whiteboard input support method, and program | |
| CN106164839B (en) | Method for providing visual response to input with reduced latency | |
| US20130063384A1 (en) | Electronic apparatus, display method, and program | |
| US20090089692A1 (en) | Method And System For Presenting Information Relating To A Plurality Of Applications Using A Three Dimensional Object | |
| JPH01250129A (en) | Display screen operating system | |
| TWI427553B (en) | Generation of cubic bezier control points in computer graphics systems | |
| CN101553863A (en) | Method of controllong touch panel display device and touch panel display device using the same | |
| CN101901107A (en) | Mobile device capable of zooming based on touch and control method thereof | |
| JP2013178636A (en) | Information processor and control method of the same | |
| JPWO2008001771A1 (en) | Method, program, and data processing system for changing shape of display object | |
| CN108228026B (en) | Fast Manipulation of Objects in 3D Scenes | |
| JP4909755B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| CN107908604A (en) | Report pattern generation method, device, computer equipment and storage medium | |
| US20200341607A1 (en) | Scrolling interface control for computer display | |
| JPH07200243A (en) | Icon selection control device | |
| JP2006092269A (en) | Electronic board system | |
| JPH07110754A (en) | Icon display device | |
| JP6373710B2 (en) | Graphic processing apparatus and graphic processing program | |
| JPH1083271A (en) | Window system, computer system, and window display method | |
| JPH06324829A (en) | Display device | |
| JP6526851B2 (en) | Graphic processing apparatus and graphic processing program | |
| JP2009003566A (en) | Window display device and window display method | |
| JPH06251115A (en) | Image processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100106 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111028 |
|
| 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: 20120110 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120116 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4909755 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |