TW202027487A - Mobile image processing apparatus, method and computer readable storage medium - Google Patents

Mobile image processing apparatus, method and computer readable storage medium Download PDF

Info

Publication number
TW202027487A
TW202027487A TW108100601A TW108100601A TW202027487A TW 202027487 A TW202027487 A TW 202027487A TW 108100601 A TW108100601 A TW 108100601A TW 108100601 A TW108100601 A TW 108100601A TW 202027487 A TW202027487 A TW 202027487A
Authority
TW
Taiwan
Prior art keywords
camera
image
mode
image processing
switch
Prior art date
Application number
TW108100601A
Other languages
Chinese (zh)
Inventor
曾德恩
簡采毅
Original Assignee
鴻海精密工業股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 鴻海精密工業股份有限公司 filed Critical 鴻海精密工業股份有限公司
Priority to TW108100601A priority Critical patent/TW202027487A/en
Publication of TW202027487A publication Critical patent/TW202027487A/en

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention provides a mobile image processing apparatus including at least one first camera and at least one second camera. Each of the first cameras includes a filter for filtering infrared rays, and one of the first cameras is provided with a switch. The switch is configured to switch between a first mode and a second mode on the first camera, the filter is turned off in the first mode, and the filter is turned on in the second mode. The image obtained by the first camera in the first mode and the image obtained by each of the second cameras are subjected to process to obtain a depth image. The present invention also provides a mobile image processing method and a computer readable storage medium. The mobile image processing device provided by the invention has a simple structure, can realize shooting in multiple modes with small volume and low cost.

Description

移動影像處理裝置、方法及電腦可讀存儲介質Mobile image processing device, method and computer readable storage medium

本發明涉及一種圖像資訊採集技術,特別係一種移動影像處理裝置、方法及電腦可讀存儲介質。The invention relates to an image information collection technology, in particular to a mobile image processing device, method and computer readable storage medium.

先前技术中,雙目立體攝像機(Stereo Camera)為3D感測裝置的常見配置。雙目立體攝像機為了兼顧亮及暗兩種場景,已由單攝像頭轉變為雙攝像頭,包括彩色攝像頭(RGB Camera)與立體攝像頭(Stereo Camera)。In the prior art, a binocular stereo camera (Stereo Camera) is a common configuration of a 3D sensing device. In order to take into account both bright and dark scenes, the binocular stereo camera has changed from a single camera to a dual camera, including a color camera (RGB Camera) and a stereo camera (Stereo Camera).

目前,雙目立體攝像機採用兩種形式的攝像頭排布。第一種係兩個彩色攝像頭組成,該形式下,於明亮環境下可運作。當低照明度時,必須借助可見光輔助照明。因此,這種形式下,一般於低照明環境下無法使用。第二種係一個彩色攝像頭加兩個立體攝像頭,該立體攝像頭設有補光模塊。於第二種形式中,硬體上無法進一步簡化,造成攝像機體積較大,成本較高。Currently, binocular stereo cameras use two types of camera arrangements. The first type is composed of two color cameras. In this mode, it can work in a bright environment. When the illumination is low, it is necessary to use visible light to assist the illumination. Therefore, in this form, it is generally not usable in a low-light environment. The second type is a color camera plus two stereo cameras, and the stereo camera is equipped with a light supplement module. In the second form, the hardware cannot be further simplified, resulting in a larger camera volume and higher cost.

鑒於上述狀況,有必要提供一種通過改變攝像機攝像頭的硬體排布形式以解決上述體積較大問題的移動影像處理裝置、方法及電腦可讀存儲介質。In view of the above situation, it is necessary to provide a mobile image processing device, method, and computer-readable storage medium that can solve the above-mentioned problem of large volume by changing the hardware arrangement of the camera.

本發明第一方面提供了一種移動影像處理裝置,用於圖像拍攝與影像處理,所述移動影像處理裝置包括輸入單元、顯示單元、通信單元、存儲器、處理器、至少一個第一攝像頭與至少一個第二攝像頭;每個所述第一攝像頭包括濾光片,用於過濾紅外線,其中一個所述第一攝像頭上設置有切換開關,所述切換開關用於實現所述第一攝像頭於第一模式與第二模式間切換,所述第一模式下關閉所述濾光片,所述第二模式下開啟所述濾光片;所述存儲器存儲多條指令,所述指令由所述處理器載入並執行以下步驟:控制所述切換開關切換所述第一攝像頭至所述第一模式;控制所述第一攝像頭於所述第一模式下拍攝得到第一圖像;控制所述第二攝像頭拍攝得到第二圖像;所述第一圖像經處理後與所述第二圖像進行幀同步處理以得到深度圖像。The first aspect of the present invention provides a mobile image processing device for image shooting and image processing. The mobile image processing device includes an input unit, a display unit, a communication unit, a memory, a processor, at least one first camera, and at least A second camera; each of the first cameras includes a filter for filtering infrared, and one of the first cameras is provided with a switch, and the switch is used to implement the first camera in the first Switch between the mode and the second mode, the filter is turned off in the first mode, and the filter is turned on in the second mode; the memory stores a plurality of instructions, and the instructions are executed by the processor Load and execute the following steps: control the switch to switch the first camera to the first mode; control the first camera to take a first image in the first mode; control the second The second image is captured by the camera; the first image is processed and the second image is subjected to frame synchronization processing to obtain a depth image.

