CN110162286A - A kind of image display method and terminal - Google Patents

A kind of image display method and terminal Download PDF

Info

Publication number
CN110162286A
CN110162286A CN201910415031.6A CN201910415031A CN110162286A CN 110162286 A CN110162286 A CN 110162286A CN 201910415031 A CN201910415031 A CN 201910415031A CN 110162286 A CN110162286 A CN 110162286A
Authority
CN
China
Prior art keywords
target photo
text
content
display
picture
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
CN201910415031.6A
Other languages
Chinese (zh)
Other versions
CN110162286B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910415031.6A priority Critical patent/CN110162286B/en
Publication of CN110162286A publication Critical patent/CN110162286A/en
Application granted granted Critical
Publication of CN110162286B publication Critical patent/CN110162286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention provides a kind of image display method and terminals, wherein, in the case that image display method includes: that the ratio value between the lateral dimension of Target Photo and longitudinal size is greater than or equal to first threshold, the content of text proportion in the Target Photo is obtained;According to the content of text proportion, the Target Photo is shown.This programme, which can be realized, carries out various forms of displays for the picture of the more picture of text information and text information less (even without text information), in order to which user checks: the picture more for text information can extract content of text and show appropriate location on a terminal screen, and the picture less for text information can carry out full-size in a manner of transverse screen under the premise of guaranteeing clarity and show;Very good solution is not easy to the problem of user checks picture in the case that lateral dimension is unbalance much larger than picture Aspect Ratio caused by longitudinal size in the prior art.

Description

