IP Library Granted Patent US 10,009,543
Granted Patent B2
US 10,009,543 · App. 14/778,207 · Granted Jun 26, 2018

Method and apparatus for displaying self-taken images

Inventors: Xiaomu Zhu (Beijing, CN); Zhaofei Wang (Beijing, CN)
Assignee: SMARTISAN DIGITAL CO., LTD
H04N5/23293H04N5/23216H04N5/23229H04N5/23245H04N5/2621
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,009,543
App. No.
14/778,207
Granted
Jun 26, 2018
Kind
B2
Abstract

A method for displaying self-taken images. The method comprises: acquiring a self-taken image; receiving selection information relating to the processing method of the self-taken image, said processing method being mirror image processing or non-mirror image processing; and, on the basis of the selection information, carrying out the corresponding processing of the self-taken image and displaying the processed image. Also disclosed is an apparatus for displaying self-taken images. The embodiments may enhance the efficiency of displaying self-taken images.

Claims (64)

1. A method for displaying a selfie image, comprising:

capturing the selfie image of a target object;

receiving selection information of a processing mode for processing the selfie image, wherein the processing mode comprises mirroring processing and non-mirroring processing, the mirroring processing refers to a processing through which the selfie image is a mirror image of the target object, and the non-mirroring processing refers to a processing through which the selfie image is the same as an image obtained by flipping the mirror image of the target object left and right in a horizontal direction; and

processing the selfie image based on the selection information, and displaying the processed selfie image;

wherein receiving the selection information of the processing mode for processing the selfie image comprises one of:

receiving a switched processing mode for processing the selfie image as the selection information, in response to triggering of a button for switching between the mirroring processing and the non-mirroring processing; and

analyzing pictures stored in a picture database to obtain user preference, and generating the selection information based on the user preference.

2. The method according to claim 1 , wherein capturing the selfie image comprises:

calling a photographing function by a shooting application to perform sampling; triggering, by the photographing function, a photographing callback function registered in the shooting application to receive sampled data; and returning, by the photographing callback function, the selfie image in a form of an array of bytes.

3. The method according to claim 2 , wherein processing the selfie image based on the selection information comprises:

determining whether the received selection information is consistent with information of a preset processing mode; if the received selection information is inconsistent with the information of the preset processing mode, performing matrix transformation on the selfie image returned by the photographing callback function, so that the selfie image returned by the photographing callback function is flipped with respect to a Y-axis; and storing the flipped selfie image; and

wherein displaying the processed image comprises: displaying the matrix-transformed selfie image.

4. A method for displaying a selfie image, comprising:

capturing the selfie image of a target object;

receiving selection information of a processing mode for processing the selfie image, wherein the processing mode is mirroring processing or non-mirroring processing; and

processing the selfie image based on the selection information, and displaying the processed selfie image;

wherein capturing the selfie image comprises:

calling a photographing function by a shooting application to perform sampling; triggering, by the photographing function, a photographing callback function registered in the shooting application to receive sampled data; and returning, by the photographing callback function, the selfie image in a form of an array of bytes;

wherein processing the selfie image based on the selection information comprises:

determining whether the received selection information is consistent with information of a preset processing mode; if the received selection information is inconsistent with the information of the preset processing mode, performing matrix transformation on the selfie image returned by the photographing callback function, so that the selfie image returned by the photographing callback function is flipped with respect to a Y-axis; and storing the flipped selfie image;

wherein displaying the processed image comprises: displaying the matrix-transformed selfie image; and

wherein performing matrix transformation comprises:

generating a matrix transformation factor according to the following equation:

M′=S ( sx,sy )* M,

where M represents an identity matrix, M′ represents the matrix transformation factor, and S (sx, sy) represents a transformation coefficient, sx=1, and sy=−1; and

performing transformation on the selfie image using the matrix transformation factor.

5. The method according to claim 4 , wherein the receiving selection information of a processing mode for processing the selfie image comprises one of:

receiving a switched processing mode for processing the selfie image as the selection information, in response to triggering of a button for switching between the mirroring processing and the non-mirroring processing; and

analyzing pictures stored in a picture database to obtain user preference, and generating the selection information based on the user preference.

6. The method according to claim 5 , wherein a state prompt of the switched processing mode for the selfie image is presented on a shooting screen, when the button is triggered.

