TWI516113B - Image capture device and image synthesis method thereof - Google Patents
Image capture device and image synthesis method thereof Download PDFInfo
- Publication number
- TWI516113B TWI516113B TW101110352A TW101110352A TWI516113B TW I516113 B TWI516113 B TW I516113B TW 101110352 A TW101110352 A TW 101110352A TW 101110352 A TW101110352 A TW 101110352A TW I516113 B TWI516113 B TW I516113B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- focal length
- temporary
- module
- image capturing
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B37/00—Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/673—Focus control based on electronic image sensor signals based on contrast or high frequency components of image signals, e.g. hill climbing method
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/676—Bracketing for image capture at varying focusing conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/743—Bracketing, i.e. taking a series of images with varying exposure conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Description
本發明是有關於一種攝像裝置及其影像合成方法,特別是有關於一種對一場景之複數個視角之對焦距離進行一權重調整之攝像裝置及其影像合成方法。 The present invention relates to an imaging apparatus and an image synthesizing method thereof, and more particularly to an imaging apparatus and a video synthesizing method thereof for performing weight adjustment on a focusing distance of a plurality of viewing angles of a scene.
隨著數位科技的來臨,在旅遊中,人們喜歡用攝像裝置記錄下眼前的事物,而其攝像裝置原本所具備之鏡頭視角範圍有限,若使用者欲紀錄眼前的一大片的美麗景物時,多半無法僅利用一張影像而將其眼前的美景完整的記錄下來;同樣地,若於室內時,若欲將室內的各角度之景物完整的記錄,也多半難以達成。於是乎,便發展出一種全景接圖之來完成上述之目的。 With the advent of digital technology, in the travel, people like to use the camera to record the things in front of them, and the camera has a limited range of lens angles, if the user wants to record a large number of beautiful scenes in front of them, most of them It is impossible to completely record the beauty in front of you with only one image; similarly, if you want to record the scenes at various angles indoors, it is often difficult to achieve. As a result, a panoramic connection was developed to accomplish the above objectives.
一部分的使用者在進行全景接圖時,係分別對場景中各視角進行對焦及拍攝,而後再將拍攝完成之複數張影像接合成一全景影像,此方式因各視角之焦距值的不同,而使得各張影像中的焦距不一致,可能造成全景影像會有明顯的清晰度或景深不一致的情形,進而導致該張全景影像的觀看質感不佳。 When a part of the user performs the panoramic connection, the focus and the shooting are respectively performed on the respective angles of the scene, and then the plurality of images obtained by the shooting are joined into a panoramic image, because the focal length values of the respective viewing angles are different. The focal lengths of the images are inconsistent, which may cause the panoramic images to have obvious sharpness or inconsistent depth of field, which may result in poor viewing quality of the panoramic images.
另一部分的使用者在進行全景攝像時,係依其第一張拍攝的焦距值作為依據,並利用該第一張拍攝時之焦距值進行後續之複數張的影像拍攝,藉此可確保該場景中不同影像上的焦距達到一致,以避免全景影像的清晰度或景深不一致而造成的不自然現象發生。然,當場景中的景深變化過大時,可能造成全景影像中的前景深或後景深過於模糊之情形,更甚者可能造成前景深或後景深模糊至無法辨識之程度。 Another part of the user performs the panoramic image based on the focal length value of the first shot, and uses the focal length value of the first shot to perform subsequent image capture of multiple images, thereby ensuring the scene. The focal lengths on different images are consistent to avoid unnatural phenomena caused by the inconsistency of the definition or depth of field of the panoramic image. However, when the depth of field in the scene changes too much, the foreground depth or the back depth of the scene in the panoramic image may be too blurred, and even worse, the foreground depth or the back depth may be blurred to an unrecognizable extent.
綜觀前述問題,本發明之發明人思索並設計一種攝像裝置及其影像合成方法,以針對現有技術之缺失加以改善,進而增進產業上之實施利用。 Looking at the foregoing problems, the inventors of the present invention have conceived and designed an image pickup apparatus and an image synthesis method thereof, which are improved in view of the lack of the prior art, thereby enhancing the industrial use and utilization.
有鑑於上述習知技藝之問題,本發明之目的就是在提供一種攝像裝置及其影像合成方法,以解決習知技術之全景接圖影像合成時,焦距不一致或前景深或後景深易過於模糊之問題。 In view of the above problems in the prior art, the object of the present invention is to provide an image pickup apparatus and an image synthesizing method thereof, which can solve the problem of the inconsistent focal length or the foreground or the depth of the back scene when the panoramic image is synthesized by the prior art. problem.
根據本發明之目的,提出一種攝像裝置,其包含:一影像擷取模組及一處理模組。影像擷取模組係預先對一場景之複數個視角分別利用複數個掃描焦距值擷取複數個暫時影像。處理模組係權重各視角之複數個暫時影像之各掃描焦距值,以得一暫時焦距值;處理模組進而再根據各暫時焦距值利用一關係式,以獲得一權重焦距值,並根據權重焦距值控制影像擷取模組進行全景影像擷取。 According to an object of the present invention, an image capturing apparatus is provided, comprising: an image capturing module and a processing module. The image capturing module pre-fetches a plurality of temporary images by using a plurality of scanning focal length values for a plurality of viewing angles of a scene. The processing module weights each scanning focal length value of the plurality of temporary images of each viewing angle to obtain a temporary focal length value; the processing module further uses a relationship according to each temporary focal length value to obtain a weighted focal length value, and according to the weight The focal length value controls the image capturing module to perform panoramic image capturing.
該關係式係為將各視角所對應之暫時焦距值分別乘以其對應之視角之複數個暫時影像之數量與各視角之複數個暫時影像之數量之加總的比值,而後進行加總。換句話說,權重焦距值為分別對應於視角
的暫時焦距值的權重平均,其中對應於視角的權重為擷取視角的暫時影像的數量與暫時影像的數量的比值。更明確地說,該關係式如下所示:
其中,暫時焦距值可為其對應之視角之複數個暫時影像中對比度或清晰度最佳之一暫時影像之掃描焦距值。 The temporary focus value may be the scan focus value of one of the plurality of temporary images in the plurality of temporary images of the corresponding viewing angle.
其中,暫時焦距值可為其對應之視角之複數個暫時影像之平均掃描焦距值、最大掃描焦距值與最小掃描焦距值之平均值或最大焦掃描距值與最小焦掃描距值之差值。 The temporary focal length value may be an average scan focal length value of the plurality of temporary images of the corresponding viewing angle, an average value of the maximum scan focal length value and the minimum scan focal length value, or a difference between the maximum focal scan distance value and the minimum focal scan distance value.
其中,攝像裝置更可包含一影像合成模組;處理模組根據權重焦距值控制影像擷取模組進行全景影像擷取,以獲得各視角之一權重影像;影像合成模組將各視角之權重影像進行合成,以得一全景影像。 The image capturing device may further include an image synthesizing module; the processing module controls the image capturing module to perform panoramic image capturing according to the weight focal length value to obtain one weighted image of each viewing angle; the image synthesizing module weights each viewing angle The images are synthesized to obtain a panoramic image.
其中,影像合成模組可截取各權重影像之中段部分之垂直影像,以接合成全景影像。 The image synthesizing module can intercept the vertical image of the middle portion of each weight image to be joined into a panoramic image.
根據本發明之目的,另提出一種影像合成方法,係適用於一攝像裝置;影像合成方法包含下列步驟:由一影像擷取模組預先對一場景之複數個視角分別利用複數個掃描焦距值擷取複數個暫時影像;由一處理模組權重各視角之複數個暫時影像之各掃描焦距值,以得一暫時焦距值,利用一關係式獲得一權重焦距值;關係式係為將各視角所對應之暫時焦距值分別乘以其對應之視角之複數個暫時影像與各視角之該複數個暫時影像之加總的比值,而後進行加總;以及透過處理模組根據權重焦距值控制影像擷取模組進行全景影像擷取。 According to the purpose of the present invention, an image synthesizing method is further applied to an image capturing device. The image synthesizing method includes the following steps: an image capturing module uses a plurality of scanning focal length values for a plurality of viewing angles of a scene in advance. Taking a plurality of temporary images by a processing module, the scanning focal length values of the plurality of temporary images of each viewing angle are weighted to obtain a temporary focal length value, and a weighted focal length value is obtained by using a relational expression; Corresponding temporary focal length values are respectively multiplied by the sum of the plurality of temporary images of the corresponding viewing angles and the plurality of temporary images of the respective viewing angles, and then summed; and the processing module controls the image capturing according to the weight focal length value The module performs panoramic image capture.
其中,暫時焦距值可為其對應之視角之複數個暫時影像中對比度或清晰度最佳之一暫時影像之掃描焦距值。 The temporary focus value may be the scan focus value of one of the plurality of temporary images in the plurality of temporary images of the corresponding viewing angle.
其中,暫時焦距值可為其對應之視角之複數個暫時影像之平均掃描焦距值、最大掃描焦距值與最小掃描焦距值之平均值或最大掃描焦距值與最小掃描焦距值之差值。 The temporary focal length value may be an average scan focus value of the plurality of temporary images of the corresponding viewing angle, an average value of the maximum scan focal length value and the minimum scan focal length value, or a difference between the maximum scan focal length value and the minimum scan focal length value.
其中,該方法更可包含下列步驟:以處理模組根據權重焦距值控制影像擷取模組進行全景影像擷取,以獲得各視角之一權重影像;以及以一影像合成模組將各視角之權重影像進行合成,以得一全景影像。 The method further includes the following steps: the processing module controls the image capturing module to perform panoramic image capturing according to the weight focal length value to obtain one weighted image of each viewing angle; and the image capturing module displays each viewing angle The weight images are combined to obtain a panoramic image.
其中,影像合成模組可截取各權重影像之中段部分之垂直影像,以接合成全景影像。 The image synthesizing module can intercept the vertical image of the middle portion of each weight image to be joined into a panoramic image.
根據本發明之目的,再提出一種攝像裝置,其包含:一焦距偵測模組、一影像擷取模組及一處理模組。焦距偵測模組預先對一場景之複數個視角分別進行對焦,以產生對應各該視角之複數個掃描焦距值。影像擷取模組根據各視角之複數個掃描焦距值對場景進行影像擷取,以獲得對應各視角之複數個暫時影像。處理模組權重各視角之複數個暫時影像之各掃描焦距值,以得一暫時焦距值,並利用一關係式獲得一權重焦距值。處理模組再根據權重焦距值控制影像擷取模組進行全景影像擷取。其中關係式係為將各視角所對應之暫時焦距值分別乘以其對應之視角之複數個暫時影像之數量與各視角之複數個暫時影像之數量之加總的比值,而後進行加總。 According to the purpose of the present invention, a camera device includes: a focus detection module, an image capture module, and a processing module. The focal length detecting module separately focuses on a plurality of viewing angles of a scene to generate a plurality of scanning focal length values corresponding to the respective viewing angles. The image capturing module performs image capturing on the scene according to a plurality of scanning focal length values of the respective viewing angles to obtain a plurality of temporary images corresponding to the respective viewing angles. The processing module weights each scanning focal length value of the plurality of temporary images of each viewing angle to obtain a temporary focal length value, and obtains a weighted focal length value by using a relational expression. The processing module then controls the image capturing module to perform panoramic image capturing according to the weight focal length value. The relational expression is a sum of the number of temporary temporary images corresponding to the respective perspectives of the respective viewing angles and the sum of the number of the plurality of temporary images of the respective viewing angles, and then summed.
其中,暫時焦距值可為其對應之視角之複數個暫時影像中對比度或銳利度最佳之一暫時影像之掃描焦距值。 The temporary focal length value may be the scan focal length value of one of the contrast images or the sharpness of the temporary image in the plurality of temporary images of the corresponding viewing angle.
其中,暫時焦距值可為其對應之視角之複數個暫時影像之平均掃描焦距值、最大掃描焦距值與最小掃描焦距值之平均值或最大掃描焦距值與最小掃描焦距值之差值。 The temporary focal length value may be an average scan focus value of the plurality of temporary images of the corresponding viewing angle, an average value of the maximum scan focal length value and the minimum scan focal length value, or a difference between the maximum scan focal length value and the minimum scan focal length value.
其中,攝像裝置更可包含一影像合成模組;處理模組根據權重焦距值控制影像擷取模組進行全景影像擷取,以獲得各視角之一權重影像;影像合成模組將各視角之權重影像進行合成,以得一全景影像。 The image capturing device may further include an image synthesizing module; the processing module controls the image capturing module to perform panoramic image capturing according to the weight focal length value to obtain one weighted image of each viewing angle; the image synthesizing module weights each viewing angle The images are synthesized to obtain a panoramic image.
其中,影像合成模組可截取各權重影像之中段部分之垂直影像,以接合成全景影像。 The image synthesizing module can intercept the vertical image of the middle portion of each weight image to be joined into a panoramic image.
承上所述,依本發明之攝像裝置及其影像合成方法,其可具有一或多個下述優點: (1)此攝像裝置及其影像合成方法可藉由預先對場景進行測焦,以得場景中的各視角的暫時焦距值,進而進行權重調整,以獲得一權重焦距值,並據以進行全景影像擷取,藉此可有效提高全景影像之焦距的一致性並可有效減少前景深或後景深過於模糊之情形。 As described above, the image pickup apparatus and the image synthesis method thereof according to the present invention may have one or more of the following advantages: (1) The camera device and the image synthesizing method thereof can obtain a weighted focal length value by performing focus measurement on the scene in advance to obtain a temporary focal length value of each angle of view in the scene, and obtain a weight focal length value according to the panorama. The image capture can effectively improve the consistency of the focal length of the panoramic image and effectively reduce the situation where the foreground depth or the back depth is too blurred.
1‧‧‧攝像裝置 1‧‧‧ camera
10‧‧‧影像擷取模組 10‧‧‧Image capture module
101、131‧‧‧掃描焦距值 101, 131‧‧‧ scan focus value
102‧‧‧暫時影像 102‧‧‧ temporary image
102a1、102a2、102a3、102a4‧‧‧一視角之不同焦距值之暫時影像 Temporary images of different focal length values for a viewing angle of 102a1, 102a2, 102a3, 102a4‧‧
102b1、102b2、102b3‧‧‧另一視角之不同焦距值之暫時影像 102b1, 102b2, 102b3‧‧‧ temporary images of different focal length values from another perspective
103‧‧‧權重影像 103‧‧‧ weight image
11‧‧‧處理模組 11‧‧‧Processing module
111‧‧‧暫時焦距值 111‧‧‧temporary focal length value
112‧‧‧權重焦距值 112‧‧‧weight focal length value
12‧‧‧影像合成模組 12‧‧‧Image Synthesis Module
121‧‧‧全景影像 121‧‧‧ panoramic image
13‧‧‧焦距偵測模組 13‧‧‧focal length detection module
14‧‧‧儲存模組 14‧‧‧Storage module
2‧‧‧場景 2‧‧‧Scenario
S51~S54‧‧‧步驟 S51~S54‧‧‧Steps
第1圖係為本發明之攝像裝置之一實施例之方塊圖。 Fig. 1 is a block diagram showing an embodiment of an image pickup apparatus of the present invention.
第2圖係為本發明之攝像裝置之一實施例之示意圖。 Fig. 2 is a schematic view showing an embodiment of an image pickup apparatus of the present invention.
第3圖係為本發明之攝像裝置之另一實施例之方塊圖。 Fig. 3 is a block diagram showing another embodiment of the image pickup apparatus of the present invention.
第4圖係為本發明之攝像裝置之另一實施例之示意圖。 Fig. 4 is a schematic view showing another embodiment of the image pickup apparatus of the present invention.
第5圖係為本發明之影像合成方法之步驟圖。 Figure 5 is a step diagram of the image synthesis method of the present invention.
為使本發明之上述目的、特徵和優點能更明顯易懂,下文依本發明之攝像裝置及其影像合成方法,特舉較佳實施例,並配合所附相關圖式,作詳細說明如下,其中相同的元件將以相同的元件符號加以說明。 In order to make the above-mentioned objects, features and advantages of the present invention more comprehensible, the following description of the present invention will be described in detail with reference to the accompanying drawings. The same elements will be described with the same element symbols.
本發明之攝像裝置可以是數位相機(Digital Camera)、照相手機(Camera Phone)、智慧型手機(Smartphone)、數位攝影機(Digital Video Camera)或平板電腦等各種具有攝像功能的可攜式電子裝置,為便於更暸解本發明之技術特徵,底下是以數位相機為實施例,但並不以此為限。 The camera device of the present invention may be a portable electronic device with a camera function such as a digital camera, a camera phone, a smart phone, a digital video camera or a tablet computer. In order to facilitate a better understanding of the technical features of the present invention, a digital camera is taken as an embodiment, but is not limited thereto.
請參閱第1圖,其係為本發明之攝像裝置之一實施例之方塊圖。如圖所示,本發明之攝像裝置1包含了一影像擷取模組10、一處理模 組11及一影像合成模組12。影像擷取模組10預先對一場景2之複數個視角分別利用複數個掃描焦距值101擷取複數個暫時影像102。影像擷取模組10可包含鏡頭、感光元件如互補式金氧半導體元件(Complementary Metal-Oxide-Semiconductor,CMOS)或電荷耦合元件(Charge-Coupled-Device,CCD)、類比/數位電路、影像處理器等。處理模組11電性連接影像擷取模組10,其可為中央處理器(Central Processing Unit,CPU)或微處理器(Micro-Processing Unit)。處理模組11權重場景2中各視角之複數個暫時影像102之各掃描焦距值101,以得一暫時焦距值111。接著,處理模組11再利用一關係式獲得一權重焦距值112,並根據權重焦距值112控制影像擷取模組10進行全景影像擷取。其中關係式為將各視角所對應之暫時焦距值111分別乘以其對應之視角的複數個暫時影像102之數量與各視角之複數個暫時影像102之數量之加總的比值,而後進行加總;上述之關係式之詳細說明己於上述是之發明容內中描述,於此便不再贅述。 Please refer to FIG. 1 , which is a block diagram of an embodiment of an image pickup apparatus of the present invention. As shown in the figure, the image capturing apparatus 1 of the present invention comprises an image capturing module 10 and a processing module. Group 11 and an image synthesis module 12. The image capturing module 10 captures a plurality of temporary images 102 by using a plurality of scanning focal length values 101 for a plurality of viewing angles of a scene 2 in advance. The image capturing module 10 can include a lens, a photosensitive element such as a Complementary Metal-Oxide-Semiconductor (CMOS) or a Charge-Coupled-Device (CCD), an analog/digital circuit, and image processing. And so on. The processing module 11 is electrically connected to the image capturing module 10, which may be a central processing unit (CPU) or a microprocessor (Micro-Processing Unit). The processing module 11 weights each scan focus value 101 of the plurality of temporary images 102 of each view in the scene 2 to obtain a temporary focus value 111. Then, the processing module 11 obtains a weighted focus value 112 by using a relational expression, and controls the image capturing module 10 to perform panoramic image capturing according to the weighted focal length value 112. The relationship is a sum of the number of the plurality of temporary images 102 corresponding to the temporary focal length values 111 corresponding to the respective viewing angles and the number of the plurality of temporary images 102 of the respective viewing angles, and then summing up The above detailed description of the relationship has been described in the above description, and will not be described again.
請進一步參閱第2圖,其係為本發明之攝像裝置之一實施例之示意圖。具體而言之,當欲進行全景拍攝時,使用者預先使用攝像裝置1對場景2進行測焦掃描(例如於場景中由左向右的逐一掃描或由右向左的逐一掃描),影像擷取模組10係對場景2中各視角分別使用不同的掃描焦距值101擷取複數個暫時影像102;也就是說,場景2中各視角分別具複數個暫時影像102,而該些暫時影像102又分別具有不同的掃描焦距值101。其中圖中係以二個視角作為示範態樣,而一視角之複數個暫時影像102,因其分別具有不同的掃描焦距值101,故該視角之複數個暫時影像 102分別以102a1、102a2、102a3及102a4表示:同樣地,另一視角之複數個暫時影像102亦因其分別具有不同的掃描焦距值101,故該另一視角之複數個暫時影像102分別以102b1、102b2及102b3表示。此時,處理模組11接收各視角之複數個暫時影像102,並進行判斷各視角之複數個暫時影像102中對比度或清晰度最佳之一暫時影像102者(如102a3、102b3);接著,處理模組11選取各視角中對比度或清晰度最佳之暫時影像102者(如102a3、102b3)之掃描焦距值101作為場景2中各視角之暫時焦距值111,並將上述之相關參數代入關係式中,以獲得一權重焦距值112。 Please refer to FIG. 2, which is a schematic diagram of an embodiment of the image pickup apparatus of the present invention. Specifically, when panoramic photography is to be performed, the user performs a focus scan on the scene 2 using the image capturing apparatus 1 in advance (for example, scanning one by one from left to right in the scene or one by one from right to left), and the image is scanned. The module 10 is configured to capture a plurality of temporary images 102 by using different scan focal length values 101 for each view in the scene 2; that is, each view in the scene 2 has a plurality of temporary images 102, and the temporary images 102 They also have different scan focal length values 101, respectively. In the figure, two viewing angles are taken as an exemplary aspect, and a plurality of temporary images 102 of one viewing angle have different scanning focal length values 101, so a plurality of temporary images of the viewing angle 102 is represented by 102a1, 102a2, 102a3, and 102a4, respectively. Similarly, the plurality of temporary images 102 of another viewing angle also have different scanning focal length values 101, so that the plurality of temporary images 102 of the other viewing angle are respectively 102b1. , 102b2 and 102b3 are indicated. At this time, the processing module 11 receives a plurality of temporary images 102 of the respective viewing angles, and performs a determination (for example, 102a3, 102b3) of the plurality of temporary images 102 of the plurality of temporary images 102 of the respective viewing angles, such as 102a3, 102b3; The processing module 11 selects the scan focus value 101 of the temporary image 102 (such as 102a3, 102b3) with the best contrast or sharpness in each view as the temporary focus value 111 of each view in the scene 2, and substitutes the above related parameters into the relationship. In the formula, a weighted focus value 112 is obtained.
而後,處理模組11再控制影像擷取模組10利用權重焦距值112分別對場景2中各視角進行影像擷取,以獲得各視角之權重影像103,處理模組11並控制影像合成模組12將各視角之權重影像103進行合成,以獲得一具有適當前景深及後景深之全景影像121。其中,上述影像合成之手段係為此領域之技術工作者所熟知,故在此不再贅述。 Then, the processing module 11 controls the image capturing module 10 to perform image capturing on each of the viewing angles in the scene 2 by using the weight focal length value 112 to obtain the weighted image 103 of each viewing angle, the processing module 11 and the image forming module. 12 The weighted images 103 of the respective viewing angles are combined to obtain a panoramic image 121 having appropriate foreground depth and back depth of field. The above methods for image synthesis are well known to those skilled in the art, and therefore will not be described herein.
請一併參閱第3圖及第4圖,第3圖係為本發明之攝像裝置之另一實施例之方塊圖;第4圖係為本發明之攝像裝置之另一實施例之示意圖。本實例與前述類似,其類似之部分於此不再贅述。如圖所示,攝像裝置1包含:一影像擷取模組10、一處理模組11、一影像合成模組12、一焦距偵測模組13及一儲存模組14。於此攝像裝置1中,曝光模組11係具有自動對焦(Auto Focus)調節的機制,其可包含光圈大小、對焦距離等,對欲進行拍攝的場景2之各視角進行測焦,以產生各視角中之複數個掃描焦距值131,以使影像擷取模組10可據以產生各視角之複數個暫時影像 102,以暫存於儲存模組14中。其中儲存模組14可為嵌入式記憶體、外接式記憶卡或其組合。 Please refer to FIG. 3 and FIG. 4 together. FIG. 3 is a block diagram of another embodiment of the image pickup apparatus of the present invention; and FIG. 4 is a schematic view of another embodiment of the image pickup apparatus of the present invention. This example is similar to the foregoing, and a similar part thereof will not be described herein. As shown in the figure, the camera device 1 includes an image capturing module 10, a processing module 11, an image combining module 12, a focal length detecting module 13, and a storage module 14. In the image pickup apparatus 1 , the exposure module 11 has a mechanism of auto focus adjustment, which may include an aperture size, a focus distance, and the like, and focus each of the angles of the scene 2 to be photographed to generate each a plurality of scanning focal length values 131 in the viewing angle, so that the image capturing module 10 can generate a plurality of temporary images of each viewing angle 102, temporarily stored in the storage module 14. The storage module 14 can be an embedded memory, an external memory card, or a combination thereof.
當使用者利用攝像裝置1進行場景2的預先掃描的同時,利用焦距偵測模組13對場景2中之各視角進行測焦並產生各視角中之複數個掃描焦距值131,以使影像擷取模組10據以產生場景2中各視角之該些暫時影像102(如攝像裝置1中即時預覽畫面(Live Vies)中之影像),並暫存於儲存模組14。 When the user performs the pre-scanning of the scene 2 by using the camera 1 , the focal length detecting module 13 performs focusing on each of the viewing angles in the scene 2 and generates a plurality of scanning focal length values 131 in each viewing angle to make the image 撷The module 10 is configured to generate the temporary images 102 (such as images in the Live Preview) of the scenes in the scene 2, and temporarily store them in the storage module 14.
處理模組11讀取儲存模組14中的各視角之複數個暫時影像102,並決定各視角之複數個暫時影像102中對比度或清晰度最佳之一暫時影像102者,進而以對比度或清晰度最佳之一暫時影像102者分別作為各視角之暫時焦距值111;另外一提的是,處理模組11亦可使用場景2中各視角之複數個暫時影像102之掃描焦距值之平均值、最大掃描焦距值與最小掃描焦距值之平均值或最大掃描焦距值與最小掃描焦距值之差值,作為暫時焦距值111,做應不以此為限。而後,處理模組11再將各視角之暫時焦距值111利用關係式,以獲得權重焦距值112。其中值得一提的是,場景2中各視角之區分可依據影像擷取模組10之攝像鏡頭的視角範圍作為區分,例如當使用者半按快門鈕(圖中未繪示)操作攝像裝置1由左至右或由右至左至放開快門鈕後,而攝像鏡頭之視角範圍僅以3個視角即可將使用者欲拍攝之場景2完全擷取時,則該次全景拍攝係以3個視角作為場景2的預先掃描進行拍攝;或者亦可經由原廠或使用者之設定作為區分,例如使用者經由攝像裝置1之控制鈕(圖中未繪示)設定為4次時,當使用者半按快門鈕(圖中未繪示)操作攝像裝置1由左至右或由右至左 位移,使一個視角之邊緣與下一個視角之邊緣接合並接合3次,則該次全景拍攝係以4個視角作為場景2的預先掃描進行拍攝。 The processing module 11 reads a plurality of temporary images 102 of each viewing angle in the storage module 14 and determines one of the plurality of temporary images 102 of the respective viewing angles, which is the contrast or the sharpness of the temporary image 102, and then uses contrast or clarity. One of the best temporal images 102 is used as the temporary focal length value 111 of each viewing angle; in addition, the processing module 11 can also use the average of the scanning focal length values of the plurality of temporary images 102 of the respective viewing angles in the scene 2. The difference between the maximum scan focal length value and the minimum scan focal length value or the difference between the maximum scan focal length value and the minimum scan focal length value, as the temporary focal length value 111, should not be limited thereto. Then, the processing module 11 further uses the relationship between the temporary focal length values 111 of the respective viewing angles to obtain the weighted focal length value 112. It is worth mentioning that the distinction of the respective angles of view in the scene 2 can be differentiated according to the range of the angle of view of the camera lens of the image capturing module 10, for example, when the user presses the shutter button halfway (not shown) to operate the camera device 1 When the shutter button is released from left to right or from right to left, and the angle of view of the camera lens can be completely captured by the user's desired scene 2 with only 3 angles of view, the panoramic shot is 3 The angle of view is taken as a pre-scan of the scene 2; or may be differentiated by the setting of the original factory or the user, for example, when the user sets the control button (not shown) of the camera device 1 to 4 times, when using Pressing the shutter button halfway (not shown) to operate the camera 1 from left to right or from right to left The displacement is such that the edge of one viewing angle is joined to the edge of the next viewing angle and joined three times, and the panoramic shooting is taken with four viewing angles as the pre-scan of the scene 2.
處理模組11根據權重焦距值112控制影像擷取模組10進行場景2之影像擷取,以獲得各視角之一權重影像103。處理模組11再控制影像合成模組12係將各視角之權重影像103進行合成,以得一全景影像121,並儲存至儲存模組14中或一併利用一顯示單元(圖中未繪示)顯示,以供使用者查看。另外一提的是,影像合成模組12於接合該些權重影像103時,可以分別截取各權重影像103中之中段部分之垂直影像,並將其接合成一全景影像121;此方式可避免因影像擷取模組10之攝像鏡頭於廣角端時,因其可能具有的桶狀變形,而使得各權重影像103於接合時產生接合邊緣之線條錯位等情形。 The processing module 11 controls the image capturing module 10 to perform image capturing of the scene 2 according to the weight focal length value 112 to obtain one weighted image 103 of each viewing angle. The processing module 11 further controls the image synthesizing module 12 to synthesize the weighted images 103 of the respective viewing angles to obtain a panoramic image 121, and stores them in the storage module 14 or uses a display unit (not shown) ) Display for users to view. In addition, when the image synthesizing module 12 joins the weight images 103, the vertical images of the middle portions of the weight images 103 can be respectively intercepted and combined into a panoramic image 121; When the image capturing lens of the image capturing module 10 is at the wide-angle end, the weighted image 103 may cause the line of the joint edge to be misaligned when being joined due to the barrel deformation that may be present.
請參閱第5圖,其係為本發明之影像合成方法之步驟圖。如圖所示,本發明之影像合成方法,其適用於一攝像裝置。攝像裝置包含:一影像擷取模組及一處理模組。影像合成方法包含下列步驟:(S51)由一影像擷取模組預先對一場景之複數個視角分別利用複數個掃描焦距值擷取複數個暫時影像;(S52)由一處理模組權重各視角之複數個暫時影像之各掃描焦距值,以得一暫時焦距值,並利用一關係式獲得一權重焦距值;(S53)透過處理模組根據權重焦距值控制影像擷取模組進行全景影像擷取,以獲得各視角之一權重影像;以及(S54)以一影像合成模組將各視角之權重影像進行合成,以得一全景影像。 Please refer to FIG. 5, which is a step diagram of the image synthesizing method of the present invention. As shown in the figure, the image synthesizing method of the present invention is applied to an image pickup apparatus. The camera device comprises: an image capturing module and a processing module. The image synthesizing method comprises the following steps: (S51) an image capturing module pre-fetches a plurality of temporary images by using a plurality of scanning focal length values for a plurality of viewing angles of a scene; (S52) a processing module weights each perspective And scanning the focal length values of the plurality of temporary images to obtain a temporary focal length value, and obtaining a weighted focal length value by using a relationship; (S53) controlling the image capturing module to perform the panoramic image according to the weighted focal length value through the processing module. Taking a weight image of each view; and (S54) synthesizing the weight images of the respective views by an image synthesis module to obtain a panoramic image.
本發明之攝像裝置之影像合成方法的詳細說明以及實施方式已於前面敘述本發明之攝像裝置時描述過,在此為了簡略說明便不再敘述。 The detailed description and embodiments of the image synthesizing method of the image pickup apparatus of the present invention have been described in the foregoing description of the image pickup apparatus of the present invention, and will not be described here for the sake of brevity.
以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.
1‧‧‧攝像裝置 1‧‧‧ camera
10‧‧‧影像擷取模組 10‧‧‧Image capture module
101‧‧‧掃描焦距值 101‧‧‧Scan focus value
102‧‧‧暫時影像 102‧‧‧ temporary image
103‧‧‧權重影像 103‧‧‧ weight image
11‧‧‧處理模組 11‧‧‧Processing module
111‧‧‧暫時焦距值 111‧‧‧temporary focal length value
112‧‧‧權重焦距值 112‧‧‧weight focal length value
12‧‧‧影像合成模組 12‧‧‧Image Synthesis Module
121‧‧‧全景影像 121‧‧‧ panoramic image
2‧‧‧場景 2‧‧‧Scenario
Claims (15)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101110352A TWI516113B (en) | 2012-03-26 | 2012-03-26 | Image capture device and image synthesis method thereof |
US13/474,223 US9013542B2 (en) | 2012-03-26 | 2012-05-17 | Image capture device and image synthesis method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101110352A TWI516113B (en) | 2012-03-26 | 2012-03-26 | Image capture device and image synthesis method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201340704A TW201340704A (en) | 2013-10-01 |
TWI516113B true TWI516113B (en) | 2016-01-01 |
Family
ID=49211413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101110352A TWI516113B (en) | 2012-03-26 | 2012-03-26 | Image capture device and image synthesis method thereof |
Country Status (2)
Country | Link |
---|---|
US (1) | US9013542B2 (en) |
TW (1) | TWI516113B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI558205B (en) * | 2014-12-05 | 2016-11-11 | 王澄熙 | Portable device and method of panoramic imaging |
EP3953879A4 (en) * | 2019-04-11 | 2022-11-23 | Carnegie Mellon University | System and method for associating products and product labels |
US20210144297A1 (en) * | 2019-11-12 | 2021-05-13 | Shawn Glidden | Methods System and Device for Safe-Selfie |
US12067527B2 (en) | 2020-08-12 | 2024-08-20 | Carnegie Mellon University | System and method for identifying misplaced products in a shelf management system |
US11288553B1 (en) * | 2020-10-16 | 2022-03-29 | GM Global Technology Operations LLC | Methods and systems for bowl view stitching of images |
US20240112136A1 (en) | 2022-09-29 | 2024-04-04 | NOMAD Go, Inc. | Methods and apparatus for machine learning system for edge computer vision and active reality |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3187339A (en) * | 1961-10-16 | 1965-06-01 | Wallace A Clay | Three dimensional viewing apparatus |
US5023725A (en) * | 1989-10-23 | 1991-06-11 | Mccutchen David | Method and apparatus for dodecahedral imaging system |
US6459451B2 (en) * | 1996-06-24 | 2002-10-01 | Be Here Corporation | Method and apparatus for a panoramic camera to capture a 360 degree image |
US7409111B2 (en) * | 1997-10-21 | 2008-08-05 | Canon Kabushiki Kaisha | Image synthesizing system for automatically retrieving and synthesizing images to be synthesized |
JP2002077591A (en) * | 2000-09-05 | 2002-03-15 | Minolta Co Ltd | Image processing device and imaging device |
US7224382B2 (en) * | 2002-04-12 | 2007-05-29 | Image Masters, Inc. | Immersive imaging system |
US8299979B2 (en) * | 2003-05-14 | 2012-10-30 | Broadcom Corporation | Integral eye-path alignment on telephony and computer video devices using two or more image sensing devices |
US7336299B2 (en) * | 2003-07-03 | 2008-02-26 | Physical Optics Corporation | Panoramic video system with real-time distortion-free imaging |
JP2005309323A (en) * | 2004-04-26 | 2005-11-04 | Kodak Digital Product Center Japan Ltd | Focal length detecting method of imaging, and imaging apparatus |
US20070182812A1 (en) * | 2004-05-19 | 2007-08-09 | Ritchey Kurtis J | Panoramic image-based virtual reality/telepresence audio-visual system and method |
US7227682B2 (en) * | 2005-04-08 | 2007-06-05 | Panavision International, L.P. | Wide-range, wide-angle compound zoom with simplified zooming structure |
US7224535B2 (en) * | 2005-07-29 | 2007-05-29 | Panavision International, L.P. | Zoom lens system |
US9270976B2 (en) * | 2005-11-02 | 2016-02-23 | Exelis Inc. | Multi-user stereoscopic 3-D panoramic vision system and method |
EP2150170B1 (en) * | 2007-05-23 | 2016-05-11 | Mirametrix Inc. | Methods and apparatus for estimating point-of-gaze in three dimensions |
US7936915B2 (en) * | 2007-05-29 | 2011-05-03 | Microsoft Corporation | Focal length estimation for panoramic stitching |
US20110098083A1 (en) * | 2008-05-19 | 2011-04-28 | Peter Lablans | Large, Ultra-Thin And Ultra-Light Connectable Display For A Computing Device |
US8902321B2 (en) * | 2008-05-20 | 2014-12-02 | Pelican Imaging Corporation | Capturing and processing of images using monolithic camera array with heterogeneous imagers |
US8866920B2 (en) * | 2008-05-20 | 2014-10-21 | Pelican Imaging Corporation | Capturing and processing of images using monolithic camera array with heterogeneous imagers |
CN101930161B (en) * | 2009-08-28 | 2014-06-18 | 杭州普维光电技术有限公司 | Method and device for adjusting panorama imaging as well as panorama imaging device |
US9204026B2 (en) * | 2010-11-01 | 2015-12-01 | Lg Electronics Inc. | Mobile terminal and method of controlling an image photographing therein |
-
2012
- 2012-03-26 TW TW101110352A patent/TWI516113B/en active
- 2012-05-17 US US13/474,223 patent/US9013542B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US9013542B2 (en) | 2015-04-21 |
TW201340704A (en) | 2013-10-01 |
US20130250041A1 (en) | 2013-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9473698B2 (en) | Imaging device and imaging method | |
JP5956808B2 (en) | Image processing apparatus and method | |
TWI526068B (en) | Dual image capture processing | |
US9578260B2 (en) | Digital photographing apparatus and method of controlling the digital photographing apparatus | |
TWI602152B (en) | Image capturing device nd image processing method thereof | |
KR102336447B1 (en) | Image capturing apparatus and method for the same | |
TWI516113B (en) | Image capture device and image synthesis method thereof | |
WO2014071840A1 (en) | Method and device for taking photo and video | |
JP2009054130A (en) | Image processor, image processing method, and digital still camera | |
TWI486057B (en) | Image pickup device and image synthesis method thereof | |
WO2016184131A1 (en) | Image photographing method and apparatus based on dual cameras and computer storage medium | |
TW201301866A (en) | Image processing device capable of generating wide-range image, image processing method, and recording medium | |
US8654204B2 (en) | Digtal photographing apparatus and method of controlling the same | |
US20100007766A1 (en) | Camera device and image processing method | |
JP4767904B2 (en) | Imaging apparatus and imaging method | |
US20190052815A1 (en) | Dual-camera image pick-up apparatus and image capturing method thereof | |
JP2010141609A (en) | Imaging apparatus | |
JP6706167B2 (en) | Imaging device, image synthesizing method, and program | |
JP7458769B2 (en) | Image processing device, imaging device, image processing method, program and recording medium | |
JP2017009815A (en) | Focus detection device, focus detection method, and camera system | |
US20240089597A1 (en) | Image capturing apparatus for capturing and compositing images different in in-focus position, control method, and storage medium | |
JP4905797B2 (en) | Imaging apparatus and imaging method | |
US20140240545A1 (en) | Electronic apparatus, method for controlling the same, and computer readable recording medium | |
JP6817855B2 (en) | Image processing equipment, imaging equipment, image processing methods, and programs | |
TWI465108B (en) | Image capturing apparatus and image processing method |