本發明第二方面還提供了一種移動影像處理方法,所述移動影像處理方法用於移動影像處理裝置,所述移動影像處理裝置包括至少一個第一攝像頭與至少一個第二攝像頭,每個所述第一攝像頭包括濾光片,用於過濾紅外線,其中一個所述第一攝像頭上設置有切換開關,所述切換開關用於實現所述第一攝像頭於第一模式與第二模式間切換,所述第一模式下關閉所述濾光片,所述第二模式下開啟所述濾光片;所述移動影像處理方法包括如下步驟:控制所述切換開關切換所述第一攝像頭至所述第一模式;控制所述第一攝像頭於所述第一模式下拍攝得到第一圖像;控制所述第二攝像頭拍攝得到第二圖像;所述第一圖像經處理後與所述第二圖像進行幀同步處理以得到深度圖像。The second aspect of the present invention also provides a mobile image processing method, which is used in a mobile image processing device. The mobile image processing device includes at least one first camera and at least one second camera. The first camera includes a filter for filtering infrared rays, and one of the first cameras is provided with a switch, and the switch is used to switch the first camera between the first mode and the second mode, so The filter is turned off in the first mode, and the filter is turned on in the second mode; the moving image processing method includes the following steps: controlling the switch to switch the first camera to the second A mode; control the first camera to capture a first image in the first mode; control the second camera to capture a second image; the first image is processed with the second image The image undergoes frame synchronization processing to obtain a depth image.

本發明協力廠商面還提供了一種電腦可讀存儲介質,所述電腦可讀存儲介質上存儲有電腦程式,所述電腦程式由處理器載入並執行上述所述的移動影像處理方法。The third party of the present invention also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor and executes the above-mentioned moving image processing method.

本發明提供的一種移動影像處理裝置,包括第一攝像頭與第二攝像頭。第一攝像頭上設置有切換開關,切換開關用於實現第一攝像頭於第一模式與第二模式間切換;第一攝像頭於第一模式下獲得的圖像與每個第二攝像頭獲得的圖像經影像處理後得到深度圖像。本發明還對應提供了移動影像處理方法及電腦可讀存儲介質。本發明提供的移動影像處理裝置結構簡單,可實現多種模式拍攝,體積小,成本較低。The invention provides a mobile image processing device, which includes a first camera and a second camera. The first camera is provided with a switch, which is used to switch the first camera between the first mode and the second mode; the image obtained by the first camera in the first mode and the image obtained by each second camera The depth image is obtained after image processing. The invention also correspondingly provides a mobile image processing method and a computer-readable storage medium. The mobile image processing device provided by the invention has a simple structure, can realize multiple shooting modes, has a small volume and a low cost.

為了能夠更清楚地理解本發明的上述目的、特徵與優點,下面結合附圖與具體實施方式對本發明進行詳細描述。需要說明的係,於不衝突的情況下,本申請的實施方式及實施方式中的特徵可相互組合。In order to be able to understand the above objectives, features and advantages of the present invention more clearly, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of this application and the features in the embodiments can be combined with each other if there is no conflict.

於下面的描述中闡述了很多具體細節以便於充分理解本發明,所描述的實施方式僅係本發明一部分實施方式,而不係全部的實施方式。基於本發明中的實施方式,本領域普通技術人員於沒有做出創造性勞動前提下所獲得的所有其它實施方式,均屬於本發明保護的範圍。In the following description, many specific details are explained in order to fully understand the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

除非另有定義,本文所使用的所有的技術與科學術語與屬於本發明的技術領域的技術人員通常理解的含義相同。本文中於本發明的說明書中所使用的術語只是為了描述具體的實施方式的目的,不是旨在限制本發明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.

本文所使用的術語“及/或”包括一個或複數相關的所列項目的任意的與所有的組合。The term "and/or" as used herein includes any and all combinations of one or plural related listed items.

請參照圖1,本發明提供了一種移動影像處理裝置10,圖1為該移動影像處理裝置10的結構示意圖。該移動影像處理裝置10包括輸入單元100、顯示單元200、通信單元300、存儲器400、處理器500、至少一個第一攝像頭600與至少一個第二攝像頭700。輸入單元100、顯示單元200、存儲器400、第一攝像頭600與第二攝像頭700分別與處理器500之間電性連接。具體地,每個第一攝像頭600與每個第二攝像頭700的圖像採集面於同一平面上,以使第一攝像頭600與第二攝像頭700於拍攝同一物體得到的圖像的解析度一致。Please refer to FIG. 1, the present invention provides a moving image processing device 10, and FIG. 1 is a schematic structural diagram of the moving image processing device 10. The mobile image processing device 10 includes an input unit 100, a display unit 200, a communication unit 300, a memory 400, a processor 500, at least one first camera 600 and at least one second camera 700. The input unit 100, the display unit 200, the memory 400, the first camera 600 and the second camera 700 are electrically connected to the processor 500, respectively. Specifically, the image collection surfaces of each first camera 600 and each second camera 700 are on the same plane, so that the resolution of the images obtained by shooting the same object by the first camera 600 and the second camera 700 is consistent.

輸入單元100用於供使用者輸入各種資訊以及控制指令等。於本實施例中,輸入單元100可包括觸控式螢幕、遙控器、語音輸入裝置等,但不限於此。The input unit 100 is used for the user to input various information and control commands. In this embodiment, the input unit 100 may include a touch screen, a remote control, a voice input device, etc., but is not limited thereto.

顯示單元200用於顯示處理器500的處理結果。顯示單元200包括至少一個顯示器。The display unit 200 is used to display the processing result of the processor 500. The display unit 200 includes at least one display.

通信單元300用於移動影像處理裝置10與其他移動終端建立通信連接。於本實施例中,通信單元300通過無線網路或有限網路與其他移動終端建立通信連接,無線網路可是,但並不限於,WIFI、藍牙、蜂窩移動網路、衛星網路、近距離無線通訊模塊NFC等。有線網路可是但不限於,USB通訊、IEEE1394通訊等。具體地,於本實施方式中,通信單元300包括獨立的WIFI埠,該埠允許其他移動終端(例如手機)接入。The communication unit 300 is used for the mobile image processing device 10 to establish a communication connection with other mobile terminals. In this embodiment, the communication unit 300 establishes a communication connection with other mobile terminals through a wireless network or a limited network. The wireless network can be, but not limited to, WIFI, Bluetooth, cellular mobile network, satellite network, short-range Wireless communication module NFC, etc. The wired network can be but not limited to USB communication, IEEE1394 communication, etc. Specifically, in this embodiment, the communication unit 300 includes an independent WIFI port, which allows other mobile terminals (such as mobile phones) to access.

存儲器400用於存儲移動影像處理裝置10中的各類資料,例如圖像資料與程式碼等,並於移動影像處理裝置10的運行過程中實現高速、自動地完成程式或資料的存取。The memory 400 is used to store various types of data in the mobile image processing device 10, such as image data and program codes, and realize high-speed and automatic access to programs or data during the operation of the mobile image processing device 10.

存儲器400還存儲有圖像深度演算法,根據圖像深度演算法對圖像進行處理得到深度圖像。The memory 400 also stores an image depth algorithm, and processes the image according to the image depth algorithm to obtain a depth image.

存儲器400可是,但並不限於,唯讀存儲器(Read-Only Memory,ROM)、隨機存儲器(Random Access Memory,RAM)、可程式設計唯讀存儲器(Programmable Read-Only Memory,PROM)、可擦除可程式設計唯讀存儲器(Erasable Programmable Read-Only Memory,EPROM)、一次可程式設計唯讀存儲器(One-time Programmable Read-Only Memory,OTPROM)、電子擦除式可複寫唯讀存儲器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟存儲器、磁碟存儲器、磁帶存儲器、或者能夠用於攜帶或存儲資料的電腦可讀的任何其他介質。The memory 400 may be, but not limited to, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-Only Memory, PROM), and erasable Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-erasable rewritable read-only memory (Electrically-Erasable) Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any computer readable that can be used to carry or store data Other media.

處理器500為數位訊號處理器(DSP,Digital Signal Processor)、微控制單元(MCU,Microcontroller Unit)、嵌入式電腦處理器(ARM,Advanced RISC Machine)、現場可程式設計閘陣列(FPGA,Field-Programmable Gate Array)、中央處理器(CPU,Central Processing Unit)、單片機、系統級晶片(SoC,System on Chip)或其它等同專用晶片。The processor 500 is a digital signal processor (DSP, Digital Signal Processor), a microcontroller unit (MCU, Microcontroller Unit), an embedded computer processor (ARM, Advanced RISC Machine), a field programmable gate array (FPGA, Field- Programmable Gate Array), central processing unit (CPU, Central Processing Unit), single-chip microcomputer, system-on-chip (SoC, System on Chip) or other equivalent dedicated chips.

第一攝像頭600主要為彩色攝像頭(RGB Camera),一般於光線亮的情況下使用,得到的影像效果亦可稱為人眼視覺,其資料處理的計算量很小。第一攝像頭600包括有圖像感測器(圖未示),採用第一攝像頭600須使用紅外濾光片。於不包含紅外濾光片的情況下,圖像感測器本身對人眼不可見的紅外光有反應,因此成像會偏紅,與人眼視覺實際看到的影像不同。The first camera 600 is mainly a color camera (RGB Camera), which is generally used under bright light conditions. The image effect obtained can also be called human vision, and the amount of calculation for data processing is small. The first camera 600 includes an image sensor (not shown), and an infrared filter must be used to adopt the first camera 600. Without the infrared filter, the image sensor itself responds to infrared light invisible to the human eye, so the image will be reddish, which is different from the actual image seen by the human eye.

