[go: up one dir, main page]

TWI662355B - Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof - Google Patents

Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof Download PDF

Info

Publication number
TWI662355B
TWI662355B TW107108271A TW107108271A TWI662355B TW I662355 B TWI662355 B TW I662355B TW 107108271 A TW107108271 A TW 107108271A TW 107108271 A TW107108271 A TW 107108271A TW I662355 B TWI662355 B TW I662355B
Authority
TW
Taiwan
Prior art keywords
image
background
target object
object image
item
Prior art date
Application number
TW107108271A
Other languages
Chinese (zh)
Other versions
TW201939156A (en
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 TW107108271A priority Critical patent/TWI662355B/en
Priority to CN201810285976.6A priority patent/CN110264394B/en
Application granted granted Critical
Publication of TWI662355B publication Critical patent/TWI662355B/en
Publication of TW201939156A publication Critical patent/TW201939156A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

本發明之實施例係提供一種影像背景去除方法,該方法包括下列步驟:對一目標物件進行拍攝,以得到一物件影像;判斷是否可由該物件影像取得該目標物件之一目標物件影像;若是,由該物件影像去除該目標物件之背景並取得相應於該目標物件之一目標物件影像;以及若否,切換該目標物件之背景,再由該物件影像去除該目標物件之背景以取得相應於該目標物件之該目標物件影像。 An embodiment of the present invention provides an image background removal method. The method includes the following steps: shooting a target object to obtain an object image; determining whether a target object image of the target object can be obtained from the object image; if yes, Remove the background of the target object from the object image and obtain a target object image corresponding to the target object; and if not, switch the background of the target object, and then remove the background of the target object from the object image to obtain a The target object image of the target object.

Description

影像背景去除系統、影像背景更換裝置、影像背景去除方法、及其電腦程式產品 Image background removal system, image background replacement device, image background removal method, and computer program product thereof

本發明之一實施例係有關於影像處理,特別是有關於一種影像背景去除系統、影像背景更換裝置、影像背景去除方法、及其電腦程式產品。 One embodiment of the present invention relates to image processing, and in particular, to an image background removal system, an image background replacement device, an image background removal method, and a computer program product thereof.

隨著科技進步,有許多應用需使用已去除背景之物件影像,例如是電子商務網站、簡報製作等等。舉例來說,一般使用者會使用其行動裝置(例如智慧型手機或平板電腦等等)以拍攝物件,且所得到的物件影像通常會包含前景部分及背景部分。然而,若物件影像包含複雜的背景部分,對於傳統的背景影像去除程式來說,很難完全去除背景部分而僅保留前景部分之物件。此外,使用者亦需手動地操作類似的程式以去除不想要的背景部分,這會浪費大量的時間。 With the advancement of technology, there are many applications that need to use background-free object images, such as e-commerce websites, presentation production, and so on. For example, a typical user will use his mobile device (such as a smartphone or tablet computer) to capture an object, and the obtained object image usually includes a foreground portion and a background portion. However, if the object image contains a complex background part, it is difficult for a conventional background image removal program to completely remove the background part and retain only the objects in the foreground part. In addition, users need to manually operate similar programs to remove unwanted background parts, which will waste a lot of time.

本發明之一實施例係提供一種影像背景更換裝置,包括:一箱體、一背景布幕、一步進馬達、及一微控制器。該背景布幕包括複數個布幕。該微控制器被配置以依據一切換 控制信號以控制該步進馬達之轉動以在該複數個布幕之間進行切換。 An embodiment of the present invention provides an image background changing device, including: a cabinet, a background screen, a stepping motor, and a microcontroller. The background curtain includes a plurality of curtains. The microcontroller is configured to switch based on The control signal controls the rotation of the stepping motor to switch between the plurality of curtains.

本發明之一實施例更提供一種影像背景去除系統,包括一影像背景更換裝置及一行動裝置。該影像背景更換裝置包括:一箱體、一背景布幕、一步進馬達、以及一微控制器。該背景布幕包括複數個布幕。該行動裝置係通訊耦接至該影像背景更換裝置,且該行動裝置包括:一影像擷取裝置及一處理器。該影像擷取裝置係透過該箱體之一拍攝窗以該背景布幕為背景對置於該影像背景更換裝置之該箱體中之一目標物件進行拍攝以得到一物件影像。該處理器係執行一影像背景去除程式以去除該物件影像之一背景部分並取得相應於該目標物件之一目標物件影像。該微控制器係依據來自該行動裝置之一切換控制信號以控制該影像背景更換裝置切換該背景布幕之顏色。 An embodiment of the present invention further provides an image background removal system, which includes an image background replacement device and a mobile device. The image background changing device includes a cabinet, a background curtain, a stepping motor, and a microcontroller. The background curtain includes a plurality of curtains. The mobile device is communicatively coupled to the image background replacement device, and the mobile device includes: an image capture device and a processor. The image capturing device shoots a target object in the box of the image background changing device through a shooting window of the box with the background curtain as a background to obtain an object image. The processor executes an image background removal program to remove a background portion of the object image and obtain a target object image corresponding to the target object. The microcontroller controls the image background changing device to switch the color of the background screen according to a switching control signal from the mobile device.

本發明之一實施例更提供一種影像背景去除方法,該方法包括下列步驟:對一目標物件進行拍攝,以得到一物件影像;判斷是否可由該物件影像取得該目標物件之一目標物件影像;若是,由該物件影像去除該目標物件之背景並取得相應於該目標物件之一目標物件影像;以及若否,切換該目標物件之背景,再由該物件影像去除該目標物件之背景以取得相應於該目標物件之該目標物件影像。 An embodiment of the present invention further provides an image background removal method. The method includes the following steps: shooting a target object to obtain an object image; judging whether a target object image of the target object can be obtained from the object image; if yes , Remove the background of the target object from the object image and obtain a target object image corresponding to the target object; and if not, switch the background of the target object, and then remove the background of the target object from the object image to obtain a corresponding The target object image of the target object.

本發明之一實施例更提供一種電腦程式產品,該電腦程式產品係經由一處理器載入該程式以執行上述實施例中之影像背景去除方法。 An embodiment of the present invention further provides a computer program product. The computer program product loads the program through a processor to execute the image background removal method in the above embodiment.

100‧‧‧影像背景去除系統 100‧‧‧Image background removal system

110‧‧‧影像背景更換裝置 110‧‧‧Image background changing device

111‧‧‧微控制器 111‧‧‧Microcontroller

112‧‧‧通訊模組 112‧‧‧Communication Module

113‧‧‧步進馬達 113‧‧‧Stepping motor

114‧‧‧背景布幕 114‧‧‧Background

115‧‧‧發光裝置 115‧‧‧light-emitting device

116‧‧‧光線感測器 116‧‧‧light sensor

117‧‧‧步進馬達控制器 117‧‧‧Stepper motor controller

118‧‧‧光線控制板 118‧‧‧light control board

119‧‧‧印刷電路板 119‧‧‧printed circuit board

120‧‧‧箱體 120‧‧‧Box

121‧‧‧右蓋 121‧‧‧ right cover

122‧‧‧左蓋 122‧‧‧Left cover

123‧‧‧上蓋 123‧‧‧ Upper cover

124‧‧‧物件平台 124‧‧‧ Object Platform

1301-1305‧‧‧滾軸 1301-1305‧‧‧Roller

131‧‧‧同步帶 131‧‧‧Synchronous Belt

1321-1322‧‧‧皮帶輪 1321-1322‧‧‧pulley

140‧‧‧行動裝置 140‧‧‧ mobile device

141‧‧‧處理器 141‧‧‧Processor

142‧‧‧通訊模組 142‧‧‧Communication Module

143‧‧‧記憶體單元 143‧‧‧Memory Unit

144‧‧‧儲存裝置 144‧‧‧Storage device

145‧‧‧顯示螢幕 145‧‧‧display

146‧‧‧影像背景去除程式 146‧‧‧Image background removal program

147‧‧‧影像擷取裝置 147‧‧‧Image capture device

150‧‧‧雲端伺服器 150‧‧‧ Cloud Server

151‧‧‧資料庫 151‧‧‧Database

S310-S370‧‧‧步驟 S310-S370‧‧‧step

410‧‧‧物件影像 410‧‧‧ Object image

420‧‧‧灰階物件影像 420‧‧‧ grayscale object image

430‧‧‧部分影像區域 430‧‧‧Partial image area

431、432‧‧‧像素 431, 432‧‧‧ pixels

433‧‧‧封閉輪廓 433‧‧‧closed contour

440‧‧‧目標物件影像區域 440‧‧‧Target object image area

451、452、453‧‧‧部分物件輪廓 451, 452, 453‧‧‧‧some object outlines

4201‧‧‧第一灰階物件影像 4201‧‧‧The first grayscale object image

4202‧‧‧第二灰階物件影像 4202‧‧‧Second grayscale object image

4203‧‧‧第三灰階物件影像 4203‧‧‧ Third grayscale object image

460‧‧‧封閉輪廓 460‧‧‧closed contour

470‧‧‧合成灰階影像 470‧‧‧ synthetic grayscale image

S510-S565‧‧‧步驟 S510-S565‧‧‧step

第1圖係顯示依據本發明一實施例中之影像背景去除系統的功能方塊圖。 FIG. 1 is a functional block diagram of an image background removal system according to an embodiment of the present invention.

第2A圖係顯示依據本發明一實施例中之影像背景去除系統之斜視圖。 FIG. 2A is a perspective view showing an image background removal system according to an embodiment of the present invention.

第2B圖係顯示依據本發明第2A圖之實施例中之影像背景去除系統之另一斜視圖。 FIG. 2B is another oblique view of the image background removal system in the embodiment according to FIG. 2A of the present invention.

第2C圖係顯示依據本發明第2A圖之實施例中之影像背景去除系統之分解圖。 FIG. 2C is an exploded view showing an image background removal system in the embodiment according to FIG. 2A of the present invention.

第3圖係顯示依據本發明一實施例中之影像背景去除方法之前處理的流程圖。 FIG. 3 is a flowchart showing a pre-processing of an image background removal method according to an embodiment of the present invention.

第4A圖係顯示依據本發明一實施例中之利用影像背景去除系統對目標物件進行拍攝的示意圖。 FIG. 4A is a schematic diagram showing the shooting of a target object using an image background removal system according to an embodiment of the present invention.

第4B圖係顯示依據本發明第4A圖之實施例中之部份灰階物件影像的示意圖。 FIG. 4B is a schematic diagram showing a part of the grayscale object image in the embodiment according to FIG. 4A of the present invention.

第4C圖係顯示依據本發明第4A圖之實施例中對物件影像標示輪廓的示意圖。 FIG. 4C is a schematic diagram showing the outline of the object image in the embodiment according to FIG. 4A of the present invention.

第4D圖係顯示依據本發明第4A圖之實施例中對灰階物件影像標示輪廓的示意圖。 FIG. 4D is a schematic diagram showing the outline of the grayscale object image according to the embodiment of FIG. 4A of the present invention.

第4E圖係顯示依據本發明第4A圖之實施例中之影像背景去除程式之使用者介面的示意圖。 FIG. 4E is a schematic diagram showing a user interface of an image background removal program in the embodiment according to FIG. 4A of the present invention.

第4F圖係顯示依據本發明一實施例中之第一灰階物件影像的示意圖。 FIG. 4F is a schematic diagram showing a first gray-scale object image according to an embodiment of the present invention.

第4G圖係顯示依據本發明一實施例中之第二灰階物件影像的示意圖。 FIG. 4G is a schematic diagram showing a second grayscale object image according to an embodiment of the present invention.

第4H圖係顯示依據本發明一實施例中之第三灰階物件影像的示意圖。 FIG. 4H is a schematic diagram showing a third grayscale object image according to an embodiment of the present invention.

第4I圖係顯示依據本發明一實施例中之合成灰階物件影像的示意圖。 FIG. 4I is a schematic diagram showing a synthetic gray-scale object image according to an embodiment of the present invention.

第5A-5B圖係顯示依據本發明一實施例中之影像背景去除方法的流程圖。 5A-5B are flowcharts illustrating a method for removing background of an image according to an embodiment of the present invention.

為使本發明實施例之上述目的、特徵和優點能更明顯易懂,下文配合所附圖式,作詳細說明如下。 In order to make the foregoing objects, features, and advantages of the embodiments of the present invention more comprehensible, the following detailed description is given in conjunction with the accompanying drawings.

第1圖係顯示依據本發明一實施例中之影像背景去除系統的功能方塊圖。 FIG. 1 is a functional block diagram of an image background removal system according to an embodiment of the present invention.

如第1圖所示,影像背景去除系統100係包括一影像背景更換裝置110及一行動裝置140。影像背景更換裝置110係與行動裝置140耦接,影像背景更換裝置110與行動裝置140例如可透過一無線通訊協定(例如藍芽、近場通訊等等)以通訊耦接。影像背景更換裝置110係包括一微控制器(microcontroller)111、一通訊模組112、一步進馬達(stepper motor)113、一背景布幕114、一發光裝置115、及一光線偵測器116、及一步進馬達控制器117。微控制器111及通訊模組112例如可置於一印刷電路板(printed circuit board)119上。 As shown in FIG. 1, the image background removal system 100 includes an image background replacement device 110 and a mobile device 140. The image background changing device 110 is coupled to the mobile device 140, and the image background changing device 110 and the mobile device 140 may be communicatively coupled through a wireless communication protocol (such as Bluetooth, near field communication, etc.). The image background changing device 110 includes a microcontroller 111, a communication module 112, a stepper motor 113, a background curtain 114, a light emitting device 115, and a light detector 116, And a stepping motor controller 117. The microcontroller 111 and the communication module 112 can be placed on a printed circuit board 119, for example.

通訊模組112例如包括一收發器(transceiver),其可支援一或多個無線通訊協定,例如藍牙(Bluetooth)、低功耗藍 牙(Bluetooth Low Energy、BLE)、無線保真(Wireless Fidelity;Wifi)、及/或近場通訊(near-field communication)等等,但本發明之實施例並不限於此。 The communication module 112 includes, for example, a transceiver, which can support one or more wireless communication protocols, such as Bluetooth, low-power Bluetooth Bluetooth (Bluetooth Low Energy, BLE), wireless fidelity (Wifi), and / or near-field communication, etc., but the embodiments of the present invention are not limited thereto.

背景布幕114係包括複數個單色布幕(例如:消光布幕),例如白色布幕、黑色布幕、藍色布幕、綠色布幕等等。在某些實施例中,該複數個單色布幕係依序連接成該背景布幕114。需注意的是,上述顏色之單色布幕僅用於說明,本發明實施例並不限於此。步進馬達控制器117係用以控制步進馬達113之轉動。微控制器111係將來自行動裝置140之切換控制信號傳送至步進馬達控制器117,並透過步進馬達控制器117以控制步進馬達113之往前或往後轉動以切換不同顏色之單色布幕,其細節將於第2A-2C圖之實施例中進行說明。在一些實施例中,步進馬達控制器117係可整合至微控制器111,意即微控制器111可做為步進馬達113之步進馬達控制器。 The background curtain 114 includes a plurality of monochrome curtains (for example, matte curtains), such as a white curtain, a black curtain, a blue curtain, a green curtain, and the like. In some embodiments, the plurality of monochrome screens are sequentially connected to form the background screen 114. It should be noted that the monochrome screens of the above colors are for illustration only, and the embodiments of the present invention are not limited thereto. The stepping motor controller 117 is used to control the rotation of the stepping motor 113. The micro-controller 111 transmits the switching control signal from the mobile device 140 to the stepping motor controller 117, and the stepping motor controller 117 is used to control the stepping motor 113 to rotate forward or backward to switch between different colors. The color curtain, its details will be described in the embodiment of FIGS. 2A-2C. In some embodiments, the stepping motor controller 117 can be integrated into the microcontroller 111, which means that the microcontroller 111 can be used as the stepping motor controller of the stepping motor 113.

發光裝置115係包括一或多個發光源,例如是白色發光二極體(light-emitting diode,LED)、燈泡、或燈管,用以投射光線至置於背景布幕114前之一目標物件。需注意的是,各發光源係具有相同的規格,例如相同的色溫、功率、演色性等等,但本發明實施例並不限於此。在一實施例中,微控制器111係可依據來自行動裝置140之一光線控制信號以調整該發光裝置115之光線強度。在另一實施例中,光線感測器116係用以偵測在影像背景更換裝置110中之箱體120(顯示於第2A圖)內部的環境光線強度(ambient light strength),並將偵測到之環境光線強度回報至微控制器111。微控制器111係依據光線感測 器116所偵測之環境光線強度以控制發光裝置115投射至目標物件之光線的光線強度。在一些實施例中,光線感測器116與發光裝置115係可整合至一光線控制板118。 The light-emitting device 115 includes one or more light-emitting sources, such as a white light-emitting diode (LED), a light bulb, or a lamp tube, for projecting light onto a target object placed in front of the background curtain 114. . It should be noted that each light source has the same specifications, such as the same color temperature, power, color rendering, etc., but the embodiments of the present invention are not limited thereto. In one embodiment, the microcontroller 111 can adjust the light intensity of the light emitting device 115 according to a light control signal from the mobile device 140. In another embodiment, the light sensor 116 is used to detect the ambient light strength inside the box 120 (shown in FIG. 2A) in the image background changing device 110, and detects the ambient light strength. The ambient light intensity is reported to the microcontroller 111. Microcontroller 111 is based on light sensing The intensity of the ambient light detected by the device 116 is used to control the light intensity of the light projected by the light emitting device 115 onto the target object. In some embodiments, the light sensor 116 and the light emitting device 115 may be integrated into a light control board 118.

在一實施例中,行動裝置140係包括一處理器141、一通訊模組142、一記憶體單元143、一儲存裝置144、一顯示螢幕145、及一影像擷取裝置147。 In one embodiment, the mobile device 140 includes a processor 141, a communication module 142, a memory unit 143, a storage device 144, a display screen 145, and an image capture device 147.

處理器141例如為一中央處理器(CPU)或一數位信號處理器(DSP),但本發明實施例並不限於此。通訊模組142例如包括一收發器(transceiver),其可支援一或多個無線通訊協定,例如藍牙(Bluetooth)、低功耗藍牙(Bluetooth Low Energy、BLE)、Wifi、近場通訊(near-field communication)、分碼多重存取(Code Division Multiple Access,CDMA)、全球移動通訊系統(Global System for Mobile Communications,GSM)、通用封包無線服務(General Packet Radio Service,GPRS)、3G、4G等等,但本發明實施例並不限於此。舉例來說,處理器141係透過通訊模組142與影像背景更換裝置110中之通訊模組112相連接,藉以與微控制器111進行溝通,例如傳送切換控制信號及/或光線控制信號、或是接收來自光線感測器116之感測資料,但本發明實施例並不限於此。 The processor 141 is, for example, a central processing unit (CPU) or a digital signal processor (DSP), but the embodiment of the present invention is not limited thereto. The communication module 142 includes, for example, a transceiver that can support one or more wireless communication protocols, such as Bluetooth, Bluetooth Low Energy (BLE), Wifi, and near-field communication (near- field communication), Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), 3G, 4G, etc. However, the embodiments of the present invention are not limited thereto. For example, the processor 141 is connected to the communication module 112 in the image background changing device 110 through the communication module 142 to communicate with the microcontroller 111, such as transmitting a switching control signal and / or a light control signal, or It receives sensing data from the light sensor 116, but the embodiment of the present invention is not limited thereto.

記憶體單元143為一揮發性記憶體(volatile memory),例如為一動態隨機存取記憶體(DRAM),用以儲存背景去除處理中之影像資料。儲存裝置144為一非揮發性記憶體(non-volatile memory),例如為一硬碟機(hard disk drive)、一固態硬碟機(solid-state disk)、或一快閃記憶體,但本發明實施 例並不限於此。影像擷取裝置147例如可為一照像機,其可由複數個影像感測器、一彩色濾波器陣列、及一鏡頭(未繪示)所組成,且影像感測器例如可由感光耦合元件(charge coupled device,CCD)感測器、或互補式金屬氧化物半導體(complementary metal-oxide semiconductor,CMOS)感測器所實現,但本發明實施例並不限於此。顯示螢幕145例如為一觸控螢幕。 The memory unit 143 is a volatile memory, such as a dynamic random access memory (DRAM), and is used to store image data during background removal processing. The storage device 144 is a non-volatile memory, such as a hard disk drive, a solid-state disk, or a flash memory. Invention Implementation Examples are not limited to this. The image capturing device 147 may be, for example, a camera, which may be composed of a plurality of image sensors, a color filter array, and a lens (not shown). The image sensor may be, for example, a photosensitive coupling element ( Charge coupled device (CCD) sensors, or complementary metal-oxide semiconductor (CMOS) sensors, but embodiments of the present invention are not limited thereto. The display screen 145 is, for example, a touch screen.

在一實施例中,儲存裝置144係記錄一影像背景去除程式146。當影像背景去除程式146被處理器141執行時可發送切換控制信號及/或光線控制信號至微控制器111以切換背景布幕114或調整發光裝置115發出之光線強度。此外,影像背景去除程式146並利用影像擷取裝置147對目標物件進行拍攝以得到一物件影像(例如為一彩色影像),並對物件影像進行背景去除處理,藉以由物件影像取得與目標物件相關之一目標物件影像(前景影像)。 In one embodiment, the storage device 144 records an image background removal program 146. When the image background removal program 146 is executed by the processor 141, it may send a switching control signal and / or a light control signal to the microcontroller 111 to switch the background curtain 114 or adjust the light intensity emitted by the light emitting device 115. In addition, the image background removal program 146 and the image capture device 147 are used to capture the target object to obtain an object image (for example, a color image), and the background of the object image is processed to obtain the object image related to the target object. One of the target object images (foreground image).

舉例來說,處理器141係將影像背景去除程式146由儲存裝置144讀取至記憶體單元143,並執行影像背景去除程式146,其中影像背景去除程式146之細節及其與影像背景更換裝置110之互動操作將詳述於後。 For example, the processor 141 reads the image background removal program 146 from the storage device 144 to the memory unit 143 and executes the image background removal program 146. The details of the image background removal program 146 and its details and the image background replacement device 110 are used. The interactive operation will be detailed later.

在一實施例中,影像背景去除系統100更包括一雲端伺服器150,其係透過有線或無線通訊協定與行動裝置140相耦接。雲端伺服器150係包括一資料庫151。行動裝置140在執行影像背景去除程式146對物件影像進行背景去除處理後所得到之目標物件影像(前景影像)係可透過有線或無線網路傳送至 雲端伺服器150,並儲存於資料庫151。使用者可利用影像背景去除系統100拍攝不同目標物件並取得相應的目標物件影像,並將其儲存於雲端伺服器150之資料庫151。當有需要時,使用者則可由雲端伺服器150之資料庫151存取先前儲存之目標物件影像。 In one embodiment, the image background removal system 100 further includes a cloud server 150 which is coupled to the mobile device 140 through a wired or wireless communication protocol. The cloud server 150 includes a database 151. The target object image (foreground image) obtained by the mobile device 140 after executing the image background removal program 146 on the background of the object image can be transmitted to the wired or wireless network to The cloud server 150 is stored in the database 151. The user can use the image background removal system 100 to shoot different target objects and obtain corresponding target object images, and store them in the database 151 of the cloud server 150. When necessary, the user can access the previously stored target object image from the database 151 of the cloud server 150.

第2A圖係顯示依據本發明一實施例中之影像背景去除系統之斜視圖。第2B圖係顯示依據本發明第2A圖之實施例中之影像背景去除系統之另一斜視圖。第2C圖係顯示依據本發明第2A圖之實施例中之影像背景去除系統之分解圖。 FIG. 2A is a perspective view showing an image background removal system according to an embodiment of the present invention. FIG. 2B is another oblique view of the image background removal system in the embodiment according to FIG. 2A of the present invention. FIG. 2C is an exploded view showing an image background removal system in the embodiment according to FIG. 2A of the present invention.

如第2A圖所示,影像背景更換裝置110更包括一箱體120,影像背景更換裝置110中之元件111~116係置於箱體120之中,其細節將詳述於後。在箱體120的前表面125係具有一拍攝窗126,且固定夾127係依附在前表面125上,用以固定行動裝置140。因此,使用者可利用固定夾127將行動裝置140固定於影像背景更換裝置110之前表面125上,且行動裝置140之前鏡頭或主鏡頭(未繪示)可透過拍攝窗126以背景布幕114為背景朝置於箱體120內部(例如置於物件平台124(顯示於第2B圖)上)之一目標物件進行拍攝。第2B圖係為第2A圖中移除左蓋122及上蓋123所得到之斜視圖。 As shown in FIG. 2A, the image background changing device 110 further includes a box 120, and the components 111 to 116 in the image background changing device 110 are placed in the box 120, and details thereof will be described later. A photographing window 126 is provided on the front surface 125 of the box 120, and a fixing clip 127 is attached to the front surface 125 to fix the mobile device 140. Therefore, the user can use the fixing clip 127 to fix the mobile device 140 on the front surface 125 of the image background changing device 110, and the front lens or main lens (not shown) of the mobile device 140 can be viewed through the shooting window 126 and the background curtain 114 as The background is photographed toward a target object placed inside the box 120 (for example, on the object platform 124 (shown in FIG. 2B)). FIG. 2B is an oblique view obtained by removing the left cover 122 and the upper cover 123 in FIG. 2A.

如第2B及2C圖所示,影像背景更換裝置110更包括一右蓋121、一左蓋122、一上蓋123、及一物件平台124。舉例來說,物件平台124係可固定於箱體120之中並水平置放,且目標物件可置於物件平台124上以供行動裝置140進行拍攝,且其背景即為背景布幕114其中一個單色布幕。右蓋121、左蓋122、 及上蓋123係可分別嵌入或固定於箱體120之右側、左側、及頂部,且使用者可將右蓋121、左蓋122、或上蓋123掀起,以方便將目標物件置於箱體120中之物件平台124。在一實施例中,箱體120、右蓋121、左蓋122、及上蓋123均是由不透光之材質所製成,且行動裝置140在拍攝置於物件平台124上之目標物件時,右蓋121、左蓋122、及上蓋123係置於箱體120之相應位置,使得箱體120內部不易受到箱體120之外部環境光線干擾。 As shown in FIGS. 2B and 2C, the image background changing device 110 further includes a right cover 121, a left cover 122, an upper cover 123, and an object platform 124. For example, the object platform 124 can be fixed in the box 120 and placed horizontally, and the target object can be placed on the object platform 124 for shooting by the mobile device 140, and its background is one of the background curtains 114. Monochrome curtain. Right cover 121, left cover 122, The top cover 123 and the top cover 123 can be respectively embedded or fixed on the right, left, and top of the box 120, and the user can lift the right cover 121, the left cover 122, or the top cover 123 to conveniently place the target object in the box 120 Object platform 124. In one embodiment, the box 120, the right cover 121, the left cover 122, and the upper cover 123 are all made of opaque materials. When the mobile device 140 shoots a target object placed on the object platform 124, The right cover 121, the left cover 122, and the upper cover 123 are placed at corresponding positions of the box 120, so that the inside of the box 120 is not easily interfered by the external ambient light of the box 120.

此外,影像背景更換裝置110更包括滾軸(roller)1301~1305、一同步帶(timing belt)131、及皮帶輪(timing pulley)1321及1322,這些元件可組合為第2B圖之結構,並與背景布幕114及步進馬達113互相結合運作。舉例來說,同步帶131及皮帶輪1321~1322可視為耦接至步進馬達113之一帶動總成。滾軸1301~1305可視為一滾軸總成,其係與帶動總成連動。滾軸總成例如可分為第一滾軸組(包括滾軸1301及1302)、第二滾軸組(包括滾軸1304及1305)、及一第一滾軸(例如滾軸1303)。舉例來說,請參考第2B圖,同步帶131係設置於皮帶輪1321及1322上(例如可套在皮帶輪1321及1322上),且步進馬達113係控制皮帶輪1321(例如為第一皮帶輪)之轉動。當皮帶輪1321轉動時,其係經由同步帶131帶動皮帶輪1322(例如為第二皮帶輪)進行轉動。皮帶輪3122例如可帶動滾軸總成進行轉動。舉例來說,皮帶輪1322係耦接至第一滾軸,例如皮帶輪1322係與第一滾軸組中之滾軸1301相連接並連動,故皮帶輪1322進行轉動時會帶動滾軸1301進行轉動。因滾軸1301及1302為配對之滾軸組,故滾軸1302會隨著滾軸1302之轉動而連動。此外, 因背景布幕114係設置於第一滾軸組(包括滾軸1301及1302)、第二滾軸組(包括滾軸1304及1305)、及一第一滾軸(例如滾軸1303)上,故第一滾軸組可藉由背景布幕114而帶動第二滾軸組及第一滾軸進行轉動。在一些實施例中,滾軸1302以及滾軸1304所構成之平面係垂直於滾軸1304以及滾軸1303所構成之平面。 In addition, the image background changing device 110 further includes rollers 1301 to 1305, a timing belt 131, and timing pulleys 1321 and 1322. These components can be combined into the structure shown in FIG. 2B and combined with The background curtain 114 and the stepping motor 113 operate in combination with each other. For example, the timing belt 131 and the pulleys 1321 to 1322 can be regarded as a driving assembly coupled to one of the stepping motors 113. The rollers 1301 to 1305 can be regarded as a roller assembly, which is linked with the driving assembly. The roller assembly can be divided into, for example, a first roller group (including rollers 1301 and 1302), a second roller group (including rollers 1304 and 1305), and a first roller (such as roller 1303). For example, please refer to FIG. 2B. The timing belt 131 is provided on the pulleys 1321 and 1322 (for example, it can be sleeved on the pulleys 1321 and 1322), and the stepping motor 113 is used to control the pulley 1321 (for example, the first pulley). Turn. When the pulley 1321 rotates, it drives the pulley 1322 (for example, the second pulley) through the timing belt 131 to rotate. The pulley 3122 can, for example, drive the roller assembly to rotate. For example, the pulley 1322 is coupled to the first roller. For example, the pulley 1322 is connected and linked with the roller 1301 in the first roller group. Therefore, when the pulley 1322 is rotated, the roller 1301 is rotated. Since the rollers 1301 and 1302 are paired roller groups, the rollers 1302 will be linked as the rollers 1302 rotate. In addition, The background curtain 114 is arranged on the first roller group (including rollers 1301 and 1302), the second roller group (including rollers 1304 and 1305), and a first roller (such as roller 1303). Therefore, the first roller group can drive the second roller group and the first roller to rotate through the background curtain 114. In some embodiments, the plane formed by the roller 1302 and the roller 1304 is perpendicular to the plane formed by the roller 1304 and the roller 1303.

對於滾軸1301~1305而言,滾軸1301受皮帶輪1322驅動,故可視為一驅動軸。滾軸1302~1305則可視為從動軸。若從箱體120之左側往箱體120看,當步進馬達113控制皮帶輪1321順時針轉動時,則會帶動皮帶輪1322及滾輪1301順時針轉動,故背景布幕114在此時會往下移動以切換不同顏色之布幕。當步進馬達113控制皮帶輪1321逆時針轉動時,則會帶動皮帶輪1322及滾輪1301逆時針轉動,故背景布幕114在此時會往上移動以切換不同顏色之布幕。 For the rollers 1301 to 1305, the roller 1301 is driven by the pulley 1322, so it can be regarded as a driving shaft. The rollers 1302 ~ 1305 can be regarded as driven shafts. If looking from the left side of the box 120 to the box 120, when the stepper motor 113 controls the pulley 1321 to rotate clockwise, it will drive the pulley 1322 and the roller 1301 to rotate clockwise, so the background curtain 114 will move down at this time. To switch between different color curtains. When the stepper motor 113 controls the pulley 1321 to rotate counterclockwise, it will drive the pulley 1322 and the roller 1301 to rotate counterclockwise, so the background curtain 114 will move upward at this time to switch the curtains of different colors.

因此,微控制器111可接收來自行動裝置140之切換控制信號,並透過步進馬達控制器117以控制步進馬達113往前或往後轉動,藉以切換背景布幕114中之不同顏色的單色布幕。此外,其上具有發光裝置115之光線控制板118例如可安裝於上蓋123或是左蓋122及右蓋121之內側,並向置於物件平台124之目標物件投射光線。 Therefore, the microcontroller 111 can receive the switching control signal from the mobile device 140, and control the stepping motor 113 to rotate forward or backward through the stepping motor controller 117, thereby switching between different color sheets in the background curtain 114. Color curtain. In addition, the light control board 118 having the light emitting device 115 thereon can be mounted on the inside of the upper cover 123 or the left cover 122 and the right cover 121, for example, and can project light toward a target object placed on the object platform 124.

第3圖係顯示依據本發明一實施例中之影像背景去除方法之前處理的流程圖。 FIG. 3 is a flowchart showing a pre-processing of an image background removal method according to an embodiment of the present invention.

在步驟S310,開啟影像背景更換裝置110之電源。舉例來說,使用者可利用一電源開關(未繪示)以開啟影像背景更換裝置110之電源。 In step S310, the power of the image background changing device 110 is turned on. For example, the user can use a power switch (not shown) to turn on the power of the image background replacement device 110.

在步驟S320,將影像背景更換裝置110連接至行動裝置140。若以低功耗藍牙之通訊協定為例,影像背景更換裝置110及行動裝置140在執行影像背景去除方法前需先進行配對,完成配對後即可將影像背景更換裝置110連接至行動裝置140。 In step S320, the image background changing device 110 is connected to the mobile device 140. Taking the Bluetooth low energy communication protocol as an example, the image background replacement device 110 and the mobile device 140 need to be paired before performing the image background removal method, and the image background replacement device 110 can be connected to the mobile device 140 after the pairing is completed.

在步驟S330,將目標物件置於影像背景更換裝置110中之物件平台124。舉例來說,使用者可先將影像背景更換裝置110之上蓋123、左蓋122、或右蓋121由箱體120卸除以方便將目標物件置放於物件平台124。 In step S330, the target object is placed on the object platform 124 in the image background changing device 110. For example, the user may first remove the upper cover 123, the left cover 122, or the right cover 121 of the image background changing device 110 from the box 120 to conveniently place the target object on the object platform 124.

在步驟S340,將行動裝置140固定於影像背景更換裝置110之拍攝窗126。舉例來說,使用者可利用固定夾127將行動裝置140固定於影像背景更換裝置110之前表面125上之拍攝窗126,使得行動裝置140可對焦在置於物件平台124上之目標物件。 In step S340, the mobile device 140 is fixed to the shooting window 126 of the image background changing device 110. For example, the user can use the fixing clip 127 to fix the mobile device 140 to the shooting window 126 on the front surface 125 of the image background changing device 110, so that the mobile device 140 can focus on the target object placed on the object platform 124.

在步驟S350,利用行動裝置140執行影像背景去除程式146。舉例來說,影像背景去除程式146係在行動裝置140之顯示螢幕145上顯示一使用者介面,例如包括一拍照按鈕及目標物件之預覽畫面。使用者可利用使用者介面上之拍照按鈕或是透過行動裝置140上之實體按鈕對目標物件進行拍攝。 In step S350, the image background removal program 146 is executed by the mobile device 140. For example, the image background removal program 146 displays a user interface on the display screen 145 of the mobile device 140, such as a preview screen including a camera button and a target object. The user can use the camera button on the user interface or use the physical buttons on the mobile device 140 to shoot the target object.

在步驟S360,利用影像背景更換裝置110之光線感測器116偵測環境光線並調整發光裝置115之光線強度。在行動裝置140對目標物件進行拍攝之前,微控制器111係判斷來自光線感測器116之感測資料(例如目標物件周圍之環境光線強度)是否符合拍攝條件,例如環境光線強度需介於一定範圍之內。 意即當目標物件周圍之環境光線強度過高或過低時,在對目標物件拍攝之前,微控制器111會控制發光裝置115調整所發出之光線強度,使得環境光線強度能符合拍攝條件。 In step S360, the light sensor 116 of the image background changing device 110 is used to detect the ambient light and adjust the light intensity of the light emitting device 115. Before the mobile device 140 shoots the target object, the microcontroller 111 determines whether the sensing data from the light sensor 116 (such as the ambient light intensity around the target object) meets the shooting conditions. For example, the ambient light intensity needs to be within a certain range. Within range. That is, when the ambient light intensity around the target object is too high or too low, before shooting the target object, the microcontroller 111 will control the light emitting device 115 to adjust the emitted light intensity so that the ambient light intensity can meet the shooting conditions.

在步驟S370,利用行動裝置140之影像擷取裝置147對位於物件平台124上目標物件進行拍攝以取得一物件影像。 In step S370, the image capturing device 147 of the mobile device 140 is used to shoot the target object located on the object platform 124 to obtain an object image.

第4A圖係顯示依據本發明一實施例中之利用影像背景去除系統對目標物件進行拍攝的示意圖。第4B圖係顯示依據本發明第4A圖之實施例中之部份灰階物件影像的示意圖。第4C圖係顯示依據本發明第4A圖之實施例中對物件影像標示輪廓的示意圖。第4D圖係顯示依據本發明第4A圖之實施例中對灰階物件影像標示輪廓的示意圖。第4E圖係顯示依據本發明第4A圖之實施例中之影像背景去除程式之使用者介面的示意圖。 FIG. 4A is a schematic diagram showing the shooting of a target object using an image background removal system according to an embodiment of the present invention. FIG. 4B is a schematic diagram showing a part of the grayscale object image in the embodiment according to FIG. 4A of the present invention. FIG. 4C is a schematic diagram showing the outline of the object image in the embodiment according to FIG. 4A of the present invention. FIG. 4D is a schematic diagram showing the outline of the grayscale object image according to the embodiment of FIG. 4A of the present invention. FIG. 4E is a schematic diagram showing a user interface of an image background removal program in the embodiment according to FIG. 4A of the present invention.

在一實施例中,若背景布幕114切換至白色布幕,當行動裝置140完成對目標物件之拍攝以取得物件影像410(例如為一RGB彩色影像)後,影像背景去除程式146會對物件影像410進行影像處理以得到相應的一灰階物件影像420,如第4A圖所示。 In an embodiment, if the background screen 114 is switched to a white screen, after the mobile device 140 finishes shooting the target object to obtain the object image 410 (for example, an RGB color image), the image background removal program 146 will The image 410 is subjected to image processing to obtain a corresponding gray-scale object image 420, as shown in FIG. 4A.

接著,影像背景去除程式146係利用灰階物件影像420以偵測目標物件之影像邊緣(edge)。舉例來說,因為使用白色布幕,則灰階物件影像420中之背景部分的亮度值係等於或接近255。如第4B圖所示,在灰階物件影像420中之部份影像區域430有複數個像素431的亮度值為0,且像素431之右側的像素432之亮度值為255,故影像背景去除程式146可判斷出在像素 431及像素432之間存在有影像邊緣。詳細而言,影像背景去除程式146可計算在灰階物件影像420中之任意兩個相鄰像素之差值,並判斷該差值是否大於一預定閥值。若是,則可判斷在所選定的兩個相鄰像素之間存在有一影像邊緣,且所選定的兩個相鄰像素可稱為邊緣像素。依此方式,影像背景去除程式146可得到在灰階物件影像420中之邊緣像素。 Next, the image background removal program 146 uses the gray-scale object image 420 to detect the image edge of the target object. For example, because a white screen is used, the brightness value of the background portion in the grayscale object image 420 is equal to or close to 255. As shown in FIG. 4B, in a part of the image area 430 in the grayscale object image 420, the brightness value of a plurality of pixels 431 is 0, and the brightness value of the pixel 432 to the right of the pixel 431 is 255. Therefore, the image background removal program 146 can be determined in pixels There are image edges between 431 and pixels 432. In detail, the image background removal program 146 can calculate the difference between any two adjacent pixels in the grayscale object image 420 and determine whether the difference is greater than a predetermined threshold. If so, it can be determined that there is an image edge between the selected two adjacent pixels, and the selected two adjacent pixels can be referred to as edge pixels. In this way, the image background removal program 146 can obtain the edge pixels in the grayscale object image 420.

接著,影像背景去除程式146係將所得到之邊緣像素進行連接,並判斷連接的邊緣像素是否可構成目標物件的封閉輪廓。若可構成目標物件的封閉輪廓433,則影像背景去除程式146係在灰階物件影像420中標示封閉輪廓433,如第4C圖所示。 Next, the image background removal program 146 connects the obtained edge pixels, and determines whether the connected edge pixels can form a closed contour of the target object. If the closed contour 433 of the target object can be formed, the image background removal program 146 marks the closed contour 433 in the gray-scale object image 420, as shown in FIG. 4C.

影像背景去除程式146並將在灰階物件影像中所取得的封閉輪廓433套用於物件影像410上,並將在物件影像410中的封閉輪廓433內之影像區域設定為目標物件影像區域440,並於使用者介面上呈現相應的訊息以讓使用者選擇欲取出之目標物件影像區域,訊息例如為「請選擇要取出的物件」,如第4D圖所示。在此實施例中係以一個目標物件影像區域進行說明,故使用者可在顯示螢幕145上點選目標物件影像區域440以選擇欲取出的目標物件。若由灰階物件影像中係取得多個封閉輪廓,則使用者可在顯示螢幕145上點選其中一個封閉輪廓中之影像區域以選擇欲取出的目標物件。 The image background removal program 146 applies the closed contour 433 obtained in the grayscale object image to the object image 410, and sets the image area within the closed contour 433 in the object image 410 as the target object image area 440, and A corresponding message is presented on the user interface to allow the user to select the target object image area to be retrieved. The message is, for example, "Please select an object to be retrieved", as shown in FIG. 4D. In this embodiment, a target object image area is used for description, so the user can click the target object image area 440 on the display screen 145 to select the target object to be taken out. If multiple closed contours are obtained from the gray-level object image, the user can click an image area in one of the closed contours on the display screen 145 to select a target object to be retrieved.

當使用者在影像背景去除程式146之使用者介面上選定物件後,影像背景去除程式146則會在使用者介面上顯示相應的選項,例如:「取出」及「取消」,如第4E圖所示。 當使用者在行動裝置140之顯示螢幕145上點選「取出」之選項後,影像背景去除程式146係由物件影像410取出封閉輪廓內的目標物件影像區域440並去除背景部分450(即目標物件影像區域440之外的影像區域),並將去除背景之物件影像存成影像檔,例如可攜式網路圖形(Portable Network Graphics;PNG)之格式影像檔。需注意的是,在影像檔中之目標物件影像區域440外的影像區域係以透明像素(transparent pixel)的方式記錄。 After the user selects an object on the user interface of the image background removal program 146, the image background removal program 146 will display corresponding options on the user interface, such as: "Remove" and "Cancel", as shown in Figure 4E. Show. When the user clicks the “Remove” option on the display screen 145 of the mobile device 140, the image background removal program 146 takes out the object image area 440 within the closed outline from the object image 410 and removes the background portion 450 (that is, the target object An image area other than the image area 440), and save the background-free object image as an image file, such as a portable network graphics (Portable Network Graphics; PNG) format image file. It should be noted that the image area outside the target object image area 440 in the image file is recorded in the form of transparent pixels.

第4F圖係顯示依據本發明一實施例中之第一灰階物件影像的示意圖。第4G圖係顯示依據本發明一實施例中之第二灰階物件影像的示意圖。第4H圖係顯示依據本發明一實施例中之第三灰階物件影像的示意圖。 FIG. 4F is a schematic diagram showing a first gray-scale object image according to an embodiment of the present invention. FIG. 4G is a schematic diagram showing a second grayscale object image according to an embodiment of the present invention. FIG. 4H is a schematic diagram showing a third grayscale object image according to an embodiment of the present invention.

影像背景去除程式146透過單一顏色的背景布幕114可能並無法在灰階物件影像中找到完整的封閉輪廓,而是得到部份物件輪廓。在一實施例中,背景布幕114係包括白色布幕、黑色布幕、及灰色布幕。如第4F圖所示,當影像背景去除程式146使用背景布幕114中之白色布幕對目標物件進行拍照(例如可稱為第一拍攝循環),可由所得到的物件影像產生第一灰階物件影像4201。此外,因為目標物件之部分像素的灰階值與白色背景相近,影像背景去除程式146從第一灰階物件影像4201中僅能取得部分物件輪廓451。需注意的是,第一灰階物件影像4201及部分物件輪廓451均儲存於記憶體單元113。接著,影像背景去除程式146係判斷無法取得目標物件之封閉輪廓,並發送切換控制信號至微控制器111,藉以控制步進馬達113轉動以切換至背景布幕114中之其他顏色的布幕,例如黑色 布幕。 The image background removal program 146 may not be able to find the complete closed contour in the gray-level object image through the single-color background curtain 114, but obtain a part of the object contour. In one embodiment, the background screen 114 includes a white screen, a black screen, and a gray screen. As shown in FIG. 4F, when the image background removal program 146 uses the white curtain in the background curtain 114 to take a picture of the target object (for example, it can be called the first shooting cycle), the first gray level can be generated from the obtained object image Object image 4201. In addition, because the grayscale values of some pixels of the target object are similar to the white background, the image background removal program 146 can only obtain a partial object outline 451 from the first grayscale object image 4201. It should be noted that the first gray-level object image 4201 and part of the object contour 451 are both stored in the memory unit 113. Next, the image background removal program 146 judges that the closed contour of the target object cannot be obtained, and sends a switching control signal to the microcontroller 111, so as to control the stepping motor 113 to rotate to switch to another color curtain in the background curtain 114. E.g. black screen.

如第4G圖所示,影像背景去除程式146係使用背景布幕114中之黑色布幕對目標物件進行拍照(例如可稱為第二拍攝循環),並由所得到的物件影像產生第二灰階物件影像4202。因為目標物件之部分像素的灰階值與黑色背景相近,影像背景去除程式146從第二灰階物件影像4202中僅能取得部分物件輪廓452。需注意的是,第二灰階物件影像4202及部分物件輪廓452均儲存於記憶體單元113。接著,影像背景去除程式146係判斷無法取得目標物件之封閉輪廓,並發送切換控制信號至微控制器111,藉以控制步進馬達113轉動以切換至背景布幕114中之其他顏色的布幕,例如灰色布幕。 As shown in FIG. 4G, the image background removal program 146 uses the black screen in the background screen 114 to take a picture of the target object (for example, it can be called a second shooting cycle), and generates a second gray from the obtained object image Step object image 4202. Because the grayscale values of some pixels of the target object are similar to the black background, the image background removal program 146 can only obtain a partial object outline 452 from the second grayscale object image 4202. It should be noted that the second gray-level object image 4202 and some object contours 452 are all stored in the memory unit 113. Next, the image background removal program 146 judges that the closed contour of the target object cannot be obtained, and sends a switching control signal to the microcontroller 111, so as to control the stepping motor 113 to rotate to switch to another color curtain in the background curtain 114. For example, a gray curtain.

如第4H圖所示,影像背景去除程式146係使用背景布幕114中之灰色布幕對目標物件進行拍照(例如可稱為第三拍攝循環),並由所得到的物件影像產生第三灰階物件影像4203。因為目標物件之部分像素的灰階值與灰色背景相近,影像背景去除程式146從第三灰階物件影像4203中僅能取得部分物件輪廓453。需注意的是,第三灰階物件影像4203及部分物件輪廓453均儲存於記憶體單元113。接著,影像背景去除程式146係判斷無法取得目標物件之封閉輪廓,然而,此時背景布幕114中之不同顏色的布幕均已使用對目標物件進行拍攝。 As shown in FIG. 4H, the image background removal program 146 uses the gray screen in the background screen 114 to take a picture of the target object (for example, it can be called a third shooting cycle), and generates a third gray from the obtained object image. Step object image 4203. Because the grayscale values of some pixels of the target object are similar to the gray background, the image background removal program 146 can only obtain part of the object outline 453 from the third grayscale object image 4203. It should be noted that the third grayscale object image 4203 and part of the object outline 453 are all stored in the memory unit 113. Then, the image background removal program 146 judges that the closed outline of the target object cannot be obtained. However, at this time, the curtains of different colors in the background curtain 114 have been used to shoot the target object.

第4I圖係顯示依據本發明一實施例中之合成灰階物件影像的示意圖。如第4I圖所示,影像背景去除程式146係對第一灰階物件影像4201、第二灰階物件影像4202、及第三灰階物件影像4203進行一影像合成處理以產生一合成灰階影像 470,且部分物件輪廓451~453係繪示於合成灰階影像470上。因此,影像背景去除程式146可依據部分物件輪廓451~453以取得目標物件之封閉輪廓460。接著,影像背景去除程式146則可依據封閉輪廓460由上述流程之其中一張物件影像中分割出目標物件影像區域,例如可採用白色布幕為基準所拍攝之物件影像。 FIG. 4I is a schematic diagram showing a synthetic gray-scale object image according to an embodiment of the present invention. As shown in FIG. 4I, the image background removal program 146 performs an image synthesis process on the first grayscale object image 4201, the second grayscale object image 4202, and the third grayscale object image 4203 to generate a synthetic grayscale image. 470, and some object outlines 451 ~ 453 are shown on the synthetic grayscale image 470. Therefore, the image background removal program 146 can obtain the closed contour 460 of the target object based on the contours 451 to 453 of some objects. Then, the image background removal program 146 can segment the target object image area from one of the object images in the above process according to the closed contour 460, for example, an object image captured using a white curtain as a reference.

在一些實施例中,背景布幕114可包括三種顏色以上的布幕,且影像背景去除程式146可用不同顏色之布幕對目標物件重複拍攝達到一預定次數時即開始進行影像合成處理以產生合成灰階影像440。在一些實施例中,若更換了不同顏色之背景布幕114之後,影像背景去除程式146可由灰階物件影像中取得目標物件之封閉輪廓,影像背景去除程式146即可依據所取得的封閉輪廓從物件影像中取出目標物件影像區域並去除背景,並儲存去除背景之物件影像,例如可儲存為PNG格式之影像檔,但本發明實施例並不限於此。 In some embodiments, the background curtain 114 may include curtains of more than three colors, and the image background removal program 146 may use a curtain of different colors to repeatedly shoot the target object for a predetermined number of times, and then start image synthesis processing to generate a composite Grayscale image 440. In some embodiments, if the background curtain 114 of a different color is replaced, the image background removal program 146 can obtain the closed outline of the target object from the grayscale object image, and the image background removal program 146 can obtain the closed outline from the obtained closed outline. Take out the target object image area from the object image and remove the background, and store the background-removed object image. For example, it can be saved as an image file in PNG format, but the embodiment of the present invention is not limited to this.

第5A-5B圖係顯示依據本發明一實施例中之影像背景去除方法的流程圖。在步驟S510,利用行動裝置140對置於影像背景更換裝置110中之一目標物件進行拍攝以得到一物件影像。舉例來說,在經過第3圖的前處理之後,使用者即可在行動裝置140之顯示螢幕145上按下影像背景去除程式146之使用者介面中的拍照按鈕,以開始對目標物件進行拍照。在對目標物件進行第一次拍攝時,影像背景去除程式146係可先通知微控制器111以切換背景布幕114至一預定顏色的布幕,例如白色布幕,但本發明實施例並不以此為限。需注意的是,對目 標物件進行第一次拍攝係稱為第一拍攝循環;對目標物件進行第二次拍攝係稱為第二拍攝循環,依此類推。 5A-5B are flowcharts illustrating a method for removing background of an image according to an embodiment of the present invention. In step S510, a target object placed in the image background changing device 110 is photographed by using the mobile device 140 to obtain an object image. For example, after the pre-processing of FIG. 3, the user can press the camera button in the user interface of the image background removal program 146 on the display screen 145 of the mobile device 140 to start taking pictures of the target object. . When the target object is shot for the first time, the image background removal program 146 may first notify the microcontroller 111 to switch the background screen 114 to a predetermined color screen, such as a white screen, but the embodiment of the present invention does not This is the limit. It should be noted that the target The first shooting cycle of the target object is called the first shooting cycle; the second shooting of the target object is called the second shooting cycle, and so on.

在步驟S515,對該物件影像進行影像處理以得到相應於該物件影像之一灰階物件影像。舉例來說,物件影像例如為一RGB影像,且物件影像中之各像素可經過一矩陣運算以得到各像素之亮度值(luminance),此亦稱為灰階值。灰階物件影像即為物件影像中之各像素的灰階值所組成之影像。 In step S515, image processing is performed on the object image to obtain a grayscale object image corresponding to the object image. For example, the object image is, for example, an RGB image, and each pixel in the object image may be subjected to a matrix operation to obtain the brightness value of each pixel, which is also referred to as a grayscale value. A grayscale object image is an image composed of the grayscale values of each pixel in the object image.

在步驟S520,由該灰階物件影像偵測一或多個影像邊緣。由灰階物件影像偵測影像邊緣之技術例如可參考第4A~4E圖之實施例,或是可利用其他影像處理中影像邊緣偵測技術,本發明實施例領域中具有通常知識者當可了解不同的偵測影像邊緣偵測技術,故其細節於此不再贅述。 In step S520, one or more image edges are detected from the grayscale object image. For the technique of detecting the edge of an image from a gray-scale object image, for example, refer to the embodiments shown in FIGS. 4A to 4E, or other edge processing techniques in image processing can be used. Those skilled in the art of the embodiments of the present invention can understand Different detection image edge detection technology, so its details will not be repeated here.

在步驟S525,在該灰階物件影像中標示出該一或多個影像邊緣。舉例來說,影像背景去除程式146係可將該灰階物件影像及該一或多個影像邊緣顯示於顯示螢幕145上。 In step S525, the one or more image edges are marked in the grayscale object image. For example, the image background removal program 146 can display the grayscale object image and the edge or edges of the image on the display screen 145.

在步驟S530,判斷該一或多個影像邊緣是否形成一封閉輪廓。若是,則執行步驟S555;若否,則執行步驟S535。在一些實施例中,步驟S515~S530例如可簡化為:判斷是否可依據該物件影像中取得相應於該目標物件之一封閉輪廓。若是,則執行步驟S555;若否,則執行步驟S535。 In step S530, it is determined whether the one or more image edges form a closed contour. If yes, go to step S555; if not, go to step S535. In some embodiments, steps S515 to S530 can be simplified, for example, to determine whether a closed contour corresponding to the target object can be obtained based on the object image. If yes, go to step S555; if not, go to step S535.

在步驟S535,判斷拍攝該目標物件是否已達一預定次數。若是,則執行步驟S550;若否,則執行步驟S540。 In step S535, it is determined whether the target object has been photographed a predetermined number of times. If yes, go to step S550; if no, go to step S540.

在步驟S540,控制影像背景更換裝置110以切換背景布幕114之顏色。舉例來說,背景布幕114可包括白色布幕、 黑色布幕、灰色布幕、以及其他顏色之布幕。當影像背景去除程式146判斷需要更換其他顏色之背景以對目標物件進行拍攝時(例如未找到封閉輪廓),處理器141係發送切換控制信號至微控制器111,藉以控制步進馬達113轉動以切換至其他顏色的背景布幕,並回到步驟S510。 In step S540, the image background changing device 110 is controlled to switch the color of the background curtain 114. For example, the background curtain 114 may include a white curtain, Black, gray, and other colors. When the image background removal program 146 determines that it is necessary to change the background of another color to shoot the target object (for example, no closed contour is found), the processor 141 sends a switching control signal to the microcontroller 111 to control the stepping motor 113 to rotate to Switch to a background curtain of another color, and return to step S510.

在步驟S550,對不同拍攝循環中所相應之該灰階物件影像中該一或多個影像邊緣進行一影像合成處理以取得該封閉輪廓。在某些實施例中,各拍攝循環中所相應之該灰階物件影像均會有一或多個影像邊緣,例如第4F、4G、4H圖所示,且可能均無法形成一封閉輪廓,故需將不同拍攝循環中之灰階物件影像之一或多個影像邊緣進行影像合成處理以取得封閉輪廓。 In step S550, an image synthesis process is performed on the edge of the one or more images in the corresponding grayscale object images in different shooting cycles to obtain the closed contour. In some embodiments, the corresponding grayscale object image in each shooting cycle will have one or more image edges, such as shown in Figures 4F, 4G, and 4H, and may not form a closed contour, so it is necessary to Image synthesis processing is performed on one or more image edges of gray-level object images in different shooting cycles to obtain a closed contour.

在步驟S555,在該物件影像中標示該封閉輪廓。舉例來說,影像背景去除程式146係可將該物件影像及該封閉輪廓顯示於顯示螢幕145上,以便於使用者得知影像背景去除程式146取得的目標物件,如第4C或4I圖所示。在一些實施例中,使用者可點選影像背景去除程式146之使用者介面以選擇該目標物件,並執行背景去除處理。 In step S555, the closed contour is marked in the object image. For example, the image background removal program 146 can display the object image and the closed outline on the display screen 145, so that the user can know the target object obtained by the image background removal program 146, as shown in FIG. 4C or 4I. . In some embodiments, the user may click the user interface of the image background removal program 146 to select the target object and perform the background removal process.

在步驟S560,將該物件影像中位於該封閉輪廓內之一影像區域設定為一目標物件影像區域,並由該物件影像移除該目標物件影像區域之外的一背景區域以得到一目標物件影像。在某些實施例中,目標物件影像係如第4E圖所示。 In step S560, an image area within the closed contour of the object image is set as a target object image area, and a background area outside the target object image area is removed from the object image to obtain a target object image. . In some embodiments, the target object image is shown in FIG. 4E.

在步驟S565,將該目標物件影像上傳至一雲端伺服器。舉例來說,雲端伺服器150係包括資料庫151,使用者可 利用影像背景去除系統100拍攝不同目標物件並取得相應的目標物件影像,並將其儲存於雲端伺服器150之資料庫151。當有需要時,使用者則可由雲端伺服器150之資料庫151存取先前儲存之目標物件影像。在一些實施例中,步驟S565則可省略,例如使用者利用其行動裝置所得到之目標物件影像可儲存於其行動裝置中。 In step S565, the target object image is uploaded to a cloud server. For example, the cloud server 150 includes a database 151. The image background removal system 100 is used to shoot different target objects and obtain corresponding target object images, and store them in the database 151 of the cloud server 150. When necessary, the user can access the previously stored target object image from the database 151 of the cloud server 150. In some embodiments, step S565 may be omitted. For example, the target object image obtained by the user using his mobile device may be stored in his mobile device.

綜上所述,本發明之實施例係提供一種影像背景去除系統、影像背景更換裝置、影像背景去除方法、及電腦程式產品,其可讓使用者易於利用影像背景更換裝置及行動裝置在不同的單純背景之下拍攝不同目標物件,並將背景部分由物件影像中去除以得到目標物件影像。此外,所得到之不同的目標物件影像係可上傳至雲端伺服器以便於使用者進行管理及利用。 In summary, the embodiments of the present invention provide an image background removal system, an image background replacement device, an image background removal method, and a computer program product, which allow users to easily use the image background replacement device and mobile device in different Shoot different target objects under the simple background, and remove the background part from the object image to get the target object image. In addition, the obtained images of different target objects can be uploaded to a cloud server to facilitate user management and utilization.

本發明雖以實施例揭露如上,然其並非用以限定本發明實施例的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明實施例之精神和範圍內,當可做些許的更動與潤飾,因此本發明實施例之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention is disclosed by the embodiments as above, it is not intended to limit the scope of the embodiments of the present invention. Any person with ordinary knowledge in the technical field can do a little without departing from the spirit and scope of the embodiments of the present invention. Changes and retouching, therefore, the protection scope of the embodiments of the present invention shall be determined by the scope of the attached patent application.

Claims (20)

一種影像背景更換裝置,包括:一箱體;一背景布幕,置於該箱體之中並包括複數個布幕;一步進馬達;以及一微控制器,耦接至該步進馬達,且被配置以依據一切換控制信號以控制該步進馬達之轉動以在該複數個布幕之間進行切換。An image background changing device includes: a cabinet; a background curtain placed in the cabinet and including a plurality of curtains; a stepping motor; and a microcontroller coupled to the stepping motor, and It is configured to control the rotation of the stepping motor to switch between the plurality of curtains according to a switching control signal. 如申請專利範圍第1項所述之影像背景更換裝置,其中該背景布幕中之各布幕具有不同顏色。The image background changing device as described in the first item of the patent application scope, wherein each of the background screens has a different color. 如申請專利範圍第1項所述之影像背景更換裝置,其中該切換控制信號係來自與該影像背景更換裝置通訊耦接之一行動裝置。The image background changing device described in item 1 of the scope of the patent application, wherein the switching control signal is from a mobile device that is communicatively coupled with the image background changing device. 如申請專利範圍第1項所述之影像背景更換裝置,更包括:一右蓋、一左蓋、一上蓋,用以分別嵌入或固定於該箱體之右側、左側、及頂部;以及一物件平台,固定於該箱體之中並水平置放。The image background replacement device described in item 1 of the patent application scope further includes: a right cover, a left cover, and an upper cover, which are respectively embedded or fixed on the right, left, and top of the box; and an object The platform is fixed in the box and placed horizontally. 如申請專利範圍第1項所述之影像背景更換裝置,更包括:一發光裝置,置於該箱體中並且被配置以對置於該箱體中之一物件平台上之一目標物件投射光線;以及一光線感測器,置於該箱體中並且被配置以偵測該箱體內之一環境光線強度;其中該微控制器係依據該光線感測器所偵測之該環境光線強度,控制該發光裝置投射至該目標物件之該光線的一光線強度。The image background replacement device described in item 1 of the scope of patent application, further includes: a light emitting device disposed in the box and configured to project light on a target object placed on an object platform in the box And a light sensor placed in the box and configured to detect an ambient light intensity in the box; wherein the microcontroller is based on the ambient light intensity detected by the light sensor, A light intensity of the light projected by the light emitting device to the target object is controlled. 如申請專利範圍第1項所述之影像背景更換裝置,其中該箱體之一前表面係具有一拍攝窗以及一固定夾,且該固定夾被配置以將一行動裝置固定在該箱體之該前表面之該拍攝窗。According to the image background replacement device described in item 1 of the scope of patent application, one of the front surfaces of the box is provided with a shooting window and a fixing clip, and the fixing clip is configured to fix a mobile device to the box. The shooting window on the front surface. 如申請專利範圍第1項所述之影像背景更換裝置,更包括:一帶動總成,耦接至該步進馬達;以及一滾軸總成,與該帶動總成連動;其中該背景布幕係設置於該滾軸總成上,藉此被該滾軸總成帶動以在該複數個布幕之間進行切換。The image background replacement device described in item 1 of the scope of the patent application, further includes: a driving assembly coupled to the stepping motor; and a roller assembly interlocking with the driving assembly; wherein the background screen Is arranged on the roller assembly, thereby being driven by the roller assembly to switch between the plurality of curtains. 如申請專利範圍第7項所述之影像背景更換裝置,其中該帶動總成包括:一第一皮帶輪,耦接至該步進馬達,並由該步進馬達控制該第一皮帶輪之轉動;一第二皮帶輪;以及一同步帶,設置於該第一皮帶輪及該第二皮帶輪上,並經由該第一皮帶輪之轉動而帶動該第二皮帶輪之轉動;其中且該第二皮帶輪係帶動該滾軸總成進行轉動。The image background changing device according to item 7 of the scope of patent application, wherein the driving assembly includes: a first pulley, coupled to the stepper motor, and the stepper motor controls the rotation of the first pulley; A second pulley; and a timing belt disposed on the first pulley and the second pulley, and driving the rotation of the second pulley through the rotation of the first pulley; wherein the second pulley drives the roller The assembly rotates. 如申請專利範圍第8項所述之影像背景更換裝置,其中該滾軸總成包括:一第一滾軸組,耦接至該第二皮帶輪,並由該第二皮帶輪帶動該第一滾軸組之轉動;一第二滾軸組;以及一第一滾軸;其中該背景布幕係設置於該第一滾軸組、該第二滾軸組、及該第一滾軸上,且該第一滾軸組係藉由該背景布幕帶動該第二滾軸組及該第一滾軸進行轉動。The image background replacement device according to item 8 of the scope of patent application, wherein the roller assembly includes a first roller group coupled to the second pulley, and the second roller drives the first roller Rotation of the group; a second roller group; and a first roller; wherein the background curtain is disposed on the first roller group, the second roller group, and the first roller, and the The first roller group drives the second roller group and the first roller to rotate through the background curtain. 一種影像背景去除系統,包括:一影像背景更換裝置,包括:一箱體;一背景布幕,置於該箱體中並包括複數個布幕;一微控制器;以及一行動裝置,通訊耦接至該影像背景更換裝置,並且包括:一影像擷取裝置;以及一處理器;其中該影像擷取裝置係透過該箱體之一拍攝窗以該背景布幕為背景對置於該影像背景更換裝置之該箱體中之一目標物件進行拍攝以得到一物件影像;其中該處理器係執行一影像背景去除程式以去除該物件影像之一背景部分並取得相應於該目標物件之一目標物件影像;其中該微控制器係依據來自該行動裝置之一切換控制信號以控制該影像背景更換裝置切換該背景布幕之顏色;其中該物件影像為一彩色影像,且該處理器係對該物件影像進行影像處理以得到一或多個影像邊緣。An image background removal system includes: an image background replacement device, including: a cabinet; a background curtain placed in the cabinet and including a plurality of curtains; a microcontroller; and a mobile device, a communication coupling Connected to the image background replacement device, and comprising: an image capture device; and a processor; wherein the image capture device is placed against the image background through a shooting window of the box against the background curtain A target object in the box of the replacement device is photographed to obtain an object image; wherein the processor executes an image background removal program to remove a background portion of the object image and obtain a target object corresponding to the target object Image; wherein the microcontroller switches the color of the background backdrop according to a switching control signal from the mobile device to control the image background changing device; wherein the object image is a color image and the processor is to the object The image is subjected to image processing to obtain one or more image edges. 如申請專利範圍第10項所述之影像背景去除系統,其中該背景布幕中之各布幕具有不同顏色。The image background removing system as described in item 10 of the scope of patent application, wherein each of the background screens has a different color. 如申請專利範圍第10項所述之影像背景去除系統,其中該處理器更判斷該一或多個影像邊緣是否構成一封閉輪廓;若是,則該處理器係將該封閉輪廓套用於該物件影像,並取得在該物件影像中在該封閉輪廓內之一目標物件影像區域,並由該物件影像移除該目標物件影像區域之外的一背景區域以得到一目標物件影像;若否,則該處理器係判斷拍攝該目標物件是否已達一預定次數。According to the image background removal system described in item 10 of the patent application scope, wherein the processor further determines whether the edge of the one or more images constitutes a closed contour; if so, the processor applies the closed contour to the object image , And obtain a target object image area within the closed contour in the object image, and remove a background area outside the target object image area from the object image to obtain a target object image; if not, the The processor determines whether the target object has been photographed for a predetermined number of times. 如申請專利範圍第12項所述之影像背景去除系統,其中,若拍攝該目標物件已達該預定次數,該處理器係對不同拍攝循環中所相應之該一或多個影像邊緣進行一影像合成處理以取得該封閉輪廓;若拍攝該目標物件未達該預定次數,該處理器係發送該切換控制信號至該處理器,藉以控制該影像背景更換裝置切換該背景布幕之顏色,並利用該影像擷取裝置以切換顏色後之該背景布幕為背景對該目標物件進行拍攝。The image background removal system described in item 12 of the scope of patent application, wherein, if the target object has been shot for the predetermined number of times, the processor performs an image of the one or more image edges corresponding to different shooting cycles. Synthesis processing to obtain the closed outline; if the target object is not shot for the predetermined number of times, the processor sends the switching control signal to the processor to control the image background changing device to switch the color of the background curtain and use the The image capturing device shoots the target object with the background screen after switching colors as the background. 如申請專利範圍第10項所述之影像背景去除系統,更包括一雲端伺服器,且該處理器更將該目標物件影像上傳至該雲端伺服器之一資料庫。The image background removal system described in item 10 of the patent application scope further includes a cloud server, and the processor further uploads the target object image to a database of the cloud server. 一種影像背景去除方法,包括:對一目標物件進行拍攝,以得到一物件影像;判斷是否可由該物件影像取得該目標物件之一目標物件影像;若是,由該物件影像去除該物件影像之背景並取得相應於該目標物件之該目標物件影像;以及若否,切換該目標物件之背景,再重新拍攝該目標物件以取得該物件影像,並由該物件影像去除該目標物件之背景以取得相應於該目標物件之該目標物件影像。An image background removal method includes: shooting a target object to obtain an object image; determining whether a target object image of the target object can be obtained from the object image; and if so, removing the background of the object image from the object image and Obtain the target object image corresponding to the target object; and if not, switch the background of the target object, then re-shoot the target object to obtain the object image, and remove the background of the target object from the object image to obtain a corresponding The target object image of the target object. 如申請專利範圍第15項所述之影像背景去除方法,其中該物件影像為一彩色影像,且判斷是否可依據該物件影像中取得相應於該目標物件之該目標物件影像包括:該物件影像進行一影像處理以得到一或多個影像邊緣。The image background removal method described in item 15 of the scope of patent application, wherein the object image is a color image, and determining whether the target object image corresponding to the target object can be obtained from the object image includes: the object image is performed An image is processed to obtain one or more image edges. 如申請專利範圍第16項所述之影像背景去除方法,其中判斷是否可依據該物件影像中取得相應於該目標物件之該目標物件影像更包括:判斷該一或多個影像邊緣是否構成一封閉輪廓;若是,將該封閉輪廓套用於該物件影像,並取得在該物件影像中在該封閉輪廓內之一目標物件影像區域,並由該物件影像移除該目標物件影像區域之外的背景區域以得到該目標物件影像;以及若否,判斷拍攝該目標物件是否已達一預定次數。The image background removal method described in item 16 of the scope of patent application, wherein determining whether the target object image corresponding to the target object can be obtained based on the object image further includes: determining whether the edge of the one or more images constitutes a seal Outline; if so, apply the closed outline to the object image, and obtain a target object image area within the closed outline in the object image, and remove the background area outside the target object image area from the object image To obtain the target object image; and if not, determine whether the target object has been shot a predetermined number of times. 如申請專利範圍第17項所述之影像背景去除方法,其中判斷是否可依據該物件影像中取得相應於該目標物件之該目標物件影像更包括:若拍攝該目標物件已達該預定次數,對不同拍攝循環中所相應之該一或多個影像邊緣進行一影像合成處理以取得該封閉輪廓;以及若拍攝該目標物件未達該預定次數,切換該目標物件之背景,並以切換後之背景對該目標物件進行拍攝。The image background removal method described in item 17 of the scope of patent application, wherein determining whether the target object image corresponding to the target object can be obtained from the object image further includes: if the target object has been shot for the predetermined number of times, the Perform an image synthesis process on the one or more image edges corresponding to different shooting cycles to obtain the closed contour; and if the target object is not shot for the predetermined number of times, switch the background of the target object and use the switched background Shoot the target object. 如申請專利範圍第15項所述之影像背景去除方法,更包括:將該目標物件影像上傳至一雲端伺服器之一資料庫。The image background removing method described in item 15 of the patent application scope further includes uploading the target object image to a database of a cloud server. 一種電腦程式產品,該電腦程式產品係經由一處理器載入該程式以執行如申請專利範圍第15項中之影像背景去除方法。A computer program product, the computer program product is loaded into the program through a processor to execute the image background removal method as in item 15 of the scope of patent application.
TW107108271A 2018-03-12 2018-03-12 Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof TWI662355B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107108271A TWI662355B (en) 2018-03-12 2018-03-12 Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof
CN201810285976.6A CN110264394B (en) 2018-03-12 2018-04-03 Image background removing system and method, and image background replacing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107108271A TWI662355B (en) 2018-03-12 2018-03-12 Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof

Publications (2)

Publication Number Publication Date
TWI662355B true TWI662355B (en) 2019-06-11
TW201939156A TW201939156A (en) 2019-10-01

Family

ID=67764467

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107108271A TWI662355B (en) 2018-03-12 2018-03-12 Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof

Country Status (2)

Country Link
CN (1) CN110264394B (en)
TW (1) TWI662355B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI734186B (en) * 2019-08-09 2021-07-21 威盛電子股份有限公司 Training image generating method and electronic device
TWI751571B (en) * 2020-06-02 2022-01-01 仁寶電腦工業股份有限公司 Video playback system and environment atmosphere adjusting method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721409B (en) * 2021-07-28 2023-06-27 德州职业技术学院 Photographic effect generating device
CN115272644A (en) * 2022-07-06 2022-11-01 珠海格力电器股份有限公司 Image acquisition method, image acquisition device, storage medium and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200605647A (en) * 2004-07-23 2006-02-01 Imagetech Co Ltd Method and system for media production in virtual studio
TW201516986A (en) * 2013-10-24 2015-05-01 Jung-Tang Huang Wireless controllable electric appliance system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6063680B2 (en) * 2012-09-13 2017-01-18 オリンパス株式会社 Image generation apparatus, image generation method, imaging apparatus, and imaging method
CN106778449B (en) * 2015-11-23 2020-09-22 创意点子数位股份有限公司 Object identification method of dynamic image and interactive film establishment method for automatically capturing target image
CN106056532B (en) * 2016-05-20 2020-04-07 深圳市奥拓电子股份有限公司 Method and device for removing background image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200605647A (en) * 2004-07-23 2006-02-01 Imagetech Co Ltd Method and system for media production in virtual studio
TW201516986A (en) * 2013-10-24 2015-05-01 Jung-Tang Huang Wireless controllable electric appliance system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI734186B (en) * 2019-08-09 2021-07-21 威盛電子股份有限公司 Training image generating method and electronic device
TWI751571B (en) * 2020-06-02 2022-01-01 仁寶電腦工業股份有限公司 Video playback system and environment atmosphere adjusting method

Also Published As

Publication number Publication date
CN110264394B (en) 2022-10-21
CN110264394A (en) 2019-09-20
TW201939156A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
TWI662355B (en) Image background removing system, image background changing apparatus, image background removing method, and computer program product thereof
CN107426887B (en) Operation mode conversion method of intelligent lighting device
KR102489402B1 (en) Display apparatus and visual display method thereof
TWI661725B (en) Camera temperature compensating system and smart terminal employing same
US11405539B2 (en) Background replacement system and methods
TWI688814B (en) Flashlight module, electronic device with the flashlight module, and method for controlling the flashlight module
US20150043225A1 (en) Laser scanning systems and methods
CN110809878A (en) Ambient light and proximity detection method, shooting method and terminal
US10270986B2 (en) Near-infrared video compositing
US10447940B2 (en) Photographing apparatus using multiple exposure sensor and photographing method thereof
WO2019011090A1 (en) White balance synchronization method and apparatus, and terminal device
CN105794194A (en) Camera selection based on occlusion of field of view
US20180332239A1 (en) Background replacement utilizing infrared light and visible light
US10674096B2 (en) Near-infrared video compositing
US10560645B2 (en) Immersive video environment using near-infrared video compositing
CN104754212A (en) Electronic Apparatus And Method Of Capturing Moving Subject By Using The Same
JP7764510B2 (en) Image processing device, imaging device, image processing method, image processing program, and recording medium
WO2019137262A1 (en) Terminal photographing method and device, screen display method and device as well as terminal
US10447998B2 (en) Power efficient long range depth sensing
ES2952095T3 (en) Frame dropping processing method and system for reproduced PPT
JP2018166253A (en) Information processing apparatus, information processing method, and program
JP2015159460A (en) Projection system, projection apparatus, photographing apparatus, guide frame generation method and program
CN104994310B (en) A kind of image pickup method and mobile terminal
JP2005257869A (en) Imaging device
TWI357259B (en) Camera and method for adjusting flash intensity of