A kind of image display method and terminal
Technical field
The present invention relates to field of terminal technology more particularly to a kind of image display method and terminals.
Background technique
Currently, the screen size with mobile terminal is increasing, screen aspect ratio also develops from 16:9 as 19.5:9 very Most 20:9, but ratio shared by screen width, there is no increasing, this results in mobile phone checking that some lateral dimensions are long-range When " long and narrow " picture of longitudinal size, user needs amplification manually, and constantly sliding screen can just see complete picture. For this problem, current solution is finger dragging amplification picture or the automatic amplification of double-click.
However, firstly, the resolution ratio of image content be it is uncertain, double-click amplification after be possible to put it is excessive so that Image content seems very unintelligible, or part is excessive, can not see the content of whole picture, user is caused also to need manually It goes to narrow down to the size for being suitble to oneself to check.
Secondly, being that the picture for being shown displayed across text needs a line one after user double-clicks or amplifies manually for content Capable dragging picture is to read text, after a line is read, drags the position that picture starts to content again to next line, It is very inconvenient in this way for user reads many textual images of line number.
Summary of the invention
The purpose of the present invention is to provide a kind of image display method and terminals, remote to solve lateral dimension in the prior art The problem of user checks picture is not easy in the case where unbalance greater than picture Aspect Ratio caused by longitudinal size.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal the embodiment of the invention provides a kind of image display method, comprising:
In the case that ratio value between the lateral dimension of Target Photo and longitudinal size is greater than or equal to first threshold, Obtain the content of text proportion in the Target Photo;
According to the content of text proportion, the Target Photo is shown.
Second aspect, the embodiment of the invention also provides a kind of terminals, comprising:
First obtains module, is greater than or equal to for the ratio value between the lateral dimension and longitudinal size of Target Photo In the case where first threshold, the content of text proportion in the Target Photo is obtained;
First display module, for being shown to the Target Photo according to the content of text proportion.
The third aspect the embodiment of the invention also provides a kind of terminal, including processor, memory and is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of above-mentioned image display method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes the step of above-mentioned image display method when being executed by processor Suddenly.
In embodiments of the present invention, be greater than by the ratio value between the lateral dimension and longitudinal size of Target Photo or In the case where equal to first threshold, the content of text proportion in the Target Photo is obtained;According to the content of text institute Accounting example shows the Target Photo;It can be realized less (very for text information more picture and text information To no text information) picture carry out various forms of displays, in order to which user checks: the picture more for text information Extractable content of text shows appropriate location on a terminal screen, the picture less for text information can in a manner of transverse screen Guarantee that carrying out full-size under the premise of clarity shows;Lateral dimension is much larger than longitudinal size to very good solution in the prior art Caused by picture Aspect Ratio it is unbalance in the case where be not easy to the problem of user checks picture.
Detailed description of the invention
Fig. 1 is the image display method flow diagram of the embodiment of the present invention;
Fig. 2 is the image display method concrete application flow diagram of the embodiment of the present invention;
Fig. 3 is the irregular picture schematic diagram of the embodiment of the present invention;
Fig. 4 is the Target Photo display schematic diagram one of the embodiment of the present invention;
Fig. 5 is the Target Photo display schematic diagram two of the embodiment of the present invention;
Fig. 6 is that the Target Photo of the embodiment of the present invention reduces flow for displaying schematic diagram;
Fig. 7 is the terminal structure schematic diagram one of the embodiment of the present invention;
Fig. 8 is the terminal structure schematic diagram two of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Middle lateral dimension is unbalance much larger than picture Aspect Ratio caused by longitudinal size in view of the prior art by the present invention In the case where be not easy to the problem of user checks picture, a kind of image display method is provided, be applied to terminal, as shown in Figure 1, packet It includes:
Step 11: the ratio value between the lateral dimension and longitudinal size of Target Photo is greater than or equal to first threshold In the case of, obtain the content of text proportion in the Target Photo.
Wherein, Target Photo can refer to not selected amplification display, the picture in breviary browse state, first threshold It can be 2, but be not limited thereto.
Step 12: according to the content of text proportion, the Target Photo being shown.
Concretely for the picture of text information more picture and text information less (even without text information) Carry out various forms of displays: the picture more for text information can extract content of text and show on a terminal screen appropriate Position, the picture less for text information can carry out full-size in a manner of transverse screen under the premise of guaranteeing clarity and show, But it is not limited thereto.
The image display method provided in an embodiment of the present invention passes through the lateral dimension and longitudinal size in Target Photo Between ratio value be greater than or equal to first threshold in the case where, obtain the content of text proportion in the Target Photo; According to the content of text proportion, the Target Photo is shown;It can be realized the figure more for text information The picture of piece and text information less (even without text information) carries out various forms of displays, in order to which user checks: right It can extract content of text in the more picture of text information and show appropriate location on a terminal screen, it is less for text information Picture can in a manner of transverse screen under the premise of guaranteeing clarity carry out full-size show;Very good solution is horizontal in the prior art The problem of user checks picture is not easy in the case that picture Aspect Ratio is unbalance caused by being much larger than longitudinal size to size.
Wherein, described according to the content of text proportion, the Target Photo is shown, comprising: described In the case that content of text proportion is greater than or equal to second threshold, the content of text in the Target Photo is extracted;Institute It states the first area on the display screen of terminal and shows the Target Photo, and the second area on the display screen of the terminal is aobvious Show the content of text.
It is, the picture more for text information, which can extract content of text, shows appropriate position on a terminal screen It sets, and displaying target picture simultaneously, in order to which user checks;Wherein, second threshold can be 0.5, and second area can be the end Other regions or second area on the display screen at end in addition to the first area can on the display screen of the terminal with institute Stating the region that there is overlapping between first area or even second area can be the same area with the first area, i.e., completely heavy It is folded.
Further, described according to the content of text proportion, the Target Photo is shown, further includes: In the case where the content of text proportion is less than second threshold, the Target Photo is amplified using transverse screen display mode After show.
It is, the picture of (even without text information) less for text information can be in a manner of transverse screen to Target Photo Display is amplified, in order to which user checks.
Specifically, described will be shown using transverse screen display mode after Target Photo amplification, comprising: keeping the mesh In the case that the ratio value marked on a map between the lateral dimension and longitudinal size of piece is constant, the lateral dimension of the Target Photo is drawn It extends to consistent with the longitudinal size of the display screen.
It is, the picture of (even without text information) less for text information can be big as far as possible size to target Picture is shown, in order to which user checks.
Further, described to be shown after Target Photo amplification using transverse screen display mode, further includes: will be described The lateral dimension of Target Photo be stretched to it is with the longitudinal size of the display screen consistent after, obtain the Target Photo after stretching First clarity;If first clarity is greater than or equal to third threshold value, the mesh after stretching is shown in a manner of transverse screen display It marks on a map piece;If first clarity is less than the third threshold value, repeats and the Target Photo after stretching is preset The diminution of ratio, and the Target Photo clarity after reaching default diminution number or reducing is greater than or equal to the third threshold After value, the Target Photo after reducing is shown in a manner of transverse screen display.
It is, the picture of (even without text information) less for text information can guaranteed clearly in a manner of transverse screen It carries out full-size under the premise of degree to show, in order to which user checks.Wherein, " reaching default and reduce number " can be regarded as basis Experience can confirm current clarity relatively target sharpness (third threshold value), in order to guarantee to the greatest extent just It checks, is then no longer reduced in user, Target Photo is shown with current size.First clarity can be 30, preset Reducing number can be 2 times, and preset ratio can be 0.9;It, can be respectively to the transverse direction of Target Photo when being reduced to Target Photo Size and longitudinal size are reduced, for example lateral dimension is reduced into 0.9 times of current lateral dimension, and longitudinal size is reduced It is 0.9 times of current longitudinal size.
Further, the lateral dimension of Target Photo is stretched to it is consistent with the longitudinal size of display screen after, drawing In the case that the longitudinal size of Target Photo after stretching is greater than the lateral dimension of display screen, the mesh after stretching is shown on a display screen It marks on a map the partial region of piece;And after detecting the predetermined registration operation for partial region, the partial region is updated.
That is, can be shown by pulling the partial region having been displayed on display screen for not shown region Show, that is, update the partial region, thus based on partial region adjustment display content is updated.It certainly can be in trailer portion region Content, shown content is updated in the partial region, to adjust display based on the content adjusted in the partial region Content, so that user checks image content.
The image display method provided in an embodiment of the present invention is further described below.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of image display methods, concretely a kind of The long and narrow picture of longitudinal size, the method for being obtained and being presented to content are much larger than for lateral dimension;The embodiment of the present invention The scheme of offer calculates the lateral dimension and longitudinal ruler of Target Photo by the lateral dimension and longitudinal size of acquisition Target Photo Ratio between very little judges whether Target Photo is " long and narrow picture ".For " long and narrow " picture, image content will test, for The more picture of text information (textual image) will read text information, and position appropriate is selected to sort out picture character, convenient User checks.For non-textual picture, then the readability of picture is calculated using image detecting method, transverse screen is selected to be presented on boundary On face, guarantee that the size of display picture is the largest on the basis of guaranteeing clarity.
Specifically, can be as shown in Fig. 2, scheme provided in an embodiment of the present invention includes:
Step 21: obtaining the ratio value between the lateral dimension of Target Photo and longitudinal size.
Specifically, can be user when vertical screen using terminal opens picture, lateral dimension and longitudinal direction to Target Photo Ratio value between size is obtained.
In actual use, the lateral dimension of Target Photo and longitudinal size are the primary attribute of picture;For non-rectangular The irregular picture of shape, its lateral dimension are the maximum transverse size of itself, and longitudinal size is the maximum longitudinal size of itself; Than oval picture as shown in Figure 3, its lateral dimension and longitudinal size are exactly its rectangular cross in periphery in the terminal To size a and longitudinal size b.
Step 22: judging whether the ratio value between lateral dimension and longitudinal size is greater than first threshold and (judges laterally Whether size is much larger than longitudinal size), if so, 24 are entered step, if it is not, entering step 23.
When the lateral dimension of Target Photo is the 2 times or more of longitudinal size, can be considered lateral dimension and longitudinal size it Between proportional imbalance, be judged to being not easy to the picture that user checks under vertical screen state, i.e., long and narrow picture.
Step 23: directly Target Photo being shown and (shows that details are not described herein using existing means).
Step 24: text detection being carried out to Target Photo, content of text region is in target figure in acquisition Target Photo Proportion (i.e. above-mentioned content of text proportion) in the whole region of piece.
Step 25: whether the ratio-dependent Target Photo obtained according to step 24 is that textual image (judges content of text Whether proportion is greater than or equal to second threshold), if so, 26 are entered step, if it is not, entering step 27.
It specifically can be and text detection and region division carried out to Target Photo, therefore, it is determined that whether being textual image;
After judging the proportional imbalance between the lateral dimension of Target Photo and longitudinal size, to Target Photo Carry out content of text detection.The text in current image can be specifically detected by image processing techniques;It, can be right after detecting text Text filed and non-textual region is divided, and specifically can be greater than 50% when detecting the text filed proportion in picture When, determine that Target Photo is textual image.
Step 26: extracting content of text line by line, and the first area on the screen of terminal (page currently shown) is aobvious Show Target Photo, the second area display text content on the screen of terminal.
It is the content text for obtaining Target Photo line by line herein, with behavior unit when extracting text, reading characters line by line.It will The text of reading can store in memory, after the completion of reading on the screen of terminal non-picture display area (i.e. above-mentioned secondth area Domain) text that will acquire is shown line by line, and in picture display area (i.e. above-mentioned first area) displaying target picture, is such as schemed Shown in 4.
Step 27: calculating the clarity (can be resolution ratio) of image content, and shown its transverse screen at end according to clarity On the screen at end.
Particularly as being that transverse screen maximizes and shows non-textual picture (Target Photo):
For non-textual picture, this programme shows picture transverse screen, and by amplification shows use as far as possible after picture transverse screen Family.
More specifically, when display, the lateral dimension of Target Photo is stretched as consistent with the longitudinal size of terminal, stretched Guarantee the constant rate between the lateral dimension and longitudinal size of Target Photo in journey, as shown in Figure 5.
Further, since picture is amplified, it is possible to the situation that Target Photo is fuzzy after amplifying occur, the present invention is implemented The exemplary method of image definition detection a kind of is provided this in example: specifically: can be and do fastly to the picture on the right of Fig. 5 According to then on backstage to snapshot progress image definition detection;It is generally acknowledged that the high image border of image definition is sharper Benefit has bigger gradient value, and for same picture, size is smaller, and edge is also sharper keen;Therefore, of the invention It is calculated in embodiment using clarity of the Laplce Laplacian gradient function to image, the sharpness function of image It is defined as follows:
D (f)=∑yx| G (x, y) |, wherein G (x, y) > T;
D (f) expression clarity, the abscissa of x expression pixel (x, y), the ordinate of y expression pixel (x, y), G (x, Y) convolution of Laplacian operator at pixel (x, y) is indicated, T indicates the threshold value of convolution;
Threshold value T=50 is set, specifically, the form of G (x, y) is as follows:
Wherein,Indicate asking to the abscissa x of pixel (x, y) It leads,Indicate the derivation to the ordinate y of pixel (x, y).
In the state of T=50, rule of thumb it is found that it is to be believed that image clearly that the value of D (f), which is more than 30, if currently Under size clarity D (f) value of snapshot be lower than 30, can be determined as it is unintelligible, at this time can by the lateral dimension of Target Photo with Longitudinal size scaled down is that lateral dimension (is reduced into the first ruler by 0.9 times of first size (specially current size) Longitudinal size is reduced into 0.9 times of longitudinal size in first size by 0.9 times of very little middle lateral dimension), and snapshot is formed again And definition values are calculated, if definition values are greater than 30, Target Photo is presented with 0.9 times of first size on the screen, if still Less than 30, then continue 0.9 × 0.9 times that the lateral dimension of Target Photo and longitudinal size are reduced into first size, and will contracting The size (lateral dimension and longitudinal size) obtained after small shows size as final.Specifically, the detection and scaling process can As shown in Figure 6, comprising:
Step 61: starting;
Step 62: clarity D (f) value is calculated to the Target Photo snapshot under current size;
Step 63: judging whether D (f) value is greater than 30, if so, 66 are entered step, if it is not, entering step 64;
Step 64: judge whether scaling (diminution) number to Target Photo reaches 2 times, if so, 66 are entered step, if It is no, enter step 65;
Step 65: being the 0.9 of current size by the lateral dimension of Target Photo and longitudinal size scaled down;
Step 66: (display) Target Photo is presented with current size;
Step 67: terminating.
From the foregoing, it will be observed that scheme provided in an embodiment of the present invention, which can be realized, is much larger than the long and narrow of longitudinal size to lateral dimension Picture carries out content detection, is largely that the text in picture is directly passed through image processing algorithm by the picture of text for content It extracts and is shown on the page, for non-textual picture (picture that content is not largely text), guaranteeing clarity Under the premise of guarantee that being presented to the dimension of picture of user is the largest, thus facilitating user to check text and image content.
The embodiment of the invention also provides a kind of terminals, as shown in fig. 7, comprises:
First obtains module 71, is greater than or waits for the ratio value between the lateral dimension and longitudinal size of Target Photo In the case where first threshold, the content of text proportion in the Target Photo is obtained;
First display module 72, for being shown to the Target Photo according to the content of text proportion.
The terminal provided in an embodiment of the present invention passes through the ratio between the lateral dimension and longitudinal size of Target Photo In the case that example value is greater than or equal to first threshold, the content of text proportion in the Target Photo is obtained;According to described Content of text proportion shows the Target Photo;It can be realized the picture and text more for text information The picture of information less (even without text information) carries out various forms of displays, in order to which user checks: text is believed It ceases more picture and can extract content of text and show appropriate location on a terminal screen, the picture less for text information can Full-size is carried out under the premise of guaranteeing clarity in a manner of transverse screen to show;Lateral dimension is remote in the prior art for very good solution The problem of user checks picture is not easy in the case where unbalance greater than picture Aspect Ratio caused by longitudinal size.
Wherein, first display module, comprising: the first extracting sub-module, in the content of text proportion In the case where more than or equal to second threshold, the content of text in the Target Photo is extracted;First display sub-module is used for First area on the display screen of the terminal shows the Target Photo, and the second area on the display screen of the terminal Show the content of text.
Further, first display module, further includes: the second display sub-module, in the content of text institute In the case that accounting example is less than second threshold, it will be shown after Target Photo amplification using transverse screen display mode.
Specifically, second display sub-module, comprising: first processing units, for keeping the Target Photo In the case that ratio value between lateral dimension and longitudinal size is constant, the lateral dimension of the Target Photo is stretched to and institute The longitudinal size for stating display screen is consistent.
Further, second display sub-module further include: first acquisition unit, for by the Target Photo Lateral dimension be stretched to it is consistent with the longitudinal size of the display screen after, obtain the Target Photo after stretching first is clear Degree;First display unit shows drawing if being greater than or equal to third threshold value for first clarity in a manner of transverse screen display Target Photo after stretching;The second processing unit repeats pair if being less than the third threshold value for first clarity Target Photo after stretching carries out the diminution of preset ratio, and the Target Photo after reaching default diminution number or reducing is clear After clear degree is greater than or equal to the third threshold value, the Target Photo after reducing is shown in a manner of transverse screen display.
Further, the first processing units are also used to be stretched to and institute by the lateral dimension of the Target Photo State display screen longitudinal size it is consistent after, the longitudinal size of Target Photo after the stretch is greater than the lateral dimension of display screen In the case of, the partial region of the Target Photo after stretching is shown on a display screen;And it is detecting for the default of partial region After operation, the partial region is updated.
Terminal provided in an embodiment of the present invention can be realized each mistake that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 6 Journey, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 8 terminal of each embodiment to realize the present invention, the terminal 80 include but not It is limited to: radio frequency unit 81, network module 82, audio output unit 83, input unit 84, sensor 85, display unit 86, user The components such as input unit 87, interface unit 88, memory 89, processor 810 and power supply 811.Those skilled in the art can be with Understand, the restriction of the not structure paired terminal of terminal structure shown in Fig. 8, terminal may include than illustrating more or fewer portions Part perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal include but is not limited to mobile phone, Tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810 are greater than or wait for the ratio value between the lateral dimension and longitudinal size of Target Photo In the case where first threshold, the content of text proportion in the Target Photo is obtained;According to shared by the content of text Ratio shows the Target Photo.
In embodiments of the present invention, be greater than by the ratio value between the lateral dimension and longitudinal size of Target Photo or In the case where equal to first threshold, the content of text proportion in the Target Photo is obtained;According to the content of text institute Accounting example shows the Target Photo;It can be realized less (very for text information more picture and text information To no text information) picture carry out various forms of displays, in order to which user checks: the picture more for text information Extractable content of text shows appropriate location on a terminal screen, the picture less for text information can in a manner of transverse screen Guarantee that carrying out full-size under the premise of clarity shows;Lateral dimension is much larger than longitudinal size to very good solution in the prior art Caused by picture Aspect Ratio it is unbalance in the case where be not easy to the problem of user checks picture.
Optionally, processor 810 is specifically used for, and is greater than or equal to the feelings of second threshold in the content of text proportion Under condition, the content of text in the Target Photo is extracted;First area on the display screen of the terminal shows the target Picture, and the second area on the display screen of the terminal shows the content of text.
Optionally, processor 810 is also used to, and in the case where the content of text proportion is less than second threshold, is adopted It will be shown after Target Photo amplification with transverse screen display mode.
Optionally, processor 810 is specifically used for, between the lateral dimension and longitudinal size for keeping the Target Photo In the case that ratio value is constant, the lateral dimension of the Target Photo is stretched to consistent with the longitudinal size of the display screen.
Optionally, processor 810 is also used to, and is stretched to and the display screen by the lateral dimension of the Target Photo After longitudinal size is consistent, the first clarity of the Target Photo after stretching is obtained;If first clarity is greater than or equal to Third threshold value then shows the Target Photo after stretching in a manner of transverse screen display;If first clarity is less than the third threshold Value then repeats the diminution for carrying out preset ratio to the Target Photo after stretching, and reduces number or contracting reaching default After Target Photo clarity after small is greater than or equal to the third threshold value, the target figure after reducing is shown in a manner of transverse screen display Piece.
Optionally, processor 810 is also used to, and is stretched to and the display screen by the lateral dimension of the Target Photo After longitudinal size is consistent, in the case that the longitudinal size of Target Photo after the stretch is greater than the lateral dimension of display screen, Show the partial region of the Target Photo after screen display stretches;And after detecting the predetermined registration operation for partial region, more The new partial region.
It should be understood that the embodiment of the present invention in, radio frequency unit 81 can be used for receiving and sending messages or communication process in, signal It sends and receivees, specifically, being handled after the downlink data from base station is received to processor 810;In addition, by the number of uplink According to being sent to base station.In general, radio frequency unit 81 include but is not limited to antenna, at least one amplifier, transceiver, coupler, Low-noise amplifier, duplexer etc..In addition, radio frequency unit 81 can also system and network and other equipment be logical by wireless communication Letter.
Terminal provides wireless broadband internet by network module 82 for user and accesses, and such as helps user's transceiver electronics Mail, browsing webpage and access streaming video etc..
Audio output unit 83 can be received by radio frequency unit 81 or network module 82 or be stored in memory 89 Audio data be converted into audio signal and export be sound.Moreover, audio output unit 83 can also provide and terminal 80 The relevant audio output of the specific function of execution (for example, call signal receives sound, message sink sound etc.).Audio output Unit 83 includes loudspeaker, buzzer and receiver etc..
Input unit 84 is for receiving audio or video signal.Input unit 84 may include graphics processor (Graphics Processing Unit, GPU) 841 and microphone 842, graphics processor 841 in video acquisition mode or The image data of the static images or video that are obtained in image capture mode by image capture apparatus (such as camera) is handled. Treated, and picture frame may be displayed on display unit 86.Through graphics processor 841, treated that picture frame can store It is sent in memory 89 (or other storage mediums) or via radio frequency unit 81 or network module 82.Microphone 842 can It to receive sound, and can be audio data by such acoustic processing.Treated, and audio data can be in telephone relation The format output that mobile communication base station can be sent to via radio frequency unit 81 is converted in the case where mode.
Terminal 80 further includes at least one sensor 85, such as optical sensor, motion sensor and other sensors.Tool Body, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light Secretly adjust the brightness of display panel 861, proximity sensor can when terminal 80 is moved in one's ear, close display panel 861 and/ Or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, related trip Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 85 can also include fingerprint Sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray pass Sensor etc., details are not described herein.
Display unit 86 is for showing information input by user or being supplied to the information of user.Display unit 86 may include Display panel 861 can use liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 861.
User input unit 87 can be used for receiving the number or character information of input, and generate the user setting with terminal And the related key signals input of function control.Specifically, user input unit 87 includes touch panel 871 and other inputs Equipment 872.Touch panel 871, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 871 or near touch panel 871).Touching Controlling panel 871 may include both touch detecting apparatus and touch controller.Wherein, the touching of touch detecting apparatus detection user Orientation is touched, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller is filled from touch detection Reception touch information is set, and is converted into contact coordinate, then gives processor 810, receives the order that processor 810 is sent And it is executed.Furthermore, it is possible to realize touch surface using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Plate 871.In addition to touch panel 871, user input unit 87 can also include other input equipments 872.Specifically, other are inputted Equipment 872 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse Mark, operating stick, details are not described herein.
Further, touch panel 871 can be covered on display panel 861, when touch panel 871 detect on it or After neighbouring touch operation, processor 810 is sent to determine the type of touch event, is followed by subsequent processing device 810 according to touch thing The type of part provides corresponding visual output on display panel 861.Although in fig. 8, touch panel 871 and display panel 861 be the function that outputs and inputs of realizing terminal as two independent components, but in some embodiments it is possible to will touching Control panel 871 and display panel 861 integrate and realize the function that outputs and inputs of terminal, specifically herein without limitation.
Interface unit 88 is the interface that external device (ED) is connect with terminal 80.For example, external device (ED) may include wired or nothing Line headphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, use There is port, the port audio input/output (I/O), video i/o port, the ear port of device etc. of identification module in connection Deng.Interface unit 88 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will receive To one or more elements for being transferred in terminal 80 of input or can be used between terminal 80 and external device (ED) transmitting Data.
Memory 89 can be used for storing software program and various data.Memory 89 can mainly include storing program area and Storage data area, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as sound according to mobile phone Frequency evidence, phone directory etc.) etc..In addition, memory 89 may include high-speed random access memory, it can also include non-volatile Memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 89, and call the number being stored in memory 89 According to, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.Processor 810 may include one or Multiple processing units;Preferably, processor 810 can integrate application processor and modem processor, wherein application processor Main processing operation system, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that , above-mentioned modem processor can not also be integrated into processor 810.
Terminal 80 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 can be with It is logically contiguous by power-supply management system and processor 810, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 80 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 810, and memory 89 is stored in memory It is real when which is executed by the processor 810 on 89 and the computer program that can be run on the processor 810 Each process of existing above-mentioned image display method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image display method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (13)