7. A apparatus for displaying a selfie image, comprising an image capturing unit, a selection information receiving unit, an image processing unit and an image displaying unit, wherein

the image capturing unit is configured to capture the selfie image of a target object;

the selection information receiving unit is configured to receive selection information of a processing mode for processing the selfie image, wherein the processing mode comprises mirroring processing and non-mirroring processing, the mirroring processing refers to a processing through which the selfie image is a mirror image of the target object, and the non-mirroring processing refers to a processing through which the selfie image is the same as an image obtained by flipping the mirror image of the target object left and right in a horizontal direction;

the image processing unit is configured to process the selfie image based on the selection information; and

the image displaying unit is configured to display the processed selfie image;

wherein receiving the selection information of the processing mode for processing the selfie image comprises one of:

receiving a switched processing mode for processing the selfie image as the selection information, in response to triggering of a button for switching between the mirroring processing and the non-mirroring processing; and

analyzing pictures stored in a picture database to obtain user preference, and generating the selection information based on the user preference.

8. The apparatus according to claim 7 , wherein the image capturing unit comprises a sampling sub-unit and a selfie image returning sub-unit; and the sampling sub-unit is configured to call a photographing function via a shooting application to perform sampling, and the selfie image returning sub-unit is configured to trigger, via the photographing function, a photographing callback function registered in the shooting application to receive the sampled data, and return the selfie image in a form of an array of bytes.

9. The apparatus according to claim 8 , wherein the image processing unit comprises a determining sub-unit, a transforming sub-unit and a storing sub-unit, wherein

the determining sub-unit is configured to determine whether the received selection information is consistent with information of a preset processing mode and trigger the transforming sub-unit if the received selection information is inconsistent with the information of the preset processing mode;

the transforming sub-unit is configured to perform matrix transformation on the selfie image returned by the photographing callback function, so that the selfie image returned by the photographing callback function is flipped with respect to a Y-axis;

the storing sub-unit is configured to store the flipped selfie image; and

the image displaying unit is configured to read out and display the stored flipped selfie image.

10. The apparatus according to claim 7 , further comprising a button presenting unit, configured to present the button on a shooting screen during shooting the selfie image.

11. The method according to claim 1 , wherein a state prompt of the switched processing mode for the selfie image is presented on a shooting screen, when the button is triggered.

12. The method according to claim 1 , further comprising:

presenting a prompt on the shooting screen to prompt a user to select the processing mode for processing the selfie image.

13. The method according to claim 3 , wherein performing the matrix transformation comprises:

generating a matrix transformation factor according to the following equation:

M′=S ( sx,sy )* M,

where M represents an identity matrix, M′ represents the matrix transformation factor, and S (sx, sy) represents a transformation coefficient, sx=1, and sy=−1; and

performing transformation on the selfie image using the matrix transformation factor.

14. The method according to claim 1 , wherein the button is presented on a shooting screen during shooting the selfie image.

15. The method according to claim 4 , further comprising:

presenting a prompt on a shooting screen to prompt a user to select the processing mode for processing the selfie image.

16. The method according to claim 4 , wherein the button is presented on a shooting screen during shooting the selfie image.

17. The apparatus according to claim 9 , wherein performing the matrix transformation comprises:

generating a matrix transformation factor according to the following equation:

M′=S ( sx,sy )* M,

where M represents an identity matrix, M′ represents the matrix transformation factor, and S (sx, sy) represents a transformation coefficient, sx=1, and sy=−1; and

performing transformation on the selfie image using the matrix transformation factor.

18. The apparatus according to claim 7 , further comprising a state prompt unit configured to present a state prompt of the switched processing mode for the selfie image on a shooting screen, when the button is triggered.

19. The apparatus according to claim 7 , further comprising a prompt unit configured to present a prompt on a shooting screen to prompt a user to select the processing mode for processing the selfie image.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 4, 2019
From: SMARTISAN DIGITAL CO., LTD.
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO LTD.
Reel/Frame 048246/0309 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 18, 2015
From: ZHU, XIAOMU; WANG, ZHAOFEI
To: SMARTISAN DIGITAL CO., LTD
Reel/Frame 036598/0421 →
Priority Claims (1)
CN 2013 1 0097585 · Mar 25, 2013 · national
Continuity (1)
Related Publication 20160286131A1 · Sep 29, 2016