CN105578268B - Image display method and device - Google Patents
Image display method and device Download PDFInfo
- Publication number
- CN105578268B CN105578268B CN201510955687.9A CN201510955687A CN105578268B CN 105578268 B CN105578268 B CN 105578268B CN 201510955687 A CN201510955687 A CN 201510955687A CN 105578268 B CN105578268 B CN 105578268B
- Authority
- CN
- China
- Prior art keywords
- display
- preview picture
- horizontal
- physical resolution
- interval
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
- Computer Graphics (AREA)
Abstract
The invention discloses a kind of image display methods, this method comprises: obtaining the physical resolution of display terminal and the number of preview picture;Obtain the corresponding zoom factor of physical resolution;According to the number of the physical resolution of acquisition and preview picture, the display interval between preview picture is obtained;The display size that preview picture is determined according to the zoom factor of acquisition, display interval and physical resolution, is spaced in display terminal according to display size and display and shows preview picture.The present invention also provides a kind of image display apparatus.This root of hair carries out corresponding adjustment to the display size of preview picture according to the variation of physical resolution and/or the number of preview picture, it is arranged in the display area of display terminal with preferable display size and display, avoids the too high or too low problem of the pixel density of preview picture.
Description
Technical field
The present invention relates to intelligent television field more particularly to a kind of image display methods and device.
Background technique
The physically displayed resolution ratio of traditional tv is single, such as: it is only limited to the resolution ratio of 480i, not with display technology
Disconnected development and update, the also gradually diversification of the physical resolution of TV, such as: 480i, 720p, 1080p, 4K (3840*2160)
Deng still, preview picture is all the size preview fixed according to system picture itself, on the one hand, in TV with high-resolution (example
Such as 3840*2160) preview display when, the pixel density of preview picture can be made excessively high, and cause preview picture in the upper left of TV
Angle dense arrangement seriously affects the preview effect of icon, is unfavorable for user's identification and chooses associated preview picture;On the one hand, exist
When TV is with low resolution (such as 640*480) preview display, the pixel density of preview picture can be made too low, and cause preview
Picture can not show that user can not disposably inquire whole preview pictures completely on TV.
Summary of the invention
The main purpose of the present invention is to provide a kind of image display method, the image display method includes:
Obtain the physical resolution of display terminal and the number of preview picture;
Obtain the corresponding zoom factor of the physical resolution;
According to the number of the physical resolution of acquisition and the preview picture, obtain aobvious between the preview picture
Show interval;
The display size of the preview picture is determined according to the zoom factor of acquisition, display interval and physical resolution, and
The display terminal, which is spaced in, according to the display size and display shows the preview picture.
Preferably, described the step of obtaining the physical resolution corresponding zoom factor, includes:
According to horizontal direction pixel number in the physical resolution determine the corresponding scaling of the physical resolution because
Son, wherein the zoom factor includes horizontal scaling value and vertical scale value.
Preferably, the horizontal scaling value and the vertical scale value are at preset ratio.
Preferably, the display interval includes that level shows that interval and vertical show are spaced, described according to acquisition
The number of physical resolution and preview picture, obtain preview picture between display interval the step of include:
Horizontal direction pixel number is divided by preset value and the preview picture in the physical resolution that will acquire
Several products obtains the horizontal display interval between the preview picture horizontal direction;
Vertical direction pixel number is divided by preset value and the preview picture in the physical resolution that will acquire
Several products obtains the vertical display interval between the preview picture vertical direction.
Preferably, described that the preview picture is determined according to the zoom factor of acquisition, display interval and physical resolution
Display size, and the step of preview picture is spaced in display terminal display with the display size and display includes:
It is differentiated according to the horizontal scaling value of the zoom factor, the horizontal display interval at the display interval and the physics
Rate horizontal direction pixel number determines the horizontal display length of the preview picture;
It is differentiated according to the vertical scale value of the zoom factor, the vertical display interval at the display interval and the physics
Rate vertical direction pixel number determines the vertical display length of the preview picture;
The display size of preview picture is obtained according to determining horizontal display length and vertical display length;
The display terminal, which is spaced in, according to the display size and display shows the preview picture.
In addition, to achieve the above object, the present invention also provides a kind of image display apparatus, the image display apparatus packet
It includes:
First obtains module, for obtaining the physical resolution of display terminal and the number of preview picture;
Second obtains module, for obtaining the corresponding zoom factor of the physical resolution;
Third obtains module, for obtaining institute according to the physical resolution of acquisition and the number of the preview picture
State the display interval between preview picture;
Display module, for determining the preview picture according to the zoom factor of acquisition, display interval and physical resolution
Display size, and be spaced in the display terminal according to the display size and display and show the preview picture.
Preferably, described second module is obtained, be also used to according to horizontal direction pixel number in the physical resolution
Determine the corresponding zoom factor of the physical resolution, wherein the zoom factor includes horizontal scaling value and vertical scale value.
Preferably, the horizontal scaling value and the vertical scale value are at preset ratio.
Preferably, the display interval includes horizontal display interval and vertical display interval, and the third obtains module packet
It includes:
Horizontal interval acquiring unit, horizontal direction pixel number is divided by pre- in the physical resolution for will acquire
If the product of value and the preview picture number, the horizontal display interval between the preview picture horizontal direction is obtained;
Vertical spacing acquiring unit, vertical direction pixel number is divided by pre- in the physical resolution for will acquire
If the product of value and the preview picture number, the vertical display interval between the preview picture vertical direction is obtained.
Preferably, the display module includes:
Horizontal length acquiring unit, for horizontal scaling value, the level at the display interval according to the zoom factor
Display interval and the physical resolution horizontal direction pixel number determine the horizontal display length of the preview picture;
Vertical length acquiring unit, for according to the vertical scale value of the zoom factor, the display interval it is vertical
Display interval and the physical resolution vertical direction pixel number, determine the vertical display length of the preview picture;
Display size acquiring unit, for obtaining preview picture according to determining horizontal display length and vertical display length
Display size;
Display unit shows the preview graph for being spaced in the display terminal according to the display size and display
Piece.
Then the present invention is differentiated by first obtaining the physical resolution of display terminal and the number of preview picture according to physics
Rate obtains corresponding zoom factor;Further according between the display between the number of physical resolution and preview picture acquisition preview picture
Every;The display size of preview picture is finally determined according to the zoom factor of acquisition, display interval and physical resolution, and according to aobvious
Show that size and display are spaced in display terminal and show preview picture, so that the display size of preview picture can be differentiated according to physics
The variation of the number of rate and/or preview picture and carry out corresponding adjustment, be alternatively arranged with preferable display size and display
In the display area of display terminal, the pixel density for avoiding preview picture is too high or too low.
Detailed description of the invention
Fig. 1 is the flow diagram of image display method first embodiment of the present invention;
Fig. 2 is the display ruler for determining preview picture in Fig. 1 according to the zoom factor of acquisition, display interval and physical resolution
It is very little, and the refinement flow diagram for the step of preview picture is spaced in display terminal display with the display size and display;
Fig. 3 is the functional block diagram of image display apparatus first embodiment of the present invention;
Fig. 4 is the refinement the functional block diagram of display module in Fig. 3.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of image display method, referring to Fig.1, in image display method first embodiment of the present invention,
The image display method includes:
Step S10 obtains the physical resolution of display terminal and the number of preview picture;
Display terminal can be smart television, computer monitor etc., obtain the physical resolution and preview graph of display terminal
(preview picture can be the preview icon and figure shown on display terminal for the number of piece, the physical resolution and preview picture
Piece) number can be pre-stored in the memory of display terminal, when the physical resolution and preview graph for needing to obtain display terminal
It when the number of piece, is read directly from the memory of display terminal, wherein physical resolution is that the highest of display terminal can
The pixel number of display, the number of preview picture are the numbers for the preview picture that display terminal display area need to be shown.
Step S20 obtains the corresponding zoom factor of the physical resolution according to the physical resolution of acquisition;
The pixel density grade of display terminal is determined according to the horizontal direction pixel number of the physical resolution of acquisition,
And the corresponding zoom factor of pixel density grade is obtained according to pixel density grade;Or according to the physical resolution of acquisition
Vertical direction pixel number determines the pixel density grade of display terminal, and it is close according to pixel density grade to obtain the pixel
Spend the corresponding zoom factor of grade.
Preferably, step S20 includes:
Step S21, according to horizontal direction pixel number in physical resolution determine the corresponding scaling of physical resolution because
Son, wherein zoom factor includes horizontal scaling value and vertical scale value.
By the way that horizontal pixel point number in physical resolution to be compared with default value section, present physical point is determined
The pixel density grade of resolution, to obtain the corresponding zoom factor of pixel density grade, supplemented by assistant's solution, it is exemplified below will
Pixel density is divided into the embodiment of three grades:
Step S20 includes:
Step S201 is obtained when the physical resolution horizontal direction pixel number of acquisition is in the first pre-set interval
Preset first zoom factor, wherein the first zoom factor includes first level scale value and the first vertical scale value;
The horizontal direction and vertical direction referred in the present invention refers to: display terminal display area is if rectangle, then this is aobvious
The length direction for showing region is horizontal direction, and width direction is vertical direction.When the physical resolution horizontal direction pixel of acquisition
When point number is in the first pre-set interval, determines that the pixel density grade of current display terminal is rudimentary density, obtain preset
The first zoom factor corresponding with rudimentary density, for example, the first pre-set interval is [0,640], when the physical resolution of acquisition is
When 640*480, it is determined that the pixel density of current display terminal is rudimentary density, obtains the corresponding zoom factor of rudimentary density,
If the horizontal scaling value of the first zoom factor is 4, vertical scale value is 2.In addition, it is vertical to may be otherwise foundation physical resolution
Direction pixel number is compared with pre-set interval, to determine zoom factor.
Step S202 is obtained when the physical resolution horizontal direction pixel number of acquisition is in the second pre-set interval
Preset second zoom factor, wherein the second zoom factor includes the second horizontal scaling value and the second vertical scale value;
When the physical resolution horizontal direction pixel number of acquisition is in the second pre-set interval, current display is determined eventually
The pixel density at end is intermediate density, preset the second zoom factor corresponding with intermediate density is obtained, for example, the second preset areas
Between for (640,1920], when the physical resolution of acquisition is 1024*768, it is determined that the pixel density etc. of current display terminal
Grade is intermediate density, obtains the corresponding zoom factor of intermediate density, such as horizontal scaling value of the second zoom factor is 8, vertical to contract
Putting value is 4.It is compared according to physical resolution vertical direction pixel number with pre-set interval in addition, may be otherwise, with
Determine zoom factor
Step S203 is obtained when the physical resolution horizontal direction pixel number of acquisition is in third pre-set interval
Preset third zoom factor, wherein third zoom factor includes third horizontal scaling value and the vertical scale value of third.
When the physical resolution horizontal direction pixel number of acquisition is in third pre-set interval, current display is determined eventually
The pixel density grade at end is advanced density, preset third zoom factor corresponding with advanced density is obtained, for example, third is pre-
If section be (1920,3840], when the physical resolution of acquisition is 3840*2160, it is determined that the pixel of current display terminal
Density is advanced density, obtains the corresponding zoom factor of advanced density, if the horizontal scaling value of third zoom factor is 12, vertically
Scale value is 6.It is compared according to physical resolution vertical direction pixel number with pre-set interval in addition, may be otherwise,
To determine zoom factor.
Preferably, horizontal scaling value and vertical scale value be in preset ratio, such as above-mentioned example, the first zoom factor,
The horizontal scaling value and vertical scale value ratio of second zoom factor and third zoom factor are 2:1.
Step S30 is obtained between the display between preview picture according to the number of the physical resolution of acquisition and preview picture
Every;
According to the number of the physical resolution of acquisition and preview picture, the display interval between preview picture is obtained, for example,
For the physical resolution horizontal direction pixel number that will acquire divided by the number of 10 times of preview pictures, the pixel number obtained is preview
Horizontal display interval between picture;It can similarly obtain the vertical display interval between preview picture, specific number exemplified below
It is illustrated, if the physical resolution obtained is 640*480, then physical resolution horizontal direction pixel number is 640, is erected
Histogram is 480 to pixel number, and sets the number of preview picture as 10, then horizontal between preview picture shows spacing
It is physical resolution horizontal direction pixel number (640) divided by the number (10) of 10 times of preview pictures, i.e. preview picture
Between horizontal display spacing be 6.4 pixels, similarly known to vertical display spacing between preview picture be 4.8 pixels.
Preferably, step S30 includes:
Step S31, the physical resolution horizontal direction pixel number that will acquire is divided by preset value and preview picture number
Product, obtain the horizontal display interval between preview picture horizontal direction;
The physical resolution horizontal direction pixel number that will acquire is obtained divided by the product of preset value and preview picture number
The horizontal display interval between preview picture horizontal direction is taken, which ranges preferably from 5 to 15, preferably 10.
Step S32, the physical resolution vertical direction pixel number that will acquire is divided by preset value and preview picture number
Product, obtain preview picture vertical direction between vertical display be spaced.
The physical resolution vertical direction pixel number that will acquire is obtained divided by the product of preset value and preview picture number
The vertical display between preview picture vertical direction is taken to be spaced, which ranges preferably from 5 to 15, preferably 10.It is horizontal
The acquisition at display interval and vertical display interval obtains or any horizontal display interval and vertical of first obtaining regardless of front and back
Display interval is all feasible.
Step S40 determines the display ruler of preview picture according to the zoom factor of acquisition, display interval and physical resolution
It is very little, display terminal, which is spaced in, according to display size and display shows preview picture.
The display size of preview picture is determined according to the zoom factor of acquisition, display interval and physical resolution, such as logical
Cross physical resolution horizontal direction width subtract presupposition multiple (presupposition multiple can be zoom factor horizontal scaling value,
Or number of preview picture etc.) display interval horizontal display interval, then divided by the horizontal scaling value of zoom factor, obtain
The horizontal display length of preview picture;The vertical display length of preview picture can be similarly obtained, to show length according to level
The display size that preview picture is obtained with vertical display length, is finally spaced in display eventually according to the display size of acquisition and display
Preview picture is shown in the display area at end.
Preferably, referring to Fig. 2, step 40 includes:
Step S41, according to the horizontal scaling value of zoom factor, the horizontal display interval at display interval and physical resolution water
Square to pixel number, the horizontal display length of preview picture is determined;
Such as first acquire physical resolution horizontal direction pixel number subtract zoom factor horizontal scaling value times it is aobvious
The difference for showing the horizontal display interval at interval, then by gained difference divided by the horizontal scaling value of zoom factor, to be calculated pre-
The horizontal of picture that look at shows length.The calculating process is illustrated with specific value below: setting physical resolution as 640*480,
6.4 pixels are divided between level display, horizontal scaling value is 4, then first acquires physical resolution horizontal direction pixel number and subtract
The difference (i.e. 640-6.4*4=614.4) at the horizontal display interval at the display interval of the horizontal scaling value times of zoom factor, then will
Gained difference divided by zoom factor horizontal scaling value (i.e. (614.4/4)=153.6), so that the level of preview picture be calculated
Display length is 153.6 pixels.
Step S42, it is perpendicular according to the vertical scale value of zoom factor, the vertical display interval at display interval and physical resolution
Histogram determines the vertical display length of preview picture to pixel number;
Can first acquire physical resolution vertical direction pixel number subtract zoom factor vertical scale value times it is aobvious
The difference for showing the vertical display interval at interval, then by gained difference divided by the scale value of vertical zoom factor, to be calculated pre-
Look at the vertical display length of picture.The calculating process is illustrated with specific value below: setting physical resolution as 640*480,
4.8 pixels are divided between vertical display, horizontal scaling value is 2, then first acquires physical resolution vertical direction pixel number and subtract
The difference (i.e. 480-4.8*2=470.4) at the vertical display interval at the display interval of the vertical scale value of zoom factor times, then will
Gained difference divided by zoom factor vertical scale value (i.e. (470.4/2)=235.2), so that the level of preview picture be calculated
Display length is 235.2 pixels.
Step S43 obtains the display size of preview picture according to determining horizontal display length and vertical display length;
The display size of preview picture is the rectangular area size that horizontal display length and vertical display length are limited.
Step S44 is spaced in display terminal according to display size and display and shows preview picture.
Preview picture is shown with the display size obtained, and according to display interval (level display interval and vertical display
Interval) it is arranged in the display area of display terminal.
In the present embodiment, by first obtaining the physical resolution of display terminal and the number of preview picture, then basis
Physical resolution obtains corresponding zoom factor;It is obtained between preview picture further according to the number of physical resolution and preview picture
Display interval;The display size of preview picture is finally determined according to the zoom factor of acquisition, display interval and physical resolution,
And preview picture is spaced in display terminal with display size and display and is shown, so that the display size of preview picture being capable of basis
The variation of the number of physical resolution and/or preview picture and carry out corresponding adjustment, with preferable display size and display
It is arranged in the display area of display terminal, the pixel density for avoiding preview picture is too high or too low.
The present invention also provides a kind of image display apparatus, referring to Fig. 3, in image display method first embodiment of the present invention
In, which includes: that the first acquisition module 10, second obtains module 20, third obtains module 30 and display mould
Block 40.
Wherein, first module 10 is obtained, for obtaining the physical resolution of display terminal and the number of preview picture;
Display terminal can be smart television, computer monitor etc., obtain the physical resolution and preview graph of display terminal
The number of the number of piece, the physical resolution and preview picture can be pre-stored in the memory of display terminal, when needing to obtain
When the number of the physical resolution of display terminal and preview picture, first obtains module 10 directly from the memory of display terminal
Reading, wherein physical resolution is the displayable pixel number of highest of display terminal, and the number of preview picture is that display is whole
The number for the preview picture that end display area need to be shown.
Second obtains module 20, for obtaining the corresponding zoom factor of physical resolution;
Second acquisition module 20 determines display terminal according to the horizontal direction pixel number of the physical resolution of acquisition
Pixel density grade, and the corresponding zoom factor of pixel density grade is obtained according to pixel density grade;Or according to obtaining
The vertical direction pixel number of the physical resolution taken determines the pixel density grade of display terminal, and according to pixel density
Grade obtains the corresponding zoom factor of pixel density grade.
Preferably, second module 20 is obtained, is also used to determine object according to horizontal direction pixel number in physical resolution
Manage the corresponding zoom factor of resolution ratio, wherein zoom factor includes horizontal scaling value and vertical scale value.
By the way that horizontal pixel point number in physical resolution to be compared with default value section, present physical point is determined
The pixel density grade of resolution, to obtain the corresponding zoom factor of pixel density grade, supplemented by assistant's solution, it is exemplified below will
Pixel density is divided into the embodiment of three grades:
Second, which obtains module 20, includes:
First scaling acquiring unit 201, for being in first when the physical resolution horizontal direction pixel number obtained
When pre-set interval, preset first zoom factor is obtained, wherein the first zoom factor includes that first level scale value and first are perpendicular
Straight scale value;
The horizontal direction and vertical direction referred in the present invention refers to: display terminal display area is if rectangle, then this is aobvious
The length direction for showing region is horizontal direction, and width direction is vertical direction.When the physical resolution horizontal direction pixel of acquisition
When point number is in the first pre-set interval, the first scaling acquiring unit 201 determines that the pixel density grade of current display terminal is
Rudimentary density obtains preset the first zoom factor corresponding with rudimentary density, for example, the first pre-set interval is [0,640], when
When the physical resolution of acquisition is 640*480, it is determined that the pixel density of current display terminal is rudimentary density, is obtained rudimentary close
Corresponding zoom factor is spent, such as horizontal scaling value of the first zoom factor is 4, and vertical scale value is 2.In addition, may be otherwise
It is compared according to physical resolution vertical direction pixel number with pre-set interval, to determine zoom factor.
Second scaling acquiring unit 202, for being in second when the physical resolution horizontal direction pixel number obtained
When pre-set interval, preset second zoom factor is obtained, wherein the second zoom factor includes that the second horizontal scaling value and second are perpendicular
Straight scale value;
When the physical resolution horizontal direction pixel number of acquisition is in the second pre-set interval, the second scaling obtains single
Member 202 determines that the pixel density of current display terminal is intermediate density, obtains preset the second scaling corresponding with intermediate density
The factor, for example, the second pre-set interval be (640,1920], when the physical resolution of acquisition is 1024*768, it is determined that current
The pixel density grade of display terminal is intermediate density, the corresponding zoom factor of intermediate density is obtained, such as the second zoom factor
Horizontal scaling value is 8, and vertical scale value is 4.In addition, may be otherwise according to physical resolution vertical direction pixel number with
Pre-set interval is compared, to determine zoom factor
Third scales acquiring unit 203, for being in third when the physical resolution horizontal direction pixel number obtained
When pre-set interval, preset third zoom factor is obtained, wherein third zoom factor includes that third horizontal scaling value and third are perpendicular
Straight scale value.
When the physical resolution horizontal direction pixel number of acquisition is in third pre-set interval, third scaling obtains single
Member 203 determines that the pixel density grade of current display terminal is advanced density, obtains preset third corresponding with advanced density
Zoom factor, for example, third pre-set interval be (1920,3840], when the physical resolution of acquisition be 3840*2160 when, then really
The pixel density of settled preceding display terminal is advanced density, the corresponding zoom factor of advanced density is obtained, such as third zoom factor
Horizontal scaling value be 12, vertical scale value be 6.In addition, may be otherwise according to physical resolution vertical direction pixel
Number is compared with pre-set interval, to determine zoom factor.
Preferably, horizontal scaling value and vertical scale value be in preset ratio, such as above-mentioned example, the first zoom factor,
The horizontal scaling value and vertical scale value ratio of second zoom factor and third zoom factor are 2:1.
Third obtains module 30, for obtaining preview picture according to the physical resolution of acquisition and the number of preview picture
Between display interval;
Third obtains module 30 according to the physical resolution of acquisition and the number of preview picture, obtains between preview picture
Display interval, for example, the physical resolution horizontal direction pixel number that will acquire is obtained divided by the number of 10 times of preview pictures
Horizontal display interval of the pixel number between preview picture;It can similarly obtain the vertical display interval between preview picture, with
Under enumerate specific number and be illustrated, if the physical resolution obtained is 640*480, then physical resolution horizontal direction pixel
Number is 640, and vertical direction pixel number is 480, and sets the number of preview picture as 10, then between preview picture
Horizontal display spacing be the number (10 of physical resolution horizontal direction pixel number (640) divided by 10 times of preview pictures
It is a), i.e., the horizontal display spacing between preview picture is 6.4 pixels, similarly knows the vertical display spacing between preview picture
For 4.8 pixels.
Preferably, the display interval includes horizontal display interval and vertical display interval, and third obtains module 30 and includes:
Horizontal interval acquiring unit 31, horizontal direction pixel number is divided by default in the physical resolution for will acquire
The product of value and preview picture number obtains the horizontal display interval between preview picture horizontal direction;
The physical resolution horizontal direction pixel number that horizontal interval acquiring unit 31 will acquire is divided by preset value and in advance
It lookes at the product of picture number, obtains the horizontal display interval between preview picture horizontal direction, which ranges preferably from 5
To 15, preferably 10.
Vertical spacing acquiring unit 32, vertical direction pixel number is divided by default in the physical resolution for will acquire
The product of value and preview picture number obtains the vertical display interval between preview picture vertical direction.
The physical resolution vertical direction pixel number that vertical spacing acquiring unit 32 will acquire is divided by preset value and in advance
Look at the product of picture number, the vertical display obtained between preview picture vertical direction is spaced, which ranges preferably from 5
To 15, preferably 10.The acquisition at level display interval and vertical display interval is obtained or is arbitrarily first obtained regardless of front and back
Level display interval and vertical display interval are all feasible.
Display module 40, for determining preview picture according to the zoom factor of acquisition, display interval and physical resolution
Display size is spaced in display terminal according to display size and display and shows preview picture.
Display module 40 determines the display ruler of preview picture according to the zoom factor of acquisition, display interval and physical resolution
It is very little, such as presupposition multiple subtracted by the horizontal direction width of physical resolution (presupposition multiple can be the water of zoom factor
Flat scale value or the number of preview picture etc.) display interval horizontal display interval, then divided by the level of zoom factor
Scale value obtains the horizontal display length of preview picture;The vertical display length that can similarly obtain preview picture, thus according to level
It shows that length and vertical display length obtain the display size of preview picture, is finally spaced according to the display size of acquisition and display
Preview picture is shown in the display area of display terminal.
Preferably, referring to Fig. 4, display module 40 includes:
Horizontal length acquiring unit 41, for according between the horizontal scaling value of zoom factor, the horizontal display at display interval
Every with physical resolution horizontal direction pixel number, determine the horizontal display length of preview picture;
Such as first acquire physical resolution horizontal direction pixel number subtract zoom factor horizontal scaling value times it is aobvious
Show the difference at the horizontal display interval at interval, then horizontal length acquiring unit 41 is by gained difference divided by the horizontal scaling of zoom factor
Value, so that the horizontal display length of preview picture be calculated.The calculating process is illustrated with specific value below: setting physics
Resolution ratio is 640*480, and 6.4 pixels are divided between level display, and horizontal scaling value is 4, then first acquires physical resolution level side
Difference (the i.e. 640-6.4* at the horizontal display interval at the display interval of the horizontal scaling value times of zoom factor is subtracted to pixel number
4=614.4), then by gained difference divided by the horizontal scaling value (i.e. (614.4/4)=153.6) of zoom factor, to calculate
The horizontal display length of preview picture is 153.6 pixels out.
Vertical length acquiring unit 42, for according between the vertical scale value of zoom factor, the vertical display at display interval
Every with physical resolution vertical direction pixel number, determine the vertical display length of preview picture;
Can first acquire physical resolution vertical direction pixel number subtract zoom factor vertical scale value times it is aobvious
Show the difference at the vertical display interval at interval, then vertical length acquiring unit 42 is by gained difference divided by the scaling of vertical zoom factor
Value, so that the vertical display length of preview picture be calculated.The calculating process is illustrated with specific value below: setting physics
Resolution ratio is 640*480, and 4.8 pixels are divided between vertical display, and horizontal scaling value is 2, then first acquires physical resolution side vertically
Difference (the i.e. 480-4.8* that the vertical display for subtracting the display interval of the vertical scale value times of zoom factor to pixel number is spaced
2=470.4), then by gained difference divided by the vertical scale value (i.e. (470.4/2)=235.2) of zoom factor, to calculate
The horizontal display length of preview picture is 235.2 pixels out.
Display size acquiring unit 43, for obtaining preview graph according to determining horizontal display length and vertical display length
The display size of piece;
The display size of preview picture is the rectangular area size that horizontal display length and vertical display length are limited.
Display unit 44 shows preview picture for being spaced in display terminal according to display size and display.
The display size that display unit 44 obtains preview picture is shown, and (level display is spaced according to display interval
With vertical display interval) it is arranged in the display area of display terminal.
In the present embodiment, by first obtaining the physical resolution of display terminal and the number of preview picture, then basis
Physical resolution obtains corresponding zoom factor;It is obtained between preview picture further according to the number of physical resolution and preview picture
Display interval;The display size of preview picture is finally determined according to the zoom factor of acquisition, display interval and physical resolution,
And preview picture is spaced in display terminal with display size and display and is shown, so that the display size of preview picture being capable of basis
The variation of the number of physical resolution and/or preview picture and carry out corresponding adjustment, with preferable display size and display
It is arranged in the display area of display terminal, the pixel density for avoiding preview picture is too high or too low.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of image display method, which is characterized in that the image display method includes:
Obtain the physical resolution of display terminal and the number of preview picture;
Obtain the corresponding zoom factor of the physical resolution;
Horizontal direction pixel number is divided by preset value and the preview picture number in the physical resolution that will acquire
Product obtains the horizontal display interval between the preview picture horizontal direction;
Vertical direction pixel number is divided by preset value and the preview picture number in the physical resolution that will acquire
Product obtains the vertical display interval between the preview picture vertical direction;
The display size of the preview picture is determined according to the zoom factor of acquisition, display interval and physical resolution, and according to
The display size and the display are spaced in the display terminal and show the preview picture, wherein display interval packet
Include the horizontal display interval and the vertical display interval.
2. image display method as described in claim 1, which is characterized in that described to obtain the corresponding contracting of the physical resolution
The step of putting the factor include:
The corresponding zoom factor of the physical resolution is determined according to horizontal direction pixel number in the physical resolution,
In, the zoom factor includes horizontal scaling value and vertical scale value.
3. image display method as claimed in claim 2, which is characterized in that the horizontal scaling value and the vertical scale value
At preset ratio.
4. image display method as described in claim 1, which is characterized in that the zoom factor according to acquisition, between display
Every the display size for determining the preview picture with physical resolution, and by the preview picture with the display size and display
Being spaced in the step of display terminal is shown includes:
According to the horizontal scaling value of the zoom factor, the horizontal display interval at the display interval and the physical resolution water
Square to pixel number, the horizontal display length of the preview picture is determined;
It is perpendicular according to the vertical scale value of the zoom factor, the vertical display interval at the display interval and the physical resolution
Histogram determines the vertical display length of the preview picture to pixel number;
The display size of preview picture is obtained according to determining horizontal display length and vertical display length;
The display terminal, which is spaced in, according to the display size and display shows the preview picture.
5. a kind of image display apparatus, which is characterized in that the image display apparatus includes:
First obtains module, for obtaining the physical resolution of display terminal and the number of preview picture;
Second obtains module, for obtaining the corresponding zoom factor of the physical resolution;
Third obtains module, including horizontal interval acquiring unit and vertical spacing acquiring unit;
The horizontal interval acquiring unit, horizontal direction pixel number is divided by pre- in the physical resolution for will acquire
If the product of value and the preview picture number, the horizontal display interval between the preview picture horizontal direction is obtained;
The vertical spacing acquiring unit, vertical direction pixel number is divided by pre- in the physical resolution for will acquire
If the product of value and the preview picture number, the vertical display interval between the preview picture vertical direction is obtained;
Display module, for determining the aobvious of the preview picture according to the zoom factor of acquisition, display interval and physical resolution
Show size, and be spaced in the display terminal according to the display size and display and show the preview picture, wherein is described aobvious
Show that interval includes the horizontal display interval and the vertical display interval.
6. image display apparatus as claimed in claim 5, which is characterized in that described second obtains module, is also used to according to institute
It states horizontal direction pixel number in physical resolution and determines the corresponding zoom factor of the physical resolution, wherein the contracting
Putting the factor includes horizontal scaling value and vertical scale value.
7. image display apparatus as claimed in claim 6, which is characterized in that the horizontal scaling value and the vertical scale value
At preset ratio.
8. image display apparatus as claimed in claim 5, which is characterized in that the display module includes:
Horizontal length acquiring unit, for being shown according to the horizontal scaling value of the zoom factor, the horizontal of display interval
Interval and the physical resolution horizontal direction pixel number determine the horizontal display length of the preview picture;
Vertical length acquiring unit, the vertical display for being spaced according to the vertical scale value of the zoom factor, the display
Interval and the physical resolution vertical direction pixel number, determine the vertical display length of the preview picture;
Display size acquiring unit, for obtaining the aobvious of preview picture according to determining horizontal display length and vertical display length
Show size;
Display unit shows the preview picture for being spaced in the display terminal according to the display size and display.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955687.9A CN105578268B (en) | 2015-12-17 | 2015-12-17 | Image display method and device |
PCT/CN2016/084201 WO2017101259A1 (en) | 2015-12-17 | 2016-05-31 | Image display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955687.9A CN105578268B (en) | 2015-12-17 | 2015-12-17 | Image display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105578268A CN105578268A (en) | 2016-05-11 |
CN105578268B true CN105578268B (en) | 2019-03-01 |
Family
ID=55887856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510955687.9A Active CN105578268B (en) | 2015-12-17 | 2015-12-17 | Image display method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105578268B (en) |
WO (1) | WO2017101259A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105578268B (en) * | 2015-12-17 | 2019-03-01 | 深圳Tcl数字技术有限公司 | Image display method and device |
CN106528867A (en) * | 2016-12-02 | 2017-03-22 | 北京中交兴路车联网科技有限公司 | Picture display method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08137658A (en) * | 1994-11-15 | 1996-05-31 | Hitachi Ltd | Information processing unit |
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN1858843A (en) * | 2005-08-12 | 2006-11-08 | 深圳华为移动通信技术有限公司 | Self adaptive pantographic system and its method for image in mobile terminal |
CN103186638A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Method and device for arranging pictures |
CN103927143A (en) * | 2014-04-04 | 2014-07-16 | 福建星网视易信息系统有限公司 | Method and device for adaptively adjusting interface layout on basis of screen resolution |
CN104714714A (en) * | 2013-12-11 | 2015-06-17 | 酷吧时代科技(北京)有限公司 | Mobile terminal desktop control method and device and mobile terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3601781B2 (en) * | 2000-10-17 | 2004-12-15 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Computer device, display device, display control device, storage medium, program transmission device, display control method |
JP2003108283A (en) * | 2001-09-18 | 2003-04-11 | Internatl Business Mach Corp <Ibm> | Computer apparatus, display device, display control apparatus, processing method for image, processing method for changing display resolution and computer program |
CN101325040B (en) * | 2008-07-16 | 2011-12-28 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal |
CN102063258B (en) * | 2010-12-31 | 2012-07-04 | 山东大学 | Self-adaptive display method for image on display terminals with different sizes |
US9465572B2 (en) * | 2011-11-09 | 2016-10-11 | Microsoft Technology Licensing, Llc | Dynamic server-side image sizing for fidelity improvements |
CN105578268B (en) * | 2015-12-17 | 2019-03-01 | 深圳Tcl数字技术有限公司 | Image display method and device |
-
2015
- 2015-12-17 CN CN201510955687.9A patent/CN105578268B/en active Active
-
2016
- 2016-05-31 WO PCT/CN2016/084201 patent/WO2017101259A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08137658A (en) * | 1994-11-15 | 1996-05-31 | Hitachi Ltd | Information processing unit |
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN1858843A (en) * | 2005-08-12 | 2006-11-08 | 深圳华为移动通信技术有限公司 | Self adaptive pantographic system and its method for image in mobile terminal |
CN103186638A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Method and device for arranging pictures |
CN104714714A (en) * | 2013-12-11 | 2015-06-17 | 酷吧时代科技(北京)有限公司 | Mobile terminal desktop control method and device and mobile terminal |
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 |
---|---|
CN105578268A (en) | 2016-05-11 |
WO2017101259A1 (en) | 2017-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11120757B2 (en) | Gray scale adjustment method and device for display panel | |
US8953048B2 (en) | Information processing apparatus and control method thereof | |
CN106464959B (en) | Semiconductor integrated circuit and the display device and control method for having the semiconductor integrated circuit | |
CN101600061B (en) | Video motion-adaptive de-interlacing method and device therefor | |
CN101727836A (en) | Display method of E-ink electronic paper screen | |
CN104035664A (en) | Display method and device for user interface of application program | |
CN104994374B (en) | Method for automatically detecting three-dimensional format of video | |
CN105225201B (en) | A kind of method and system for showing object adaptive resolution and showing | |
CN105578268B (en) | Image display method and device | |
TW201301120A (en) | Electronic reader and page flipping method thereof | |
CN104320714A (en) | Display device and display regulation method thereof | |
CN103530845A (en) | Improved image zooming method | |
US20160188282A1 (en) | Image Receiving Apparatus and Method Thereof for Determining an Orientation of a Screen of an Electronic Apparatus | |
CN104703048A (en) | Method and device for adjusting screen brightness | |
JP2014041433A (en) | Display device, display method, television receiver, and display control device | |
CN104299252A (en) | Picture display switching transition method and system thereof | |
CN105007436B (en) | Display device and image display method thereof | |
CN104240213A (en) | Display method and device | |
CN112435634A (en) | Image display method, image display apparatus, and readable storage medium | |
CN104143303A (en) | Any-order checker board image assembly generating method based on FPGA | |
CN105632349B (en) | LED ball shape display screen plays the method, apparatus and system of management | |
CN107481652B (en) | Lighting detection circuit, resolution acquisition method, display screen driving method and device | |
CN109151538A (en) | Image display method, device, smart television and readable storage medium storing program for executing | |
CN106507157B (en) | Area recognizing method and device are launched in advertisement | |
CN106604105A (en) | Method and device for calculating image size of HBBTV application |
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 |