JP2007086827A - Image processor, image processing method and program - Google Patents
Image processor, image processing method and program Download PDFInfo
- Publication number
- JP2007086827A JP2007086827A JP2005271174A JP2005271174A JP2007086827A JP 2007086827 A JP2007086827 A JP 2007086827A JP 2005271174 A JP2005271174 A JP 2005271174A JP 2005271174 A JP2005271174 A JP 2005271174A JP 2007086827 A JP2007086827 A JP 2007086827A
- Authority
- JP
- Japan
- Prior art keywords
- image
- input
- editing
- original image
- edit
- 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
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、画像処理装置、画像処理方法、および、プログラムに関する。特に、本発明は、既存の画像に描画を追加することによってその画像を編集する画像処理装置、画像処理方法、および、プログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program. In particular, the present invention relates to an image processing apparatus, an image processing method, and a program for editing an image by adding a drawing to an existing image.
従来、画像処理ソフトウェアの分野において、既に実行された描画を取り消して原画像を回復させる技術が知られている。これにより、操作ミスなどで消去された画像を回復することができ、利用者の利便性および画像の編集効率を高めることができる。これを実現するために、例えば特許文献1の技術においては、画像編集・描画コマンドを実行する毎に、その実行によって得られた画像データを保存している。ある描画を取り消したい場合には、その描画コマンドの直前に実行されたコマンドに対応する画像データを読み出して表示すればよい。
しかしながら、上記の技術においては、描画の対象が画像の僅かな部分であっても、その画像全体が保存される。このため、僅かな変更のためのコマンドを頻繁に実行した場合には、画像記憶の必要容量が膨大となってしまう。近年の画像編集は企業のみならず家庭にも普及してきているので、性能の低い情報処理装置でも迅速な処理によって快適に画像編集を実現できることが望まれる。 However, in the above technique, the entire image is stored even if the object of drawing is a small part of the image. For this reason, if a command for slight changes is frequently executed, the necessary capacity for image storage becomes enormous. Since image editing in recent years has become widespread not only in companies but also in homes, it is desired that even an information processing device with low performance can realize image editing comfortably by rapid processing.
上記課題を解決するために、本発明の第1の形態においては、原画像を編集し、編集結果を編集操作の履歴で保存する画像処理装置であって、原画像に対する所定の編集の入力があった場合に、編集の入力により編集される領域を含む原画像の一部の領域のビットマップ画像を切り出す切出し部と、切出し部により切り出されたビットマップ画像を、編集の入力に対応付けて、少なくとも一時的に記憶する記憶部と、編集の入力に基づいて、原画像を編集した処理画像を生成して表示する編集処理部と、編集の入力に対する取消が入力された場合に、編集の入力に対応付けられて記憶部に記憶されているビットマップ画像を処理画像に貼り付けて取消画像を生成し、取消画像を表示する取消処理部とを備える画像処理装置を提供する。これにより、画像編集の取消を実現するために記憶すべき画像の容量を、これまでよりも削減することができる。 In order to solve the above-described problems, in the first embodiment of the present invention, an image processing apparatus that edits an original image and saves the edited result as a history of editing operations, the input of a predetermined edit to the original image is performed. In such a case, a cutout unit that cuts out a bitmap image of a part of the original image including a region that is edited by input of editing, and the bitmap image cut out by the cutout unit are associated with the input of editing. A storage unit that stores at least temporarily, an editing processing unit that generates and displays a processed image based on an editing input, and a cancel of the editing input. An image processing apparatus is provided that includes a cancellation processing unit that generates a cancellation image by pasting a bitmap image associated with an input and stored in a storage unit to a processing image, and displays the cancellation image. Thereby, it is possible to reduce the capacity of an image to be stored in order to realize cancellation of image editing than before.
上記画像処理装置において、記憶部は、編集の入力に対する確定の入力があった場合に、ビットマップ画像を消去してもよい。これにより、記憶領域を開放して次の編集に備えることができ、また、画像を格納するファイルのデータサイズを削減できる。
上記画像処理装置において、切出し部は、ビットマップ画像を矩形に切り出してもよい。これにより、高速な編集取消し処理を実現できる。
In the image processing apparatus, the storage unit may erase the bitmap image when there is a definite input with respect to the edit input. As a result, the storage area can be released to prepare for the next editing, and the data size of the file storing the image can be reduced.
In the image processing apparatus, the cutout unit may cut out the bitmap image into a rectangle. Thereby, a high-speed edit cancellation process can be realized.
上記画像処理装置において、描画の入力は線種および線引きの軌跡により特定される描画であってもよい。これにより、画像編集の取消を実現するために記憶すべき画像の領域を適切に特定することができる。また、線引きによって変更された領域の画像のみを記憶して、記憶装置の必要容量を削減することができる。
また、記憶部は、原画像の編集が終了される場合に、ビットマップ画像を消去し、かつ、原画像に対して入力された編集操作の履歴を原画像に対応付けて記憶してもよい。
In the image processing apparatus, the drawing input may be a drawing specified by a line type and a drawing trace. Thereby, it is possible to appropriately specify the area of the image to be stored in order to realize the cancellation of the image editing. Further, only the image of the area changed by the drawing can be stored, and the required capacity of the storage device can be reduced.
Further, the storage unit may delete the bitmap image and store the history of editing operations input to the original image in association with the original image when the editing of the original image is finished. .
本発明の第2の形態においては、原画像を編集し、編集結果を編集操作の履歴で保存する画像処理方法であって、原画像に対する所定の編集の入力があった場合に、編集の入力により編集される領域を含む原画像の一部の領域のビットマップ画像を切り出す手順と、切り出されたビットマップ画像を、編集の入力に対応付けて、少なくとも一時的に記憶部に記憶する手順と、編集の入力に基づいて、原画像を編集した処理画像を生成して表示する手順と、編集の入力に対する取消が入力された場合に、編集の入力に対応付けられて記憶部に記憶されているビットマップ画像を処理画像に貼り付けて取消画像を生成し、取消画像を表示する手順とを備える画像処理方法を提供する。これにより、第1の形態と同様の効果を得ることができる。 According to a second aspect of the present invention, there is provided an image processing method for editing an original image and storing the edited result as a history of editing operations. When a predetermined edit is input to the original image, the input of the edit is performed. A procedure for cutting out a bitmap image of a part of the original image including the region to be edited by the procedure, and a procedure for storing the clipped bitmap image in the storage unit at least temporarily in association with the input of editing The procedure for generating and displaying a processed image obtained by editing the original image based on the editing input and the cancellation of the editing input are stored in the storage unit in association with the editing input. And a procedure for generating a cancel image by pasting the bitmap image to the processed image and displaying the cancel image. Thereby, the effect similar to the 1st form can be acquired.
本発明の第3の形態においては、原画像を編集し、編集結果を編集操作の履歴で保存する画像処理装置を制御するプログラムであって、画像処理装置に、原画像に対する所定の編集の入力があった場合に、編集の入力により編集される領域を含む原画像の一部の領域のビットマップ画像を切り出す手順、切り出されたビットマップ画像を、編集の入力に対応付けて、少なくとも一時的に記憶部に記憶する手順、編集の入力に基づいて、原画像を編集した処理画像を生成して表示する手順、および、編集の入力に対する取消が入力された場合に、編集の入力に対応付けられて記憶部に記憶されているビットマップ画像を処理画像に貼り付けて取消画像を生成し、取消画像を表示する手順を実行させるプログラムを提供する。これにより、第1の形態と同様の効果を得ることができる。
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた、発明となりうる。
According to a third aspect of the present invention, there is provided a program for controlling an image processing apparatus that edits an original image and saves the editing result as a history of editing operations. The image processing apparatus inputs a predetermined edit to the original image. If there is a procedure, a procedure to cut out a bitmap image of a part of the original image including the area to be edited by the input of editing, and the extracted bitmap image is associated with the input of editing at least temporarily. If the input to the storage unit, the procedure to generate and display the processed image based on the editing input, and the cancellation of the editing input are input, it is associated with the editing input. There is provided a program for executing a procedure for generating a cancel image by pasting a bitmap image stored in a storage unit to a processed image and displaying the cancel image. Thereby, the effect similar to the 1st form can be acquired.
The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.
図1は、画像処理装置10の一例を示す。画像処理装置10は、原画像を編集し、編集結果を編集操作の履歴で保存する装置である。画像処理装置10は、画像処理装置10を制御するプログラムを実行する本体12を備える。このプログラムは、例えば、CD−ROM26などの記録媒体から読み出されて、本体12にインストールされて実行されてもよい。画像処理装置10は、表示画面を有しユーザに対して本体12からの出力に基づいて表示画面上に表示をするディスプレイ14と、本体12からの出力に基づく印刷をするプリンタ24と、ユーザから本体12に対する入力手段の一例としてのキーボード16、および、マウス18とを備える。デジタルカメラ20、および、スキャナ22は、画像情報を読み込む手段の一例として、本体12と接続される。
FIG. 1 shows an example of the
図2は、本体12の機能構成を示す。本体12は、原画像記憶部200と、切出し部210と、切出画像記憶部220と、編集処理部230と、取消処理部240とを有する。原画像記憶部200は、画像処理装置10による編集の対象となる原画像を記憶している。この原画像は、デジタルカメラ20によって予め撮像されてもよいし、スキャナ22によって紙媒体からスキャンされてもよい。切出し部210は、キーボード16またはマウス18によって、原画像に対する編集の入力を受け付ける。切出し部210は、原画像に対する所定の編集の入力があった場合に、その編集の入力により編集される領域を含む原画像の一部の領域のビットマップ画像を切り出す。「切り出す」とは、原画像の一部の領域を原画像から複写して他の画像とすることをいう。切り出されたこのビットマップ画像を切出画像50とする。
FIG. 2 shows a functional configuration of the
切出画像記憶部220は、切出し部210により切り出された切出画像50を、編集の入力に対応付けて、少なくとも一時的に記憶する。また、切出画像記憶部220は、編集終了の入力をキーボード16またはマウス18によって受け付けた場合に、原画像の編集が終了されると判断する。原画像の編集が終了される場合に、切出画像記憶部220は、記憶しているビットマップ画像を消去する。そして、切出画像記憶部220は、原画像に対して入力された編集操作の履歴を、原画像に対応付けて原画像記憶部200に記憶する。また、切出画像記憶部220は、編集の入力に対する確定の入力を、キーボード16またはマウス18によって受け付けてもよい。切出画像記憶部220に記憶された切出画像50は、画像編集の取消(アンドゥ処理)に用いられる。このため、切出画像記憶部220は、編集の入力に対する確定の入力があった場合には、もはや編集の入力は取り消されないので、記憶している切出画像50を消去する。これに代えて、切出画像記憶部220は、確定の入力に関わらず切出画像50を記憶し続けていてもよい。
The cut-out
なお、本例において切出画像記憶部220は原画像記憶部200と別体に設けられているが、原画像記憶部200および切出画像記憶部220は同一の記憶装置内に設けられてもよい。例えば、原画像を格納しているファイルが、更に、切出画像記憶部220としての機能を果たしてもよい。即ち、そのファイル内にその原画像および切出画像50の双方が格納されていてもよい。
In this example, the cutout
編集処理部230は、キーボード16またはマウス18によって、原画像に対する編集の入力を受け付ける。編集処理部230は、編集の入力に基づいて、原画像を編集した処理画像を生成してディスプレイ14に表示する。この処理画像を処理画像40とする。これに加えて、編集処理部230は、プリンタ24によって処理画像40を印刷して出力してもよい。また、編集処理部230は、原画像記憶部200に記憶されている原画像を処理画像40によって更新してもよい。
The
取消処理部240は、編集の入力に対する取消の入力を、キーボード16またはマウス18によって受け付ける。取消処理部240は、編集の入力に対する取消が入力された場合に、その編集の入力に対応付けられて切出画像記憶部220に記憶されている切出画像50を処理画像40に貼り付けて取消画像を生成し、その取消画像をディスプレイ14に表示する。例えば、取消処理部240は、処理画像40を原画像記憶部200から読み出して、読み出された処理画像40に切出画像50を貼り付けてもよい。「原画像に処理画像を貼り付ける」とは、原画像の一部の領域に処理画像を上書きし、または、原画像の一部の領域を消去してそこに処理画像を複写することをいう。このようにして生成された取消画像を取消画像60とする。
The cancel
以上の各機能を実現するプログラムは、CD−ROM26から読み出されて、本体12にインストールされて実行される。これに代えて、プログラムは、フレキシブルディスク、又はICカード等の記録媒体に格納されて利用者によって提供されてもよい。記憶媒体としては、CD−ROM26、フレキシブルディスク、ICカードの他に、DVDやPD等の光学記録媒体、MD等の光磁気記録媒体、テープ媒体、半導体メモリ等を用いることができる。また、専用通信ネットワークやインターネットに接続されたサーバシステムに設けたハードディスク又はRAM等の記憶装置を記録媒体として使用し、ネットワークを介してプログラムを本体12に提供してもよい。
The programs for realizing the above functions are read from the CD-
図3は、原画像記憶部200に記録される原画像の具体例を示す。原画像記憶部200は、例えば、予めデジタルカメラ20で撮像された画像を記憶してもよいし、予めスキャナ22によって紙媒体からスキャンされた画像を記憶してもよいし、編集用ソフトウェアで既に作成された画像を記憶してもよい。本図では、原画像記憶部200に記憶されている画像として、4行4列に16等分された領域に4種類の模様を施した画像を示す。原画像記憶部200は、無地、右斜線、左斜線、および、2重斜線が施された2行2列の矩形領域を、更に2行2列組み合わせた画像を記憶している。
FIG. 3 shows a specific example of the original image recorded in the original
図4は、処理画像40の具体例を示す。処理画像40は、図3に例示した原画像上へ折れ線を描画した画像を示す。この折れ線は、原画像中の3行目かつ2列目の領域の中心付近を始点とし、2行目かつ2列目の領域、および、2行目かつ3列目の領域を経由して、3行目かつ4列目の領域を終点とする。このように、編集処理部230は、編集の入力に基づく折れ線の図形を、原画像の一部を隠すようにその原画像に重ねることによって、処理画像40を生成する。なお、本図においては、折れ線の図形を含む矩形領域を点線で示すが、この点線の矩形領域は説明のために記載されたものであり、実際の処理画像40には含まれない。
FIG. 4 shows a specific example of the processed
図5は、切出画像50の具体例を示す。切出画像50は、編集処理部230によって編集される領域を含む原画像の一部の領域のビットマップ画像である。具体的には、切出画像50は、図4に示した折れ線の図形を囲む矩形領域(図4の点線部分)に対応する、原画像の一部の領域の画像となる。言い換えれば、切出画像50は、編集処理部230によって編集される前の画像において、編集処理部230によって編集される対象となる領域の画像に相当する。
FIG. 5 shows a specific example of the
この切出画像50を切り出す処理の一例として、まず、切出し部210は、編集の入力に基づいて、編集処理部230によって編集される図形の形状を示す座標を取得する。例えば、切出し部210は、原画像の座標平面上において、この図形の最も右に位置するピクセルの座標と、この図形の最も左に位置するピクセルの座標と、この図形の最も上に位置するピクセルの座標と、この図形の最も下に位置するピクセルの座標とを取得する。
As an example of the process of cutting out the cut-out
次に、切出し部210は、最も左に位置するピクセルの座標を通過するy軸に平行な直線と、最も右に位置するピクセルの座標を通過するy軸に平行な直線と、最も上に位置するピクセルの座標を通過するx軸に平行な直線と、最も下に位置するピクセルの座標を通過するx軸に平行な直線とを求める。そして、切出し部210は、原画像を、求められたこれらの直線をそれぞれ4辺とする矩形に切り出す。このように、切出画像50を矩形とすれば、比較的単純なアルゴリズムによって迅速に切出画像50を切り出すことができる。これにより、利用者が頻繁に編集した場合であっても、画像に対する本来の編集処理を妨げずに利用者の利便性を維持することができる。
Next, the
これに代えて、切出し部210は、切出画像50を円形に切り出してもよいし、切出画像50を多角形に切り出してもよい。円形は、中心座標および半径によってその形状・位置が決定される。また、多角形は、各頂点の座標によってその形状・位置が決定される。これらの場合であっても、切出画像50を切り出すアルゴリズムは比較的単純であり、切出画像50を迅速に切り出すことができる。
Instead of this, the
図6は、取消画像60の具体例を示す。取消画像60は、処理画像40に切出画像50を貼り付けることにより生成される画像である。切出画像50が貼り付けられた領域を点線で図示する。このように、処理画像40に切出画像50を貼り付けるという比較的単純な処理によって、編集を取り消して原画像を迅速に回復させることができる。この結果、連続した多数の編集処理を一括して取り消す場合であっても、取り消しに要する処理時間を短くすることができる。
FIG. 6 shows a specific example of the cancel
以上、図4から図6に示す例において、切出し部210は、編集された図形を囲む1つの矩形の画像を切出画像50として切り出す。これにより、画像を切出すアルゴリズムを単純化して処理を高速化できる。これに代えて、切出し部210は、編集された図形(例えば、本例では折れ線)に沿って、複数の矩形の組み合わせた図形を切出画像50として切り出してもよい。この方法によれば、切出画像50のデータサイズを削減できる。以下、その一例を述べる。
図7は、処理画像40の他の例を示す。本例も図4の例と同じく、図3に例示した原画像上へ折れ線を描画した画像を示す。本図においては、図4とは異なり、折れ線に沿って複数の矩形を組み合わせた画像を示す。この点線の領域は説明のために記載されたものであり、実際の処理画像40には含まれない。
図8は、切出画像50の他の例を示す。本図の例の切出画像50は、編集された折れ線に沿って複数の矩形を組み合わせた図形となる。本図と図5とを比較して明らかなように、編集された図形に沿った複数の矩形の組み合わせ多図形を切出画像50とすることで、切出画像50のデータサイズを削減することができる。
As described above, in the example illustrated in FIGS. 4 to 6, the
FIG. 7 shows another example of the processed
FIG. 8 shows another example of the
図9は、切出画像記憶部220のデータ構造の一例を示す。切出画像記憶部220は、切出し部210により切り出された切出画像50を、その切出画像50に対応する原画像上の領域に対する編集の入力に対応付けて記憶している。具体的には、切出画像記憶部220は、切出画像として、そのファイル名と、それが切り出された原画像上の領域の座標を記憶している。この座標は、例えば、矩形である切出画像の左上に位置する頂点の座標でもよい。一例として、ファイル「045.JPG」の切出画像は、座標(1230,860)を左上の頂点とする領域から切り出されている。
FIG. 9 shows an exemplary data structure of the cut-out
また、編集の入力は、本実施例では原画像に対する描画の入力であって、その入力の識別情報(入力ID)、その入力により指定される線種、および、その入力により指定される線引きの軌跡により特定される。線種は、線の太さ、または、直線性に加え、線の色やぼかし等を含んでもよい。また、軌跡は、線の各頂点の座標であってもよい。一例として、入力IDが45の編集は、座標(1230,1200)を始点とし、座標(1610,1000)および座標(1780,860)を経由して座標(2300,1100)を終点とする細線の軌跡を示す。 In this embodiment, the editing input is a drawing input for the original image. The input identification information (input ID), the line type specified by the input, and the line drawing specified by the input It is specified by the trajectory. The line type may include a line color or a blur in addition to the line thickness or linearity. The locus may be the coordinates of each vertex of the line. As an example, an edit with an input ID of 45 is a fine line starting from coordinates (1230, 1200) and ending with coordinates (2300, 1100) via coordinates (1610, 1000) and coordinates (1780, 860). Show the trajectory.
切出画像記憶部220は、これらの切出画像および対応する編集の入力の組を、その編集の順序に従って記憶していてもよい。これにより、取消処理部240は、切出画像記憶部220を参照することにより編集の順序を特定でき、編集の順序を順次遡って適切な取消画像を生成することができる。
The cut-out
図10は、画像処理装置10によって画像が編集される処理の流れを示す。編集処理部230は、利用者に編集を促すべく、原画像を原画像記憶部200から読み出してディスプレイ14などに表示する(S800)。次に、切出し部210および編集処理部230は、それぞれ、所定の編集の入力が受け付けられたか否かを判断する(S810)。編集の入力が受け付けられた場合に(S810:YES)、切出し部210は、編集の入力により編集される領域を含む原画像の一部の領域のビットマップ画像を切出画像50として切り出す(S820)。そして、切出画像記憶部220は、この切出画像50を記憶する(S830)。
FIG. 10 shows a flow of processing in which an image is edited by the
また、編集処理部230は、編集の入力に基づいて、原画像を編集した処理画像40を生成してディスプレイ14に表示する(S840)。ここで、切出画像50を切り出して記憶する処理(S820およびS830)、および、処理画像40を生成して表示する処理(S840)の処理順序は逆であってもよい。但し、編集処理部230が原画像記憶部200に記憶された原画像を更新してしまう場合には、その更新前に切出し部210が切出画像50を切り出す必要がある。
Further, the
また、好ましくは、切出し部210および編集処理部230は、一回の線引き毎に切出画像50を切り出す。即ち、ある線引きが開始されても終了されていない場合には、切出し部210および編集処理部230は、S810において、編集の入力が無いと判断する。そして、その線引きが終了された場合に、切出し部210および編集処理部230は、S810において、編集の入力があったと判断する。これにより、編集の処理が細分化されて切出画像記憶部220の必要容量が増大することを防ぎ、かつ、線引き毎に遡って編集操作を取り消すことができる。
Preferably, the
編集処理部230は、編集終了の入力を受け付けた場合に、原画像の編集が終了されると判断する(S845)。原画像の編集が終了される場合に(S845:YES)、切出画像記憶部220は、記憶している切出画像50を消去する(S847)。そして、切出画像記憶部220は、原画像に対して入力された編集操作の履歴を、原画像とは別々に、原画像に対応付けて原画像記憶部200に記憶する(S849)。編集終了の入力を受け付けていなければ(S845:NO)、編集処理部230は、S810に処理を戻して次の入力を受け付ける。
The
この終了の処理によれば、その後に原画像を再度読み出すときには、原画像に対して編集操作を再現することで、編集後の原画像を再現できる。また、編集終了後の画像を格納するファイルに切出画像50を含めて記憶させる必要が無いので、当該ファイルのデータサイズを削減することができる。また、この終了の処理によれば、色空間の違いによって生じる編集の混乱を防止できる。即ち例えば、一旦編集を終了した画像と、その後に編集を再開した画像とでは、各ピクセル値に割り当てる配色、即ち色空間が異なる場合がある。このような場合において、編集終了前に保存された切出画像50を、編集再開後の原画像に貼付してしまうと、貼付された領域と他の領域とで配色が異なってしまう場合がある。原画像のファイルに切出画像50を含めなければ、このような編集の混乱を防止することができる。更に、編集を繰り返すことによる画質劣化の進行を防止することができる。
なお、編集操作の履歴から原画像を再現する方法のみでは、編集操作の取り消しを行うときに原画像から取り消す操作以外の履歴を適用しなければならず、処理に時間を要する。これに対し、本実施例における画像処理装置10によれば、編集作業中には編集操作の履歴のみならず切出画像50を記憶しているので、編集操作の取消し処理を高速に実現して、利用者の操作性を向上することができる。
According to this end processing, when the original image is read again thereafter, the edited original image can be reproduced by reproducing the editing operation on the original image. In addition, since it is not necessary to store the
Note that only the method of reproducing the original image from the history of editing operations requires the application of a history other than the operation for canceling the original image when canceling the editing operation, which takes time. On the other hand, according to the
一方で、編集の入力が受け付けられていない場合に(S810:NO)、取消処理部240は、既に受け付けられた編集の入力に対する取消が入力されたか否かを判断する(S850)。取消しが入力された場合に(S850:YES)、取消処理部240は、その編集の入力に対応付けられて切出画像記憶部220に記憶されている切出画像50を処理画像40に貼り付けて取消画像60を生成する(S860)。そして、取消処理部240は、生成したその取消画像60をディスプレイ14に表示し(S870)、次の入力を受け付けるべくS845に処理を移す。
On the other hand, when an edit input is not accepted (S810: NO), the
ここで、好ましくは、取消処理部240は、取消の対象となる編集の入力が、直前に受け付けられた編集でなければ、以下の処理を行う。まず、取消処理部240は、直前の編集から取消対象の編集までの編集を順次遡って取り消す。即ち、取消処理部240は、直前の編集に対応する切出画像から取消対象の編集に対応する切出画像までの各切出画像を順次原画像に貼付する。そして、取消処理部240は、取消対象の編集を除く他の編集に対応する編集履歴を切出画像記憶部220から取得する。取消処理部240は、取得した編集履歴に基づき、取り消し対象の編集を除くその他の編集を再現する。この処理によれば、取消処理部240は、任意の編集作業を適切に取り消し、その他の編集を適切に維持できる。
Here, preferably, the
一方で、取消が入力されていない場合に(S850:NO)、切出画像記憶部220は、編集の入力に対する確定の入力が受け付けられたか否かを判断する(S880)。確定の入力があった場合に(S880:YES)、切出画像記憶部220は、記憶している切出画像50を消去し(S890)、次の入力を受け付けるべくS845に処理を移す。次の編集のために記憶領域を開放し、また、画像を格納するファイルのデータサイズを削減することができる。切出画像記憶部220は、確定の入力が受け付けられていない場合には(S880:NO)、S810に処理を戻して入力を受け付ける。
On the other hand, when cancel is not input (S850: NO), the cut-out
以上、本実施例に係る画像処理装置10によれば、編集の対象となる画像の一部の領域のみを切出して記憶していくことで、画像編集の取消を実現するために記憶すべき画像の容量を削減することができる。また、当該一部の領域を矩形とすることで、画像編集の取消し処理を高速化できる。また、一回の線引き毎に切出画像を生成することで、利用者は、線引き毎に遡って編集操作を取り消すことができる。これらの特徴により、画像に対する編集処理およびその取消処理を効率化して、利用者の利便性をこれまでより高めることができる。
As described above, according to the
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
10 画像処理装置、12 本体、14 ディスプレイ、16 キーボード、18 マウス、20 デジタルカメラ、22 スキャナ、24 プリンタ、26 CD−ROM、40 処理画像、50 切出画像、60 取消画像、200 原画像記憶部、210 切出し部、220 切出画像記憶部、230 編集処理部、240 取消処理部
DESCRIPTION OF
Claims (7)
前記原画像に対する所定の編集の入力があった場合に、前記編集の入力により編集される領域を含む前記原画像の一部の領域のビットマップ画像を切り出す切出し部と、
前記切出し部により切り出された前記ビットマップ画像を、前記編集の入力に対応付けて、少なくとも一時的に記憶する記憶部と、
前記編集の入力に基づいて、前記原画像を編集した処理画像を生成して表示する編集処理部と、
前記編集の入力に対する取消が入力された場合に、前記編集の入力に対応付けられて前記記憶部に記憶されている前記ビットマップ画像を前記処理画像に貼り付けて取消画像を生成し、前記取消画像を表示する取消処理部と
を備える画像処理装置。 An image processing apparatus that edits an original image and saves the edited result as a history of editing operations.
A cutout unit that cuts out a bitmap image of a partial area of the original image including an area edited by the input of the edit when there is input of a predetermined edit on the original image;
A storage unit that stores the bitmap image cut out by the cutout unit at least temporarily in association with the input of the editing;
An editing processing unit that generates and displays a processed image obtained by editing the original image based on the editing input;
When a cancel for the edit input is input, the bitmap image stored in the storage unit in association with the edit input is pasted to the processed image to generate a cancel image, and the cancel An image processing apparatus comprising: a cancellation processing unit that displays an image.
前記原画像に対する所定の編集の入力があった場合に、前記編集の入力により編集される領域を含む前記原画像の一部の領域のビットマップ画像を切り出す手順と、
切り出された前記ビットマップ画像を、前記編集の入力に対応付けて、少なくとも一時的に記憶部に記憶する手順と、
前記編集の入力に基づいて、前記原画像を編集した処理画像を生成して表示する手順と、
前記編集の入力に対する取消が入力された場合に、前記編集の入力に対応付けられて前記記憶部に記憶されている前記ビットマップ画像を前記処理画像に貼り付けて取消画像を生成し、前記取消画像を表示する手順と
を備える画像処理方法。 An image processing method for editing an original image and saving the edited result as a history of editing operations,
A procedure of cutting out a bitmap image of a partial area of the original image including an area edited by the input of the edit when there is a predetermined edit input to the original image;
A procedure for storing the extracted bitmap image in the storage unit at least temporarily in association with the editing input;
A procedure for generating and displaying a processed image obtained by editing the original image based on the editing input;
When a cancel for the edit input is input, the bitmap image stored in the storage unit in association with the edit input is pasted to the processed image to generate a cancel image, and the cancel An image processing method comprising: a procedure for displaying an image.
前記原画像に対する所定の編集の入力があった場合に、前記編集の入力により編集される領域を含む前記原画像の一部の領域のビットマップ画像を切り出す手順、
切り出された前記ビットマップ画像を、前記編集の入力に対応付けて、少なくとも一時的に記憶部に記憶する手順、
前記編集の入力に基づいて、前記原画像を編集した処理画像を生成して表示する手順、および、
前記編集の入力に対する取消が入力された場合に、前記編集の入力に対応付けられて前記記憶部に記憶されている前記ビットマップ画像を前記処理画像に貼り付けて取消画像を生成し、前記取消画像を表示する手順
を実行させるプログラム。 A program for controlling an image processing apparatus that edits an original image and saves an editing result as a history of editing operations.
A procedure of cutting out a bitmap image of a partial area of the original image including an area to be edited by the input of the edit when there is a predetermined edit input to the original image;
A procedure for storing the cut-out bitmap image in the storage unit at least temporarily in association with the editing input;
A procedure for generating and displaying a processed image obtained by editing the original image based on the editing input, and
When a cancel for the edit input is input, the bitmap image stored in the storage unit in association with the edit input is pasted to the processed image to generate a cancel image, and the cancel A program that executes the procedure for displaying images.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005271174A JP2007086827A (en) | 2005-09-16 | 2005-09-16 | Image processor, image processing method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005271174A JP2007086827A (en) | 2005-09-16 | 2005-09-16 | Image processor, image processing method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007086827A true JP2007086827A (en) | 2007-04-05 |
Family
ID=37973789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005271174A Withdrawn JP2007086827A (en) | 2005-09-16 | 2005-09-16 | Image processor, image processing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007086827A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011067899A1 (en) * | 2009-12-01 | 2011-06-09 | 株式会社ソニー・コンピュータエンタテインメント | Information processing device, and information processing system |
-
2005
- 2005-09-16 JP JP2005271174A patent/JP2007086827A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011067899A1 (en) * | 2009-12-01 | 2011-06-09 | 株式会社ソニー・コンピュータエンタテインメント | Information processing device, and information processing system |
JP2011118546A (en) * | 2009-12-01 | 2011-06-16 | Sony Computer Entertainment Inc | Information processing device, and information processing system |
US9230298B2 (en) | 2009-12-01 | 2016-01-05 | Sony Corporation | Information processing device, and information processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8194974B1 (en) | Merge and removal in a planar map of an image | |
JP5326859B2 (en) | Image processing device | |
JPS6115280A (en) | Document picture editing device | |
US7929755B1 (en) | Planar map to process a raster image | |
JP2010105202A (en) | Printing method and printing apparatus | |
JP2007086827A (en) | Image processor, image processing method and program | |
JP6851853B2 (en) | Expansion of redacting function | |
JPH041862A (en) | Graphic selecting method | |
US7417761B2 (en) | Information processing apparatus and information processing method for processing document data having a plurality of objects different in attribution | |
JP2006072839A (en) | Image processing method, image processing apparatus, image processing program and recording medium | |
JP4309987B2 (en) | Raster data editing method and apparatus | |
JP4992439B2 (en) | CAD system projection method, CAD system projection program, and CAD system | |
JP2006303078A (en) | Method and device for extracting fixed pattern, pattern drawing device, and program | |
JP2010108296A (en) | Information processor and information processing method | |
JPH0594511A (en) | Image processor | |
JP2006107268A (en) | Editing apparatus, editing method and program | |
JP2005038164A (en) | System, program and method for comic edition | |
JP4145819B2 (en) | Print control apparatus and recording medium | |
JP2008059122A (en) | Image processing apparatus, method, program, and information recording medium | |
JP4136894B2 (en) | Printing apparatus, printing method, and storage medium storing computer-readable program | |
JP3692792B2 (en) | Print data spooling method, print control apparatus, and recording medium | |
JP2000298730A (en) | Method for editing raster data and device thereof | |
JP2006222563A (en) | Image processing apparatus and image correction method | |
JP4263294B2 (en) | Raster data editing method and apparatus | |
JPH06208554A (en) | Method and device for document data processing of document processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20080415 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081202 |