CN104267875A - Photo mode display method and device - Google Patents

Photo mode display method and device Download PDF

Info

Publication number
CN104267875A
CN104267875A CN201410514147.2A CN201410514147A CN104267875A CN 104267875 A CN104267875 A CN 104267875A CN 201410514147 A CN201410514147 A CN 201410514147A CN 104267875 A CN104267875 A CN 104267875A
Authority
CN
China
Prior art keywords
bitmap
icon
exposal model
list
installation kit
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
CN201410514147.2A
Other languages
Chinese (zh)
Other versions
CN104267875B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410514147.2A priority Critical patent/CN104267875B/en
Publication of CN104267875A publication Critical patent/CN104267875A/en
Application granted granted Critical
Publication of CN104267875B publication Critical patent/CN104267875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Abstract

The invention is applicable to the field of photography, and provides a photo mode display method and device. The method comprises the following steps: selecting a photo mode of a camera and searching an icon of a photo key corresponding to the selected photo mode; displaying the searched icon at the photo key position of the selected photo mode. After the photo mode of the camera is selected, the photo key icon corresponding to the photo mode is firstly searched, and the searched icon is displayed at the photo key position of the selected photo mode, so that a user can distinguish different current modes according to different icons, and the convenience for use of the user is improved.

Description

A kind of exposal model display packing and device
Technical field
The invention belongs to photographic art, particularly relate to a kind of exposal model display packing and device.
Background technology
Along with popularizing of mobile phone, be also integrated with increasing function at mobile phone, such as camera function, positioning function, sound-recording function, radio function, Bluetooth function, WiFi function etc., greatly improve the convenience that mobile phone uses.
Wherein, described camera function, can provide diversified exposal model for user, facilitates user can obtain different shooting effects.Such as under Night, more noise image can be removed, obtain more clear photograph, under burst mode, multiple pictures can be taken continuously, can be used for meeting the candid photograph needs to Moving Objects.
In existing mobile phone camera function, when taking under different exposal models, user is not easy to get information about current exposal model.
Summary of the invention
The object of the present invention is to provide a kind of exposal model display packing, to solve in prior art mobile phone camera function, when taking under different exposal models, user is not easy to the problem getting information about current exposal model.
On the one hand, provide a kind of exposal model display packing, described method comprises:
Select the exposal model of camera, search the icon of shooting key corresponding to selected exposal model;
The icon searched is shown at the shooting key position of selected exposal model.
In conjunction with first aspect, in the first possibility implementation of first aspect, at the exposal model of described selection camera, before searching the icon step of shooting key corresponding to selected exposal model, described method also comprises:
The resource installation kit of the different exposal model of load operating, obtains the icon of the shooting key that each resource installation kit comprises;
According to the ID of described resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP list;
The exposal model of described selection camera, the icon step of searching shooting key corresponding to selected exposal model is specially:
According to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
In conjunction with the first possibility implementation of first aspect, in the second possibility implementation of first aspect, the resource installation kit of the different exposal model of described load operating, the icon step obtaining the shooting key that each resource installation kit comprises is specially:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
In conjunction with the first possibility implementation of first aspect, in the third possibility implementation of first aspect, described according to the position of icon in described screen in described bitmap BITMAP list, the icon step of searching in the bitmap BITMAP list corresponding to position of selection instruction is specially:
Obtain the screen coordinate (x, y) that the position of selection instruction is corresponding, wherein x is abscissa value, and y is ordinate value;
Judge whether (x, y) belongs to the position of the icon in bitmap BITMAP list;
If (x, y) belongs to the position of the icon in bitmap BITMAP list, then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction;
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
In conjunction with the first possibility implementation of first aspect, in the 4th kind of possibility implementation of first aspect, the position of the icon whether described judgement (x, y) belongs in bitmap BITMAP list is specially:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
Second aspect, the invention provides a kind of exposal model display device, it is characterized in that, described device comprises:
Unit is searched in selection, for selecting the exposal model of camera, searches the icon of shooting key corresponding to selected exposal model;
Display unit, shows for the shooting key position at selected exposal model the icon searched.
In conjunction with first aspect, in the first possibility implementation of first aspect, described device also comprises:
Load acquiring unit, for the resource installation kit of the different exposal model of load operating, obtain the icon of the shooting key that each resource installation kit comprises;
Decoding unit, for the ID according to described resource installation kit, is decoded into bitmap BITMAP list by the shooting key icon of each exposal model;
Described selection search unit specifically for: according to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
May implementation in conjunction with the first of first aspect, may in implementation at the second of first aspect, described loading acquiring unit specifically for:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
In conjunction with the first possibility implementation of first aspect, in the third possibility implementation of first aspect, described selection is searched unit and is comprised:
Coordinate obtains subelement, the screen coordinate (x, y) that the position for obtaining selection instruction is corresponding, and wherein x is abscissa value, and y is ordinate value;
Position judgment subelement, for judging whether (x, y) belongs to the position of the icon in bitmap BITMAP list;
ID obtains subelement, if belong to the position of the icon in bitmap BITMAP list for (x, y), then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction.
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
May implementation in conjunction with the first of first aspect, may in implementation at the 4th kind of first aspect, described position judgment subelement specifically for:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
In first aspect present invention, after have selected camera exposal model, first search the shooting key icon corresponding to this exposal model, the icon searched described in the shooting key position display of selected exposal model, thus user can be made to distinguish current residing different mode according to different icons, improve the convenience that user uses.
In the first possibility implementation of first aspect present invention, by the icon of different mode is arranged at different resource installation kits, before selection exposal model, the icon of shooting key is obtained from the different resource installation kit run, and according to the ID that resource is installed, the decoding of the icon of the shooting key of each exposal model is generated bitmap BITMAP list, according to the position of position in described bitmap BITMAP of selection instruction, the icon of corresponding shooting key can be found, easy to operate, and each exposal model corresponds to different resource installation kits, the resource installation kit code independence of different mode can be made stronger, cohesion is good, the convenient maintenance to often kind of pattern.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the exposal model display packing that first embodiment of the invention provides;
Fig. 2 is the realization flow figure of the exposal model display packing that second embodiment of the invention provides;
Fig. 3 be second embodiment of the invention provide according to the position of icon in described screen in described bitmap BITMAP list, search the realization flow figure of the icon in the bitmap BITMAP list corresponding to position of selection instruction;
The schematic diagram searching icon according to selection instruction that Fig. 4 provides for second embodiment of the invention;
The structural representation of the exposal model display device that Fig. 5 provides for third embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention can be mainly used in the equipment of band camera function, can be smart mobile phone, PAD, computer or machine etc. in the same old way, especially can be applicable to Android system and display is distinguished to the icon of different shooting keys, thus in solution prior art, different exposal models is not easy to the problem of differentiation, improve the convenience used.And, the present invention is by further embodiment, the resource of different exposal model is set to different resource installation kits, APK file is in Android system, by obtaining the shooting key icon of different exposal model, and according to the ID of resource installation kit, decoding generates bitmap BITMAP list, the mode of corresponding icon can be searched in the position corresponding according to instruction, while the icon that quick obtaining is corresponding, also be convenient to carry out maintenance management respectively to the resource of each exposal model, improve the intelligent of camera system.Illustrate below in conjunction with accompanying drawing.
Embodiment one:
Be illustrated in figure 1 the realization flow of the exposal model display packing that first embodiment of the invention provides, details are as follows:
In step S101, select the exposal model of camera, search the icon of shooting key corresponding to selected exposal model.
Concrete, the exposal model of described camera, include but not limited to automatic mode, U.S. flesh pattern, preferably exposal model, burst mode, facial mode of priority, stay sound pattern, panoramic photographing mode, motion exposal model, night exposal model etc.Often kind of exposal model can meet different scene capture requirement accordingly.
Such as, for automatic mode, be then applicable to the shooting of general scene, the acquisition parameters of set acquisition parameters corresponding to general scene.Such as exposure parameter, compensating parameter etc.
For U.S. flesh pattern, be then applicable to the photographed scene to character facial, under this exposal model, need to call corresponding whitening algorithm, such as go acne, brighten.
For panoramic photographing mode, being applicable to the scene to longer picture, by calling picture splicing algorithm, obtaining the distant view photograph of required shooting.
The shooting key that described exposal model is corresponding is improvements of the present invention, for different exposal models, selects different shooting keys.
For searching of described shooting key, the icon of different exposal model can be integrated in same resource installation kit, corresponding icon is called accordingly by selecting different patterns, certainly can also according to the mode described in the embodiment of the present invention two, by corresponding for different icons in different resource installation kits, so that the increase better realized exposal model and maintenance.Specific implementation will explanation in embodiment two.
Concrete, the icon of the shooting key that described exposal model is corresponding, can set flexibly according to the request for utilization of user, be understandable that, described icon is advisable can better react current photographed scene.
Such as, for panoramic photographing mode, the icon that can arrange described shooting key is the long scape picture of a width, and with the current corresponding photographed scene of implied meaning for long scape pattern, equally, for U.S. flesh pattern, then the icon that can arrange described shooting key is whitening face.
In step s 102, show at the shooting key position of selected exposal model the icon searched.
The shooting key of described exposal model, refers to and arranges in touch-screen, and can be used for the icon triggering shooting instruction, it is different from the physical button triggering shooting instruction.Click this shooting key for convenience, be preferred embodiment, select touch-screen as the more excellent embodiment of the present invention, but not as limiting.
By showing at shooting key position the icon searched, thus making user under current exposal model, current exposal model can be identified easily, improving the convenience used.
Embodiment two:
Fig. 2 shows the implementing procedure figure of the exposal model display packing that second embodiment of the invention provides, and details are as follows:
In step s 201, the resource installation kit of the different exposal model of load operating, obtains the icon of the shooting key that each resource installation kit comprises.
Different take pictures parameter or corresponding different photo optimized algorithms are selected in being in of difference corresponding to different exposal model, therefore, in actual use, may need to increase new exposal model to camera, to improve the convenience of use.
Take pictures in program at traditional camera, particularly Android system is to the restriction of program, and in Android system, each installation procedure APK is separate, and because the authority of Android system limits, between two APK programs, intercommunication is difficult to directly carry out.Therefore, different exposal models is often integrated in an installation kit.
The resource installation kit of different exposal model described in the present invention, refers to for different exposal model, is provided with different resource installation kits, i.e. corresponding different installation procedure.Make different exposal models can be carried in described photographing program with the form of plug-in unit like this, be convenient to carry out maintenance management to exposal model.
Separate Android system for each installation procedure APK, the resource installation kit of the different exposal model of load operating of the present invention, the icon step obtaining the shooting key that each resource installation kit comprises is specially:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
Each exposal model is packaged into an APK, same process number is shared with the APK of main frame, the APK of such principal phase machine just can access the resource, code etc. of each exposal model APK, the benefit done like this is exactly the resource data that each exposal model can be allowed to manage oneself, thus the resource installation kit of each exposal model can be set flexibly there is the shooting key icon looked for, make code independence, cohesion strengthens greatly.
In Android system, by corresponding setting in program installation kit, such as set identical signature value, make different resource installation kits share same process number.Described reflex mechanism, the program that refers to, when moving, according to the name of class, is obtained program self information, such as in JAVA program, as long as the name of given class, just can be obtained all information of class by reflex mechanism.
In step S202, according to the ID of described resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP list.
The ID of described resource installation kit, the sequence number corresponding to each screening-mode of presetting, can with natural number 0,1,2,3,4,5,6 such order layouts successively.
The described ID according to resource installation kit, is decoded into bitmap BITMAP list by the shooting key icon of each exposal model, by the icon corresponding to different exposal model, according to the sequencing of the ID of resource installation kit, is arranged in described bitmap BITMAP list.
Described bitmap BITMAP list, can be used for depositing the icon in different exposal model, according to the ID order of resource installation kit, and the list comprising each resource installation kit icon obtained successively.
Such as, comprise now four kinds of exposal models, the resource installation kit that correspondence four is different, be respectively A, B, C, D, each resource installation kit comprise one specific for taking the icon of key, and ID corresponding to each resource installation kit is 2,1,0,3, so, when generating corresponding bitmap BITMAP list according to decoding instruction, the order of the corresponding resource installation kit of the icon in bitmap list is C, B, A, D.
In step S203, according to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
Wherein, as shown in Figure 3, described according to the position of icon in described screen in described bitmap BITMAP list, the icon step of searching in the bitmap BITMAP list corresponding to position of selection instruction can be specially:
In step S301, obtain the screen coordinate (x, y) that the position of selection instruction is corresponding, wherein x is abscissa value, and y is ordinate value.
Concrete, when selecting exposal model, can according to the bitmap BITMAP list input selection instruction of display, obtain the coordinate figure (x, y) of selection instruction, wherein x is abscissa value, and y is ordinate value.This selection instruction is generally touch instruction.
In step s 302, judge whether (x, y) belongs to the position of the icon in bitmap BITMAP list.
Judge (x, y) mode whether belonging to the position of the icon in bitmap BITMAP list comprises multiple, such as can set the figure target area in bitmap BITMAP list, judge whether to belong to predetermined region, or judged by coordinates computed value respectively, a kind of method that wherein coordinates computed value judges can be as follows:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
In step S303, if (x, y) belongs to the position of the icon in bitmap BITMAP list, then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction.
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
Be illustrated in figure 4 the schematic diagram searching icon according to selection instruction that the embodiment of the present invention provides, suppose that the coordinate inputted is (8, 9), the width 3 of each icon in bitmap BITMAP, the lateral separation of two icons is 0.5, the height of each icon is 3, the longitudinal separation of two icons is 0.5, the number of the every row icon of bitmap BITMAP list is 4, so, due to 0.5/2<1<0.5/2+3, and 0.5/2<2<0.5/2+3, therefore, coordinate (8, 9) position of the icon in bitmap BITMAP list is belonged to.
Shooting key icon corresponding to further acquisition instruction.Due to | 8/3|+|9/3|*4=10, the resource installation kit ID sequence number found corresponding to icon is 10, can search the icon in corresponding installation resource bag according to ID sequence number.
In step S204, show at the shooting key position of selected exposal model the icon searched.
Step S204 is identical with step S102, does not repeat at this.
The icon of each exposal model, on the basis of embodiment one, is arranged at resource installation kit by the embodiment of the present invention further, and passes through icon corresponding to bitmap BITMAP list fast finding preference pattern, realizes simple, and is convenient to maintenance management.
Embodiment three:
Fig. 5 shows the structural representation of the exposal model display device that third embodiment of the invention provides, and details are as follows:
Exposal model display device described in the embodiment of the present invention, comprising:
Unit 501 is searched in selection, for selecting the exposal model of camera, searches the icon of shooting key corresponding to selected exposal model;
Display unit 502, shows for the shooting key position at selected exposal model the icon searched.
Preferably, described device also comprises:
Load acquiring unit, for the resource installation kit of the different exposal model of load operating, obtain the icon of the shooting key that each resource installation kit comprises;
Decoding unit, for the ID according to described resource installation kit, is decoded into bitmap BITMAP list by the shooting key icon of each exposal model;
Described selection search unit specifically for: according to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
Further optimization, described loading acquiring unit specifically for:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
Preferably, described selection is searched unit and is comprised:
Coordinate obtains subelement, the screen coordinate (x, y) that the position for obtaining selection instruction is corresponding, and wherein x is abscissa value, and y is ordinate value;
Position judgment subelement, for judging whether (x, y) belongs to the position of the icon in bitmap BITMAP list;
ID obtains subelement, if belong to the position of the icon in bitmap BITMAP list for (x, y), then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction.
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
Further, described position judgment subelement specifically for:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
Exposal model display device described in the embodiment of the present invention, corresponding with the exposal model display packing described in embodiment one, embodiment two, do not repeat at this.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an exposal model display packing, is characterized in that, described method comprises:
Select the exposal model of camera, search the icon of shooting key corresponding to selected exposal model;
The icon searched is shown at the shooting key position of selected exposal model.
2. method according to claim 1, it is characterized in that, at the exposal model of described selection camera, before searching the icon step of shooting key corresponding to selected exposal model, described method also comprises:
The resource installation kit of the different exposal model of load operating, obtains the icon of the shooting key that each resource installation kit comprises;
According to the ID of described resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP list;
The exposal model of described selection camera, the icon step of searching shooting key corresponding to selected exposal model is specially:
According to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
3. method according to claim 2, is characterized in that, the resource installation kit of the different exposal model of described load operating, and the icon step obtaining the shooting key that each resource installation kit comprises is specially:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
4. method according to claim 2, it is characterized in that, described according to the position of icon in described screen in described bitmap BITMAP list, the icon step of searching in the bitmap BITMAP list corresponding to position of selection instruction is specially:
Obtain the screen coordinate (x, y) that the position of selection instruction is corresponding, wherein x is abscissa value, and y is ordinate value;
Judge whether (x, y) belongs to the position of the icon in bitmap BITMAP list;
If (x, y) belongs to the position of the icon in bitmap BITMAP list, then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction;
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
5. method according to claim 4, it is characterized in that, the position of the icon whether described judgement (x, y) belongs in bitmap BITMAP list is specially:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
6. an exposal model display device, is characterized in that, described device comprises:
Unit is searched in selection, for selecting the exposal model of camera, searches the icon of shooting key corresponding to selected exposal model;
Display unit, shows for the shooting key position at selected exposal model the icon searched.
7. device according to claim 6, it is characterized in that, described device also comprises:
Load acquiring unit, for the resource installation kit of the different exposal model of load operating, obtain the icon of the shooting key that each resource installation kit comprises;
Decoding unit, for the ID according to described resource installation kit, is decoded into bitmap BITMAP list by the shooting key icon of each exposal model;
Described selection search unit specifically for: according to the position of icon in described screen in described bitmap BITMAP list, search the icon in the bitmap BITMAP list corresponding to position of selection instruction.
8. device according to claim 7, is characterized in that, described loading acquiring unit specifically for:
Resource installation kit and the principal phase machine resource installation kit of different exposal model share same process number;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
9. device according to claim 7, it is characterized in that, described selection is searched unit and is comprised:
Coordinate obtains subelement, the screen coordinate (x, y) that the position for obtaining selection instruction is corresponding, and wherein x is abscissa value, and y is ordinate value;
Position judgment subelement, for judging whether (x, y) belongs to the position of the icon in bitmap BITMAP list;
ID obtains subelement, if belong to the position of the icon in bitmap BITMAP list for (x, y), then according to formula: id=x/a+y/b*N obtains the shooting key icon corresponding to instruction.
Wherein, id represents the ID of the resource installation kit in bitmap BITMAP, and described a is the width l of each icon in bitmap BITMAP 1with the lateral separation P of two icons 1sum, described b is the height h of each icon in bitmap BITMAP 1with the longitudinal separation Q of two icons 1sum, described N is the number of the every row icon of bitmap BITMAP list, and x/a represents that x rounds a, and y/b represents that y rounds b.
10. device according to claim 9, is characterized in that, described position judgment subelement specifically for:
Make xx=x%a 1, yy=y%b 1, judge P 1/ 2<xx<P 1/ 2+l 1and Q 1/ 2<yy<Q 1/ 2+h 1whether set up, if set up, then (x, y) belongs to the position of the icon in bitmap BITMAP list, wherein x%a 1represent that x is to a 1complementation, y%b 1represent that y is to b 1complementation, P 1the laterally spaced half of/2 expressions two icons, Q 1the half of the longitudinal separation of/2 expressions two icons.
CN201410514147.2A 2014-09-29 2014-09-29 A kind of exposal model display methods and device Active CN104267875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410514147.2A CN104267875B (en) 2014-09-29 2014-09-29 A kind of exposal model display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410514147.2A CN104267875B (en) 2014-09-29 2014-09-29 A kind of exposal model display methods and device

