CN104750389A - Picture displaying method and device - Google Patents

Picture displaying method and device Download PDF

Info

Publication number
CN104750389A
CN104750389A CN201510147582.0A CN201510147582A CN104750389A CN 104750389 A CN104750389 A CN 104750389A CN 201510147582 A CN201510147582 A CN 201510147582A CN 104750389 A CN104750389 A CN 104750389A
Authority
CN
China
Prior art keywords
parameter
picture
original
display screen
target photo
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
CN201510147582.0A
Other languages
Chinese (zh)
Other versions
CN104750389B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510147582.0A priority Critical patent/CN104750389B/en
Publication of CN104750389A publication Critical patent/CN104750389A/en
Application granted granted Critical
Publication of CN104750389B publication Critical patent/CN104750389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a picture displaying method. The method comprises the following steps that a gesture operation instruction of a user for an original panorama picture displayed by a terminal display screen is received; according to the gesture operation instruction and a preset function, the original panorama picture is bent to form a target picture, and the target picture is displayed on the terminal display screen. The invention further discloses a picture displaying device. The original panorama picture is bent according to the gesture operation instruction and the preset function, and the formed target picture is displayed in a panorama mode, so that a user views details of the browsed picture in the mode of magnifying the picture when browsing the picture and also masters the panorama picture on the whole, the user can better browse the picture conveniently, and the picture can be displayed more attractively and gorgeously.

Description

