# US 2016/0366323 A1 · Methods and systems for providing virtual lighting

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0366323 A1
- Document ID: US20160366323A1
- Status: Published application
- Kind: A1
- Application number: 15/088,070
- Filed: 2016-03-31
- Published: 2016-12-15
- Earliest claimed: 2015-06-15
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Cheng-Che CHAN; Cheng-Che CHEN; Po-hua HUANG
- Web page: https://patentgrep.com/patent/US20160366323A1

## CPC

- G06T 15/50: Lighting effects
- H04N 23/45: for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
- H04N 23/70: Circuitry for compensating brightness variation in the scene
- G06T 2200/04: involving 3D image data
- H04N 23/62: Control of parameters via user interfaces
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods and systems for improving images and video captured by a device is provided. The methods and systems may involve a virtual 3D model for a scene that is in view of a device's sensors. The virtual 3D model may be generated using the sensor information and be used to produce a 2D lighting image. The lighting image may be applied to a captured image of the scene to improve lighting of the captured image or video. A virtual light source may be implemented as part of the process, which if desired, can be moved, adjusted, or modified in the virtual 3D model to adjust the lighting image and consequently adjust alighted image or a final image.

## Claims

### Claim 1

A computer-implemented method, comprising:
implementing, on a mobile device, a virtual light source that is adjustable in a virtual three-dimensional (3D) space;
receiving a user input instructing the mobile device to capture in real time a two-dimensional (2D) output image of a current view of a plurality of device sensors;
receiving a plurality of sensor outputs produced from sensing information in the current view by the plurality of device sensors comprising sensing, by one or more of the plurality of device sensors, a preliminary 2D frame; and
in response to receiving the sensor outputs and the user input, producing on the mobile device, in real time in relation to receiving the sensor outputs, the 2D output image in accordance with an adjustment to the virtual light source and the preliminary 2D frame.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
displaying the current view in a preview screen of the mobile device;
displaying in a user interface of the mobile device a representative of the virtual light source in a representative of the 3D space;
receiving a user selected adjustment to the representative of the virtual light source;
adjusting the virtual light source according to the received user selected adjustment; and
displaying a modified version of the current view in real time in the preview screen in accordance with the adjusted virtual light source.

### Claim 3 (depends on 1)

The method according to claim 1, further comprises providing on a display of the mobile device a viewscope and producing current view displayed by the viewscope with a light effect produced from the virtual light source.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the adjustment to the virtual light source includes a characteristic selected from a group comprising position, radiation orientation, radiation area, radiation strength, type, and color of the virtual light source.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the adjustment to the virtual light source is provided by:
displaying a user interface including a representative of the virtual light source in a representative of the 3D space;
receiving a user selected adjustment to the representative of the virtual light source; and
adjusting the virtual light source according to the received user selected adjustment.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the step of implementing the virtual light source comprises determining environmental light from sensing information in the current view by one or more of the plurality of device sensors.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the step of determining environmental light is implemented as part of producing a display as a viewscope.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the step of determining environmental light is implemented as part of producing the 2D output image.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the step of implementing the virtual light source comprises determining environmental light and objects from sensing information in the current view by one or more of the plurality of device sensors.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the virtual 3D space is constructed from at least some of the plurality of sensor outputs.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the step of producing the 2D output image comprises generating a 2D lighting image from the adjustment to the virtual light source and the virtual 3D space.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the 2D lighting image is an image containing only lighting information resulting from the adjustment to the virtual light source and the virtual 3D space.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the step of producing the 2D output image comprises combining the 2D lighting image and the preliminary 2D frame.

### Claim 14 (depends on 11)

The method according to claim 11, wherein the step of generating the 2D lighting image comprising:
creating a 3D scene tree comprising one or more lighting nodes;
adjusting the one or more lighting nodes according to the adjustment to the virtual light source; and
rendering the 2D lighting image based on the adjusted one or more lighting nodes.

### Claim 15 (depends on 1)

The method according to claim 1, further comprises synchronizing the plurality of device sensors to simultaneously sense information in the current view before sensing information in the current view.

### Claim 16

A processing system for providing a mobile camera application for use with a plurality of device sensors of a mobile device, comprising:
a processor and related circuitry that are configured to:
receive a user input instructing the mobile device to capture in real time a two-dimensional (2D) output image of a current view of the plurality of device sensors;
receive a plurality of sensor outputs produced from sensing information in the current view by the plurality of device sensors comprising sensing, by one or more of the plurality of device sensors, a preliminary 2D frame,
create a virtual three-dimensional (3D) space from at east some of plurality of sensor outputs,
provide lighting effect to the virtual 3D space according to an adjustment to a virtual light source in the virtual 3D space upon receiving a signal generated from such an adjustment, and
in response to receiving the sensor outputs and the user input, produce, in real time in relation to receiving the sensor outputs, the 2D output image in accordance with the adjustment to the virtual light source and the preliminary 2D frame.

### Claim 17 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry comprise an application processor that is configured to perform the step of providing lighting effect.

### Claim 18 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry comprise a graphics processor that is configured to perform the step of producing the 2D output image.

### Claim 19 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry comprise a construction module that is configured to perform the step of creating the virtual 3D space.

### Claim 20 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry comprise a depth map generating circuitry in a semiconductor chip.

### Claim 21 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to include parallel processes comprising (a) a display process that displays the 2D output image to a screen of the mobile device and (b) an encoding process that encodes the 2D output image to be in a format for storage as an image file in non-volatile memory.

### Claim 22 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to produce the 2D output image without using non-volatile memory on the mobile device for storing the preliminary 2D frame.

### Claim 23 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to implement the virtual light source as a virtual camera flash that lights the preliminary 2D frame as part of producing the 2D output image.

### Claim 24 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to provide the virtual light source as a user-selectable camera option as part of taking pictures.

### Claim 25 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to produce the 2D output image as a still image.

### Claim 26 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to produce a video comprising the 2D output image.

### Claim 27 (depends on 16)

The processing system of claim 16, wherein the processing system comprises the plurality of device sensors and wherein at least two of the plurality of device sensors are spread apart and positioned on the same side of the mobile device.

### Claim 28 (depends on 16)

The processing system of claim 16, wherein at least one of the plurality of device sensors is a depth sensor.

### Claim 29 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are directly connected to the plurality of device sensors.

### Claim 30 (depends on 16)

The processing system of claim 16, wherein the plurality of sensor outputs comprise frames produced by the plurality of device sensors.

### Claim 31 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to produce the 2D output image using the virtual light source and the sensor outputs without storing and fetching the preliminary 2D frame.

### Claim 32 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry are configured to control a relationship between exposure and a duration of light from the virtual light source.

### Claim 33 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry comprise a hardware image signal processor that receives the plurality of sensor outputs.

### Claim 34 (depends on 16)

The processing system of claim 16, wherein the processor and related circuitry include a system on chip that performs depth image generation.
