CN105306836A - Image displaying method and device - Google Patents

Image displaying method and device Download PDF

Info

Publication number
CN105306836A
CN105306836A CN201510695522.2A CN201510695522A CN105306836A CN 105306836 A CN105306836 A CN 105306836A CN 201510695522 A CN201510695522 A CN 201510695522A CN 105306836 A CN105306836 A CN 105306836A
Authority
CN
China
Prior art keywords
thumbnail
resolution
preset multiple
original image
amplifieroperation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510695522.2A
Other languages
Chinese (zh)
Other versions
CN105306836B (en
Inventor
贾丽
闫进兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Founder Holdings Development Co ltd
Founder Apabi Technology Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Apabi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Apabi Technology Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201510695522.2A priority Critical patent/CN105306836B/en
Publication of CN105306836A publication Critical patent/CN105306836A/en
Application granted granted Critical
Publication of CN105306836B publication Critical patent/CN105306836B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an image displaying method and device. The method comprises the following steps: loading a thumbnail of an original image, wherein a resolution of the thumbnail is lower than a resolution of the original image; displaying the thumbnail; when a magnification operation specific to the thumbnail is received, monitoring whether the magnification operation is terminated or not; and if the magnification operation is not terminated, generating another thumbnail of the original image according to a preset factor once a current magnification factor reaches the preset factor, loading the other thumbnail, and displaying the other thumbnail, wherein a resolution of a currently-loaded thumbnail is higher than a resolution of a previous thumbnail.

Description

A kind of method for displaying image and device
Technical field
The present invention relates to image processing field, be specifically related to a kind of method for displaying image and device.
Background technology
Image resolution ratio refers to the amount of information stored in image, and being has how many pixels in per inch image.The image that resolution is higher is more clear, but data volume is comparatively large, and view data can be stored in the hard disk of equipment, when showing image, need from hard disk reads image data and by read Data import in the internal memory of equipment, then just can fast displaying images content.For the equipment of the such as image real time transfer such as mobile phone, panel computer poor-performing, the image that display data volume is larger can be restricted usually.
Because smart machine does not possess independently video memory and limited memory, if directly original large image is loaded in internal memory, the resources such as too much device memory will be taken, in order to solve the problem taking resource, existing method is that first to generate a data volume according to raw image data less, the thumbnail that resolution is lower, then only this thumbnail is loaded in internal memory, user can check overview according to thumbnail, if user needs to check more details, original large image is then still needed to be loaded in internal memory, this loading procedure time is longer, and the normal operation of other softwares or process may be affected thus.
Summary of the invention
Therefore, the technical problem to be solved in the present invention is to overcome in prior art the problem of resource waste shown in the larger image process of data volume.
For this reason, the embodiment of the present invention provides a kind of method for displaying image, and comprise the steps: the thumbnail loading original image, the resolution of described thumbnail is less than described original image; Show described thumbnail; When receiving the amplifieroperation to described thumbnail, monitoring described amplifieroperation and whether stopping; If described amplifieroperation does not stop, then when current multiplication factor reaches preset multiple, another thumbnail of described original image is generated according to described preset multiple, load another thumbnail described, and display another thumbnail described, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.
Preferably, when described amplifieroperation stops, another thumbnail of described original image is generated according to current multiplication factor.
Preferably, before another thumbnail described in described loading, also comprise: the thumbnail discharging current loading.
Preferably, described preset multiple has multiple.
Preferably, the pass of described multiple preset multiple is Sn=(Sn-1 – Sn-2) * m+Sn-1, wherein n >=2, and Sn is next preset multiple, and Sn-1 is last preset multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.
Correspondingly, the embodiment of the present invention also provides a kind of image display device, comprising: loading unit, and for loading the thumbnail of original image, the resolution of described thumbnail is less than described original image; Display unit, for showing described thumbnail; Whether monitoring means, for when receiving the amplifieroperation to described thumbnail, monitoring described amplifieroperation and stopping; Refresh unit, for when described amplifieroperation does not stop, when current multiplication factor reaches preset multiple, another thumbnail of described original image is generated according to described preset multiple, load another thumbnail described, and display another thumbnail described, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.
Preferably, also comprise: the second refresh unit, for when described amplifieroperation stops, generate another thumbnail of described original image according to current multiplication factor.
Preferably, also comprise: releasing unit, for before another thumbnail described in described loading, discharge the thumbnail of current loading.
Preferably, described preset multiple has multiple.
Preferably, the pass of described multiple preset multiple is Sn=(Sn-1 – Sn-2) * m+Sn-1, wherein n >=2, and Sn is next preset multiple, and Sn-1 is last preset multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.
Technical solution of the present invention, tool has the following advantages:
The method for displaying image provided according to the embodiment of the present invention and device, user can by generating according to original image at first, to load and the thumbnail shown checks the overview of original image, and can amplify the carrying out of initial thumbnail, in amplification process, whether the current amplifieroperation of Real-Time Monitoring reaches default multiplication factor, regenerate at once when reaching default multiplication factor, load another thumbnail that also display resolution is higher, internal memory can be saved thus when showing image, the resources such as video memory, and make user see the thumbnail that multiple resolution is different successively in the process be exaggerated at thumbnail.
There is multiple preset multiple in technical solution of the present invention, and can, when multiplication factor is less, make the refreshing frequency of thumbnail higher; When multiplication factor is larger, make the refreshing frequency of thumbnail lower, can economize on resources expense thus further, and improve the Experience Degree of user further.
Accompanying drawing explanation
In order to be illustrated more clearly in the specific embodiment of the invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the high-definition image display packing provided according to the embodiment of the present invention;
Fig. 2 is an image scaling and display situation schematic diagram;
Fig. 3 is the Organization Chart of the high-definition image display unit provided according to the embodiment of the present invention.
Embodiment
Be clearly and completely described technical scheme of the present invention below in conjunction with accompanying drawing, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Originally execute example and provide a kind of method for displaying image, the method can perform in the intelligent terminal (such as smart mobile phone, panel computer) with Presentation Function and data processing function, and as shown in Figure 1, the method comprises the steps:
S1, load the thumbnail of original image, the resolution of this thumbnail is less than original image, and above-mentioned original image can be the high-definition image that data volume is larger.Fig. 2 shows the size of original image and the relation of intelligent terminal display screen, the size of original image 21 is greater than (comprising physical size and resolution) size of display screen 22, original image 21 can be stored in the storage card (hard disk such as embedded memory card, external storage card) of intelligent terminal, in order to economize on resources and be convenient to check, first a breviary Figure 23 can be generated according to raw image data, breviary Figure 23 is preferably dimensioned to be the indication range being less than or equal to display screen 22, is then loaded in mobile phone EMS memory by this breviary Figure 23; For the terminal with display card, can be that this thumbnail is loaded in video memory.
S2, shows above-mentioned breviary Figure 23, and now user can understand the overview of original image by thumbnail, if user needs to check details, can carry out amplifieroperation, such as, on the touch-screen of terminal, carry out amplifying gesture, this operation is a kind of time-continuing process.
S3, when receiving the amplifieroperation to above-mentioned breviary Figure 23, whether monitoring amplifieroperation stops, if stop, performs step S6, if do not stop, performs step S4;
S4, judges whether current multiplication factor reaches preset multiple, if do not reached, returns step S4 and continues to judge, if reached, perform step S5.
S5, when current multiplication factor reaches preset multiple, then generate another thumbnail of original image according to preset multiple, and load and show another thumbnail above-mentioned, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.As a preferred version, after a up-to-date thumbnail is loaded, previous thumbnail can be discharged from internal memory, device resource can be saved further thus.
The such as multiple of above-mentioned breviary Figure 23 is 1 times, first preset multiple is 1.5 times, then when thumbnail to be amplified 1.5 times by dissolute operation, generate according to raw image data, load (being loaded in internal memory or video memory) and show second breviary Figure 24, the resolution of second breviary Figure 24 is 1.5 times of the resolution of breviary Figure 23, user can see the more details of original image by second breviary Figure 24, and now can discharge breviary Figure 23.Size due to second breviary Figure 24 may be greater than the size of display screen 22, so the side-play amount that can cause according to amplifieroperation shows a part of second breviary Figure 24, user can move second breviary Figure 24 to check the part that acquiescence does not show.
Above-mentioned preset multiple is preferably multiple, and multiple preset multiple is determined before can generating thumbnail.Step-length between preset multiple will affect image refreshing (generate, load and display thumbnail) frequency, the less then refreshing frequency of step-length is higher, user can be made thus to see the thumbnail that more resolution is different successively, but also can increase resource overhead; The larger then resource overhead of step-length is less, but can reduce user experience.
According to the method for displaying image that the embodiment of the present invention provides, user can by generating according to original image at first, to load and the thumbnail shown checks the overview of original image, and can amplify the carrying out of initial thumbnail, in amplification process, whether the current amplifieroperation of Real-Time Monitoring reaches default multiplication factor, regenerate at once when reaching default multiplication factor, load another thumbnail that also display resolution is higher, internal memory can be saved thus when showing image, the resources such as video memory, and make user see the thumbnail that multiple resolution is different successively in the process be exaggerated at thumbnail.
S6, generates another thumbnail of above-mentioned original image according to current multiplication factor, such as, when amplifieroperation stops be 1.8 times to the multiplication factor of above-mentioned breviary Figure 23, then generate the final breviary Figure 25 being of a size of 1.8 times of breviary Figure 23.Final thumbnail can be accurately generated thus according to multiplication factor during user's shut-down operation.
As a preferred scheme, the relation of above-mentioned multiple preset multiple can be S n=(S n-1– S n-2) * m+S n-1, wherein n>=2, S nfor next preset multiple, S n-1for last preset multiple, S 1=S 0+ N, S 0=1, N, m are positive number, 0≤N≤1, m>=1.
Particularly, S 0the multiple of initial thumbnail, S 1s nfor n preset multiple (S 1s nall be greater than 1), N is conversion difference, and m is conversion coefficient.Such as N=0.2, m=2, then S 1=1.2, S 2=1.6, S 3=2.4, namely when the multiplication factor indicated by amplifieroperation reaches 1.2, then generate another thumbnail that resolution is 1.2 of initial thumbnail, when the multiplication factor indicated by amplifieroperation reaches 1.6, then generate another thumbnail that resolution is 1.6 of initial thumbnail, when the multiplication factor indicated by amplifieroperation reaches 2.4, then generate another thumbnail of 2.4 times that a resolution is initial thumbnail.
According to multiple preset multiple of above-mentioned preferred version, can, when multiplication factor is less, make the refreshing frequency of thumbnail higher; When multiplication factor is larger, make the refreshing frequency of thumbnail lower, can economize on resources expense thus further, and improve the Experience Degree of user further.
An alternative embodiment of the invention also provides a kind of image display device, and this device comprises as shown in Figure 3:
Loading unit 31, for loading the thumbnail of original image, the resolution of described thumbnail is less than described original image;
Display unit 32, for showing described thumbnail;
Whether monitoring means 33, for when receiving the amplifieroperation to described thumbnail, monitoring described amplifieroperation and stopping;
Refresh unit 34, for when described amplifieroperation does not stop, when current multiplication factor reaches preset multiple, another thumbnail of described original image is generated according to described preset multiple, load another thumbnail described, and display another thumbnail described, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.Preferably, described preset multiple can be multiple.
According to the image display device that the embodiment of the present invention provides, user can by generating according to original image at first, to load and the thumbnail shown checks the overview of original image, and can amplify the carrying out of initial thumbnail, in amplification process, whether the current amplifieroperation of Real-Time Monitoring reaches default multiplication factor, regenerate at once when reaching default multiplication factor, load another thumbnail that also display resolution is higher, internal memory can be saved thus when showing image, the resources such as video memory, and make user see the thumbnail that multiple resolution is different successively in the process be exaggerated at thumbnail.
Preferably, said apparatus also comprises: the second refresh unit 35, for when described amplifieroperation stops, generates another thumbnail of described original image according to current multiplication factor.Final thumbnail can be accurately generated thus according to multiplication factor during user's shut-down operation.
Preferably, said apparatus also comprises: releasing unit 36, and for after another thumbnail described in described loading, the last thumbnail that release loads, can save device resource thus further.
Preferably, the pass of described multiple preset multiple is Sn=(Sn-1 – Sn-2) * m+Sn-1, wherein n >=2, and Sn is next preset multiple, and Sn-1 is last preset multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.According to multiple preset multiple of above-mentioned preferred version, can, when multiplication factor is less, make the refreshing frequency of thumbnail higher; When multiplication factor is larger, make the refreshing frequency of thumbnail lower, can economize on resources expense thus further, and improve the Experience Degree of user further.
Obviously, above-described embodiment is only for clearly example being described, and the restriction not to execution mode.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all execution modes.And thus the apparent change of extending out or variation be still among the protection range of the invention.

Claims (10)

1. a method for displaying image, is characterized in that, comprises the steps:
Load the thumbnail of original image, the resolution of described thumbnail is less than described original image;
Show described thumbnail;
When receiving the amplifieroperation to described thumbnail, monitoring described amplifieroperation and whether stopping;
If described amplifieroperation does not stop, then when current multiplication factor reaches preset multiple, another thumbnail of described original image is generated according to described preset multiple, load another thumbnail described, and display another thumbnail described, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.
2. method for displaying image according to claim 1, is characterized in that, when described amplifieroperation stops, generates another thumbnail of described original image according to current multiplication factor.
3. method for displaying image according to claim 1 and 2, is characterized in that, after another thumbnail described in described loading, also comprises: the last thumbnail that release loads.
4. the method for displaying image according to any one of claim 1-3, is characterized in that, described preset multiple has multiple.
5. method for displaying image according to claim 4, it is characterized in that, the pass of described multiple preset multiple is Sn=(Sn-1 – Sn-2) * m+Sn-1, wherein n >=2, and Sn is next preset multiple, Sn-1 is last preset multiple, S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.
6. an image display device, is characterized in that, comprising:
Loading unit, for loading the thumbnail of original image, the resolution of described thumbnail is less than described original image;
Display unit, for showing described thumbnail;
Whether monitoring means, for when receiving the amplifieroperation to described thumbnail, monitoring described amplifieroperation and stopping;
Refresh unit, for when described amplifieroperation does not stop, when current multiplication factor reaches preset multiple, another thumbnail of described original image is generated according to described preset multiple, load another thumbnail described, and display another thumbnail described, the resolution of the thumbnail of wherein current loading is greater than the resolution of last thumbnail.
7. image display device according to claim 6, is characterized in that, also comprises: the second refresh unit, for when described amplifieroperation stops, generates another thumbnail of described original image according to current multiplication factor.
8. the image display device according to claim 6 or 7, is characterized in that, also comprises: releasing unit, for after another thumbnail described in described loading, and the last thumbnail that release loads.
9. the image display device according to any one of claim 6-8, is characterized in that, described preset multiple has multiple.
10. image display device according to claim 9, it is characterized in that, the pass of described multiple preset multiple is Sn=(Sn-1 – Sn-2) * m+Sn-1, wherein n >=2, and Sn is next preset multiple, Sn-1 is last preset multiple, S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.
CN201510695522.2A 2015-10-23 2015-10-23 A kind of image display method and apparatus Expired - Fee Related CN105306836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695522.2A CN105306836B (en) 2015-10-23 2015-10-23 A kind of image display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695522.2A CN105306836B (en) 2015-10-23 2015-10-23 A kind of image display method and apparatus

Publications (2)

Publication Number Publication Date
CN105306836A true CN105306836A (en) 2016-02-03
CN105306836B CN105306836B (en) 2019-04-30

Family

ID=55203539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695522.2A Expired - Fee Related CN105306836B (en) 2015-10-23 2015-10-23 A kind of image display method and apparatus

Country Status (1)

Country Link
CN (1) CN105306836B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463306A (en) * 2017-07-12 2017-12-12 北京潘达互娱科技有限公司 Method for displaying image and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020140951A1 (en) * 2001-03-28 2002-10-03 Kaname Nihei Method and program for producing a reduced image
CN1801217A (en) * 2005-01-07 2006-07-12 大同股份有限公司 Display picture zooming method applied for portable electronic apparatus
CN101409792A (en) * 2008-11-10 2009-04-15 深圳市迅雷网络技术有限公司 Image-processing method and apparatus
CN102821067A (en) * 2012-08-17 2012-12-12 上海量明科技发展有限公司 Sound effect conversion image loading method in real-time communication, client and system
CN102999599A (en) * 2012-11-19 2013-03-27 北京奇虎科技有限公司 Method and device for displaying picture
CN103176712A (en) * 2013-03-08 2013-06-26 北京小米科技有限责任公司 Image magnification display method and device
CN103702217A (en) * 2013-12-09 2014-04-02 乐视网信息技术(北京)股份有限公司 Image showing method and device
WO2014133340A1 (en) * 2013-02-28 2014-09-04 주식회사 인트로메딕 High dynamic range image viewer and method for processing image thereof
CN104869324A (en) * 2015-05-18 2015-08-26 成都平行视野科技有限公司 Image processing method and image processing system based on image software of intelligent equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020140951A1 (en) * 2001-03-28 2002-10-03 Kaname Nihei Method and program for producing a reduced image
CN1801217A (en) * 2005-01-07 2006-07-12 大同股份有限公司 Display picture zooming method applied for portable electronic apparatus
CN101409792A (en) * 2008-11-10 2009-04-15 深圳市迅雷网络技术有限公司 Image-processing method and apparatus
CN102821067A (en) * 2012-08-17 2012-12-12 上海量明科技发展有限公司 Sound effect conversion image loading method in real-time communication, client and system
CN102999599A (en) * 2012-11-19 2013-03-27 北京奇虎科技有限公司 Method and device for displaying picture
WO2014133340A1 (en) * 2013-02-28 2014-09-04 주식회사 인트로메딕 High dynamic range image viewer and method for processing image thereof
CN103176712A (en) * 2013-03-08 2013-06-26 北京小米科技有限责任公司 Image magnification display method and device
CN103702217A (en) * 2013-12-09 2014-04-02 乐视网信息技术(北京)股份有限公司 Image showing method and device
CN104869324A (en) * 2015-05-18 2015-08-26 成都平行视野科技有限公司 Image processing method and image processing system based on image software of intelligent equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463306A (en) * 2017-07-12 2017-12-12 北京潘达互娱科技有限公司 Method for displaying image and device

Also Published As

Publication number Publication date
CN105306836B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN102368779B (en) Supersized image loading and displaying method used for mobile internet device
US8812560B2 (en) Dynamically scalable modes
CN112055244B (en) Image acquisition method and device, server and electronic equipment
CN103984781A (en) Webpage loading method and device
CN104267801A (en) Power consumption and bandwidth reducing method and system
WO2016144549A1 (en) Dynamic video capture rate control
CN111816109B (en) Display method and device and display equipment
US20230362394A1 (en) Image compression method and compression device
CN103914213A (en) Method and device for eliminating page dithering
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN111491169B (en) Digital image compression method, device, equipment and medium
CN112711387A (en) Method and device for adjusting capacity of buffer area, electronic equipment and readable storage medium
US20180275771A1 (en) Electronic device with application management and system and method for selection of applications in device
CN105023285A (en) Image splitting method and device, image loading method and device
US20160358591A1 (en) Timing controller of display apparatus and operation method thereof
CN105306836A (en) Image displaying method and device
CN109584769A (en) Control method, display panel and the storage medium of display panel
CN102148754A (en) Loading method and device for FPGA (field programmable gate array) logic editions
CN107526814B (en) Mobile terminal file storage method and device
CN104918073A (en) Image display method and terminal
CN104581344A (en) Menu interface display method and digital TV receiving terminal
CN101877210A (en) Driving device and driving method of LCD
EP3522530A1 (en) System performance improvement method, system performance improvement device and display device
CN113703653A (en) Image processing method, device, equipment and computer readable storage medium
WO2020258287A1 (en) Image correction method, image correction apparatus, and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220713

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: FOUNDER APABI TECHNOLOGY Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190430