CN105225201B - A kind of method and system for showing object adaptive resolution and showing - Google Patents
A kind of method and system for showing object adaptive resolution and showing Download PDFInfo
- Publication number
- CN105225201B CN105225201B CN201510559950.2A CN201510559950A CN105225201B CN 105225201 B CN105225201 B CN 105225201B CN 201510559950 A CN201510559950 A CN 201510559950A CN 105225201 B CN105225201 B CN 105225201B
- Authority
- CN
- China
- Prior art keywords
- ratio
- default
- target
- display
- resolution
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000003044 adaptive effect Effects 0.000 title claims abstract description 15
- 238000013507 mapping Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 31
- 230000000007 visual effect Effects 0.000 abstract description 8
- 238000011160 research Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4092—Image resolution transcoding, e.g. by using client-server architectures
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a kind of method and system for showing object adaptive resolution and showing, wherein method includes the default screen pixels density of setting and default resolution ratio;Obtain the default display size of the display object under default screen pixels density and default resolution condition;Obtain the target screen picture element density and target resolution of object display device;Compare target resolution and default resolution ratio obtains the first ratio;Compare target screen picture element density and default screen pixels density obtains the second ratio;First ratio and the second ratio are weighted read group total and obtain third ratio;According to default display size and third ratio calculation target display dimensions, and display object is shown with target display dimensions on object display device.Display object can be made to be shown on object display device with the best visual effect according to method provided by the invention, improve user experience effect.
Description
Technical field
The present invention relates to equipment display field more particularly to a kind of show the method that shows of object adaptive resolution and be
System.
Background technology
The display device parameter of existing various electronic equipments is widely different, such as smart mobile phone, tablet computer, TV, meter
Calculation machine is when different electronic equipments is in the same display object of display, since the hardware vendor of different screen may be different, screen
The parameters such as pixel format, resolution ratio, the pixel size of curtain display are also different, if will all be shown with same display mode
Object is directly displayed on various screens, then might have and show that imperfect or uncoordinated display scale situation occurs.
For this purpose, the prior art proposes with preset screen resolution to be compared using the screen resolution of object display device
Compared with obtaining a ratio, then will show that display size of the object under preset screen resolution is multiplied by the ratio, obtain target
The display pixel size of display device, display elements are then shown according to the display size on object display device;And it adopts
With the method, can to show that object obtains physical size and zooms in or out with the physical size of display device, when target is shown
When the physical size of device and excessive preset equipment physical size difference, display object is may result in object display device
It is upper excessive or too small, influence the experience effect of user.Meanwhile the prior art also propose it is a kind of by screen pixels density with it is preset
The method that screen pixels density is compared, there is also it is identical with above-mentioned processing method the problem of, also lead to display object exist
It is excessive or too small on object display device, so as to influence user experience.
Invention content
In order to solve the above technical problems, the present invention proposes and a kind of show the method that shows of object adaptive resolution and be
System, this method can make display pair when the physical size of object display device is widely different with preset equipment physical size
As being shown on object display device with the best visual effect, user experience effect is improved.
In order to achieve the above objectives, the present invention uses following technical scheme:
The invention discloses a kind of methods for showing object adaptive resolution and showing, include the following steps:
S1:The default screen pixels density P of setting0With default resolution ratio Q0;
S2:It obtains in the default screen pixels density P0With the default resolution ratio Q0Under the conditions of the display object
Default display size T0;
S3:Obtain the target screen picture element density P of object display device1With target resolution Q1;
S4:Compare the target resolution Q1With the default resolution ratio Q0, obtain the first ratio A;
S5:Compare the target screen picture element density P1With the default screen pixels density P0, obtain the second ratio B;
S6:The first ratio A and the second ratio B are weighted read group total, obtain third ratio C;
S7:According to the default display size T0Target display dimensions T is calculated with the third ratio C1, and in the mesh
It marks in display device with the target display dimensions T1The display object is shown.
Preferably, the first ratio A=Q in step S41/Q0;The second ratio B=P in step S51/P0;
The third ratio C=A*X+B* (1-X), X in step S6 is weighted value, 0 < X < 1;The target in step S7 is shown
Size T1=T0*C。
Preferably, step S6 further comprises:
S61:According to the default screen pixels density P0With the default resolution ratio Q0Calculate default screen size R0,
Middle R0=Q0/P0;
S62:According to the target screen picture element density P1With the target resolution Q1Calculate target screen size R1,
Middle R1=Q1/P1;
S63:Compare the target screen size R1With the default screen size R0, obtain the 4th ratio D;
S64:The 4th ratio D and the weighted value X are there are mapping relations, according to the 4th ratio D, described in calculating
Weighted value X.
Preferably, the 4th ratio D=(R in step S631/R0) * N, wherein N be fixed coefficient, N > 0;Described
Four ratio D are bigger, and the weighted value X is smaller.
Preferably, as 0 < D < 0.7N, X=0.6~0.8;As 0.7N≤D < 1.3N, X=0.4~0.6;When D >=
During 1.3N, X=0.2~0.4.
It is highly preferred that as 0 < D < 0.7N, X=0.7;As 0.7N≤D < 1.3N, X=0.5;As D >=1.3N, X
=0.3.
The system that shows of object adaptive resolution is shown the invention also discloses a kind of, including:
Parameter setting module, for setting default screen pixels density P0With default resolution ratio Q0;
First parameter acquisition module, for obtaining in the default screen pixels density P0With the default resolution ratio Q0Item
The default display size T of the display object under part0;
Second parameter acquisition module, for obtaining the target screen picture element density P of object display device1And target resolution
Q1;
First comparison module, for the target resolution Q1With the default resolution ratio Q0, obtain the first ratio A;
Second comparison module, for the target screen picture element density P1With the default screen pixels density P0, obtain
To the second ratio B;
Weighted sum computing module, for the first ratio A and the second ratio B to be weighted read group total,
Obtain third ratio C;
Display control module, for according to the default display size T0Target, which is calculated, with the third ratio C shows ruler
Very little T1, and with the target display dimensions T on the object display device1The display object is shown.
Preferably, the first ratio A=Q1/Q0, the second ratio B=P1/P0, the third ratio C=A*X+B*
(1-X), the target display dimensions T1=T0* C, wherein X are weighted values, 0 < X < 1.
Preferably, the system also includes:
First computing module, for according to the default screen pixels density P0With the default resolution ratio Q0It calculates default
Screen size R0, wherein R0=Q0/P0;
Second computing module, for according to the target screen picture element density P1With the target resolution Q1Calculate target
Screen size R1, wherein R1=Q1/P1;
Third comparison module, for the target screen size R1With the default screen size R0, obtain the 4th ratio
Value D;
Third computing module, for the mapping relations according to the 4th ratio D and the weighted value X and described the
Four ratio D calculate the weighted value X.
Preferably, the 4th ratio D=(R1/R0) * N, wherein N be fixed coefficient, N > 0;The 4th ratio D is got over
Greatly, the weighted value X is smaller.
Preferably, as 0 < D < 0.7N, X=0.6~0.8;As 0.7N≤D < 1.3N, X=0.4~0.6;When D >=
During 1.3N, X=0.2~0.4.
It is highly preferred that as 0 < D < 0.7N, X=0.7;As 0.7N≤D < 1.3N, X=0.5;As D >=1.3N, X
=0.3.
The advantageous effect of the present invention compared with prior art is:Default resolution ratio and target are shown respectively in the present invention
Target resolution, default screen pixels density on device are compared with the target screen picture element density on object display device
Compared with, then the ratio of the two is weighted read group total and obtains a ratio, show that object is shown in target further according to the ratio calculation
Target display dimensions on display screen curtain, and show in target and display object is shown with the target display dimensions on screen,
Enable and show that display object shown on screen is complete and eurythmy in target, display object is made to be imitated with optimum visual
Fruit shows on object display device;And due to having taken screen pixels density and resolution ratio in the present invention into consideration to display pair
The influence of the display effect of elephant so that even if physical size and preset equipment physical size difference mistake when object display device
When big, display effect is also very close to default effect to reach the best visual effect, is improved the experience effect of user.
Description of the drawings
Fig. 1 is the flow chart of method that the display object adaptive resolution of the embodiment of the present invention is shown;
Fig. 2 is the partial process view of method that the display object adaptive resolution of the preferred embodiment of the present invention is shown;
Fig. 3 a are the display effects that object is shown under default screen pixels density and default resolution ratio;
Fig. 3 b are the display effects of display object being adapted to according to resolution ratio;
Fig. 3 c are the display effects of display object being adapted to according to screen pixels density;
Fig. 3 d are that the method that display object adaptive resolution according to the present invention is shown shows display object
Effect.
Specific embodiment
Below against attached drawing and with reference to preferred embodiment, the invention will be further described.
To help the understanding of the present invention, first part term herein is explained, wherein screen pixels density is
Refer to the pixel quantity of display device unit distance arrangement, for describing the imaging precision of display device, this parameter is program void
Intend, be not necessarily equal to the pixel quantity of the physically unit distance of display device;Resolution ratio refers to the picture in display device
Plain total amount;Display object refers to the general designation of the element being shown on the desplay apparatus, can be the elements such as picture, icon, word or
Its combination of person;Display size refers to show that object shows the size shown on screen in default screen or target.
As shown in Figure 1, embodiment of the invention discloses that a kind of show the method that shows of object adaptive resolution, including
Following steps:
S1:The default screen pixels density P of setting0With default resolution ratio Q0;
S2:It obtains in default screen pixels density P0With default resolution ratio Q0Under the conditions of display object default display ruler
Very little T0;
S3:Obtain the target screen picture element density P of object display device1With target resolution Q1;
S4:Compare target resolution Q1With default resolution ratio Q0, obtain the first ratio A;
S5:Compare target screen picture element density P1With default screen pixels density P0, obtain the second ratio B;
S6:First ratio A and the second ratio B are weighted, obtain third ratio C;
S7:According to default display size T0Target display dimensions T is calculated with third ratio C1, and on object display device
With target display dimensions T1Display object is shown.
Wherein:The first ratio A=Q in step S41/Q0;The second ratio B=P in step S51/P0;In step S6
Third ratio C=A*X+B* (1-X), X is weighted value, 0 < X < 1;Target display dimensions T in step S71=T0*C.Another
The first ratio A, the second ratio B can also be calculated (such as subtraction) by other operation methods in a little embodiments, third ratio C
First ratio A and the second ratio B can also be calculated using other weighted calculation formula.In the embodiment of the present invention,
When calculating the first ratio A, the long side numerical value of target resolution and the long side numerical value of default resolution ratio can be taken to be calculated simultaneously,
Or the short side numerical value of target resolution and the short side numerical value of default resolution ratio is taken to be calculated simultaneously;For example, default resolution ratio
Be 1920 × 1080, target resolution is 1280 × 720, at this time when calculating the first ratio A, using A=1280/1920 or
Person A=720/1080 is calculated.
As shown in Fig. 2, in a preferred embodiment, step S6 further comprises:
S61:According to default screen pixels density P0With default resolution ratio Q0Calculate default screen size R0, wherein R0=Q0/
P0;
S62:According to target screen picture element density P1With target resolution Q1Calculate target screen size R1, wherein R1=Q1/
P1;
S63:Compare target screen size R1With default screen size R0, obtain the 4th ratio D;
S64:There are mapping relations by 4th ratio D and weighted value X, according to the 4th ratio D, calculate weighted value X.
Wherein:The 4th ratio D=(R in step S631/R0) * N, wherein N be fixed coefficient, N > 0;4th ratio at this time
Namely equal to the first ratio A and the ratio of the second ratio B, i.e. D=(R1/R0) * N=(A/B) * N.
Display object is when target shows and shown on screen:When being adapted to according to the ratio of resolution ratio, practical picture
Face composition and preset film composition are consistent substantially, and it is the same to account for screen proportion;And according to the ratio of screen pixels density
When value is adapted to, show the size of object as preset size.Inventors discovered through research that when target screen size
With default screen size difference it is smaller when (during 0.7N≤D < 1.3N), the ratio of resolution ratio and screen pixels density is respectively adopted
Value is adapted to, and obtained result is similar, and the weight of the first ratio A and the second ratio B can relatively make target screen at this time
Curtain obtain display object display effect more preferably, X values best results between 0.4~0.6;And when target screen size is bright
Aobvious relatively default screen size wants hour (i.e. as 0 < D < 0.7N), if the ratio (the second ratio B) of screen pixels density
When weight is larger, being likely to result in display elements, that target screen accounted for screen proportion is larger or even take, and causes other content
It may be blocked, increase the weight of the ratio (the first ratio A) of resolution ratio at this time, the display obtained in target screen can be made
The display effect of object more preferably, X values best results between 0.6~0.8;And when target screen size significantly relatively presets screen
When size wants big (i.e. as D >=1.3N), if the weight of the ratio (the first ratio A) of resolution ratio is larger, it is likely to result in
The physical size of display object is excessive and screen space waste is caused also to influence visual effect, increases screen pixels density at this time
The weight of ratio (the second ratio B), the display effect of display object that can make to obtain in target screen more preferably, X values 0.2~
Best results between 0.4;With reference to the studies above conclusion, show that the 4th ratio D is bigger, weighted value X is smaller.
In some embodiments, as 0 < D < 0.7N, X is equal to 0.6,0.65,0.7,0.75 or 0.8;As 0.7N≤D <
During 1.3N, X is equal to 0.4,0.45,0.5,0.55 or 0.6;As D >=1.3N, X is equal to 0.2,0.25,0.3,0.35 or 0.4.
In other embodiments, the 4th ratio D can also evaluate target screen size by other operation methods
R1With default screen size R0Difference, such as subtraction, during using subtraction, the 4th ratio D=R1-R0, the 4th ratio D
There are another preset mapping relations with weighted value X.
The embodiment of the present invention also discloses a kind of system for showing object adaptive resolution and showing, including:
Parameter setting module, for setting default screen pixels density P0With default resolution ratio Q0;
First parameter acquisition module, for obtaining in default screen pixels density P0With default resolution ratio Q0Under the conditions of it is aobvious
Show the default display size T of object0;
Second parameter acquisition module, for obtaining the target screen picture element density P of object display device1And target resolution
Q1;
First comparison module, for comparing target resolution Q1With default resolution ratio Q0, obtain the first ratio A;
Second comparison module, for comparing target screen picture element density P1With the screen pixels density P0, obtain the second ratio
Value B;
Weighted sum computing module for the first ratio A and the second ratio B to be weighted read group total, obtains third
Ratio C;
Display control module, for according to default display size T0Target display dimensions T is calculated with third ratio C1, and
With target display dimensions T on the object display device1The display object is shown.
In the embodiment of some, the first ratio A=Q1/Q0, the second ratio B=P1/P0, third ratio C=A*X+B*
(1-X), target display dimensions T1=T0* C, wherein X are weighted values, 0 < X < 1.Data processing module in further embodiments
Other operation methods (such as subtraction) can also be used and calculate the first ratio A, the second ratio B, other weighted calculation formula can also be used
Third ratio C is calculated according to the first ratio A and the second ratio B.In the embodiment of the present invention, the first ratio A is being calculated
When, the long side numerical value of target resolution and the long side numerical value of default resolution ratio can be taken to be calculated or take mesh simultaneously simultaneously
It marks the short side numerical value of resolution ratio and the short side numerical value of default resolution ratio is calculated;For example, default resolution ratio is 1920 × 1080,
Target resolution is 1280 × 720, at this time when calculating the first ratio A, using A=1280/1920 or A=720/1080
To be calculated.
In the embodiment of some, further included in system:
First computing module, for according to default screen pixels density P0With default resolution ratio Q0Calculate default screen size
R0, wherein R0=Q0/P0;
Second computing module, for according to target screen picture element density P1With target resolution Q1Calculate target screen size
R1, wherein R1=Q1/P1;
Third comparison module, for comparing target screen size R1With default screen size R0, obtain the 4th ratio D;
Third computing module for the mapping relations and the 4th ratio D according to the 4th ratio D and weighted value X, calculates
Weighted value X.
Wherein:4th ratio D=(R1/R0) * N, wherein N be fixed coefficient, N > 0;4th ratio namely equal at this time
The ratio of one ratio A and the second ratio B, i.e. D=(R1/R0) * N=(A/B) * N.
Display object is when target shows and shown on screen:When being adapted to according to the ratio of resolution ratio, practical picture
Face composition and preset film composition are consistent substantially, and it is the same to account for screen proportion;And according to the ratio of screen pixels density
When value is adapted to, show the size of object as preset size.Inventors discovered through research that when target screen size
With default screen size difference it is smaller when (during 0.7N≤D < 1.3N), the ratio of resolution ratio and screen pixels density is respectively adopted
Value is adapted to, and obtained result is similar, and the weight of the first ratio A and the second ratio B can relatively make target screen at this time
Curtain obtain display object display effect more preferably, X values best results between 0.4~0.6;And when target screen size is bright
Aobvious relatively default screen size wants hour (i.e. as 0 < D < 0.7N), if the ratio (the second ratio B) of screen pixels density
When weight is larger, being likely to result in display elements, that target screen accounted for screen proportion is larger or even take, and causes other content
It may be blocked, increase the weight of the ratio (the first ratio A) of resolution ratio at this time, the display obtained in target screen can be made
The display effect of object more preferably, X values best results between 0.6~0.8;And when target screen size significantly relatively presets screen
When size wants big (i.e. as D >=1.3N), if the weight of the ratio (the first ratio A) of resolution ratio is larger, it is likely to result in
The physical size of display object is excessive and screen space waste is caused also to influence visual effect, increases screen pixels density at this time
The weight of ratio (the second ratio B), the display effect of display object that can make to obtain in target screen more preferably, X values 0.2~
Best results between 0.4;With reference to the studies above conclusion, show that the 4th ratio D is bigger, weighted value X is smaller.
In some embodiments, as 0 < D < 0.7N, X is equal to 0.6,0.65,0.7,0.75 or 0.8;As 0.7N≤D <
During 1.3N, X is equal to 0.4,0.45,0.5,0.55 or 0.6;As D >=1.3N, X is equal to 0.2,0.25,0.3,0.35 or 0.4.
In other embodiments, the 4th ratio D can also evaluate target screen size by other operation methods
R1With default screen size R0Difference, such as subtraction, during using subtraction, the 4th ratio D=R1-R0, then the 4th ratio
D is closer to 0, and weighted value X is smaller, and the 4th ratio D and weighted value X has another mapping relations.
As shown in Figure 3a, it is the display effect that show object under default screen pixels density and default resolution ratio, such as figure
3b is the display object zoomed in or out according to the ratio equal proportion of target screen picture element density and default screen pixels density
Display effect, as Fig. 3 c are the display objects zoomed in or out according to the ratio equal proportion of target resolution and default resolution ratio
Display effect, if Fig. 3 d are that the method that display object adaptive resolution according to the present invention is shown shows display object
Effect, from Fig. 3 b, Fig. 3 c, Fig. 3 d respectively with from the point of view of the comparison of Fig. 3 a, showing that the screen that accounts for of object does not become, but object than in Fig. 3 b
Manage oversized, show that the physical size of object is constant in Fig. 3 c, but account for screen than too small so that Fig. 3 b and Fig. 3 c with it is preset
Preferable display effect differs greatly;Fig. 3 d are the effects shown according to the method for the present invention, and target screen ruler is calculated
Very little R1With default screen size R0The 4th ratio D=2N, thoroughly do away with the mapping relations of the 4th ratio D and weighted value X, weighted value X takes
Value 0.3, i.e. third ratio C=0.3A+0.7B, further according to default display size T0Target display dimensions T is calculated with third ratio C1
=T0* C, and with target display dimensions T on object display device1Display object is shown, can be seen that from Fig. 3 d
Display object accounts for screen ratio and physical size more properly, and display effect connects very much with preset preferable display effect
Closely, the experience effect of user is greatly improved.
In the present invention respectively by default resolution ratio and object display device target resolution, default screen pixels density
It is compared, then the ratio of the two is weighted read group total and is obtained with the target screen picture element density on object display device
One ratio shows that object shows the target display dimensions on screen in target, and in target display screen further according to the ratio calculation
Display object is shown with the target display dimensions on curtain so that display object energy shown on screen is shown in target
Enough complete and eurythmies, make display object be shown on object display device with the best visual effect;And due to the present invention
In taken into consideration screen pixels density and resolution ratio to show object display effect influence so that even if when target is shown
When the physical size of device and excessive preset equipment physical size difference, display effect is also very close to default effect to reach
The best visual effect is improved the experience effect of user.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, it is impossible to assert
The specific implementation of the present invention is confined to these explanations.For those skilled in the art to which the present invention belongs, it is not taking off
Under the premise of from present inventive concept, several equivalent substitute or obvious modifications can also be made, and performance or use is identical, all should
When being considered as belonging to protection scope of the present invention.
Claims (6)
- A kind of 1. method for showing object adaptive resolution and showing, which is characterized in that include the following steps:S1:The default screen pixels density P of setting0With default resolution ratio Q0;S2:It obtains in the default screen pixels density P0With the default resolution ratio Q0Under the conditions of the display object it is pre- If display size T0;S3:Obtain the target screen picture element density P of object display device1With target resolution Q1;S4:Compare the target resolution Q1With the default resolution ratio Q0, obtain the first ratio A=Q1/Q0;S5:Compare the target screen picture element density P1With the default screen pixels density P0, obtain the second ratio B=P1/P0;S6:The first ratio A and the second ratio B are weighted read group total, obtain third ratio C=A*X+B* (1-X), wherein X are weighted values, 0 < X < 1;S7:According to the default display size T0Target display dimensions are calculated with the third ratio CT1=T0* C, and with the target display dimensions T on the object display device1The display object is shown;Wherein step S6 is further included:S61:According to the default screen pixels density P0With the default resolution ratio Q0Calculate default screen size R0, wherein R0= Q0/P0;S62:According to the target screen picture element density P1With the target resolution Q1Calculate target screen size R1, wherein R1= Q1/P1;S63:Compare the target screen size R1With the default screen size R0, obtain the 4th ratio D;S64:There are mapping relations with the weighted value X by the 4th ratio D, according to the 4th ratio D, calculate the weighting Value X.
- 2. according to the method described in claim 1, it is characterized in that, the 4th ratio D=(R in step S631/R0) * N, Wherein N be fixed coefficient, N > 0;The 4th ratio D is bigger, and the weighted value X is smaller.
- 3. according to the method described in claim 2, it is characterized in that, as 0 < D < 0.7N, X=0.6~0.8;As 0.7N≤D During < 1.3N, X=0.4~0.6;As D >=1.3N, X=0.2~0.4.
- 4. a kind of system for showing object adaptive resolution and showing, which is characterized in that including:Parameter setting module, for setting default screen pixels density P0With default resolution ratio Q0;First parameter acquisition module, for obtaining in the default screen pixels density P0With the default resolution ratio Q0Under the conditions of The display object default display size T0;Second parameter acquisition module, for obtaining the target screen picture element density P of object display device1With target resolution Q1;First comparison module, for the target resolution Q1With the default resolution ratio Q0, obtain the first ratio A=Q1/ Q0;Second comparison module, for the target screen picture element density P1With the default screen pixels density P0, obtain Two ratio B=P1/P0;Weighted sum computing module for the first ratio A and the second ratio B to be weighted read group total, obtains Third ratio C=A*X+B* (1-X), wherein X is weighted value, 0 < X < 1;Display control module, for according to the default display size T0Target display dimensions T is calculated with the third ratio C1= T0* C, and with the target display dimensions T on the object display device1The display object is shown;First computing module, for according to the default screen pixels density P0With the default resolution ratio Q0Calculate default screen Size R0, wherein R0=Q0/P0;Second computing module, for according to the target screen picture element density P1With the target resolution Q1Calculate target screen Size R1, wherein R1=Q1/P1;Third comparison module, for the target screen size R1With the default screen size R0, obtain the 4th ratio D;Third computing module, for the mapping relations according to the 4th ratio D and the weighted value X and the 4th ratio Value D calculates the weighted value X.
- 5. system according to claim 4, which is characterized in that the 4th ratio D=(R1/R0) * N, wherein N for fix Coefficient, N > 0;The 4th ratio D is bigger, and the weighted value X is smaller.
- 6. system according to claim 5, which is characterized in that as 0 < D < 0.7N, X=0.6~0.8;As 0.7N≤D During < 1.3N, X=0.4~0.6;As D >=1.3N, X=0.2~0.4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510559950.2A CN105225201B (en) | 2015-09-06 | 2015-09-06 | A kind of method and system for showing object adaptive resolution and showing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510559950.2A CN105225201B (en) | 2015-09-06 | 2015-09-06 | A kind of method and system for showing object adaptive resolution and showing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105225201A CN105225201A (en) | 2016-01-06 |
CN105225201B true CN105225201B (en) | 2018-07-06 |
Family
ID=54994153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510559950.2A Active CN105225201B (en) | 2015-09-06 | 2015-09-06 | A kind of method and system for showing object adaptive resolution and showing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105225201B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155477A (en) * | 2016-06-24 | 2016-11-23 | 北京奇虎科技有限公司 | The method of adjustment of screen-icon size, device and terminal |
CN106648511A (en) * | 2016-12-16 | 2017-05-10 | 竞技世界(北京)网络技术有限公司 | Self-adaptive display method and device of display resolutions |
CN106648510B (en) * | 2016-12-16 | 2018-06-12 | 竞技世界(北京)网络技术有限公司 | The display methods and device of a kind of display resolution |
CN110379353B (en) * | 2018-08-10 | 2022-10-21 | 友达光电股份有限公司 | Display device and display method thereof |
CN111240612A (en) * | 2018-11-28 | 2020-06-05 | Tcl集团股份有限公司 | Method and terminal for adjusting screen resolution |
CN110299123B (en) * | 2019-07-16 | 2022-06-21 | 广州市迪声音响有限公司 | Adaptive resolution display method for audio processor |
CN113703630A (en) * | 2021-08-31 | 2021-11-26 | 维沃移动通信有限公司 | Interface display method and device |
CN115998241B (en) * | 2023-03-29 | 2023-06-27 | 之江实验室 | Visual detection method, visual detection device, electronic equipment and visual detection system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576996A (en) * | 2009-06-05 | 2009-11-11 | 腾讯科技(深圳)有限公司 | Processing method and device for realizing image zooming |
CN102707946A (en) * | 2012-04-17 | 2012-10-03 | Tcl集团股份有限公司 | Application program interface processing method and device |
CN102930851A (en) * | 2012-10-16 | 2013-02-13 | 深圳市融创天下科技股份有限公司 | Font size self-adapting method, system and terminal equipment |
CN102981793A (en) * | 2012-11-22 | 2013-03-20 | Tcl集团股份有限公司 | Screen synchronization method and device |
CN103197833A (en) * | 2012-01-09 | 2013-07-10 | 三星电子株式会社 | Apparatus and method for scaling layout of application in image display device |
CN103927143A (en) * | 2014-04-04 | 2014-07-16 | 福建星网视易信息系统有限公司 | Method and device for adaptively adjusting interface layout on basis of screen resolution |
-
2015
- 2015-09-06 CN CN201510559950.2A patent/CN105225201B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576996A (en) * | 2009-06-05 | 2009-11-11 | 腾讯科技(深圳)有限公司 | Processing method and device for realizing image zooming |
CN103197833A (en) * | 2012-01-09 | 2013-07-10 | 三星电子株式会社 | Apparatus and method for scaling layout of application in image display device |
CN102707946A (en) * | 2012-04-17 | 2012-10-03 | Tcl集团股份有限公司 | Application program interface processing method and device |
CN102930851A (en) * | 2012-10-16 | 2013-02-13 | 深圳市融创天下科技股份有限公司 | Font size self-adapting method, system and terminal equipment |
CN102981793A (en) * | 2012-11-22 | 2013-03-20 | Tcl集团股份有限公司 | Screen synchronization method and device |
CN103927143A (en) * | 2014-04-04 | 2014-07-16 | 福建星网视易信息系统有限公司 | Method and device for adaptively adjusting interface layout on basis of screen resolution |
Also Published As
Publication number | Publication date |
---|---|
CN105225201A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105225201B (en) | A kind of method and system for showing object adaptive resolution and showing | |
CN104704550B (en) | Data processing equipment and Correlation method for data processing method | |
CN105976760B (en) | A kind of brightness adjusting method and mobile terminal of terminal screen | |
CN105898143B (en) | A kind of grasp shoot method and mobile terminal of moving object | |
CN102156962B (en) | Information processing apparatus and processing method | |
US20100060665A1 (en) | Electronic apparatus with image adjusting function and method thereof | |
TWI545522B (en) | Method and system for generating thumbnails of images | |
US10834424B2 (en) | Method and device for compressing image, and electronic device | |
CN101639933A (en) | Image rotation correction method and system and electronic device | |
CN104200480A (en) | Image fuzzy degree evaluation method and system applied to intelligent terminal | |
CN106060382A (en) | Image processing method and device and electronic equipment | |
CN105100637A (en) | Image processing method and electronic equipment | |
CN105306788B (en) | A kind of noise-reduction method and device of image of taking pictures | |
CN102598687B (en) | Method and device for calculating blur in video images | |
CN108989796A (en) | A kind of image capture device selection method and device | |
CN105005972A (en) | Shooting distance based distortion correction method and mobile terminal | |
CN108377421B (en) | Video playing method, display device and computer readable storage medium | |
CN105827963B (en) | Scene-change detecting method and mobile terminal during one kind is taken pictures | |
CN107402757B (en) | Page rendering method and device | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN107222686A (en) | A kind for the treatment of method and apparatus of view data | |
CN109427053A (en) | Skin aging state evaluating method and electronic device | |
CN106155477A (en) | The method of adjustment of screen-icon size, device and terminal | |
CN104503725B (en) | A kind of information processing method and electronic equipment | |
CN105700766A (en) | User interface display system and method |
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 |