CN104267875B - A kind of exposal model display methods and device - Google Patents
A kind of exposal model display methods and device Download PDFInfo
- Publication number
- CN104267875B CN104267875B CN201410514147.2A CN201410514147A CN104267875B CN 104267875 B CN104267875 B CN 104267875B CN 201410514147 A CN201410514147 A CN 201410514147A CN 104267875 B CN104267875 B CN 104267875B
- Authority
- CN
- China
- Prior art keywords
- bitmap
- icon
- exposal model
- installation kit
- lists
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000009434 installation Methods 0.000 claims description 73
- 230000008569 process Effects 0.000 claims description 12
- 230000007246 mechanism Effects 0.000 claims description 8
- 230000011514 reflex Effects 0.000 claims description 8
- 238000000926 separation method Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 12
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 208000002874 Acne Vulgaris Diseases 0.000 description 1
- 206010000496 acne Diseases 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 235000013312 flour Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0482—Interaction with lists of selectable items, e.g. menus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention is applied to photographic art, there is provided a kind of exposal model display methods and device, this method include:The exposal model of camera is selected, searches the icon of shooting key corresponding to selected exposal model;Searched icon is shown in the shooting key position of selected exposal model.After it have selected camera exposal model, first search the shooting key icon corresponding to the exposal model, the icon of the lookup is shown in the shooting key position of selected exposal model, so as to make user distinguish the different mode being presently according to different icons, improves the convenience that user uses.
Description
Technical field
The invention belongs to photographic art, more particularly to a kind of exposal model display methods and device.
Background technology
With the popularization of mobile phone, increasing function, such as camera function, positioning function, record are also integrated with mobile phone
Sound function, radio function, Bluetooth function, WiFi function etc., greatly improve the convenience that mobile phone uses.
Wherein, described camera function, diversified exposal model can be provided the user, facilitates user to obtain
Different shooting effects.For example under Night, more noise images can be removed, relatively sharp photo is obtained,
Under burst mode, multiple pictures can be continuously shot, available for the candid photograph needs met to Moving Objects.
In existing mobile phone camera function, when being shot under different exposal models, user is not easy to intuitively
Solve current exposal model.
The content of the invention
It is an object of the invention to provide a kind of exposal model display methods, to solve prior art mobile phone camera function
In, when being shot under different exposal models, the problem of user is not easy to get information about current exposal model.
On the one hand, there is provided a kind of exposal model display methods, methods described include:
The exposal model of camera is selected, searches the icon of shooting key corresponding to selected exposal model;
Searched icon is shown in the shooting key position of selected exposal model.
With reference in a first aspect, in the first possible implementation of first aspect, in the mould of taking pictures of the selection camera
Formula, before searching the icon step of shooting key corresponding to selected exposal model, methods described also includes:
The resource installation kit of load operating difference exposal model, obtain the figure for the shooting key that each resource installation kit includes
Mark;
According to the ID of the resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP row
Table;
The exposal model of the selection camera, the icon step for searching shooting key corresponding to selected exposal model are specific
For:
According to position of the icon in the screen in the bitmap BITMAP lists, the position institute for searching selection instruction is right
Icon in the bitmap BITMAP lists answered.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect, institute
The resource installation kit of load operating difference exposal model is stated, obtains the icon step for the shooting key that each resource installation kit includes
Specially:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
With reference to the first possible implementation of first aspect, in the third possible implementation of first aspect, institute
State according to position of the icon in the screen in the bitmap BITMAP lists, search the position corresponding to the position of selection instruction
Figure BITMAP lists in icon step be specially:
The screen coordinate (x, y) of the position correspondence of selection instruction is obtained, wherein x is abscissa value, and y is ordinate value;
Judge the position for the icon whether (x, y) belongs in bitmap BITMAP lists;
The position for the icon that (if x, y) belongs in bitmap BITMAP lists, then according to formula:Id=x/a+y/b*N is obtained
Shooting key icon corresponding to instruction fetch;
Wherein, id represents that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Width l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two figures
The longitudinally spaced Q of target1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, y/b tables
Show that y rounds to b.
With reference to the first possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, institute
The position for stating the icon whether judgement (x, y) belongs in bitmap BITMAP lists is specially:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if into
Vertical, then the position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents y to b
Complementation, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
Second aspect, the invention provides a kind of exposal model display device, it is characterised in that described device includes:
Searching unit is selected, for selecting the exposal model of camera, searches shooting key corresponding to selected exposal model
Icon;
Display unit, searched icon is shown for the shooting key position in selected exposal model.
With reference in a first aspect, in the first possible implementation of first aspect, described device also includes:
Acquiring unit is loaded, for the resource installation kit of load operating difference exposal model, obtains each resource installation kit
The icon of the shooting key included;
Decoding unit, for the ID according to the resource installation kit, the shooting key icon of each exposal model is decoded into
Bitmap BITMAP lists;
The selection searching unit is specifically used for:According to position of the icon in the screen in the bitmap BITMAP lists
Put, search the icon in the bitmap BITMAP lists corresponding to the position of selection instruction.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect, institute
Loading acquiring unit is stated to be specifically used for:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
With reference to the first possible implementation of first aspect, in the third possible implementation of first aspect, institute
Stating selection searching unit includes:
Coordinate obtains subelement, and the screen coordinate (x, y) of the position correspondence for obtaining selection instruction, wherein x is horizontal seat
Scale value, y are ordinate value;
Position judgment subelement, the position of the icon whether belonged in bitmap BITMAP lists for judging (x, y);
ID obtains subelement, if the position for (x, the y) icon belonged in bitmap BITMAP lists, then according to public affairs
Formula:Id=x/a+y/b*N obtains the corresponding shooting key icon of instruction.
Wherein, id represents that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Width l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two figures
The longitudinally spaced Q of target1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, y/b tables
Show that y rounds to b.
With reference to the first possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, institute
Rheme is put judgment sub-unit and is specifically used for:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if into
Vertical, then the position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents y to b
Complementation, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
In first aspect present invention, after it have selected camera exposal model, the bat corresponding to the exposal model is first searched
Take the photograph key icon, the icon of the lookup shown in the shooting key position of selected exposal model, so as to make user according to
Different icons distinguishes the different mode being presently in, and improves the convenience that user uses.
In the first possible implementation of first aspect present invention, by the way that the icon of different mode is arranged at into difference
Resource installation kit, before exposal model is selected, from the different resource installation kit of operation obtain shooting key icon, and according to
The ID of resource installation, the icon decoding of the shooting key of each exposal model is generated into bitmap BITMAP lists, according to selection instruction
Position of the position in the bitmap BITMAP, you can find the icon of corresponding shooting key, it is easy to operate, and often
Individual exposal model corresponds to different resource installation kits, can make it that the resource installation kit code independence of different mode is stronger,
Cohesion is good, more the convenient maintenance to each pattern.
Brief description of the drawings
Fig. 1 is the implementation process figure for the exposal model display methods that first embodiment of the invention provides;
Fig. 2 is the implementation process figure for the exposal model display methods that second embodiment of the invention provides;
Fig. 3 be second embodiment of the invention provide according to icon in the bitmap BITMAP lists in the screen
Position, search the implementation process figure of the icon in the bitmap BITMAP lists corresponding to the position of selection instruction;
Fig. 4 is the schematic diagram that icon is searched according to selection instruction that second embodiment of the invention provides;
Fig. 5 is the structural representation for the exposal model display device that third embodiment of the invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention can be mainly used in the equipment with camera function, can be smart mobile phone, PAD, computer or
Machine etc. in the same old way, it is particularly applicable to Android system and display is distinguished to the icon of different shooting keys, so as to solve in the prior art
The problem of being not easy to distinguish for different exposal models, improves the convenience used.Also, the present invention passes through further real
Mode is applied, the resource of different exposal models is arranged to different resource installation kits, is APK file in Android system, leads to
The shooting key icon for obtaining different exposal models is crossed, and according to the ID of resource installation kit, decoding generation bitmap BITMAP lists, root
The mode of corresponding icon can be searched according to position corresponding to instruction, corresponding to quick obtaining while icon, is also allowed for each
The resource of individual exposal model carries out maintenance management respectively, improves the intelligent of camera system.Illustrate below in conjunction with the accompanying drawings.
Embodiment one:
The implementation process of the exposal model display methods provided as shown in Figure 1 for first embodiment of the invention, details are as follows:
In step S101, the exposal model of camera is selected, searches the figure of shooting key corresponding to selected exposal model
Mark.
Specifically, the exposal model of the camera, including 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..It is every kind of
Exposal model can meet different scenes photographing request accordingly.
For example for automatic mode, then suitable for the shooting of general scene, set acquisition parameters are general scene institute
Corresponding acquisition parameters.Such as exposure parameter, compensating parameter etc..
For U.S. flesh pattern, then it is applied to the photographed scene to character facial, it is necessary to call corresponding under the exposal model
Whitening algorithm, for example go acne, brighten.
For panoramic photographing mode, suitable for the scene to longer picture, by calling picture splicing algorithm, needed for acquisition
The distant view photograph to be shot.
Shooting key, is improvements of the present invention, for different exposal models, from difference corresponding to the exposal model
Shooting key.
The icon of different exposal models, can be integrated in same resource installation kit by the lookup for the shooting key,
By selecting different patterns icon corresponding to calling accordingly, the side described in certain acceptable according to embodiments of the present invention two
Formula, different icons is corresponding in different resource installation kits, in order to preferably realize increase and the dimension to exposal model
Shield.Specific implementation will illustrate in embodiment two.
Specifically, the icon of shooting key corresponding to the exposal model, can flexibly set according to the requirement of user,
It is understood that the icon is advisable with can preferably react current photographed scene.
For example for panoramic photographing mode, the icon that can set the shooting key is the long scape picture of a width, is worked as with implied meaning
Preceding corresponding photographed scene is long scape pattern, and equally, for U.S. flesh pattern, then the icon that can set the shooting key is U.S.
Fine flour hole.
In step s 102, searched icon is shown in the shooting key position of selected exposal model.
The shooting key of the exposal model, refers to what is set in touch-screen, the icon instructed available for triggering shooting, its
Different from the physical button of triggering shooting instruction.For convenience of the shooting key is clicked on, preferred embodiment is to be made from touch-screen
For the more excellent embodiment of the present invention, but not as restriction.
By showing searched icon in shooting key position, so that user under current exposal model, can facilitate
The current exposal model of identification, improve the convenience used.
Embodiment two:
Fig. 2 shows the implementing procedure figure for the exposal model display methods that second embodiment of the invention provides, and details are as follows:
In step s 201, the resource installation kit of load operating difference exposal model, obtain and wrapped in each resource installation kit
The icon of the shooting key included.
Selection different take pictures parameter or corresponding different photograph are in due to the difference corresponding to different exposal models
Piece optimized algorithm, therefore, in actual use, it may be desirable to increase new exposal model to camera, used just with improving
Profit.
In traditional camera takes pictures program, particularly limitation of the Android system to program, each installed in Android system
Program APK is separate, and because the authority of Android system limits, intercommunication is difficult directly to carry out between two APK programs.
Therefore, different exposal models is often integrated in an installation kit.
The resource installation kit of heretofore described different exposal models, refer to that there is provided difference for different exposal models
Resource installation kit, that is, correspond to different installation procedures.Different exposal models is so allowd to be loaded in the form of plug-in unit
In the photographing program, it is easy to carry out maintenance management to exposal model.
It is separate Android system for each installation procedure APK, load operating difference of the present invention is taken pictures
The resource installation kit of pattern, the icon step for obtaining the shooting key that each resource installation kit includes are specially:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
Each exposal model is packaged into an APK, shares same process number with the APK of main frame, such principal phase machine
APK cans access each exposal model APK resource, code etc., and the benefit so done can exactly allow each exposal model
The resource data of oneself is managed, so that the resource installation kit of each exposal model can be flexibly set with the shooting looked for
Key icon so that code independence, cohesion greatly enhance.
In Android system, by setting accordingly in program installation kit, such as setting identical signature value so that no
Same resource installation kit shares same process number.The reflex mechanism, refer to that program in motion, according to the name of class, obtains
Program self information, such as in JAVA programs, as long as the name of given class, it is possible to obtain all of class by reflex mechanism
Information.
In step S202, according to the ID of the resource installation kit, the shooting key icon of each exposal model is decoded into
Bitmap BITMAP lists.
The ID of the resource installation kit, it is the sequence number corresponding to each screening-mode set in advance, can be with natural number
0th, 1,2,3,4,5,6 such order layout successively.
The ID according to resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP row
Table, icon that will be corresponding to different exposal models according to the ID of resource installation kit sequencing, are arranged on the bitmap
In BITMAP lists.
The bitmap BITMAP lists, available for the icon deposited in different exposal models, according to the ID of resource installation kit
Sequentially, what is obtained successively includes the list of each resource installation kit icon.
For example include four kinds of exposal models now, corresponding four different resource installation kits, respectively A, B, C, D, each
Resource installation kit includes a specific icon for being used to shoot key, and ID corresponding to each resource installation kit is 2,1,0,3, that
, according to during bitmap BITMAP lists, the icon in bitmap list corresponds to resource installation kit corresponding to solution code instruction generation
Order is C, B, A, D.
In step S203, according to position of the icon in the screen in the bitmap BITMAP lists, selection is searched
The icon in bitmap BITMAP lists corresponding to the position of instruction.
Wherein, it is as shown in figure 3, described according to position of the icon in the screen in the bitmap BITMAP lists, look into
The icon step looked in the bitmap BITMAP lists corresponding to the position of selection instruction can be specially:
In step S301, the screen coordinate (x, y) of the position correspondence of selection instruction is obtained, wherein x is abscissa value, y
For ordinate value.
Specifically, when selecting exposal model, selection instruction can be inputted according to the bitmap BITMAP lists of display, obtained
The coordinate value (x, y) of selection instruction, wherein x are abscissa value, and y is ordinate value.The selection instruction is usually touching instruction.
In step s 302, the position for the icon whether (x, y) belongs in bitmap BITMAP lists is judged.
Judge the position of icon whether (x, y) belongs in bitmap BITMAP lists mode include it is a variety of, such as can be with
The figure target area in bitmap BITMAP lists is set, judges whether to belong to predetermined region, or pass through coordinates computed respectively
Value is judged that the method that one of which coordinates computed value judges can be with as follows:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if into
Vertical, then the position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents y to b
Complementation, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
In step S303, if the position for the icon that (x, y) belongs in bitmap BITMAP lists, then according to formula:id
=x/a+y/b*N obtains the corresponding shooting key icon of instruction.
Wherein, id represents that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Width l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two figures
The longitudinally spaced Q of target1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, y/b tables
Show that y rounds to b.
It is illustrated in figure 4 the schematic diagram provided in an embodiment of the present invention that icon is searched according to selection instruction, it is assumed that input
Coordinate is (8,9), and the width 3 of each icon in bitmap BITMAP, the lateral separation of two icons is 0.5, the height of each icon
Spend for 3, two the longitudinally spaced of icon are 0.5, and the number of the every row icon of bitmap BITMAP lists is 4, then, due to 0.5/
2<1<0.5/2+3, and 0.5/2<2<0.5/2+3, therefore, the position for the icon that coordinate (8,9) belongs in bitmap BITMAP lists.
Further obtain the corresponding shooting key icon of instruction.Due to | 8/3 |+| 9/3 | * 4=10, it is right to find icon institute
The resource installation kit ID serial numbers 10 answered, the icon according to corresponding to can searching ID sequence numbers in installation resource bag.
In step S204, searched icon is shown in the shooting key position of selected exposal model.
Step S204 is identical with step S102, is not repeated repeats herein.
The icon of each exposal model is further arranged at resource peace by the embodiment of the present invention on the basis of embodiment one
Dress bag, and icon corresponding to selection mode is quickly searched by bitmap BITMAP lists, realize simply, and be easy to safeguard and manage
Reason.
Embodiment three:
Fig. 5 shows the structural representation for 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, including:
Searching unit 501 is selected, for selecting the exposal model of camera, searches and is shot corresponding to selected exposal model
The icon of key;
Display unit 502, searched icon is shown for the shooting key position in selected exposal model.
Preferably, described device also includes:
Acquiring unit is loaded, for the resource installation kit of load operating difference exposal model, obtains each resource installation kit
The icon of the shooting key included;
Decoding unit, for the ID according to the resource installation kit, the shooting key icon of each exposal model is decoded into
Bitmap BITMAP lists;
The selection searching unit is specifically used for:According to position of the icon in the screen in the bitmap BITMAP lists
Put, search the icon in the bitmap BITMAP lists corresponding to the position of selection instruction.
Further optimize, the loading acquiring unit is specifically used for:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
Preferably, the selection searching unit includes:
Coordinate obtains subelement, and the screen coordinate (x, y) of the position correspondence for obtaining selection instruction, wherein x is horizontal seat
Scale value, y are ordinate value;
Position judgment subelement, the position of the icon whether belonged in bitmap BITMAP lists for judging (x, y);
ID obtains subelement, if the position for (x, the y) icon belonged in bitmap BITMAP lists, then according to public affairs
Formula:Id=x/a+y/b*N obtains the corresponding shooting key icon of instruction.
Wherein, id represents that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Width l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two figures
The longitudinally spaced Q of target1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, y/b tables
Show that y rounds to b.
Further, the position judgment subelement is specifically used for:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if into
Vertical, then the position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents y to b
Complementation, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
Exposal model display device described in the embodiment of the present invention, with the exposal model described in embodiment one, embodiment two
Display methods is corresponding, is not repeated repeats herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (8)
1. a kind of exposal model display methods, it is characterised in that methods described includes:
The exposal model of camera is selected, searches the icon of shooting key corresponding to selected exposal model;Wherein, every kind of mould of taking pictures
Formula meets different scenes photographing request accordingly, and with the photo shot required for acquisition, different exposal models is from different
Key is shot, shooting key is used to trigger shooting instruction;
Searched icon is shown in the shooting key position of selected exposal model;
In the exposal model of the selection camera, search before shooting the icon step of key corresponding to selected exposal model,
Methods described also includes:
The resource installation kit of load operating difference exposal model, obtain the icon for the shooting key that each resource installation kit includes;
The resource installation kit of the different exposal models refers to set different resource installation kits for different exposal models;
According to the ID of the resource installation kit, the shooting key icon of each exposal model is decoded into bitmap BITMAP lists;
The exposal model of the selection camera, the icon step for searching shooting key corresponding to selected exposal model are specially:
According to position of the icon in screen in the bitmap BITMAP lists, the bitmap corresponding to the position of selection instruction is searched
Icon in BITMAP lists.
2. method according to claim 1, it is characterised in that the resource installation kit of the load operating difference exposal model,
The icon step for obtaining the shooting key that each resource installation kit includes is specially:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
3. method according to claim 1, it is characterised in that it is described according to icon in the bitmap BITMAP lists in screen
In position, the icon step searched in the bitmap BITMAP lists corresponding to the position of selection instruction is specially:
The screen coordinate (x, y) of the position correspondence of selection instruction is obtained, wherein x is abscissa value, and y is ordinate value;
Judge the position for the icon whether (x, y) belongs in bitmap BITMAP lists;
The position for the icon that (if x, y) belongs in bitmap BITMAP lists, then according to formula:Id=x/a+y/b*N, which is obtained, to be referred to
The corresponding shooting key icon of order;
Wherein, id represents the width that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Spend l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two icons
Longitudinally spaced Q1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, and y/b represents y pairs
B is rounded.
4. method according to claim 3, it is characterised in that described to judge whether (x, y) belongs in bitmap BITMAP lists
The position of icon be specially:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if set up,
The then position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents that y is asked b
It is remaining, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
5. a kind of exposal model display device, it is characterised in that described device includes:
Searching unit is selected, for selecting the exposal model of camera, searches the figure of shooting key corresponding to selected exposal model
Mark;Wherein, every kind of exposal model meets different scenes photographing request accordingly, different with the photo shot required for acquisition
Exposal model selects different shooting keys, and shooting key is used to trigger shooting instruction;
Display unit, searched icon is shown for the shooting key position in selected exposal model;
Described device also includes:
Acquiring unit is loaded, for the resource installation kit of load operating difference exposal model, obtains and is wrapped in each resource installation kit
The icon of the shooting key included;The resource installation kit of the different exposal models refers to set different money for different exposal models
Source installation kit;
Decoding unit, for the ID according to the resource installation kit, the shooting key icon of each exposal model is decoded into bitmap
BITMAP lists;
The selection searching unit is specifically used for:According to position of the icon in screen in the bitmap BITMAP lists, search
The icon in bitmap BITMAP lists corresponding to the position of selection instruction.
6. device according to claim 5, it is characterised in that the loading acquiring unit is specifically used for:
The resource installation kit of different exposal models shares same process number with principal phase machine resource installation kit;
The icon of the shooting key corresponding to each exposal model is obtained by reflex mechanism.
7. device according to claim 5, it is characterised in that the selection searching unit includes:
Coordinate obtains subelement, and the screen coordinate (x, y) of the position correspondence for obtaining selection instruction, wherein x is abscissa value,
Y is ordinate value;
Position judgment subelement, the position of the icon whether belonged in bitmap BITMAP lists for judging (x, y);
ID obtains subelement, if the position for (x, the y) icon belonged in bitmap BITMAP lists, then according to formula:id
=x/a+y/b*N obtains the corresponding shooting key icon of instruction;
Wherein, id represents the width that the ID of the resource installation kit in bitmap BITMAP, a are each icon in bitmap BITMAP
Spend l1With the lateral separation P of two icons1Sum, the b are the height h of each icon in bitmap BITMAP1With two icons
Longitudinally spaced Q1Sum, the N are the number of the every row icon of bitmap BITMAP lists, and x/a represents that x rounds to a, and y/b represents y pairs
B is rounded.
8. device according to claim 7, it is characterised in that the position judgment subelement is specifically used for:
Xx=x%a, yy=y%b are made, judges P1/2<xx<P1/2+l1And Q1/2<yy<Q1/2+h1Whether set up, if set up,
The then position for the icon that (x, y) belongs in bitmap BITMAP lists, wherein x%a represent x to a complementations, and y%b represents that y is asked b
It is remaining, P1/ 2 represent the laterally spaced half of two icons, Q1/ 2 represent the longitudinally spaced half of two icons.
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 CN104267875A (en) | 2015-01-07 |
CN104267875B true CN104267875B (en) | 2018-01-16 |
Family
ID=52159402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410514147.2A Expired - Fee Related 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580916B (en) * | 2015-01-29 | 2018-01-16 | 广东欧珀移动通信有限公司 | Display methods, device and the mobile terminal of exposal model |
CN104639836B (en) * | 2015-02-28 | 2016-10-19 | 努比亚技术有限公司 | The update method of exposal model and system |
CN112148185A (en) * | 2020-09-17 | 2020-12-29 | 维沃移动通信(杭州)有限公司 | Image display method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN103533244A (en) * | 2013-10-21 | 2014-01-22 | 深圳市中兴移动通信有限公司 | Shooting device and automatic visual effect processing shooting method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4517742B2 (en) * | 2004-06-23 | 2010-08-04 | ソニー株式会社 | Image display control apparatus and image display control method |
JP2012128473A (en) * | 2010-12-13 | 2012-07-05 | Sony Corp | Image processing apparatus and image processing method |
-
2014
- 2014-09-29 CN CN201410514147.2A patent/CN104267875B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104267875A (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108304063B (en) | Information processing apparatus, information processing method, and computer readable medium | |
CN105338238B (en) | A kind of photographic method and electronic equipment | |
WO2018092545A1 (en) | Information processing device, information processing method, and program | |
CN108037863A (en) | A kind of method and apparatus for showing image | |
CN106031157A (en) | Electronic device and method for processing image | |
CN106372102A (en) | Electronic device and method for managing object in folder on electronic device | |
CN107302666A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN106650570A (en) | Article finding method and terminal | |
CN109034242B (en) | Grading method, device and system of image processing algorithm | |
CN104267875B (en) | A kind of exposal model display methods and device | |
CN108156384A (en) | Image processing method, device, electronic equipment and medium | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN108924430A (en) | photo storage method, device, terminal and computer readable storage medium | |
CN106096043A (en) | A kind of photographic method and mobile terminal | |
CN103873759B (en) | A kind of image pickup method and electronic equipment | |
US10216381B2 (en) | Image capture | |
CN107391608B (en) | Picture display method and device, storage medium and electronic equipment | |
CN107817999A (en) | The generation method and terminal of a kind of dynamic wallpaper | |
CN104486553B (en) | A kind of distant view photograph image pickup method and terminal | |
JP5408348B2 (en) | Pointer information processing apparatus, pointer information processing program, and conference system | |
CN103631225A (en) | Method and device for remotely controlling scene equipment | |
KR102252135B1 (en) | Self-interior Service Method | |
CN113850888B (en) | Image processing method, device, electronic equipment and storage medium | |
CN104657146B (en) | Photographic method, device and smart machine based on smart machine | |
CN106603793A (en) | Method and system for batch setting of head portraits of contacts |
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 | ||
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. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180116 |