Publications (2)

Publication Number Publication Date
CN104267875A true CN104267875A (en) 2015-01-07
CN104267875B CN104267875B (en) 2018-01-16

Family

ID=52159402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410514147.2A Active CN104267875B (en) 2014-09-29 2014-09-29 A kind of exposal model display methods and device

Country Status (1)

Country Link
CN (1) CN104267875B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580916A (en) * 2015-01-29 2015-04-29 广东欧珀移动通信有限公司 Photo mode display method and device and mobile terminal
CN104639836A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Method and system for updating shooting mode
CN112148185A (en) * 2020-09-17 2020-12-29 维沃移动通信(杭州)有限公司 Image display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100177233A1 (en) * 2004-06-23 2010-07-15 Sony Corporation Picture display controlling apparatus and picture display controlling method
CN102722321A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for switching between double cameras
CN103207725A (en) * 2012-01-13 2013-07-17 腾讯科技(深圳)有限公司 Icon conversion method and device
US20130293757A1 (en) * 2010-12-13 2013-11-07 Sony Corporation Image processing apparatus and image processing method
CN103533244A (en) * 2013-10-21 2014-01-22 深圳市中兴移动通信有限公司 Shooting device and automatic visual effect processing shooting method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100177233A1 (en) * 2004-06-23 2010-07-15 Sony Corporation Picture display controlling apparatus and picture display controlling method
US20130293757A1 (en) * 2010-12-13 2013-11-07 Sony Corporation Image processing apparatus and image processing method
CN103207725A (en) * 2012-01-13 2013-07-17 腾讯科技(深圳)有限公司 Icon conversion method and device
CN102722321A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for switching between double cameras
CN103533244A (en) * 2013-10-21 2014-01-22 深圳市中兴移动通信有限公司 Shooting device and automatic visual effect processing shooting method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BENSC2003: "IOS8延时拍摄怎么用", 《HTTP://JINGYAN.BAIDU.COM/ARTICLE/86FAE346B7C0603C49121ADA.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580916A (en) * 2015-01-29 2015-04-29 广东欧珀移动通信有限公司 Photo mode display method and device and mobile terminal
CN104580916B (en) * 2015-01-29 2018-01-16 广东欧珀移动通信有限公司 Display methods, device and the mobile terminal of exposal model
CN104639836A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Method and system for updating shooting mode
CN112148185A (en) * 2020-09-17 2020-12-29 维沃移动通信(杭州)有限公司 Image display method and device

