METHOD AND APPARATUS FOR EMBEDDING FEATURES INTO IMAGE DATA
First Claim
1. An electronic device, comprising:
- a display screen;
an image sensor;
a cache for storing a preview of the image sensor;
a memory storing instructions for an image application; and
a processor in communication with the display screen, the memory, the image sensor, and the cache, wherein the processor, when executing the instructions, is configured to;
generate a first window and a second window associated with a same process of the image application on the display screen wherein the second window is transparent and overlays above the first window;
display a preview image from the cache in the first window viewable through the second window;
acquire a target feature including at least one of a feature image, current time information, and geographical location information of the electronic device;
load the target feature in the second window wherein the target feature is movable by a user within the second window;
determine a first pixel coordinate of the target feature relative to the preview image; and
upon receiving an image generation instruction;
generate a target image data of the preview image from the image sensor;
embed the target feature into the target image data at a position derived from the first pixel coordinate to obtain a composite image data; and
store the composite image data in an image storage of electronic device.
0 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide a method and apparatus for processing image data, the method including: generating a first window and a second window; loading preview image data in the first window; acquiring at least one of a feature image, current time information and geographical location information; loading at least one of the feature image, the time information and the geographical location information in the second window; and when receiving a generation instruction of the image data, embedding the at least one of the feature image, the time information and the geographical location information into generated target image data according to a first coordinate position, the first coordinate position being a coordinate of the at least one of the feature image, the time information and the geographical location information in the second window relative to the preview image data. The embodiments of the present disclosure achieve automation of post processing of the image data, greatly increase simplicity of operation, lower the operation threshold, and reduce the processing time.
-
Citations
20 Claims
-
1. An electronic device, comprising:
-
a display screen; an image sensor; a cache for storing a preview of the image sensor; a memory storing instructions for an image application; and a processor in communication with the display screen, the memory, the image sensor, and the cache, wherein the processor, when executing the instructions, is configured to; generate a first window and a second window associated with a same process of the image application on the display screen wherein the second window is transparent and overlays above the first window; display a preview image from the cache in the first window viewable through the second window; acquire a target feature including at least one of a feature image, current time information, and geographical location information of the electronic device; load the target feature in the second window wherein the target feature is movable by a user within the second window; determine a first pixel coordinate of the target feature relative to the preview image; and upon receiving an image generation instruction; generate a target image data of the preview image from the image sensor; embed the target feature into the target image data at a position derived from the first pixel coordinate to obtain a composite image data; and store the composite image data in an image storage of electronic device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for processing image data by a processor in an electronic device comprising the processor, an image sensor, a display screen, a cache for storing a preview of the image sensor, and an image storage, the method comprising:
-
generating a first window and a second window associated with a same process of an image application on the display screen wherein the second window is transparent and overlays above the first window; displaying, on the display screen, a preview image from the cache in the first window viewable through the second window; acquiring a target feature including at least one of a feature image, current time information, and geographical location information of the electronic device; loading the target feature in the second window wherein the target feature is movable by a user within the second window; determining a first pixel coordinate of the target feature relative to the preview image; and upon receiving an image generation instruction; generating a target image data of the preview image from the image sensor; embedding the target feature into the target image data at a position derived from the first pixel coordinate to obtain a composite image data; and storing the composite image data in the image storage. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable non-transitory storage medium for storing a set of instructions, wherein the set of instructions, when executed by a processor of an electronic device comprising the processor, an image sensor, a display screen, a cache for storing a preview of the image sensor, and an image storage, direct the processor to:
-
generate a first window and a second window associated with a same process of an image application on the display screen wherein the second window is transparent and overlays above the first window; display, on the display screen, a preview image from the cache in the first window viewable through the second window; acquire a target feature including at least one of a feature image, current time information, and geographical location information of the electronic device; load the target feature in the second window wherein the target feature is movable by a user within the second window; determine a first pixel coordinate of the target feature relative to the preview image; and upon receiving an image generation instruction; generate a target image data of the preview image from the image sensor; embed the target feature into the target image data at a position derived from the first pixel coordinate to obtain a composite image data; and store the composite image data in the image storage. - View Dependent Claims (18, 19, 20)
-
Specification