CN109614184A - A kind of image display method and terminal device - Google Patents

A kind of image display method and terminal device Download PDF

Info

Publication number
CN109614184A
CN109614184A CN201811419096.XA CN201811419096A CN109614184A CN 109614184 A CN109614184 A CN 109614184A CN 201811419096 A CN201811419096 A CN 201811419096A CN 109614184 A CN109614184 A CN 109614184A
Authority
CN
China
Prior art keywords
image
terminal device
target
user
object region
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.)
Pending
Application number
CN201811419096.XA
Other languages
Chinese (zh)
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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201811419096.XA priority Critical patent/CN109614184A/en
Publication of CN109614184A publication Critical patent/CN109614184A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (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 embodiment of the present invention provides a kind of image display method and terminal device, is related to field of terminal technology, the background image to solve the problems, such as terminal device is relatively simple and inflexible.This method comprises: obtaining the first image, which is the image in the first object region for the second image that terminal device acquires in real time;The background image that the terminal device current interface is shown is updated to first image, wherein first object region is imaging region of the target part in the second image in target object in terminal device position, target part is part of the user in the target object that first direction can not be observed, first direction is the direction from user through terminal device to target object.

Description

A kind of image display method and terminal device
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of image display method and terminal devices.
Background technique
With the development of terminal technology, the time of user's using terminal equipment is increasingly longer.
In general, background image can be arranged by terminal device of triggering terminal equipment in user.The background image can be terminal The background image shown on the desktop of equipment, or the background image shown on the application interface of terminal device.However, working as After an image is set the background image of terminal device by user's triggering terminal equipment, if the non-triggering terminal equipment weight of user New setting, then terminal device can be always using the image as the background image of terminal device.In this way, making the background of terminal device Image is relatively simple and inflexible.
Summary of the invention
The embodiment of the present invention provides a kind of image display method and terminal device, to solve the background image ratio of terminal device More single and inflexible problem.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of image display method, the first image is obtained, which is eventually Image in the first object region for the second image that end equipment acquires in real time;The background that the terminal device current interface is shown Image update is first image, wherein the first object region is that the target part in second image in target object exists The imaging region of the terminal device position, the target part are the target object that user can not observe along first direction In part, which is direction from user through the terminal device to the target object.
Second aspect, the embodiment of the invention also provides a kind of terminal device, which includes: to obtain module and show Show module;The acquisition module, for obtaining the first image, which is the second image that the terminal device acquires in real time Image in first object region;The display module, the background image for showing the terminal device current interface are updated to First image that the acquisition module obtains;Wherein, which is the target in second image in target object In the imaging region of the terminal device position, which is the mesh that user can not observe along first direction for part The part in object is marked, which is the direction from user through the terminal device to the target object.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, such as first is realized when which is executed by the processor The step of image display method described in aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and image display method as described in relation to the first aspect is realized when which is executed by processor The step of.
In embodiments of the present invention, firstly, terminal device obtains the first image, which is that terminal device is adopted in real time Image in the first object region of second image of collection;Then, the background that terminal device shows terminal device current interface Image update is the first image.Since terminal device is the first object region of the second image acquired in real time according to terminal device In the background image that determines of image, and first object region is that target part in the second image in target object is set in terminal The imaging region of standby position, target part are part of the user in the target object that first direction can not be observed, The first direction is the direction from user through the terminal device to the target object.That is, first image sets for terminal The image of the standby true environment for blocking user's sight, therefore, on the one hand, the Background that terminal device uses in the embodiment of the present invention Picture can be different and different according to collected practical scenery, compared to the existing image using fixation as terminal device The more flexible multiplicity of the mode of background image;On the other hand, it during user walks, is determined according to the image acquired in real time Background image user may also be prompted whether barrier or danger, remind user to pay close attention to terminal device in the process of walking aobvious Display screen and be likely to be in relatively hazardous environment so that user using terminal equipment walk during it is safer, thus Improve user experience.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram one of image display method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram two of image display method provided in an embodiment of the present invention;
Fig. 4 is a kind of imaging schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of target angle schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of possible structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 8 is the possible structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 9 is the possible structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Figure 10 is a kind of hardware structural diagram of terminal device of each 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.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein "and/or" is only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can To indicate: individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, the first image and the second image etc. are for distinguishing different figures Picture, rather than the particular order for describing image.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, introduce applied by image display method provided in an embodiment of the present invention Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of image display method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The image display method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead to It crosses and runs software program realization image display method provided in an embodiment of the present invention in Android operation system.
The image display method of the embodiment of the present invention is illustrated below with reference in Fig. 2.Fig. 2 mentions for the embodiment of the present invention A kind of flow diagram of the image display method supplied, as shown in Fig. 2, the image display method includes S201 and S202:
S201, terminal device obtain the first image, and the first image is the first of the second image that terminal device acquires in real time Image in target area.
Wherein, first object region is the target part in target object in the second image in terminal device position Imaging region, target part be part of the user in the target object that first direction can not be observed, first direction be from Direction of the family through terminal device to target object.
It should be noted that the image that the image acquired in real time can be completed for captured in real-time, can also also be terminal device Camera preview (preview image can not be shown in display screen) image, the embodiment of the present invention do not limit this specifically It is fixed.
The background image that terminal device current interface is shown is updated to the first image by S202, terminal device.
Optionally, terminal device current interface can be terminal device homepage, or terminal device some answer Interface, or terminal device does not limit this specifically in the interface of shooting interface acquisition image, the embodiment of the present invention It is fixed.
It should be noted that the interface when terminal device current interface in the embodiment of the present invention can be split screen display available, Or the interface that smaller screen mode is shown, or the interface that screen mode toggle is shown, the embodiment of the present invention do not make this to have Body limits.
Optionally, if terminal device current interface is the interface of split screen display available, terminal device can make the first image It, can also be using the first image as the background image of the corresponding half screen in the region operated for the background image of entire screen; If terminal device sets the interface that current interface shows as smaller screen mode, terminal device can be using the first image as entire screen Background image, can also be using the first image as the background image in smaller screen region;The embodiment of the present invention does not limit this specifically It is fixed.
It should be noted that terminal device can be when screen be bright, terminal device can also become detecting position When change or terminal device detects the operation on display screen, and the position of terminal device changes, and executes the present invention and implements The image display method that example provides sets the first image update for terminal according to the real time scene of camera preview or shooting The background image that standby current interface is shown, the embodiment of the present invention do not limit specifically for when terminal device executes the above method It is fixed.
It is appreciated that user can open the function in the set interface in terminal device, the function can also be closed.
Image display method provided in an embodiment of the present invention, firstly, terminal device obtains the first image, which is Image in the first object region for the second image that terminal device acquires in real time.Then, terminal device is current by terminal device The background image of interface display is updated to the first image.Since terminal device is the second image acquired in real time according to terminal device First object region in the background image that determines of image, and first object region is the mesh in the second image in target object In the imaging region of terminal device position, target part is the target pair that user can not observe along first direction for mark part Part as in, first direction are the direction from user through terminal device to target object.That is, first image is eventually End equipment blocks the image of the true environment of user's sight, therefore, on the one hand, the back that terminal device uses in the embodiment of the present invention Scape image can be different and different according to collected practical scenery, set using fixed image as terminal compared to existing The more flexible multiplicity of the mode of standby background image;On the other hand, during user walks, according to the image acquired in real time Determining background image user may also be prompted whether barrier or danger, and user is reminded to be concerned only with terminal in the process of walking Device display screen and be likely to be in relatively hazardous environment so that user using terminal equipment walk during more pacify Entirely, to improve user experience.
Optionally, terminal device can first pre-process the realtime graphic after acquiring realtime graphic, then will pretreatment Background image of the image afterwards as terminal device current interface can specifically refer to following implementations.
In a kind of possible implementation, the image display method of the embodiment of the present invention before S201, as shown in figure 3, Can also include S203 and S204:
S203, terminal real-time image acquisition.
S204, terminal device determine first object region in the second image acquired in real time.
In turn, the S201 in above-mentioned image display method can also be executed by S201a:
S201a, terminal device are using the image in first object region as the first image.
Wherein, first object region is the target part in target object in the second image in terminal device position Imaging region, target part be part of the user in the target object that first direction can not be observed, first direction be from Direction of the family through terminal device to target object.
It is appreciated that the target object that user can not observe through terminal device is partially shown in terminal by terminal device In the display screen of equipment, user can be made to observe the practical scene blocked by terminal device by background image, when by end The road surface that end equipment is blocked is dangerous (such as there is barrier on road surface, puddle, collapses), then by the figure in first object region As being used as the first image, outdoor scene can be more nearly.
Illustratively, Fig. 4 is a kind of imaging schematic diagram provided in an embodiment of the present invention, and as shown in Figure 4, five-pointed star is located at A point, terminal device are located at B point, and user is located at C point, then user is direction of the C to B by terminal device to the direction of five-pointed star, Then as shown in Figure 4, user is only capable of seeing the angle of top one of five-pointed star by the terminal device of B point, i.e., between L1 to L2 Five-pointed star where zone user can not observe that then the shape of target part (can lack for shape shown in B point in figure One angle).
Based on the program, terminal device real-time image acquisition, terminal device can first obtain the second image acquired in real time, Then, terminal device determines first object region from second image, and last terminal device is by the figure in first object region As being used as the first image, the background image that terminal device current interface is shown is updated to first image, due to first image The image of user's sight is blocked for terminal device, therefore, on the one hand, if user's if desired using terminal in practical walking process Equipment can show actual road conditions to user, if there are barrier or Uneven roads etc. for front region, can remind use It takes care at family;On the other hand, by the way of compared to the existing image using fixation as the background image of terminal device more Add versatile and flexible.
In a kind of possible implementation, the embodiment of the present invention provides the S204 in image display method, can specifically lead to S204a and S204b is crossed to execute.
S204a, terminal device obtain first distance numerical value and second distance numerical value.
Wherein, first distance numerical value is used to indicate the distance between terminal device and user, and second distance numerical value is for referring to Show the distance between terminal device and target object.
Specifically, first distance numerical value can serve to indicate that the distance between terminal device and eyes of user.
Optionally, in the embodiment of the present invention, terminal device can using time airmanship (time of flight, TOF distance) is measured.Wherein, the TOF module in front camera can be with the distance between measuring terminals equipment and user, postposition TOF module in camera can be with the distance between measuring terminals equipment and target object.
S204b, terminal device according to first distance numerical value, second distance numerical value, the size of terminal device and environmental model, First object region is determined in the second image.
Wherein, environmental model is used to indicate the pass of the position between the acquisition target, terminal device and user of terminal device System.
It should be noted that the environmental model in the embodiment of the present invention can be 3D model, terminal device is getting end The size of the distance between end equipment and the distance values of acquisition target, terminal device and user numerical value and the terminal device Later, terminal device can establish a virtual positional relationship, and terminal device is according to the good acquisition target of the 3D model foundation, end Positional relationship between end equipment and user, terminal device can determine the portion blocked in acquisition target by the terminal device Point, and then terminal device can be made to determine the first object region in the second image after acquiring the second image.
Based on the program, terminal device first obtain first distance numerical value (that is, the distance between terminal device and user) and Second distance numerical value (that is, the distance between terminal device and target object).Then, terminal device is according to the first distance of acquisition Numerical value, second distance numerical value, the size of terminal device and environmental model can determine first object region in the second image.
A kind of mode in the cards, the S201a in image display pattern provided in an embodiment of the present invention, can specifically lead to Cross S201a1-S201a3 execution:
S201a1, terminal device obtain the first ratio.
Wherein, the first ratio is the ratio of second distance numerical value and first distance numerical value.
S201a2, terminal device determine target size according to the size of the first ratio and terminal device.
Optionally, in this scenario, target size may include long and wide.
Specifically, terminal device can determine target size according to preset formula: a2=(1+K) a1.Wherein, when a1 is eventually End equipment it is long when, a2 be target size in length;When a1 is the width of terminal device, a2 is the width in target size, K the One ratio.
It is appreciated that target size is the ruler that the target part shown in terminal device is imaged in terminal device position It is very little.
Image in first object region is amplified to after target size as the first image by S201a3, terminal device.
It is appreciated that in the embodiment of the present invention, it, can also be directly full frame after determining first object region in the second image Show the image in the first object region.
It should be noted that in the embodiment of the present invention, only to cover the part area of object at the top and bottom of terminal device Domain, the two sides of terminal device are illustrated for all covering object, and in practical applications, user observes not by terminal device To subject area may include the whole region of the object, it is real-time can to determine that the mode of size is determined with reference to above-described embodiment It include the whole region in the image of acquisition in the target size of terminal device position, details are not described herein.
Based on the program, terminal device can be according to the ratio and terminal device of second distance numerical value and first distance numerical value Size determine a target size, then the image in first object region is amplified to after target size as the first figure Picture.Due to the target size be terminal device according to the distance between terminal device and target object, terminal device and user it Between the ratio of distance and the size of terminal device determine method, therefore, which can characterize, above-mentioned target part The actual size that user's naked eyes are seen in terminal device position, therefore the target portion of the target object shown in the first image Divide and be more nearly the size that user arrives in terminal device position actual observation, so that it is one that user, which experiences terminal device, The impression of transparent equipment, to improve user experience.
In a kind of possible implementation, the S201a2 in image display method provided in an embodiment of the present invention can also lead to Cross S201a4 execution:
S201a4, terminal device determine target size according to the first ratio, the size of terminal device and target angle.
Wherein, target angle is the angle where the front of terminal device between plane and horizontal plane.
It is understood that in practical applications, terminal device is usually horizontal by one when user's using terminal equipment In the embodiment of the present invention, target angle can also be added, so that spatial model in fixed angle in above-mentioned environmental model More accurately characterize the relative positional relationship between the acquisition target, terminal device and user of terminal device.
Illustratively, Fig. 5 is a kind of target angle schematic diagram provided in an embodiment of the present invention.As shown in figure 5, acquisition target Positioned at A point region, terminal device is located at B point region, and the eyes of user are located at C point region, work as terminal device Front and horizontal plane between angle when being 90 degree, when user is observed between straight line L1 straight line L2 by terminal device, adopt Integrate the shape that object is blocked by terminal device as shape shown in P1.Wherein, the target in the first image that terminal device is shown The shape of object is shape shown in P1, and the size of target object is size shown in P1.When terminal device is still located on B point, And the angle between the front and horizontal plane of terminal device is θ1When, user is by terminal device between straight line L2 and straight line L3 When observation, the shape that acquisition target is blocked by terminal device is shape shown in P2.Wherein, the first image that terminal device is shown In the shape of target object be shape shown in P2, the size of target object is size shown in P2.
Based on the program, terminal device when determining target size, can in conjunction with terminal device front where plane with The size of the first ratio and terminal device in angle and above scheme between horizontal plane, due to the variation of corner dimension Therefore the size for also resulting in the region that user does not observe by terminal device determines target size more in conjunction with the angle Accurately, so that the first image that terminal device is determined according to the target size, can be more nearly the macroscopic reality of user Image improves user experience so that the transparent feel that user experiences terminal device is stronger.
A kind of possible implementation, image display method provided in an embodiment of the present invention can also wrap before S202 Include S205 and S206:
S205, terminal device use eyeball tracking technology, obtain view of the user on the background image that current interface is shown Feel center.
It is understood that in the embodiment of the present invention " user is in the vision on the background image that current interface is shown The heart " is in full screen display, it is understood that the center watched on the display screen of terminal device for eyes of user.
It should be noted that when terminal device full screen display, view of the user on the background image that current interface is shown Feel center can be located on entire screen in region, when terminal device split screen display available, background that user shows in current interface Optic centre on image can be located in one of in the region of split screen, when terminal device is with the display of smaller screen mode, user It can be located in the smaller screen region in the optic centre on the background image that current interface is shown, terminal device can be according to end The actual conditions that end equipment is shown determine optic centre and carry out the processing of next step, and the embodiment of the present invention is for user current Which position is optic centre on the background image of interface display, which be particularly located at, is not especially limited.
S206, the terminal device point centered on optic centre are successively blurred using virtualization technology according to different fog-levels Handle multiple second target areas.
Wherein, multiple second target areas are in the first image by the center of circle of optic centre and annulus that radius is different Domain.
It is appreciated that it is smaller apart from the nearlyr fog-level of optic centre, it is bigger apart from the remoter fog-level of optic centre.
It should be noted that using optic centre as the center of circle in the first image, using preset length as first circle of radius Image in region does not blur.The empirical value when preset length can be according to human eye observation object is determining, the present invention couple It is not especially limited in the occurrence of preset length.
Optionally, the width of each annular region can be identical, can also be different;The width of each annular region can With with more and more remoter apart from optic centre, width is more and more wider;The present invention is not especially limit this.
Fig. 6 is a kind of interface schematic diagram provided in an embodiment of the present invention, and terminal device is recognized using eyeball tracking technology User can be the optic centre O as shown in (a) in Fig. 6 in the optic centre on the background image that current interface is shown1, It can be the optic centre O as shown in (a) in Fig. 62.Wherein, optic centre O1Positioned at the upper left corner area of display screen, vision Center O2Positioned at the central area of display screen.Terminal device is to according to each annular shown in (b) in (a) or Fig. 6 in Fig. 6 Region is blurred with different fog-levels, wherein the region on the boundary of outermost annular region to the boundary of display screen can adopt It is blurred with the same fog-level.
It should be noted that in this scenario, if user shoots image at shooting interface, can not use of the invention real The image display method of example offer is provided, if user, which opens the selection of shooting interface, does not shoot image, obtains first in terminal device The first image can also be blurred using above-mentioned virtualization processing after image.
Optionally, terminal device can also render the first image before showing the first image, so that the first figure The 3D sense of picture is stronger.
Based on the program, after terminal device has determined the first image, terminal device can be shown by current interface Background image be updated to before the first image, terminal device can first use eyeball tracking technology, obtain user and working as prezone The optic centre on background image that face is shown, the then point centered on the optic centre of acquisition, using virtualization technology, according to not Multiple second target areas of processing are successively blurred with fog-level, the visual effect of the observation of human eye can be simulated, so that user It is stronger that the impression that terminal device is a transparent equipment is experienced in using terminal equipment, to improve user experience.
Fig. 7 is a kind of possible structural schematic diagram of terminal device provided in an embodiment of the present invention, as shown in fig. 7, terminal is set Standby 700 include: to obtain module 701 and display module 702;Module 701 is obtained, for obtaining the first image, the first image is eventually Image in the first object region for the second image that end equipment acquires in real time;Display module 702, for terminal device is current The background image of interface display is updated to obtain the first image that module 701 obtains;Wherein, first object region is the second image Target part in middle target object terminal device position imaging region, target part be user along first direction without The part in target object that method is observed, first direction are the direction from user through terminal device to target object.
Optionally, in conjunction with Fig. 7, as shown in figure 8, terminal device 700 further includes determining module 703;Module 701 is obtained, also For before obtaining the first image, real-time image acquisition;Determining module 703, for true in the second image acquired in real time Determine first object region;Module 701 is obtained, specifically for making the image in the determining first object region of determining module 703 For the first image.
Optionally, determining module 703 is specifically used for: obtaining first distance numerical value and second distance numerical value, first distance number Value is used to indicate the distance between terminal device and user, and second distance numerical value is used to indicate between terminal device and target object Distance;According to first distance numerical value, second distance numerical value, the size of terminal device and environmental model, in the second image really Determine first object region, environmental model is used to indicate the position between the acquisition target, terminal device and user of terminal device Relationship.
Optionally, it obtains module 701 to be specifically used for: obtaining the first ratio, the first ratio is second distance numerical value and first The ratio of distance values;According to the size of the first ratio and terminal device, target size is determined;By the figure in first object region As being amplified to after target size as the first image.
Optionally, determining module 703 is specifically used for: according to the first ratio, the terminal device 700 for obtaining the acquisition of module 701 Size and target angle, determine target size;Wherein, target angle is plane where the front of terminal device 700 and level Angle between face.
Optionally, in conjunction with Fig. 7, as shown in figure 9, terminal device 700 further includes processing module 704;Module 701 is obtained, also For the background image that terminal device current interface is shown to be updated between the first image in display module 702, using eyeball Tracer technique obtains optic centre of the user on the background image that current interface is shown;Processing module 704, for vision Point centered on center successively blurs multiple second target areas of processing, Duo Ge according to different fog-levels using virtualization technology Two target areas are in the first image by the center of circle of optic centre and annular region that radius is different.
Terminal device 700 provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is each A process, to avoid repeating, which is not described herein again.
Terminal device provided in an embodiment of the present invention, firstly, terminal device obtains the first image, which is terminal Image in the first object region for the second image that equipment acquires in real time.Then, terminal device is by terminal device current interface The background image of display is updated to the first image.And first object region exists for the target part in target object in the second image The imaging region of terminal device position, target part are portion of the user in the target object that first direction can not be observed Point, first direction is the direction from user through terminal device to target object.That is, first image is terminal device gear The firmly image of the true environment of user's sight, therefore, on the one hand, the background image that terminal device uses in the embodiment of the present invention can With different and different according to collected practical scenery, compared to the existing background using fixed image as terminal device The more flexible multiplicity of the mode of image;On the other hand, during user walks, according to the determining back of the image acquired in real time Scape image user may also be prompted whether barrier or danger, and user is reminded to pay close attention to terminal device display screen in the process of walking And be likely to be in relatively hazardous environment, so that user is safer during using terminal equipment is walked, to improve User experience.
A kind of hardware structural diagram of Figure 10 terminal device of each embodiment to realize the present invention, the terminal device 100 include but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111 etc. Component.It will be understood by those skilled in the art that terminal device structure shown in Figure 10 does not constitute the restriction to terminal device, Terminal device may include perhaps combining certain components or different component layouts than illustrating more or fewer components.? In the embodiment of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal Equipment, wearable device and pedometer etc..
Wherein, sensor 105, for obtaining the first image, wherein the first image is second that terminal device acquires in real time Content in the first object region of image;Display unit 106, the background image for showing terminal device current interface is more It is newly the first image;Wherein, first object region is the target part in target object in the second image where terminal device The imaging region of position, target part are part of the user in the target object that first direction can not be observed, first direction For the direction from user through terminal device to target object.
Terminal device provided in an embodiment of the present invention, firstly, terminal device obtains the first image, which is terminal Image in the first object region for the second image that equipment acquires in real time.Then, terminal device is by terminal device current interface The background image of display is updated to the first image.Since terminal device is the second image acquired in real time according to terminal device The background image that image in one target area determines, and first object region is the target portion in the second image in target object Divide the imaging region in terminal device position, target part is user along the target object that first direction can not be observed Part, first direction is direction from user through terminal device to target object.That is, first image sets for terminal The image of the standby true environment for blocking user's sight, therefore, on the one hand, the Background that terminal device uses in the embodiment of the present invention Picture can be different and different according to collected practical scenery, compared to the existing image using fixation as terminal device The more flexible multiplicity of the mode of background image;On the other hand, it during user walks, is determined according to the image acquired in real time Background image user may also be prompted whether barrier or danger, remind user to pay close attention to terminal device in the process of walking aobvious Display screen and be likely to be in relatively hazardous environment so that user using terminal equipment walk during it is safer, thus Improve user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 10, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal device, in conjunction with Figure 10, including processor 110, memory 109, it is stored in the computer program that can be run on memory 109 and on processor 110, the computer program is by processor 110 realize each process of above-mentioned image display method embodiment when executing, and can reach identical technical effect, to avoid weight Multiple, which is not described herein again.
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, ROM), random access memory (Random Access Memory, RAM), magnetic disk Or CD 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 device (can be mobile phone, computer, clothes Business device, air conditioner or the 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 (10)

1. a kind of image display method is applied to terminal device, which is characterized in that the described method includes:
The first image is obtained, the first image is in the first object region for the second image that the terminal device acquires in real time Image;
The background image that the terminal device current interface is shown is updated to the first image;
Wherein, the first object region is the target part in target object in second image in the terminal device institute Imaging region in position, the target part are portion of the user in the target object that first direction can not be observed Point, the first direction is from user through the terminal device to the direction of the target object.
2. the method according to claim 1, wherein before obtaining the first image, the method also includes:
Real-time image acquisition;
The first object region is determined in second image acquired in real time;
The first image of the acquisition, comprising:
Using the image in the first object region as the first image.
3. according to the method described in claim 2, it is characterized in that, described determine institute in second image acquired in real time State first object region, comprising:
It obtains first distance numerical value and second distance numerical value, the first distance numerical value is used to indicate the terminal device and user The distance between, the second distance numerical value is used to indicate the distance between the terminal device and the target object;
According to the size and environmental model of the first distance numerical value, the second distance numerical value, the terminal device, described The first object region is determined in second image, the environmental model is used to indicate the acquisition target of the terminal device, institute State the positional relationship between terminal device and user.
4. according to the method described in claim 3, it is characterized in that, the image using in the first object region is as institute State the first image, comprising:
The first ratio is obtained, first ratio is the ratio of the second distance numerical value and the first distance numerical value;
According to the size of first ratio and the terminal device, target size is determined;
Image in the first object region is amplified to after the target size as the first image.
5. according to the method described in claim 4, it is characterized in that, described according to first ratio and the terminal device Size determines target size, comprising:
According to first ratio, the size of the terminal device and target angle, the target size is determined;
Wherein, the target angle is the angle where the front of the terminal device between plane and horizontal plane.
6. method according to any one of claims 1-5, which is characterized in that shown by the terminal device current interface The background image shown is updated to before the first image, the method also includes:
Using eyeball tracking technology, optic centre of the user on the background image that current interface is shown is obtained;
The point centered on the optic centre successively blurs processing multiple second according to different fog-levels using virtualization technology Target area, the multiple second target area are in the first image by the center of circle of the optic centre and radius is different Annular region.
7. a kind of terminal device, which is characterized in that the terminal device includes: to obtain module and display module;
The acquisition module, for obtaining the first image, the first image is the second figure that the terminal device acquires in real time Image in the first object region of picture;
The display module, the background image for showing the terminal device current interface are updated to the acquisition module and obtain The first image taken;Wherein, the first object region is that the target part in second image in target object exists The imaging region of the terminal device position, the target part are the mesh that user can not observe along first direction The part in object is marked, the first direction is from user through the terminal device to the direction of the target object.
8. terminal device according to claim 7, which is characterized in that the terminal device further includes determining module;
The acquisition module is also used to before obtaining the first image, real-time image acquisition;
The determining module, for determining the first object region in second image acquired in real time;
The acquisition module, specifically for using the determining module determine the first object region in image as described in First image.
9. a kind of terminal device, which is characterized in that the terminal device includes processor, memory and is stored in the memory Computer program that is upper and can running on the processor, is realized when the computer program is executed by the processor as weighed Benefit requires the step of image display method described in any one of 1-6.
10. 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 of any of claims 1-6 Step.
CN201811419096.XA 2018-11-26 2018-11-26 A kind of image display method and terminal device Pending CN109614184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419096.XA CN109614184A (en) 2018-11-26 2018-11-26 A kind of image display method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419096.XA CN109614184A (en) 2018-11-26 2018-11-26 A kind of image display method and terminal device

Publications (1)

Publication Number Publication Date
CN109614184A true CN109614184A (en) 2019-04-12

Family

ID=66004750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419096.XA Pending CN109614184A (en) 2018-11-26 2018-11-26 A kind of image display method and terminal device

Country Status (1)

Country Link
CN (1) CN109614184A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418059A (en) * 2019-07-30 2019-11-05 联想(北京)有限公司 Applied to the image processing method of electronic equipment, device, electronic equipment, medium
CN112019960A (en) * 2019-05-28 2020-12-01 深圳市冠旭电子股份有限公司 Method for monitoring scenes by utilizing earphone, device and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957712A (en) * 2010-05-26 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Display control method, system and mobile terminal for displaying interface background picture
CN202133993U (en) * 2011-06-25 2012-02-01 北京播思软件技术有限公司 Desktop background display processing device of mobile terminal
CN103559007A (en) * 2013-10-17 2014-02-05 三星电子(中国)研发中心 Method and device for dynamically generating screen wallpaper
CN103927165A (en) * 2014-03-20 2014-07-16 小米科技有限责任公司 Wallpaper picture processing method and device
CN104679384A (en) * 2015-01-29 2015-06-03 深圳市中兴移动通信有限公司 Interface display control method and device
CN105824612A (en) * 2015-11-26 2016-08-03 维沃移动通信有限公司 Safety indication method and mobile terminal
CN106547355A (en) * 2016-11-03 2017-03-29 北京小米移动软件有限公司 A kind of display packing and device of entering method keyboard
CN107347116A (en) * 2017-06-30 2017-11-14 北京金山安全软件有限公司 Desktop effect generation method and device and electronic equipment
CN108021300A (en) * 2018-01-18 2018-05-11 京东方科技集团股份有限公司 A kind of picture display process and picture display device
CN108255554A (en) * 2017-12-25 2018-07-06 广州久邦世纪科技有限公司 A kind of transparent wall paper system and its implementation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957712A (en) * 2010-05-26 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Display control method, system and mobile terminal for displaying interface background picture
CN202133993U (en) * 2011-06-25 2012-02-01 北京播思软件技术有限公司 Desktop background display processing device of mobile terminal
CN103559007A (en) * 2013-10-17 2014-02-05 三星电子(中国)研发中心 Method and device for dynamically generating screen wallpaper
CN103927165A (en) * 2014-03-20 2014-07-16 小米科技有限责任公司 Wallpaper picture processing method and device
CN104679384A (en) * 2015-01-29 2015-06-03 深圳市中兴移动通信有限公司 Interface display control method and device
CN105824612A (en) * 2015-11-26 2016-08-03 维沃移动通信有限公司 Safety indication method and mobile terminal
CN106547355A (en) * 2016-11-03 2017-03-29 北京小米移动软件有限公司 A kind of display packing and device of entering method keyboard
CN107347116A (en) * 2017-06-30 2017-11-14 北京金山安全软件有限公司 Desktop effect generation method and device and electronic equipment
CN108255554A (en) * 2017-12-25 2018-07-06 广州久邦世纪科技有限公司 A kind of transparent wall paper system and its implementation
CN108021300A (en) * 2018-01-18 2018-05-11 京东方科技集团股份有限公司 A kind of picture display process and picture display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷依里,郑毅编著: "《微单圣经》", 31 August 2014, 中国青年出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019960A (en) * 2019-05-28 2020-12-01 深圳市冠旭电子股份有限公司 Method for monitoring scenes by utilizing earphone, device and readable storage medium
CN110418059A (en) * 2019-07-30 2019-11-05 联想(北京)有限公司 Applied to the image processing method of electronic equipment, device, electronic equipment, medium

Similar Documents

Publication Publication Date Title
CN108182896B (en) A kind of brightness detection method, device and mobile terminal
CN108989678A (en) A kind of image processing method, mobile terminal
CN109857495A (en) A kind of display control method and terminal device
CN109977845A (en) A kind of drivable region detection method and car-mounted terminal
CN109241832A (en) A kind of method and terminal device of face In vivo detection
CN108289151A (en) A kind of operating method and mobile terminal of application program
CN110069180A (en) A kind of function control method and terminal device
CN109656437A (en) A kind of information display method and terminal device
CN109257505A (en) A kind of screen control method and mobile terminal
CN109669611A (en) Fitting method and terminal
CN109151176A (en) A kind of information acquisition method and terminal
CN109544445A (en) A kind of image processing method, device and mobile terminal
CN109005314A (en) A kind of image processing method and terminal
CN109614184A (en) A kind of image display method and terminal device
CN110505279A (en) The method and apparatus of delay is set
CN108833791A (en) A kind of image pickup method and device
CN109443261A (en) The acquisition methods and mobile terminal of Folding screen mobile terminal folding angles
CN109327568A (en) A kind of method and mobile terminal switching camera
CN109933267A (en) The method and terminal device of controlling terminal equipment
CN109756630A (en) A kind of screen control method and terminal device
CN109117037A (en) A kind of method and terminal device of image procossing
CN109471119A (en) A kind of method and terminal device controlling power consumption
CN109348212A (en) A kind of picture noise determines method and terminal device
CN108898000A (en) A kind of method and terminal solving lock screen
CN110493451A (en) A kind of data transmission method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412

RJ01 Rejection of invention patent application after publication