JP2001119625A - Image processing method and apparatus - Google Patents
Image processing method and apparatusInfo
- Publication number
- JP2001119625A JP2001119625A JP29434399A JP29434399A JP2001119625A JP 2001119625 A JP2001119625 A JP 2001119625A JP 29434399 A JP29434399 A JP 29434399A JP 29434399 A JP29434399 A JP 29434399A JP 2001119625 A JP2001119625 A JP 2001119625A
- Authority
- JP
- Japan
- Prior art keywords
- image
- new image
- new
- information
- shape
- 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
Landscapes
- Studio Circuits (AREA)
- Image Processing (AREA)
Abstract
(57)【要約】
【課題】 画像を合成してパノラマ画像を作成する際
に、画像が他の画像とどの程度オーバーラップしている
かが分からなかったため、複数の画像の重なり領域を指
定して、その重なり位置及び形状に関する情報を記憶
し、それら情報を基に、複数の画像を合成して表示す
る。
【解決手段】 撮像部100により撮像される新たな画
像と、他の画像との重なりを指定して新たな画像を取得
し(ROI設定部102)、その他の画像と新たな画像
との重なり位置及び形状に関する情報を、その撮像され
る新たな画像とともに画像記憶部103に記憶し、他の
画像と前記新たな画像との重なり位置及び形状に関する
情報を基に、その他の画像と新たな画像とを合成して表
示する。
(57) [Summary] [Problem] When creating a panoramic image by synthesizing images, since it is not known how much the image overlaps with another image, it is necessary to specify an overlapping area of a plurality of images. , The information on the overlapping position and the shape is stored, and a plurality of images are synthesized and displayed based on the information. SOLUTION: A new image picked up by an image pickup unit 100 is designated to overlap with another image to acquire a new image (ROI setting unit 102), and an overlap position between the other image and the new image is obtained. And information on the shape are stored in the image storage unit 103 together with the new image to be captured, and based on the information on the overlapping position and the shape of the other image and the new image, the other image and the new image are And display them.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数の画像を合成
する画像処理方法及びその装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method for synthesizing a plurality of images and an apparatus therefor.
【0002】[0002]
【従来の技術】従来より、風景などをデジタルカメラで
分割して撮影し、それら各画像をパーソナルコンピュー
タ(以下、PC)で合成して、画角の広いパノラマ画像
を作成することが行われている。このようなパノラマ画
像を合成する際には、画像同士がある程度のオーバーラ
ップを持っていることが必要であるため、そのような画
像を撮影しやくするための専用のモード(以下、パノラ
マモード)を持ったデジタルカメラが提案されている。2. Description of the Related Art Heretofore, it has been practiced to divide a landscape or the like with a digital camera and shoot the images, combine the images with a personal computer (hereinafter, PC), and create a panoramic image with a wide angle of view. I have. When synthesizing such a panoramic image, it is necessary for the images to have a certain degree of overlap. Therefore, a dedicated mode (hereinafter, panoramic mode) for easily capturing such an image is required. A digital camera having a digital camera has been proposed.
【0003】[0003]
【発明が解決しようとする課題】今までは、画像を合成
してパノラマ画像を作成する際に、画像が他の画像とど
の程度オーバーラップしているかが分からなかったた
め、パノラマ画像に合成するソフトウェアが画像全体を
探索して重なり位置を調べる必要があった。そのために
画像の合成に時間がかかり、また探索範囲が広いため、
間違った重なり位置を検出してしまう場合があった。ま
た画像がオーバーラップしている領域も、他の領域と同
じ圧縮率で圧縮していたため、圧縮率が高いとノイズが
発生し、合成処理の精度が低下していた。Heretofore, when a panoramic image is created by synthesizing an image, it is not known how much the image overlaps with another image. Needed to search the entire image to find the overlap position. Because of that, it takes time to combine images and the search range is wide,
In some cases, an incorrect overlapping position was detected. Also, the area where the images overlap is compressed at the same compression rate as the other areas. Therefore, when the compression rate is high, noise is generated, and the accuracy of the synthesis processing is reduced.
【0004】本発明は上記従来例に鑑みてなされたもの
で、複数の画像の重なり領域を指定して、その重なり位
置及び形状に関する情報を記憶し、それら情報を基に、
複数の画像を合成して表示する画像処理方法及び装置を
提供することにある。The present invention has been made in view of the above-mentioned conventional example, and specifies an overlapping area of a plurality of images, stores information on the overlapping position and shape, and based on the information,
It is an object of the present invention to provide an image processing method and apparatus for combining and displaying a plurality of images.
【0005】また本発明の目的は、画像同士の重なり領
域の圧縮率を下げて記憶することにより合成画像を作成
をより向上させる画像処理方法及び装置を提供すること
にある。It is another object of the present invention to provide an image processing method and apparatus for improving the creation of a composite image by storing the image at a reduced compression rate of an overlapping area between the images.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に本発明の画像処理装置は以下のような構成を備える。
即ち、他の画像との重なりを指定して新たな画像を取得
する取得手段と、前記他の画像と前記新たな画像との重
なり位置及び形状に関する情報を、前記新たな画像とと
もに記憶する記憶手段と、前記他の画像と前記新たな画
像との重なり位置及び形状に関する情報を基に、前記他
の画像と前記新たな画像とを合成して表示させる表示制
御手段と、を有することを特徴とする。In order to achieve the above object, an image processing apparatus according to the present invention has the following arrangement.
That is, an acquisition unit that designates an overlap with another image to acquire a new image, and a storage unit that stores information on an overlapping position and a shape of the another image and the new image together with the new image. And display control means for combining and displaying the other image and the new image based on information on the overlapping position and shape of the other image and the new image. I do.
【0007】上記目的を達成するために本発明の画像処
理方法は以下のような工程を備える。即ち、他の画像と
の重なりを指定して新たな画像を取得する取得工程と、
前記他の画像と前記新たな画像との重なり位置及び形状
に関する情報を、前記新たな画像とともにメモリに記憶
する記憶工程と、前記他の画像と前記新たな画像との重
なり位置及び形状に関する情報を基に、前記他の画像と
前記新たな画像とを合成して表示させる表示制御工程
と、を有することを特徴とする。[0007] To achieve the above object, the image processing method of the present invention comprises the following steps. That is, an acquisition step of acquiring a new image by specifying an overlap with another image,
A storage step of storing information on an overlapping position and a shape of the other image and the new image in a memory together with the new image, and information on an overlapping position and a shape of the other image and the new image. And a display control step of combining and displaying the other image and the new image.
【0008】[0008]
【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
【0009】図1は、本発明の実施の形態1に係る画像
処理装置(例えばデジタルカメラ)の構成例を示すブロ
ック図である。FIG. 1 is a block diagram showing a configuration example of an image processing apparatus (for example, a digital camera) according to Embodiment 1 of the present invention.
【0010】同図において、100は撮像部で、レンズ
やCCDなどを含み、撮像された映像に対応する電気信
号を出力する。101は画像形成部で、撮像部100か
ら出力される電気信号に基づいて画像を形成している。
102はROI設定部で、画像形成部101で作成され
た画像に対してROI(Region Of Interest:注目領
域)を設定する。このROIは、画像の中のある領域を
表しており、本実施の形態に係る、例えばデジタルカメ
ラ等の画像処理装置では後述するように、主被写体の画
像領域を表したり、隣り合う画像と重なる画像領域を表
すために用いる。103は画像記憶部で、撮像部100
で撮像された画像を、例えばメモリカードなどの記憶媒
体に記憶する。In FIG. 1, reference numeral 100 denotes an image pickup unit which includes a lens, a CCD and the like, and outputs an electric signal corresponding to a picked-up image. An image forming unit 101 forms an image based on an electric signal output from the imaging unit 100.
An ROI setting unit 102 sets an ROI (Region Of Interest) for an image created by the image forming unit 101. This ROI represents a certain area in the image, and in an image processing apparatus such as a digital camera according to the present embodiment, as described later, it represents an image area of a main subject or overlaps with an adjacent image. Used to represent an image area. 103, an image storage unit;
Is stored in a storage medium such as a memory card.
【0011】次に、ROI設定部102におけるROI
の設定処理について説明する。Next, ROI in ROI setting section 102
Will be described.
【0012】前述したようにROIは、撮像された画像
の画像データの一部の画像領域を示すもので、ROIは
例えば図2に示すように、その撮像された画像に関する
情報の中に記述される。As described above, the ROI indicates a partial image area of image data of a captured image, and the ROI is described in information on the captured image, for example, as shown in FIG. You.
【0013】図2において、201は本実施の形態に係
るデジタルカメラ等で記憶される画像データを示してい
る。202はヘッダで、この画像の付帯情報を格納して
おり、このヘッダ202の中にROI203が記憶され
ている。このROI203にはいくつかの種類があり、
例えば204は主被写体の種別を示すROI情報であ
る。この主被写体を表すROI情報204は、デジタル
カメラ等で撮影したときにユーザが設定するもので、例
えば人物を撮影した画像の場合には、ユーザはその人物
を主被写体の種類を表すROIとして設定することがで
きる。具体的には、本実施の形態では、図示しないがデ
ジタルカメラの操作部等を使って、ユーザがその人物が
写っている範囲を指示すると、ROI設定部102が、
その領域を画像に設定する。In FIG. 2, reference numeral 201 denotes image data stored in the digital camera or the like according to the present embodiment. Reference numeral 202 denotes a header, which stores supplementary information of the image. In the header 202, an ROI 203 is stored. There are several types of ROI 203,
For example, reference numeral 204 denotes ROI information indicating the type of the main subject. The ROI information 204 representing the main subject is set by the user when photographing with a digital camera or the like. For example, in the case of an image of a person, the user sets the person as the ROI representing the type of the main subject. can do. Specifically, in the present embodiment, when the user indicates a range where the person is captured using an operation unit or the like of a digital camera (not shown), the ROI setting unit 102
The area is set in the image.
【0014】205及び208はROIの画像部分の形
状を示す情報で、例えば矩形や円形や閉曲線等を指定す
ることができる。前述の例のように人物が指定された場
合は、ROI設定部102は、その指定された画像領域
を閉曲線で記述する。206及び209はROIの範囲
を示す情報である。206の場合は、ROIの形状が
「閉曲線」であるので、座標(100,100)の点、及び座
標(101,102)と座標(102,104)などの点で囲まれる閉
曲線がROIの範囲として設定されている。このように
主被写体が複雑な形状をしている場合は、その形状の外
周を座標を列挙して表現すればよい。他の例としては、
例えば主被写体が「円形」の場合は、その円の中心と半
径を記述すれば良く、主被写体の形状が「矩形」の場合
は、209で示すように、矩形の左上の座標と右下の座
標を記述すればよい。Reference numerals 205 and 208 denote information indicating the shape of the image portion of the ROI. For example, a rectangle, a circle, a closed curve, or the like can be designated. When a person is specified as in the above-described example, the ROI setting unit 102 describes the specified image region with a closed curve. 206 and 209 are information indicating the range of the ROI. In the case of 206, since the shape of the ROI is a “closed curve”, a point at coordinates (100, 100) and a closed curve surrounded by points such as coordinates (101, 102) and coordinates (102, 104) are set as the ROI range. When the main subject has a complicated shape as described above, the outer periphery of the shape may be represented by listing coordinates. Another example is
For example, if the main subject is “circular”, the center and radius of the circle may be described. If the shape of the main subject is “rectangular”, the upper left coordinate and lower right You only have to describe the coordinates.
【0015】207は、この画像の右側に位置する画像
とのオーバーラップを示すROI情報である。このRO
I情報207は、主被写体を表す前述のROI情報20
4とは別個のものであり、両者を区別できるように、図
2のROI情報207の「種別」として異なる名前(図
では「右側画像とのオーバーラップ」)が与えられてい
る。ROI情報207の画像の形状は、ROI情報20
8で示すように「矩形」であり、この画像の左上の座標
(560,0)から右下の座標(800,600)で囲まれる矩形部
分が、右側の画像と重なっていることを示している。同
様に、ROI情報210は下側に位置する画像とのオー
バーラップ(「下側画像とのオーバーラップ」)を示
し、ROI情報211は左側に位置する画像とのオーバ
ーラップ(「左側画像とのオーバーラップ」)、212
は上側に位置する画像とのオーバーラップ(「上側画像
とのオーバーラップ」)を示している。ただし、もしそ
れぞれの位置に対応する画像がない場合は、それに対応
するROI情報は存在しない。これらのROI情報は、
後述するように、パノラマモードで撮影された画像で記
憶され、デジタルカメラ等の液晶画面上でオーバーラッ
プさせた画像の領域を表している。Reference numeral 207 denotes ROI information indicating an overlap with the image located on the right side of the image. This RO
The I information 207 is the aforementioned ROI information 20 representing the main subject.
4 are different from each other, and different names (“overlap with the right image” in the figure) are given as “type” of the ROI information 207 in FIG. 2 so that they can be distinguished from each other. The shape of the image of the ROI information 207 is the ROI information 20
As shown by 8, it is a "rectangle", and indicates that a rectangular portion surrounded by the coordinates (560,0) at the upper left and the coordinates (800,600) at the lower right of this image overlaps the image on the right. Similarly, ROI information 210 indicates an overlap with an image located below (“overlap with lower image”), and ROI information 211 indicates an overlap with an image located on the left side (“overlap with left image”). Overlap "), 212
Indicates an overlap with the image located above (“overlap with the upper image”). However, if there is no image corresponding to each position, there is no ROI information corresponding to that image. These ROI information
As will be described later, the image area is stored as an image captured in the panorama mode, and represents an area of an overlapped image on a liquid crystal screen of a digital camera or the like.
【0016】画像位置213は、この画像(主被写体)
と他の画像の位置関係を座標で表したデータであり、こ
の座標値を基に、ある画像の上下左右に存在する画像を
認識することができる。例えば、図3のように画像Aか
ら画像Iが並んでいる場合、画像Eのx座標を“0”、
y座標を“0”とすると、画像Fのx座標は“1”、y
座標は“0”となる。画像位置213の例で言えば、X
座標が“1”、y座標が“1”となっているので、図3
では画像Cがこれに相当していることがわかる。また、
この画像Cの更に右側の画像を探すためには、x座標が
“2”、y座標が“1”である画像を探せばよいことに
なる。また画像本体216は、画像の各画素の色などの
データが格納されるエリアで、対応する画像を表示する
ために使用される画像データエリアであるが、ここでは
本発明の趣旨とは関係ないので、特に触れない。The image position 213 indicates the position of this image (main subject).
This is data representing the positional relationship between the image and another image by coordinates. Based on the coordinate values, it is possible to recognize an image existing above, below, right and left of a certain image. For example, when the images A to I are arranged as shown in FIG. 3, the x coordinate of the image E is set to “0”,
Assuming that the y coordinate is “0”, the x coordinate of the image F is “1”, and y
The coordinates are "0". In the example of the image position 213, X
Since the coordinate is “1” and the y coordinate is “1”, FIG.
It can be seen that the image C corresponds to this. Also,
In order to search for an image on the right side of the image C, an image whose x coordinate is "2" and whose y coordinate is "1" may be searched for. The image main body 216 is an area in which data such as the color of each pixel of the image is stored, and is an image data area used for displaying a corresponding image. However, here, it is not relevant to the gist of the present invention. So don't touch it.
【0017】図4は、本実施の形態のデジタルカメラの
構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the digital camera according to the present embodiment.
【0018】図において、301はCPUで、プログラ
ムメモリ302に記憶された制御プログラムに従って、
このカメラ全体の動作を制御している。303は前述し
た図1の撮像部100に相当する撮像部で、レンズユニ
ットやCCDなどの光電変換部を備え、撮影された画像
に対応する映像信号を出力している。304はRAM
で、CPU301の動作実行時にワークエリアとして使
用されるとともに、各種データを一時的に保存してい
る。305は、メモリカード等の記憶媒体である。30
6はインターフェース部で、パーソナルコンピュータ
(PC)307との間でのデータのやり取りのインター
フェースを制御しており、双方向での通信が可能であ
る。308は操作部で、シャッタスイッチ、絞りなどの
各種操作スイッチを備えている。309は表示部で、例
えば液晶等で構成され、ビューウインドウとして機能す
るとともに、撮像されて記憶媒体305に記憶された画
像等も表示することができる。310はこれら各部を接
続するためのバスである。Referring to FIG. 1, reference numeral 301 denotes a CPU, which operates in accordance with a control program stored in a program memory 302.
The operation of the entire camera is controlled. Reference numeral 303 denotes an imaging unit corresponding to the imaging unit 100 in FIG. 1 described above, which includes a lens unit and a photoelectric conversion unit such as a CCD, and outputs a video signal corresponding to a captured image. 304 is RAM
The CPU 301 is used as a work area when the operation of the CPU 301 is executed, and temporarily stores various data. 305 is a storage medium such as a memory card. 30
Reference numeral 6 denotes an interface unit which controls an interface for exchanging data with a personal computer (PC) 307, and is capable of bidirectional communication. An operation unit 308 includes various operation switches such as a shutter switch and an aperture. Reference numeral 309 denotes a display unit which is formed of, for example, liquid crystal or the like, functions as a view window, and can also display an image or the like captured and stored in the storage medium 305. Reference numeral 310 denotes a bus for connecting these components.
【0019】次に本実施の形態のデジタルカメラが有す
るパノラマモードの機能について説明する。Next, the function of the panorama mode of the digital camera according to the present embodiment will be described.
【0020】まず、パノラマモードにしたときにデジタ
ルカメラの表示部309の画面に表示される内容につい
て説明する。First, the contents displayed on the screen of the display unit 309 of the digital camera when the panorama mode is set will be described.
【0021】図5は、パノラマモードに設定したときの
デジタルカメラの表示部309における表示例を表して
いる。FIG. 5 shows a display example on the display unit 309 of the digital camera when the panorama mode is set.
【0022】図5において、表示部309の画面上にお
いて、1001は直前に撮影された画像を表している。
尚、1枚目を撮影するときは、直前に撮影した画像は存
在しないので直前の画像1001は表示されない。10
02はEVF(エレクトリック・ビュー・ファインダ)
の働きをしており、これから撮影しようとしている画像
がライブで表示されている。1003は直前画像100
1と、これから撮影しようとしている画像1002の両
者が重なっている部分であり、2つの画像が透過して表
示されている。この部分1003における重なり量は、
例えば、元の画像全体の約30%に固定されている。従
って、ユーザはこの重なり部分1003において、2つ
の画像がうまく重なるように、カメラの向きを動かし
て、次の画像を撮影する。これによって、ユーザは直前
の画像に対して約30%のオーバーラップした画像を、
簡単に撮影することができる。In FIG. 5, on the screen of the display unit 309, reference numeral 1001 denotes an image taken immediately before.
When the first image is photographed, the immediately preceding image 1001 is not displayed because there is no image photographed immediately before. 10
02 is EVF (Electric View Finder)
The image you are about to shoot is displayed live. 1003 is the previous image 100
1 and the image 1002 to be photographed are overlapping portions, and the two images are transparently displayed. The amount of overlap in this part 1003 is
For example, it is fixed at about 30% of the entire original image. Therefore, the user moves the direction of the camera so that the two images are properly overlapped with each other in the overlapping portion 1003, and captures the next image. This allows the user to create an approximately 30% overlapped image with the previous image,
You can easily shoot.
【0023】尚、この実施の形態の図5では、直前に撮
影した画像の右隣に次の画像を重ね合わせて撮影する場
合について説明したが、これはあくまでも一例であり、
ユーザはカメラの操作部等を使用して、撮影しようとし
ている画像1002の領域を直前の画像1001の上下
・左右いずれの方向にも移動することができる。これに
よって直前に撮影した画像1001の上下左右いずれの
方向においても重ね合わせた画像を撮影することができ
る。In FIG. 5 of this embodiment, a case where the next image is photographed by superimposing the next image on the right of the immediately preceding image has been described, but this is merely an example.
The user can use the operation unit of the camera or the like to move the area of the image 1002 to be photographed in any of the vertical and horizontal directions of the immediately preceding image 1001. As a result, it is possible to shoot a superimposed image in any of the up, down, left, and right directions of the image 1001 taken immediately before.
【0024】次に本発明の実施の形態に係るデジタルカ
メラの撮影動作について図6のフローチャートを参照し
て説明する。このフローチャートで示す処理を実行する
制御プログラムはプログラムメモリ302に記憶されて
いる。Next, the photographing operation of the digital camera according to the embodiment of the present invention will be described with reference to the flowchart of FIG. A control program for executing the processing shown in this flowchart is stored in the program memory 302.
【0025】まずステップS1で、ユーザによって、実
施の形態のデジタルカメラの操作部308のレリーズス
イッチが押されると、画像形成部101(ここではプロ
グラムにより実現されている)は、撮像部100から読
み出した電気信号を画像情報に変換して画像を形成す
る。次にステップS2に進み、パノラマモード(操作部
308のスイッチで指定)で撮影されたか否かを判断
し、そうであればステップS3に進み、ROI設定部1
02(プログラムにより実現されている)は、撮影した
画像の上下・左右方向の位置に既に撮影した画像がある
かを調べる。これは図2の画像位置213で示した画像
位置を調べることによって、画像が存在しているかどう
かを識別できる。もしいずれの位置にも画像がなかった
場合は、その画像は最初に撮影されたことになるのでス
テップS5に進み、ROI設定部102は、基準となる
位置を示すためにx座標“0”、y座標“0”を画像位
置213を画像に書き込む。その後、ステップS7に進
み、画像記憶部103は、その撮像した画像をJPEG
などの方法によって圧縮してメモリカードなどの記憶媒
体に記憶する。First, in step S 1, when the release switch of the operation unit 308 of the digital camera according to the embodiment is pressed by the user, the image forming unit 101 (here realized by a program) reads out from the imaging unit 100. The converted electric signal is converted into image information to form an image. Next, the process proceeds to step S2, where it is determined whether or not the image was captured in the panorama mode (designated by the switch of the operation unit 308).
02 (implemented by a program) checks whether there is an already photographed image in the vertical and horizontal directions of the photographed image. This can be identified by examining the image position indicated by image position 213 in FIG. If there is no image at any position, the image is taken first, and the process proceeds to step S5, where the ROI setting unit 102 sets the x coordinate “0” to indicate the reference position, The y coordinate “0” is written in the image at the image position 213. Thereafter, the process proceeds to step S7, where the image storage unit 103 stores the captured image in a JPEG format.
And store it in a storage medium such as a memory card.
【0026】一方、ステップS3において、新たに撮影
した画像の上下左右のいずれかの位置に既に撮影した画
像がある場合はステップS4に進み、ROI設定部10
2は、その撮影した画像のヘッダ202に、図2のRO
I203に示すようなROI情報を、その画像に対応付
けて書き込む。On the other hand, in step S3, if there is an image already taken at any of the upper, lower, left and right positions of the newly taken image, the process proceeds to step S4, where the ROI setting unit 10
2 is the RO of FIG. 2 in the header 202 of the photographed image.
ROI information such as I203 is written in association with the image.
【0027】例えば、左側に既に画像がある場合は、図
2の211に示すように「左側画像とのオーバーラッ
プ」を示すROI情報を画像に書き込む。そのときに、
例えば図5の例で言えば、画像の30%の領域である重
なり部分1003の矩形を、ROIの範囲として設定す
る。また、撮影した画像の左側の画像に対しては、図2
の207に示した「右側画像とのオーバーラップ」を示
すROIを画像に書き込む。その後、ステップS5に進
み、ROI設定部102は図2の画像位置213を、そ
の画像に書き込む。この画像の位置は、これらの画像が
表示されている表示部309の画面を見ながらユーザが
決めるので、ROI設定部102はその位置を取得して
画像に書き込む。最後にステップS7に進み、画像記憶
部103により、その撮影した画像をJPEGなどの方
法によって圧縮してメモリカードなどの記憶媒体305
に記憶する。その時に、画像記憶部103は、ステップ
S4で指定したオーバラップ領域のROIを他の領域よ
りも低い圧縮率で画質が劣化しないように圧縮する。こ
れは画像を合成するときにはオーバーラップ部分を探索
して画像の対応箇所を探すため、その部分の画質が劣化
していると、その探索する精度が悪くなるためである。
そのため、その画像の圧縮率を低くしてノイズが混じら
ないようにして記憶する。For example, if there is already an image on the left side, ROI information indicating "overlap with the left side image" is written in the image as shown at 211 in FIG. At that time,
For example, in the example of FIG. 5, the rectangle of the overlapping portion 1003, which is a 30% area of the image, is set as the ROI range. In addition, for the image on the left side of the photographed image, FIG.
Then, an ROI indicating “overlap with the right image” indicated by reference numeral 207 is written in the image. Thereafter, the process proceeds to step S5, where the ROI setting unit 102 writes the image position 213 in FIG. 2 into the image. The position of this image is determined by the user while looking at the screen of the display unit 309 on which these images are displayed. Therefore, the ROI setting unit 102 acquires the position and writes it in the image. Finally, the process proceeds to step S7, where the captured image is compressed by the image storage unit 103 by a method such as JPEG and the storage medium 305 such as a memory card is compressed.
To memorize. At that time, the image storage unit 103 compresses the ROI of the overlap area designated in step S4 at a lower compression ratio than the other areas so that the image quality does not deteriorate. This is because when combining images, an overlapping portion is searched for a corresponding portion of the image, and if the image quality of the portion is deteriorated, the accuracy of the search is deteriorated.
Therefore, the image is stored in such a manner that the compression ratio of the image is reduced so that noise is not mixed.
【0028】またステップS2で、パノラマモードでな
いときはステップS6に進み、ROI設定部102は、
主被写体の領域を画像のヘッダ202に、図2の204
に示したROI情報を書き込む。この主被写体の領域
は、前述したようにデジタルカメラの操作部303等を
使ってユーザが指定するか、もしくはROI設定部10
2が、画像のエッジやヒストグラムによって、主被写体
を自動的に判断するようにしてもよい。そしてステップ
S7に進み、画像記憶部103は、その撮影した画像を
JPEGなどの方法によって圧縮してメモリカードなど
の記憶媒体305に記憶する。その時に、画像記憶部1
03は、ステップS6で指定されたROI情報を他の領
域よりも低い圧縮率で圧縮して、その主被写体の画質が
劣化しないようにしている。これは、主被写体を他の領
域よりも高画質で記憶するのが望ましいためである。If it is determined in step S2 that the mode is not the panorama mode, the process proceeds to step S6, where the ROI setting unit 102
The area of the main subject is included in the header 202 of the image and indicated by reference numeral 204 in FIG.
Is written. The area of the main subject is specified by the user using the operation unit 303 of the digital camera as described above, or the ROI setting unit 10
2, the main subject may be automatically determined based on the edge or the histogram of the image. Then, the process proceeds to step S7, where the image storage unit 103 compresses the captured image by a method such as JPEG and stores the compressed image in a storage medium 305 such as a memory card. At that time, the image storage unit 1
In step 03, the ROI information specified in step S6 is compressed at a lower compression ratio than the other areas so that the image quality of the main subject does not deteriorate. This is because it is desirable to store the main subject with higher image quality than other areas.
【0029】尚、もしPC307がインターフェース部
306を介して接続されているならば、操作部308か
らの指示に代えて、このPC307からのコマンドによ
り、これら各種動作が指示されてもよい。If the PC 307 is connected via the interface unit 306, these various operations may be instructed by a command from the PC 307 instead of the instruction from the operation unit 308.
【0030】次に、パノラマモードで撮影された画像
を、このデジタルカメラに接続されたPC307のソフ
トウェアによる処理により合成する際の動作について説
明する。Next, an operation of synthesizing an image photographed in the panorama mode by processing by software of the PC 307 connected to the digital camera will be described.
【0031】図7は、本実施の形態に係るデジタルカメ
ラにおけるパノラマ合成処理を実行するPC307のソ
フトウェアの動作を説明するフローチャートである。FIG. 7 is a flowchart for explaining the operation of software of the PC 307 for executing the panorama synthesizing process in the digital camera according to the present embodiment.
【0032】まずステップS11において、合成する全
ての画像のヘッダから、隣り合う画像とのオーバーラッ
プを示すROIと画像位置を読み出す。これは図2で言
えば、隣り合う画像とのオーバーラップを示すROI
は、図2に示すROI情報207、210、211、2
12であり、その画像位置は213である。これらRO
Iとその画像位置とを調べることによって、全ての画像
の配置と、それらの重なりを知ることができる。このと
きに、図2の204に記した主被写体を示すROI情報
は、オーバーラップを示すROI情報とは異なる種別と
して記述されているので、パノラマ画像の合成のために
必要のない情報であるため、読み飛ばすことができる。First, in step S11, an ROI indicating an overlap with an adjacent image and an image position are read from the headers of all images to be synthesized. This is an ROI that indicates an overlap between adjacent images in FIG.
Are ROI information 207, 210, 211, 2 shown in FIG.
12, and the image position is 213. These ROs
By examining I and its image position, the arrangement of all images and their overlap can be known. At this time, since the ROI information indicating the main subject described in 204 in FIG. 2 is described as a different type from the ROI information indicating the overlap, the ROI information is unnecessary information for synthesizing the panoramic image. , You can skip over.
【0033】次にステップS12に進み、画像のヘッダ
202に書かれているオーバーラップ領域の範囲を探索
し、各画像がどのように重なるかを正確に算出する。こ
の画像に記述されているオーバーラップは、あくまでも
撮影時に指定されたもので正確ではない。そのため、実
際に画像がどのように重なっているかを正確に調べる必
要がある。Next, the process proceeds to step S12, in which the range of the overlap area described in the header 202 of the image is searched, and how the images overlap each other is calculated accurately. The overlap described in this image is the one specified at the time of shooting and is not accurate. Therefore, it is necessary to accurately check how the images actually overlap.
【0034】次にステップS13に進み、ステップS1
2で算出した重なり位置に基づいて画像を合成し、一つ
の画像を生成する。ここではオーバーラップ領域を示す
情報が画像に記述されているため、探索範囲が限定され
るので、画像全体を探索するよりも、効率良く、しかも
精度良く画像を合成することができる。Then, the process proceeds to a step S13, and a step S1
The images are synthesized based on the overlapping position calculated in step 2 to generate one image. Here, since the information indicating the overlap area is described in the image, the search range is limited, so that the image can be synthesized more efficiently and more accurately than when searching the entire image.
【0035】なお本発明は、複数の機器(例えばホスト
コンピュータ、インターフェース機器、リーダ、プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機、ファクシミリ装置
など)に適用してもよい。Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, and the like), a single device (for example, a copying machine, a facsimile machine, etc.) ) May be applied.
【0036】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
憶した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れる。この場合、記憶媒体から読み出されたプログラム
コード自体が前述した実施形態の機能を実現することに
なり、そのプログラムコードを記憶した記憶媒体は本発
明を構成することになる。また、コンピュータが読み出
したプログラムコードを実行することにより、前述した
実施形態の機能が実現されるだけでなく、そのプログラ
ムコードの指示に基づき、コンピュータ上で稼働してい
るオペレーティングシステム(OS)などが実際の処理の一
部または全部を行い、その処理によって前述した実施形
態の機能が実現される場合も含まれる。An object of the present invention is to supply a storage medium (or a recording medium) storing program codes of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (a computer) of the system or the apparatus. Alternatively, the present invention is also achieved when a CPU or an MPU reads and executes a program code stored in a storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. By executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
【0037】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれる。Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. This also includes the case where the CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【0038】以上説明したように本実施の形態によれ
ば、撮影するときに画像の重なる領域を指定でき、更に
その重なる領域を画像に記憶することができる。これに
より、画像を合成してパノラマ画像を作成する際に、そ
れらの重なる領域を探索することにより画像全体を探索
するよりも処理時間が短縮され、しかも精度良く画像を
合成する事ができる。As described above, according to the present embodiment, it is possible to specify an overlapping area of an image at the time of photographing, and to further store the overlapping area in the image. Accordingly, when creating a panoramic image by synthesizing images, the processing time is shorter than searching the entire image by searching for an overlapping area between them, and the image can be synthesized with high accuracy.
【0039】また、重なる領域の画像の画質を他の画像
領域より高くなるように圧縮するため、圧縮ノイズによ
る画像合成処理への影響が少なくなり、画像を合成する
精度をより高くすることができる。Further, since the image quality of the overlapping area is compressed so as to be higher than that of the other image areas, the influence of the compression noise on the image synthesizing process is reduced, and the accuracy of the image synthesizing can be further improved. .
【0040】更に、画像同士が重なる領域には、主被写
体などを示す他の領域と異なる識別子を付すため、画像
を合成してパノラマ画像を作成する際に、それらの画像
の重なる領域だけを取り出して処理することができる。Further, since an area where images overlap each other is assigned a different identifier from other areas indicating the main subject or the like, when composing images to create a panoramic image, only the area where these images overlap is extracted. Can be processed.
【0041】[0041]
【発明の効果】以上説明したように本発明によれば、複
数の画像の重なり領域を指定して、その重なり位置及び
形状に関する情報を記憶し、それら情報を基に、複数の
画像を合成して表示することができる。As described above, according to the present invention, an overlapping area of a plurality of images is designated, information on the overlapping position and shape is stored, and a plurality of images are synthesized based on the information. Can be displayed.
【0042】また本発明によれば、画像同士の重なり領
域の圧縮率を下げて記憶することにより合成画像を作成
をより向上させることができるという効果がある。Further, according to the present invention, there is an effect that the creation of a composite image can be further improved by storing the image at a reduced compression rate of the overlapping area between the images.
【図1】本発明の実施の形態に係る画像処理装置(デジ
タルカメラ)の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an image processing device (digital camera) according to an embodiment of the present invention.
【図2】本実施の形態において画像が格納される際の情
報を説明する図である。FIG. 2 is a diagram illustrating information when an image is stored in the present embodiment.
【図3】画像の配置例を説明する図である。FIG. 3 is a diagram illustrating an example of image arrangement.
【図4】本発明の実施の形態に係るデジタルカメラのハ
ードウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a hardware configuration example of the digital camera according to the embodiment of the present invention.
【図5】本実施の形態のデジタルカメラにおいてパノラ
マモードで撮影を行うときの液晶画面の表示例を示す図
である。FIG. 5 is a diagram illustrating a display example of a liquid crystal screen when shooting is performed in a panoramic mode in the digital camera according to the present embodiment.
【図6】本発明の実施の形態に係る画像処理装置(デジ
タルカメラ)において、画像を撮影するときの勤作を説
明するフローチャートである。FIG. 6 is a flowchart illustrating a manner in which an image is photographed in the image processing apparatus (digital camera) according to the embodiment of the present invention.
【図7】本発明の実施の形態に係る画像処理装置(デジ
タルカメラ)において、画像を合成するときの動作を説
明するフローチャートである。FIG. 7 is a flowchart illustrating an operation when combining images in the image processing device (digital camera) according to the embodiment of the present invention.
100 撮像部 101 画像形成部 102 ROI設定部 103 画像記憶部 REFERENCE SIGNS LIST 100 imaging unit 101 image forming unit 102 ROI setting unit 103 image storage unit
Claims (10)
像を取得する取得手段と、 前記他の画像と前記新たな画像との重なり位置及び形状
に関する情報を、前記新たな画像とともに記憶する記憶
手段と、 前記他の画像と前記新たな画像との重なり位置及び形状
に関する情報を基に、前記他の画像と前記新たな画像と
を合成して表示させる表示制御手段と、を有することを
特徴とする画像処理装置。An acquisition unit that acquires a new image by designating an overlap with another image; and stores information on an overlap position and a shape of the another image with the new image together with the new image. Storage means for performing, and display control means for synthesizing and displaying the other image and the new image based on information on an overlapping position and a shape of the other image and the new image. An image processing apparatus characterized by the above-mentioned.
て表示する表示手段と、 前記表示手段に表示された前記新たな画像の前記他の画
像に対する相対表示位置を変更する変更手段と、 前記変更手段により変更された前記新たな画像の前記相
対表示位置に基づいて前記新たな画像との重なり位置に
関する情報を決定する決定手段と、を更に有することを
特徴とする請求項1に記載の画像処理装置。2. A display means for displaying the other image and the new image side by side; a changing means for changing a relative display position of the new image displayed on the display means with respect to the other image; 2. The method according to claim 1, further comprising: determining means for determining information on an overlapping position with the new image based on the relative display position of the new image changed by the changing means. 3. Image processing device.
り領域を、他の領域よりも低い圧縮率で圧縮する圧縮手
段を更に有することを特徴とする請求項1又は2に記載
の画像処理装置。3. The image according to claim 1, further comprising a compression unit configured to compress an overlapping area between the other image and the new image at a lower compression ratio than the other area. Processing equipment.
たな画像の形状に関する情報を更に記憶することを特徴
とする請求項1乃至3のいずれか1項に記載の画像処理
装置。4. The image processing apparatus according to claim 1, wherein the storage unit further stores information on the other image and the shape of the new image.
ることを特徴とする請求項1乃至4のいずれか1項に記
載の画像処理装置。5. The image processing apparatus according to claim 1, wherein the image processing apparatus is a digital camera.
像を取得する取得工程と、 前記他の画像と前記新たな画像との重なり位置及び形状
に関する情報を、前記新たな画像とともにメモリに記憶
する記憶工程と、 前記他の画像と前記新たな画像との重なり位置及び形状
に関する情報を基に、前記他の画像と前記新たな画像と
を合成して表示させる表示制御工程と、を有することを
特徴とする画像処理方法。6. An acquiring step of acquiring a new image by designating an overlap with another image, and storing information on an overlapping position and a shape of the other image and the new image together with the new image. And a display control step of combining and displaying the other image and the new image based on information on an overlapping position and a shape of the other image and the new image. An image processing method comprising:
て表示する表示工程と、 前記表示工程で表示された前記新たな画像の前記他の画
像に対する相対表示位置を変更する変更工程と、 前記変更工程で変更された前記新たな画像の前記相対表
示位置に基づいて前記新たな画像との重なり位置に関す
る情報を決定する決定工程と、を更に有することを特徴
とする請求項6に記載の画像処理方法。7. A display step of displaying the other image and the new image side by side; a changing step of changing a relative display position of the new image displayed in the display step with respect to the other image; 7. The determining step according to claim 6, further comprising: determining information on an overlapping position with the new image based on the relative display position of the new image changed in the changing step. Image processing method.
り領域を、他の領域よりも低い圧縮率で圧縮する圧縮工
程を更に有することを特徴とする請求項6又は7に記載
の画像処理方法。8. The image according to claim 6, further comprising a compression step of compressing an overlapping area between the other image and the new image at a lower compression ratio than the other area. Processing method.
新たな画像の形状に関する情報を更に記憶することを特
徴とする請求項6乃至8のいずれか1項に記載の画像処
理方法。9. The image processing method according to claim 6, wherein in the storing step, information on the shape of the another image and the shape of the new image is further stored.
の画像処理方法を実行するプログラムを記憶した、コン
ピュータにより読取り可能な記憶媒体。10. A computer-readable storage medium storing a program for executing the image processing method according to claim 5. Description:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29434399A JP2001119625A (en) | 1999-10-15 | 1999-10-15 | Image processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29434399A JP2001119625A (en) | 1999-10-15 | 1999-10-15 | Image processing method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001119625A true JP2001119625A (en) | 2001-04-27 |
Family
ID=17806487
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29434399A Withdrawn JP2001119625A (en) | 1999-10-15 | 1999-10-15 | Image processing method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001119625A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006046551A1 (en) * | 2004-10-29 | 2006-05-04 | Sanyo Electric Co., Ltd | Image encoding method and device, and image decoding method and device |
| KR100630007B1 (en) | 2004-07-15 | 2006-09-27 | 엘지전자 주식회사 | How to take a panoramic photo |
| KR100765911B1 (en) | 2006-06-15 | 2007-10-10 | 엠텍비젼 주식회사 | Panorama shooting method and panorama shooting system using marker |
| KR100836618B1 (en) * | 2007-02-14 | 2008-06-10 | (주)케이티에프테크놀로지스 | Panoramic image capturing method of a portable terminal having a rotating camera and the portable terminal |
| US7720295B2 (en) | 2004-06-29 | 2010-05-18 | Sanyo Electric Co., Ltd. | Method and apparatus for coding images with different image qualities for each region thereof, and method and apparatus capable of decoding the images by adjusting the image quality |
| US8005309B2 (en) | 2004-02-09 | 2011-08-23 | Sanyo Electric Co., Ltd. | Image coding apparatus, image decoding apparatus, image display apparatus and image processing apparatus |
| JP2012048392A (en) * | 2010-08-25 | 2012-03-08 | Canon Inc | Image processing apparatus and image processing method |
| JP2016059611A (en) * | 2014-09-18 | 2016-04-25 | 富士フイルム株式会社 | Radiation image photographing system, radiation image photographing apparatus, control apparatus, and composite radiation image generation method |
| US11394951B2 (en) | 2019-01-23 | 2022-07-19 | Hanwha Techwin Co., Ltd. | Image sensor module |
| EP4294010A1 (en) * | 2022-06-16 | 2023-12-20 | Axis AB | Camera system and method for encoding two video image frames captured by a respective one of two image sensors |
-
1999
- 1999-10-15 JP JP29434399A patent/JP2001119625A/en not_active Withdrawn
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8005309B2 (en) | 2004-02-09 | 2011-08-23 | Sanyo Electric Co., Ltd. | Image coding apparatus, image decoding apparatus, image display apparatus and image processing apparatus |
| US8326058B2 (en) | 2004-02-09 | 2012-12-04 | Sanyo Electric Co., Ltd. | Image coding apparatus, image decoding apparatus, image display apparatus and image processing apparatus |
| US7720295B2 (en) | 2004-06-29 | 2010-05-18 | Sanyo Electric Co., Ltd. | Method and apparatus for coding images with different image qualities for each region thereof, and method and apparatus capable of decoding the images by adjusting the image quality |
| KR100630007B1 (en) | 2004-07-15 | 2006-09-27 | 엘지전자 주식회사 | How to take a panoramic photo |
| US8208738B2 (en) | 2004-10-29 | 2012-06-26 | Sanyo Electric Co., Ltd. | Image coding method and apparatus, and image decoding method and apparatus |
| WO2006046551A1 (en) * | 2004-10-29 | 2006-05-04 | Sanyo Electric Co., Ltd | Image encoding method and device, and image decoding method and device |
| US8150173B2 (en) | 2004-10-29 | 2012-04-03 | Sanyo Electric Co., Ltd. | Image coding method and apparatus, and image decoding method and apparatus |
| KR100765911B1 (en) | 2006-06-15 | 2007-10-10 | 엠텍비젼 주식회사 | Panorama shooting method and panorama shooting system using marker |
| KR100836618B1 (en) * | 2007-02-14 | 2008-06-10 | (주)케이티에프테크놀로지스 | Panoramic image capturing method of a portable terminal having a rotating camera and the portable terminal |
| JP2012048392A (en) * | 2010-08-25 | 2012-03-08 | Canon Inc | Image processing apparatus and image processing method |
| JP2016059611A (en) * | 2014-09-18 | 2016-04-25 | 富士フイルム株式会社 | Radiation image photographing system, radiation image photographing apparatus, control apparatus, and composite radiation image generation method |
| US11394951B2 (en) | 2019-01-23 | 2022-07-19 | Hanwha Techwin Co., Ltd. | Image sensor module |
| EP4294010A1 (en) * | 2022-06-16 | 2023-12-20 | Axis AB | Camera system and method for encoding two video image frames captured by a respective one of two image sensors |
| US12335483B2 (en) | 2022-06-16 | 2025-06-17 | Axis Ab | Camera system and method for encoding two video image frames captured by a respective one of two image sensors |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8681228B2 (en) | System and method for displaying an image indicating a positional relation between partially overlapping images | |
| CN103139485B (en) | Image synthesizer and image combining method | |
| US8274572B2 (en) | Electronic camera capturing a group of a plurality of specific objects | |
| JPH09322060A (en) | Imaging device, image synthesizing device, and image synthesizing system | |
| JP7023662B2 (en) | Image processing device, image pickup device, control method and program of image processing device | |
| JP4798236B2 (en) | Imaging apparatus, image processing method, and program | |
| US20100225785A1 (en) | Image processor and recording medium | |
| GB2485036A (en) | Preventing subject occlusion in a dual lens camera PIP display | |
| JP2001119625A (en) | Image processing method and apparatus | |
| JP2003092726A (en) | Imaging device | |
| JP4894708B2 (en) | Imaging device | |
| US20050185070A1 (en) | Image capture | |
| KR100561449B1 (en) | Digital zoom-out processing unit | |
| JP4148817B2 (en) | Panoramic image photographing apparatus and panoramic image photographing method | |
| JP2011041041A (en) | Imaging apparatus, imaging method and program | |
| JPH10304227A (en) | Electronic still camera | |
| JP2020160773A (en) | Image processing device, imaging device, image processing method, and program | |
| JP5493839B2 (en) | Imaging apparatus, image composition method, and program | |
| JP2001136431A (en) | Camera control device, camera control method, and storage medium | |
| JP3302236B2 (en) | Panoramic image synthesizing apparatus and method for creating panoramic image | |
| JPH11275393A (en) | Image input device, image input method, and recording medium | |
| JP2002223382A (en) | Digital camera and image file method | |
| KR101392382B1 (en) | Apparatus and method for emboding panorama function of camera in portable terminal | |
| JP2013121104A (en) | Electronic camera | |
| JP6833772B2 (en) | Image processing equipment, imaging equipment, image processing methods and programs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070109 |