CN105306836B - A kind of image display method and apparatus - Google Patents

A kind of image display method and apparatus Download PDF

Info

Publication number
CN105306836B
CN105306836B CN201510695522.2A CN201510695522A CN105306836B CN 105306836 B CN105306836 B CN 105306836B CN 201510695522 A CN201510695522 A CN 201510695522A CN 105306836 B CN105306836 B CN 105306836B
Authority
CN
China
Prior art keywords
thumbnail
original image
presupposition
resolution ratio
another
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510695522.2A
Other languages
Chinese (zh)
Other versions
CN105306836A (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

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention provides a kind of image display method and apparatus, the thumbnail for including the following steps: to load original image, and the resolution ratio of the thumbnail is less than the original image;Show the thumbnail;When receiving the amplifying operation to the thumbnail, monitor whether the amplifying operation terminates;If the amplifying operation does not terminate, then when current amplification factor reaches presupposition multiple, another thumbnail of the original image is generated according to the presupposition multiple, load another described thumbnail, and show another described thumbnail, wherein the resolution ratio of the thumbnail currently loaded is greater than the resolution ratio of previous thumbnail.

Description

A kind of image display method and apparatus
Technical field
The present invention relates to field of image processings, and in particular to a kind of image display method and apparatus.
Background technique
Image resolution ratio refers to the information content stored in image, is how many pixel in per inch image.Resolution ratio Higher image is more clear, but data volume is larger, and image data can store in the hard disk of equipment, when displaying an image, It needs then just can quickly show figure from the memory for reading image data in hard disk and the data of reading being loaded into equipment As content.For the equipment poor for the image real time transfers performance such as mobile phone, tablet computer, display data volume is biggish Image would generally be restricted.
Since smart machine does not have independent video memory and limited memory, if directly original big image is loaded into interior In depositing, it will occupy the resources such as excessive device memory, in order to solve the problems, such as to occupy resource, existing method is basis first Raw image data generates that a data volume is smaller, the lower thumbnail of resolution ratio, and the thumbnail is only then loaded into memory In, user can check overview according to thumbnail, if user needs to check more details, still need to load original big image Into memory, this loading procedure time is longer, and thus may will affect the normal operation of other software or process.
Summary of the invention
Therefore, the biggish image process of data volume is shown in the prior art the technical problem to be solved in the present invention is that overcoming In problem of resource waste.
For this purpose, the embodiment of the present invention provides a kind of image display method, include the following steps: the breviary for loading original image The resolution ratio of figure, the thumbnail is less than the original image;Show the thumbnail;The thumbnail is put when receiving When big operation, monitor whether the amplifying operation terminates;If the amplifying operation does not terminate, whenever current amplification factor reaches When to presupposition multiple, another thumbnail of the original image, another described contracting of load are generated according to the presupposition multiple Sketch map, and show another described thumbnail, wherein the resolution ratio of the thumbnail currently loaded is greater than the resolution of previous thumbnail Rate.
Preferably, when the amplifying operation terminates, the another of the original image is generated according to current amplification factor A thumbnail.
Preferably, before another thumbnail described in the load, further includes: the thumbnail that release currently loads.
Preferably, the presupposition multiple has multiple.
Preferably, the relationship of the multiple presupposition multiple is Sn=(Sn-1-Sn-2) * m+Sn-1, wherein n >=2, under Sn is One presupposition multiple, Sn-1 are previous presupposition 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, it is original for loading The resolution ratio of the thumbnail of image, the thumbnail is less than the original image;Display unit, for showing the thumbnail; Monitoring unit, for when receiving the amplifying operation to the thumbnail, monitoring whether the amplifying operation terminates;Refresh single Member, for when current amplification factor reaches presupposition multiple, being preset again according to described when the amplifying operation does not terminate Number generates another thumbnail of the original image, loads another described thumbnail, and shows another described thumbnail, The resolution ratio of the thumbnail wherein currently loaded is greater than the resolution ratio of previous thumbnail.
Preferably, further includes: the second refresh unit is used for when the amplifying operation terminates, according to current times magnification Number generates another thumbnail of the original image.
Preferably, further includes: releasing unit, for before another thumbnail described in the load, release currently to add The thumbnail of load.
Preferably, the presupposition multiple has multiple.
Preferably, the relationship of the multiple presupposition multiple is Sn=(Sn-1-Sn-2) * m+Sn-1, wherein n >=2, under Sn is One presupposition multiple, Sn-1 are previous presupposition multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.
Technical solution of the present invention has the advantages that
The image display method and apparatus provided according to embodiments of the present invention, user can be by initially according to original images The thumbnail for generating, loading and show checks the overview of original image, and can amplifying to initial thumbnail, putting During big, whether the current amplifying operation of real-time monitoring reaches default amplification factor, at once when reaching default amplification factor It regenerates, load simultaneously another higher thumbnail of display resolution, it is possible thereby to save memory, video memory when displaying an image Etc. resources, and so that user is successively seen the different thumbnail of multiple resolution ratio during thumbnail is amplified.
There are multiple presupposition multiples in technical solution of the present invention, and can be when amplification factor is smaller, so that thumbnail Refreshing frequency is higher;When amplification factor is larger, so that the refreshing frequency of thumbnail is lower, it is possible thereby to further save resource Expense, and further increase the Experience Degree of user.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of the high-definition image display methods provided according to embodiments of the present invention;
Fig. 2 is an image scaling and display situation schematic diagram;
Fig. 3 is the architecture diagram of the high-definition image display device provided according to embodiments of the present invention.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Originally it applies example and provides a kind of image display method, this method can be with display function and data processing function It is executed in intelligent terminal (such as smart phone, tablet computer), as shown in Figure 1, this method comprises the following steps:
S1, loads the thumbnail of original image, and the resolution ratio of the thumbnail is less than original image, and above-mentioned original image can be with It is the biggish high-definition image of data volume.Fig. 2 shows the relationship of the size of original image and intelligent terminal display screen, original images 21 size (including physical size and resolution ratio) is greater than the size of display screen 22, and original image 21 can store in intelligent terminal Storage card (hard disks such as embedded memory card, external storage card) in, first can be according to original in order to economize on resources and convenient for checking Beginning image data generates a thumbnail 23, and thumbnail 23 is preferably dimensioned to be the indication range less than or equal to display screen 22, Then the thumbnail 23 is loaded into mobile phone EMS memory;For the terminal with independent display card, it can be and load the thumbnail Into video memory.
S2 shows above-mentioned thumbnail 23, and user can understand the overview of original image by thumbnail at this time, if user It needs to check details, can amplify operation, such as carry out amplifying gesture on the touch screen of terminal, which is that one kind is held Continuous process.
S3, when receiving the amplifying operation to above-mentioned thumbnail 23, whether monitoring is enlarged and terminates, and holds if terminating Row step S6, thens follow the steps S4 if not terminating;
S4, judges whether current amplification factor reaches presupposition multiple, and return step S4 continues to judge if not up to, S5 is thened follow the steps if reached.
S5 then generates the another of original image according to presupposition multiple when current amplification factor reaches presupposition multiple A thumbnail, and load and show another above-mentioned thumbnail, wherein the resolution ratio of the thumbnail currently loaded is greater than previous contracting The resolution ratio of sketch map.As a preferred embodiment, after a newest thumbnail is loaded, can by previous thumbnail from It is discharged in memory, it is possible thereby to further save device resource.
Such as the multiple of above-mentioned thumbnail 23 is 1 times, first presupposition multiple is 1.5 times, then operates when dissolute by breviary At 1.5 times of figure amplification, is generated according to raw image data, loads (being loaded into memory or video memory) and show the second thumbnail 24, the resolution ratio of the second thumbnail 24 is 1.5 times of the resolution ratio of thumbnail 23, and user can be seen by the second thumbnail 24 The more details of original image, and thumbnail 23 can be discharged at this time.Since the size of the second thumbnail 24 may be Greater than the size of display screen 22, it is possible to show one of the second thumbnail 24 according to offset caused by amplifying operation Point, user can move the second thumbnail 24 to check the not shown part of default.
Above-mentioned presupposition multiple is preferably several, and multiple presupposition multiples are determined before can be generation thumbnail.It is default Step-length between multiple will influence image refreshing (generating, load and show thumbnail) frequency, the smaller then refreshing frequency of step-length It is higher, it is possible thereby to which user is made successively to see the different thumbnail of more resolution ratio, but it also will increase resource overhead;Step-length is got over It is big then resource overhead is smaller, but user experience can be reduced.
The image display method provided according to embodiments of the present invention, user can by initially according to original image generate, Load and the thumbnail that shows check the overview of original image, and can amplifying to initial thumbnail, amplified Whether Cheng Zhong, the current amplifying operation of real-time monitoring reach default amplification factor, at once again when reaching default amplification factor It generates, load simultaneously another higher thumbnail of display resolution, it is possible thereby to save the money such as memory, video memory when displaying an image Source, and so that user is successively seen the different thumbnail of multiple resolution ratio during thumbnail is amplified.
S6 generates another thumbnail of above-mentioned original image according to current amplification factor, such as is enlarged and stops When be 1.8 times to the amplification factor of above-mentioned thumbnail 23, then generate 1.8 times of the final thumbnail 25 having a size of thumbnail 23. It is possible thereby to which amplification factor when being stopped operation according to user accurately generates final thumbnail.
As a preferred scheme, the relationship of above-mentioned multiple presupposition multiples can be Sn=(Sn-1–Sn-2)*m+Sn-1, Middle n >=2, SnFor next presupposition multiple, Sn-1For previous presupposition multiple, S1=S0+ N, S0=1, N, m are positive number, 0≤N≤1, m ≥1。
Specifically, S0It is the multiple of initial thumbnail, S1……SnFor n presupposition multiple (S1……SnIt is all larger than 1), N To convert difference, m is transformation coefficient.Such as N=0.2, m=2, then S1=1.2, S2=1.6, S3=2.4, that is, work as amplifying operation When indicated amplification factor reaches 1.2, then generate a resolution ratio be initial thumbnail 1.2 another thumbnail, When the indicated amplification factor of amplifying operation reaches 1.6, then one resolution ratio of generation is the another of the 1.6 of initial thumbnail A thumbnail, when indicated amplification factor being enlarged reaching 2.4, then generating a resolution ratio is initial thumbnail 2.4 times another thumbnail.
It, can be when amplification factor be smaller, so that the refreshing of thumbnail according to multiple presupposition multiples of above-mentioned preferred embodiment Frequency is higher;When amplification factor is larger, so that the refreshing frequency of thumbnail is lower, opened it is possible thereby to further save resource Pin, and further increase the Experience Degree of user.
Another embodiment of the invention also provides a kind of image display device, and the device as shown in Figure 3 includes:
Loading unit 31, for loading the thumbnail of original image, the resolution ratio of the thumbnail is less than the original graph Picture;
Display unit 32, for showing the thumbnail;
Monitoring unit 33, for whether when receiving the amplifying operation to the thumbnail, monitoring the amplifying operation It terminates;
Refresh unit 34, for when it is described amplifying operation do not terminate when, whenever current amplification factor reaches presupposition multiple When, another thumbnail of the original image is generated according to the presupposition multiple, loads another described thumbnail, and show Another described thumbnail, wherein the resolution ratio of the thumbnail currently loaded is greater than the resolution ratio of previous thumbnail.Preferably, institute State presupposition multiple can be it is multiple.
The image display device provided according to embodiments of the present invention, user can by initially according to original image generate, Load and the thumbnail that shows check the overview of original image, and can amplifying to initial thumbnail, amplified Whether Cheng Zhong, the current amplifying operation of real-time monitoring reach default amplification factor, at once again when reaching default amplification factor It generates, load simultaneously another higher thumbnail of display resolution, it is possible thereby to save the money such as memory, video memory when displaying an image Source, and so that user is successively seen the different thumbnail of multiple resolution ratio during thumbnail is amplified.
Preferably, above-mentioned apparatus further include: the second refresh unit 35, for when amplifyings operation termination, according to working as The amplification factor of phase generates another thumbnail of the original image.It is possible thereby to times magnification when being stopped operation according to user Number accurately generates final thumbnail.
Preferably, above-mentioned apparatus further include: releasing unit 36 is used for after another thumbnail described in the load, The previous thumbnail for discharging load, it is possible thereby to further save device resource.
Preferably, the relationship of the multiple presupposition multiple is Sn=(Sn-1-Sn-2) * m+Sn-1, wherein n >=2, under Sn is One presupposition multiple, Sn-1 are previous presupposition multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >=1.According to upper Multiple presupposition multiples of preferred embodiment are stated, it can be when amplification factor be smaller, so that the refreshing frequency of thumbnail is higher;Amplifying When multiple is larger, so that the refreshing frequency of thumbnail is lower, it is possible thereby to further save resource overhead, and use is further increased The Experience Degree at family.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or It changes still within the protection scope of the invention.

Claims (6)

1. a kind of image display method, which comprises the steps of:
The thumbnail of original image is loaded, the resolution ratio of the thumbnail is less than the original image;
Show the thumbnail;
When receiving the amplifying operation to the thumbnail, monitor whether the amplifying operation terminates;
If the amplifying operation does not terminate, when current amplification factor reaches presupposition multiple, according to the presupposition multiple Another thumbnail of the original image is generated, another described thumbnail is loaded, and shows another described thumbnail, In the resolution ratio of thumbnail that currently loads be greater than the resolution ratio of previous thumbnail;
The presupposition multiple has multiple, and the relationships of multiple presupposition multiples is Sn=(Sn-1-Sn-2) * m+Sn-1, wherein n >= 2, Sn be next presupposition multiple, and Sn-1 is previous presupposition multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >= 1。
2. image display method according to claim 1, which is characterized in that when the amplifying operation terminates, according to working as The amplification factor of phase generates another thumbnail of the original image.
3. image display method according to claim 1 or 2, which is characterized in that another breviary described in the load After figure, further includes: discharge the previous thumbnail of load.
4. a kind of image display device characterized by comprising
Loading unit, for loading the thumbnail of original image, the resolution ratio of the thumbnail is less than the original image;
Display unit, for showing the thumbnail;
Monitoring unit, for when receiving the amplifying operation to the thumbnail, monitoring whether the amplifying operation terminates;
Refresh unit, for when it is described amplifying operation do not terminate when, when current amplification factor reaches presupposition multiple, according to The presupposition multiple generates another thumbnail of the original image, loads another described thumbnail, and shows described another One thumbnail, wherein the resolution ratio of the thumbnail currently loaded is greater than the resolution ratio of previous thumbnail;
The presupposition multiple has multiple, and the relationships of multiple presupposition multiples is Sn=(Sn-1-Sn-2) * m+Sn-1, wherein n >= 2, Sn be next presupposition multiple, and Sn-1 is previous presupposition multiple, and S1=S0+N, S0=1, N, m are positive number, 0≤N≤1, m >= 1。
5. image display device according to claim 4, which is characterized in that further include: the second refresh unit, for working as institute When stating amplifying operation termination, another thumbnail of the original image is generated according to current amplification factor.
6. image display device according to claim 4 or 5, which is characterized in that further include: releasing unit, in institute After stating another described thumbnail of load, the previous thumbnail of load is discharged.
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 CN105306836A (en) 2016-02-03
CN105306836B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463306B (en) * 2017-07-12 2020-02-14 北京潘达互娱科技有限公司 Image display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002290710A (en) * 2001-03-28 2002-10-04 Fuji Photo Film Co Ltd Method for producing reduced image and its program
CN1801217A (en) * 2005-01-07 2006-07-12 大同股份有限公司 Display picture zooming method applied for portable electronic apparatus
CN100589531C (en) * 2008-11-10 2010-02-10 深圳市迅雷网络技术有限公司 Image processing method and apparatus
KR101387023B1 (en) * 2013-02-28 2014-04-18 김태권 High dynamic range image viewer, and image process method thereof
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105306836A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
EP2214159A2 (en) Display control apparatus and display control method
US10834424B2 (en) Method and device for compressing image, and electronic device
CN106060382A (en) Image processing method and device and electronic equipment
CN106681667A (en) Picture display method and device and mobile terminal
CN105589667B (en) Method and device for capturing display image of display equipment
US8699753B2 (en) Object detecting device, image dividing device, integrated circuit, method of detecting object, object detecting program, and recording medium
CN111816109B (en) Display method and device and display equipment
US7849277B2 (en) Bank controller, information processing device, imaging device, and controlling method
CN105306836B (en) A kind of image display method and apparatus
US9456110B2 (en) Method for improving video output definition and terminal device
CN108777810B (en) Video data storage method, device, equipment and storage medium
US11496689B2 (en) Image sensor module image compression method thereof and electronic device
CN113038108A (en) Image format conversion method, device, equipment and storage medium
US10244129B2 (en) Method of processing and storing images
CN107707455A (en) A kind of email processing method and device, terminal and readable storage medium storing program for executing
CN110378479B (en) Image input method and device based on deep learning and terminal equipment
US20080055286A1 (en) Method And Apparatus For Displaying Bitmap Images
CN109214977A (en) Image processing apparatus and its control method
CN110990097B (en) UI interface generation method, storage medium and intelligent terminal
WO2020258287A1 (en) Image correction method, image correction apparatus, and electronic device
CN110969587A (en) Image acquisition method and device and electronic equipment
CN116991600B (en) Method, device, equipment and storage medium for processing graphic call instruction
CN117011146B (en) Image scaling method and device, electronic equipment and storage medium
CN114727051B (en) Media resource transmission device, system and method
WO2023015422A1 (en) Image processing method and apparatus

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

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.

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

Granted publication date: 20190430

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