Also Published As

Publication number Publication date
CN104267875B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
US10739958B2 (en) Method and device for executing application using icon associated with application metadata
KR101813195B1 (en) Method and apparatus, program and recording medium for recommending contact information
CN104284064A (en) Method and apparatus for previewing a dual-shot image
CN105005597A (en) Photograph sharing method and mobile terminal
KR20150072764A (en) Method and apparatus for controlling scale resolution in a electronic device
US20220417417A1 (en) Content Operation Method and Device, Terminal, and Storage Medium
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
CN104869305A (en) Method for processing image data and apparatus for the same
CN112230914B (en) Method, device, terminal and storage medium for producing small program
US20160291836A1 (en) Smart terminal and associated method for displaying application icons
CN105005599A (en) Photograph sharing method and mobile terminal
CN112954196A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN103167258A (en) Method, system and apparatus for selecting an image captured on an image capture device
KR20150027934A (en) Apparatas and method for generating a file of receiving a shoot image of multi angle in an electronic device
CN113238752A (en) Code generation method and device, electronic equipment and storage medium
CN104267875A (en) Photo mode display method and device
CN103207725B (en) Icon conversion method and device
CN114327178B (en) Interface display method, device and storage medium
CN113194256B (en) Shooting method, shooting device, electronic equipment and storage medium
CN103631225A (en) Method and device for remotely controlling scene equipment
KR102100667B1 (en) Apparatus and method for generating an image in a portable terminal
CN112965773A (en) Method, apparatus, device and storage medium for information display
KR102076629B1 (en) Method for editing images captured by portable terminal and the portable terminal therefor
US11425312B2 (en) Image processing program, and image processing system causing a server to control synthesis of a real space image and a virtual object image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP03 Change of name, title or address