第二攝像頭700主要為立體攝像頭(Stereo Camera),立體攝像頭一般增加補光模塊,使其兼顧光線亮與光線暗兩種情況,得到的圖像可稱為機器視覺。第二攝像頭700亦包括圖像感測器,主要進行立體(3D)感測,因此於機器視覺下,影像處理的計算量很大。一般情況下,立體攝像頭使用兩個攝像頭。The second camera 700 is mainly a stereo camera (Stereo Camera), and the stereo camera generally adds a light supplement module to make it take into account the two situations of bright light and dark light. The obtained image can be called machine vision. The second camera 700 also includes an image sensor, and mainly performs stereo (3D) sensing. Therefore, under machine vision, the amount of calculation for image processing is large. In general, a stereo camera uses two cameras.

於本發明中,為了兼顧第一攝像頭600與第二攝像頭700的優點,一併為了減小移動影像處理裝置10的體積。本發明提出了一種第一攝像頭600與第二攝像頭700新的硬體架構關係。In the present invention, in order to take into account the advantages of the first camera 600 and the second camera 700, the size of the mobile image processing device 10 is also reduced. The present invention proposes a new hardware architecture relationship between the first camera 600 and the second camera 700.

具體地,每個第一攝像頭600包括紅外截止濾光片與藍玻璃濾光片的一種或多種。每個第二攝像頭700包括彩色濾光片與上述補光模塊。其中一個第一攝像頭600設置有切換開關,切換開關控制第一攝像頭600於第一模式與第二模式下切換。第一模式下,切換開關控制第一攝像頭600的紅外截止濾光片與藍玻璃濾光片的一種或多種一併關閉。第二模式下,切換開關控制第一攝像頭600的紅外截止濾光片與藍玻璃濾光片的一種或多種一併開啟。Specifically, each first camera 600 includes one or more of an infrared cut filter and a blue glass filter. Each second camera 700 includes a color filter and the aforementioned light supplement module. One of the first camera 600 is provided with a switch, and the switch controls the first camera 600 to switch between the first mode and the second mode. In the first mode, the switch controls one or more of the infrared cut filter of the first camera 600 and the blue glass filter to be turned off together. In the second mode, the switch controls one or more of the infrared cut filter of the first camera 600 and the blue glass filter to be turned on together.

於本實施例中,第一攝像頭600與第二攝像頭700的數量均為一個。可理解的係,第一攝像頭600與第二攝像頭700的數量可分別為複數,如2、3或4個。In this embodiment, the number of the first camera 600 and the number of the second camera 700 is one. It is understandable that the number of the first camera 600 and the second camera 700 may be plural respectively, such as 2, 3, or 4.

請參照圖2,移動影像處理裝置10中還運行有一控制系統800,控制系統800包括一個或複數程式形式的電腦指令,該一個或複數程式形式的電腦指令儲存於存儲器400中,並由處理器500執行。圖2為本發明一實施例中控制系統800的功能模塊示意圖。具體地,控制系統800包括模式切換模塊810、影像處理模塊820與傳輸模塊830。Referring to FIG. 2, the mobile image processing device 10 also runs a control system 800. The control system 800 includes a computer command in the form of one or plural programs. The computer command in the form of one or plural programs is stored in the memory 400 and is executed by the processor. 500 execution. FIG. 2 is a schematic diagram of functional modules of the control system 800 in an embodiment of the present invention. Specifically, the control system 800 includes a mode switching module 810, an image processing module 820, and a transmission module 830.

模式切換模塊810用於控制切換開關切換第一模式與第二模式。於本實施例中,模式切換模塊810內預存有使用者控制拍攝程式,使用者根據控制拍攝程式完成不同模式的拍攝。The mode switching module 810 is used for controlling the switch to switch between the first mode and the second mode. In this embodiment, a user-controlled shooting program is pre-stored in the mode switching module 810, and the user completes shooting in different modes according to the controlled shooting program.

影像處理模塊820用於接收拍攝的圖像資料,再將接收的圖像資料按照不同拍攝模式進行相應的影像處理。The image processing module 820 is used to receive the captured image data, and then perform corresponding image processing on the received image data according to different shooting modes.

傳輸模塊830用於傳輸第一攝像頭600與第二攝像頭700拍攝的圖像至影像處理模塊820,還用於輸出經影像處理後的圖像。The transmission module 830 is used for transmitting the images taken by the first camera 600 and the second camera 700 to the image processing module 820, and is also used for outputting images after image processing.

該移動影像處理裝置10為攝像機、手機、平板電腦、筆記版電腦、警務通或智慧電視。The mobile image processing device 10 is a camera, a mobile phone, a tablet computer, a notebook computer, a police station or a smart TV.

請參照圖3,本發明提供了一種移動影像處理方法,圖3為該移動影像處理方法的流程示意圖。具體地,該圖像移動處理方法包括如下步驟:Please refer to FIG. 3, the present invention provides a moving image processing method, and FIG. 3 is a schematic flowchart of the moving image processing method. Specifically, the image movement processing method includes the following steps:

