WO2018050080A1 - 一种移动终端、图片处理方法及计算机存储介质 - Google Patents
一种移动终端、图片处理方法及计算机存储介质 Download PDFInfo
- Publication number
- WO2018050080A1 WO2018050080A1 PCT/CN2017/101653 CN2017101653W WO2018050080A1 WO 2018050080 A1 WO2018050080 A1 WO 2018050080A1 CN 2017101653 W CN2017101653 W CN 2017101653W WO 2018050080 A1 WO2018050080 A1 WO 2018050080A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pictures
- picture
- saved
- stitched
- preset threshold
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims description 39
- 108010001267 Protein Subunits Proteins 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 33
- 238000010295 mobile communication Methods 0.000 description 21
- 230000006870 function Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005192 partition Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
Definitions
- the present application relates to the field of image processing technologies, and in particular, to a mobile terminal, a picture processing method, and a computer storage medium.
- Picture stitching is the seamless stitching of two or more partially overlapping images to produce a high-resolution image with a wide viewing angle; its basic shooting principle is to search the edge portions of two images and image the effect. The closest areas are overlapped to produce a picture with a larger perspective.
- the mobile terminal detects the coincidence area of each two pictures in real time as the rotation angle of the mobile terminal changes, and then splices the captured pictures in real time.
- the mobile terminal splices the captured pictures in real time, that is, the mobile terminal needs to calculate the coincidence area of each two pictures in real time, which not only increases the processing power consumption of the mobile terminal; And when there are unclear pictures in all the pictures taken, the picture is spelled The subsequent display will also be affected.
- the embodiment of the present application provides a mobile terminal and a picture processing method, which can not only reduce the processing power consumption of the mobile terminal, but also improve the display effect after the picture is spliced.
- the embodiment of the present application provides a mobile terminal, where the mobile terminal includes:
- the splicing unit splices the M pictures to be spliced into one panoramic picture when the M pictures to be spliced satisfy the preset splicing conditions.
- the mobile terminal further includes:
- a determining unit determining whether the preset stitching mode is an open state, and when the stitching mode is an open state, sending a selection instruction to the selecting unit;
- the selecting unit after receiving the selection instruction, selects M pictures with a sharpness greater than a preset threshold as pre-spliced pictures in the pre-saved pictures.
- the selecting unit includes:
- Selecting a subunit when there is at least one picture with a resolution greater than a preset threshold in each group of pictures, one picture is selected as a picture to be stitched in each group of pictures.
- the dividing sub-unit selects N pieces from all the pre-saved pictures into one group; and so on, until the number of remaining pictures in all the pre-saved pictures is less than N, the remaining The pictures are divided into groups and M pictures are obtained.
- the selecting subunits when each group of pictures exists, more than one resolution is greater than the preamble
- the threshold image When the threshold image is set, one of the pictures whose resolution is greater than the preset threshold is selected as the picture to be stitched.
- the selecting subunit selects the picture with the highest definition as the picture to be stitched.
- the preset splicing condition is:
- Each of the to-be-spliced pictures has a coincident area with at least one of the M pictures to be stitched.
- the application also provides a picture processing method, the method comprising:
- the M pictures to be stitched satisfy the preset splicing condition, the M pictures to be spliced are spliced into one panoramic picture.
- the method further includes:
- the M pictures whose resolution is greater than the preset threshold are selected as the pictures to be spliced in the pre-saved pictures.
- the selecting M pictures to be spliced with the sharpness greater than the preset threshold in the pre-saved pictures includes:
- one picture is selected as a picture to be stitched in each set of pictures.
- the dividing the pre-saved picture into the M group picture includes:
- selecting one picture in each group of pictures as the picture to be stitched includes:
- one picture is selected from the pictures whose resolution is greater than the preset threshold as the picture to be stitched.
- the selecting one picture from the picture with the clarity greater than the preset threshold as the picture to be stitched includes:
- the preset splicing condition is:
- Each of the to-be-spliced pictures has a coincident area with at least one of the M pictures to be stitched.
- the application provides a computer storage medium having stored therein computer executable instructions, the computer executable instructions comprising:
- the M pictures to be stitched satisfy the preset splicing condition, the M pictures to be spliced are spliced into one panoramic picture.
- the computer executable instructions further include:
- the M pictures whose resolution is greater than the preset threshold are selected as the pictures to be spliced in the pre-saved pictures.
- the computer executable instructions further include:
- one picture is selected as a picture to be stitched in each set of pictures.
- the computer executable instructions further include:
- the remaining pictures are divided into a group to obtain M sets of pictures.
- the computer executable instructions further include:
- one picture is selected from the pictures whose resolution is greater than the preset threshold as the picture to be stitched.
- the computer executable instructions further include:
- the M with the sharpness greater than the preset threshold may be selected in the pre-saved picture.
- the picture is used as the picture to be spliced, and then when the M pictures to be spliced satisfy the preset splicing condition, the M pictures to be spliced are spliced into one panoramic picture. That is to say, in the proposed technical solution of the present application, the mobile terminal may select M pictures whose resolution is greater than a preset threshold in the pre-saved pictures for splicing, instead of the mobile terminal in real time as in the prior art.
- the mobile terminal and the image processing method provided by the embodiments of the present application can not only reduce the processing power consumption of the mobile terminal, but also improve the display effect after the picture is spliced; and, the implementation is simple. Convenient, easy to popularize, and have a wider range of applications.
- FIG. 1 is a schematic structural diagram of hardware of an optional mobile terminal 100 implementing various embodiments of the present application;
- FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal 100 shown in FIG. 1;
- FIG. 3 is a schematic structural diagram of a structure of a mobile terminal according to Embodiment 1 of the present application.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to Embodiment 2 of the present application.
- FIG. 5 is a schematic flowchart of an implementation process of a picture processing method according to an embodiment of the present application.
- FIG. 6 is a schematic flowchart of an implementation method for selecting a picture to be spliced in the embodiment of the present application.
- the mobile terminal can be implemented in various forms.
- the terminals described in this application may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like.
- PDAs personal digital assistants
- PADs tablet computers
- PMPs portable multimedia players
- FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal 100 that implements various embodiments of the present application.
- the mobile terminal 100 may include: a wireless communication unit 110, a user input unit 120, a sensing unit 130, an output unit 140, and a memory. 150, interface unit 160, controller 170, power supply unit 180, and the like.
- FIG. 1 illustrates a mobile terminal 100 having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal 100 will be described in detail below.
- Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
- the wireless communication unit 110 may include at least one of the mobile communication module 111, the wireless internet module 112, and the short-range communication module 113.
- the mobile communication module 111 transmits a radio signal to and/or receives a radio signal from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
- a base station e.g., an access point, a Node B, etc.
- Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
- the wireless internet module 112 supports wireless internet access of the mobile terminal 100.
- the wireless internet module 112 can be internally or externally coupled to the terminal.
- the wireless internet access technologies involved in the wireless internet module 112 may include wireless local area network (WLAN), wireless compatibility authentication (Wi-Fi), wireless broadband (Wibro), global microwave interconnection access (Wimax), and high speed downlink. Packet Access (HSDPA), etc.
- the short-range communication module 113 is a module for supporting short-range communication.
- Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee TM et al.
- the user input unit 120 may generate key input data in accordance with a command input by the user to control various operations of the mobile terminal 100.
- the user input unit 120 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel, Rocker and so on.
- a touch panel when the touch panel is superimposed on the display unit 141 in the form of a layer, a touch screen can be formed.
- the sensing unit 130 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
- the sensing unit 130 can sense whether the slide type phone is turned on or off.
- the sensing unit 130 can detect whether the power supply unit 180 provides power or whether the interface unit 160 is coupled to an external device.
- the interface unit 160 serves as an interface through which at least one external device can connect with the mobile terminal 100.
- the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port (a typical example is a universal serial bus USB port), for connection having The port of the device that identifies the module, the audio input/output (I/O) port, the video I/O port, the headphone port, and so on.
- the interface unit 160 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal 100 and an external device Transfer data between.
- input eg, data information, power, etc.
- the interface unit 160 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path of the terminal 100.
- Various command signals input from the base Or power can be used as a signal for identifying whether the mobile terminal 100 is accurately mounted on the base.
- Output unit 140 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
- the output unit 140 may include a display unit 141, an audio output module 142, and the like.
- the display unit 141 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 141 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in the video call mode or the image capturing mode, the display unit 141 may display the captured image and/or the received image, a UI or GUI showing the video or image and related functions, and the like.
- UI user interface
- GUI graphical user interface
- the display unit 141 can function as an input device and an output device.
- the display unit 141 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
- LCD liquid crystal display
- TFT-LCD thin film transistor LCD
- OLED organic light emitting diode
- a flexible display a three-dimensional (3D) display, and the like.
- 3D three-dimensional
- Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
- TOLED Transparent Organic Light Emitting Diode
- the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal 100 may include an external display unit (not shown) and an internal display unit (not shown) ).
- the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
- the audio output module 142 may convert audio data received by the wireless communication unit 110 or stored in the memory 150 when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
- the audio signal is output as sound.
- the audio output module 142 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
- the audio output module 142 can include a speaker, a buzzer, and the like.
- the memory 150 can store a software program or the like that performs processing and control operations performed by the controller 170, Alternatively, data that has been output or is about to be output (for example, a phone book, a message, a still image, a video, etc.) may be temporarily stored. Moreover, the memory 150 can store data regarding various modes of vibration and audio signals that are output when a touch is applied to the touch screen.
- the memory 150 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM). ), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
- the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 150 through a network connection.
- the controller 170 typically controls the overall operation of the mobile terminal 100.
- the controller 170 performs control and processing related to voice calls, data communications, video calls, and the like.
- the controller 170 may include a multimedia module 171 for reproducing or playing back multimedia data, which may be constructed within the controller 170 or may be configured to be separate from the controller 170.
- the controller 170 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
- the power supply unit 180 receives external power or internal power under the control of the controller 170 and provides appropriate power required to operate the various components and components.
- the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
- the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 170 Implemented in the middle.
- implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
- the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 150 and controlled
- the mobile terminal 100 has been described in terms of its function.
- the slide type mobile terminal 100 in various types of mobile terminals 100 such as a folding type, a bar type, a swing type, a slide type mobile terminal 100, and the like will be described as an example. Therefore, the present application can be applied to any type of mobile terminal 100, and is not limited to the slide type mobile terminal 100.
- the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
- a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
- Such communication systems may use different air interfaces and/or physical layers.
- air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
- FDMA Frequency Division Multiple Access
- TDMA Time Division Multiple Access
- CDMA Code Division Multiple Access
- UMTS Universal Mobile Telecommunications System
- LTE Long Term Evolution
- GSM Global System for Mobile Communications
- the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
- a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
- the MSC 280 is configured to interface with a public switched telephone network (PSTN) 290.
- PSTN public switched telephone network
- the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
- the backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 can include multiple BSCs 275.
- Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
- BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
- BTS Base Transceiver Subsystem
- the term "base station” can Used to generally represent a single BSC 275 and at least one BS 270.
- a base station can also be referred to as a "cell station.”
- each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
- BS 270 receives reverse link signals from various mobile terminals 100.
- Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
- Each reverse link signal received by a particular BS 270 is processed within a particular BS 270.
- the obtained data is forwarded to the relevant BSC 275.
- the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
- the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
- PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
- the mobile communication module 112 of the wireless communication unit 110 in the mobile terminal accesses the mobile based on necessary data (including user identification information and authentication information) of the mobile communication network (such as 2G/3G/4G mobile communication network) built in the mobile terminal.
- the communication network transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for services such as web browsing and network multimedia playback of the mobile terminal user.
- the wireless internet module 113 of the wireless communication unit 110 implements a function of a wireless hotspot by operating a related protocol function of a wireless hotspot, and the wireless hotspot supports access of a plurality of mobile terminals (any mobile terminal other than the mobile terminal) by multiplexing the mobile communication module.
- the mobile communication connection between the mobile communication network and the mobile communication network transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for the mobile terminal user's web browsing, network multimedia playback, etc., since the mobile terminal is substantially complex
- the mobile communication data is transmitted by the mobile communication connection between the mobile terminal and the communication network. Therefore, the traffic of the mobile communication data consumed by the mobile terminal is included in the communication fee of the mobile terminal by the charging entity on the communication network side, thereby consuming the subscription of the mobile terminal.
- the data traffic of mobile communication data included in the communication tariff included in the communication tariff.
- FIG. 3 is a schematic structural diagram of a mobile terminal according to Embodiment 1 of the present application, as shown in FIG. 3,
- the mobile terminal provided in the first embodiment of the present application may include: a selecting unit 301 and a splicing unit 302;
- the selecting unit 301 is configured to: when there are at least M pictures whose resolution is greater than a preset threshold in the pre-saved picture, select M pictures whose resolution is greater than a preset threshold in the pre-saved pictures as the picture to be stitched, and M The to-be-spliced picture is sent to the tiling unit 302, where M is a natural number greater than or equal to 2.
- the selecting unit 301 may select, as a to-be-spliced picture, M pictures whose resolution is greater than a preset threshold in a pre-saved picture by using various methods. Preferably, the selecting unit 301 may first divide the pre-saved pictures into M groups, and then select one picture to be stitched in each group of pictures.
- the selecting unit 301 may divide N pictures in the pre-saved pictures into one group; when pre-save pictures When the number is less than N, the selection unit 301 may divide all the remaining pictures in the pre-saved picture into one group. When at least one picture having a sharpness greater than a preset threshold exists in each set of pictures, the selecting unit 301 may select one picture in each set of pictures as the picture to be stitched.
- the selecting unit 301 can also be used to select the highest definition in each group of pictures when there is more than one picture in each group of pictures whose resolution is greater than a preset threshold.
- the picture is used as a picture to be stitched.
- the splicing unit 302 is configured to splicing the M pictures to be spliced into one panoramic picture when the M pictures to be spliced satisfy the preset splicing conditions.
- the splicing unit 302 may splicing the M pictures to be spliced into one panoramic picture.
- the preset splicing condition may be that each of the to-be-spliced pictures has a coincidence area with at least one of the M pictures to be spliced.
- the mobile terminal may first select, in the pre-saved picture, M pictures whose resolution is greater than a preset threshold as the picture to be spliced, and then wait for M pictures.
- the stitching pictures satisfy the preset stitching conditions, the M pictures to be stitched are stitched into one panoramic picture, which can not only reduce the processing power consumption of the mobile terminal, but also improve the display effect after the picture is stitched; and, the implementation is simple and convenient. It is easy to popularize and has a wider range of applications.
- the selecting unit 301 may include: a dividing subunit 3011 and a selecting subunit 3012;
- the sub-unit 3011 is configured to divide the pre-saved picture into M sets of pictures, and send the M sets of pictures to the selection sub-unit 3012.
- the dividing subunit 3011 may divide the pre-saved pictures into M sets of pictures. From all the pre-saved pictures, N pieces are divided into one group; and so on, until the number of remaining pictures in all the pre-saved pictures is less than N, the remaining pictures are divided into one group, and M pictures are obtained. .
- the dividing unit 3011 may be specifically configured to divide the N pictures in the pre-saved picture into a group when the number of pre-saved pictures is not less than N; and divide the sub-unit when the number of pre-saved pictures is less than N
- the 3011 can divide all the remaining pictures in the pre-saved picture into a group. For example, suppose that 10 pictures are saved in advance, and when N is 3, M is 4. That is, the first to third pictures are divided into the first group; the fourth to sixth pictures are divided into the second group; the seventh to the nine pictures are divided into the third group; the tenth to the fourth group is divided into the fourth group .
- the selecting sub-unit is configured to: when there is more than one picture with a resolution greater than a preset threshold in each group of pictures, select one picture from the picture whose definition is greater than the preset threshold as the picture to be stitched.
- the selecting subunit is configured to select a picture with the highest definition as the picture to be stitched.
- the selecting sub-unit 3012 is configured to select one picture in each group of pictures as the picture to be stitched when there is at least one picture with a resolution greater than a preset threshold in each group of pictures.
- the selection sub-unit 3012 may select one picture in each group of pictures as the picture to be stitched.
- the selection sub-unit 3012 may select the picture with the highest definition as the picture to be stitched in each group of pictures.
- the splicing unit 302 is configured to splicing the M pictures to be spliced into one panoramic picture when the M pictures to be spliced satisfy the preset splicing conditions.
- the splicing unit 302 may splicing the M pictures to be spliced into one panoramic picture.
- the preset splicing condition may be that each of the to-be-spliced pictures has a coincidence area with at least one of the M pictures to be spliced.
- the mobile terminal may further include:
- the determining unit 303 is configured to determine whether the preset stitching mode is an open state; when the stitching mode is an open state, send a selection instruction to the selecting unit 301;
- the selecting unit 301 is configured to select, in the pre-saved picture, M pictures with a sharpness greater than a preset threshold as the to-be-spliced picture after receiving the selection instruction.
- the splicing mode may be preset in the mobile terminal; when the splicing mode is the splicing mode, the mobile terminal may splicing the to-be-spliced picture into a panoramic picture; when the splicing mode is off, The mobile terminal cannot splicing the pictures to be stitched into one panoramic picture.
- the determining unit 303 may first determine whether the pre-set splicing mode is an open state, and when the splicing mode is an open state, the determining unit 303 sends a selection instruction to the selecting unit 301;
- the unit 301 is configured to select, in the pre-saved picture, M pictures whose resolution is greater than a preset threshold as the picture to be stitched after receiving the selection instruction.
- the selection unit 301 and the splicing unit 302 provided by the embodiments of the present application may be implemented by a processor in the mobile terminal; of course, it may also be implemented by a specific logic circuit; in the process of the specific embodiment, the processor may be a central processing unit. (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- FPGA field programmable gate array
- the mobile terminal proposed in the embodiment of the present application may select M pictures with a resolution greater than a preset threshold in the pre-saved pictures for splicing, instead of splicing all the pictures captured in real time in the prior art. . Therefore, compared with the prior art, the mobile terminal and the image processing method proposed in the embodiments of the present application can not only reduce the processing power consumption of the mobile terminal, but also improve the processing power.
- FIG. 5 is a schematic flowchart of an implementation process of a picture processing method according to an embodiment of the present disclosure. As shown in FIG. 5, the image processing method may include the following steps:
- Step 501 When at least M pictures whose resolution is greater than a preset threshold are present in the pre-saved picture, select M pictures whose resolution is greater than a preset threshold as the picture to be spliced.
- the mobile terminal may use multiple methods to select M pictures whose resolution is greater than a preset threshold as the to-be-spliced picture, where M is a natural number greater than or equal to 2.
- the mobile terminal may first divide the pre-saved pictures into M groups, and then select one picture to be spliced in each group of pictures.
- the mobile terminal may divide N pictures in the pre-saved pictures into one group; when the number of pre-saved pictures is When it is less than N, the mobile terminal may divide all the remaining pictures in the pre-saved picture into one group.
- the mobile terminal may select one picture in each group of pictures as the picture to be spliced.
- the mobile terminal may be further configured to select the highest resolution picture in each group of pictures when there is more than one picture in each group of pictures whose resolution is greater than a preset threshold. As a picture to be stitched.
- FIG. 6 is a schematic flowchart of a method for selecting a picture to be spliced in the embodiment of the present application. As shown in FIG. 6 , the method for selecting a picture to be spliced in a pre-saved picture may include the following steps:
- Step 501a Divide the pre-saved picture into M sets of pictures.
- the mobile terminal may first divide the pre-saved picture into M groups, and then select a picture to be spliced in each group of pictures. Specifically, N pictures are selected as a group from all the pre-saved pictures; and so on, until the number of remaining pictures in the pre-saved all pictures is less than N, the remaining pictures are divided into a group, and M group picture.
- the mobile terminal can divide the N pictures in the pre-saved picture into a group, and so on, each After the sub-division completes a group, the already-divided picture is deleted from the pre-saved picture; when the number of remaining pictures in the pre-save is less than N, the mobile terminal may divide all remaining pictures in the pre-saved picture into one group. For example, suppose that 10 pictures are saved in advance, and when N is 3, M is 4. That is, the first to third pictures are divided into the first group; the fourth to sixth pictures are divided into the second group; the seventh to the nine pictures are divided into the third group; the tenth to the fourth group is divided into the fourth group .
- Step 501b When at least one picture with a resolution greater than a preset threshold exists in each group of pictures, one picture is selected as a picture to be stitched in each group of pictures.
- one picture is selected from the pictures whose resolution is greater than the preset threshold as the picture to be stitched.
- the selection may be arbitrarily selected as the picture to be spliced; of course, the one with the sharpest resolution may be selected as the picture to be spliced.
- the mobile terminal may select one picture in each group of pictures as the picture to be stitched.
- the mobile terminal can select the picture with the highest definition as the picture to be stitched.
- Step 502 When the M pictures to be spliced satisfy the preset splicing condition, the M pictures to be spliced are spliced into one panoramic picture.
- the mobile terminal may splicing the M pictures to be spliced into one panoramic picture.
- the preset splicing condition may be that each of the to-be-spliced pictures has a coincidence area with at least one of the M pictures to be spliced.
- the splicing mode may be preset in the mobile terminal; when the splicing mode is the on state, the mobile terminal may splicing the to-be-spliced picture into a panoramic picture; When the status is off, the mobile terminal cannot splicing the pictures to be spliced into one panoramic picture. Therefore, the mobile terminal may first determine whether the pre-set splicing mode is an on state. When the splicing mode is the on state, the mobile terminal may select a resolution greater than a preset threshold in the pre-saved picture. M pictures are used as pictures to be stitched.
- the mobile terminal may select M pictures with a resolution greater than a preset threshold in the pre-saved pictures for splicing, instead of the mobile terminal in real time, as in the prior art.
- the picture is stitched. Therefore, compared with the prior art, the mobile terminal and the image processing method provided by the embodiments of the present application can not only reduce the processing power consumption of the mobile terminal, but also improve the display effect after the picture is spliced; and, the implementation is simple. Convenient, easy to popularize, and have a wider range of applications.
- a computer storage medium of the present application wherein the computer storage medium stores computer executable instructions, the computer executable instructions comprising:
- the M pictures to be stitched satisfy the preset splicing condition, the M pictures to be spliced are spliced into one panoramic picture.
- the computer executable instructions further include:
- the M pictures whose resolution is greater than the preset threshold are selected as the pictures to be spliced in the pre-saved pictures.
- the computer executable instructions further include:
- one picture is selected as a picture to be stitched in each set of pictures.
- the computer executable instructions further include:
- the computer executable instructions further include:
- one picture is selected from the pictures whose resolution is greater than the preset threshold as the picture to be stitched.
- the computer executable instructions further include:
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
- the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
- the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
- the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
- ROM read only memory
- the above-described integrated unit of the present application may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
- the technical solution of the embodiments of the present application may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present application.
- the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
- a mobile terminal, a picture processing method, and a computer storage medium provided by the embodiment of the present application may first select a picture in a pre-saved picture when there are at least M pictures whose resolution is greater than a preset threshold in a pre-saved picture.
- the M pictures that are larger than the preset threshold are used as the picture to be spliced, and then the M pictures to be spliced are spliced into one panoramic picture when the M pictures to be spliced satisfy the preset splicing condition.
- the mobile terminal may select M pictures whose resolution is greater than a preset threshold in the pre-saved pictures for splicing, instead of the mobile terminal in real time as in the prior art. All the pictures taken are stitched together. Therefore, compared with the prior art, the mobile terminal and the image processing method provided by the embodiments of the present application can not only reduce the processing power consumption of the mobile terminal, but also improve the display effect after the picture is spliced; and, the implementation is simple. Convenient, easy to popularize, and have a wider range of applications.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本申请公开了一种移动终端、图片处理方法及计算机存储介质,所述移动终端包括:选择单元,用于当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,将M张待拼接图片发送给拼接单元,其中,M为大于等于2的自然数;所述拼接单元,用于当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
Description
相关申请的交叉引用
本申请基于申请号为201610822269.7、申请日为2016年09月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请涉及图像处理技术领域,尤其涉及一种移动终端、图片处理方法及计算机存储介质。
随着移动通讯技术的不断进步及高速发展,手机、平板电脑等许多智能终端都具有拍照功能,例如,用户通过使用智能终端拍摄照片之后,可以通过图像处理软件对拍摄的照片进行修改,以改变照片的对比度、饱和度及颜色等图片属性,从而可以使得拍摄的照片更加美观。其中,移动终端中的图片拼接功能也越来越被广泛应用。图片拼接是将两张或者多张具有部分重叠的图像进行无缝拼接,生成一张具有较宽视角的高分辨率图像;它的基本拍摄原理是搜索两张图片的边缘部分,并将成像效果最为接近的区域加以重合,生成一张具有更大视角的图片。
在现有图片拼接的方法中,用户按下拍照键之后,随着移动终端旋转角度的改变,移动终端实时地检测每两张图片的重合区域,然后实时地将拍摄到的图片进行拼接。
在现有图片拼接的方法中,移动终端实时地将拍摄到的图片进行拼接,也就是说,移动终端需要实时地计算每两张图片的重合区域,这样不仅会增加移动终端的处理功耗;而且当拍摄到的全部图片中存在不清晰的图片时,图片拼
接后的显示效果也会受到影响。
发明内容
有鉴于此,本申请实施例提供了一种移动终端及图片处理方法,不仅能够降低移动终端的处理功耗,而且还可以提高图片拼接后的显示效果。
本申请实施例的技术方案是这样实现的:
本申请实施例提供了一种移动终端,所述移动终端包括:
选择单元,当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,将M张待拼接图片发送给拼接单元,其中,M为大于等于2的自然数;
拼接单元,当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
上述方案中,所述移动终端还包括:
判断单元,判断预先设置的拼接模式是否为开启状态,当所述拼接模式为开启状态时,向所述选择单元发送一个选择指令;
所述选择单元,在接收到所述选择指令之后,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
上述方案中,所述选择单元包括:
划分子单元,将预先保存的图片划分为M组图片,将M组图片发送给选择子单元;
选择子单元,当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
上述方案中,所述划分子单元,从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
上述方案中,所述选择子单元,当每组图片中存在大于一张清晰度大于预
设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
上述方案中,所述选择子单元,选择清晰度最高的图片作为待拼接图片。
上述方案中,所述所述预设拼接条件为:
各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
本申请还提供了一种图片处理方法,所述方法包括:
当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数;
当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
上述方案中,所述在预先保存的图片中选择清晰度大于预设阈值的M张待拼接图片之前,所述方法还包括:
判断预先设置的拼接模式是否为开启状态;
当所述拼接模式为开启状态时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
上述方案中,所述在预先保存的图片中选择清晰度大于预设阈值的M张待拼接图片包括:
将预先保存的图片划分为M组图片;
当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
上述方案中,所述将预先保存的图片划分为M组图片包括:
从预先保存的全部图片中,选取N张划分为一组;
以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
上述方案中,所述在每组图片中选择一张图片作为待拼接图片包括:
当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
上述方案中,所述从清晰度大于预设阈值的图片中选取一张作为待拼接图片包括:
选择清晰度最高的图片作为待拼接图片。
上述方案中,所述所述预设拼接条件为:
各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
本申请提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令包括:
当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数;
当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
上述方案中,所述计算机可执行指令还包括:
判断预先设置的拼接模式是否为开启状态;
当所述拼接模式为开启状态时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
上述方案中,所述计算机可执行指令还包括:
将预先保存的图片划分为M组图片;
当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
上述方案中,所述计算机可执行指令还包括:
从预先保存的全部图片中,选取N张划分为一组;
以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,
将剩余图片划分为一组,得到M组图片。
上述方案中,所述计算机可执行指令还包括:
当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
上述方案中,所述计算机可执行指令还包括:
选择清晰度最高的图片作为待拼接图片。
由此可见,本申请实施例的技术方案中,当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,可以先在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,然后当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。也就是说,在本申请的提出的技术方案中,移动终端可以在预先保存的图片中选择清晰度大于预设阈值的M张图片进行拼接,而不是像现有技术中,移动终端实时地将拍摄到的全部图片进行拼接。由此可见,和现有技术相比,本申请实施例提出的移动终端及图片处理方法,不仅能够降低移动终端的处理功耗,而且还可以提高图片拼接后的显示效果;并且,实现起来简单方便,便于普及,适用范围更广。
图1为实现本申请各个实施例的一个可选的移动终端100的硬件结构示意图;
图2为如图1所示的移动终端100的无线通信系统示意图;
图3为本申请实施例一提供的移动终端的组成结构示意图;
图4为本申请实施例二提供的移动终端的组成结构示意图;
图5为本申请实施例中图片处理方法的实现流程示意图;
图6为本申请实施例中选择待拼接图片的实现方法流程示意图。
应当理解,此处所描述的具体实施例仅仅用以解释本申请的技术方案,并
不用于限定本申请的保护范围。
现在将参考附图描述实现本申请各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。
移动终端可以以各种形式来实施。例如,本申请中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等的移动终端。
图1为实现本申请各个实施例的移动终端100的硬件结构示意,如图1所示,移动终端100可以包括:无线通信单元110、用户输入单元120、感测单元130、输出单元140、存储器150、接口单元160、控制器170和电源单元180等。图1示出了具有各种组件的移动终端100,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端100的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元110可以包括:移动通信模块111、无线互联网模块112和短程通信模块113中的至少一个。
移动通信模块111将无线电信号发送到基站(例如,接入点、节点B等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。
无线互联网模块112支持移动终端100的无线互联网接入。无线互联网模块112可以内部或外部地耦接到终端。无线互联网模块112所涉及的无线互联网接入技术可以包括无线局域网(WLAN)、无线相容性认证(Wi-Fi)、无线宽带(Wibro)、全球微波互联接入(Wimax)、高速下行链路分组接入(HSDPA)等。
短程通信模块113是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等。
用户输入单元120可以根据用户输入的命令生成键输入数据以控制移动终端100的各种操作。用户输入单元120允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等的变化的触敏组件)、滚轮、摇杆等。特别地,当触摸板以层的形式叠加在显示单元141上时,可以形成触摸屏。
感测单元130检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元130可以感测该滑动型电话是打开还是关闭。另外,感测单元130能够检测电源单元180是否提供电力或者接口单元160是否与外部装置耦接。
接口单元160用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口(典型示例是通用串行总线USB端口)、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等。
接口单元160可以用于接收来自外部装置的输入(例如,数据信息、电力等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元160可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端100的路径。从底座输入的各种命令信号
或电力可以用作用于识别移动终端100是否准确地安装在底座上的信号。
输出单元140被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等)。输出单元140可以包括显示单元141和音频输出模块142等。
显示单元141可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元141可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元141可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等。
同时,当显示单元141和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元141可以用作输入装置和输出装置。显示单元141可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端100可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块142可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等模式下时,将无线通信单元110接收的或者在存储器150中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块142可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等)。音频输出模块142可以包括扬声器、蜂鸣器等。
存储器150可以存储由控制器170执行的处理和控制操作的软件程序等,
或者可以暂时地存储已经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等)。而且,存储器150可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器150可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。而且,移动终端100可以与通过网络连接执行存储器150的存储功能的网络存储装置协作。
控制器170通常控制移动终端100的总体操作。例如,控制器170执行与语音通话、数据通信、视频通话等相关的控制和处理。另外,控制器170可以包括用于再现或回放多媒体数据的多媒体模块171,多媒体模块171可以构造在控制器170内,或者可以构造为与控制器170分离。控制器170可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元180在控制器170的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器170中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器150中并且由控制器
170执行。
至此,已经按照其功能描述了移动终端100。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端100等的各种类型的移动终端100中的滑动型移动终端100作为示例。因此,本申请能够应用于任何类型的移动终端100,并且不限于滑动型移动终端100。
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。
现在将参考图2描述其中根据本申请的移动终端100能够操作的通信系统。
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM、IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC275。
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等)。
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语“基站”可
以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为“蜂窝站”。或者,特定BS270的各分区可以被称为多个蜂窝站。
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定BS270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。
移动终端中无线通信单元110的移动通信模块112基于移动终端内置的接入移动通信网络(如2G/3G/4G等移动通信网络)的必要数据(包括用户识别信息和鉴权信息)接入移动通信网络为移动终端用户的网页浏览、网络多媒体播放等业务传输移动通信数据(包括上行的移动通信数据和下行的移动通信数据)。
无线通信单元110的无线互联网模块113通过运行无线热点的相关协议功能而实现无线热点的功能,无线热点支持多个移动终端(移动终端之外的任意移动终端)接入,通过复用移动通信模块112与移动通信网络之间的移动通信连接为移动终端用户的网页浏览、网络多媒体播放等业务传输移动通信数据(包括上行的移动通信数据和下行的移动通信数据),由于移动终端实质上是复用移动终端与通信网络之间的移动通信连接传输移动通信数据的,因此移动终端消耗的移动通信数据的流量由通信网络侧的计费实体计入移动终端的通信资费,从而消耗移动终端签约使用的通信资费中包括的移动通信数据的数据流量。
基于上述移动终端100硬件结构以及通信系统,提出本申请方法各个实施例。
图3为本申请实施例一提供的移动终端的组成结构示意图,如图3所示,
本申请实施例一提供的移动终端可以包括:选择单元301和拼接单元302;其中,
选择单元301,用于当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,将M张待拼接图片发送给拼接单元302,其中,M为大于等于2的自然数。
在本申请的具体实施例中,选择单元301可以采用多种方法在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。较佳地,选择单元301可以先将预先保存的图片划分为M组,然后可以在每组图片中选择一个待拼接图片。
具体地,在本申请的具体实施例中,当预先保存的图片的数量不少于N时,选择单元301可以将预先保存的图片中的N张图片划分为一组;当预先保存的图片的数量少于N时,选择单元301可以将预先保存的图片中全部剩余的图片划分为一组。当每组图片中存在至少一张清晰度大于预设阈值的图片时,选择单元301可以在每组图片中选择一张图片作为待拼接图片。
较佳地,在本申请的具体实施例中,选择单元301还可以用于当每组图片中清晰度大于预设阈值的图片的数量不止一张时,在每组图片中选择清晰度最高的图片作为待拼接图片。
拼接单元302,用于当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
在本申请的具体实施例中,当M张待拼接图片均满足预设拼接条件时,拼接单元302可以将M张待拼接图片拼接为一张全景图片。其中,所述预设拼接条件可以为:各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
由此可见,本申请实施例提出的技术方案,移动终端可以先在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,然后当M张待
拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片,不仅能够降低移动终端的处理功耗,而且还可以提高图片拼接后的显示效果;并且,实现起来简单方便,便于普及,适用范围更广。
图4为本申请实施例二提供的移动终端的组成结构示意图,如图4所示,选择单元301可以包括:划分子单元3011和选择子单元3012;其中,
划分子单元3011,用于将预先保存的图片划分为M组图片,将M组图片发送给选择子单元3012。
在本申请的具体实施例中,划分子单元3011可以将预先保存的图片划分为M组图片。从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
划分单元3011可以具体用于当预先保存的图片的数量不少于N时,将预先保存的图片中的N张图片划分为一组;当预先保存的图片的数量少于N时,划分子单元3011可以将预先保存的图片中全部剩余的图片划分为一组。例如,假设预先保存的图片为10张,当N为3时,M为4。即:将第1~3张图片划分为第一组;将第4~6张图片划分为第二组;将第7~9张图片划分为第三组;将第10张划分为第四组。
所述选择子单元,用于当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
所述选择子单元,用于选择清晰度最高的图片作为待拼接图片。
选择子单元3012,用于当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
在本申请的具体实施例中,当每组图片中存在至少一张清晰度大于预设阈值的图片时,选择子单元3012可以在每组图片中选择一张图片作为待拼接图片。较佳地,当每组图片中清晰度大于预设阈值的图片的数量不止一张时,选择子单元3012可以在每组图片中选择清晰度最高的图片作为待拼接图片。
拼接单元302,用于当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
在本申请的具体实施例中,当M张待拼接图片均满足预设拼接条件时,拼接单元302可以将M张待拼接图片拼接为一张全景图片。其中,所述预设拼接条件可以为:各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
较佳地,在本申请的具体实施例中,所述移动终端还可以包括:
判断单元303,用于判断预先设置的拼接模式是否为开启状态;当拼接模式为开启状态时,向选择单元301发送一个选择指令;
选择单元301,用于在接收到选择指令之后,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
在本申请的具体实施例中,可以在移动终端中预先设置拼接模式;当拼接模式为开启状态时,移动终端才可以将待拼接图片拼接为一张全景图片;当拼接模式为关闭状态时,移动终端则不能将待拼接图片拼接为一张全景图片。较佳地,在本申请的具体实施例中,判断单元303可以先判断预先设置的拼接模式是否为开启状态,当拼接模式为开启状态时,判断单元303向选择单元301发送一个选择指令;选择单元301,用于在接收到选择指令之后,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
本申请实施例提供的选择单元301和拼接单元302都可以通过移动终端中的处理器来实现;当然也可通过具体的逻辑电路实现;在具体实施例的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。
本申请实施例提出的移动终端,可以在预先保存的图片中选择清晰度大于预设阈值的M张图片进行拼接,而不是像现有技术中,移动终端实时地将拍摄到的全部图片进行拼接。由此可见,和现有技术相比,本申请实施例提出的移动终端及图片处理方法,不仅能够降低移动终端的处理功耗,而且还可以提高
图片拼接后的显示效果;并且,实现起来简单方便,便于普及,适用范围更广。
图5为本申请实施例中图片处理方法的实现流程示意图,如图5所示,图片处理方法可以包括以下步骤:
步骤501、当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
在本申请的具体实施例中,移动终端可以采用多种方法当预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数。较佳地,在本申请的具体实施例中,移动终端可以先将预先保存的图片划分为M组,然后可以在每组图片中选择一个待拼接图片。
具体地,在本申请的具体实施例中,当预先保存的图片的数量不少于N时,移动终端可以将预先保存的图片中的N张图片划分为一组;当预先保存的图片的数量少于N时,移动终端可以将预先保存的图片中全部剩余的图片划分为一组。当每组图片中存在至少一张清晰度大于预设阈值的图片时,移动终端可以在每组图片中选择一张图片作为待拼接图片。
较佳地,在本申请的具体实施例中,移动终端还可以用于当每组图片中清晰度大于预设阈值的图片的数量不止一张时,在每组图片中选择清晰度最高的图片作为待拼接图片。
图6为本申请实施例中选择待拼接图片的实现方法流程示意图,如图6所示,在预先保存的图片中选择待拼接图片的方法可以包括以下步骤:
步骤501a、将预先保存的图片划分为M组图片。
在本申请的具体实施例中,移动终端可以先将预先保存的图片划分为M组,然后可以在每组图片中选择一个待拼接图片。具体地,从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
移动终端可以将预先保存的图片中的N张图片划分为一组,以此类推,每
次划分完成一组之后,就从预先保存的图片中删除已经划分的图片;当预先保存中的剩余图片的数量少于N时,移动终端可以将预先保存的图片中全部剩余的图片划分为一组。例如,假设预先保存的图片为10张,当N为3时,M为4。即:将第1~3张图片划分为第一组;将第4~6张图片划分为第二组;将第7~9张图片划分为第三组;将第10张划分为第四组。
步骤501b、当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
在本申请的具体实施例中,当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。其中,选取可以为任意选择一张作为待拼接图片;当然还可以选取清晰度最大的一张作为待拼接图片。
具体的,当每组图片中存在至少一张清晰度大于预设阈值的图片时,移动终端可以在每组图片中选择一张图片作为待拼接图片。较佳地,当每组图片中存在不止一张清晰度大于预设阈值的图片时,移动终端可以选择清晰度最高的图片作为待拼接图片。
步骤502、当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
在本申请的具体实施例中,当M张待拼接图片均满足预设拼接条件时,移动终端可以将M张待拼接图片拼接为一张全景图片。其中,所述预设拼接条件可以为:各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
较佳地,在本申请的具体实施例中,可以在移动终端中预先设置拼接模式;当拼接模式为开启状态时,移动终端才可以将待拼接图片拼接为一张全景图片;当拼接模式为关闭状态时,移动终端则不能将待拼接图片拼接为一张全景图片。因此,移动终端可以先判断预先设置的拼接模式是否为开启状态,当拼接模式为开启状态时,移动终端可以在预先保存的图片中选择清晰度大于预设阈值的
M张图片作为待拼接图片。
本申请实施例提出的图片处理方法,移动终端可以在预先保存的图片中选择清晰度大于预设阈值的M张图片进行拼接,而不是像现有技术中,移动终端实时地将拍摄到的全部图片进行拼接。由此可见,和现有技术相比,本申请实施例提出的移动终端及图片处理方法,不仅能够降低移动终端的处理功耗,而且还可以提高图片拼接后的显示效果;并且,实现起来简单方便,便于普及,适用范围更广。
本申请的一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令包括:
当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数;
当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
所述计算机可执行指令还包括:
判断预先设置的拼接模式是否为开启状态;
当所述拼接模式为开启状态时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
所述计算机可执行指令还包括:
将预先保存的图片划分为M组图片;
当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
所述计算机可执行指令还包括:
从预先保存的全部图片中,选取N张划分为一组;
以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
所述计算机可执行指令还包括:
当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
所述计算机可执行指令还包括:
选择清晰度最高的图片作为待拼接图片。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
本申请实施例提供的一种移动终端、图片处理方法及计算机存储介质,当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,可以先在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,然后当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。也就是说,在本申请的提出的技术方案中,移动终端可以在预先保存的图片中选择清晰度大于预设阈值的M张图片进行拼接,而不是像现有技术中,移动终端实时地将拍摄到的全部图片进行拼接。由此可见,和现有技术相比,本申请实施例提出的移动终端及图片处理方法,不仅能够降低移动终端的处理功耗,而且还可以提高图片拼接后的显示效果;并且,实现起来简单方便,便于普及,适用范围更广。
Claims (20)
- 一种移动终端,所述移动终端包括:选择单元,当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,将M张待拼接图片发送给拼接单元,其中,M为大于等于2的自然数;拼接单元,当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
- 根据权利要求1所述的移动终端,其中,所述移动终端还包括:判断单元,判断预先设置的拼接模式是否为开启状态,当所述拼接模式为开启状态时,向所述选择单元发送一个选择指令;所述选择单元,在接收到所述选择指令之后,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
- 根据权利要求1所述的移动终端,其中,所述选择单元包括:划分子单元,将预先保存的图片划分为M组图片,将M组图片发送给选择子单元;选择子单元,当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
- 根据权利要求3所述的移动终端,其中,所述划分子单元,从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
- 根据权利要求3所述的移动终端,其中,所述选择子单元,当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
- 根据权利要求5所述的移动终端,其中,所述选择子单元,选择清晰度 最高的图片作为待拼接图片。
- 根据权利要求1所述的移动终端,其中,所述所述预设拼接条件为:各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
- 一种图片处理方法,所述方法包括:当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数;当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
- 根据权利要求8所述的方法,其中,所述在预先保存的图片中选择清晰度大于预设阈值的M张待拼接图片之前,所述方法还包括:判断预先设置的拼接模式是否为开启状态;当所述拼接模式为开启状态时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
- 根据权利要求8所述的方法,其中,所述在预先保存的图片中选择清晰度大于预设阈值的M张待拼接图片包括:将预先保存的图片划分为M组图片;当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
- 根据权利要求10所述的方法,其中,所述将预先保存的图片划分为M组图片包括:从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
- 根据权利要求10所述的方法,其中,所述在每组图片中选择一张图片 作为待拼接图片包括:当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
- 根据权利要求12所述的方法,其中,所述从清晰度大于预设阈值的图片中选取一张作为待拼接图片包括:选择清晰度最高的图片作为待拼接图片。
- 根据权利要求8所述的方法,其中,所述所述预设拼接条件为:各个待拼接图片均与M张待拼接图片中的至少一个待拼接图片存在重合区域。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令包括:当预先保存的图片中存在至少M张清晰度大于预设阈值的图片时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片,其中,M为大于等于2的自然数;当M张待拼接图片均满足预设拼接条件时,将M张待拼接图片拼接为一张全景图片。
- 如权利要求15所述的计算机存储介质,其中,所述计算机可执行指令还包括:判断预先设置的拼接模式是否为开启状态;当所述拼接模式为开启状态时,在预先保存的图片中选择清晰度大于预设阈值的M张图片作为待拼接图片。
- 根据权利要求16所述的计算机存储介质,其中,所述计算机可执行指令还包括:将预先保存的图片划分为M组图片;当每组图片中存在至少一张清晰度大于预设阈值的图片时,在每组图片中选择一张图片作为待拼接图片。
- 根据权利要求17所述的计算机存储介质,其中,所述计算机可执行指令还包括:从预先保存的全部图片中,选取N张划分为一组;以此类推,直至所述预先保存的全部图片中的剩余图片的数量小于N时,将剩余图片划分为一组,得到M组图片。
- 根据权利要求17所述的计算机存储介质,其中,所述计算机可执行指令还包括:当每组图片中存在大于一张清晰度大于预设阈值的图片时,从清晰度大于预设阈值的图片中选取一张作为待拼接图片。
- 根据权利要求19所述的计算机存储介质,其中,所述计算机可执行指令还包括:选择清晰度最高的图片作为待拼接图片。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610822269.7A CN106506795A (zh) | 2016-09-13 | 2016-09-13 | 一种移动终端及图片处理方法 |
CN201610822269.7 | 2016-09-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018050080A1 true WO2018050080A1 (zh) | 2018-03-22 |
Family
ID=58291354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/101653 WO2018050080A1 (zh) | 2016-09-13 | 2017-09-13 | 一种移动终端、图片处理方法及计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106506795A (zh) |
WO (1) | WO2018050080A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047037A (zh) * | 2019-04-26 | 2019-07-23 | 湖南科技学院 | 一种基于云计算图像辅助虚拟拼接系统 |
CN112446497A (zh) * | 2019-09-02 | 2021-03-05 | 中科寒武纪科技股份有限公司 | 数据块拼接方法、相关设备及计算机可读介质 |
CN113568578A (zh) * | 2021-07-27 | 2021-10-29 | 北京奇艺世纪科技有限公司 | 一种图片处理方法、装置、电子设备和可读存储介质 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506795A (zh) * | 2016-09-13 | 2017-03-15 | 努比亚技术有限公司 | 一种移动终端及图片处理方法 |
CN106815809B (zh) * | 2017-03-31 | 2020-08-25 | 联想(北京)有限公司 | 一种图片处理方法和装置 |
CN107577399A (zh) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | 一种图片拼接方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070297693A1 (en) * | 2006-06-22 | 2007-12-27 | Samsung Electronics Co., Ltd. | Apparatus and method for panoramic photography in portable terminal |
CN102279515A (zh) * | 2010-06-09 | 2011-12-14 | 鸿富锦精密工业(深圳)有限公司 | 全景拍照装置及方法 |
CN103685952A (zh) * | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | 终端和图像处理方法 |
CN105611169A (zh) * | 2015-12-31 | 2016-05-25 | 联想(北京)有限公司 | 图像获取方法和电子设备 |
CN106506795A (zh) * | 2016-09-13 | 2017-03-15 | 努比亚技术有限公司 | 一种移动终端及图片处理方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9641759B2 (en) * | 2014-07-10 | 2017-05-02 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN105467741B (zh) * | 2015-12-16 | 2019-01-29 | 魅族科技(中国)有限公司 | 一种全景拍照方法及终端 |
-
2016
- 2016-09-13 CN CN201610822269.7A patent/CN106506795A/zh active Pending
-
2017
- 2017-09-13 WO PCT/CN2017/101653 patent/WO2018050080A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070297693A1 (en) * | 2006-06-22 | 2007-12-27 | Samsung Electronics Co., Ltd. | Apparatus and method for panoramic photography in portable terminal |
CN102279515A (zh) * | 2010-06-09 | 2011-12-14 | 鸿富锦精密工业(深圳)有限公司 | 全景拍照装置及方法 |
CN103685952A (zh) * | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | 终端和图像处理方法 |
CN105611169A (zh) * | 2015-12-31 | 2016-05-25 | 联想(北京)有限公司 | 图像获取方法和电子设备 |
CN106506795A (zh) * | 2016-09-13 | 2017-03-15 | 努比亚技术有限公司 | 一种移动终端及图片处理方法 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047037A (zh) * | 2019-04-26 | 2019-07-23 | 湖南科技学院 | 一种基于云计算图像辅助虚拟拼接系统 |
CN112446497A (zh) * | 2019-09-02 | 2021-03-05 | 中科寒武纪科技股份有限公司 | 数据块拼接方法、相关设备及计算机可读介质 |
CN112446497B (zh) * | 2019-09-02 | 2024-02-27 | 中科寒武纪科技股份有限公司 | 数据块拼接方法、相关设备及计算机可读介质 |
CN113568578A (zh) * | 2021-07-27 | 2021-10-29 | 北京奇艺世纪科技有限公司 | 一种图片处理方法、装置、电子设备和可读存储介质 |
CN113568578B (zh) * | 2021-07-27 | 2023-10-10 | 北京奇艺世纪科技有限公司 | 一种图片处理方法、装置、电子设备和可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN106506795A (zh) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018050080A1 (zh) | 一种移动终端、图片处理方法及计算机存储介质 | |
WO2017143847A1 (zh) | 关联应用分屏显示装置、方法及终端 | |
WO2018019124A1 (zh) | 一种图像处理方法及电子设备、存储介质 | |
WO2017143855A1 (zh) | 具有截屏功能的装置和截屏方法 | |
WO2016029766A1 (zh) | 移动终端及其操作方法和计算机存储介质 | |
CN106413128B (zh) | 一种投影方法及移动终端 | |
WO2017071481A1 (zh) | 一种移动终端及其实现分屏的方法 | |
WO2017071456A1 (zh) | 一种终端的处理方法、终端及存储介质 | |
WO2017107637A1 (zh) | 手机射频资源分配方法及装置 | |
WO2018045961A1 (zh) | 一种图片处理方法及终端、存储介质 | |
WO2018050014A1 (zh) | 对焦方法及拍照设备、存储介质 | |
WO2017032217A1 (zh) | 多点触控装置及方法 | |
WO2017088631A1 (zh) | 一种移动终端及其增减调节方法及装置、存储介质 | |
WO2017148211A1 (zh) | 移动终端及网页截图方法 | |
CN107071263B (zh) | 一种图像处理方法及终端 | |
WO2017152748A1 (zh) | 一种截屏方法及终端、计算机存储介质 | |
WO2017210971A1 (zh) | 一种基于移动终端的热成像方法、装置及移动终端 | |
WO2016034152A1 (zh) | 界面显示方法和通信终端、计算机存储介质 | |
CN106791017A (zh) | 一种终端及拍照方法 | |
WO2017071532A1 (zh) | 一种自拍合影的方法和装置 | |
WO2017071572A1 (zh) | 一种信息处理方法及装置、终端、存储介质 | |
WO2017113893A1 (zh) | 一种搜网的方法及装置 | |
CN106973226B (zh) | 一种拍摄方法及终端 | |
WO2018032917A1 (zh) | 一种移动终端、获取对焦值的方法以及计算机可读存储介质 | |
WO2017113941A1 (zh) | 一种显示方法及终端、计算机存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17850282 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 19/08/2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17850282 Country of ref document: EP Kind code of ref document: A1 |