1. a kind of image display method is applied to terminal characterized by comprising
In the case that ratio value between the lateral dimension of Target Photo and longitudinal size is greater than or equal to first threshold, obtain Content of text proportion in the Target Photo;
According to the content of text proportion, the Target Photo is shown.
2. image display method according to claim 1, which is characterized in that described according to content of text institute accounting Example, shows the Target Photo, comprising:
In the case where the content of text proportion is greater than or equal to second threshold, the text in the Target Photo is extracted Content;
First area on the display screen of the terminal shows the Target Photo, and on the display screen of the terminal Two regions show the content of text.
3. image display method according to claim 2, which is characterized in that described according to content of text institute accounting Example, shows the Target Photo, further includes:
In the case where the content of text proportion is less than second threshold, using transverse screen display mode by the Target Photo It is shown after amplification.
4. image display method according to claim 3, which is characterized in that described to use transverse screen display mode by the mesh It is shown after piece of marking on a map amplification, comprising:
In the case that ratio value between the lateral dimension and longitudinal size for keeping the Target Photo is constant, by the target The lateral dimension of picture is stretched to consistent with the longitudinal size of the display screen.
5. image display method according to claim 4, which is characterized in that described to use transverse screen display mode by the mesh It is shown after piece of marking on a map amplification, further includes:
The lateral dimension of the Target Photo is stretched to it is consistent with the longitudinal size of the display screen after, obtain stretch after Target Photo the first clarity;
If first clarity is greater than or equal to third threshold value, the Target Photo after stretching is shown in a manner of transverse screen display;
If first clarity is less than the third threshold value, repeats and preset ratio is carried out to the Target Photo after stretching Diminution, and reaching it is default reduce number or reduce after Target Photo clarity be greater than or equal to the third threshold value Afterwards, the Target Photo after reducing is shown in a manner of transverse screen display.
6. image display method according to claim 4 or 5, which is characterized in that by the lateral ruler of the Target Photo It is very little be stretched to it is consistent with the longitudinal size of the display screen after, further includes:
In the case that the longitudinal size of Target Photo after the stretch is greater than the lateral dimension of the display screen, in the display screen The partial region of Target Photo after upper display stretching;And after detecting the predetermined registration operation for the partial region, update The partial region.
7. a kind of terminal characterized by comprising
First obtains module, is greater than or equal to first for the ratio value between the lateral dimension and longitudinal size of Target Photo In the case where threshold value, the content of text proportion in the Target Photo is obtained;
First display module, for being shown to the Target Photo according to the content of text proportion.
8. terminal according to claim 7, which is characterized in that first display module, comprising:
First extracting sub-module, for extracting in the case where the content of text proportion is greater than or equal to second threshold Content of text in the Target Photo;
First display sub-module shows the Target Photo for the first area on the display screen of the terminal, and in institute It states the second area on the display screen of terminal and shows the content of text.
9. terminal according to claim 8, which is characterized in that first display module, further includes:
Second display sub-module, for being shown using transverse screen in the case where the content of text proportion is less than second threshold Show that mode will be shown after Target Photo amplification.
10. terminal according to claim 9, which is characterized in that second display sub-module, comprising:
First processing units, it is constant for the ratio value between the lateral dimension and longitudinal size for keeping the Target Photo In the case of, the lateral dimension of the Target Photo is stretched to consistent with the longitudinal size of the display screen.
11. terminal according to claim 10, which is characterized in that second display sub-module further include:
First acquisition unit, for the lateral dimension of the Target Photo to be stretched to the longitudinal size one with the display screen After cause, the first clarity of the Target Photo after stretching is obtained;
First display unit is shown in a manner of transverse screen display if being greater than or equal to third threshold value for first clarity Target Photo after stretching;
The second processing unit repeats if being less than the third threshold value for first clarity to the mesh after stretching Piece of marking on a map carries out the diminution of preset ratio, and reach it is default reduce number or reduce after Target Photo clarity be greater than or After the third threshold value, the Target Photo after reducing is shown in a manner of transverse screen display.
12. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 6 The step of image display method described in one.
13. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as image display method described in any one of claims 1 to 6 Step.
CN201910415031.6A 2019-05-17 2019-05-17 Picture display method and terminal Active CN110162286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910415031.6A CN110162286B (en) 2019-05-17 2019-05-17 Picture display method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910415031.6A CN110162286B (en) 2019-05-17 2019-05-17 Picture display method and terminal

Publications (2)

Publication Number Publication Date
CN110162286A true CN110162286A (en) 2019-08-23
CN110162286B CN110162286B (en) 2023-04-07

Family

ID=67631260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910415031.6A Active CN110162286B (en) 2019-05-17 2019-05-17 Picture display method and terminal

Country Status (1)

Country Link
CN (1) CN110162286B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061531A (en) * 2019-12-10 2020-04-24 维沃移动通信有限公司 Picture display method and electronic equipment
CN111405182A (en) * 2020-03-26 2020-07-10 杭州趣维科技有限公司 Video editing method for adjusting lens proportion
CN111459363A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium
CN111861991A (en) * 2020-06-11 2020-10-30 北京百度网讯科技有限公司 Method and device for calculating image definition
CN112506868A (en) * 2020-12-03 2021-03-16 北京达佳互联信息技术有限公司 File display method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419661A (en) * 2007-10-26 2009-04-29 国际商业机器公司 Method for displaying image based on text in image and system
WO2011070793A1 (en) * 2009-12-11 2011-06-16 パナソニック株式会社 Image display device and image display method
US20120134595A1 (en) * 2009-08-11 2012-05-31 Koninklijke Philips Electronics N.V. Method and apparatus for providing an image for display
CN103500332A (en) * 2013-09-06 2014-01-08 优视科技有限公司 Character display method and device in image
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal
CN105868235A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Image preview method and apparatus of intelligent terminal
CN107393459A (en) * 2017-07-31 2017-11-24 京东方科技集团股份有限公司 Method for displaying image and device
CN107463534A (en) * 2017-07-27 2017-12-12 维沃移动通信有限公司 A kind of object marking method, mobile terminal and computer-readable recording medium
CN108446085A (en) * 2018-03-14 2018-08-24 维沃移动通信有限公司 A kind of throwing screen display methods and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419661A (en) * 2007-10-26 2009-04-29 国际商业机器公司 Method for displaying image based on text in image and system
US20120134595A1 (en) * 2009-08-11 2012-05-31 Koninklijke Philips Electronics N.V. Method and apparatus for providing an image for display
WO2011070793A1 (en) * 2009-12-11 2011-06-16 パナソニック株式会社 Image display device and image display method
CN103500332A (en) * 2013-09-06 2014-01-08 优视科技有限公司 Character display method and device in image
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal
CN105868235A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Image preview method and apparatus of intelligent terminal
CN107463534A (en) * 2017-07-27 2017-12-12 维沃移动通信有限公司 A kind of object marking method, mobile terminal and computer-readable recording medium
CN107393459A (en) * 2017-07-31 2017-11-24 京东方科技集团股份有限公司 Method for displaying image and device
CN108446085A (en) * 2018-03-14 2018-08-24 维沃移动通信有限公司 A kind of throwing screen display methods and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061531A (en) * 2019-12-10 2020-04-24 维沃移动通信有限公司 Picture display method and electronic equipment
CN111405182A (en) * 2020-03-26 2020-07-10 杭州趣维科技有限公司 Video editing method for adjusting lens proportion
CN111405182B (en) * 2020-03-26 2021-07-23 杭州小影创新科技股份有限公司 Video editing method for adjusting lens proportion
CN111459363A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium
CN111459363B (en) * 2020-03-31 2023-07-21 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium
CN111861991A (en) * 2020-06-11 2020-10-30 北京百度网讯科技有限公司 Method and device for calculating image definition
CN111861991B (en) * 2020-06-11 2024-05-24 北京百度网讯科技有限公司 Method and device for calculating image definition
CN112506868A (en) * 2020-12-03 2021-03-16 北京达佳互联信息技术有限公司 File display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110162286B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110162286A (en) A kind of image display method and terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN109684980B (en) Automatic scoring method and device
CN109710132A (en) Method of controlling operation thereof and terminal
CN109101147B (en) Message notification display method and terminal
CN105975833B (en) A kind of unlocked by fingerprint method and terminal
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN109840060A (en) A kind of display control method and terminal device
CN108132752A (en) A kind of method for editing text and mobile terminal
CN109993010B (en) Information display method and mobile terminal
CN109544172B (en) Display method and terminal equipment
CN107783747A (en) A kind of interface display processing method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN107734172A (en) A kind of method for information display and mobile terminal
CN107741814A (en) A kind of display control method and mobile terminal
CN108600498B (en) Information prompting method and device
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109901761A (en) A kind of content display method and mobile terminal
CN109445653A (en) A kind of icon processing method and mobile terminal
CN113918109A (en) Information display method and terminal equipment
CN110309003B (en) Information prompting method and mobile terminal
CN107728877A (en) One kind applies recommendation method and mobile terminal
CN114399813A (en) Face shielding detection method, model training method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant