US20220036513A1 - System and method for generating bokeh image for dslr quality depth-of-field rendering and refinement and training method for the same - Google Patents
System and method for generating bokeh image for dslr quality depth-of-field rendering and refinement and training method for the same Download PDFInfo
- Publication number
- US20220036513A1 US20220036513A1 US17/106,676 US202017106676A US2022036513A1 US 20220036513 A1 US20220036513 A1 US 20220036513A1 US 202017106676 A US202017106676 A US 202017106676A US 2022036513 A1 US2022036513 A1 US 2022036513A1
- Authority
- US
- United States
- Prior art keywords
- map
- cnn
- electronic device
- bokeh
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000012549 training Methods 0.000 title claims description 50
- 238000009877 rendering Methods 0.000 title description 5
- 238000013527 convolutional neural network Methods 0.000 claims abstract description 58
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000007670 refining Methods 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 claims description 34
- 230000008569 process Effects 0.000 claims description 25
- 238000004891 communication Methods 0.000 description 18
- 238000003384 imaging method Methods 0.000 description 16
- 238000004422 calculation algorithm Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 3
- 210000002569 neuron Anatomy 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000002591 computed tomography Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000002583 angiography Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- -1 electricity Substances 0.000 description 1
- 238000002567 electromyography Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000011514 reflex Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G06T5/002—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/60—Image enhancement or restoration using machine learning, e.g. neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/50—Depth or shape recovery
- G06T7/55—Depth or shape recovery from multiple images
- G06T7/593—Depth or shape recovery from multiple images from stereo images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
- G06T2207/10012—Stereo images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
Definitions
- This disclosure relates generally to imaging systems. More specifically, this disclosure relates to a system and method for generating a Bokeh image for digital single-lens reflex (DSLR) quality depth-of-field rendering and refinement and a training method for the same.
- DSLR digital single-lens reflex
- Bokeh refers to an effect that helps to improve the aesthetic quality of an image by blurring out-of-focus portions of the image (such as a background of the image) while keeping other portions of the image (such as a foreground or one or more subjects) in focus.
- Bokeh is achieved computationally rather than optically.
- a mobile electronic device may estimate various depths in a scene, and Bokeh images of the scene can be created computationally using the estimated depths.
- This disclosure provides a system and method for generating a Bokeh image for DSLR quality depth-of-field rendering and refinement and a training method for the same.
- a method in a first embodiment, includes processing, using at least one processor of an electronic device, multiple reference images of a scene using a first convolutional neural network (CNN) to generate a confidence map and a disparity map.
- the method also includes generating, using the at least one processor, an initial Bokeh image based on the disparity map and the reference images using a depth-of-field (DoF) renderer.
- the method further includes refining, using the at least one processor, the initial Bokeh image using a second CNN to generate a refined Bokeh image, where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image.
- an electronic device in a second embodiment, includes at least one memory configured to store multiple reference images of a scene.
- the electronic device also includes at least one processing device configured to process the reference images using a first CNN to generate a confidence map and a disparity map.
- the at least one processing device is also configured to generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer.
- the at least one processing device is further configured to refine the initial Bokeh image using a second CNN to generate a refined Bokeh image, where the second CNN is configured to use the confidence map, the disparity map, and the reference images to generate the refined Bokeh image.
- a method in a third embodiment, includes obtaining, using at least one processor of an electronic device, training data that includes multiple reference images, a ground truth disparity map, and a ground truth Bokeh image. The method also includes training, using the at least one processor, a CNN using the reference images and the ground truth disparity map. The method further includes training, using the at least one processor, a second CNN using the reference images, an initial Bokeh image, a confidence map generated during the training of the first CNN, and a predicted disparity map generated during the training of the first CNN.
- the term “or” is inclusive, meaning and/or.
- various functions described below can be implemented or supported by one or more computer programs, each of which is formed from computer readable program code and embodied in a computer readable medium.
- application and “program” refer to one or more computer programs, software components, sets of instructions, procedures, functions, objects, classes, instances, related data, or a portion thereof adapted for implementation in a suitable computer readable program code.
- computer readable program code includes any type of computer code, including source code, object code, and executable code.
- computer readable medium includes any type of medium capable of being accessed by a computer, such as read only memory (ROM), random access memory (RAM), a hard disk drive, a compact disc (CD), a digital video disc (DVD), or any other type of memory.
- ROM read only memory
- RAM random access memory
- CD compact disc
- DVD digital video disc
- a “non-transitory” computer readable medium excludes wired, wireless, optical, or other communication links that transport transitory electrical or other signals.
- a non-transitory computer readable medium includes media where data can be permanently stored and media where data can be stored and later overwritten, such as a rewritable optical disc or an erasable memory device.
- phrases such as “have,” “may have,” “include,” or “may include” a feature indicate the existence of the feature and do not exclude the existence of other features.
- the phrases “A or B,” “at least one of A and/or B,” or “one or more of A and/or B” may include all possible combinations of A and B.
- “A or B,” “at least one of A and B,” and “at least one of A or B” may indicate all of (1) including at least one A, (2) including at least one B, or (3) including at least one A and at least one B.
- first and second may modify various components regardless of importance and do not limit the components. These terms are only used to distinguish one component from another.
- a first user device and a second user device may indicate different user devices from each other, regardless of the order or importance of the devices.
- a first component may be denoted a second component and vice versa without departing from the scope of this disclosure.
- the phrase “configured (or set) to” may be interchangeably used with the phrases “suitable for,” “having the capacity to,” “designed to,” “adapted to,” “made to,” or “capable of” depending on the circumstances.
- the phrase “configured (or set) to” does not essentially mean “specifically designed in hardware to.” Rather, the phrase “configured to” may mean that a device can perform an operation together with another device or parts.
- the phrase “processor configured (or set) to perform A, B, and C” may mean a generic-purpose processor (such as a CPU or application processor) that may perform the operations by executing one or more software programs stored in a memory device or a dedicated processor (such as an embedded processor) for performing the operations.
- Examples of an “electronic device” may include at least one of a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop computer, a netbook computer, a workstation, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device (such as smart glasses, a head-mounted device (HMD), electronic clothes, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch).
- PDA personal digital assistant
- PMP portable multimedia player
- MP3 player MP3 player
- a mobile medical device such as smart glasses, a head-mounted device (HMD), electronic clothes, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch.
- Other examples of an electronic device include a smart home appliance.
- Examples of the smart home appliance may include at least one of a television, a digital video disc (DVD) player, an audio player, a refrigerator, an air conditioner, a cleaner, an oven, a microwave oven, a washer, a drier, an air cleaner, a set-top box, a home automation control panel, a security control panel, a TV box (such as SAMSUNG HOMESYNC, APPLETV, or GOOGLE TV), a smart speaker or speaker with an integrated digital assistant (such as SAMSUNG GALAXY HOME, APPLE HOMEPOD, or AMAZON ECHO), a gaming console (such as an XBOX, PLAYSTATION, or NINTENDO), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
- a television such as SAMSUNG HOMESYNC, APPLETV, or GOOGLE TV
- a smart speaker or speaker with an integrated digital assistant such as SAMSUNG GALAXY HOME, APPLE HOMEPOD, or AMAZON
- an electronic device include at least one of various medical devices (such as diverse portable medical measuring devices (like a blood sugar measuring device, a heartbeat measuring device, or a body temperature measuring device), a magnetic resource angiography (MRA) device, a magnetic resource imaging (MRI) device, a computed tomography (CT) device, an imaging device, or an ultrasonic device), a navigation device, a global positioning system (GPS) receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, a sailing electronic device (such as a sailing navigation device or a gyro compass), avionics, security devices, vehicular head units, industrial or home robots, automatic teller machines (ATMs), point of sales (POS) devices, or Internet of Things (IoT) devices (such as a bulb, various sensors, electric or gas meter, sprinkler, fire alarm, thermostat, street light, toaster, fitness equipment, hot water tank, heater, or boiler).
- MRA magnetic resource
- an electronic device include at least one part of a piece of furniture or building/structure, an electronic board, an electronic signature receiving device, a projector, or various measurement devices (such as devices for measuring water, electricity, gas, or electromagnetic waves).
- an electronic device may be one or a combination of the above-listed devices.
- the electronic device may be a flexible electronic device.
- the electronic device disclosed here is not limited to the above-listed devices and may include new electronic devices depending on the development of technology.
- the term “user” may denote a human or another device (such as an artificial intelligent electronic device) using the electronic device.
- FIG. 1 illustrates an example network configuration including an electronic device according to this disclosure
- FIG. 2 illustrates an example architecture for a Bokeh network for generating and refining a Bokeh image according to this disclosure
- FIG. 3 illustrates an example architecture of a disparity network of FIG. 2 according to this disclosure
- FIG. 4 illustrates additional details of the generation of a confidence map by the disparity network of FIG. 2 according to this disclosure
- FIG. 5 illustrates an example architecture of a depth-of-field (DoF) network of FIG. 2 according to this disclosure
- FIG. 6 illustrates an example process for training a Bokeh network according to this disclosure
- FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure
- FIG. 8 illustrates an example method for generating and refining a Bokeh image according to this disclosure.
- FIG. 9 illustrates an example method for training a Bokeh network according to this disclosure.
- FIGS. 1 through 9 discussed below, and the various embodiments of this disclosure are described with reference to the accompanying drawings. However, it should be appreciated that this disclosure is not limited to these embodiments and all changes and/or equivalents or replacements thereto also belong to the scope of this disclosure.
- Bokeh refers to an effect that helps to improve the aesthetic quality of an image by blurring out-of-focus portions of the image (such as a background of the image) while keeping other portions of the image (such as a foreground or one or more subjects) in focus.
- many devices can only simulate the Bokeh effect using stereo depth estimation and depth-of-field (DoF) rendering.
- DoF depth-of-field
- the stereo depth estimation and DoF renderer are two separate modules that operate sequentially and independently from one another. For example, in depth estimation, a typical process involves down-sampling a stereo image pair, applying a disparity estimation algorithm to generate a disparity map, and up-sampling the disparity map and converting it to a depth map.
- the DoF renderer takes the depth map (or the disparity map) and a simulated lens configuration (such as focal length, aperture, and the like) and blurs portions of an image to different degrees based on their distances from a selected focal plane. Given the simulated lens configuration, the behavior of the DoF renderer is precisely defined, namely it applies different degrees of blurriness to a scene according to the depth map. However, since the two modules are sequential, the DoF renderer cannot recover the errors in the depth estimation module. Also, a conventional DoF renderer does not include any machine learning operations or techniques. As a result, errors in the depth estimation typically result in one or more artifacts in rendered Bokeh images. In other words, the quality of a Bokeh image largely depends on the depth map instead of the DoF renderer.
- the disclosed embodiments implement a Bokeh network architecture that includes one or more machine learning techniques to refine Bokeh images.
- the generation of a refined Bokeh image is separated into two steps.
- One step is performed at the time of image capture, where a modified disparity network is applied to generate a disparity map and a confidence map.
- the DoF renderer generates a Bokeh image based on reference images and the disparity map.
- the resulting Bokeh image can be shown in a live view to a user.
- Another step is performed in an image gallery mode or gallery application on a device, where a DoF network is applied to refine the Bokeh image based on meta information obtained at capture time.
- the disclosed embodiments ensure both a good user experience (where the user can view the Bokeh image immediately) and good image quality (where the Bokeh image is refined by fusing multiple sources of meta information).
- FIG. 1 illustrates an example network configuration 100 including an electronic device according to this disclosure.
- the embodiment of the network configuration 100 shown in FIG. 1 is for illustration only. Other embodiments of the network configuration 100 could be used without departing from the scope of this disclosure.
- an electronic device 101 is included in the network configuration 100 .
- the electronic device 101 can include at least one of a bus 110 , a processor 120 , a memory 130 , an input/output (I/O) interface 150 , a display 160 , a communication interface 170 , or a sensor 180 .
- the electronic device 101 may exclude at least one of these components or may add at least one other component.
- the bus 110 includes a circuit for connecting the components 120 - 180 with one another and for transferring communications (such as control messages and/or data) between the components.
- the processor 120 includes one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP).
- the processor 120 is able to perform control on at least one of the other components of the electronic device 101 and/or perform an operation or data processing relating to communication.
- the processor 120 can be a graphics processor unit (GPU).
- the processor 120 can process multiple reference images using a first convolutional neural network (CNN) to generate a confidence map and a disparity map, generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer, and refine the initial Bokeh image using a second CNN to generate a refined Bokeh image (where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image).
- CNN convolutional neural network
- the memory 130 can include a volatile and/or non-volatile memory.
- the memory 130 can store commands or data related to at least one other component of the electronic device 101 .
- the memory 130 can store software and/or a program 140 .
- the program 140 includes, for example, a kernel 141 , middleware 143 , an application programming interface (API) 145 , and/or an application program (or “application”) 147 .
- At least a portion of the kernel 141 , middleware 143 , or API 145 may be denoted an operating system (OS).
- OS operating system
- the kernel 141 can control or manage system resources (such as the bus 110 , processor 120 , or memory 130 ) used to perform operations or functions implemented in other programs (such as the middleware 143 , API 145 , or application 147 ).
- the kernel 141 provides an interface that allows the middleware 143 , the API 145 , or the application 147 to access the individual components of the electronic device 101 to control or manage the system resources.
- the application 147 includes one or more applications for image capture and image processing as discussed below. These functions can be performed by a single application or by multiple applications that each carry out one or more of these functions.
- the middleware 143 can function as a relay to allow the API 145 or the application 147 to communicate data with the kernel 141 , for instance.
- a plurality of applications 147 can be provided.
- the middleware 143 is able to control work requests received from the applications 147 , such as by allocating the priority of using the system resources of the electronic device 101 (like the bus 110 , the processor 120 , or the memory 130 ) to at least one of the plurality of applications 147 .
- the API 145 is an interface allowing the application 147 to control functions provided from the kernel 141 or the middleware 143 .
- the API 145 includes at least one interface or function (such as a command) for filing control, window control, image processing, or text control.
- the I/O interface 150 serves as an interface that can, for example, transfer commands or data input from a user or other external devices to other component(s) of the electronic device 101 .
- the I/O interface 150 can also output commands or data received from other component(s) of the electronic device 101 to the user or the other external device.
- the display 160 includes, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a quantum-dot light emitting diode (QLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display.
- the display 160 can also be a depth-aware display, such as a multi-focal display.
- the display 160 is able to display, for example, various contents (such as text, images, videos, icons, or symbols) to the user.
- the display 160 can include a touchscreen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a body portion of the user.
- the communication interface 170 is able to set up communication between the electronic device 101 and an external electronic device (such as a first electronic device 102 , a second electronic device 104 , or a server 106 ).
- the communication interface 170 can be connected with a network 162 or 164 through wireless or wired communication to communicate with the external electronic device.
- the communication interface 170 can be a wired or wireless transceiver or any other component for transmitting and receiving signals, such as images.
- the wireless communication is able to use at least one of, for example, long term evolution (LTE), long term evolution-advanced (LTE-A), 5th generation wireless system (5G), millimeter-wave or 60 GHz wireless communication, Wireless USB, code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunication system (UMTS), wireless broadband (WiBro), or global system for mobile communication (GSM), as a cellular communication protocol.
- the wired connection can include, for example, at least one of a universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), or plain old telephone service (POTS).
- the network 162 or 164 includes at least one communication network, such as a computer network (like a local area network (LAN) or wide area network (WAN)), Internet, or a telephone network.
- the electronic device 101 further includes one or more sensors 180 that can meter a physical quantity or detect an activation state of the electronic device 101 and convert metered or detected information into an electrical signal.
- one or more sensors 180 can include one or more cameras or other imaging sensors for capturing images of scenes.
- the sensor(s) 180 can also include one or more buttons for touch input, a gesture sensor, a gyroscope or gyro sensor, an air pressure sensor, a magnetic sensor or magnetometer, an acceleration sensor or accelerometer, a grip sensor, a proximity sensor, a color sensor (such as a red green blue (RGB) sensor), a bio-physical sensor, a temperature sensor, a humidity sensor, an illumination sensor, an ultraviolet (UV) sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an ultrasound sensor, an iris sensor, or a fingerprint sensor.
- the sensor(s) 180 can further include an inertial measurement unit, which can include one or more accelerometers, gyroscopes, and other components.
- the sensor(s) 180 can include a control circuit for controlling at least one of the sensors included here. Any of these sensor(s) 180 can be located within the electronic device 101 .
- the first external electronic device 102 or the second external electronic device 104 can be a wearable device or an electronic device-mountable wearable device (such as an HMD).
- the electronic device 101 can communicate with the electronic device 102 through the communication interface 170 .
- the electronic device 101 can be directly connected with the electronic device 102 to communicate with the electronic device 102 without involving with a separate network.
- the electronic device 101 can also be an augmented reality wearable device, such as eyeglasses, that include one or more cameras.
- the first and second external electronic devices 102 and 104 and the server 106 each can be a device of the same or a different type from the electronic device 101 .
- the server 106 includes a group of one or more servers.
- all or some of the operations executed on the electronic device 101 can be executed on another or multiple other electronic devices (such as the electronic devices 102 and 104 or server 106 ).
- the electronic device 101 when the electronic device 101 should perform some function or service automatically or at a request, the electronic device 101 , instead of executing the function or service on its own or additionally, can request another device (such as electronic devices 102 and 104 or server 106 ) to perform at least some functions associated therewith.
- the other electronic device (such as electronic devices 102 and 104 or server 106 ) is able to execute the requested functions or additional functions and transfer a result of the execution to the electronic device 101 .
- the electronic device 101 can provide a requested function or service by processing the received result as it is or additionally.
- a cloud computing, distributed computing, or client-server computing technique may be used, for example. While FIG. 1 shows that the electronic device 101 includes the communication interface 170 to communicate with the external electronic device 104 or server 106 via the network 162 or 164 , the electronic device 101 may be independently operated without a separate communication function according to some embodiments of this disclosure.
- the server 106 can include the same or similar components 110 - 180 as the electronic device 101 (or a suitable subset thereof).
- the server 106 can support to drive the electronic device 101 by performing at least one of operations (or functions) implemented on the electronic device 101 .
- the server 106 can include a processing module or processor that may support the processor 120 implemented in the electronic device 101 .
- the server 106 can process multiple reference images using a first CNN to generate a confidence map and a disparity map, generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer, and refine the initial Bokeh image using a second CNN to generate a refined Bokeh image (where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image).
- FIG. 1 illustrates one example of a network configuration 100 including an electronic device 101
- the network configuration 100 could include any number of each component in any suitable arrangement.
- computing and communication systems come in a wide variety of configurations, and FIG. 1 does not limit the scope of this disclosure to any particular configuration.
- FIG. 1 illustrates one operational environment in which various features disclosed in this patent document can be used, these features could be used in any other suitable system.
- FIG. 2 illustrates an example architecture for a Bokeh network 200 for generating and refining a Bokeh image according to this disclosure.
- the Bokeh network 200 is described as being implemented in the electronic device 101 shown in FIG. 1 .
- the Bokeh network 200 could be implemented in any other suitable electronic device and in any suitable system, such as by the server 106 .
- the Bokeh network 200 uses one or more machine learning techniques to generate a Bokeh image at capture time and refine the Bokeh image in an image gallery mode or gallery application.
- the Bokeh network 200 includes a disparity network 210 , a DoF renderer 220 , and a DoF network 230 . Operation of the Bokeh network 200 is divided into two steps. The first step is a Bokeh image generation step that is performed at capture time. The second step is a Bokeh refinement step that is performed in a gallery mode or gallery application of the electronic device 101 . The two-step Bokeh network 200 can be implemented for both still image capture and video capture.
- the electronic device 101 receives or obtains two images 201 and 202 of a scene that together form a stereo image pair.
- the electronic device 101 captures the images 201 and 202 in response to an event, such as a user actuating a shutter control.
- the electronic device 101 includes multiple RGB cameras or other imaging sensors 180 , and the imaging sensors 180 capture the images 201 and 202 at approximately the same moment.
- a first imaging sensor 180 could capture the image 201
- a second imaging sensor 180 could capture the image 202 .
- the images 201 and 202 are RGB images or other images that generally capture the same scene, but the images 201 and 202 appear to be from different distances or slightly different angles.
- the image 201 could be taken from an angle such that the image 201 appears to be a right image
- the image 202 could be taken from a different angle such that the image 202 appears to be a left image.
- the electronic device 101 downsamples each of the images 201 and 202 using downsampler operations 203 and 204 .
- the electronic device 101 downsamples the image 201 using the downsampler operation 203 and downsamples the image 202 using the downsampler operation 204 .
- the downsampler operations 203 and 204 are performed to reduce the quantity of data to be input to the disparity network 210 .
- the downsampler operations 203 and 204 can include any suitable downsampling or compression algorithms. While shown as two separate operations or algorithms, the downsampler operations 203 and 204 could include the same operation or algorithm that is performed serially for the images 201 and 202 .
- the electronic device 101 applies the disparity network 210 to the downsampled images 201 and 202 in order to produce a disparity map 212 and a confidence map 214 .
- the disparity map 212 represents a disparity map that corresponds to the images 201 and 202 , where different values represent different depths in the images 201 and 202 .
- the disparity map 212 may be high-resolution or low-resolution.
- the confidence map 214 corresponds pixel-to-pixel to the disparity map 212 .
- the confidence map 214 indicates how confident the disparity network 210 is about its prediction at each pixel of the disparity map 212 . As shown in FIG.
- the confidence map 214 is computed by the disparity network 210 , but the confidence map 214 may not be used in the initial Bokeh image generation of the first step. Instead, the confidence map 214 is utilized in the second step for Bokeh refinement. As discussed in greater detail below, the DoF network 230 uses the confidence map 214 in regions of low confidence. Based on values in the confidence map 214 , the DoF network 230 may trust the images 201 and 202 more or less than the disparity map 212 when rendering each pixel of the refined Bokeh image 232 .
- FIG. 3 illustrates an example architecture of the disparity network 210 of FIG. 2 according to this disclosure.
- the disparity network 210 receives the images 201 and 202 and produces the disparity map 212 and the confidence map 214 .
- the disparity network 210 is based on a convolutional neural network (CNN) architecture, which generally represents a type of deep artificial neural network that can be applied to analyze images.
- CNN convolutional neural network
- the disparity network 210 includes a pair of shared feature encoder networks 302 , one for each of the images 201 and 202 .
- Each feature encoder network 302 includes multiple convolutional layers 304 .
- Each of the convolutional layers 304 represents a layer of convolutional neurons, which operate to apply a convolution operation that emulates the response of individual neurons to visual stimuli.
- Each neuron typically applies some function to its input values (often by weighting different input values differently) to generate output values.
- Each feature encoder network 302 here is shown as including three convolutional layers 304 , but each feature encoder network 302 could include a different number of convolutional layers.
- the output of each feature encoder network 302 is a feature map that includes a number of high-level features (such as 64, 128, 256, or other number of features) associated with the corresponding image 201 or 202 .
- the high-level features from each feature encoder network 302 are passed into a cross-correlation layer 306 and then input into a feature decoder network 308 .
- the feature decoder network 308 is applied to restore the spatial resolution and generate the disparity map 212 .
- the feature decoder network 308 includes multiple deconvolutional or upsampling layers 310 . While FIG. 3 shows the feature decoder network 308 with four deconvolutional or upsampling layers 310 , the feature decoder network 308 could include a different number of deconvolutional or upsampling layers.
- the confidence map 214 is generated from the cross-correlation layer 306 in the disparity network 210 . As discussed above, the confidence map 214 represents the confidence of depth prediction of the disparity network 210 .
- the confidence map 214 is provided as an input into the DoF network 230 for Bokeh refinement. With the confidence map 214 , the DoF network 230 can be trained to rely less on the disparity map 212 and rely more on the images 201 and 202 in low confidence regions for Bokeh refinement.
- FIG. 4 illustrates additional details of the generation of a confidence map 214 by the disparity network 210 of FIG. 2 according to this disclosure.
- the disparity network 210 obtains a feature map 402 that is output from the cross-correlation layer 306 .
- the feature map 402 is a three-dimensional (3D) feature map, such as one with dimensions (H, W, C) where C is the size of the disparity search window.
- the disparity network 210 applies a softmax operation along the C dimension so that the values included in the feature map 402 are between 0 and 1 and the values along each channel dimension (the C dimension) sum to 1.
- the softmax operation is a smooth approximation of the “arguments of the maxima” (“argmax”) function.
- Softmax is often used as an activation function of a neural network to normalize the outputs of a network to a probability distribution over predicted output classes.
- the disparity network 210 determines the maximum value for each pixel in (H, W) along the channel dimension, and this value is used as the value for the corresponding pixel in the confidence map 214 .
- the 2D confidence map 214 represents the confidence of prediction at each pixel of the disparity map 212 .
- the electronic device 101 obtains the disparity map 212 generated using the disparity network 210 and provides the disparity map 212 as an input to the DoF renderer 220 .
- the DoF renderer 220 uses the disparity map 212 to generate an initial Bokeh image 222 from the images 201 and 202 .
- the DoF renderer 220 may use one or more simulated lens configurations (such as focal length, aperture, and the like) to apply different degrees of blurriness to the initial Bokeh image 222 according to the disparity map 212 .
- the initial Bokeh image 222 may exhibit stronger blur for farther distances.
- the DoF renderer 220 represents any suitable algorithm or process for applying blur to generate a Bokeh image.
- the DoF renderer 220 is a standard mechanic procedure, meaning the DoF renderer 220 does not recover errors in the disparity map 212 . Accordingly, the initial Bokeh image 222 may exhibit one or more artifacts or loss of details.
- the initial Bokeh image 222 is provided as an input to the DoF network 230 .
- the electronic device 101 applies the DoF network 230 to blend and refine the initial Bokeh image 222 into a refined Bokeh image 232 .
- the DoF network 230 uses the images 201 and 202 (the reference images), the disparity map 212 , and the confidence map 214 as additional inputs to blend and refine the initial Bokeh image 222 into the refined Bokeh image 232 .
- the disparity map 212 , the confidence map 214 , and the initial Bokeh image 222 can include meta information that is included in or associated with the images 201 and 202 (such as embedded in JPG files or other files of the images).
- the first step operations leading to the generation of the initial Bokeh image 222 are performed at image capture time.
- the DoF network 230 can be applied in a gallery mode or gallery application of the electronic device 101 to generate the refined Bokeh image 232 .
- FIG. 5 illustrates an example architecture of the DoF network 230 of FIG. 2 according to this disclosure.
- the DoF network 230 is based on a CNN architecture and includes an encoder network 502 and a decoder network 508 .
- the encoder network 502 includes multiple convolutional layers 504 . While the encoder network 502 is shown here as including four convolutional layers 504 , the encoder network 502 could include a different number of convolutional layers.
- the decoder network 508 includes multiple deconvolutional or upsampling layers 510 . While FIG. 5 shows the decoder network 508 with four deconvolutional or upsampling layers 510 , the decoder network 508 could include a different number of deconvolutional or upsampling layers.
- the DoF network 230 combines (i) the all-in-focus reference images 201 and 202 , (ii) the disparity map 212 that is predicted by the disparity network 210 , and (iii) the initial Bokeh image 222 produced by the DoF renderer 220 into a multi-channel feature map 506 .
- the feature map 506 is a seven-channel feature map, however other numbers of channels are possible and within the scope of this disclosure.
- the encoder network 502 and the decoder network 508 are applied to the feature map 506 .
- the confidence map 214 is concatenated in the middle of the convolutional layers 504 of the encoder network 502 .
- the output of the DoF network 230 is the refined Bokeh image 232 .
- FIGS. 2 through 5 can be implemented in an electronic device 101 , 102 , 104 , server 106 , or other device in any suitable manner.
- the operations shown in FIGS. 2 through 5 can be implemented or supported using one or more software applications or other software instructions that are executed by the processor 120 of the electronic device 101 , 102 , 104 , server 106 , or other device.
- at least some of the operations shown in FIGS. 2 through 5 can be implemented or supported using dedicated hardware components.
- the operations shown in FIGS. 2 through 5 can be performed using any suitable hardware or any suitable combination of hardware and software/firmware instructions.
- FIGS. 2 through 5 illustrate example details of a Bokeh network 200
- various changes may be made to FIGS. 2 through 5 .
- various operations shown in FIGS. 2 through 5 could overlap, occur in parallel, occur in a different order, or occur any number of times (including zero times).
- the specific operations shown in FIGS. 2 through 5 are examples only, and other techniques could be used to perform each of the operations shown in FIGS. 2 through 5 .
- FIG. 6 illustrates an example process 600 for training a Bokeh network according to this disclosure.
- the process 600 is described as involving the use of the electronic device 101 of FIG. 1 and some of the components depicted in the Bokeh network 200 of FIGS. 2 through 5 .
- the process 600 could be used with any other suitable device (such as the server 106 ) and any other suitable convolutional neural network architecture.
- the process 600 could be performed using the server 106 , and the trained Bokeh network may then be deployed to the electronic device 101 .
- the electronic device 101 trains the Bokeh network 200 , which includes training the disparity network 210 and the DoF network 230 .
- the training process 600 is performed in two stages. The first stage involves training the disparity network 210 for disparity map estimation, and the second stage involves training the DoF network 230 for Bokeh refinement.
- the electronic device 101 obtains training data using a synthetic stereo imaging engine 602 .
- the training process 600 uses the synthetic stereo imaging engine 602 for training data, rather than relying on real photography, because it can be difficult or impossible to obtain a dense pixel-level accurate disparity map ground truth in real photography.
- the synthetic stereo imaging engine 602 represents any suitable graphical image generation engine, algorithm, or process.
- the synthetic stereo imaging engine 602 is a graphics generation engine similar to a gaming engine that is used in computer gaming consoles.
- a DSLR frame lens style simulator 604 is executed or otherwise used to provide multiple parameters (such as focal lengths, apertures, effects, and the like) that can be used as an input to the synthetic stereo imaging engine 602 for generating the training data.
- An additional input to the synthetic stereo imaging engine 602 can include specification information 606 of the mobile camera system.
- the synthetic stereo imaging engine 602 operates to generate multiple types of training data, including reference images 611 and 612 , a ground truth disparity map 613 , and a ground truth DSLR style Bokeh image 614 .
- the reference images 611 and 612 include a stereo image pair and may correspond to the images 201 and 202 of FIG. 2 .
- the four types of training data 611 - 614 are used to train the Bokeh network 200 .
- the training process 600 is performed in two stages.
- the first stage is to train the disparity network 210 for disparity map estimation.
- the electronic device 101 takes the stereo reference images 611 and 612 and the ground truth disparity map 613 and downsamples the reference images 611 and 612 and ground truth disparity map 613 using downsampler operations 616 - 618 .
- the electronic device 101 downsamples the reference image 611 using the downsampler operation 616 , downsamples the reference image 612 using the downsampler operation 617 , and downsamples the ground truth disparity map 613 using the downsampler operation 618 .
- the downsampler operations 616 - 618 can include any suitable downsampling or compression algorithms.
- the downsampler operations 616 - 618 could include one or more common operations or algorithms.
- the electronic device 101 uses an iterative training process to apply the disparity network 210 to the downsampled images 611 and 612 to generate the predicted disparity map 212 and the confidence map 214 , which represents the confidence of the disparity network 210 on the predicted disparity map 212 .
- the electronic device 101 calculates losses using a disparity loss function 620 .
- the disparity loss function 620 determines the end point error (EPE) for that iteration between the ground truth disparity map 613 and the predicted disparity map 212 .
- EPE end point error
- the disparity loss function 620 helps guide updating of weights for the disparity network 210 .
- the weights of the disparity network 210 are fixed for use during the second stage of training, where the second stage trains the DoF network 230 for Bokeh refinement.
- the electronic device 101 applies the DoF renderer 220 to the reference images 611 and 612 to obtain an initial Bokeh image 222 .
- the DoF renderer 220 is a mechanic process, so there are no weights or trainable parameters used in the DoF renderer 220 .
- the electronic device 101 uses multiple inputs, including the initial Bokeh image 222 , the reference images 611 and 612 , the disparity map 212 , and the confidence map 214 , and applies the DoF network 230 to the inputs to generate a simulated Bokeh image 622 .
- the electronic device 101 calculates losses using a Bokeh loss function 624 .
- the Bokeh loss function 624 determines the L2 error or other error between the ground truth Bokeh image 614 and the simulated Bokeh image 622 .
- the Bokeh loss function 624 helps guide updating of weights for the DoF network 230 .
- the objective of training the DoF network 230 is to minimize the Bokeh loss function 624 .
- the Bokeh network 200 is trained using the disparity loss function 620 and the Bokeh loss function 624 , the Bokeh network 200 is able to recover the correct simulated Bokeh image 622 in the DoF network 230 , even if the disparity map 212 produced by the disparity network 210 has errors.
- FIG. 6 illustrates one example of a process 600 for training a Bokeh network
- various changes may be made to FIG. 6 .
- the disparity network 210 and the DoF network 230 may be trained in any other suitable manner, which may involve the use of other or additional loss functions.
- FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure. More specifically, FIGS. 7A and 7B depict a comparison between a Bokeh image 701 of a scene that is generated using conventional image processing and a refined Bokeh image 702 of the same scene that is generated using one of the embodiments described above.
- the Bokeh image 701 was captured and processed using a conventional image operation. No refinement of the Bokeh image 701 was performed. As can be seen in FIG. 7A , the Bokeh image 701 exhibits significant blurring or missing details in regions 703 - 705 . In contrast, the refined Bokeh image 702 in FIG. 7B was captured and processed using the Bokeh refinement operations described above. The resulting refined Bokeh image 702 provides superior results compared to the Bokeh image 701 , particularly with respect to the recovered details in the regions 703 - 705 .
- FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure
- various changes may be made to FIGS. 7A and 7B .
- images can be captured of numerous scenes under different conditions, and these figures do not limit the scope of this disclosure.
- These figures are merely meant to illustrate example types of benefits that might be obtainable using the techniques described above.
- FIG. 8 illustrates an example method 800 for generating and refining a Bokeh image according to this disclosure.
- the method 800 shown in FIG. 8 is described as involving the use of the Bokeh network 200 shown in FIGS. 2 through 5 with the electronic device 101 shown in FIG. 1 .
- the method 800 shown in FIG. 8 could be used with any other suitable electronic device and in any suitable system.
- an electronic device processes multiple reference images of a scene using a first CNN to generate a confidence map and a disparity map.
- This could include, for example, the electronic device 101 processing the images 201 and 202 using the disparity network 210 to generate the disparity map 212 and the confidence map 214 .
- the electronic device generates an initial Bokeh image based on the disparity map and the reference images using a DoF renderer. This could include, for example, the electronic device 101 using the DoF renderer 220 to generate the initial Bokeh image 222 based the disparity map 212 and the images 201 and 202 .
- the electronic device refines the initial Bokeh image using a second CNN to generate a refined Bokeh image.
- FIG. 8 illustrates one example of a method 800 for generating and refining a Bokeh image
- various changes may be made to FIG. 8 .
- steps in FIG. 8 could overlap, occur in parallel, occur in a different order, or occur any number of times.
- FIG. 9 illustrates an example method 900 for training a Bokeh network according to this disclosure.
- the method 900 shown in FIG. 9 is described as involving the use of the training process 600 of FIG. 6 on the Bokeh network 200 of FIGS. 2 through 5 using the electronic device 101 shown in FIG. 1 .
- the method 900 shown in FIG. 9 could be used with any other suitable electronic device and in any suitable system.
- an electronic device obtains training data that includes multiple reference images, a ground truth disparity map, and a ground truth Bokeh image. This could include, for example, the electronic device 101 using the synthetic stereo imaging engine 602 to generate the reference images 611 and 612 , the ground truth disparity map 613 , and the ground truth Bokeh image 614 .
- the electronic device trains a first CNN using the reference images and the ground truth disparity map. This could include, for example, the electronic device 101 training the disparity network 210 using the reference images 611 and 612 and the ground truth disparity map 613 .
- the electronic device trains a second CNN using the reference images, an initial Bokeh image, a confidence map generated during the training of the first CNN, and a predicted disparity map generated during the training of the first CNN.
- FIG. 9 illustrates one example of a method 900 for training a Bokeh network
- various changes may be made to FIG. 9 .
- steps in FIG. 9 could overlap, occur in parallel, occur in a different order, or occur any number of times.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
- This application claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Patent Application No. 63/057,470 filed on Jul. 28, 2020, which is hereby incorporated by reference in its entirety.
- This disclosure relates generally to imaging systems. More specifically, this disclosure relates to a system and method for generating a Bokeh image for digital single-lens reflex (DSLR) quality depth-of-field rendering and refinement and a training method for the same.
- Many mobile electronic devices, such as smartphones and tablet computers, include cameras that can be used to capture still and video images. While convenient, cameras on mobile electronic devices typically have short focal lengths and small aperture sizes, so pictures taken on a mobile electronic device are usually sharp. “Bokeh” refers to an effect that helps to improve the aesthetic quality of an image by blurring out-of-focus portions of the image (such as a background of the image) while keeping other portions of the image (such as a foreground or one or more subjects) in focus. For many mobile electronic devices, Bokeh is achieved computationally rather than optically. For example, a mobile electronic device may estimate various depths in a scene, and Bokeh images of the scene can be created computationally using the estimated depths.
- This disclosure provides a system and method for generating a Bokeh image for DSLR quality depth-of-field rendering and refinement and a training method for the same.
- In a first embodiment, a method includes processing, using at least one processor of an electronic device, multiple reference images of a scene using a first convolutional neural network (CNN) to generate a confidence map and a disparity map. The method also includes generating, using the at least one processor, an initial Bokeh image based on the disparity map and the reference images using a depth-of-field (DoF) renderer. The method further includes refining, using the at least one processor, the initial Bokeh image using a second CNN to generate a refined Bokeh image, where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image.
- In a second embodiment, an electronic device includes at least one memory configured to store multiple reference images of a scene. The electronic device also includes at least one processing device configured to process the reference images using a first CNN to generate a confidence map and a disparity map. The at least one processing device is also configured to generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer. The at least one processing device is further configured to refine the initial Bokeh image using a second CNN to generate a refined Bokeh image, where the second CNN is configured to use the confidence map, the disparity map, and the reference images to generate the refined Bokeh image.
- In a third embodiment, a method includes obtaining, using at least one processor of an electronic device, training data that includes multiple reference images, a ground truth disparity map, and a ground truth Bokeh image. The method also includes training, using the at least one processor, a CNN using the reference images and the ground truth disparity map. The method further includes training, using the at least one processor, a second CNN using the reference images, an initial Bokeh image, a confidence map generated during the training of the first CNN, and a predicted disparity map generated during the training of the first CNN.
- Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions, and claims.
- Before undertaking the DETAILED DESCRIPTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document. The terms “transmit,” “receive,” and “communicate,” as well as derivatives thereof, encompass both direct and indirect communication. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and/or. The phrase “associated with,” as well as derivatives thereof, means to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, have a relationship to or with, or the like.
- Moreover, various functions described below can be implemented or supported by one or more computer programs, each of which is formed from computer readable program code and embodied in a computer readable medium. The terms “application” and “program” refer to one or more computer programs, software components, sets of instructions, procedures, functions, objects, classes, instances, related data, or a portion thereof adapted for implementation in a suitable computer readable program code. The phrase “computer readable program code” includes any type of computer code, including source code, object code, and executable code. The phrase “computer readable medium” includes any type of medium capable of being accessed by a computer, such as read only memory (ROM), random access memory (RAM), a hard disk drive, a compact disc (CD), a digital video disc (DVD), or any other type of memory. A “non-transitory” computer readable medium excludes wired, wireless, optical, or other communication links that transport transitory electrical or other signals. A non-transitory computer readable medium includes media where data can be permanently stored and media where data can be stored and later overwritten, such as a rewritable optical disc or an erasable memory device.
- As used here, terms and phrases such as “have,” “may have,” “include,” or “may include” a feature (like a number, function, operation, or component such as a part) indicate the existence of the feature and do not exclude the existence of other features. Also, as used here, the phrases “A or B,” “at least one of A and/or B,” or “one or more of A and/or B” may include all possible combinations of A and B. For example, “A or B,” “at least one of A and B,” and “at least one of A or B” may indicate all of (1) including at least one A, (2) including at least one B, or (3) including at least one A and at least one B. Further, as used here, the terms “first” and “second” may modify various components regardless of importance and do not limit the components. These terms are only used to distinguish one component from another. For example, a first user device and a second user device may indicate different user devices from each other, regardless of the order or importance of the devices. A first component may be denoted a second component and vice versa without departing from the scope of this disclosure.
- It will be understood that, when an element (such as a first element) is referred to as being (operatively or communicatively) “coupled with/to” or “connected with/to” another element (such as a second element), it can be coupled or connected with/to the other element directly or via a third element. In contrast, it will be understood that, when an element (such as a first element) is referred to as being “directly coupled with/to” or “directly connected with/to” another element (such as a second element), no other element (such as a third element) intervenes between the element and the other element.
- As used here, the phrase “configured (or set) to” may be interchangeably used with the phrases “suitable for,” “having the capacity to,” “designed to,” “adapted to,” “made to,” or “capable of” depending on the circumstances. The phrase “configured (or set) to” does not essentially mean “specifically designed in hardware to.” Rather, the phrase “configured to” may mean that a device can perform an operation together with another device or parts. For example, the phrase “processor configured (or set) to perform A, B, and C” may mean a generic-purpose processor (such as a CPU or application processor) that may perform the operations by executing one or more software programs stored in a memory device or a dedicated processor (such as an embedded processor) for performing the operations.
- The terms and phrases as used here are provided merely to describe some embodiments of this disclosure but not to limit the scope of other embodiments of this disclosure. It is to be understood that the singular forms “a,” “an,” and “the” include plural references unless the context clearly dictates otherwise. All terms and phrases, including technical and scientific terms and phrases, used here have the same meanings as commonly understood by one of ordinary skill in the art to which the embodiments of this disclosure belong. It will be further understood that terms and phrases, such as those defined in commonly-used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined here. In some cases, the terms and phrases defined here may be interpreted to exclude embodiments of this disclosure.
- Examples of an “electronic device” according to embodiments of this disclosure may include at least one of a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop computer, a netbook computer, a workstation, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device (such as smart glasses, a head-mounted device (HMD), electronic clothes, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch). Other examples of an electronic device include a smart home appliance. Examples of the smart home appliance may include at least one of a television, a digital video disc (DVD) player, an audio player, a refrigerator, an air conditioner, a cleaner, an oven, a microwave oven, a washer, a drier, an air cleaner, a set-top box, a home automation control panel, a security control panel, a TV box (such as SAMSUNG HOMESYNC, APPLETV, or GOOGLE TV), a smart speaker or speaker with an integrated digital assistant (such as SAMSUNG GALAXY HOME, APPLE HOMEPOD, or AMAZON ECHO), a gaming console (such as an XBOX, PLAYSTATION, or NINTENDO), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame. Still other examples of an electronic device include at least one of various medical devices (such as diverse portable medical measuring devices (like a blood sugar measuring device, a heartbeat measuring device, or a body temperature measuring device), a magnetic resource angiography (MRA) device, a magnetic resource imaging (MRI) device, a computed tomography (CT) device, an imaging device, or an ultrasonic device), a navigation device, a global positioning system (GPS) receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, a sailing electronic device (such as a sailing navigation device or a gyro compass), avionics, security devices, vehicular head units, industrial or home robots, automatic teller machines (ATMs), point of sales (POS) devices, or Internet of Things (IoT) devices (such as a bulb, various sensors, electric or gas meter, sprinkler, fire alarm, thermostat, street light, toaster, fitness equipment, hot water tank, heater, or boiler). Other examples of an electronic device include at least one part of a piece of furniture or building/structure, an electronic board, an electronic signature receiving device, a projector, or various measurement devices (such as devices for measuring water, electricity, gas, or electromagnetic waves). Note that, according to various embodiments of this disclosure, an electronic device may be one or a combination of the above-listed devices. According to some embodiments of this disclosure, the electronic device may be a flexible electronic device. The electronic device disclosed here is not limited to the above-listed devices and may include new electronic devices depending on the development of technology.
- In the following description, electronic devices are described with reference to the accompanying drawings, according to various embodiments of this disclosure. As used here, the term “user” may denote a human or another device (such as an artificial intelligent electronic device) using the electronic device.
- Definitions for other certain words and phrases may be provided throughout this patent document. Those of ordinary skill in the art should understand that in many if not most instances, such definitions apply to prior as well as future uses of such defined words and phrases.
- None of the description in this application should be read as implying that any particular element, step, or function is an essential element that must be included in the claim scope. The scope of patented subject matter is defined only by the claims. Moreover, none of the claims is intended to invoke 35 U.S.C. § 112(f) unless the exact words “means for” are followed by a participle. Use of any other term, including without limitation “mechanism,” “module,” “device,” “unit,” “component,” “element,” “member,” “apparatus,” “machine,” “system,” “processor,” or “controller,” within a claim is understood by the Applicant to refer to structures known to those skilled in the relevant art and is not intended to invoke 35 U.S.C. § 112(f).
- For a more complete understanding of this disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:
-
FIG. 1 illustrates an example network configuration including an electronic device according to this disclosure; -
FIG. 2 illustrates an example architecture for a Bokeh network for generating and refining a Bokeh image according to this disclosure; -
FIG. 3 illustrates an example architecture of a disparity network ofFIG. 2 according to this disclosure; -
FIG. 4 illustrates additional details of the generation of a confidence map by the disparity network ofFIG. 2 according to this disclosure; -
FIG. 5 illustrates an example architecture of a depth-of-field (DoF) network ofFIG. 2 according to this disclosure; -
FIG. 6 illustrates an example process for training a Bokeh network according to this disclosure; -
FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure; -
FIG. 8 illustrates an example method for generating and refining a Bokeh image according to this disclosure; and -
FIG. 9 illustrates an example method for training a Bokeh network according to this disclosure. -
FIGS. 1 through 9 , discussed below, and the various embodiments of this disclosure are described with reference to the accompanying drawings. However, it should be appreciated that this disclosure is not limited to these embodiments and all changes and/or equivalents or replacements thereto also belong to the scope of this disclosure. - As noted above, Bokeh” refers to an effect that helps to improve the aesthetic quality of an image by blurring out-of-focus portions of the image (such as a background of the image) while keeping other portions of the image (such as a foreground or one or more subjects) in focus. Due to lens and sensor size limitations, many devices can only simulate the Bokeh effect using stereo depth estimation and depth-of-field (DoF) rendering. In a typical computational Bokeh pipeline in a smart phone or other device, the stereo depth estimation and DoF renderer are two separate modules that operate sequentially and independently from one another. For example, in depth estimation, a typical process involves down-sampling a stereo image pair, applying a disparity estimation algorithm to generate a disparity map, and up-sampling the disparity map and converting it to a depth map.
- The DoF renderer takes the depth map (or the disparity map) and a simulated lens configuration (such as focal length, aperture, and the like) and blurs portions of an image to different degrees based on their distances from a selected focal plane. Given the simulated lens configuration, the behavior of the DoF renderer is precisely defined, namely it applies different degrees of blurriness to a scene according to the depth map. However, since the two modules are sequential, the DoF renderer cannot recover the errors in the depth estimation module. Also, a conventional DoF renderer does not include any machine learning operations or techniques. As a result, errors in the depth estimation typically result in one or more artifacts in rendered Bokeh images. In other words, the quality of a Bokeh image largely depends on the depth map instead of the DoF renderer.
- This disclosure provides systems and methods for generating refined Bokeh images. The disclosed embodiments implement a Bokeh network architecture that includes one or more machine learning techniques to refine Bokeh images. In the disclosed embodiments, the generation of a refined Bokeh image is separated into two steps. One step is performed at the time of image capture, where a modified disparity network is applied to generate a disparity map and a confidence map. The DoF renderer generates a Bokeh image based on reference images and the disparity map. The resulting Bokeh image can be shown in a live view to a user. Another step is performed in an image gallery mode or gallery application on a device, where a DoF network is applied to refine the Bokeh image based on meta information obtained at capture time. Compared with conventional Bokeh image generation techniques that rely on imperfect depth maps, the disclosed embodiments ensure both a good user experience (where the user can view the Bokeh image immediately) and good image quality (where the Bokeh image is refined by fusing multiple sources of meta information).
-
FIG. 1 illustrates anexample network configuration 100 including an electronic device according to this disclosure. The embodiment of thenetwork configuration 100 shown inFIG. 1 is for illustration only. Other embodiments of thenetwork configuration 100 could be used without departing from the scope of this disclosure. - According to embodiments of this disclosure, an
electronic device 101 is included in thenetwork configuration 100. Theelectronic device 101 can include at least one of abus 110, aprocessor 120, amemory 130, an input/output (I/O)interface 150, adisplay 160, acommunication interface 170, or asensor 180. In some embodiments, theelectronic device 101 may exclude at least one of these components or may add at least one other component. Thebus 110 includes a circuit for connecting the components 120-180 with one another and for transferring communications (such as control messages and/or data) between the components. - The
processor 120 includes one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). Theprocessor 120 is able to perform control on at least one of the other components of theelectronic device 101 and/or perform an operation or data processing relating to communication. In some embodiments, theprocessor 120 can be a graphics processor unit (GPU). As described in more detail below, theprocessor 120 can process multiple reference images using a first convolutional neural network (CNN) to generate a confidence map and a disparity map, generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer, and refine the initial Bokeh image using a second CNN to generate a refined Bokeh image (where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image). - The
memory 130 can include a volatile and/or non-volatile memory. For example, thememory 130 can store commands or data related to at least one other component of theelectronic device 101. According to embodiments of this disclosure, thememory 130 can store software and/or aprogram 140. Theprogram 140 includes, for example, akernel 141,middleware 143, an application programming interface (API) 145, and/or an application program (or “application”) 147. At least a portion of thekernel 141,middleware 143, orAPI 145 may be denoted an operating system (OS). - The
kernel 141 can control or manage system resources (such as thebus 110,processor 120, or memory 130) used to perform operations or functions implemented in other programs (such as themiddleware 143,API 145, or application 147). Thekernel 141 provides an interface that allows themiddleware 143, theAPI 145, or theapplication 147 to access the individual components of theelectronic device 101 to control or manage the system resources. Theapplication 147 includes one or more applications for image capture and image processing as discussed below. These functions can be performed by a single application or by multiple applications that each carry out one or more of these functions. Themiddleware 143 can function as a relay to allow theAPI 145 or theapplication 147 to communicate data with thekernel 141, for instance. A plurality ofapplications 147 can be provided. Themiddleware 143 is able to control work requests received from theapplications 147, such as by allocating the priority of using the system resources of the electronic device 101 (like thebus 110, theprocessor 120, or the memory 130) to at least one of the plurality ofapplications 147. TheAPI 145 is an interface allowing theapplication 147 to control functions provided from thekernel 141 or themiddleware 143. For example, theAPI 145 includes at least one interface or function (such as a command) for filing control, window control, image processing, or text control. - The I/
O interface 150 serves as an interface that can, for example, transfer commands or data input from a user or other external devices to other component(s) of theelectronic device 101. The I/O interface 150 can also output commands or data received from other component(s) of theelectronic device 101 to the user or the other external device. - The
display 160 includes, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a quantum-dot light emitting diode (QLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display. Thedisplay 160 can also be a depth-aware display, such as a multi-focal display. Thedisplay 160 is able to display, for example, various contents (such as text, images, videos, icons, or symbols) to the user. Thedisplay 160 can include a touchscreen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a body portion of the user. - The
communication interface 170, for example, is able to set up communication between theelectronic device 101 and an external electronic device (such as a firstelectronic device 102, a secondelectronic device 104, or a server 106). For example, thecommunication interface 170 can be connected with anetwork communication interface 170 can be a wired or wireless transceiver or any other component for transmitting and receiving signals, such as images. - The wireless communication is able to use at least one of, for example, long term evolution (LTE), long term evolution-advanced (LTE-A), 5th generation wireless system (5G), millimeter-wave or 60 GHz wireless communication, Wireless USB, code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunication system (UMTS), wireless broadband (WiBro), or global system for mobile communication (GSM), as a cellular communication protocol. The wired connection can include, for example, at least one of a universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), or plain old telephone service (POTS). The
network - The
electronic device 101 further includes one ormore sensors 180 that can meter a physical quantity or detect an activation state of theelectronic device 101 and convert metered or detected information into an electrical signal. For example, one ormore sensors 180 can include one or more cameras or other imaging sensors for capturing images of scenes. The sensor(s) 180 can also include one or more buttons for touch input, a gesture sensor, a gyroscope or gyro sensor, an air pressure sensor, a magnetic sensor or magnetometer, an acceleration sensor or accelerometer, a grip sensor, a proximity sensor, a color sensor (such as a red green blue (RGB) sensor), a bio-physical sensor, a temperature sensor, a humidity sensor, an illumination sensor, an ultraviolet (UV) sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an ultrasound sensor, an iris sensor, or a fingerprint sensor. The sensor(s) 180 can further include an inertial measurement unit, which can include one or more accelerometers, gyroscopes, and other components. In addition, the sensor(s) 180 can include a control circuit for controlling at least one of the sensors included here. Any of these sensor(s) 180 can be located within theelectronic device 101. - The first external
electronic device 102 or the second externalelectronic device 104 can be a wearable device or an electronic device-mountable wearable device (such as an HMD). When theelectronic device 101 is mounted in the electronic device 102 (such as the HMD), theelectronic device 101 can communicate with theelectronic device 102 through thecommunication interface 170. Theelectronic device 101 can be directly connected with theelectronic device 102 to communicate with theelectronic device 102 without involving with a separate network. Theelectronic device 101 can also be an augmented reality wearable device, such as eyeglasses, that include one or more cameras. - The first and second external
electronic devices server 106 each can be a device of the same or a different type from theelectronic device 101. According to certain embodiments of this disclosure, theserver 106 includes a group of one or more servers. Also, according to certain embodiments of this disclosure, all or some of the operations executed on theelectronic device 101 can be executed on another or multiple other electronic devices (such as theelectronic devices electronic device 101 should perform some function or service automatically or at a request, theelectronic device 101, instead of executing the function or service on its own or additionally, can request another device (such aselectronic devices electronic devices electronic device 101. Theelectronic device 101 can provide a requested function or service by processing the received result as it is or additionally. To that end, a cloud computing, distributed computing, or client-server computing technique may be used, for example. WhileFIG. 1 shows that theelectronic device 101 includes thecommunication interface 170 to communicate with the externalelectronic device 104 orserver 106 via thenetwork electronic device 101 may be independently operated without a separate communication function according to some embodiments of this disclosure. - The
server 106 can include the same or similar components 110-180 as the electronic device 101 (or a suitable subset thereof). Theserver 106 can support to drive theelectronic device 101 by performing at least one of operations (or functions) implemented on theelectronic device 101. For example, theserver 106 can include a processing module or processor that may support theprocessor 120 implemented in theelectronic device 101. In some embodiments, theserver 106 can process multiple reference images using a first CNN to generate a confidence map and a disparity map, generate an initial Bokeh image based on the disparity map and the reference images using a DoF renderer, and refine the initial Bokeh image using a second CNN to generate a refined Bokeh image (where the second CNN uses the confidence map, the disparity map, and the reference images to generate the refined Bokeh image). - Although
FIG. 1 illustrates one example of anetwork configuration 100 including anelectronic device 101, various changes may be made toFIG. 1 . For example, thenetwork configuration 100 could include any number of each component in any suitable arrangement. In general, computing and communication systems come in a wide variety of configurations, andFIG. 1 does not limit the scope of this disclosure to any particular configuration. Also, whileFIG. 1 illustrates one operational environment in which various features disclosed in this patent document can be used, these features could be used in any other suitable system. -
FIG. 2 illustrates an example architecture for aBokeh network 200 for generating and refining a Bokeh image according to this disclosure. For ease of explanation, theBokeh network 200 is described as being implemented in theelectronic device 101 shown inFIG. 1 . However, theBokeh network 200 could be implemented in any other suitable electronic device and in any suitable system, such as by theserver 106. As described below, theBokeh network 200 uses one or more machine learning techniques to generate a Bokeh image at capture time and refine the Bokeh image in an image gallery mode or gallery application. - As shown in
FIG. 2 , theBokeh network 200 includes adisparity network 210, aDoF renderer 220, and aDoF network 230. Operation of theBokeh network 200 is divided into two steps. The first step is a Bokeh image generation step that is performed at capture time. The second step is a Bokeh refinement step that is performed in a gallery mode or gallery application of theelectronic device 101. The two-step Bokeh network 200 can be implemented for both still image capture and video capture. - During the first step, the
electronic device 101 receives or obtains twoimages electronic device 101 captures theimages electronic device 101 includes multiple RGB cameras orother imaging sensors 180, and theimaging sensors 180 capture theimages first imaging sensor 180 could capture theimage 201, and asecond imaging sensor 180 could capture theimage 202. In particular embodiments, theimages images image 201 could be taken from an angle such that theimage 201 appears to be a right image, and theimage 202 could be taken from a different angle such that theimage 202 appears to be a left image. - The
electronic device 101 downsamples each of theimages downsampler operations electronic device 101 downsamples theimage 201 using thedownsampler operation 203 and downsamples theimage 202 using thedownsampler operation 204. Thedownsampler operations disparity network 210. Thedownsampler operations downsampler operations images electronic device 101 downsamples theimages downsampled images disparity network 210. - The
electronic device 101 applies thedisparity network 210 to thedownsampled images disparity map 212 and aconfidence map 214. Thedisparity map 212 represents a disparity map that corresponds to theimages images disparity map 212 may be high-resolution or low-resolution. Theconfidence map 214 corresponds pixel-to-pixel to thedisparity map 212. Theconfidence map 214 indicates how confident thedisparity network 210 is about its prediction at each pixel of thedisparity map 212. As shown inFIG. 2 , theconfidence map 214 is computed by thedisparity network 210, but theconfidence map 214 may not be used in the initial Bokeh image generation of the first step. Instead, theconfidence map 214 is utilized in the second step for Bokeh refinement. As discussed in greater detail below, theDoF network 230 uses theconfidence map 214 in regions of low confidence. Based on values in theconfidence map 214, theDoF network 230 may trust theimages disparity map 212 when rendering each pixel of therefined Bokeh image 232. -
FIG. 3 illustrates an example architecture of thedisparity network 210 ofFIG. 2 according to this disclosure. As shown inFIG. 3 , thedisparity network 210 receives theimages disparity map 212 and theconfidence map 214. Thedisparity network 210 is based on a convolutional neural network (CNN) architecture, which generally represents a type of deep artificial neural network that can be applied to analyze images. - The
disparity network 210 includes a pair of sharedfeature encoder networks 302, one for each of theimages feature encoder network 302 includes multipleconvolutional layers 304. Each of theconvolutional layers 304 represents a layer of convolutional neurons, which operate to apply a convolution operation that emulates the response of individual neurons to visual stimuli. Each neuron typically applies some function to its input values (often by weighting different input values differently) to generate output values. Eachfeature encoder network 302 here is shown as including threeconvolutional layers 304, but eachfeature encoder network 302 could include a different number of convolutional layers. The output of eachfeature encoder network 302 is a feature map that includes a number of high-level features (such as 64, 128, 256, or other number of features) associated with thecorresponding image - The high-level features from each
feature encoder network 302 are passed into across-correlation layer 306 and then input into afeature decoder network 308. Thefeature decoder network 308 is applied to restore the spatial resolution and generate thedisparity map 212. Thefeature decoder network 308 includes multiple deconvolutional or upsampling layers 310. WhileFIG. 3 shows thefeature decoder network 308 with four deconvolutional orupsampling layers 310, thefeature decoder network 308 could include a different number of deconvolutional or upsampling layers. - The
confidence map 214 is generated from thecross-correlation layer 306 in thedisparity network 210. As discussed above, theconfidence map 214 represents the confidence of depth prediction of thedisparity network 210. Theconfidence map 214 is provided as an input into theDoF network 230 for Bokeh refinement. With theconfidence map 214, theDoF network 230 can be trained to rely less on thedisparity map 212 and rely more on theimages -
FIG. 4 illustrates additional details of the generation of aconfidence map 214 by thedisparity network 210 ofFIG. 2 according to this disclosure. As shown inFIG. 4 , thedisparity network 210 obtains a feature map 402 that is output from thecross-correlation layer 306. The feature map 402 is a three-dimensional (3D) feature map, such as one with dimensions (H, W, C) where C is the size of the disparity search window. To generate a two-dimensional (2D)confidence map 214, thedisparity network 210 applies a softmax operation along the C dimension so that the values included in the feature map 402 are between 0 and 1 and the values along each channel dimension (the C dimension) sum to 1. The softmax operation is a smooth approximation of the “arguments of the maxima” (“argmax”) function. Softmax is often used as an activation function of a neural network to normalize the outputs of a network to a probability distribution over predicted output classes. After the softmax operation, thedisparity network 210 determines the maximum value for each pixel in (H, W) along the channel dimension, and this value is used as the value for the corresponding pixel in theconfidence map 214. Thus, the2D confidence map 214 represents the confidence of prediction at each pixel of thedisparity map 212. - Note that these details for generating the
confidence map 214 as shown inFIG. 4 represent one possible technique for generating a confidence map. However, this disclosure is not limited to this specific technique. Other computational techniques can calculate a confidence map and are within the scope of this disclosure. For example, in embodiments that include a time-of-flight (ToF) sensor, infrared amplitude values obtained by the ToF sensor can be used as the confidence map for depth estimation. - Returning to
FIG. 2 , theelectronic device 101 obtains thedisparity map 212 generated using thedisparity network 210 and provides thedisparity map 212 as an input to theDoF renderer 220. Using thedisparity map 212, theDoF renderer 220 generates aninitial Bokeh image 222 from theimages DoF renderer 220 may use one or more simulated lens configurations (such as focal length, aperture, and the like) to apply different degrees of blurriness to theinitial Bokeh image 222 according to thedisparity map 212. As a particular example, theinitial Bokeh image 222 may exhibit stronger blur for farther distances. TheDoF renderer 220 represents any suitable algorithm or process for applying blur to generate a Bokeh image. In some embodiments, theDoF renderer 220 is a standard mechanic procedure, meaning theDoF renderer 220 does not recover errors in thedisparity map 212. Accordingly, theinitial Bokeh image 222 may exhibit one or more artifacts or loss of details. - The
initial Bokeh image 222 is provided as an input to theDoF network 230. Theelectronic device 101 applies theDoF network 230 to blend and refine theinitial Bokeh image 222 into arefined Bokeh image 232. TheDoF network 230 uses theimages 201 and 202 (the reference images), thedisparity map 212, and theconfidence map 214 as additional inputs to blend and refine theinitial Bokeh image 222 into therefined Bokeh image 232. In some embodiments, thedisparity map 212, theconfidence map 214, and theinitial Bokeh image 222 can include meta information that is included in or associated with theimages 201 and 202 (such as embedded in JPG files or other files of the images). As discussed previously, the first step operations leading to the generation of theinitial Bokeh image 222 are performed at image capture time. TheDoF network 230 can be applied in a gallery mode or gallery application of theelectronic device 101 to generate therefined Bokeh image 232. -
FIG. 5 illustrates an example architecture of theDoF network 230 ofFIG. 2 according to this disclosure. As shown inFIG. 5 , theDoF network 230 is based on a CNN architecture and includes anencoder network 502 and adecoder network 508. Theencoder network 502 includes multipleconvolutional layers 504. While theencoder network 502 is shown here as including fourconvolutional layers 504, theencoder network 502 could include a different number of convolutional layers. Thedecoder network 508 includes multiple deconvolutional or upsampling layers 510. WhileFIG. 5 shows thedecoder network 508 with four deconvolutional orupsampling layers 510, thedecoder network 508 could include a different number of deconvolutional or upsampling layers. - The
DoF network 230 combines (i) the all-in-focus reference images disparity map 212 that is predicted by thedisparity network 210, and (iii) theinitial Bokeh image 222 produced by theDoF renderer 220 into amulti-channel feature map 506. In some embodiments, thefeature map 506 is a seven-channel feature map, however other numbers of channels are possible and within the scope of this disclosure. Theencoder network 502 and thedecoder network 508 are applied to thefeature map 506. As shown inFIG. 5 , theconfidence map 214 is concatenated in the middle of theconvolutional layers 504 of theencoder network 502. The output of theDoF network 230 is therefined Bokeh image 232. - It should be noted that the operations and functions shown in
FIGS. 2 through 5 can be implemented in anelectronic device server 106, or other device in any suitable manner. For example, in some embodiments, the operations shown inFIGS. 2 through 5 can be implemented or supported using one or more software applications or other software instructions that are executed by theprocessor 120 of theelectronic device server 106, or other device. In other embodiments, at least some of the operations shown inFIGS. 2 through 5 can be implemented or supported using dedicated hardware components. In general, the operations shown inFIGS. 2 through 5 can be performed using any suitable hardware or any suitable combination of hardware and software/firmware instructions. - Although
FIGS. 2 through 5 illustrate example details of aBokeh network 200, various changes may be made toFIGS. 2 through 5 . For example, while shown as performing a specific sequence of operations, various operations shown inFIGS. 2 through 5 could overlap, occur in parallel, occur in a different order, or occur any number of times (including zero times). Also, the specific operations shown inFIGS. 2 through 5 are examples only, and other techniques could be used to perform each of the operations shown inFIGS. 2 through 5 . -
FIG. 6 illustrates anexample process 600 for training a Bokeh network according to this disclosure. For ease of explanation, theprocess 600 is described as involving the use of theelectronic device 101 ofFIG. 1 and some of the components depicted in theBokeh network 200 ofFIGS. 2 through 5 . However, theprocess 600 could be used with any other suitable device (such as the server 106) and any other suitable convolutional neural network architecture. As a particular example, theprocess 600 could be performed using theserver 106, and the trained Bokeh network may then be deployed to theelectronic device 101. - During the
training process 600, theelectronic device 101 trains theBokeh network 200, which includes training thedisparity network 210 and theDoF network 230. Thetraining process 600 is performed in two stages. The first stage involves training thedisparity network 210 for disparity map estimation, and the second stage involves training theDoF network 230 for Bokeh refinement. - In order to perform the
training process 600, theelectronic device 101 obtains training data using a syntheticstereo imaging engine 602. Thetraining process 600 uses the syntheticstereo imaging engine 602 for training data, rather than relying on real photography, because it can be difficult or impossible to obtain a dense pixel-level accurate disparity map ground truth in real photography. The syntheticstereo imaging engine 602 represents any suitable graphical image generation engine, algorithm, or process. In some embodiments, the syntheticstereo imaging engine 602 is a graphics generation engine similar to a gaming engine that is used in computer gaming consoles. Also, in some embodiments, a DSLR framelens style simulator 604 is executed or otherwise used to provide multiple parameters (such as focal lengths, apertures, effects, and the like) that can be used as an input to the syntheticstereo imaging engine 602 for generating the training data. An additional input to the syntheticstereo imaging engine 602 can includespecification information 606 of the mobile camera system. - Given the simulated lens and stereo camera specifications, the synthetic
stereo imaging engine 602 operates to generate multiple types of training data, includingreference images truth disparity map 613, and a ground truth DSLRstyle Bokeh image 614. In some embodiments, thereference images images FIG. 2 . The four types of training data 611-614 are used to train theBokeh network 200. - As discussed above, the
training process 600 is performed in two stages. The first stage is to train thedisparity network 210 for disparity map estimation. Theelectronic device 101 takes thestereo reference images truth disparity map 613 and downsamples thereference images truth disparity map 613 using downsampler operations 616-618. For example, theelectronic device 101 downsamples thereference image 611 using thedownsampler operation 616, downsamples thereference image 612 using thedownsampler operation 617, and downsamples the groundtruth disparity map 613 using thedownsampler operation 618. The downsampler operations 616-618 can include any suitable downsampling or compression algorithms. While shown as three separate operations or algorithms, the downsampler operations 616-618 could include one or more common operations or algorithms. Once theelectronic device 101 downsamples thereference images downsampled images disparity network 210. - Using an iterative training process, the
electronic device 101 applies thedisparity network 210 to thedownsampled images disparity map 212 and theconfidence map 214, which represents the confidence of thedisparity network 210 on the predicteddisparity map 212. For each iteration of the training process, theelectronic device 101 calculates losses using adisparity loss function 620. Thedisparity loss function 620 determines the end point error (EPE) for that iteration between the groundtruth disparity map 613 and the predicteddisparity map 212. Thedisparity loss function 620 helps guide updating of weights for thedisparity network 210. - After the first stage of training, the weights of the
disparity network 210 are fixed for use during the second stage of training, where the second stage trains theDoF network 230 for Bokeh refinement. Thus, in the second stage, only the weights of theDoF network 230 are learnable. In the second stage, theelectronic device 101 applies theDoF renderer 220 to thereference images initial Bokeh image 222. As discussed above, theDoF renderer 220 is a mechanic process, so there are no weights or trainable parameters used in theDoF renderer 220. Using an iterative training process, theelectronic device 101 takes multiple inputs, including theinitial Bokeh image 222, thereference images disparity map 212, and theconfidence map 214, and applies theDoF network 230 to the inputs to generate asimulated Bokeh image 622. For each iteration of the training process, theelectronic device 101 calculates losses using aBokeh loss function 624. TheBokeh loss function 624 determines the L2 error or other error between the groundtruth Bokeh image 614 and thesimulated Bokeh image 622. TheBokeh loss function 624 helps guide updating of weights for theDoF network 230. The objective of training theDoF network 230 is to minimize theBokeh loss function 624. When theBokeh network 200 is trained using thedisparity loss function 620 and theBokeh loss function 624, theBokeh network 200 is able to recover the correctsimulated Bokeh image 622 in theDoF network 230, even if thedisparity map 212 produced by thedisparity network 210 has errors. - Although
FIG. 6 illustrates one example of aprocess 600 for training a Bokeh network, various changes may be made toFIG. 6 . For example, thedisparity network 210 and theDoF network 230 may be trained in any other suitable manner, which may involve the use of other or additional loss functions. -
FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure. More specifically,FIGS. 7A and 7B depict a comparison between aBokeh image 701 of a scene that is generated using conventional image processing and arefined Bokeh image 702 of the same scene that is generated using one of the embodiments described above. - In
FIG. 7A , theBokeh image 701 was captured and processed using a conventional image operation. No refinement of theBokeh image 701 was performed. As can be seen inFIG. 7A , theBokeh image 701 exhibits significant blurring or missing details in regions 703-705. In contrast, therefined Bokeh image 702 inFIG. 7B was captured and processed using the Bokeh refinement operations described above. The resultingrefined Bokeh image 702 provides superior results compared to theBokeh image 701, particularly with respect to the recovered details in the regions 703-705. - Although
FIGS. 7A and 7B illustrate examples of benefits that can be realized using one or more of the embodiments of this disclosure, various changes may be made toFIGS. 7A and 7B . For example, images can be captured of numerous scenes under different conditions, and these figures do not limit the scope of this disclosure. These figures are merely meant to illustrate example types of benefits that might be obtainable using the techniques described above. -
FIG. 8 illustrates anexample method 800 for generating and refining a Bokeh image according to this disclosure. For ease of explanation, themethod 800 shown inFIG. 8 is described as involving the use of theBokeh network 200 shown inFIGS. 2 through 5 with theelectronic device 101 shown inFIG. 1 . However, themethod 800 shown inFIG. 8 could be used with any other suitable electronic device and in any suitable system. - As shown in
FIG. 8 , at step 802, an electronic device processes multiple reference images of a scene using a first CNN to generate a confidence map and a disparity map. This could include, for example, theelectronic device 101 processing theimages disparity network 210 to generate thedisparity map 212 and theconfidence map 214. Atstep 804, the electronic device generates an initial Bokeh image based on the disparity map and the reference images using a DoF renderer. This could include, for example, theelectronic device 101 using theDoF renderer 220 to generate theinitial Bokeh image 222 based thedisparity map 212 and theimages step 806, the electronic device refines the initial Bokeh image using a second CNN to generate a refined Bokeh image. This could include, for example, theelectronic device 101 using theconfidence map 214, thedisparity map 212, and theimages DoF network 230 to generate therefined Bokeh image 232. - Although
FIG. 8 illustrates one example of amethod 800 for generating and refining a Bokeh image, various changes may be made toFIG. 8 . For example, while shown as a series of steps, various steps inFIG. 8 could overlap, occur in parallel, occur in a different order, or occur any number of times. -
FIG. 9 illustrates anexample method 900 for training a Bokeh network according to this disclosure. For ease of explanation, themethod 900 shown inFIG. 9 is described as involving the use of thetraining process 600 ofFIG. 6 on theBokeh network 200 ofFIGS. 2 through 5 using theelectronic device 101 shown inFIG. 1 . However, themethod 900 shown inFIG. 9 could be used with any other suitable electronic device and in any suitable system. - As shown in
FIG. 9 , atstep 902, an electronic device obtains training data that includes multiple reference images, a ground truth disparity map, and a ground truth Bokeh image. This could include, for example, theelectronic device 101 using the syntheticstereo imaging engine 602 to generate thereference images truth disparity map 613, and the groundtruth Bokeh image 614. Atstep 904, the electronic device trains a first CNN using the reference images and the ground truth disparity map. This could include, for example, theelectronic device 101 training thedisparity network 210 using thereference images truth disparity map 613. Atstep 906, the electronic device trains a second CNN using the reference images, an initial Bokeh image, a confidence map generated during the training of the first CNN, and a predicted disparity map generated during the training of the first CNN. This could include, for example, theelectronic device 101 training theDoF network 230 using thereference images confidence map 214, and the predicteddisparity map 212. - Although
FIG. 9 illustrates one example of amethod 900 for training a Bokeh network, various changes may be made toFIG. 9 . For example, while shown as a series of steps, various steps inFIG. 9 could overlap, occur in parallel, occur in a different order, or occur any number of times. - Although this disclosure has been described with reference to various example embodiments, various changes and modifications may be suggested to one skilled in the art. It is intended that this disclosure encompass such changes and modifications as fall within the scope of the appended claims.
Claims (20)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/106,676 US11823353B2 (en) | 2020-07-28 | 2020-11-30 | System and method for generating bokeh image for DSLR quality depth-of-field rendering and refinement and training method for the same |
KR1020210097958A KR20220014308A (en) | 2020-07-28 | 2021-07-26 | System and method for generating bokeh image for dslr quality depth-of-field rendering and refinement and training method for the same |
PCT/KR2021/009642 WO2022025565A1 (en) | 2020-07-28 | 2021-07-26 | System and method for generating bokeh image for dslr quality depth-of-field rendering and refinement and training method for the same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202063057470P | 2020-07-28 | 2020-07-28 | |
US17/106,676 US11823353B2 (en) | 2020-07-28 | 2020-11-30 | System and method for generating bokeh image for DSLR quality depth-of-field rendering and refinement and training method for the same |
Publications (2)
Publication Number | Publication Date |
---|---|
US20220036513A1 true US20220036513A1 (en) | 2022-02-03 |
US11823353B2 US11823353B2 (en) | 2023-11-21 |
Family
ID=80003133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/106,676 Active 2041-02-23 US11823353B2 (en) | 2020-07-28 | 2020-11-30 | System and method for generating bokeh image for DSLR quality depth-of-field rendering and refinement and training method for the same |
Country Status (3)
Country | Link |
---|---|
US (1) | US11823353B2 (en) |
KR (1) | KR20220014308A (en) |
WO (1) | WO2022025565A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220301210A1 (en) * | 2021-03-16 | 2022-09-22 | Kabushiki Kaisha Toshiba | Learning method, storage medium and image processing device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024025224A1 (en) * | 2022-07-25 | 2024-02-01 | Samsung Electronics Co., Ltd. | Method and system for generation of a plurality of portrait effects in an electronic device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160063719A1 (en) * | 2014-08-28 | 2016-03-03 | Nokia Technologies Oy | Method, apparatus and computer program product for disparity estimation of foreground objects in images |
US20170127039A1 (en) * | 2015-11-02 | 2017-05-04 | Mediatek Inc. | Ultrasonic proximity detection system |
CN107680053A (en) * | 2017-09-20 | 2018-02-09 | 长沙全度影像科技有限公司 | A kind of fuzzy core Optimized Iterative initial value method of estimation based on deep learning classification |
CN109191469A (en) * | 2018-08-17 | 2019-01-11 | 广东工业大学 | A kind of image automatic focusing method, apparatus, equipment and readable storage medium storing program for executing |
US20190080457A1 (en) * | 2017-09-08 | 2019-03-14 | Samsung Electronics Co., Ltd. | Electronic device and method for automatic human segmentation in image |
US20190208181A1 (en) * | 2016-06-10 | 2019-07-04 | Lucid VR, Inc. | Digital Camera Device for 3D Imaging |
US20190244380A1 (en) * | 2018-02-08 | 2019-08-08 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Concept for determining a confidence/uncertainty measure for disparity measurement |
US20190362514A1 (en) * | 2018-05-25 | 2019-11-28 | Microsoft Technology Licensing, Llc | Fusing disparity proposals in stereo matching |
US20200294260A1 (en) * | 2019-03-11 | 2020-09-17 | Kabushiki Kaisha Toshiba | Image processing device, ranging device and method |
US20200322544A1 (en) * | 2019-04-04 | 2020-10-08 | Samsung Electronics Co., Ltd. | Electronic device, method, and computer-readable medium for providing bokeh effect in video |
US20210073953A1 (en) * | 2018-08-16 | 2021-03-11 | Nalbi Inc. | Method for applying bokeh effect to image and recording medium |
CN113076685A (en) * | 2021-03-04 | 2021-07-06 | 华为技术有限公司 | Training method of image reconstruction model, image reconstruction method and device thereof |
US20210319537A1 (en) * | 2020-04-10 | 2021-10-14 | Canon Kabushiki Kaisha | Image processing method, image processing apparatus, image processing system, and memory medium |
US20220114703A1 (en) * | 2019-01-11 | 2022-04-14 | Lg Electronics Inc. | Camera device and electronic apparatus including the same |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8189100B2 (en) | 2006-07-25 | 2012-05-29 | Qualcomm Incorporated | Mobile device with dual digital camera sensors and methods of using the same |
US7912319B2 (en) | 2006-08-28 | 2011-03-22 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Systems and methods for panoramic image construction using small sensor array |
JP2009284452A (en) | 2008-05-23 | 2009-12-03 | Advas Co Ltd | Hybrid video camera imaging apparatus and system |
KR20110114057A (en) | 2010-04-12 | 2011-10-19 | 삼성전자주식회사 | Stereo camera module and method for driving thereof |
IN2014CN02708A (en) | 2011-09-28 | 2015-08-07 | Pelican Imaging Corp | |
JP6140935B2 (en) | 2012-05-17 | 2017-06-07 | キヤノン株式会社 | Image processing apparatus, image processing method, image processing program, and imaging apparatus |
TW201513660A (en) | 2013-09-25 | 2015-04-01 | Univ Nat Central | Image-capturing system with dual lenses |
WO2015081279A1 (en) | 2013-11-26 | 2015-06-04 | Pelican Imaging Corporation | Array camera configurations incorporating multiple constituent array cameras |
US9087405B2 (en) | 2013-12-16 | 2015-07-21 | Google Inc. | Depth map generation using bokeh detection |
US9906721B2 (en) | 2015-10-30 | 2018-02-27 | Essential Products, Inc. | Apparatus and method to record a 360 degree image |
US10373073B2 (en) | 2016-01-11 | 2019-08-06 | International Business Machines Corporation | Creating deep learning models using feature augmentation |
US10742878B2 (en) | 2016-06-21 | 2020-08-11 | Symbol Technologies, Llc | Stereo camera device with improved depth resolution |
CN109474780B (en) | 2017-09-07 | 2023-07-25 | 虹软科技股份有限公司 | Method and device for image processing |
US10936914B2 (en) | 2018-07-31 | 2021-03-02 | International Business Machines Corporation | Convolutional neural network with augmentation features |
US10311337B1 (en) | 2018-09-04 | 2019-06-04 | StradVision, Inc. | Method and device for providing integrated feature map using ensemble of multiple outputs from convolutional neural network |
-
2020
- 2020-11-30 US US17/106,676 patent/US11823353B2/en active Active
-
2021
- 2021-07-26 KR KR1020210097958A patent/KR20220014308A/en active Search and Examination
- 2021-07-26 WO PCT/KR2021/009642 patent/WO2022025565A1/en active Application Filing
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160063719A1 (en) * | 2014-08-28 | 2016-03-03 | Nokia Technologies Oy | Method, apparatus and computer program product for disparity estimation of foreground objects in images |
US20170127039A1 (en) * | 2015-11-02 | 2017-05-04 | Mediatek Inc. | Ultrasonic proximity detection system |
US20190208181A1 (en) * | 2016-06-10 | 2019-07-04 | Lucid VR, Inc. | Digital Camera Device for 3D Imaging |
US20190080457A1 (en) * | 2017-09-08 | 2019-03-14 | Samsung Electronics Co., Ltd. | Electronic device and method for automatic human segmentation in image |
CN107680053A (en) * | 2017-09-20 | 2018-02-09 | 长沙全度影像科技有限公司 | A kind of fuzzy core Optimized Iterative initial value method of estimation based on deep learning classification |
US20190244380A1 (en) * | 2018-02-08 | 2019-08-08 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Concept for determining a confidence/uncertainty measure for disparity measurement |
US20190362514A1 (en) * | 2018-05-25 | 2019-11-28 | Microsoft Technology Licensing, Llc | Fusing disparity proposals in stereo matching |
US20210073953A1 (en) * | 2018-08-16 | 2021-03-11 | Nalbi Inc. | Method for applying bokeh effect to image and recording medium |
CN109191469A (en) * | 2018-08-17 | 2019-01-11 | 广东工业大学 | A kind of image automatic focusing method, apparatus, equipment and readable storage medium storing program for executing |
US20220114703A1 (en) * | 2019-01-11 | 2022-04-14 | Lg Electronics Inc. | Camera device and electronic apparatus including the same |
US20200294260A1 (en) * | 2019-03-11 | 2020-09-17 | Kabushiki Kaisha Toshiba | Image processing device, ranging device and method |
US20200322544A1 (en) * | 2019-04-04 | 2020-10-08 | Samsung Electronics Co., Ltd. | Electronic device, method, and computer-readable medium for providing bokeh effect in video |
US20210319537A1 (en) * | 2020-04-10 | 2021-10-14 | Canon Kabushiki Kaisha | Image processing method, image processing apparatus, image processing system, and memory medium |
CN113076685A (en) * | 2021-03-04 | 2021-07-06 | 华为技术有限公司 | Training method of image reconstruction model, image reconstruction method and device thereof |
Non-Patent Citations (4)
Title |
---|
A. Ignatov et al., "AIM 2019 Challenge on Bokeh Effect Synthesis: Methods and Results," 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), 2019, pp. 3591-3598, doi: 10.1109/ICCVW.2019.00444 * |
K. Purohit, M. Suin, P. Kandula and R. Ambasamudram, "Depth-Guided Dense Dynamic Filtering Network for Bokeh Effect Rendering," 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), 2019, pp. 3417-3426, doi: 10.1109/ICCVW.2019.00424. * |
L. Du, J. Li, X. Ye and X. Zhang, "Weakly Supervised Deep Depth Prediction Leveraging Ground Control Points for Guidance," in IEEE Access, vol. 7, pp. 5736-5748, 2019, doi: 10.1109/ACCESS.2018.2885773. * |
S. Choi, S. Kim, K. park and K. Sohn, "Learning Descriptor, Confidence, and Depth Estimation in Multi-view Stereo," 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2018, pp. 389-3896, doi: 10.1109/CVPRW.2018.00065. * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220301210A1 (en) * | 2021-03-16 | 2022-09-22 | Kabushiki Kaisha Toshiba | Learning method, storage medium and image processing device |
US11651504B2 (en) * | 2021-03-16 | 2023-05-16 | Kabushiki Kaisha Toshiba | Learning method, storage medium and image processing device |
Also Published As
Publication number | Publication date |
---|---|
US11823353B2 (en) | 2023-11-21 |
KR20220014308A (en) | 2022-02-04 |
WO2022025565A1 (en) | 2022-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11132772B2 (en) | Asymmetric normalized correlation layer for deep neural network feature matching | |
US11503266B2 (en) | Super-resolution depth map generation for multi-camera or other environments | |
US11556784B2 (en) | Multi-task fusion neural network architecture | |
US11195259B2 (en) | Apparatus and method for dynamic multi-camera rectification using depth camera | |
US20220301184A1 (en) | Accurate optical flow interpolation optimizing bi-directional consistency and temporal smoothness | |
US20240046583A1 (en) | Real-time photorealistic view rendering on augmented reality (ar) device | |
US11532091B2 (en) | Guided backpropagation-gradient updating for image processing task using redundant information from image | |
US11823353B2 (en) | System and method for generating bokeh image for DSLR quality depth-of-field rendering and refinement and training method for the same | |
US11094041B2 (en) | Generation of bokeh images using adaptive focus range and layered scattering | |
US20230040176A1 (en) | Controllable neural networks or other controllable machine learning models | |
US11816855B2 (en) | Array-based depth estimation | |
US11449968B2 (en) | System and method for synthetic depth-of-field effect rendering for videos | |
US12079971B2 (en) | Hand motion pattern modeling and motion blur synthesizing techniques | |
US11526967B2 (en) | System and method for precise image inpainting to remove unwanted content from digital images | |
KR20210059612A (en) | Asymmetric normalized correlation layer for deep neural network feature matching | |
US20240378820A1 (en) | Efficient depth-based viewpoint matching and head pose change compensation for video see-through (vst) extended reality (xr) | |
US20240185431A1 (en) | System and method for ai segmentation-based registration for multi-frame processing | |
US20240121370A1 (en) | System and method for parallax correction for video see-through augmented reality | |
US11847771B2 (en) | Systems and methods for quantitative evaluation of optical map quality and for data augmentation automation | |
US20240129448A1 (en) | Method and system for converting single-view image to 2.5d view for extended reality (xr) applications | |
US20240223742A1 (en) | Depth-varying reprojection passthrough in video see-through (vst) extended reality (xr) | |
US20240078765A1 (en) | System and method for disoccluded region completion for video rendering in video see-through (vst) augmented reality (ar) | |
US11869118B2 (en) | Generating a synthetic ground-truth image using a dead leaves model | |
US20240223739A1 (en) | Mask generation with object and scene segmentation for passthrough extended reality (xr) | |
US20230245330A1 (en) | System and method for facial un-distortion in digital images using multiple imaging sensors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OF Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LUO, CHENCHI;LI, YINGMAO;LIN, KAIMO;AND OTHERS;SIGNING DATES FROM 20201124 TO 20201130;REEL/FRAME:054490/0419 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STCV | Information on status: appeal procedure |
Free format text: APPEAL BRIEF (OR SUPPLEMENTAL BRIEF) ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |