CN106327430A - Picture display method and mobile terminal - Google Patents

Picture display method and mobile terminal Download PDF

Info

Publication number
CN106327430A
CN106327430A CN201610796157.9A CN201610796157A CN106327430A CN 106327430 A CN106327430 A CN 106327430A CN 201610796157 A CN201610796157 A CN 201610796157A CN 106327430 A CN106327430 A CN 106327430A
Authority
CN
China
Prior art keywords
picture
mirror image
image processing
mobile terminal
shot
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
Application number
CN201610796157.9A
Other languages
Chinese (zh)
Other versions
CN106327430B (en
Inventor
刘旭东
周思源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610796157.9A priority Critical patent/CN106327430B/en
Publication of CN106327430A publication Critical patent/CN106327430A/en
Application granted granted Critical
Publication of CN106327430B publication Critical patent/CN106327430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/60Rotation of a whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/0012Context preserving transformation, e.g. by using an importance map

Abstract

The invention provides a picture display method and a mobile terminal. The picture display method is applied to the mobile terminal. The picture display method comprises the steps of acquiring a picture stored in the mobile terminal and equipment information corresponding to the picture; judging whether the picture is taken by the mobile terminal or not according to the equipment information, and if so, displaying the picture; and if not, performing mirror image processing on the picture and displaying a mirror image processed picture. According to the picture display method and the mobile terminal provided by the embodiment of the invention, whether a picture is taken by the mobile terminal or not is judged according to the equipment information corresponding to the picture, and if so, the picture is displayed; and if not, mirror image processing is performed on the picture, and then the mirror processed image is displayed, thereby enabling picture display to conform to general viewing habits of a user when the picture is displayed, not requiring the user to perform an overturn operation on the picture, and improving the user experience.

Description

The display packing of a kind of picture and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to display packing and the mobile terminal of a kind of picture.
Background technology
Along with the continuous lifting of the shoot function of mobile terminal, autodyne and be increasingly becoming a kind of universal entertainment way.With After being autodyned by the front-facing camera of mobile terminal in family, user for the viewing general custom certainly taken a picture in viewing with mirror Present the mirror image picture that effect is the same, and the constant practice of certainly taking pictures checking other people be used to viewing just become with mirror image symmetrical instead To picture.But, in existing mobile terminal, the photo for obtaining after taking pictures can not be taken into account user and check oneself and other people In time taking a picture, typically watch custom, cause the problem that Consumer's Experience is bad.
Summary of the invention
The technical problem to be solved in the present invention is to provide display packing and the mobile terminal of a kind of picture, existing to solve In mobile terminal, the photo for obtaining after taking pictures can not be taken into account user and check oneself and other people the general viewing in time taking a picture Custom, causes the problem that Consumer's Experience is bad.
First aspect, the embodiment of the present invention provides the display packing of a kind of picture, is applied to mobile terminal, the method bag Include:
Obtain locally stored picture and the facility information corresponding with picture;
According to facility information, it is judged that whether picture is shot by the machine, if it is, display picture;Otherwise, picture is carried out mirror As processing, and show the picture after mirror image processing.
Second aspect, the embodiment of the present invention provides a kind of mobile terminal, and this mobile terminal includes:
Acquisition module, for obtaining locally stored picture and the facility information corresponding with picture;
First processing module, for according to facility information, it is judged that whether picture is shot by the machine, if it is, display picture; Otherwise, picture is carried out mirror image processing, and shows the picture after mirror image processing.
The display packing of the picture that the embodiment of the present invention provides and mobile terminal, according to the facility information corresponding with picture, Judge whether picture is shot by the machine, the most then show picture;Otherwise, picture is carried out mirror image processing to show again so that picture The general custom of user's viewing is met, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience during display.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in the embodiment of the present invention being described below Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, For those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 represents a kind of FB(flow block) of the display packing of the picture that the embodiment of the present invention one provides;
Fig. 2 represents a kind of FB(flow block) of the display packing of the picture that the embodiment of the present invention two provides;
Fig. 3 represents a kind of FB(flow block) of the display packing of the picture that the embodiment of the present invention three provides;
Fig. 4 represents a kind of structured flowchart of the mobile terminal that the embodiment of the present invention four provides;
Fig. 5 represents the another kind of structured flowchart of the mobile terminal that the embodiment of the present invention four provides;
Fig. 6 represents a kind of structured flowchart of the mobile terminal that the embodiment of the present invention five provides;
Fig. 7 represents a kind of structured flowchart of the mobile terminal that the embodiment of the present invention six provides.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
Embodiment one
Referring to Fig. 1, it is illustrated that a kind of FB(flow block) of display packing of picture that the embodiment of the present invention one provides, The embodiment of the present invention one provides the display packing of a kind of picture, is applied to mobile terminal, and wherein, this mobile terminal can include all Such as mobile phone, panel computer etc., the method may comprise steps of:
Step 101, obtains locally stored picture and the facility information corresponding with picture.
Here, facility information is used for identifying only one mobile terminal.This device identifying information can be unique number with And MAC (Media Access Control, physical address) address etc., wherein, unique number can include that such as IMSI is (international Mobile identification number, International Mobile Subscriber Identification Number), MEID (moves Dynamic EIC equipment identification code, Mobile Equipment Identifier) and IMEI (International Mobile Station Equipment Identification, International Mobile Equipment Identity) etc..Locally stored picture not narrow sense is confined to picture originally Body, it is also possible to include this picture is beautified the picture optimizing or obtaining after amendment, such as by rotated for this picture, scribble, The picture obtained after one or more combination amendments such as cutting, saturation adjustment, setting contrast and brightness adjustment, for this Beautifying of picture optimizes or amendment mode, is not construed as limiting here.In this step, while getting locally stored picture, The facility information that corresponding acquisition is corresponding with this picture;Wherein, this facility information can be to be built in the configuration information of picture, also Can be to be stored separately in a certain text or configuration file, be not construed as limiting here.
Step 102, according to facility information, it is judged that whether picture is shot by the machine.
Here, when determining that this picture is shot by the machine according to this facility information, then perform step 103;Otherwise perform step 104。
Step 103, shows picture.
Step 104, carries out mirror image processing, and shows the picture after mirror image processing picture.
Here, when judging that picture is shot by the machine, directly display picture, when judging that picture is not to be shot by the machine, Show, so, to enable picture to show to meet in the way of user typically checks custom after picture is carried out mirror image processing Show.
Wherein, in some optional embodiments, in step 104, picture being carried out mirror image processing, it is right to may include that Picture carries out flip horizontal.
Here, by the pixel obtained on picture and the pixel on picture is carried out flip horizontal, to obtain and to be somebody's turn to do The picture that picture level is symmetrical, i.e. picture after mirror image processing.
Wherein, in some optional embodiments, judging that picture is not the base shot by the machine according to facility information On plinth, whether photographic head when determining whether picture shooting is front-facing camera, determines the display mode of picture with this, thus The display making picture more conforms to the general custom of user's viewing.In step 104, picture is carried out mirror image processing, and shows Before picture after mirror image processing, it is also possible to including:
Obtain the camera information corresponding with picture, and according to camera information, it is judged that whether picture is by preposition shooting Head shooting;
Step 104, carries out mirror image processing, and shows the picture after mirror image processing, may include that picture
When picture is to be shot by front-facing camera, picture is carried out mirror image processing, and shows the figure after mirror image processing Sheet.
Here, this camera information is used for identifying differentiation front-facing camera and post-positioned pick-up head, therefore, corresponding according to picture Camera information, i.e. can determine whether whether this picture is shot by front-facing camera.Determining that picture is not to be shot by the machine, and When this picture is to be shot by front-facing camera, it is determined that picture needs to carry out mirror image processing, now, carries out picture at mirror image Manage and show the picture after mirror image processing, so that the display of picture meets the general custom of user's viewing.
Wherein, in some optional embodiments, after judging whether picture is shot by front-facing camera, the party Method can also comprise the following steps:
When picture is not to be shot by the machine, and when picture shoots not by front-facing camera, show picture.
Here, when judging that picture is not the machine shooting, and when this picture shoots not by front-facing camera, then it is not required to This picture carried out mirror image processing, to directly display this picture.
It addition, in some optional embodiments, judging, according to facility information, the base whether picture is shot by the machine On plinth, determine whether the storage mode that picture is corresponding, determine the display mode of picture with this, so that the display of picture is more Add the general custom meeting user's viewing.Before step 103, display picture, it is also possible to including:
Obtain the storage mode information corresponding with picture, and according to storage mode information, it is judged that the storage mode of picture is No for mirrored storage;
Step 103, shows picture, may include that
When the storage mode of picture is mirrored storage, show picture;
Step 104, carries out mirror image processing, and shows the picture after mirror image processing, may include that picture
When the storage mode of picture is mirrored storage, picture is carried out mirror image processing, and shows the figure after mirror image processing Sheet.
Here, whether storage mode information carried out mirror image processing for recordable picture when storage, if picture is in storage Shi Jinhang crosses mirror image processing, then the storage mode of this picture is mirrored storage.Determining that picture is to be shot by the machine, and picture When storage mode is mirrored storage, directly display picture;Determining that picture is not to be shot by the machine, and the storage mode of picture is being During mirrored storage, show again after picture is carried out mirror image processing, so so that the display of picture can meet the one of user's viewing As be accustomed to.
Wherein, in some optional embodiments, after whether the storage mode judging picture is mirrored storage, should Method can also comprise the following steps:
When picture is shot by the machine, and when the storage mode of picture is not mirrored storage, picture is carried out mirror image processing, and Picture after display mirror image processing;
When picture is not to be shot by the machine, and when the storage mode of picture is not mirrored storage, show picture.
Here, if picture is shot by the machine, and the storage mode of picture is not mirrored storage, then this picture needs before showing Mirror image processing to be carried out, enables picture to reach when showing and presents, in mirror, the effect that effect is identical;If picture is not Shot by the machine, and the storage mode of picture is not mirrored storage, then need not additionally picture be carried out mirror image processing, directly show Diagram sheet.
The display packing of the picture that the embodiment of the present invention one provides, according to the facility information corresponding with picture, it is judged that picture Whether shot by the machine, the most then show picture;Otherwise, picture is carried out mirror image processing to show again so that symbol during picture display Share the general custom of family viewing, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
Embodiment two
Referring to Fig. 2, it is illustrated that a kind of FB(flow block) of display packing of picture that the embodiment of the present invention two provides, The embodiment of the present invention two provides the display packing of a kind of picture, is applied to mobile terminal, and wherein, this mobile terminal can include all Such as mobile phone, panel computer etc., the method may comprise steps of:
Step 201, obtains locally stored picture and the facility information corresponding with picture.
Here, the machine, when storing picture, stores the facility information corresponding with picture and camera information simultaneously.Equipment Information is used for identifying only one mobile terminal.This device identifying information can be unique number and MAC (Media Access Control, physical address) address etc., wherein, unique number can include such as IMSI (international mobile subscriber identity, International Mobile Subscriber Identification Number), MEID (mobile device identification code, Mobile Equipment Identifier) and IMEI (International Mobile Station Equipment Identification, International Mobile Equipment Identity) etc..Camera information is used for identifying differentiation front-facing camera and post-positioned pick-up head.Wherein, this sets Standby information and camera information can be to be built in the configuration information of picture, it is also possible to be to be stored separately on a certain text literary composition In part or configuration file, it is not construed as limiting here.It addition, locally stored picture not narrow sense is confined to picture itself, it is also possible to Optimize or the picture that obtains after amendment including this picture is beautified, such as by rotated for this picture, scribble, cutting, saturated The picture obtained after one or more combination amendments such as degree adjustment, setting contrast and brightness adjustment, for U.S. of this picture Change and optimize or amendment mode, be not construed as limiting here.
Step 202, according to facility information, it is judged that whether picture is shot by the machine.
Here, when determining that this picture is shot by the machine according to this facility information, then perform step 203;Otherwise perform step 204。
Step 203, shows picture.Here, when judging that picture is shot by the machine, picture is directly displayed.
Step 204, obtains the camera information corresponding with picture, and according to camera information, it is judged that whether picture passes through Front-facing camera shoots.
Here, on the basis of judging that according to facility information picture is not to be shot by the machine, picture shooting is determined whether Time photographic head whether be front-facing camera, determine the display mode of picture with this, so that the display of picture more conforms to The general custom of user's viewing.If picture is to be shot by front-facing camera, then performs step 205, otherwise perform step 206.
Step 205, when picture is to be shot by front-facing camera, carries out mirror image processing to picture, and shows at mirror image Picture after reason.
Step 206, when picture is not to be shot by the machine, and when picture shoots not by front-facing camera, shows picture.
In above-mentioned steps 205 and step 206, determining that picture is not to be shot by the machine, and this picture is being to be taken the photograph by preposition When shooting as head, it is determined that picture needs to carry out mirror image processing, now, after picture carrying out mirror image processing and showing mirror image processing Picture;When determining that picture is not the machine shooting, and when this picture shoots not by front-facing camera, then need not this Picture carries out mirror image processing, directly displays this picture, as such, it is possible to make the display of picture meet the general habit of user's viewing Used.
In some optional embodiments, picture is carried out mirror image processing, may include that picture is carried out level turns over Turn.Here, by the pixel obtained on picture and the pixel on picture is carried out flip horizontal, to obtain and this picture water Flat symmetrical picture, i.e. picture after mirror image processing.
The display packing of the picture that the embodiment of the present invention two provides, according to the facility information corresponding with picture, it is judged that figure After whether sheet is shot by the machine, if being shot by the machine, directly displaying picture, if not being shot by the machine, then determining whether Picture is to be shot by front-facing camera, picture is carried out mirror image processing and shows so that meet user's viewing during picture display General custom, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
Embodiment three
Referring to Fig. 3, it is illustrated that a kind of FB(flow block) of display packing of picture that the embodiment of the present invention three provides, The embodiment of the present invention three provides the display packing of a kind of picture, is applied to mobile terminal, and wherein, this mobile terminal can include all Such as mobile phone, panel computer etc., the method may comprise steps of:
Step 301, obtains locally stored picture and the facility information corresponding with picture.
Here, the machine, when storing picture, stores the facility information corresponding with picture and storage mode information simultaneously.If Standby information is used for identifying only one mobile terminal, and this device identifying information can be unique number and MAC (Media Access Control, physical address) address etc., wherein, unique number can include such as IMSI (international mobile subscriber identification Code, International Mobile Subscriber Identification Number), MEID (mobile device identification Code, Mobile Equipment Identifier) and IMEI (International Mobile Station Equipment Identification, International Mobile Equipment Identity) etc..Whether storage mode information carried out mirror image processing for recordable picture when storage, if figure Sheet carried out mirror image processing when storage, then the storage mode of this picture is mirrored storage.Wherein, this facility information and storage Mode information can be to be built in the configuration information of picture, it is also possible to is to be stored separately on a certain text or configuration literary composition In part, it is not construed as limiting here.It addition, locally stored picture not narrow sense is confined to picture itself, it is also possible to include this picture Carry out beautifying the picture optimizing or obtaining after amendment, such as by rotated for this picture, scribble, cutting, saturation adjustment, contrast The picture obtained after one or more combination amendments such as adjustment and brightness adjustment, beautifies optimization or amendment side for this picture Formula, is not construed as limiting here.
Step 302, according to facility information, it is judged that whether picture is shot by the machine.
Here, when determining that this picture is shot by the machine according to this facility information, then perform step 303;Otherwise perform step 304。
Step 303, the most then obtain the storage mode information corresponding with picture, and according to storage mode information, it is judged that figure Whether the storage mode of sheet is mirrored storage.
Step 304, if it is not, then obtain the storage mode information corresponding with picture, and according to storage mode information, it is judged that figure Whether the storage mode of sheet is mirrored storage.
Here, on the basis of judging according to facility information whether picture is shot by the machine, determine whether that picture is corresponding Storage mode, determine the display mode of picture with this, so that the display of picture more conforms to the general habit of user's viewing Used.
Step 305, when picture is shot by the machine, and when the storage mode of picture is mirrored storage, shows picture;
Step 306, when picture is shot by the machine, and when the storage mode of picture is not mirrored storage, carries out mirror to picture As processing, and show the picture after mirror image processing;
Step 307, when picture is not to be shot by the machine, and when the storage mode of picture is mirrored storage, is carried out picture Mirror image processing, and show the picture after mirror image processing;
Step 308, when picture is not to be shot by the machine, and when the storage mode of picture is not mirrored storage, shows picture.
Here, determining that picture is to be shot by the machine, and when the storage mode of picture is mirrored storage, directly displaying figure Sheet;Determining that picture is shot by the machine, and the storage mode of picture is not mirrored storage, then this picture needs before showing to carry out mirror As processing so that can reach during picture display and mirror presents the effect that effect is identical;Determining that picture is not by this Machine shoots, and the storage mode of picture is not mirrored storage, then need not additionally picture be carried out mirror image processing, directly display figure Sheet;Determining that picture is not to be shot by the machine, and when the storage mode of picture is mirrored storage, after picture is carried out mirror image processing Show again, so so that the display of picture can meet the general custom of user's viewing.
In some optional embodiments, picture is carried out mirror image processing, may include that picture is carried out level turns over Turn.Here, by the pixel obtained on picture and the pixel on picture is carried out flip horizontal, to obtain and this picture water Flat symmetrical picture, i.e. picture after mirror image processing.
The display packing of the picture that the embodiment of the present invention three provides, according to the facility information corresponding with picture, it is judged that figure After whether sheet is shot by the machine, judge whether the storage mode of picture is mirror according to the storage mode information that picture is corresponding further As storage, determine whether picture carries out mirror image processing before showing according to judged result so that during picture display, meet user's viewing General custom, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
Embodiment four
Referring to Fig. 4, it is illustrated that a kind of structured flowchart of mobile terminal that the embodiment of the present invention four provides, the present invention Embodiment four provides a kind of mobile terminal 400, and this mobile terminal 400 can include such as mobile phone, panel computer etc., and this moves end End 400 may include that acquisition module 410 and the first processing module 420.
Acquisition module 410, for obtaining locally stored picture and the facility information corresponding with picture;
First processing module 420, for according to facility information, it is judged that whether picture is shot by the machine, if it is, display figure Sheet;Otherwise, picture is carried out mirror image processing, and shows the picture after mirror image processing.
Seeing Fig. 5, it is illustrated that the another kind of structured flowchart of mobile terminal that the embodiment of the present invention four provides, at some In optional embodiment, in mobile terminal 400, the first processing module 420 may include that the first processing unit 421 and the One display unit 422.
First processing unit 421, for obtaining the camera information corresponding with picture, and according to camera information, it is judged that Whether picture is shot by front-facing camera;
First display unit 422, for when picture is to be shot by front-facing camera, carries out mirror image processing to picture, And show the picture after mirror image processing.
In some optional embodiments, mobile terminal 400 can also include: the first display module 430.
First display module 430, is used for when picture is not to be shot by the machine, and picture shoots not by front-facing camera Time, show picture.
In some optional embodiments, the first processing module 420 includes: the second processing unit 423, second shows single Unit 424 and the 3rd display unit 425.
Second processing unit 423, for obtaining the storage mode information corresponding with picture, and according to storage mode information, Whether the storage mode judging picture is mirrored storage;
Second display unit 424, for when the storage mode of picture is mirrored storage, shows picture;
3rd display unit 425, for when the storage mode of picture is mirrored storage, carries out mirror image processing to picture, And show the picture after mirror image processing.
In some optional embodiments, mobile terminal 400 can also include: the second display module 440 and the 3rd Display module 450.
Second display module 440, for shooting by the machine when picture, and when the storage mode of picture is not mirrored storage, Picture is carried out mirror image processing, and shows the picture after mirror image processing;
3rd display module 450, is used for when picture is not to be shot by the machine, and the storage mode of picture is not mirrored storage Time, show picture.
In some optional embodiments, the first processing module 420 includes: picture processing unit 426.
Picture processing unit 426, for carrying out flip horizontal to picture.
The display packing of the picture that the mobile terminal 400 that the embodiment of the present invention four provides provides with previous embodiment belongs to same One design, it implements process and refers to the embodiment of description method, for avoiding repeating, repeats no more here.
The mobile terminal that the embodiment of the present invention four provides, according to the facility information corresponding with picture, it is judged that picture whether by The machine shoots, the most then show picture;Otherwise, picture is carried out mirror image processing to show again so that during picture display, meet user The general custom of viewing, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
Embodiment five
Fig. 6 is a kind of structured flowchart of the mobile terminal that the embodiment of the present invention five provides.Mobile terminal 700 shown in Fig. 6 Including: at least one processor 701, memorizer 702, at least one network interface 704 and other user interfaces 703.Mobile whole Each assembly in end 700 is coupled by bus system 705.It is understood that bus system 705 is used for realizing these assemblies Between connection communication.Bus system 705, in addition to including data/address bus, also includes power bus, controls bus and state letter Number bus.But for the sake of understanding explanation, in figure 6 various buses are all designated as bus system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memorizer 702 of system and method described herein be intended to include but not limited to these and arbitrarily its It is suitable for the memorizer of type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 7022, comprises various application program, such as, shows Controller, media player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize this The program of inventive embodiments method may be embodied in application program 7022.
In an embodiment of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, can be should With the program of storage in program 7022 or instruction, processor 701 is for obtaining locally stored picture and corresponding with picture Facility information;According to facility information, it is judged that whether picture is shot by the machine, if it is, display picture;Otherwise, picture is carried out Mirror image processing, and show the picture after mirror image processing.
Alternatively, processor 701 is additionally operable to carry out picture mirror image processing, and before showing the picture after mirror image processing, Obtain the camera information corresponding with picture, and according to camera information, it is judged that whether picture is shot by front-facing camera;When When picture is to be shot by front-facing camera, picture is carried out mirror image processing, and shows the picture after mirror image processing.
Alternatively, processor 701 is additionally operable to after judging whether picture is shot by front-facing camera, when picture is not Shot by the machine, and when picture shoots not by front-facing camera, show picture.
Alternatively, processor 701 is additionally operable to, before display picture, obtain the storage mode information corresponding with picture, and According to storage mode information, it is judged that whether the storage mode of picture is mirrored storage;When the storage mode of picture is mirrored storage Time, show picture;When the storage mode of picture is mirrored storage, picture is carried out mirror image processing, and after showing mirror image processing Picture.
Alternatively, processor 701 is additionally operable to after whether the storage mode judging picture is mirrored storage, when picture by The machine shoots, and when the storage mode of picture is not mirrored storage, picture carries out mirror image processing, and after showing mirror image processing Picture;When picture is not to be shot by the machine, and when the storage mode of picture is not mirrored storage, show picture.
Alternatively, processor 701 is additionally operable to picture is carried out flip horizontal.
The method that the invention described above embodiment discloses can apply in processor 701, or is realized by processor 701. Processor 701 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at Memorizer 702, processor 701 reads the information in memorizer 702, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or Processor is outside to be realized.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The mobile terminal that the embodiment of the present invention provides, according to the facility information corresponding with picture, it is judged that whether picture is by this Machine shoots, the most then show picture;Otherwise, picture is carried out mirror image processing to show again so that meet user during picture display and see The general custom seen, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
Sixth embodiment
Fig. 7 is a kind of structured flowchart of the mobile terminal that the embodiment of the present invention six provides.Specifically, the mobile end in Fig. 7 End 800 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted Computer etc..
Mobile terminal 800 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 810, memorizer 820, input Unit 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (Wireless Fidelity) module 880 and electricity Source 890.
Wherein, input block 830 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal The user setup of 800 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 830 can To include contact panel 831.Contact panel 831, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 831), and according in advance The formula set drives corresponding attachment means.Optionally, contact panel 831 can include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give this processor 860 again, and order that processor 860 sends can be received and performed.Furthermore, it is possible to employing resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block 830 can also include other input equipments 832, and other input equipments 832 can include but not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 840 can be used for showing the information inputted by user or the information being supplied to user and movement The various menu interfaces of terminal 800.Display unit 840 can include display floater 841, optionally, can use LCD or organic The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display floater 841.
It should be noted that contact panel 831 can cover display floater 841, formed and touch display screen, when this touch display screen is examined Measure thereon or after neighbouring touch operation, send processor 860 to determine the type of touch event, with preprocessor 860 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interface and the whole mobile phone of connection Various piece, is stored in the software program in first memory 821 and/or module by running or performing, and calls storage Data in second memory 822, perform the various functions of mobile terminal 800 and process data, thus to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 can include one or more processing unit.
In an embodiment of the present invention, by calling the software program and/or module stored in this first memory 821 And/or the data in this second memory 822, processor 860 is for obtaining locally stored picture and corresponding with picture Facility information;According to facility information, it is judged that whether picture is shot by the machine, if it is, display picture;Otherwise, picture is carried out Mirror image processing, and show the picture after mirror image processing.
Alternatively, processor 860 is additionally operable to carry out picture mirror image processing, and before showing the picture after mirror image processing, Obtain the camera information corresponding with picture, and according to camera information, it is judged that whether picture is shot by front-facing camera;When When picture is to be shot by front-facing camera, picture is carried out mirror image processing, and shows the picture after mirror image processing.
Alternatively, processor 860 is additionally operable to after judging whether picture is shot by front-facing camera, when picture is not Shot by the machine, and when picture shoots not by front-facing camera, show picture.
Alternatively, processor 860 is additionally operable to, before display picture, obtain the storage mode information corresponding with picture, and According to storage mode information, it is judged that whether the storage mode of picture is mirrored storage;When the storage mode of picture is mirrored storage Time, show picture;When the storage mode of picture is mirrored storage, picture is carried out mirror image processing, and after showing mirror image processing Picture.
Alternatively, processor 860 is additionally operable to after whether the storage mode judging picture is mirrored storage, when picture by The machine shoots, and when the storage mode of picture is not mirrored storage, picture carries out mirror image processing, and after showing mirror image processing Picture;When picture is not to be shot by the machine, and when the storage mode of picture is not mirrored storage, show picture.
Alternatively, processor 860 is additionally operable to picture is carried out flip horizontal.
Visible, that the embodiment of the present invention provides mobile terminal, according to the facility information corresponding with picture, it is judged that whether picture Shot by the machine, the most then show picture;Otherwise, picture is carried out mirror image processing to show again so that during picture display, meet use The general custom of family viewing, it is not necessary to user carries out turning operation to picture, improves Consumer's Experience.
It should be noted that in inventive embodiments, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operation Between exist any this reality relation or order.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (12)

