# US 10,482,849 B2 · Apparatus and method for compositing image in a portable terminal

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

- Number: US 10,482,849 B2
- Document ID: US10482849B2
- Status: Granted
- Kind: B2
- Application number: 15/784,852
- Filed: 2017-10-16
- Published: 2018-02-08
- Granted: 2019-11-19
- Earliest claimed: 2011-04-19
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yoon-Hee Choi; Hee-Seon Park
- Web page: https://patentgrep.com/patent/US10482849B2

## CPC

- G09G 5/377: for mixing or overlaying two or more graphic patterns (G09G5/02, G09G5/397 take precedence)
- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/63: by using electronic viewfinders
- G06F 3/1454: {involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay}
- G09G 2340/0464: Positioning
- G09G 2340/10: Mixing of images, i.e. displayed pixel being the result of an operation, e.g. adding, on the corresponding input pixels
- G09G 2340/12: Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
- H04N 23/61: based on recognised objects
- H04N 2007/145: {Handheld terminals}
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for compositing images in a portable terminal are provided. The method includes acquiring a plurality of images, displaying a plurality of candidate composition regions in each of the plurality of images, selecting a composition region of each of the plurality of images based on a user input, and compositing the plurality of images by using the composition regions of the plurality of images.

## Claims

### Claim 1

An apparatus for compositing images in a portable terminal, the apparatus comprising:
a first camera;
a second camera;
a display; and
a processor configured to:
control the display to display a first image and a second image, wherein the first image and the second image are respectively obtained from the first camera and the second camera;
identify, in the displayed first image, a first touch input for selecting a first portion of the first image;
identify, in the displayed second image, a second touch input for selecting a second portion of the second image;
determine that the first portion and the second portion can be composed together by comparing shapes of the first portion and the second portion;
based on a determination that the first portion and the second portion have different shapes, adjust the first portion and the second portion so that the first portion and the second portion have the same shape; and
composite, in response to identifying the first touch input and the second touch input or in response to adjusting the first portion and the second portion, the first portion of the first image on the second portion of the second image such that a background of the second portion of the second image is a background of the first portion of the first image; and
display the composited image.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the first camera is facing a different direction from the second camera.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the first camera is equipped at a rear side of the portable terminal, and the second camera is equipped at a front side of the portable terminal.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the first image is acquired as a background image through the first camera.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to composite the selected portion of the first image on the selected portion of the second image in response to a third input.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
control the display to display a plurality of candidate composition regions on the first image; and
receive the first touch input for selecting the first portion from among the displayed plurality of candidate composition regions,
wherein the plurality of candidate composition regions are regions of the first image where the second image is capable of being displayed.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
automatically identify one or more candidate composition regions of the first image;
when one candidate composition region is identified in the first image, select the identified candidate composition region as the first portion; and
when a plurality of candidate composition regions are identified in the first image, select one of the identified candidate composition regions as the first portion in a predetermined manner.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
change a position of the first portion for displaying the second portion on the first image,
control the display to display the second portion on the changed position of the first portion of the first image, and
control to composite the second portion on the first portion at the changed position by an alpha-blending technique.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to:
change a position of the first portion or the second portion by tracking a user input which is received during a video call.

### Claim 10

A method for compositing images in a portable terminal having a first camera and a second camera, the method comprising:
displaying the first image and a second image on a screen of the portable terminal, wherein the first image and the second image are respectively obtained from the first camera and the second camera;
identifying, in the displayed first image, a first touch input for selecting a first portion of the first image;
identifying, in the displayed second image, a second touch input for selecting a second portion of the second image;
determining that the first portion and the second portion can be composed together by comparing shapes of the first portion and the second portion;
based on a determination that the first portion and the second portion have different shapes, adjusting the first portion and the second portion so that the first portion and the second portion have the same shape; and
compositing, in response to identifying the first touch input and the second touch input or in response to adjusting the first portion and the second portion, the first portion of the first image on the second portion of the second image such that a background of the second portion of the second image is a background of the first portion of the first image; and
displaying the composited image.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first camera is facing a different direction from the second camera.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first camera is equipped at a rear side of the portable terminal, and the second camera is equipped at a front side of the portable terminal.

### Claim 13 (depends on 10)

The method of claim 10, wherein the first image is acquired as a background image through the first camera.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
displaying a plurality of candidate composition regions on the first image; and
receiving the first touch input for selecting the first portion from among the displayed plurality of candidate composition regions,
wherein the plurality of candidate composition regions are regions of the first image where the second image is capable of being displayed.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
automatically identifying one or more candidate composition regions of the first image;
when one candidate composition region is identified in the first image, selecting the identified candidate composition region as the first portion; and
when a plurality of candidate composition regions are identified in the first image, selecting one of the identified candidate composition regions as the first portion in a predetermined manner.

### Claim 16 (depends on 10)

The method of claim 10, further comprising:
changing a position of the first portion for displaying the second portion on the first image,
displaying the second portion on the changed position of the first portion of the first image, and
compositing the second portion on the first portion at the changed position by an alpha-blending technique.

### Claim 17 (depends on 10)

The method of claim 10, further comprising:
changing a position of the first portion or the second portion by tracking a user input which is received during a video call.

### Claim 18

A non-transitory computer readable recording medium that includes a program for implementing operations, the operations comprising:
displaying the first image and a second image on a screen of a portable terminal, wherein the first image and the second image are respectively obtained from a first camera and a second camera, wherein the first camera and the second camera are disposed on the portable terminal;
identifying, in the displayed first image, a first touch input for selecting a first portion of the first image;
identifying, in the displayed first image, a second touch input for selecting a second portion of the second image;
determining that the first portion and the second portion can be composed together by comparing shapes of the first portion and the second portion;
based on a determination that the first portion and the second portion have different shapes, adjusting the first portion and the second portion so that the first portion and the second portion have the same shape; and
compositing, in response to identifying the first touch input and the second touch input or in response to adjusting the first portion and the second portion, the selected first portion of the first image on the selected second portion of the second image such that a background of the second portion of the second image is a background of the first portion of the first image.