步驟S301,一併開啟第一攝像頭600與第二攝像頭700。In step S301, the first camera 600 and the second camera 700 are turned on together.

輸入單元100輸入控制第一攝像頭600與第二攝像頭700開啟的指令,控制系統800一併開啟第一攝像頭600與第二攝像頭700,準備拍攝圖像。The input unit 100 inputs an instruction to control the turning on of the first camera 600 and the second camera 700, and the control system 800 turns on the first camera 600 and the second camera 700 together to prepare to capture images.

步驟S302,切換開關切換第一攝像頭600至第一模式。In step S302, the switch switches the first camera 600 to the first mode.

控制系統800根據第一攝像頭600與第二攝像頭700開啟的指令控制模式切換模塊810,模式切換模塊810根據預存的使用者拍攝控制程式,一併關閉第一攝像頭600的濾光片,包括紅外截止濾光片與藍玻璃濾光片,使第一攝像頭600切換至第一模式。The control system 800 controls the mode switching module 810 according to the instructions of the first camera 600 and the second camera 700 to turn on. The mode switching module 810 also closes the filter of the first camera 600 according to the pre-stored user shooting control program, including infrared cutoff The filter and the blue glass filter switch the first camera 600 to the first mode.

步驟S303,第一攝像頭600於第一模式下拍攝得到第一圖像。In step S303, the first camera 600 captures a first image in the first mode.

控制系統800控制影像處理裝置進行圖像拍攝,第一攝像頭600於第一模式下拍攝得到第一圖像,第一圖像存儲至存儲器400。The control system 800 controls the image processing device to perform image capture, the first camera 600 captures the first image in the first mode, and the first image is stored in the memory 400.

步驟S304,第二攝像頭700拍攝得到第二圖像。Step S304, the second camera 700 captures a second image.

同樣地,控制系統800控制控制影像處理裝置的第二攝像頭700進行圖像拍攝,第二攝像頭700拍攝得到第二圖像,第二圖像存儲至存儲器400。Similarly, the control system 800 controls the second camera 700 of the image processing device to perform image capture, the second camera 700 captures the second image, and the second image is stored in the memory 400.

步驟S305,第一圖像經處理後與第二圖像進行幀同步處理以得到深度圖像。Step S305: After the first image is processed, frame synchronization processing is performed with the second image to obtain a depth image.

第一圖像與第二圖像經傳輸模塊830傳輸至影像處理模塊820。影像處理模塊820首先對第一攝像頭600拍攝的第一圖像進行處理。該處理過程包括裁剪與縮放等。處理後的第一圖像與第二攝像頭700得到的第二圖像進行幀同步(畫面同步)處理。影像處理模塊820內預設有圖像深度演算法,幀同步後的圖像根據圖像深度演算法進行處理得到深度圖像。The first image and the second image are transmitted to the image processing module 820 via the transmission module 830. The image processing module 820 first processes the first image captured by the first camera 600. This process includes cropping and scaling. The processed first image and the second image obtained by the second camera 700 undergo frame synchronization (picture synchronization) processing. An image depth algorithm is preset in the image processing module 820, and the frame synchronized image is processed according to the image depth algorithm to obtain a depth image.

步驟S306,輸出深度圖像。Step S306, output the depth image.

深度圖像經通信單元300輸出至與移動影像處理裝置10通信連接的其他移動終端。The depth image is output to other mobile terminals communicatively connected with the mobile image processing device 10 via the communication unit 300.

於一些替代性實施例中,請參照圖4,本發明還提供了一種移動影像處理方法。具體包括如下步驟:In some alternative embodiments, referring to FIG. 4, the present invention also provides a moving image processing method. It includes the following steps:

步驟S401,開啟第一攝像頭600,關閉第二攝像頭700。Step S401: Turn on the first camera 600 and turn off the second camera 700.

控制系統800控制開啟第一攝像頭600,關閉第二攝像頭700。The control system 800 controls the first camera 600 to be turned on and the second camera 700 to turn off.

步驟S402,切換開關切換第一攝像頭600至第二模式。Step S402, the switch switches the first camera 600 to the second mode.

控制系統800控制模式切換模塊810,模式切換模塊810根據預存的使用者拍攝控制程式,一併開啟第一攝像頭600的濾光片,包括紅外截止濾光片與藍玻璃濾光片,使第一攝像頭600切換至第二模式。The control system 800 controls the mode switching module 810. The mode switching module 810 turns on the filters of the first camera 600 together according to the pre-stored user shooting control program, including the infrared cut filter and the blue glass filter, so that the first The camera 600 switches to the second mode.

步驟S403,第一攝像頭600於第二模式下拍攝得到第三圖像。In step S403, the first camera 600 captures a third image in the second mode.

控制系統800控制影像處理裝置的第一攝像頭進行圖像拍攝,第一攝像頭600於第二模式下拍攝得到第三圖像,第三圖像存儲至存儲器400。The control system 800 controls the first camera of the image processing device to capture images, the first camera 600 captures a third image in the second mode, and the third image is stored in the memory 400.

步驟S404,第三圖像經處理後,並輸出第三圖像。Step S404: After the third image is processed, the third image is output.

第三圖像經傳輸模塊830傳輸至影像處理模塊820。影像處理模塊820對第三圖像進行處理,得到人眼視覺的圖像。最後經處理後的第三圖像經通信單元300輸出至與移動影像處理裝置10外部通信連接的其他移動終端。The third image is transmitted to the image processing module 820 via the transmission module 830. The image processing module 820 processes the third image to obtain an image of human vision. Finally, the processed third image is output via the communication unit 300 to other mobile terminals that are communicatively connected to the mobile image processing device 10.

可理解的係,於本實施例中,該拍攝模式適用於光線亮的環境下進行拍攝。It is understandable that in this embodiment, this shooting mode is suitable for shooting in a brightly lit environment.

可理解的係,若只開啟第一攝像頭600,關閉第二攝像頭700。第一攝像頭600切換至第一模式下進行拍攝。此種拍攝模式下,沒有開啟濾光片,圖像感測器對紅外光有反應。該模式下拍攝圖像適用於光線暗的環境下進行拍攝。It is understandable that if only the first camera 600 is turned on, the second camera 700 is turned off. The first camera 600 switches to the first mode for shooting. In this shooting mode, the filter is not turned on, and the image sensor responds to infrared light. Images taken in this mode are suitable for shooting in low-light environments.

本發明提供的移動影像處理裝置10,包括第一攝像頭600與第二攝像頭700。第一攝像頭600上設置有切換開關,切換開關用於實現第一攝像頭600於第一模式與第二模式間切換;第一攝像頭600於第一模式下獲得的圖像與每個第二攝像頭700獲得的圖像經影像處理後得到深度圖像。本發明還對應提供了移動影像處理方法。本發明提供的移動影像處理裝置10結構簡單,可實現多種模式拍攝,體積小,成本較低。The mobile image processing device 10 provided by the present invention includes a first camera 600 and a second camera 700. The first camera 600 is provided with a switch, and the switch is used to switch the first camera 600 between the first mode and the second mode; the image obtained by the first camera 600 in the first mode and each second camera 700 The obtained image is processed by the image to obtain the depth image. The invention also correspondingly provides a moving image processing method. The mobile image processing device 10 provided by the present invention has a simple structure, can realize multiple shooting modes, has a small volume and a low cost.

另外,於本發明各個實施例中的各功能器可集成於相同資料處理單元中,亦可是各個器單獨物理存在,亦可兩個或兩個以上器集成於相同器中。上述集成的器既可採用硬體的形式實現,亦可採用硬體加軟體功能模塊的形式實現。In addition, the functional devices in the various embodiments of the present invention may be integrated into the same data processing unit, or each device may exist alone physically, or two or more devices may be integrated into the same device. The above-mentioned integrated device can be realized in the form of hardware, or in the form of hardware plus software functional modules.

對於本領域技術人員而言,顯然本發明不限於上述示範性實施例的細節,而且於不背離本發明的精神或基本特徵的情況下,能夠以其他的具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作係示範性的,而且係非限制性的,本發明的範圍由所附權利要求而不是上述說明限定,因此旨在將落在權利要求的等同要件的含義與範圍內的所有變化涵括於本發明內。不應將權利要求中的任何附圖標記視為限制所涉及的權利要求。此外,顯然“包括”一詞不排除其他器或步驟,單數不排除複數。電腦裝置權利要求中陳述的複數器或電腦裝置亦可由同一個器或電腦裝置通過軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定的順序。For those skilled in the art, it is obvious that the present invention is not limited to the details of the foregoing exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall on the rights. All changes within the meaning and scope of the required equivalent elements are included in the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "include" does not exclude other means or steps, and the singular does not exclude the plural. The multiple devices or computer devices stated in the claims of the computer device can also be implemented by the same device or computer device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

最後應說明的係,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神與範圍。Finally, it should be explained that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solution of the present invention.

10:移動影像處理裝置 100:輸入單元 200:顯示單元 300:通信單元 400:存儲器 500:處理器 600:第一攝像頭 700:第二攝像頭 800:控制系統 810:模式切換模塊 820:影像處理模塊 830:傳輸模塊 10: Mobile image processing device 100: input unit 200: display unit 300: Communication unit 400: memory 500: processor 600: The first camera 700: second camera 800: control system 810: Mode switching module 820: image processing module 830: Transmission module

圖1係本發明一個實施例中的移動影像處理裝置的硬體架構示意圖。FIG. 1 is a schematic diagram of the hardware architecture of a mobile image processing device in an embodiment of the present invention.

圖2係本發明一個實施例中控制系統的功能模塊示意圖。Figure 2 is a schematic diagram of functional modules of the control system in an embodiment of the present invention.

圖3係本發明一個實施例中移動影像處理方法的流程示意圖。FIG. 3 is a schematic flowchart of a moving image processing method in an embodiment of the present invention.

圖4係本發明另一個實施例中移動影像處理方法的流程示意圖。FIG. 4 is a schematic flowchart of a moving image processing method in another embodiment of the present invention.

no

Claims (10)

一種移動影像處理裝置,用於圖像拍攝與影像處理,其改良在於,所述移動影像處理裝置包括輸入單元、顯示單元、通信單元、存儲器、處理器、至少一個第一攝像頭與至少一個第二攝像頭;每個所述第一攝像頭包括濾光片,用於過濾紅外線,其中一個所述第一攝像頭上設置有切換開關,所述切換開關用於實現所述第一攝像頭於第一模式與第二模式間切換,所述第一模式下關閉所述濾光片,所述第二模式下開啟所述濾光片;所述存儲器存儲多條指令,所述指令由所述處理器載入並執行以下步驟: 控制所述切換開關切換所述第一攝像頭至所述第一模式; 控制所述第一攝像頭於所述第一模式下拍攝得到第一圖像; 控制所述第二攝像頭拍攝得到第二圖像; 所述第一圖像經處理後與所述第二圖像進行幀同步處理以得到深度圖像。A mobile image processing device for image shooting and image processing. The improvement is that the mobile image processing device includes an input unit, a display unit, a communication unit, a memory, a processor, at least one first camera, and at least one second camera. Camera; each of the first camera includes a filter for filtering infrared, one of the first camera is provided with a switch, the switch is used to realize the first camera in the first mode and the first Switch between the two modes, the filter is turned off in the first mode, and the filter is turned on in the second mode; the memory stores a plurality of instructions, and the instructions are loaded by the processor and Perform the following steps: Controlling the switch to switch the first camera to the first mode; Controlling the first camera to take a first image in the first mode; Controlling the second camera to capture a second image; After the first image is processed, frame synchronization processing is performed with the second image to obtain a depth image. 如申請專利範圍第1項所述之移動影像處理裝置,其中, 每個所述第一攝像頭包括紅外截止濾光片與/或藍玻璃濾光片; 每個所述第二攝像頭包括彩色濾光片與補光模塊; 所述第一模式下一併關閉所述紅外截止濾光片與/或所述藍玻璃濾光片; 所述第二模式下一併開啟所述紅外截止濾光片與/或所述藍玻璃濾光片。The mobile image processing device described in the first item of the scope of patent application, wherein: Each of the first cameras includes an infrared cut filter and/or a blue glass filter; Each of the second cameras includes a color filter and a light supplement module; And turn off the infrared cut filter and/or the blue glass filter in the first mode; In the second mode, the infrared cut filter and/or the blue glass filter are simultaneously turned on. 如申請專利範圍第1項所述之移動影像處理裝置,其中,所述指令由所述處理器載入並還執行以下步驟: 所述得到深度圖像之後,還包括: 輸出所述深度圖像。According to the mobile image processing device described in claim 1, wherein the instruction is loaded by the processor and further executes the following steps: After obtaining the depth image, it further includes: Output the depth image. 如申請專利範圍第3項所述之移動影像處理裝置,其中,所述指令由所述處理器載入並還執行以下步驟: 所述得到深度圖像之後,還包括: 所述切換開關切換所述第一攝像頭至所述第二模式; 所述第一攝像頭於所述第二模式下拍攝得到第三圖像; 所述第三圖像經處理後,並輸出所述第三圖像。According to the mobile image processing device described in item 3 of the scope of patent application, the instructions are loaded by the processor and further execute the following steps: After obtaining the depth image, it further includes: The switch to switch the first camera to the second mode; The first camera captures a third image in the second mode; After the third image is processed, the third image is output. 如申請專利範圍第4項所述之移動影像處理裝置,其中, 所述存儲器內預設有圖像深度演算法; 所述深度圖像根據所述圖像深度演算法處理得到。The mobile image processing device described in item 4 of the scope of patent application, wherein: An image depth algorithm is preset in the memory; The depth image is obtained by processing according to the image depth algorithm. 一種移動影像處理方法,所述移動影像處理方法用於移動影像處理裝置,所述移動影像處理裝置包括至少一個第一攝像頭與至少一個第二攝像頭,每個所述第一攝像頭包括濾光片,用於過濾紅外線,其中一個所述第一攝像頭上設置有切換開關,所述切換開關用於實現所述第一攝像頭於第一模式與第二模式間切換,所述第一模式下關閉所述濾光片,所述第二模式下開啟所述濾光片;其改良在於,所述移動影像處理方法包括如下步驟: 控制所述切換開關切換所述第一攝像頭至所述第一模式; 控制所述第一攝像頭於所述第一模式下拍攝得到第一圖像; 控制所述第二攝像頭拍攝得到第二圖像; 所述第一圖像經處理後與所述第二圖像進行幀同步處理以得到深度圖像; 輸出所述深度圖像。A moving image processing method, the moving image processing method is used for a moving image processing device, the moving image processing device includes at least one first camera and at least one second camera, each of the first cameras includes a filter, Used to filter infrared rays, one of the first cameras is provided with a switch, and the switch is used to switch the first camera between the first mode and the second mode. In the first mode, the switch is turned off. The filter is turned on in the second mode; the improvement is that the moving image processing method includes the following steps: Controlling the switch to switch the first camera to the first mode; Controlling the first camera to take a first image in the first mode; Controlling the second camera to capture a second image; After the first image is processed, frame synchronization processing is performed with the second image to obtain a depth image; Output the depth image. 如申請專利範圍第6項所述之移動影像處理方法,其中,所述幀同步進行處理得到深度圖像包括根據預設的圖像深度演算法進行處理。The moving image processing method as described in item 6 of the scope of patent application, wherein the frame synchronization processing to obtain the depth image includes processing according to a preset image depth algorithm. 如申請專利範圍第6項所述之移動影像處理方法,其中, 每個所述第一攝像頭包括紅外截止濾光片與/或藍玻璃濾光片; 每個所述第二攝像頭包括彩色濾光片與補光模塊; 所述第一模式下一併關閉所述紅外截止濾光片與/或所述藍玻璃濾光片; 所述第二模式下一併開啟所述紅外截止濾光片與/或所述藍玻璃濾光片。The moving image processing method described in item 6 of the scope of patent application, wherein: Each of the first cameras includes an infrared cut filter and/or a blue glass filter; Each of the second cameras includes a color filter and a light supplement module; And turn off the infrared cut filter and/or the blue glass filter in the first mode; In the second mode, the infrared cut filter and/or the blue glass filter are simultaneously turned on. 如申請專利範圍第6項所述之移動影像處理方法,其中,所述移動影像處理方法還包括: 所述切換開關切換所述第一攝像頭至所述第二模式; 所述第一攝像頭於所述第二模式下拍攝得到第三圖像; 所述第三圖像經處理後,並輸出所述第三圖像。The moving image processing method described in item 6 of the scope of patent application, wherein the moving image processing method further includes: The switch to switch the first camera to the second mode; The first camera captures a third image in the second mode; After the third image is processed, the third image is output. 一種電腦存儲介質,所述電腦存儲介質存儲有電腦程式代碼,其改良在於,當所述電腦程式代碼於計算設備上運行時,導致所述計算設備執行權利要求6-9任一項所述的移動影像處理方法。A computer storage medium, the computer storage medium stores computer program code, the improvement is that when the computer program code runs on a computing device, the computing device causes the computing device to execute any one of claims 6-9 Mobile image processing method.
TW108100601A 2019-01-07 2019-01-07 Mobile image processing apparatus, method and computer readable storage medium TW202027487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108100601A TW202027487A (en) 2019-01-07 2019-01-07 Mobile image processing apparatus, method and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108100601A TW202027487A (en) 2019-01-07 2019-01-07 Mobile image processing apparatus, method and computer readable storage medium

Publications (1)

Publication Number Publication Date
TW202027487A true TW202027487A (en) 2020-07-16

Family

ID=73005242

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108100601A TW202027487A (en) 2019-01-07 2019-01-07 Mobile image processing apparatus, method and computer readable storage medium

Country Status (1)

Country Link
TW (1) TW202027487A (en)

Similar Documents

Publication Publication Date Title
US11570359B2 (en) Method for providing different indicator for image based on shooting mode and electronic device thereof
EP3145125B1 (en) Method and apparatus for controlling devices
US10447394B2 (en) Connection with remote internet of things (IoT) device based on field of view of camera
US11245933B2 (en) Method and server for generating image data by using multiple cameras
KR102565847B1 (en) Electronic device and method of controlling display in the electronic device
JP6328255B2 (en) Multi-imaging device, multi-imaging method, program, and recording medium
CN109756671B (en) Electronic device for recording images using multiple cameras and method of operating the same
WO2021077830A1 (en) Bluetooth communication method, and apparatus and device with bluetooth communication function
KR101328058B1 (en) Mathod for cotrolling camera using terminal and terminal thereof
US10021287B2 (en) Imaging control device, imaging device, imaging control method, and program for transmitting an imaging preparation command, receiving a preparation completion command, and transmitting a captured image acquisition command
RU2691185C1 (en) Method and device for timing
CN104995904A (en) Image pickup device
CN114691059B (en) Screen-throwing display method and electronic equipment
JPWO2016125352A1 (en) Camera device, imaging system, control method, and program
US20150249802A1 (en) Terminal and method for controlling background projection
CN104112417A (en) Projection method and system
US20190174312A1 (en) Electronic device, user terminal apparatus, and control method thereof
EP3249999B1 (en) Intelligent matching method for filter and terminal
US20230350629A1 (en) Double-Channel Screen Mirroring Method and Electronic Device
TW202027487A (en) Mobile image processing apparatus, method and computer readable storage medium
CN114697570B (en) Method for displaying image, electronic device and chip
CN113497851B (en) Control display method and electronic equipment
CN111416920A (en) Moving image processing apparatus, method and computer-readable storage medium
CN204633892U (en) Possesses the camera of multiple Photographing Mode
CN204669486U (en) The camera of remote controlled photograph