1. a display packing for picture, is applied to mobile terminal, it is characterised in that described method includes:
Obtain locally stored picture and the facility information corresponding with described picture;
According to described facility information, it is judged that whether described picture is shot by the machine, if it is, show described picture;Otherwise, to institute State picture and carry out mirror image processing, and show the picture after mirror image processing.
Method the most according to claim 1, it is characterised in that described described picture is carried out mirror image processing, and show mirror Before the picture after process, also include:
Obtain the camera information corresponding with described picture, and according to described camera information, it is judged that whether described picture passes through Front-facing camera shoots;
Described described picture is carried out mirror image processing, and show the picture after mirror image processing, including:
When described picture is to be shot by front-facing camera, described picture is carried out mirror image processing, and after showing mirror image processing Picture.
Method the most according to claim 2, it is characterised in that described judge whether described picture is clapped by front-facing camera After taking the photograph, also include:
When described picture is not to be shot by the machine, and when described picture shoots not by front-facing camera, show described picture.
Method the most according to claim 1, it is characterised in that before the described picture of described display, also include:
Obtain the storage mode information corresponding with described picture, and according to described storage mode information, it is judged that depositing of described picture Whether storage mode is mirrored storage;
The described picture of described display, including:
When the storage mode of described picture is mirrored storage, show described picture;
Described described picture is carried out mirror image processing, and show the picture after mirror image processing, including:
When the storage mode of described picture is mirrored storage, described picture is carried out mirror image processing, and after showing mirror image processing Picture.
Method the most according to claim 4, it is characterised in that whether the described storage mode judging described picture is mirror image After storage, also include:
When described picture is shot by the machine, and when the storage mode of described picture is not mirrored storage, described picture is carried out mirror As processing, and show the picture after mirror image processing;
When described picture is not to be shot by the machine, and when the storage mode of described picture is not mirrored storage, show described picture.
6. according to the method described in any one of claim 1 to 5, it is characterised in that described described picture is carried out mirror image processing, Including:
Described picture is carried out flip horizontal.
7. a mobile terminal, it is characterised in that described mobile terminal includes:
Acquisition module, for obtaining locally stored picture and the facility information corresponding with described picture;
First processing module, for according to described facility information, it is judged that whether described picture is shot by the machine, if it is, display Described picture;Otherwise, described picture is carried out mirror image processing, and shows the picture after mirror image processing.
Mobile terminal the most according to claim 7, it is characterised in that described first processing module includes:
First processing unit, for obtaining the camera information corresponding with described picture, and according to described camera information, it is judged that Whether described picture is shot by front-facing camera;
First display unit, for when described picture is to be shot by front-facing camera, carries out mirror image processing to described picture, And show the picture after mirror image processing.
Mobile terminal the most according to claim 8, it is characterised in that described mobile terminal also includes:
First display module, is used for when described picture is not to be shot by the machine, and described picture is clapped not by front-facing camera When taking the photograph, show described picture.
Mobile terminal the most according to claim 7, it is characterised in that described first processing module includes:
Second processing unit, for obtaining the storage mode information corresponding with described picture, and according to described storage mode information, Whether the storage mode judging described picture is mirrored storage;
Second display unit, for when the storage mode of described picture is mirrored storage, shows described picture;
3rd display unit, for when the storage mode of described picture is mirrored storage, carries out mirror image processing to described picture, And show the picture after mirror image processing.
11. mobile terminals according to claim 10, it is characterised in that described mobile terminal also includes:
Second display module, for shooting by the machine when described picture, and when the storage mode of described picture is not mirrored storage, Described picture is carried out mirror image processing, and shows the picture after mirror image processing;
3rd display module, is used for when described picture is not to be shot by the machine, and the storage mode of described picture is not that mirror image is deposited Chu Shi, shows described picture.
12. according to the mobile terminal described in any one of claim 7 to 11, it is characterised in that described first processing module includes:
Picture processing unit, for carrying out flip horizontal to described picture.
CN201610796157.9A 2016-08-31 2016-08-31 A kind of display methods and mobile terminal of picture Active CN106327430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610796157.9A CN106327430B (en) 2016-08-31 2016-08-31 A kind of display methods and mobile terminal of picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610796157.9A CN106327430B (en) 2016-08-31 2016-08-31 A kind of display methods and mobile terminal of picture