The method Showed Picture and device
Technical field
The present invention relates to technical field of picture display, particularly relate to the method and device that Show Picture.
Background technology
Due to the restriction of mobile terminal display screen physical size, making the physical size of photo captured by current mobile terminal, be greater than photo display size on mobile terminals, making, for when needing certain details of checking photo, to need enlarged photograph.At present, the mode of mobile terminal enlarged photograph has two kinds, and first method is that photo checked by horizontal screen, and the method is still subject to the restriction of display screen physical size; Second method is, geometric ratio amplifies whole photo, causes display screen to show the local of whole photo, although the method can be known see topography, will be unfavorable for the assurance of user to whole photo.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of method Showed Picture, and when being intended to solution mobile terminal be checked photo, clarity of detail and entirety hold technical matters that can not be unified.
For achieving the above object, a kind of method Showed Picture provided by the invention, described in the method that Shows Picture comprise the following steps:
Receive user to the gesture operation instruction of the original panoramic picture that terminal display screen shows;
Bend described original panoramic picture according to described gesture operation instruction and default function and form Target Photo, and panorama shows described Target Photo on terminal display screen.
Preferably, the described gesture operation instruction according to correspondence and the function preset amplify described original panoramic picture and form Target Photo, and the step that panorama shows described Target Photo on terminal display screen specifically comprises:
Obtain the original size parameter of described original panoramic picture, original-shape parameter, and the dimensional parameters of display screen;
Obtain the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Generate the direction parameter of described Target Photo distortion according to the direction of described displacement, generate the zooming parameter of described Target Photo distortion according to the size of described displacement;
According to described original size parameter, described original-shape parameter, the dimensional parameters of described display screen, described direction parameter, described zooming parameter, and described function, generate described Target Photo.
Preferably, the described dimensional parameters according to direction parameter, described zooming parameter, described original size parameter, described original-shape parameter, described display screen, generates described Target Photo and specifically comprises:
The target size parameter of described Target Photo is generated according to the dimensional parameters of described original size parameter and described display screen;
The target shape parameter of described Target Photo is generated according to described original-shape parameter and described zooming parameter;
Described Target Photo is generated to predeterminated position according to described target size parameter, described target shape parameter and described direction parameter.
Preferably, described function is mapping function, describedly bends described original panoramic picture according to gesture operation instruction and the function preset and forms Target Photo, and the step that panorama shows described Target Photo on terminal display screen specifically comprises:
Obtain the original size parameter of described original panoramic picture, original-shape parameter, and the dimensional parameters of display screen;
Obtain the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Generate the direction parameter of described Target Photo distortion according to the direction of described displacement, generate the zooming parameter of described Target Photo distortion according to the size of described displacement;
Obtain the location parameter of described original panoramic picture in display screen;
Datum line is generated according to described location parameter and default create-rule;
By described original panoramic picture with described location parameter and described datum line for reference, generate Target Photo according to described mapping function;
The direction of described Target Photo is adjusted according to described direction parameter; The size of described Target Photo is adjusted according to the dimensional parameters of described original size parameter and described display screen; The shape of described Target Photo is adjusted, to make the panorama display on terminal display screen of described Target Photo according to described original-shape parameter and described zooming parameter.
Preferably, also comprise before the step of the gesture operation instruction of original panoramic picture terminal display screen shown described reception user:
Judge that whether the length direction of described original panoramic picture is identical with the length direction of display screen;
When the length direction of described original panoramic picture is not identical with the length direction of described display screen, rotate described original panoramic picture extremely, the length direction of described original panoramic picture is identical with the length direction of described display screen.
Preferably, described judge the step whether length direction of original panoramic picture identical with the length direction of display screen before also comprise:
Judge whether that receiving user starts the instruction that panorama amplifies picture;
When receiving user and starting the instruction of panorama amplification picture, judge that whether the length direction of described original panoramic picture is identical with the length direction of display screen.
In addition, for achieving the above object, the present invention also proposes a kind of device Showed Picture.
The device Showed Picture, described in the device that Shows Picture comprise:
Receiver module, for receiving the gesture operation instruction of user to the original panoramic picture that terminal display screen shows;
Generation module, form Target Photo, and panorama shows described Target Photo on terminal display screen for bending described original panoramic picture according to described gesture operation instruction and default function.
Preferably, described generation module comprises:
First acquiring unit, for obtaining original size parameter, the original-shape parameter of described original panoramic picture, and the dimensional parameters of described display screen;
Second acquisition unit, for obtaining the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
First forming unit, for forming the direction parameter of described Target Photo distortion according to the direction of described displacement, forms the zooming parameter of described Target Photo distortion according to the size of described displacement;
First generation unit, for according to described original size parameter, described original-shape parameter, the dimensional parameters of described display screen, described direction parameter, described zooming parameter, and described function, generate described Target Photo.
Preferably, described first generation unit comprises:
First computation subunit, for generating the target size parameter of described Target Photo according to the dimensional parameters of described original size parameter and described display screen;
Second computation subunit, for generating the target shape parameter of described Target Photo according to described original-shape parameter and described zooming parameter;
Generate subelement, generate described Target Photo to predeterminated position according to described target size parameter, described target shape parameter and described direction parameter.
Preferably, described generation module comprises:
3rd acquiring unit, for obtaining original size parameter, the original-shape parameter of described original panoramic picture, and the dimensional parameters of display screen;
4th acquiring unit, for obtaining the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Second forming unit, for generating the direction parameter of described Target Photo distortion according to the direction of described displacement, generates the zooming parameter of described Target Photo distortion according to the size of described displacement;
5th acquiring unit, for obtaining the location parameter of described original panoramic picture in display screen;
3rd forming unit, for generating datum line according to described location parameter and default create-rule;
Second generation unit, for by described original panoramic picture with described location parameter and described datum line for reference, generate Target Photo according to described mapping function;
Adjustment unit, for adjusting the direction of described Target Photo according to described direction parameter; The size of described Target Photo is adjusted according to the dimensional parameters of described original size parameter and described display screen; The shape of described Target Photo is adjusted, to make the panorama display on terminal display screen of described Target Photo according to described original-shape parameter and described zooming parameter.
Preferably, the device Showed Picture described in also comprises:
First judge module, whether the length direction for the length direction with display screen that judge described original panoramic picture is identical;
Rotary module, for when the length direction of described original panoramic picture is not identical with the length direction of described display screen, rotate described original panoramic picture extremely, the length direction of described original panoramic picture is identical with the length direction of described display screen.
Preferably, the device Showed Picture described in also comprises:
Second judge module, for judging whether that receiving user starts the instruction that panorama amplifies picture;
Start module, for when receiving user and starting the instruction of panorama amplification picture, described first judge module judges that whether the length direction of described original panoramic picture is identical with the length direction of display screen.
The method Showed Picture that the present invention proposes and device, by bending original panoramic picture according to gesture operation instruction and default function, and by the Target Photo panorama display formed, make user when browsing pictures, while viewed picture detail can being checked by the form of amplifying picture, again can the overall panorama holding picture, be conducive to the better browsing pictures of user, and it is more attractive in appearance, gorgeous that picture can be made to show.
Accompanying drawing explanation
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic diagram of original panoramic pictures in the method and apparatus embodiment that Shows Picture of the present invention;
Fig. 4 is that in the method and apparatus embodiment that Shows Picture of the present invention, original panoramic pictures is shown in the schematic diagram on mobile terminal display screen;
Fig. 5 is that in the method and apparatus embodiment that Shows Picture of the present invention, original panoramic pictures is bent upwards the structural representation that distortion amplifies;
Fig. 6 is that in the method and apparatus embodiment that Shows Picture of the present invention, original panoramic pictures is bent downwardly the structural representation that distortion amplifies;
Fig. 7 is the effective schematic diagram that calculates of displacement in the method and apparatus embodiment that Shows Picture of the present invention;
Fig. 8 is the schematic flow sheet of method first embodiment that the present invention Shows Picture;
Fig. 9 is the schematic flow sheet of method second embodiment that the present invention Shows Picture;
Figure 10 is the schematic flow sheet of method the 3rd embodiment that the present invention Shows Picture;
Figure 11 is the schematic flow sheet of method the 4th embodiment that the present invention Shows Picture;
Figure 12 is the high-level schematic functional block diagram of device first embodiment that the present invention Shows Picture;
Figure 13 is the high-level schematic functional block diagram of device second embodiment that the present invention Shows Picture;
Figure 14 is the high-level schematic functional block diagram of device the 3rd embodiment that the present invention Shows Picture;
Figure 15 is the high-level schematic functional block diagram of device the 4th embodiment that the present invention Shows Picture.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO @) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in storer 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (I rDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (GPS).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating position and temporal information uses three satellites and by using the error of the position that goes out of an other satellite correction calculation and temporal information.In addition, GPS module 115 can carry out computing velocity information by Continuous plus current location information in real time.
A/V input block 120 is for audio reception or vision signal.A/V input block 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of sound signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, sound signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (U I) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in storer 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loudspeaker, hummer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Storer 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or Physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 2800MSC 280 and be constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC 280 is also constructed to form interface with the BSC 275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E 1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS 270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS 270.Or each subregion can by two or more antenna covers for diversity reception.Each BS 270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS 270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC 275 and at least one BS 270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT 295.In fig. 2, several GPS (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S 270.The data obtained are forwarded to relevant BSC 275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS 270.The data received also are routed to MSC280 by BSC 275, and it is provided for the extra route service forming interface with PSTN 290.Similarly, PSTN290 and MSC 280 forms interface, and MSC and BSC 275 forms interface, and BSC 275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communicator, each embodiment of method that the present invention Shows Picture is proposed.
The not restriction of the shape of display screen and the shape of original panoramic picture, in the present embodiment, for example illustrates technical scheme of the present invention easily, with the display screen of mobile terminal for rectangle, original panoramic picture is the rectangle picture that length is larger with wide ratio value is example.Wherein, original panoramic picture length direction has 3000 pixels, and Width has 600 pixels, then the length of original panoramic picture: width=5:1, and the resolution of mobile terminal display screen is 1080px:1920px.
As shown in Figure 8, Fig. 8 is the schematic flow sheet of method first embodiment that the present invention Shows Picture, and first embodiment of the invention proposes a kind of method Showed Picture, and comprises the following steps:
S10: receive user to the gesture operation instruction of the original panoramic picture that terminal display screen shows;
Mobile terminal receives the gesture operation instruction of user's convergent-divergent original panoramic picture, and gesture operation instruction can have a lot, and in the present embodiment, for instruction of sliding, slip instruction comprises starting point and ending point.When starting point is positioned on display screen corresponding to original panoramic picture, when terminating point is positioned on the display screen outside original panoramic picture, slip instruction represents amplifies original panoramic picture; When starting point is positioned on the display screen outside original panoramic picture, when terminating point is positioned on display screen corresponding to original panoramic picture, slip instruction represents reduces original panoramic picture.
S20: bend original panoramic picture according to gesture operation instruction and the function preset of correspondence and form Target Photo, and panorama shows described Target Photo.
Be amplification according to the walking direction that gesture operation instruction is slided or reduce original panoramic picture, the ratio zooming in or out original panoramic picture is judged according to the displacement size of gesture operation instruction slip, the shape of the Target Photo after distortion is calculated according to the function preset, in order to panorama browsing pictures, panorama display-object picture is set to the essential feature of Target Photo.Under the prerequisite of the shape and size of known original panoramic picture, according to the rule (comprising the preset function, zoom direction, the scaling that calculate Target Photo shape) of distortion, original panoramic picture is deformed into Target Photo.The function wherein preset can be quadratic function, cubic function or other higher order functionality.
Wherein zoom direction, to amplify original panoramic picture, first sets up XOY rectangular coordinate system below, on the basis of coordinate system, then describes the method problem amplifying original panoramic picture in detail.
As shown in Figure 5, set up rectangular coordinate system, move as moving right along X-axis correction method, move as being moved to the left along X-axis losing side method, move as moving up along Y-axis correction method, move as moving down along Y-axis losing side method, original panoramic picture is presented on the display screen of mobile terminal, wherein, the length direction of original panoramic picture is identical with the Width of display screen.
As shown in Figure 5, when the starting point of slip gesture is positioned on original panoramic picture, and when up sliding, original panoramic picture is up bending to be amplified; As shown in Figure 6, when the starting point of slip gesture is positioned on original panoramic picture, and when down sliding, original panoramic picture is down bending to be amplified.
In the present embodiment, by bending original panoramic picture according to gesture operation instruction and default function, and by the Target Photo panorama display formed, make user when browsing pictures, while viewed picture detail can being checked by the form of amplifying picture, again can the overall panorama holding picture, be conducive to the better browsing pictures of user, and it is more attractive in appearance, gorgeous that picture can be made to show.
As shown in Figure 9, Fig. 9 is the schematic flow sheet of method second embodiment that the present invention Shows Picture, and on the basis of above-described embodiment, step S20 comprises:
S21: the dimensional parameters obtaining the original size parameter of original panoramic picture, original-shape parameter and display screen;
Resolve original panoramic picture, and obtain original size parameter and the original-shape parameter of original panoramic picture, wherein, original-shape parameter comprises the parameter of equation and the constrain equation solution value that can represent the current shape of original panoramic picture, and original size parameter comprises the current concrete size of original panoramic picture.By original size parameter and the reducible current original panoramic picture of original-shape parameter.Particularly, as shown in Figure 3, original panoramic picture is rectangle, then can represented by many straight-line equations, and rectangular size is then limited by original size parameter.
S22: the displacement obtaining gesture operation instruction corresponding original panoramic picture Width;
With reference to Fig. 7, gesture operation instruction, in sliding process, is not necessarily slided along the positive dirction of Y-axis or negative direction, so calculate the component of gesture operation instruction along original panoramic picture Width as the displacement of gesture operation instruction.As shown in Figure 7, gesture operation instruction is effective displacement along the displacement of Y-axis positive dirction or negative direction, and namely the Y-coordinate of terminating point deducts the Y-coordinate of starting point.Such as, slide to (Xb, Yb) point from (Xa, Ya) point, then effectively displacement is p=Yb-Ya.
S23: the direction parameter generating Target Photo distortion according to the direction of displacement, generates the zooming parameter of Target Photo distortion according to the size of displacement;
When the Y-coordinate that the Y-coordinate of terminating point deducts starting point is greater than zero (Yb-Ya>0), illustrate that effective displacement that gesture operation instruction produces is the positive dirction along Y-axis, now original panoramic picture is upwards out of shape amplification; When the Y-coordinate that the Y-coordinate of terminating point deducts starting point is less than zero (Yb-Ya<0), illustrate that effective displacement that gesture operation instruction produces is the negative direction along Y-axis, now original panoramic picture is out of shape amplification downwards.The size of displacement is then as the zooming parameter of Target Photo distortion, and this zooming parameter is for calculating the function of Target Photo shape.
S24: according to original size parameter, original-shape parameter, screen size parameter, direction parameter, zooming parameter, and function, generate Target Photo.
With reference to Fig. 3 to Fig. 6, original panoramic picture length direction has 3000 pixels, and Width has 600 pixels, then the length of original panoramic picture: width=5:1, and the resolution of mobile terminal display screen is 1080px:1920px.In the present embodiment, original panoramic picture is put on display screen, when the length direction of original panoramic picture is identical with the Width of display screen, due to the restriction of display screen width, make original panoramic picture 3000 pixels be compressed in the space of 1080 pixels, now original panoramic picture be shown as 1080:216.In the present embodiment, the initial point of coordinate system is arranged on the point of intersection of original panoramic picture diagonal, if the intersection point of original panoramic picture lower sideline and Y-axis is A, be B with the intersection point on the right of display screen, then the coordinate of its A is (0 ,-b/2), the coordinate of B is (a/2 ,-b/2); The intersection point of original panoramic picture upper sideline and Y-axis is C, is D with the intersection point on the right of display screen, then the coordinate of its C is (0, b/2), and the coordinate of D is (a/2, b/2).If the warping function of the Target Photo lower sideline preset is:
y = - p ( a 2 ) 2 x 2 - p a x + p - b 2 - - - ( 1 )
Wherein, p is effective displacement of Y direction, and when up sliding, p is that just when down sliding, p is negative; A is the width dimensions of mobile terminal display screen; B is the width dimensions of original panoramic picture;
The warping function of the Target Photo upper sideline preset is:
y = - p ( a 2 ) 2 x 2 - p a x + 2 p + b 2 - - - ( 2 )
Wherein, p is effective displacement of Y direction, and when up sliding, p is that just when down sliding, p is negative; A is the width dimensions of mobile terminal display screen; B is the width dimensions of original panoramic picture;
A, B, C, D tetra-obtains A ', B ', C ', D ' after point deformation successively, then the coordinate of its A ' is (0, p-b/2), and the coordinate of B ' is (a/2 ,-p/2-b/2); The coordinate of C ' is (0,2p+b/2), and the coordinate of D ' is (a/2, p/2+b/2)
By above-mentioned parameter, obtain equation (3) for after people's equation (1), after substituting into (2), obtain equation (4):
y = - p 540 2 x 2 - p 540 x + p - 108 - - - ( 3 )
y = - p 540 2 x 2 - p 540 x + 2 p + 108 - - - ( 4 )
The shape that two long limits of equation (3), (4) and mobile terminal display screen surround is, the Target Photo of original panoramic picture after amplifying.
In the present embodiment, by according to original size parameter, original-shape parameter, screen size parameter, direction parameter, zooming parameter, and function, generate Target Photo, achieve the conversion of original panoramic picture to Target Photo.
Above-described embodiment describes how to form Target Photo, but the row of Target Photo becomes position, does not obtain clear and definite determination, introduces the mode that two kinds can be determined Target Photo position below respectively.
The first situation is, by first calculating target shape parameter and the target size parameter of Target Photo, can generate Target Photo according to above-mentioned two parameters, then generates Target Photo to the region of specifying, and determines with this position that Target Photo generates.
On the basis of above-described embodiment, step S24 specifically comprises:
First according to original size parameter, original-shape parameter, the dimensional parameters of display screen, direction parameter, zooming parameter, and function calculates target size parameter and the target shape parameter of Target Photo; Then, Target Photo is generated to predeterminated position according to target size parameter and target shape parameter.The position of presetting can be arranged on the suitable position of display screen according to the demand of user.Particularly, the target size parameter of Target Photo is generated according to the dimensional parameters of original size parameter and display screen; The target shape parameter of Target Photo is generated according to original-shape parameter and zooming parameter; Described Target Photo is generated to predeterminated position according to target size parameter, target shape parameter and direction parameter.Certainly, above-mentioned generation is all that the function by presetting realizes.
Another kind of situation is, the datum line of Target Photo is mapped to by first setting up original panoramic picture, then by original panoramic picture with set up datum line for benchmark, take warping function as transformation rule, with the dimensional parameters, location parameter, datum line, direction parameter, zooming parameter etc. of original size parameter, original-shape parameter, display screen for boundary condition, map the Target Photo generated relative to benchmark.
Particularly, on the basis of above-described embodiment, step S20 specifically comprises:
First obtain the location parameter of original panoramic picture in display screen, obtain the position of original panoramic picture in display screen; Generate datum line according to obtained location parameter and default create-rule again, namely original panoramic picture is converted into the benchmark of Target Photo; And then according to original size parameter, original-shape parameter, location parameter, datum line, direction parameter, zooming parameter, and function generates Target Photo.Particularly, obtain original size parameter, the original-shape parameter of original panoramic picture, and the dimensional parameters of display screen; Obtain the displacement of gesture operation instruction corresponding original panoramic picture Width; Generate the direction parameter of Target Photo distortion according to the direction of displacement, generate the zooming parameter of Target Photo distortion according to the size of displacement; Obtain the location parameter of original panoramic picture in display screen; Datum line is generated according to location parameter and default create-rule; By original panoramic picture with location parameter and datum line for reference, generate Target Photo according to mapping function; According to the direction of direction parameter adjustment aim picture; According to the size of the dimensional parameters adjustment aim picture of original size parameter and display screen; According to the shape of original-shape parameter and zooming parameter adjustment aim picture, to make Target Photo panorama display on terminal display screen.
Because, when the length direction of original panoramic picture is identical with the length direction of mobile terminal display screen, the display size of original image, display size time more identical with the Width of mobile terminal display screen than the length direction of original panoramic picture is large, namely, when the length direction of original panoramic picture is identical with the length direction of mobile terminal display screen, picture display clearly.Therefore, before receiving the gesture operation instruction to original panoramic picture, preferably the length direction of original panoramic picture is adjusted to identical with the length direction of display screen.
With reference to figure as shown in Figure 10, Figure 10 is the schematic flow sheet of method the 3rd embodiment that the present invention Shows Picture, and on the basis of above-described embodiment, also wraps before step S10:
S30: judge that whether the length direction of original panoramic picture is identical with the length direction of display screen;
S40: when the length direction of original panoramic picture is not identical with the length direction of display screen, rotate original panoramic picture extremely, the length direction of original panoramic picture is identical with the length direction of display screen, when the length direction of original panoramic picture is identical with the length direction of display screen, performs and receive user to the gesture operation instruction of initial picture.
In the present embodiment, by the length direction of original panoramic picture is rotated to identical with the length direction of display screen, make original panoramic picture before amplification with or maximum original size, be conducive to user to the amplification of picture with browse.
With reference to figure as shown in figure 11, Figure 11 is the schematic flow sheet of method the 4th embodiment that the present invention Shows Picture, and on the basis of above-described embodiment, also comprises before step S30:
S50: judge whether that receiving user starts the instruction that panorama amplifies picture;
When receiving user and starting the instruction of panorama amplification picture, judge that whether the length direction of original panoramic picture is identical with the length direction of display screen.In the present embodiment, only when receiving user and starting panorama amplification mode, just realize the amplification mode in above-described embodiment, when not receiving user and starting panorama amplification picture instruction, amplify picture according to existing mode.
The present invention further provides a kind of device Showed Picture.
The not restriction of the shape of display screen and the shape of original panoramic picture, in the present embodiment, for example illustrates technical scheme of the present invention easily, with the display screen of mobile terminal for rectangle, original panoramic picture is the rectangle picture that length is larger with wide ratio value is example.Wherein, original panoramic picture length direction has 3000 pixels, and Width has 600 pixels, then the length of original panoramic picture: width=5:1, and the resolution of mobile terminal display screen is 1080px:1920px.
With reference to the high-level schematic functional block diagram that Figure 12, Figure 12 are device first embodiment that the present invention Shows Picture,
A kind of device Showed Picture of the present embodiment, described device comprises:
Receiver module 10, for receiving the gesture operation instruction of user to the original panoramic picture that terminal display screen shows;
Mobile terminal receives the gesture operation instruction of user's convergent-divergent original panoramic picture, and gesture operation instruction can have a lot, and in the present embodiment, for instruction of sliding, slip instruction comprises starting point and ending point.When starting point is positioned on display screen corresponding to original panoramic picture, when terminating point is positioned on the display screen outside original panoramic picture, slip instruction represents amplifies original panoramic picture; When starting point is positioned on the display screen outside original panoramic picture, when terminating point is positioned on display screen corresponding to original panoramic picture, slip instruction represents reduces original panoramic picture.
Generation module 20, forms Target Photo for bending original panoramic picture according to the gesture operation instruction of correspondence with the function preset, and panorama display-object picture.
Be amplification according to the walking direction that gesture operation instruction is slided or reduce original panoramic picture, the ratio zooming in or out original panoramic picture is judged according to the displacement size of gesture operation instruction slip, the shape of the Target Photo after distortion is calculated according to the function preset, in order to panorama browsing pictures, panorama display-object picture is set to the essential feature of Target Photo.Under the prerequisite of the shape and size of known original panoramic picture, according to the rule (comprising the preset function, zoom direction, the scaling that calculate Target Photo shape) of distortion, original panoramic picture is deformed into Target Photo.The function wherein preset can be quadratic function, cubic function or other higher order functionality.
Wherein zoom direction, to amplify original panoramic picture, first sets up XOY rectangular coordinate system below, on the basis of coordinate system, then describes the method problem amplifying original panoramic picture in detail.
As shown in Figure 5, set up rectangular coordinate system, move as moving right along X-axis correction method, move as being moved to the left along X-axis losing side method, move as moving up along Y-axis correction method, move as moving down along Y-axis losing side method, original panoramic picture is presented on the display screen of mobile terminal, wherein, the length direction of original panoramic picture is identical with the Width of display screen.
As shown in Figure 5, when the starting point of slip gesture is positioned on original panoramic picture, and when up sliding, original panoramic picture is up bending to be amplified; As shown in Figure 6, when the starting point of slip gesture is positioned on original panoramic picture, and when down sliding, original panoramic picture is down bending to be amplified.
In the present embodiment, by bending original panoramic picture according to gesture operation instruction and default function, and by the Target Photo panorama display formed, make user when browsing pictures, while viewed picture detail can being checked by the form of amplifying picture, again can the overall panorama holding picture, be conducive to the better browsing pictures of user.
With reference to the high-level schematic functional block diagram that Figure 13, Figure 13 are device second embodiment that the present invention Shows Picture, on the basis of above-described embodiment, generation module 20 comprises:
First acquiring unit 21, for obtaining the dimensional parameters of the original size parameter of original panoramic picture, original-shape parameter and display screen;
Resolve original panoramic picture, and obtain original size parameter and the original-shape parameter of original panoramic picture, wherein, original-shape parameter comprises the parameter of equation and the constrain equation solution value that can represent the current shape of original panoramic picture, and original size parameter comprises the current concrete size of original panoramic picture.By original size parameter and the reducible current original panoramic picture of original-shape parameter.Particularly, as shown in Figure 3, original panoramic picture is rectangle, then can represented by many straight-line equations, and rectangular size is then limited by original size parameter.
Second acquisition unit 22, for obtaining the displacement of gesture operation instruction corresponding original panoramic picture Width;
With reference to Fig. 7, gesture operation instruction, in sliding process, is not necessarily slided along the positive dirction of Y-axis or negative direction, so calculate the component of gesture operation instruction along original panoramic picture Width as the displacement of gesture operation instruction.As shown in Figure 7, gesture operation instruction is effective displacement along the displacement of Y-axis positive dirction or negative direction, and namely the Y-coordinate of terminating point deducts the Y-coordinate of starting point.Such as, slide to (Xb, Yb) point from (Xa, Ya) point, then effectively displacement is p=Yb-Ya.
First forming unit 23, for forming the direction parameter of Target Photo distortion according to the direction of displacement, forms the zooming parameter of Target Photo distortion according to the size of displacement;
When the Y-coordinate that the Y-coordinate of terminating point deducts starting point is greater than zero (Yb-Ya>0), illustrate that effective displacement that gesture operation instruction produces is the positive dirction along Y-axis, now original panoramic picture is upwards out of shape amplification; When the Y-coordinate that the Y-coordinate of terminating point deducts starting point is less than zero (Yb-Ya<0), illustrate that effective displacement that gesture operation instruction produces is the negative direction along Y-axis, now original panoramic picture is out of shape amplification downwards.The size of displacement is then as the zooming parameter of Target Photo distortion, and this zooming parameter is for calculating the function of Target Photo shape.
First generation unit 24, for according to original size parameter, original-shape parameter, screen size parameter, direction parameter, zooming parameter, and function, generate Target Photo.
With reference to Fig. 3 to Fig. 6, original panoramic picture length direction has 3000 pixels, and Width has 600 pixels, then the length of original panoramic picture: width=5:1, and the resolution of mobile terminal display screen is 1080px:1920px.In the present embodiment, original panoramic picture is put on display screen, when the length direction of original panoramic picture is identical with the Width of display screen, due to the restriction of display screen width, make original panoramic picture 3000 pixels be compressed in the space of 1080 pixels, now original panoramic picture be shown as 1080:216.In the present embodiment, the initial point of coordinate system is arranged on the point of intersection of original panoramic picture diagonal, if the intersection point of original panoramic picture lower sideline and Y-axis is A, be B with the intersection point on the right of display screen, then the coordinate of its A is (0 ,-b/2), the coordinate of B is (a/2 ,-b/2); The intersection point of original panoramic picture upper sideline and Y-axis is C, is D with the intersection point on the right of display screen, then the coordinate of its C is (0, b/2), and the coordinate of D is (a/2, b/2).If the warping function of the Target Photo lower sideline preset is:
y = - p ( a 2 ) 2 x 2 - p a x + p - b 2 - - - ( 1 )
Wherein, p is effective displacement of Y direction, and when up sliding, p is that just when down sliding, p is negative; A is the width dimensions of mobile terminal display screen; B is the width dimensions of original panoramic picture;
The warping function of the Target Photo upper sideline preset is:
y = - p ( a 2 ) 2 x 2 - p a x + 2 p + b 2 - - - ( 2 )
Wherein, p is effective displacement of Y direction, and when up sliding, p is that just when down sliding, p is negative; A is the width dimensions of mobile terminal display screen; B is the width dimensions of original panoramic picture;
A, B, C, D tetra-obtains A ', B ', C ', D ' after point deformation successively, then the coordinate of its A ' is (0, p-b/2), and the coordinate of B ' is (a/2 ,-p/2-b/2); The coordinate of C ' is (0,2p+b/2), and the coordinate of D ' is (a/2, p/2+b/2)
By above-mentioned parameter, obtain equation (3) for after people's equation (1), after substituting into (2), obtain equation (4):
y = - p 540 2 x 2 - p 540 x + p - 108 - - - ( 3 )
y = - p 540 2 x 2 - p 540 x + 2 p + 108 - - - ( 4 )
The shape that two long limits of equation (3), (4) and mobile terminal display screen surround is, the Target Photo of original panoramic picture after amplifying.
In the present embodiment, by according to original size parameter, original-shape parameter, screen size parameter, direction parameter, zooming parameter, and function, generate Target Photo, achieve the conversion of original panoramic picture to Target Photo.
Above-described embodiment describes how to form Target Photo, but the row of Target Photo becomes position, does not obtain clear and definite determination, introduces the mode that two kinds can be determined Target Photo position below respectively.
The first situation is, by first calculating target shape parameter and the target size parameter of Target Photo, can generate Target Photo according to above-mentioned two parameters, then generates Target Photo to the region of specifying, and determines with this position that Target Photo generates.
On the basis of above-described embodiment, generation unit comprises 24:
First computation subunit, for generating the target size parameter of Target Photo according to the dimensional parameters of original size parameter and display screen; Second computation subunit, for generating the target shape parameter of Target Photo according to original-shape parameter and zooming parameter; Generate subelement, generate Target Photo to predeterminated position according to target size parameter, target shape parameter and direction parameter.First according to original size parameter, original-shape parameter, the dimensional parameters of display screen, direction parameter, zooming parameter, and function calculates target size parameter and the target shape parameter of Target Photo; Then, Target Photo is generated to predeterminated position according to target size parameter and target shape parameter.The position of presetting can be arranged on the suitable position of display screen according to the demand of user.
The second situation is, the datum line of Target Photo is mapped to by first setting up original panoramic picture, then by original panoramic picture with set up datum line for benchmark, take warping function as transformation rule, with the dimensional parameters, location parameter, datum line, direction parameter, zooming parameter etc. of original size parameter, original-shape parameter, display screen for boundary condition, map the Target Photo generated relative to benchmark.
On the basis of above-described embodiment, generation module 20 comprises:
3rd acquiring unit, for obtaining original size parameter, the original-shape parameter of original panoramic picture, and the dimensional parameters of display screen; 4th acquiring unit, for obtaining the displacement of gesture operation instruction corresponding original panoramic picture Width; Second forming unit, for generating the direction parameter of Target Photo distortion according to the direction of displacement, generates the zooming parameter of Target Photo distortion according to the size of displacement; 5th acquiring unit, for obtaining the location parameter of original panoramic picture in display screen; 3rd forming unit, for generating datum line according to location parameter and default create-rule; Second generation unit, for by original panoramic picture with location parameter and datum line for reference, generate Target Photo according to mapping function; Adjustment unit, for the direction according to direction parameter adjustment aim picture; According to the size of the dimensional parameters adjustment aim picture of original size parameter and display screen; According to the shape of original-shape parameter and zooming parameter adjustment aim picture, to make Target Photo panorama display on terminal display screen.First obtain the location parameter of original panoramic picture in display screen, obtain the position of original panoramic picture in display screen; Generate datum line according to obtained location parameter and default create-rule again, namely original panoramic picture is converted into the benchmark of Target Photo; And then according to original size parameter, original-shape parameter, location parameter, datum line, direction parameter, zooming parameter, and function generates Target Photo.
Because, when the length direction of original panoramic picture is identical with the length direction of mobile terminal display screen, the display size of original image, display size time more identical with the Width of mobile terminal display screen than the length direction of original panoramic picture is large, namely, when the length direction of original panoramic picture is identical with the length direction of mobile terminal display screen, picture display clearly.Therefore, before receiving the gesture operation instruction to original panoramic picture, preferably the length direction of original panoramic picture is adjusted to identical with the length direction of display screen.
With reference to the high-level schematic functional block diagram that Figure 14, Figure 14 are device the 3rd embodiment that the present invention Shows Picture, on the basis of above-described embodiment, the device Showed Picture also comprises:
First judge module 30, whether the length direction for the length direction with display screen that judge original panoramic picture is identical;
Rotary module 40, for when the length direction of original panoramic picture is not identical with the length direction of display screen, rotate original panoramic picture extremely, the length direction of original panoramic picture is identical with the length direction of display screen, when the length direction of original panoramic picture is identical with the length direction of display screen, performs and receive user to the gesture operation instruction of initial picture.
In the present embodiment, by the length direction of original panoramic picture is rotated to identical with the length direction of display screen, make original panoramic picture before amplification with or maximum original size, be conducive to user to the amplification of picture with browse.
With reference to Figure 15, Figure 15 be the high-level schematic functional block diagram of device the 4th embodiment that the present invention Shows Picture on the basis of above-described embodiment, described in the device that Shows Picture also comprise:
Second judge module 50, for judging whether that receiving user starts the instruction that panorama amplifies picture; Start module, for when receiving user and starting the instruction of panorama amplification picture, described first judge module judges that whether the length direction of described original panoramic picture is identical with the length direction of display screen.
That is, when receiving user and starting the instruction of panorama amplification picture, judge that whether the length direction of original panoramic picture is identical with the length direction of display screen.In the present embodiment, only when receiving user and starting panorama amplification mode, just realize the amplification mode in above-described embodiment, when not receiving user and starting panorama amplification picture instruction, amplify picture according to existing mode.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. the method Showed Picture, is characterized in that, described in the method that Shows Picture comprise the following steps:
Receive the gesture operation instruction of the original panoramic picture to terminal display screen display;
According to described gesture operation instruction and preset function bend described original panoramic picture formed Target Photo, and described in terminal demonstration screen display Target Photo.
2. the method Showed Picture as claimed in claim 1, it is characterized in that, the described gesture operation instruction according to correspondence and the function preset bend described original panoramic picture and form Target Photo, and the step that panorama shows described picture on terminal display screen specifically comprises:
Obtain the original size parameter of described original panoramic picture, original-shape parameter, and the dimensional parameters of display screen;
Obtain the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Generate the direction parameter of described Target Photo distortion according to the direction of described displacement, generate the zooming parameter of described Target Photo distortion according to the size of described displacement;
According to described original size parameter, described original-shape parameter, the dimensional parameters of described display screen, described direction parameter, described zooming parameter, and described function, generate described Target Photo, and panorama shows described Target Photo on terminal display screen.
3. the method Showed Picture as claimed in claim 2, it is characterized in that, the described dimensional parameters according to direction parameter, described zooming parameter, described original size parameter, described original-shape parameter, described display screen, generates described Target Photo and specifically comprises:
The target size parameter of described Target Photo is generated according to the dimensional parameters of described original size parameter and described display screen;
The target shape parameter of described Target Photo is generated according to described original-shape parameter and described zooming parameter;
Described Target Photo is generated to predeterminated position according to described target size parameter, described target shape parameter and described direction parameter.
4. the method Showed Picture as claimed in claim 1, it is characterized in that, described function is mapping function, describedly bends described original panoramic picture according to gesture operation instruction and the function preset and forms Target Photo, and the step of Target Photo specifically comprises described in terminal demonstration screen display:
Obtain the original size parameter of described original panoramic picture, original-shape parameter, and the dimensional parameters of display screen;
Obtain the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Generate the direction parameter of described Target Photo distortion according to the direction of described displacement, generate the zooming parameter of described Target Photo distortion according to the size of described displacement;
Obtain the location parameter of described original panoramic picture in display screen;
Datum line is generated according to described location parameter and default create-rule;
By described original panoramic picture with described location parameter and described datum line for reference, generate Target Photo according to described mapping function;
The direction of described Target Photo is adjusted according to described direction parameter; The size of described Target Photo is adjusted according to the dimensional parameters of described original size parameter and described display screen; The shape of described Target Photo is adjusted, to make the panorama display on terminal display screen of described Target Photo according to described original-shape parameter and described zooming parameter.
5. the method Showed Picture as claimed in claim 1, is characterized in that, also comprises before the step of the gesture operation instruction of original panoramic picture shown terminal display screen described reception user:
Judge that whether the length direction of described original panoramic picture is identical with the length direction of display screen;
When the length direction of described original panoramic picture is not identical with the length direction of described display screen, rotate described original panoramic picture identical with the length direction of described display screen to the length direction of described original panoramic picture.
6. the method Showed Picture as claimed in claim 5, is characterized in that, described judge the step whether length direction of original panoramic picture identical with the length direction of display screen before also comprise:
Judge whether that receiving user starts the instruction that panorama amplifies picture;
When receiving user and starting the instruction of panorama amplification picture, judge that whether the length direction of described original panoramic picture is identical with the length direction of display screen.
7. the device Showed Picture, is characterized in that, described in the device that Shows Picture comprise:
Receiver module, for receiving the gesture operation instruction of the original panoramic picture to terminal display screen display;
Generation module, for according to described gesture operation instruction and preset function bend described original panoramic picture formed Target Photo, and described in terminal demonstration screen display Target Photo.
8. the device Showed Picture as claimed in claim 7, is characterized in that, generation module comprises:
First acquiring unit, for obtaining original size parameter, the original-shape parameter of described original panoramic picture, and the dimensional parameters of described display screen;
Second acquisition unit, for obtaining the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
First forming unit, for forming the direction parameter of described Target Photo distortion according to the direction of described displacement, forms the zooming parameter of described Target Photo distortion according to the size of described displacement;
First generation unit, for according to described original size parameter, described original-shape parameter, the dimensional parameters of described display screen, described direction parameter, described zooming parameter, and described function, generate described Target Photo, and panorama shows described Target Photo on terminal display screen.
9. the device Showed Picture as claimed in claim 8, is characterized in that, described first generation unit comprises:
First computation subunit, for generating the target size parameter of described Target Photo according to the dimensional parameters of described original size parameter and described display screen;
Second computation subunit, for generating the target shape parameter of described Target Photo according to described original-shape parameter and described zooming parameter;
Generate subelement, generate described Target Photo to predeterminated position according to described target size parameter, described target shape parameter and described direction parameter.
10. the device Showed Picture as claimed in claim 7, is characterized in that, described generation module comprises:
3rd acquiring unit, for obtaining original size parameter, the original-shape parameter of described original panoramic picture, and the dimensional parameters of display screen;
4th acquiring unit, for obtaining the displacement of the corresponding described original panoramic picture Width of described gesture operation instruction;
Second forming unit, for generating the direction parameter of described Target Photo distortion according to the direction of described displacement, generates the zooming parameter of described Target Photo distortion according to the size of described displacement;
5th acquiring unit, for obtaining the location parameter of described original panoramic picture in display screen;
3rd forming unit, for generating datum line according to described location parameter and default create-rule;
Second generation unit, for by described original panoramic picture with described location parameter and described datum line for reference, generate Target Photo according to described mapping function;
Adjustment unit, for adjusting the direction of described Target Photo according to described direction parameter; The size of described Target Photo is adjusted according to the dimensional parameters of described original size parameter and described display screen; The shape of described Target Photo is adjusted, to make the panorama display on terminal display screen of described Target Photo according to described original-shape parameter and described zooming parameter.
11. devices Showed Picture as claimed in claim 7, is characterized in that, described in the device that Shows Picture also comprise:
First judge module, whether the length direction for the length direction with display screen that judge described original panoramic picture is identical;
Rotary module, for when the length direction of described original panoramic picture is not identical with the length direction of described display screen, rotate described original panoramic picture extremely, the length direction of described original panoramic picture is identical with the length direction of described display screen.
12. devices Showed Picture as claimed in claim 11, is characterized in that, described in the device that Shows Picture also comprise:
Second judge module, for judging whether that receiving user starts the instruction that panorama amplifies picture;
Start module, for when receiving user and starting the instruction of panorama amplification picture, described first judge module judges that whether the length direction of described original panoramic picture is identical with the length direction of display screen.
CN201510147582.0A 2015-03-31 2015-03-31 The method and device of display picture Active CN104750389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510147582.0A CN104750389B (en) 2015-03-31 2015-03-31 The method and device of display picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510147582.0A CN104750389B (en) 2015-03-31 2015-03-31 The method and device of display picture

Publications (2)

Publication Number Publication Date
CN104750389A true CN104750389A (en) 2015-07-01
CN104750389B CN104750389B (en) 2016-08-17

Family

ID=53590167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510147582.0A Active CN104750389B (en) 2015-03-31 2015-03-31 The method and device of display picture

Country Status (1)

Country Link
CN (1) CN104750389B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657260A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Shooting method and terminal
CN105847673A (en) * 2016-03-21 2016-08-10 广东欧珀移动通信有限公司 Photograph display method, device and mobile terminal
CN106484416A (en) * 2016-09-30 2017-03-08 腾讯科技(北京)有限公司 A kind of information processing method and terminal
CN108228074A (en) * 2018-02-02 2018-06-29 联想(北京)有限公司 Show control method, display systems, electronic equipment and computer-readable medium
CN108920598A (en) * 2018-06-27 2018-11-30 百度在线网络技术(北京)有限公司 Panorama sketch browsing method, device, terminal device, server and storage medium
CN110941375A (en) * 2019-11-26 2020-03-31 腾讯科技(深圳)有限公司 Method and device for locally amplifying image and storage medium
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101061502A (en) * 2004-09-28 2007-10-24 高通股份有限公司 Magnification and pinching of two-dimensional images
CN102243767A (en) * 2011-06-22 2011-11-16 拓维信息系统股份有限公司 Creation method of mobile phone cartoon figure based on local image distortion
US8462148B1 (en) * 2009-04-01 2013-06-11 Perceptive Pixel Inc. Addressing rotational exhaustion in 3D manipulation
US20130181986A1 (en) * 2011-04-12 2013-07-18 Autodesk, Inc. Dynamic creation and modeling of solid models
CN103713821A (en) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 Mobile terminal screen display method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101061502A (en) * 2004-09-28 2007-10-24 高通股份有限公司 Magnification and pinching of two-dimensional images
US8462148B1 (en) * 2009-04-01 2013-06-11 Perceptive Pixel Inc. Addressing rotational exhaustion in 3D manipulation
US20130181986A1 (en) * 2011-04-12 2013-07-18 Autodesk, Inc. Dynamic creation and modeling of solid models
CN102243767A (en) * 2011-06-22 2011-11-16 拓维信息系统股份有限公司 Creation method of mobile phone cartoon figure based on local image distortion
CN103713821A (en) * 2013-12-27 2014-04-09 深圳市同洲电子股份有限公司 Mobile terminal screen display method and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙英皓、唐棣: "基于SC-HOG目标检测的图像局部内容放大方法", 《计算机工程与应用》 *
路畅、李立钢: "基于Bezier曲线的透视投影非线性放大方法研究", 《西安工业大学学报》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657260A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Shooting method and terminal
CN105847673A (en) * 2016-03-21 2016-08-10 广东欧珀移动通信有限公司 Photograph display method, device and mobile terminal
CN106484416A (en) * 2016-09-30 2017-03-08 腾讯科技(北京)有限公司 A kind of information processing method and terminal
WO2018059332A1 (en) * 2016-09-30 2018-04-05 腾讯科技(深圳)有限公司 Information processing method, terminal, and computer storage medium
US10776562B2 (en) 2016-09-30 2020-09-15 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, and computer storage medium for dynamic object rendering based on resource item displacement strategy
CN106484416B (en) * 2016-09-30 2021-02-05 腾讯科技(北京)有限公司 Information processing method and terminal
CN108228074A (en) * 2018-02-02 2018-06-29 联想(北京)有限公司 Show control method, display systems, electronic equipment and computer-readable medium
CN108228074B (en) * 2018-02-02 2022-03-25 联想(北京)有限公司 Display control method, display system, electronic device, and computer-readable medium
CN108920598A (en) * 2018-06-27 2018-11-30 百度在线网络技术(北京)有限公司 Panorama sketch browsing method, device, terminal device, server and storage medium
CN110941375A (en) * 2019-11-26 2020-03-31 腾讯科技(深圳)有限公司 Method and device for locally amplifying image and storage medium
CN110941375B (en) * 2019-11-26 2023-09-05 腾讯科技(深圳)有限公司 Method, device and storage medium for locally amplifying image
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment

Also Published As

Publication number Publication date
CN104750389B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN104750389A (en) Picture displaying method and device
CN105183308A (en) Picture display method and apparatus
CN104850259A (en) Combination operation method, combination operation apparatus, touch screen operating method and electronic device
CN105100396A (en) Mobile terminal and rotating display method and device thereof
CN105159594A (en) Touch photographing device and method based on pressure sensor, and mobile terminal
CN104731480A (en) Image display method and device based on touch screen
CN105094665A (en) Screen capturing method and apparatus
CN105045502A (en) Image processing method and image processing device
CN105160628A (en) Method and device for acquiring RGB data
CN104898940A (en) Picture processing method and device
CN104751517A (en) Graphic processing method and graphic processing device
CN104820555A (en) Transverse and vertical screen modes switching method and device, and terminal
CN104915127A (en) Touch key setting method and device, and mobile terminal
CN105302864A (en) Picture loading apparatus and method according to screen resolution
CN104917891A (en) Mobile terminal and page-turning control method thereof
CN105138255A (en) Terminal and image information acquisition method
CN104881218A (en) Mobile terminal screen scrolling method and mobile terminal screen scrolling device
CN105430258A (en) Method and device for taking self-timer group photos
CN105227829A (en) Preview picture device and its implementation
CN104951229A (en) Screen capturing method and device
CN105335055A (en) Self-response type realization method and system of menu as well as terminal equipment
CN105353346A (en) Mobile terminal and hot spot positioning method thereof
CN105302899A (en) Mobile terminal and picture processing method
CN105049612A (en) Method of realizing recording and device of realizing recording
CN105159549A (en) Zoom-in display method of virtual keyboard and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant