WO2017101259A1 - Image display method and device - Google Patents
Image display method and device Download PDFInfo
- Publication number
- WO2017101259A1 WO2017101259A1 PCT/CN2016/084201 CN2016084201W WO2017101259A1 WO 2017101259 A1 WO2017101259 A1 WO 2017101259A1 CN 2016084201 W CN2016084201 W CN 2016084201W WO 2017101259 A1 WO2017101259 A1 WO 2017101259A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display
- horizontal
- interval
- vertical
- preview
- Prior art date
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
- H04N21/4355—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
- H04N21/4356—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen by altering the spatial resolution, e.g. to reformat additional data on a handheld device, attached to the STB
-
- 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
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/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
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
-
- 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
-
- 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
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
- H04N21/8153—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
Definitions
- the present invention relates to the field of smart televisions, and in particular, to a picture display method and apparatus.
- the physical display resolution of traditional TV is single. For example, it is limited to 480i resolution. With the continuous development and update of display technology, the physical resolution of TV is gradually diversified, such as: 480i, 720p, 1080p, 4K (3840*) 2160) Etc. However, the preview images are previewed according to the fixed size of the system image itself.
- the pixel density of the preview image is too high, resulting in The preview image is densely arranged in the upper left corner of the TV, which seriously affects the preview effect of the icon, which is not conducive to the user to identify and select the relevant preview image;
- the TV is previewed at a low resolution (for example, 640*480), the preview image will be displayed.
- the pixel density is too low, and the preview image cannot be completely displayed on the TV. The user cannot query all preview images at once.
- the main purpose of the present invention is to provide a picture display method, where the picture display method includes:
- the scaling factor corresponding to the physical resolution, wherein the scaling factor comprises a horizontal scaling value and a vertical scaling value
- the horizontal scaling value is at a preset ratio to the vertical scaling value.
- the step of determining the display size of the preview picture according to the acquired scaling factor, the display interval, and the physical resolution, and displaying the preview picture on the display terminal at the display size and the display interval includes:
- the preview picture is displayed on the display terminal in accordance with the display size and display interval.
- the present invention also provides a picture display method, the picture display method comprising:
- the step of acquiring the scaling factor corresponding to the physical resolution comprises:
- the scaling factor corresponding to the physical resolution is determined according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor includes a horizontal scaling value and a vertical scaling value.
- the horizontal scaling value is at a preset ratio to the vertical scaling value.
- the display interval includes a horizontal display interval and a vertical display interval
- the step of obtaining a display interval between preview images according to the acquired physical resolution and the number of preview pictures includes:
- the step of determining the display size of the preview picture according to the acquired scaling factor, the display interval, and the physical resolution, and displaying the preview picture on the display terminal at the display size and the display interval includes:
- the preview picture is displayed on the display terminal in accordance with the display size and display interval.
- the present invention further provides a picture display device, where the picture display device includes:
- a first acquiring module configured to acquire a physical resolution of the display terminal and a number of preview pictures
- a second acquiring module configured to acquire a scaling factor corresponding to the physical resolution
- a third obtaining module configured to acquire a display interval between the preview images according to the obtained physical resolution and the number of the preview pictures
- a display module configured to determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display the preview picture on the display terminal according to the display size and the display interval.
- the second obtaining module is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in a horizontal direction in the physical resolution, where the scaling factor includes a horizontal scaling value and a vertical Scale value.
- the horizontal scaling value is at a preset ratio to the vertical scaling value.
- the display interval includes a horizontal display interval and a vertical display interval
- the third obtaining module includes:
- a horizontal interval acquiring unit configured to divide the number of pixels in the horizontal direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a horizontal display interval between horizontal directions of the preview picture ;
- a vertical interval acquiring unit configured to divide the number of pixels in the vertical direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a vertical direction between the preview pictures Vertical display interval.
- the display module comprises:
- a horizontal length obtaining unit configured to determine a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixels in the physical resolution horizontal direction;
- a vertical length obtaining unit configured to determine a verticality of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction Display length
- a display size obtaining unit configured to obtain a display size of the preview image according to the determined horizontal display length and the vertical display length
- a display unit configured to display the preview picture on the display terminal according to the display size and the display interval.
- the invention first obtains the physical resolution of the display terminal and the number of preview pictures, and then obtains a corresponding scaling factor according to the physical resolution; and then obtains the display interval between the preview pictures according to the physical resolution and the number of preview pictures; Determining a display size of the preview image according to the obtained scaling factor, display interval, and physical resolution, and displaying a preview image on the display terminal according to the display size and the display interval, so that the display size of the preview image can be based on the physical resolution and/or the preview image. Corresponding adjustments are made to change the number, and are arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
- FIG. 1 is a schematic flow chart of a first embodiment of a picture display method according to the present invention.
- FIG. 2 is a schematic diagram showing a refinement process of determining a display size of a preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal at the display size and display interval;
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of a picture display device according to the present invention.
- FIG. 4 is a schematic diagram of a refinement function module of the display module of FIG. 3.
- the present invention provides a picture display method.
- the picture display method includes:
- Step S10 Obtain a physical resolution of the display terminal and a number of preview pictures
- the display terminal can be a smart TV, a computer display, etc., and obtain the physical resolution of the display terminal and the number of preview images, and the physical resolution and the preview image (the preview image can be a preview icon and a picture displayed on the display terminal)
- the number can be pre-stored in the memory of the display terminal.
- it can be directly read from the memory of the display terminal, wherein the physical resolution is the highest displayable of the display terminal.
- the number of pixels, the number of preview pictures is the number of preview pictures to be displayed in the display area of the display terminal.
- Step S20 Acquire a scaling factor corresponding to the physical resolution according to the obtained physical resolution.
- Determining a pixel density level of the display terminal according to the number of pixels in the horizontal direction of the acquired physical resolution, and obtaining a scaling factor corresponding to the pixel density level according to the pixel density level; or a vertical direction pixel point according to the acquired physical resolution The number is determined to determine the pixel density level of the terminal, and the scaling factor corresponding to the pixel density level is obtained according to the pixel density level.
- step S20 includes:
- Step S21 Determine a scaling factor corresponding to the physical resolution according to the number of pixels in the horizontal direction in the physical resolution, where the scaling factor includes a horizontal scaling value and a vertical scaling value.
- the pixel density level of the current physical resolution is determined, thereby obtaining a scaling factor corresponding to the pixel density level, and for assisting understanding, the following example will enumerate the pixel density.
- the classification is divided into three levels of examples:
- Step S20 includes:
- Step S201 Acquire a preset first scaling factor when the number of acquired physical resolution horizontal direction pixel points is in a first preset interval, where the first scaling factor includes a first horizontal scaling value and a first vertical scaling value;
- the horizontal direction and the vertical direction mentioned in the present invention mean that if the display terminal display area is a rectangle, the length direction of the display area is a horizontal direction and the width direction is a vertical direction.
- the number of the physical resolution horizontal direction pixels is in the first preset interval, determining that the pixel density level of the current display terminal is a low density, acquiring a preset first scaling factor corresponding to the low density, for example, the first The preset interval is [0, 640].
- the obtained physical resolution is 640*480
- the pixel density of the current display terminal is determined to be a low density, and a scaling factor corresponding to the low density is obtained, such as a horizontal scaling of the first scaling factor.
- the value is 4 and the vertical scaling value is 2.
- Step S202 when the acquired physical resolution horizontal direction pixel number is in the second preset interval, acquiring a preset second scaling factor, where the second scaling factor includes the second horizontal scaling value and the second vertical scaling value;
- the obtained physical resolution horizontal direction pixel number is in the second preset interval, determining that the pixel density of the current display terminal is the intermediate density, acquiring a preset second scaling factor corresponding to the intermediate density, for example, the second pre- The interval is (640, 1920).
- the obtained physical resolution is 1024*768
- the scaling factor corresponding to the intermediate density is obtained, such as the horizontal scaling of the second scaling factor.
- the value is 8 and the vertical scaling value is 4.
- the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
- Step S203 Acquire a preset third scaling factor when the number of acquired physical resolution horizontal direction pixel points is in a third preset interval, where the third scaling factor includes a third horizontal scaling value and a third vertical scaling value.
- the obtained physical resolution horizontal direction pixel number is in the third preset interval, determining that the pixel density level of the current display terminal is the advanced density, acquiring a preset third scaling factor corresponding to the advanced density, for example, the third The preset interval is (1920, 3840).
- the acquired physical resolution is 3840*2160
- the pixel density of the current display terminal is determined to be an advanced density, and a scaling factor corresponding to the advanced density is obtained, such as a horizontal scaling of the third scaling factor.
- the value is 12 and the vertical scaling value is 6.
- the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
- the horizontal scaling value is at a preset ratio to the vertical scaling value.
- the first scaling factor, the second scaling factor, and the third scaling factor have a horizontal scaling value and a vertical scaling value ratio of 2:1. .
- Step S30 Obtain a display interval between preview images according to the obtained physical resolution and the number of preview pictures.
- the obtained physical resolution horizontal direction pixel number is divided by 10 times the number of preview images, and the obtained pixel is obtained.
- the number is the horizontal display interval between the preview images; the same can be used to obtain the vertical display interval between the preview images.
- the number of pixels in the direction is 640
- the number of pixels in the vertical direction is 480
- the number of preview images is 10.
- the horizontal display interval between preview images is the number of pixels in the horizontal direction of the physical resolution. (640) divided by 10 times the number of preview images (10), that is, the horizontal display spacing between preview images is 6.4 pixels.
- the vertical display spacing between preview images is 4.8 pixels.
- step S30 includes:
- Step S31 dividing the obtained number of physical resolution horizontal direction pixel points by the product of the preset value and the number of preview pictures, and obtaining a horizontal display interval between horizontal directions of the preview picture;
- Dividing the number of pixels in the horizontal direction of the obtained physical resolution by the product of the preset value and the number of preview pictures, and obtaining a horizontal display interval between the horizontal directions of the preview picture, and the range of the preset value is preferably 5 to 15, preferably Is 10.
- Step S32 dividing the obtained number of pixels in the vertical direction of the physical resolution by the product of the preset value and the number of preview pictures, and obtaining a vertical display interval between the vertical directions of the preview picture.
- Dividing the number of pixels in the vertical direction of the obtained physical resolution by the product of the preset value and the number of preview pictures, and obtaining a vertical display interval between the vertical directions of the preview image, and the preset value preferably ranges from 5 to 15, preferably 10.
- the horizontal display interval and the vertical display interval are acquired before and after, and it is feasible to acquire or arbitrarily acquire the horizontal display interval and the vertical display interval.
- Step S40 Determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display a preview picture on the display terminal according to the display size and the display interval.
- Determining the display size of the preview image according to the obtained scaling factor, display interval, and physical resolution for example, by subtracting the preset multiple from the horizontal width of the physical resolution (the preset multiple may be a horizontal scaling value of the scaling factor, or previewing the image)
- the horizontal display interval of the display interval and then divided by the horizontal scaling value of the scaling factor to obtain the horizontal display length of the preview image; similarly, the vertical display length of the preview image can be obtained, thereby displaying the length according to the horizontal
- the vertical display length obtains the display size of the preview picture, and finally displays the preview picture in the display area of the display terminal according to the obtained display size and display interval.
- step 40 includes:
- Step S41 determining a horizontal display length of the preview picture according to the horizontal scaling value of the scaling factor, the horizontal display interval of the display interval, and the number of pixels in the horizontal direction of the physical resolution;
- the horizontal display interval of the display interval of the physical resolution horizontal direction pixel minus the horizontal scaling value of the scaling factor
- the horizontal scaling value of the scaling factor is 4, then the physical resolution horizontal direction pixel number is subtracted from the scaling factor.
- the horizontal display length of the preview image is 153.6 pixels.
- Step S42 determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a physical resolution vertical pixel number;
- the difference between the vertical display interval of the display interval of the vertical scaling value of the scaling factor minus the vertical scaling value of the scaling factor may be obtained first, and then the obtained difference is divided by the scaling value of the vertical scaling factor, thereby Calculate the vertical display length of the preview image.
- the calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the vertical display interval is 4.8 pixels, and the horizontal scaling value is 2, then the physical resolution is first determined by the number of pixels in the vertical direction minus the scaling.
- Step S43 obtaining a display size of the preview picture according to the determined horizontal display length and the vertical display length;
- the display size of the preview image is the size of the rectangular area limited by the horizontal display length and the vertical display length.
- Step S44 displaying a preview picture on the display terminal according to the display size and the display interval.
- the preview image is displayed in the display size obtained, and is arranged in the display area of the display terminal according to the display interval (horizontal display interval and vertical display interval).
- the physical resolution of the display terminal and the number of preview pictures are first acquired, and then the corresponding scaling factor is obtained according to the physical resolution; and the preview image is obtained according to the physical resolution and the number of preview pictures. Display interval; finally, the display size of the preview image is determined according to the obtained scaling factor, display interval, and physical resolution, and the preview image is displayed on the display terminal at the display size and display interval, so that the display size of the preview image can be based on the physical resolution and / or the corresponding number of preview pictures are adjusted accordingly, and arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
- the present invention further provides a picture display device.
- the picture display device includes: a first acquisition module 10, a second acquisition module 20, a third acquisition module 30, and Display module 40.
- the first obtaining module 10 is configured to obtain a physical resolution of the display terminal and a number of preview pictures.
- the display terminal can be a smart TV, a computer display, etc., and obtain the physical resolution of the display terminal and the number of preview pictures.
- the physical resolution and the number of preview pictures can be pre-stored in the memory of the display terminal, when the display terminal needs to be acquired.
- the first obtaining module 10 can directly read from the memory of the display terminal, wherein the physical resolution is the highest displayable number of pixels of the display terminal, and the number of preview pictures is displayed. The number of preview images to be displayed in the terminal display area.
- the second obtaining module 20 is configured to obtain a scaling factor corresponding to the physical resolution.
- the second obtaining module 20 determines the pixel density level of the display terminal according to the number of pixels in the horizontal direction of the acquired physical resolution, and obtains a scaling factor corresponding to the pixel density level according to the pixel density level; or according to the acquired physical resolution.
- the number of pixels in the vertical direction is used to determine the pixel density level of the display terminal, and the scaling factor corresponding to the pixel density level is obtained according to the pixel density level.
- the second obtaining module 20 is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor comprises a horizontal scaling value and a vertical scaling value.
- the pixel density level of the current physical resolution is determined, thereby obtaining a scaling factor corresponding to the pixel density level, and for assisting understanding, the following example will enumerate the pixel density.
- the classification is divided into three levels of examples:
- the second obtaining module 20 includes:
- the first scaling acquisition unit 201 is configured to acquire a preset first scaling factor when the acquired physical resolution horizontal direction pixel number is in the first preset interval, where the first scaling factor includes the first horizontal scaling value And a first vertical scaling value;
- the horizontal direction and the vertical direction mentioned in the present invention mean that if the display terminal display area is a rectangle, the length direction of the display area is a horizontal direction and the width direction is a vertical direction.
- the first scaling acquisition unit 201 determines that the pixel density level of the current display terminal is a low density, and acquires a preset first zoom corresponding to the low density.
- the factor for example, the first preset interval is [0, 640], and when the acquired physical resolution is 640*480, the pixel density of the current display terminal is determined to be a low-level density, and a scaling factor corresponding to the low-level density is obtained, such as A scaling factor has a horizontal scaling value of 4 and a vertical scaling value of 2. In addition, it is also possible to compare the number of pixels in the vertical direction according to the physical resolution with the preset interval to determine the scaling factor.
- the second scaling acquisition unit 202 is configured to acquire a preset second scaling factor when the acquired physical resolution horizontal direction pixel number is in the second preset interval, where the second scaling factor includes the second horizontal scaling value And a second vertical scaling value;
- the second scaling acquisition unit 202 determines that the pixel density of the current display terminal is the intermediate density, and acquires a preset second scaling factor corresponding to the intermediate density.
- the second preset interval is (640, 1920).
- the acquired physical resolution is 1024*768
- the scaling factor corresponding to the intermediate density is obtained, for example,
- the horizontal scaling factor of the second scaling factor is 8 and the vertical scaling value is 4.
- the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
- the third scaling acquisition unit 203 is configured to acquire a preset third scaling factor when the acquired physical resolution horizontal direction pixel number is in the third preset interval, where the third scaling factor includes the third horizontal scaling value. And the third vertical scaling value.
- the third scaling acquisition unit 203 determines that the pixel density level of the current display terminal is the advanced density, and acquires a preset third scaling corresponding to the advanced density.
- the factor for example, the third preset interval is (1920, 3840).
- the acquired physical resolution is 3840*2160
- the scaling factor corresponding to the advanced density is obtained, such as The horizontal scaling factor of the three scaling factors is 12, and the vertical scaling value is 6.
- the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
- the horizontal scaling value is at a preset ratio to the vertical scaling value.
- the first scaling factor, the second scaling factor, and the third scaling factor have a horizontal scaling value and a vertical scaling value ratio of 2:1. .
- the third obtaining module 30 is configured to obtain a display interval between preview images according to the obtained physical resolution and the number of preview pictures;
- the third obtaining module 30 obtains the display interval between the preview images according to the obtained physical resolution and the number of preview images, for example, dividing the obtained physical resolution horizontal direction pixel points by 10 times the number of preview images.
- the number of pixels obtained is the horizontal display interval between preview images; similarly, the vertical display interval between preview images can be obtained.
- the following is a specific numerical description, and the physical resolution obtained is 640*480.
- the number of pixels in the horizontal direction of the physical resolution is 640
- the number of pixels in the vertical direction is 480
- the number of preview images is 10, and the horizontal display interval between preview images is the physical resolution level.
- the number of directional pixels (640) divided by the number of preview images (10), that is, the horizontal display spacing between preview images is 6.4 pixels.
- the vertical display spacing between preview images is 4.8. Pixel.
- the display interval includes a horizontal display interval and a vertical display interval
- the third obtaining module 30 includes:
- the horizontal interval obtaining unit 31 is configured to divide the number of pixels in the horizontal direction in the acquired physical resolution by the product of the preset value and the number of preview pictures, and obtain a horizontal display interval between the horizontal directions of the preview picture;
- the horizontal interval acquiring unit 31 divides the obtained physical resolution horizontal direction pixel number by the product of the preset value and the preview picture number, and obtains a horizontal display interval between the horizontal direction of the preview picture, and the preset value range is preferably 5 to 15, preferably 10.
- the vertical interval obtaining unit 32 is configured to divide the number of pixels in the vertical direction in the acquired physical resolution by the product of the preset value and the number of preview pictures, and obtain a vertical display interval between the vertical directions of the preview picture.
- the vertical interval obtaining unit 32 divides the obtained physical resolution vertical direction pixel number by the product of the preset value and the preview picture number, and obtains a vertical display interval between the vertical direction of the preview picture, the preset value.
- the range is preferably from 5 to 15, preferably 10.
- the horizontal display interval and the vertical display interval are acquired before and after, and it is feasible to acquire or arbitrarily acquire the horizontal display interval and the vertical display interval.
- the display module 40 is configured to determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display the preview picture on the display terminal according to the display size and the display interval.
- the display module 40 determines the display size of the preview picture according to the obtained scaling factor, display interval, and physical resolution, for example, by subtracting the preset multiple from the horizontal direction width of the physical resolution (the preset multiple may be a horizontal scaling value of the scaling factor, Or the horizontal display interval of the display interval of the preview image, and then divided by the horizontal scaling value of the scaling factor to obtain the horizontal display length of the preview image; similarly, the vertical display length of the preview image can be obtained, thereby The display length and the vertical display length are used to obtain the display size of the preview picture, and finally the preview picture is displayed in the display area of the display terminal according to the obtained display size and display interval.
- the preset multiple may be a horizontal scaling value of the scaling factor, Or the horizontal display interval of the display interval of the preview image, and then divided by the horizontal scaling value of the scaling factor to obtain the horizontal display length of the preview image; similarly, the vertical display length of the preview image can be obtained, thereby
- the display length and the vertical display length are used to obtain the display size of the preview picture,
- the display module 40 includes:
- a horizontal length obtaining unit 41 configured to determine a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a physical resolution horizontal direction pixel number;
- the difference between the horizontal display interval of the display interval of the physical resolution horizontal direction pixel minus the horizontal scaling value of the scaling factor is first obtained, and then the horizontal length obtaining unit 41 divides the obtained difference by the horizontal scaling value of the scaling factor.
- the horizontal display length of the preview picture is thus calculated.
- the calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the horizontal display interval is 6.4 pixels, and the horizontal scaling value is 4, then the physical resolution horizontal direction pixel number is subtracted from the scaling factor.
- a vertical length obtaining unit 42 configured to determine a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a physical resolution vertical pixel number;
- the difference between the vertical display intervals of the display intervals of the vertical resolution value of the scaling factor minus the vertical scaling value of the scaling factor may be first obtained, and then the vertical length acquisition unit 42 divides the obtained difference by the vertical scaling.
- the scaled value of the factor to calculate the vertical display length of the preview image.
- the calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the vertical display interval is 4.8 pixels, and the horizontal scaling value is 2, then the physical resolution is first determined by the number of pixels in the vertical direction minus the scaling.
- a display size obtaining unit 43 configured to obtain a display size of the preview image according to the determined horizontal display length and the vertical display length;
- the display size of the preview image is the size of the rectangular area limited by the horizontal display length and the vertical display length.
- the display unit 44 is configured to display a preview picture on the display terminal according to the display size and the display interval.
- the display unit 44 displays the preview picture in the obtained display size, and arranges in the display area of the display terminal according to the display interval (the horizontal display interval and the vertical display interval).
- the physical resolution of the display terminal and the number of preview pictures are first acquired, and then the corresponding scaling factor is obtained according to the physical resolution; and the preview image is obtained according to the physical resolution and the number of preview pictures. Display interval; finally, the display size of the preview image is determined according to the obtained scaling factor, display interval, and physical resolution, and the preview image is displayed on the display terminal at the display size and display interval, so that the display size of the preview image can be based on the physical resolution and / or the corresponding number of preview pictures are adjusted accordingly, and arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
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
Disclosed in the present invention is an image display method, the method comprising: acquiring a physical resolution of a display terminal and the number of to-be-previewed images; acquiring a scaling factor corresponding to the physical resolution; acquiring a display interval between the to-be-previewed images on the basis of the acquired physical resolution and the number of to-be-previewed images; and determining display sizes of the to-be-previewed images on the basis of the acquired scaling factor, display interval and physical resolution, and displaying the to-be-previewed images on the display terminal according to the display sizes and the display interval. The present invention also provides an image display device. In the present invention, the display sizes of the to-be-previewed images are adjusted according to changes in the physical resolution and/or the number of to-be-previewed images, such that the images are arranged in the display area of the display terminal with preferred display sizes and display intervals, thus preventing the pixel density of previewed image from being too high or too low.
Description
技术领域Technical field
本发明涉及智能电视领域,尤其涉及一种图片显示方法及装置。The present invention relates to the field of smart televisions, and in particular, to a picture display method and apparatus.
背景技术Background technique
传统电视的物理显示分辨率单一,比如:只限于480i的分辨率,随着显示技术的不断发展和更新,电视的物理分辨率也逐渐多元化,比如:480i、720p、1080p,4K(3840*2160)等,但是,预览图片都是按照系统图片本身固定的大小预览,一方面,在电视以高分辨率(例如3840*2160)预览显示时,会使预览图片的像素密度过高,而造成预览图片在电视的左上角密集排列,严重影响图标的预览效果,不利于用户识别和选中相关预览图片;一方面,在电视以低分辨率(例如640*480)预览显示时,会使预览图片的像素密度过低,而造成预览图片在电视上无法完全显示,用户无法一次性查询全部预览图片。
The physical display resolution of traditional TV is single. For example, it is limited to 480i resolution. With the continuous development and update of display technology, the physical resolution of TV is gradually diversified, such as: 480i, 720p, 1080p, 4K (3840*) 2160) Etc. However, the preview images are previewed according to the fixed size of the system image itself. On the one hand, when the TV is previewed with high resolution (for example, 3840*2160), the pixel density of the preview image is too high, resulting in The preview image is densely arranged in the upper left corner of the TV, which seriously affects the preview effect of the icon, which is not conducive to the user to identify and select the relevant preview image; on the other hand, when the TV is previewed at a low resolution (for example, 640*480), the preview image will be displayed. The pixel density is too low, and the preview image cannot be completely displayed on the TV. The user cannot query all preview images at once.
发明内容Summary of the invention
本发明的主要目的在于提供一种图片显示方法,所述图片显示方法包括:The main purpose of the present invention is to provide a picture display method, where the picture display method includes:
获取显示终端的物理分辨率和预览图片的个数;Obtaining the physical resolution of the display terminal and the number of preview pictures;
根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值;Determining, according to the number of pixels in the horizontal direction, the scaling factor corresponding to the physical resolution, wherein the scaling factor comprises a horizontal scaling value and a vertical scaling value;
将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔,其中所述显示间隔包括水平显示间隔和竖直显示间隔;And obtaining a horizontal display interval between the horizontal direction of the preview image by dividing the number of the horizontal direction pixel points in the obtained physical resolution by a product of the preset value and the number of the preview pictures, wherein the display interval includes Horizontal display interval and vertical display interval;
将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔;And dividing the obtained number of pixels in the vertical direction in the physical resolution by the product of the preset value and the number of the preview images, and acquiring a vertical display interval between the vertical directions of the preview image;
根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和所述显示间隔在所述显示终端显示所述预览图片。Determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal according to the display size and the display interval.
优选地,所述水平缩放值与所述竖直缩放值成预设比例。Preferably, the horizontal scaling value is at a preset ratio to the vertical scaling value.
优选地,所述根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并将所述预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤包括:Preferably, the step of determining the display size of the preview picture according to the acquired scaling factor, the display interval, and the physical resolution, and displaying the preview picture on the display terminal at the display size and the display interval includes:
根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;Determining a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixel points in the physical resolution horizontal direction;
根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;Determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction;
根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Obtaining a display size of the preview image according to the determined horizontal display length and the vertical display length;
按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。The preview picture is displayed on the display terminal in accordance with the display size and display interval.
本发明还提供一种图片显示方法,所述图片显示方法包括:The present invention also provides a picture display method, the picture display method comprising:
获取显示终端的物理分辨率和预览图片的个数;Obtaining the physical resolution of the display terminal and the number of preview pictures;
获取所述物理分辨率对应的缩放因子;Obtaining a scaling factor corresponding to the physical resolution;
根据获取的所述物理分辨率和所述预览图片的个数,获取所述预览图片之间的显示间隔;Obtaining a display interval between the preview pictures according to the obtained physical resolution and the number of the preview pictures;
根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。Determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal according to the display size and the display interval.
优选地,所述获取所述物理分辨率对应的缩放因子的步骤包括:Preferably, the step of acquiring the scaling factor corresponding to the physical resolution comprises:
根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。The scaling factor corresponding to the physical resolution is determined according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor includes a horizontal scaling value and a vertical scaling value.
优选地,所述水平缩放值与所述竖直缩放值成预设比例。Preferably, the horizontal scaling value is at a preset ratio to the vertical scaling value.
优选地,所述显示间隔包括水平显示间隔和竖直显示间隔,所述根据获取的所述物理分辨率和预览图片的个数,获取预览图片之间的显示间隔的步骤包括:Preferably, the display interval includes a horizontal display interval and a vertical display interval, and the step of obtaining a display interval between preview images according to the acquired physical resolution and the number of preview pictures includes:
将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔;And dividing the obtained number of horizontal direction pixels in the physical resolution by a product of a preset value and the number of preview pictures, and acquiring a horizontal display interval between horizontal directions of the preview picture;
将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔。And dividing the obtained number of pixels in the vertical direction in the physical resolution by the product of the preset value and the number of the preview pictures, and obtaining a vertical display interval between the vertical directions of the preview picture.
优选地,所述根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并将所述预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤包括:Preferably, the step of determining the display size of the preview picture according to the acquired scaling factor, the display interval, and the physical resolution, and displaying the preview picture on the display terminal at the display size and the display interval includes:
根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;Determining a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixel points in the physical resolution horizontal direction;
根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;Determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction;
根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Obtaining a display size of the preview image according to the determined horizontal display length and the vertical display length;
按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。The preview picture is displayed on the display terminal in accordance with the display size and display interval.
此外,为实现上述目的,本发明还提供一种图片显示装置,所述图片显示装置包括:In addition, in order to achieve the above object, the present invention further provides a picture display device, where the picture display device includes:
第一获取模块,用于获取显示终端的物理分辨率和预览图片的个数;a first acquiring module, configured to acquire a physical resolution of the display terminal and a number of preview pictures;
第二获取模块,用于获取所述物理分辨率对应的缩放因子;a second acquiring module, configured to acquire a scaling factor corresponding to the physical resolution;
第三获取模块,用于根据获取的所述物理分辨率和所述预览图片的个数,获取所述预览图片之间的显示间隔;a third obtaining module, configured to acquire a display interval between the preview images according to the obtained physical resolution and the number of the preview pictures;
显示模块,用于根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。And a display module, configured to determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display the preview picture on the display terminal according to the display size and the display interval.
优选地,所述第二获取模块,还用于根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。Preferably, the second obtaining module is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in a horizontal direction in the physical resolution, where the scaling factor includes a horizontal scaling value and a vertical Scale value.
优选地,所述水平缩放值与所述竖直缩放值成预设比例。Preferably, the horizontal scaling value is at a preset ratio to the vertical scaling value.
优选地,所述显示间隔包括水平显示间隔和竖直显示间隔,所述第三获取模块包括:Preferably, the display interval includes a horizontal display interval and a vertical display interval, and the third obtaining module includes:
水平间隔获取单元,用于将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔;a horizontal interval acquiring unit, configured to divide the number of pixels in the horizontal direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a horizontal display interval between horizontal directions of the preview picture ;
竖直间隔获取单元,用于将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔。And a vertical interval acquiring unit, configured to divide the number of pixels in the vertical direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a vertical direction between the preview pictures Vertical display interval.
优选地,所述显示模块包括:Preferably, the display module comprises:
水平长度获取单元,用于根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;a horizontal length obtaining unit, configured to determine a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixels in the physical resolution horizontal direction;
竖直长度获取单元,用于根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;a vertical length obtaining unit, configured to determine a verticality of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction Display length
显示尺寸获取单元,用于根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;a display size obtaining unit, configured to obtain a display size of the preview image according to the determined horizontal display length and the vertical display length;
显示单元,用于按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。And a display unit, configured to display the preview picture on the display terminal according to the display size and the display interval.
本发明通过先获取显示终端的物理分辨率和预览图片的个数,然后根据物理分辨率获取对应的缩放因子;再根据物理分辨率和预览图片的个数获取预览图片之间的显示间隔;最后根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,并按照显示尺寸和显示间隔在显示终端显示预览图片,从而预览图片的显示尺寸能够根据物理分辨率和/或预览图片的个数的变化而进行相对应的调整,以较佳的显示尺寸和显示间隔排列在显示终端的显示区域中,避免了预览图片的像素密度过高或过低。The invention first obtains the physical resolution of the display terminal and the number of preview pictures, and then obtains a corresponding scaling factor according to the physical resolution; and then obtains the display interval between the preview pictures according to the physical resolution and the number of preview pictures; Determining a display size of the preview image according to the obtained scaling factor, display interval, and physical resolution, and displaying a preview image on the display terminal according to the display size and the display interval, so that the display size of the preview image can be based on the physical resolution and/or the preview image. Corresponding adjustments are made to change the number, and are arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
附图说明DRAWINGS
图1为本发明图片显示方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a picture display method according to the present invention;
图2为图1中根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,并将预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤的细化流程示意图;2 is a schematic diagram showing a refinement process of determining a display size of a preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal at the display size and display interval;
图3为本发明图片显示装置第一实施例的功能模块示意图;3 is a schematic diagram of functional modules of a first embodiment of a picture display device according to the present invention;
图4为图3中显示模块的细化功能模块示意图。4 is a schematic diagram of a refinement function module of the display module of FIG. 3.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种图片显示方法,参照图1,在本发明图片显示方法第一实施例中,该图片显示方法包括:The present invention provides a picture display method. Referring to FIG. 1, in a first embodiment of the picture display method of the present invention, the picture display method includes:
步骤S10,获取显示终端的物理分辨率和预览图片的个数;Step S10: Obtain a physical resolution of the display terminal and a number of preview pictures;
显示终端可以为智能电视、电脑显示器等,获取显示终端的物理分辨率和预览图片的个数,该物理分辨率和预览图片(该预览图片可以是显示终端上显示的预览图标和图片)的个数可以预存在显示终端的存储器中,当需要获取显示终端的物理分辨率和预览图片的个数时,直接从显示终端的存储器中读取即可,其中物理分辨率为显示终端的最高可显示的像素数,预览图片的个数是显示终端显示区域需显示的预览图片的个数。The display terminal can be a smart TV, a computer display, etc., and obtain the physical resolution of the display terminal and the number of preview images, and the physical resolution and the preview image (the preview image can be a preview icon and a picture displayed on the display terminal) The number can be pre-stored in the memory of the display terminal. When it is required to obtain the physical resolution of the display terminal and the number of preview pictures, it can be directly read from the memory of the display terminal, wherein the physical resolution is the highest displayable of the display terminal. The number of pixels, the number of preview pictures is the number of preview pictures to be displayed in the display area of the display terminal.
步骤S20,根据获取的物理分辨率,获取该物理分辨率对应的缩放因子;Step S20: Acquire a scaling factor corresponding to the physical resolution according to the obtained physical resolution.
根据获取的物理分辨率的水平方向像素点个数来确定显示终端的像素密度等级,并根据像素密度等级获取该像素密度等级对应的缩放因子;或者根据获取的物理分辨率的竖直方向像素点个数来确定显示终端的像素密度等级,并根据像素密度等级获取该像素密度等级对应的缩放因子。Determining a pixel density level of the display terminal according to the number of pixels in the horizontal direction of the acquired physical resolution, and obtaining a scaling factor corresponding to the pixel density level according to the pixel density level; or a vertical direction pixel point according to the acquired physical resolution The number is determined to determine the pixel density level of the terminal, and the scaling factor corresponding to the pixel density level is obtained according to the pixel density level.
优选地,步骤S20包括:Preferably, step S20 includes:
步骤S21,根据物理分辨率中水平方向像素点个数确定物理分辨率对应的缩放因子,其中,缩放因子包括水平缩放值和竖直缩放值。Step S21: Determine a scaling factor corresponding to the physical resolution according to the number of pixels in the horizontal direction in the physical resolution, where the scaling factor includes a horizontal scaling value and a vertical scaling value.
通过将物理分辨率中水平像素点个数与预设数值区间进行比较,确定当前物理分辨率的像素密度等级,从而获取该像素密度等级对应的缩放因子,为辅助理解,以下例举将像素密度分级分为三个等级的实施例:By comparing the number of horizontal pixel points in the physical resolution with the preset numerical interval, the pixel density level of the current physical resolution is determined, thereby obtaining a scaling factor corresponding to the pixel density level, and for assisting understanding, the following example will enumerate the pixel density. The classification is divided into three levels of examples:
步骤S20包括:Step S20 includes:
步骤S201,当获取的物理分辨率水平方向像素点个数处于第一预设区间时,获取预设的第一缩放因子,其中,第一缩放因子包括第一水平缩放值和第一竖直缩放值;Step S201: Acquire a preset first scaling factor when the number of acquired physical resolution horizontal direction pixel points is in a first preset interval, where the first scaling factor includes a first horizontal scaling value and a first vertical scaling value;
本发明中提及的水平方向和竖直方向是指:显示终端显示区域若为矩形,则该显示区域的长度方向为水平方向,宽度方向为竖直方向。当获取的物理分辨率水平方向像素点个数处于第一预设区间时,确定当前显示终端的像素密度等级为低级密度,获取预设的与低级密度对应的第一缩放因子,例如,第一预设区间为[0,640],当获取的物理分辨率为640*480时,则确定当前显示终端的像素密度为低级密度,获取低级密度对应的缩放因子,如第一缩放因子的水平缩放值为4,竖直缩放值为2。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子。The horizontal direction and the vertical direction mentioned in the present invention mean that if the display terminal display area is a rectangle, the length direction of the display area is a horizontal direction and the width direction is a vertical direction. When the number of the physical resolution horizontal direction pixels is in the first preset interval, determining that the pixel density level of the current display terminal is a low density, acquiring a preset first scaling factor corresponding to the low density, for example, the first The preset interval is [0, 640]. When the obtained physical resolution is 640*480, the pixel density of the current display terminal is determined to be a low density, and a scaling factor corresponding to the low density is obtained, such as a horizontal scaling of the first scaling factor. The value is 4 and the vertical scaling value is 2. In addition, it is also possible to compare the number of pixels in the vertical direction according to the physical resolution with the preset interval to determine the scaling factor.
步骤S202,当获取的物理分辨率水平方向像素点个数处于第二预设区间时,获取预设的第二缩放因子,其中,第二缩放因子包括第二水平缩放值和第二竖直缩放值;Step S202, when the acquired physical resolution horizontal direction pixel number is in the second preset interval, acquiring a preset second scaling factor, where the second scaling factor includes the second horizontal scaling value and the second vertical scaling value;
当获取的物理分辨率水平方向像素点个数处于第二预设区间时,确定当前显示终端的像素密度为中级密度,获取预设的与中级密度对应的第二缩放因子,例如,第二预设区间为(640,1920],当获取的物理分辨率为1024*768时,则确定当前显示终端的像素密度等级为中级密度,获取中级密度对应的缩放因子,如第二缩放因子的水平缩放值为8,竖直缩放值为4。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子When the obtained physical resolution horizontal direction pixel number is in the second preset interval, determining that the pixel density of the current display terminal is the intermediate density, acquiring a preset second scaling factor corresponding to the intermediate density, for example, the second pre- The interval is (640, 1920). When the obtained physical resolution is 1024*768, it is determined that the pixel density level of the current display terminal is the intermediate density, and the scaling factor corresponding to the intermediate density is obtained, such as the horizontal scaling of the second scaling factor. The value is 8 and the vertical scaling value is 4. In addition, the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
步骤S203,当获取的物理分辨率水平方向像素点个数处于第三预设区间时,获取预设的第三缩放因子,其中,第三缩放因子包括第三水平缩放值和第三竖直缩放值。Step S203: Acquire a preset third scaling factor when the number of acquired physical resolution horizontal direction pixel points is in a third preset interval, where the third scaling factor includes a third horizontal scaling value and a third vertical scaling value.
当获取的物理分辨率水平方向像素点个数处于第三预设区间时,确定当前显示终端的像素密度等级为高级密度,获取预设的与高级密度对应的第三缩放因子,例如,第三预设区间为(1920,3840],当获取的物理分辨率为3840*2160时,则确定当前显示终端的像素密度为高级密度,获取高级密度对应的缩放因子,如第三缩放因子的水平缩放值为12,竖直缩放值为6。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子。When the obtained physical resolution horizontal direction pixel number is in the third preset interval, determining that the pixel density level of the current display terminal is the advanced density, acquiring a preset third scaling factor corresponding to the advanced density, for example, the third The preset interval is (1920, 3840). When the acquired physical resolution is 3840*2160, the pixel density of the current display terminal is determined to be an advanced density, and a scaling factor corresponding to the advanced density is obtained, such as a horizontal scaling of the third scaling factor. The value is 12 and the vertical scaling value is 6. In addition, the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
优选地,水平缩放值与竖直缩放值成预设比例,例如上述例子中,第一缩放因子、第二缩放因子和第三缩放因子的水平缩放值与竖直缩放值比例均为2:1。Preferably, the horizontal scaling value is at a preset ratio to the vertical scaling value. For example, in the above example, the first scaling factor, the second scaling factor, and the third scaling factor have a horizontal scaling value and a vertical scaling value ratio of 2:1. .
步骤S30,根据获取的物理分辨率和预览图片的个数,获取预览图片之间的显示间隔;Step S30: Obtain a display interval between preview images according to the obtained physical resolution and the number of preview pictures.
根据获取的物理分辨率和预览图片的个数,获取预览图片之间的显示间隔,例如,将获取的物理分辨率水平方向像素点个数除以10倍预览图片的个数,得出的像素数为预览图片之间的水平显示间隔;同理可得出预览图片之间的竖直显示间隔,以下例举具体数字进行说明,设获取的物理分辨率为640*480,则物理分辨率水平方向像素点个数为640个,竖直方向像素点个数为480个,又设预览图片的个数为10个,则预览图片之间的水平显示间距为物理分辨率水平方向像素点个数(640个)除以10倍预览图片的个数(10个),即预览图片之间的水平显示间距为6.4像素,同理可知预览图片之间的竖直显示间距为4.8像素。Obtain a display interval between preview images according to the obtained physical resolution and the number of preview images. For example, the obtained physical resolution horizontal direction pixel number is divided by 10 times the number of preview images, and the obtained pixel is obtained. The number is the horizontal display interval between the preview images; the same can be used to obtain the vertical display interval between the preview images. The following is a specific number to illustrate, the physical resolution of the acquisition is 640*480, then the physical resolution level The number of pixels in the direction is 640, the number of pixels in the vertical direction is 480, and the number of preview images is 10. The horizontal display interval between preview images is the number of pixels in the horizontal direction of the physical resolution. (640) divided by 10 times the number of preview images (10), that is, the horizontal display spacing between preview images is 6.4 pixels. Similarly, the vertical display spacing between preview images is 4.8 pixels.
优选地,步骤S30包括:Preferably, step S30 includes:
步骤S31,将获取的物理分辨率水平方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片水平方向之间的水平显示间隔;Step S31, dividing the obtained number of physical resolution horizontal direction pixel points by the product of the preset value and the number of preview pictures, and obtaining a horizontal display interval between horizontal directions of the preview picture;
将获取的物理分辨率水平方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片水平方向之间的水平显示间隔,该预设值的范围优选为5至15,优选为10。Dividing the number of pixels in the horizontal direction of the obtained physical resolution by the product of the preset value and the number of preview pictures, and obtaining a horizontal display interval between the horizontal directions of the preview picture, and the range of the preset value is preferably 5 to 15, preferably Is 10.
步骤S32,将获取的物理分辨率竖直方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片竖直方向之间的竖直显示间隔。Step S32, dividing the obtained number of pixels in the vertical direction of the physical resolution by the product of the preset value and the number of preview pictures, and obtaining a vertical display interval between the vertical directions of the preview picture.
将获取的物理分辨率竖直方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片竖直方向之间的竖直显示间隔,该预设值的范围优选为5至15,优选为10。水平显示间隔和竖直显示间隔的获取不分前后,同时获取或者任意先获取水平显示间隔和竖直显示间隔都是可行的。Dividing the number of pixels in the vertical direction of the obtained physical resolution by the product of the preset value and the number of preview pictures, and obtaining a vertical display interval between the vertical directions of the preview image, and the preset value preferably ranges from 5 to 15, preferably 10. The horizontal display interval and the vertical display interval are acquired before and after, and it is feasible to acquire or arbitrarily acquire the horizontal display interval and the vertical display interval.
步骤S40,根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,按照显示尺寸和显示间隔在显示终端显示预览图片。Step S40: Determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display a preview picture on the display terminal according to the display size and the display interval.
根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,例如通过物理分辨率的水平方向宽度减去预设倍数(该预设倍数可以为缩放因子的水平缩放值,或者预览图片的个数等)的显示间隔的水平显示间隔,然后除以缩放因子的水平缩放值,得预览图片的水平显示长度;同理可得出预览图片的竖直显示长度,从而根据水平显示长度和竖直显示长度获取预览图片的显示尺寸,最后根据获取的显示尺寸和显示间隔在显示终端的显示区域中显示预览图片。Determining the display size of the preview image according to the obtained scaling factor, display interval, and physical resolution, for example, by subtracting the preset multiple from the horizontal width of the physical resolution (the preset multiple may be a horizontal scaling value of the scaling factor, or previewing the image) The horizontal display interval of the display interval, and then divided by the horizontal scaling value of the scaling factor to obtain the horizontal display length of the preview image; similarly, the vertical display length of the preview image can be obtained, thereby displaying the length according to the horizontal The vertical display length obtains the display size of the preview picture, and finally displays the preview picture in the display area of the display terminal according to the obtained display size and display interval.
优选地,参照图2,步骤40包括:Preferably, referring to FIG. 2, step 40 includes:
步骤S41,根据缩放因子的水平缩放值、显示间隔的水平显示间隔和物理分辨率水平方向像素点个数,确定预览图片的水平显示长度;Step S41, determining a horizontal display length of the preview picture according to the horizontal scaling value of the scaling factor, the horizontal display interval of the display interval, and the number of pixels in the horizontal direction of the physical resolution;
例如先求得物理分辨率水平方向像素点个数减去缩放因子的水平缩放值倍的显示间隔的水平显示间隔之差,然后将所得差除以缩放因子的水平缩放值,从而计算得出预览图片的水平显示长度。以下以具体数值举例说明该计算过程:设物理分辨率为640*480,水平显示间隔为6.4像素,水平缩放值为4,则先求得物理分辨率水平方向像素点个数减去缩放因子的水平缩放值倍的显示间隔的水平显示间隔之差(即640-6.4*4=614.4),然后将所得差除以缩放因子的水平缩放值(即(614.4/4)=153.6),从而计算得出预览图片的水平显示长度为153.6像素。For example, first obtain the difference between the horizontal display interval of the display interval of the physical resolution horizontal direction pixel minus the horizontal scaling value of the scaling factor, and then divide the obtained difference by the horizontal scaling value of the scaling factor to calculate the preview. The horizontal display length of the picture. The calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the horizontal display interval is 6.4 pixels, and the horizontal scaling value is 4, then the physical resolution horizontal direction pixel number is subtracted from the scaling factor. The horizontal display value doubles the horizontal display interval of the display interval (ie 640-6.4*4=614.4), and then divides the obtained difference by the horizontal scaling value of the scaling factor (ie (614.4/4)=153.6), thus calculating The horizontal display length of the preview image is 153.6 pixels.
步骤S42,根据缩放因子的竖直缩放值、显示间隔的竖直显示间隔和物理分辨率竖直方向像素点个数,确定预览图片的竖直显示长度;Step S42, determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a physical resolution vertical pixel number;
可以先求得物理分辨率竖直方向像素点个数减去缩放因子的竖直缩放值倍的显示间隔的竖直显示间隔之差,然后将所得差除以竖直缩放因子的缩放值,从而计算得出预览图片的竖直显示长度。以下以具体数值举例说明该计算过程:设物理分辨率为640*480,竖直显示间隔为4.8像素,水平缩放值为2,则先求得物理分辨率竖直方向像素点个数减去缩放因子的竖直缩放值倍的显示间隔的竖直显示间隔之差(即480-4.8*2=470.4),然后将所得差除以缩放因子的竖直缩放值(即(470.4/2)=235.2),从而计算得出预览图片的水平显示长度为235.2像素。The difference between the vertical display interval of the display interval of the vertical scaling value of the scaling factor minus the vertical scaling value of the scaling factor may be obtained first, and then the obtained difference is divided by the scaling value of the vertical scaling factor, thereby Calculate the vertical display length of the preview image. The calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the vertical display interval is 4.8 pixels, and the horizontal scaling value is 2, then the physical resolution is first determined by the number of pixels in the vertical direction minus the scaling. The vertical scaling value of the factor is the difference between the vertical display intervals of the display interval (ie 480-4.8*2=470.4), and then the resulting difference is divided by the vertical scaling value of the scaling factor (ie (470.4/2)=235.2 ), so that the horizontal display length of the preview picture is calculated to be 235.2 pixels.
步骤S43,根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Step S43, obtaining a display size of the preview picture according to the determined horizontal display length and the vertical display length;
预览图片的显示尺寸即为水平显示长度和竖直显示长度所限制的矩形区域大小。The display size of the preview image is the size of the rectangular area limited by the horizontal display length and the vertical display length.
步骤S44,按照显示尺寸和显示间隔在显示终端显示预览图片。Step S44, displaying a preview picture on the display terminal according to the display size and the display interval.
将预览图片以获取的显示尺寸显示,并根据显示间隔(水平显示间隔和竖直显示间隔)在显示终端的显示区域进行排列。The preview image is displayed in the display size obtained, and is arranged in the display area of the display terminal according to the display interval (horizontal display interval and vertical display interval).
在本实施例中,通过先获取显示终端的物理分辨率和预览图片的个数,然后根据物理分辨率获取对应的缩放因子;再根据物理分辨率和预览图片的个数获取预览图片之间的显示间隔;最后根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,并将预览图片以显示尺寸和显示间隔在显示终端显示,从而预览图片的显示尺寸能够根据物理分辨率和/或预览图片的个数的变化而进行相对应的调整,以较佳的显示尺寸和显示间隔排列在显示终端的显示区域中,避免了预览图片的像素密度过高或过低。In this embodiment, the physical resolution of the display terminal and the number of preview pictures are first acquired, and then the corresponding scaling factor is obtained according to the physical resolution; and the preview image is obtained according to the physical resolution and the number of preview pictures. Display interval; finally, the display size of the preview image is determined according to the obtained scaling factor, display interval, and physical resolution, and the preview image is displayed on the display terminal at the display size and display interval, so that the display size of the preview image can be based on the physical resolution and / or the corresponding number of preview pictures are adjusted accordingly, and arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
本发明还提供一种图片显示装置,参照图3,在本发明图片显示方法第一实施例中,该图片显示装置包括:第一获取模块10、第二获取模块20、第三获取模块30以及显示模块40。The present invention further provides a picture display device. Referring to FIG. 3, in the first embodiment of the picture display method of the present invention, the picture display device includes: a first acquisition module 10, a second acquisition module 20, a third acquisition module 30, and Display module 40.
其中,第一获取模块10,用于获取显示终端的物理分辨率和预览图片的个数;The first obtaining module 10 is configured to obtain a physical resolution of the display terminal and a number of preview pictures.
显示终端可以为智能电视、电脑显示器等,获取显示终端的物理分辨率和预览图片的个数,该物理分辨率和预览图片的个数可以预存在显示终端的存储器中,当需要获取显示终端的物理分辨率和预览图片的个数时,第一获取模块10直接从显示终端的存储器中读取即可,其中物理分辨率为显示终端的最高可显示的像素数,预览图片的个数是显示终端显示区域需显示的预览图片的个数。The display terminal can be a smart TV, a computer display, etc., and obtain the physical resolution of the display terminal and the number of preview pictures. The physical resolution and the number of preview pictures can be pre-stored in the memory of the display terminal, when the display terminal needs to be acquired. When the physical resolution and the number of preview pictures are used, the first obtaining module 10 can directly read from the memory of the display terminal, wherein the physical resolution is the highest displayable number of pixels of the display terminal, and the number of preview pictures is displayed. The number of preview images to be displayed in the terminal display area.
第二获取模块20,用于获取物理分辨率对应的缩放因子;The second obtaining module 20 is configured to obtain a scaling factor corresponding to the physical resolution.
第二获取模块20根据获取的物理分辨率的水平方向像素点个数来确定显示终端的像素密度等级,并根据像素密度等级获取该像素密度等级对应的缩放因子;或者根据获取的物理分辨率的竖直方向像素点个数来确定显示终端的像素密度等级,并根据像素密度等级获取该像素密度等级对应的缩放因子。The second obtaining module 20 determines the pixel density level of the display terminal according to the number of pixels in the horizontal direction of the acquired physical resolution, and obtains a scaling factor corresponding to the pixel density level according to the pixel density level; or according to the acquired physical resolution. The number of pixels in the vertical direction is used to determine the pixel density level of the display terminal, and the scaling factor corresponding to the pixel density level is obtained according to the pixel density level.
优选地,第二获取模块20,还用于根据物理分辨率中水平方向像素点个数确定物理分辨率对应的缩放因子,其中,缩放因子包括水平缩放值和竖直缩放值。Preferably, the second obtaining module 20 is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor comprises a horizontal scaling value and a vertical scaling value.
通过将物理分辨率中水平像素点个数与预设数值区间进行比较,确定当前物理分辨率的像素密度等级,从而获取该像素密度等级对应的缩放因子,为辅助理解,以下例举将像素密度分级分为三个等级的实施例:By comparing the number of horizontal pixel points in the physical resolution with the preset numerical interval, the pixel density level of the current physical resolution is determined, thereby obtaining a scaling factor corresponding to the pixel density level, and for assisting understanding, the following example will enumerate the pixel density. The classification is divided into three levels of examples:
第二获取模块20包括:The second obtaining module 20 includes:
第一缩放获取单元201,用于当获取的物理分辨率水平方向像素点个数处于第一预设区间时,获取预设的第一缩放因子,其中,第一缩放因子包括第一水平缩放值和第一竖直缩放值;The first scaling acquisition unit 201 is configured to acquire a preset first scaling factor when the acquired physical resolution horizontal direction pixel number is in the first preset interval, where the first scaling factor includes the first horizontal scaling value And a first vertical scaling value;
本发明中提及的水平方向和竖直方向是指:显示终端显示区域若为矩形,则该显示区域的长度方向为水平方向,宽度方向为竖直方向。当获取的物理分辨率水平方向像素点个数处于第一预设区间时,第一缩放获取单元201确定当前显示终端的像素密度等级为低级密度,获取预设的与低级密度对应的第一缩放因子,例如,第一预设区间为[0,640],当获取的物理分辨率为640*480时,则确定当前显示终端的像素密度为低级密度,获取低级密度对应的缩放因子,如第一缩放因子的水平缩放值为4,竖直缩放值为2。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子。The horizontal direction and the vertical direction mentioned in the present invention mean that if the display terminal display area is a rectangle, the length direction of the display area is a horizontal direction and the width direction is a vertical direction. When the obtained physical resolution horizontal direction pixel number is in the first preset interval, the first scaling acquisition unit 201 determines that the pixel density level of the current display terminal is a low density, and acquires a preset first zoom corresponding to the low density. The factor, for example, the first preset interval is [0, 640], and when the acquired physical resolution is 640*480, the pixel density of the current display terminal is determined to be a low-level density, and a scaling factor corresponding to the low-level density is obtained, such as A scaling factor has a horizontal scaling value of 4 and a vertical scaling value of 2. In addition, it is also possible to compare the number of pixels in the vertical direction according to the physical resolution with the preset interval to determine the scaling factor.
第二缩放获取单元202,用于当获取的物理分辨率水平方向像素点个数处于第二预设区间时,获取预设的第二缩放因子,其中,第二缩放因子包括第二水平缩放值和第二竖直缩放值;The second scaling acquisition unit 202 is configured to acquire a preset second scaling factor when the acquired physical resolution horizontal direction pixel number is in the second preset interval, where the second scaling factor includes the second horizontal scaling value And a second vertical scaling value;
当获取的物理分辨率水平方向像素点个数处于第二预设区间时,第二缩放获取单元202确定当前显示终端的像素密度为中级密度,获取预设的与中级密度对应的第二缩放因子,例如,第二预设区间为(640,1920],当获取的物理分辨率为1024*768时,则确定当前显示终端的像素密度等级为中级密度,获取中级密度对应的缩放因子,如第二缩放因子的水平缩放值为8,竖直缩放值为4。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子When the obtained physical resolution horizontal direction pixel number is in the second preset interval, the second scaling acquisition unit 202 determines that the pixel density of the current display terminal is the intermediate density, and acquires a preset second scaling factor corresponding to the intermediate density. For example, the second preset interval is (640, 1920). When the acquired physical resolution is 1024*768, it is determined that the pixel density level of the current display terminal is the intermediate density, and the scaling factor corresponding to the intermediate density is obtained, for example, The horizontal scaling factor of the second scaling factor is 8 and the vertical scaling value is 4. In addition, the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
第三缩放获取单元203,用于当获取的物理分辨率水平方向像素点个数处于第三预设区间时,获取预设的第三缩放因子,其中,第三缩放因子包括第三水平缩放值和第三竖直缩放值。The third scaling acquisition unit 203 is configured to acquire a preset third scaling factor when the acquired physical resolution horizontal direction pixel number is in the third preset interval, where the third scaling factor includes the third horizontal scaling value. And the third vertical scaling value.
当获取的物理分辨率水平方向像素点个数处于第三预设区间时,第三缩放获取单元203确定当前显示终端的像素密度等级为高级密度,获取预设的与高级密度对应的第三缩放因子,例如,第三预设区间为(1920,3840],当获取的物理分辨率为3840*2160时,则确定当前显示终端的像素密度为高级密度,获取高级密度对应的缩放因子,如第三缩放因子的水平缩放值为12,竖直缩放值为6。此外,此处也可以依据物理分辨率竖直方向像素点个数与预设区间进行比较,以确定缩放因子。When the acquired physical resolution horizontal direction pixel number is in the third preset interval, the third scaling acquisition unit 203 determines that the pixel density level of the current display terminal is the advanced density, and acquires a preset third scaling corresponding to the advanced density. The factor, for example, the third preset interval is (1920, 3840). When the acquired physical resolution is 3840*2160, it is determined that the pixel density of the current display terminal is the advanced density, and the scaling factor corresponding to the advanced density is obtained, such as The horizontal scaling factor of the three scaling factors is 12, and the vertical scaling value is 6. In addition, the number of pixels in the vertical direction according to the physical resolution can also be compared with the preset interval to determine the scaling factor.
优选地,水平缩放值与竖直缩放值成预设比例,例如上述例子中,第一缩放因子、第二缩放因子和第三缩放因子的水平缩放值与竖直缩放值比例均为2:1。Preferably, the horizontal scaling value is at a preset ratio to the vertical scaling value. For example, in the above example, the first scaling factor, the second scaling factor, and the third scaling factor have a horizontal scaling value and a vertical scaling value ratio of 2:1. .
第三获取模块30,用于根据获取的物理分辨率和预览图片的个数,获取预览图片之间的显示间隔;The third obtaining module 30 is configured to obtain a display interval between preview images according to the obtained physical resolution and the number of preview pictures;
第三获取模块30根据获取的物理分辨率和预览图片的个数,获取预览图片之间的显示间隔,例如,将获取的物理分辨率水平方向像素点个数除以10倍预览图片的个数,得出的像素数为预览图片之间的水平显示间隔;同理可得出预览图片之间的竖直显示间隔,以下例举具体数字进行说明,设获取的物理分辨率为640*480,则物理分辨率水平方向像素点个数为640个,竖直方向像素点个数为480个,又设预览图片的个数为10个,则预览图片之间的水平显示间距为物理分辨率水平方向像素点个数(640个)除以10倍预览图片的个数(10个),即预览图片之间的水平显示间距为6.4像素,同理可知预览图片之间的竖直显示间距为4.8像素。The third obtaining module 30 obtains the display interval between the preview images according to the obtained physical resolution and the number of preview images, for example, dividing the obtained physical resolution horizontal direction pixel points by 10 times the number of preview images. The number of pixels obtained is the horizontal display interval between preview images; similarly, the vertical display interval between preview images can be obtained. The following is a specific numerical description, and the physical resolution obtained is 640*480. The number of pixels in the horizontal direction of the physical resolution is 640, the number of pixels in the vertical direction is 480, and the number of preview images is 10, and the horizontal display interval between preview images is the physical resolution level. The number of directional pixels (640) divided by the number of preview images (10), that is, the horizontal display spacing between preview images is 6.4 pixels. Similarly, the vertical display spacing between preview images is 4.8. Pixel.
优选地,所述显示间隔包括水平显示间隔和竖直显示间隔,第三获取模块30包括:Preferably, the display interval includes a horizontal display interval and a vertical display interval, and the third obtaining module 30 includes:
水平间隔获取单元31,用于将获取的物理分辨率中水平方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片水平方向之间的水平显示间隔;The horizontal interval obtaining unit 31 is configured to divide the number of pixels in the horizontal direction in the acquired physical resolution by the product of the preset value and the number of preview pictures, and obtain a horizontal display interval between the horizontal directions of the preview picture;
水平间隔获取单元31将获取的物理分辨率水平方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片水平方向之间的水平显示间隔,该预设值的范围优选为5至15,优选为10。The horizontal interval acquiring unit 31 divides the obtained physical resolution horizontal direction pixel number by the product of the preset value and the preview picture number, and obtains a horizontal display interval between the horizontal direction of the preview picture, and the preset value range is preferably 5 to 15, preferably 10.
竖直间隔获取单元32,用于将获取的物理分辨率中竖直方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片竖直方向之间的竖直显示间隔。The vertical interval obtaining unit 32 is configured to divide the number of pixels in the vertical direction in the acquired physical resolution by the product of the preset value and the number of preview pictures, and obtain a vertical display interval between the vertical directions of the preview picture.
竖直间隔获取单元32将获取的物理分辨率竖直方向像素点个数除以预设值与预览图片个数的乘积,获取预览图片竖直方向之间的竖直显示间隔,该预设值的范围优选为5至15,优选为10。水平显示间隔和竖直显示间隔的获取不分前后,同时获取或者任意先获取水平显示间隔和竖直显示间隔都是可行的。The vertical interval obtaining unit 32 divides the obtained physical resolution vertical direction pixel number by the product of the preset value and the preview picture number, and obtains a vertical display interval between the vertical direction of the preview picture, the preset value. The range is preferably from 5 to 15, preferably 10. The horizontal display interval and the vertical display interval are acquired before and after, and it is feasible to acquire or arbitrarily acquire the horizontal display interval and the vertical display interval.
显示模块40,用于根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,按照显示尺寸和显示间隔在显示终端显示预览图片。The display module 40 is configured to determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display the preview picture on the display terminal according to the display size and the display interval.
显示模块40根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,例如通过物理分辨率的水平方向宽度减去预设倍数(该预设倍数可以为缩放因子的水平缩放值,或者预览图片的个数等)的显示间隔的水平显示间隔,然后除以缩放因子的水平缩放值,得预览图片的水平显示长度;同理可得出预览图片的竖直显示长度,从而根据水平显示长度和竖直显示长度获取预览图片的显示尺寸,最后按照获取的显示尺寸和显示间隔在显示终端的显示区域中显示预览图片。The display module 40 determines the display size of the preview picture according to the obtained scaling factor, display interval, and physical resolution, for example, by subtracting the preset multiple from the horizontal direction width of the physical resolution (the preset multiple may be a horizontal scaling value of the scaling factor, Or the horizontal display interval of the display interval of the preview image, and then divided by the horizontal scaling value of the scaling factor to obtain the horizontal display length of the preview image; similarly, the vertical display length of the preview image can be obtained, thereby The display length and the vertical display length are used to obtain the display size of the preview picture, and finally the preview picture is displayed in the display area of the display terminal according to the obtained display size and display interval.
优选地,参照图4,显示模块40包括:Preferably, referring to FIG. 4, the display module 40 includes:
水平长度获取单元41,用于根据缩放因子的水平缩放值、显示间隔的水平显示间隔和物理分辨率水平方向像素点个数,确定预览图片的水平显示长度;a horizontal length obtaining unit 41, configured to determine a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a physical resolution horizontal direction pixel number;
例如先求得物理分辨率水平方向像素点个数减去缩放因子的水平缩放值倍的显示间隔的水平显示间隔之差,然后水平长度获取单元41将所得差除以缩放因子的水平缩放值,从而计算得出预览图片的水平显示长度。以下以具体数值举例说明该计算过程:设物理分辨率为640*480,水平显示间隔为6.4像素,水平缩放值为4,则先求得物理分辨率水平方向像素点个数减去缩放因子的水平缩放值倍的显示间隔的水平显示间隔之差(即640-6.4*4=614.4),然后将所得差除以缩放因子的水平缩放值(即(614.4/4)=153.6),从而计算得出预览图片的水平显示长度为153.6像素。For example, the difference between the horizontal display interval of the display interval of the physical resolution horizontal direction pixel minus the horizontal scaling value of the scaling factor is first obtained, and then the horizontal length obtaining unit 41 divides the obtained difference by the horizontal scaling value of the scaling factor. The horizontal display length of the preview picture is thus calculated. The calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the horizontal display interval is 6.4 pixels, and the horizontal scaling value is 4, then the physical resolution horizontal direction pixel number is subtracted from the scaling factor. The horizontal display value doubles the horizontal display interval of the display interval (ie 640-6.4*4=614.4), and then divides the obtained difference by the horizontal scaling value of the scaling factor (ie (614.4/4)=153.6), thus calculating The horizontal display length of the preview image is 153.6 pixels.
竖直长度获取单元42,用于根据缩放因子的竖直缩放值、显示间隔的竖直显示间隔和物理分辨率竖直方向像素点个数,确定预览图片的竖直显示长度;a vertical length obtaining unit 42 configured to determine a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a physical resolution vertical pixel number;
可以先求得物理分辨率竖直方向像素点个数减去缩放因子的竖直缩放值倍的显示间隔的竖直显示间隔之差,然后竖直长度获取单元42将所得差除以竖直缩放因子的缩放值,从而计算得出预览图片的竖直显示长度。以下以具体数值举例说明该计算过程:设物理分辨率为640*480,竖直显示间隔为4.8像素,水平缩放值为2,则先求得物理分辨率竖直方向像素点个数减去缩放因子的竖直缩放值倍的显示间隔的竖直显示间隔之差(即480-4.8*2=470.4),然后将所得差除以缩放因子的竖直缩放值(即(470.4/2)=235.2),从而计算得出预览图片的水平显示长度为235.2像素。The difference between the vertical display intervals of the display intervals of the vertical resolution value of the scaling factor minus the vertical scaling value of the scaling factor may be first obtained, and then the vertical length acquisition unit 42 divides the obtained difference by the vertical scaling. The scaled value of the factor to calculate the vertical display length of the preview image. The calculation process is exemplified by specific numerical values: the physical resolution is 640*480, the vertical display interval is 4.8 pixels, and the horizontal scaling value is 2, then the physical resolution is first determined by the number of pixels in the vertical direction minus the scaling. The vertical scaling value of the factor is the difference between the vertical display intervals of the display interval (ie 480-4.8*2=470.4), and then the resulting difference is divided by the vertical scaling value of the scaling factor (ie (470.4/2)=235.2 ), so that the horizontal display length of the preview picture is calculated to be 235.2 pixels.
显示尺寸获取单元43,用于根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;a display size obtaining unit 43 configured to obtain a display size of the preview image according to the determined horizontal display length and the vertical display length;
预览图片的显示尺寸即为水平显示长度和竖直显示长度所限制的矩形区域大小。The display size of the preview image is the size of the rectangular area limited by the horizontal display length and the vertical display length.
显示单元44,用于按照显示尺寸和显示间隔在显示终端显示预览图片。The display unit 44 is configured to display a preview picture on the display terminal according to the display size and the display interval.
显示单元44将预览图片以获取的显示尺寸显示,并根据显示间隔(水平显示间隔和竖直显示间隔)在显示终端的显示区域进行排列。The display unit 44 displays the preview picture in the obtained display size, and arranges in the display area of the display terminal according to the display interval (the horizontal display interval and the vertical display interval).
在本实施例中,通过先获取显示终端的物理分辨率和预览图片的个数,然后根据物理分辨率获取对应的缩放因子;再根据物理分辨率和预览图片的个数获取预览图片之间的显示间隔;最后根据获取的缩放因子、显示间隔和物理分辨率确定预览图片的显示尺寸,并将预览图片以显示尺寸和显示间隔在显示终端显示,从而预览图片的显示尺寸能够根据物理分辨率和/或预览图片的个数的变化而进行相对应的调整,以较佳的显示尺寸和显示间隔排列在显示终端的显示区域中,避免了预览图片的像素密度过高或过低。In this embodiment, the physical resolution of the display terminal and the number of preview pictures are first acquired, and then the corresponding scaling factor is obtained according to the physical resolution; and the preview image is obtained according to the physical resolution and the number of preview pictures. Display interval; finally, the display size of the preview image is determined according to the obtained scaling factor, display interval, and physical resolution, and the preview image is displayed on the display terminal at the display size and display interval, so that the display size of the preview image can be based on the physical resolution and / or the corresponding number of preview pictures are adjusted accordingly, and arranged in the display area of the display terminal with a better display size and display interval, thereby avoiding the pixel density of the preview picture being too high or too low.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
Claims (19)
- 一种图片显示方法,其特征在于,所述图片显示方法包括: A picture display method, characterized in that the picture display method comprises:获取显示终端的物理分辨率和预览图片的个数;Obtaining the physical resolution of the display terminal and the number of preview pictures;根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值;Determining, according to the number of pixels in the horizontal direction, the scaling factor corresponding to the physical resolution, wherein the scaling factor comprises a horizontal scaling value and a vertical scaling value;将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔,其中所述显示间隔包括水平显示间隔和竖直显示间隔;And obtaining a horizontal display interval between the horizontal direction of the preview image by dividing the number of the horizontal direction pixel points in the obtained physical resolution by a product of the preset value and the number of the preview pictures, wherein the display interval includes Horizontal display interval and vertical display interval;将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔;And dividing the obtained number of pixels in the vertical direction in the physical resolution by the product of the preset value and the number of the preview images, and acquiring a vertical display interval between the vertical directions of the preview image;根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和所述显示间隔在所述显示终端显示所述预览图片。Determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal according to the display size and the display interval.
- 如权利要求1所述的图片显示方法,其特征在于,所述水平缩放值与所述竖直缩放值成预设比例。The picture display method according to claim 1, wherein the horizontal scaling value is proportional to the vertical scaling value.
- 如权利要求2所述的图片显示方法,其特征在于,所述根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并将所述预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤包括:The picture display method according to claim 2, wherein the determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture in the display size and The steps of displaying the display interval on the display terminal include:根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;Determining a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixel points in the physical resolution horizontal direction;根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;Determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction;根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Obtaining a display size of the preview image according to the determined horizontal display length and the vertical display length;按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。The preview picture is displayed on the display terminal in accordance with the display size and display interval.
- 如权利要求1所述的图片显示方法,其特征在于,所述根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并将所述预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤包括:The picture display method according to claim 1, wherein the determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture in the display size and The steps of displaying the display interval on the display terminal include:根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;Determining a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixel points in the physical resolution horizontal direction;根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;Determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction;根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Obtaining a display size of the preview image according to the determined horizontal display length and the vertical display length;按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。The preview picture is displayed on the display terminal in accordance with the display size and display interval.
- 一种图片显示方法,其特征在于,所述图片显示方法包括:A picture display method, characterized in that the picture display method comprises:获取显示终端的物理分辨率和预览图片的个数;Obtaining the physical resolution of the display terminal and the number of preview pictures;获取所述物理分辨率对应的缩放因子;Obtaining a scaling factor corresponding to the physical resolution;根据获取的所述物理分辨率和所述预览图片的个数,获取所述预览图片之间的显示间隔;Obtaining a display interval between the preview pictures according to the obtained physical resolution and the number of the preview pictures;根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和所述显示间隔在所述显示终端显示所述预览图片。Determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture on the display terminal according to the display size and the display interval.
- 如权利要求5所述的图片显示方法,其特征在于,所述获取所述物理分辨率对应的缩放因子的步骤包括:The picture display method according to claim 5, wherein the step of acquiring the scaling factor corresponding to the physical resolution comprises:根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。The scaling factor corresponding to the physical resolution is determined according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor includes a horizontal scaling value and a vertical scaling value.
- 如权利要求6所述的图片显示方法,其特征在于,所述水平缩放值与所述竖直缩放值成预设比例。The picture display method according to claim 6, wherein the horizontal scaling value is proportional to the vertical scaling value.
- 如权利要求5所述的图片显示方法,其特征在于,所述显示间隔包括水平显示间隔和竖直显示间隔,所述根据获取的所述物理分辨率和预览图片的个数,获取预览图片之间的显示间隔的步骤包括:The picture display method according to claim 5, wherein the display interval comprises a horizontal display interval and a vertical display interval, and the preview image is obtained according to the obtained physical resolution and the number of preview pictures. The steps of the display interval between:将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔;And dividing the obtained number of horizontal direction pixels in the physical resolution by a product of a preset value and the number of preview pictures, and acquiring a horizontal display interval between horizontal directions of the preview picture;将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔。And dividing the obtained number of pixels in the vertical direction in the physical resolution by the product of the preset value and the number of the preview pictures, and obtaining a vertical display interval between the vertical directions of the preview picture.
- 如权利要求5所述的图片显示方法,其特征在于,所述根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并将所述预览图片以所述显示尺寸和显示间隔在显示终端显示的步骤包括:The picture display method according to claim 5, wherein the determining a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and displaying the preview picture in the display size and The steps of displaying the display interval on the display terminal include:根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;Determining a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixel points in the physical resolution horizontal direction;根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;Determining a vertical display length of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction;根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;Obtaining a display size of the preview image according to the determined horizontal display length and the vertical display length;按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。The preview picture is displayed on the display terminal in accordance with the display size and display interval.
- 如权利要求9所述的图片显示方法,其特征在于,所述获取所述物理分辨率对应的缩放因子的步骤包括:The picture display method according to claim 9, wherein the step of acquiring the scaling factor corresponding to the physical resolution comprises:根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。The scaling factor corresponding to the physical resolution is determined according to the number of pixels in the horizontal direction in the physical resolution, wherein the scaling factor includes a horizontal scaling value and a vertical scaling value.
- 如权利要求10所述的图片显示方法,其特征在于,所述水平缩放值与所述竖直缩放值成预设比例。The picture display method according to claim 10, wherein said horizontal scaling value is at a preset ratio to said vertical scaling value.
- 一种图片显示装置,其特征在于,所述图片显示装置包括:A picture display device, wherein the picture display device comprises:第一获取模块,用于获取显示终端的物理分辨率和预览图片的个数;a first acquiring module, configured to acquire a physical resolution of the display terminal and a number of preview pictures;第二获取模块,用于获取所述物理分辨率对应的缩放因子;a second acquiring module, configured to acquire a scaling factor corresponding to the physical resolution;第三获取模块,用于根据获取的所述物理分辨率和所述预览图片的个数,获取所述预览图片之间的显示间隔;a third obtaining module, configured to acquire a display interval between the preview images according to the obtained physical resolution and the number of the preview pictures;显示模块,用于根据获取的缩放因子、显示间隔和物理分辨率确定所述预览图片的显示尺寸,并按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。And a display module, configured to determine a display size of the preview picture according to the acquired scaling factor, display interval, and physical resolution, and display the preview picture on the display terminal according to the display size and the display interval.
- 如权利要求12所述的图片显示装置,其特征在于,所述第二获取模块,还用于根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。The picture display device according to claim 12, wherein the second obtaining module is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in a horizontal direction in the physical resolution, wherein The scaling factor includes a horizontal scaling value and a vertical scaling value.
- 如权利要求13所述的图片显示装置,其特征在于,所述水平缩放值与所述竖直缩放值成预设比例。A picture display device according to claim 13, wherein said horizontal scaling value is at a preset ratio to said vertical scaling value.
- 如权利要求12所述的图片显示装置,其特征在于,所述显示间隔包括水平显示间隔和竖直显示间隔,所述第三获取模块包括:The picture display device according to claim 12, wherein the display interval comprises a horizontal display interval and a vertical display interval, and the third acquisition module comprises:水平间隔获取单元,用于将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔;a horizontal interval acquiring unit, configured to divide the number of pixels in the horizontal direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a horizontal display interval between horizontal directions of the preview picture ;竖直间隔获取单元,用于将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔。And a vertical interval acquiring unit, configured to divide the number of pixels in the vertical direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a vertical direction between the preview pictures Vertical display interval.
- 如权利要求12所述的图片显示装置,其特征在于,所述显示模块包括:The picture display device of claim 12, wherein the display module comprises:水平长度获取单元,用于根据所述缩放因子的水平缩放值、所述显示间隔的水平显示间隔和所述物理分辨率水平方向像素点个数,确定所述预览图片的水平显示长度;a horizontal length obtaining unit, configured to determine a horizontal display length of the preview picture according to a horizontal scaling value of the scaling factor, a horizontal display interval of the display interval, and a number of pixels in the physical resolution horizontal direction;竖直长度获取单元,用于根据所述缩放因子的竖直缩放值、所述显示间隔的竖直显示间隔和所述物理分辨率竖直方向像素点个数,确定所述预览图片的竖直显示长度;a vertical length obtaining unit, configured to determine a verticality of the preview picture according to a vertical scaling value of the scaling factor, a vertical display interval of the display interval, and a number of pixels in the physical resolution vertical direction Display length显示尺寸获取单元,用于根据确定的水平显示长度和竖直显示长度获取预览图片的显示尺寸;a display size obtaining unit, configured to obtain a display size of the preview image according to the determined horizontal display length and the vertical display length;显示单元,用于按照所述显示尺寸和显示间隔在所述显示终端显示所述预览图片。And a display unit, configured to display the preview picture on the display terminal according to the display size and the display interval.
- 如权利要求16所述的图片显示装置,其特征在于,所述第二获取模块,还用于根据所述物理分辨率中水平方向像素点个数确定所述物理分辨率对应的缩放因子,其中,所述缩放因子包括水平缩放值和竖直缩放值。The picture display device according to claim 16, wherein the second obtaining module is further configured to determine a scaling factor corresponding to the physical resolution according to the number of pixels in a horizontal direction in the physical resolution, wherein The scaling factor includes a horizontal scaling value and a vertical scaling value.
- 如权利要求17所述的图片显示装置,其特征在于,所述水平缩放值与所述竖直缩放值成预设比例。A picture display device according to claim 17, wherein said horizontal scaling value is at a preset ratio to said vertical scaling value.
- 如权利要求16所述的图片显示装置,其特征在于,所述显示间隔包括水平显示间隔和竖直显示间隔,所述第三获取模块包括:The picture display device according to claim 16, wherein the display interval comprises a horizontal display interval and a vertical display interval, and the third obtaining module comprises:水平间隔获取单元,用于将获取的所述物理分辨率中水平方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片水平方向之间的水平显示间隔;a horizontal interval acquiring unit, configured to divide the number of pixels in the horizontal direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a horizontal display interval between horizontal directions of the preview picture ;竖直间隔获取单元,用于将获取的所述物理分辨率中竖直方向像素点个数除以预设值与所述预览图片个数的乘积,获取所述预览图片竖直方向之间的竖直显示间隔。And a vertical interval acquiring unit, configured to divide the number of pixels in the vertical direction in the obtained physical resolution by a product of a preset value and the number of the preview pictures, and obtain a vertical direction between the preview pictures Vertical display interval.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955687.9A CN105578268B (en) | 2015-12-17 | 2015-12-17 | Image display method and device |
CN201510955687.9 | 2015-12-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017101259A1 true WO2017101259A1 (en) | 2017-06-22 |
Family
ID=55887856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084201 WO2017101259A1 (en) | 2015-12-17 | 2016-05-31 | 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 (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
US20020044156A1 (en) * | 2000-10-17 | 2002-04-18 | International Business Machines Corporation | Computer apparatus, display apparatus, display control apparatus, storage medium, program transmission apparatus, and display control method |
US20050012763A1 (en) * | 2001-09-18 | 2005-01-20 | International Business Machines Corporation | Display controller |
CN1858843A (en) * | 2005-08-12 | 2006-11-08 | 深圳华为移动通信技术有限公司 | Self adaptive pantographic system and its method for image in mobile terminal |
CN101325040A (en) * | 2008-07-16 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal |
CN102063258A (en) * | 2010-12-31 | 2011-05-18 | 山东大学 | Self-adaptive display method for image on display terminals with different sizes |
US20130117659A1 (en) * | 2011-11-09 | 2013-05-09 | Microsoft Corporation | Dynamic Server-Side Image Sizing For Fidelity Improvements |
CN105578268A (en) * | 2015-12-17 | 2016-05-11 | 深圳Tcl数字技术有限公司 | Image display method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08137658A (en) * | 1994-11-15 | 1996-05-31 | Hitachi Ltd | Information processing unit |
CN100481000C (en) * | 2004-09-08 | 2009-04-22 | 英业达股份有限公司 | Window and icon set system and method |
CN103186638B (en) * | 2011-12-31 | 2015-12-02 | 北大方正集团有限公司 | A kind of picture layout method and device |
CN104714714A (en) * | 2013-12-11 | 2015-06-17 | 酷吧时代科技(北京)有限公司 | Mobile terminal desktop control method and device and mobile terminal |
CN103927143B (en) * | 2014-04-04 | 2017-04-19 | 福建星网视易信息系统有限公司 | Method and device for adaptively adjusting interface layout on basis of screen resolution |
-
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 (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
US20020044156A1 (en) * | 2000-10-17 | 2002-04-18 | International Business Machines Corporation | Computer apparatus, display apparatus, display control apparatus, storage medium, program transmission apparatus, and display control method |
US20050012763A1 (en) * | 2001-09-18 | 2005-01-20 | International Business Machines Corporation | Display controller |
CN1858843A (en) * | 2005-08-12 | 2006-11-08 | 深圳华为移动通信技术有限公司 | Self adaptive pantographic system and its method for image in mobile terminal |
CN101325040A (en) * | 2008-07-16 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal |
CN102063258A (en) * | 2010-12-31 | 2011-05-18 | 山东大学 | Self-adaptive display method for image on display terminals with different sizes |
US20130117659A1 (en) * | 2011-11-09 | 2013-05-09 | Microsoft Corporation | Dynamic Server-Side Image Sizing For Fidelity Improvements |
CN105578268A (en) * | 2015-12-17 | 2016-05-11 | 深圳Tcl数字技术有限公司 | Image display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105578268B (en) | 2019-03-01 |
CN105578268A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018223418A1 (en) | Display panel testing method, device and system | |
WO2018223602A1 (en) | Display terminal, frame contrast enhancement method, and computer readable storage medium | |
WO2017148035A1 (en) | Image processing method and apparatus | |
WO2017201893A1 (en) | Video processing method and device | |
WO2018103187A1 (en) | Monitor image formation method and system for monitoring device | |
WO2017190452A1 (en) | Backlight self-adaptive regulation method and apparatus | |
WO2013097487A1 (en) | Method, video terminal and system for implementing simple air mouse | |
WO2016091011A1 (en) | Subtitle switching method and device | |
WO2017005066A1 (en) | Method and apparatus for recording audio and video synchronization timestamp | |
WO2018113187A1 (en) | Display control method and display device | |
WO2017121066A1 (en) | Application program display method and system | |
WO2017005062A1 (en) | Image frame playing method and device | |
WO2017107384A1 (en) | Image display method of liquid crystal display, and liquid crystal display | |
WO2015149588A1 (en) | Method for recognizing operation mode of user on handheld device, and handheld device | |
WO2018113404A1 (en) | Driving method and driving unit for display device, and display device | |
WO2018126888A1 (en) | Method and apparatus for configuring a shortcut for a television function | |
WO2014035113A1 (en) | Method of controlling touch function and an electronic device thereof | |
WO2017206368A1 (en) | High-dynamic range picture switching method and apparatus | |
EP3850612A1 (en) | Display apparatus and control method thereof | |
WO2017088427A1 (en) | Audio output control method and device | |
WO2013033923A1 (en) | Liquid crystal display panel and voltage control method thereof | |
WO2017041537A1 (en) | Video frame rate adjustment method and apparatus | |
WO2017036208A1 (en) | Method and system for extracting information in display interface | |
WO2018058831A1 (en) | Display screen backlight brightness adjustment method and apparatus | |
WO2016101252A1 (en) | Channel information display method and apparatus for intelligent television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16874323 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.10.2018) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16874323 Country of ref document: EP Kind code of ref document: A1 |