Publications (2)

Publication Number Publication Date
CN106327430A true CN106327430A (en) 2017-01-11
CN106327430B CN106327430B (en) 2019-02-15

Family

ID=57786306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610796157.9A Active CN106327430B (en) 2016-08-31 2016-08-31 A kind of display methods and mobile terminal of picture

Country Status (1)

Country Link
CN (1) CN106327430B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105311A (en) * 2017-05-25 2017-08-29 北京小米移动软件有限公司 Live broadcasting method and device
CN108874131A (en) * 2018-06-05 2018-11-23 苏州梦想人软件科技有限公司 Realize the mobile device auxiliary device and method of augmented reality function
CN109409239A (en) * 2018-09-28 2019-03-01 上海与德科技有限公司 Face image processing process, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211371A (en) * 2006-12-27 2008-07-02 索尼株式会社 Image searching device, image searching method, image pick-up device and program
CN103152489A (en) * 2013-03-25 2013-06-12 锤子科技(北京)有限公司 Showing method and device for self-shooting image
CN103902664A (en) * 2014-03-10 2014-07-02 百度在线网络技术(北京)有限公司 Page image rendering method and information providing method and device
CN104243831A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Mobile terminal and method and device for filming through mobile terminal
CN104601898A (en) * 2015-02-26 2015-05-06 成都品果科技有限公司 Universal method for solving direction abnormality of cameras of different mobile devices
US20150381895A1 (en) * 2014-04-22 2015-12-31 Lo Mei-Ling Method of Generating Selfie for a Portable Device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211371A (en) * 2006-12-27 2008-07-02 索尼株式会社 Image searching device, image searching method, image pick-up device and program
CN103152489A (en) * 2013-03-25 2013-06-12 锤子科技(北京)有限公司 Showing method and device for self-shooting image
CN103902664A (en) * 2014-03-10 2014-07-02 百度在线网络技术(北京)有限公司 Page image rendering method and information providing method and device
US20150381895A1 (en) * 2014-04-22 2015-12-31 Lo Mei-Ling Method of Generating Selfie for a Portable Device
CN104243831A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Mobile terminal and method and device for filming through mobile terminal
CN104601898A (en) * 2015-02-26 2015-05-06 成都品果科技有限公司 Universal method for solving direction abnormality of cameras of different mobile devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105311A (en) * 2017-05-25 2017-08-29 北京小米移动软件有限公司 Live broadcasting method and device
CN107105311B (en) * 2017-05-25 2020-06-19 北京小米移动软件有限公司 Live broadcasting method and device
CN108874131A (en) * 2018-06-05 2018-11-23 苏州梦想人软件科技有限公司 Realize the mobile device auxiliary device and method of augmented reality function
CN109409239A (en) * 2018-09-28 2019-03-01 上海与德科技有限公司 Face image processing process, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106327430B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN106844067B (en) A kind of processing method and mobile terminal of content
CN104978115A (en) Content display method and device
CN106973167B (en) A kind of income prompting method and mobile terminal
CN103616983B (en) A kind of picture display method, device and terminal device
CN107491278B (en) A kind of split screen processing method and terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN106101544A (en) A kind of image processing method and mobile terminal
CN107181913A (en) A kind of photographic method and mobile terminal
CN105959564A (en) Photographing method and mobile terminal
CN106327430A (en) Picture display method and mobile terminal
CN106354303A (en) Photographed method of mobile terminal and mobile terminal
CN106210343A (en) The method of adjustment of a kind of mobile terminal screen brightness and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106210512A (en) A kind of photographic head changing method and mobile terminal
CN107346332A (en) A kind of image processing method and mobile terminal
CN106354374A (en) Icon moving method and mobile terminal
CN106686402A (en) Video processing method and mobile terminal
CN106383634A (en) Picture processing method and electronic equipment
CN107480500A (en) The method and mobile terminal of a kind of face verification
CN106598623A (en) Picture combination template generation method and mobile terminal
CN106850940A (en) The changing method and mobile terminal of a kind of state
CN106227488A (en) The display packing of a kind of reminder message and mobile terminal
CN106775294B (en) A kind of image-erasing method and mobile terminal
CN106530217A (en) Photo processing method and mobile terminal
CN107179858A (en) A kind of just list display methods and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant