CN105100607A - Shooting device and method - Google Patents
Shooting device and method Download PDFInfo
- Publication number
- CN105100607A CN105100607A CN201510367392.XA CN201510367392A CN105100607A CN 105100607 A CN105100607 A CN 105100607A CN 201510367392 A CN201510367392 A CN 201510367392A CN 105100607 A CN105100607 A CN 105100607A
- Authority
- CN
- China
- Prior art keywords
- resolution
- module
- shooting
- picture
- color
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004458 analytical method Methods 0.000 claims abstract description 14
- 239000003086 colorant Substances 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 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
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a shooting device and method. When the shooting device shoots according to a first resolution, the shooting device comprises an interception module, an analysis module, an adjustment module and a shooting module, wherein the interception module is used for intercepting the current shot pictures at an interval of a first preset duration; the analysis module is used for analyzing the colors of various pixel points of the intercepted current shot pictures; when analyzing that the colors of various pixel points of the intercepted current shot pictures are black, transmitting a first notice to the adjustment module; the adjustment module is used for receiving the first notice, and adjusting the first resolution into a second resolution; the shooting module is used for shooting according to the second resolution, wherein the first resolution is greater than the second resolution. The technical scheme of the invention reduces the sizes of video files generated by shooting and saves the space of a mobile terminal in case of not affecting user experiences.
Description
Technical Field
The invention relates to an intelligent terminal technology, in particular to a shooting device and a shooting method.
Background
With the widespread use of mobile terminals, shooting by using the mobile terminals has become a very common behavior in daily life of people. At present, when a mobile terminal shoots, a system shoots according to a resolution ratio set by a user. Since the user may encounter some special situations when shooting, such as passing through a dark channel, and the mobile terminal needs to be placed on a desk with the camera facing down without interrupting the shooting, the picture shot by the mobile terminal is actually completely black. When this is the case, the resolution at the time of shooting by the mobile terminal is still a higher level of resolution set by the user, and in fact, such a high resolution is not required for shooting of these pictures. In addition, in the above-mentioned case, the video files generated by shooting these black layer pictures are too large, which results in the waste of space of the mobile terminal.
Disclosure of Invention
In order to solve the technical problem, the invention provides a shooting device and a shooting method, which can reduce the size of a video file generated by shooting and save the space of a mobile terminal under the condition of not influencing user experience.
In order to achieve the object of the present invention, the present invention provides a photographing apparatus, which is provided in a mobile terminal, including: the device comprises an intercepting module, an analyzing module, an adjusting module and a shooting module; wherein,
the capturing module is used for capturing a currently shot picture at intervals of a first preset duration;
the analysis module is used for analyzing the color of each pixel point of the captured current shot picture; when the color of each pixel point of the captured current shot picture is analyzed to be black, sending a first notice to an adjusting module;
the adjusting module is used for receiving the first notice and adjusting the first resolution to the second resolution;
the shooting module is used for shooting according to the second resolution;
wherein the first resolution is greater than the second resolution.
Furthermore, the capturing module is further configured to capture a picture captured according to the second resolution at intervals of a second preset duration;
the analysis module is further used for analyzing the color of each pixel point of the captured picture shot according to the second resolution; when the color of each pixel point of the captured picture shot according to the second resolution is analyzed to be not black, sending a second notice to the adjusting module;
the adjusting module is further configured to receive the second notification and adjust the second resolution to the first resolution;
the shooting module is further used for shooting according to the first resolution.
Further, the analysis module is further configured to send a third notification to the capture module when the color of each pixel point of the captured picture captured according to the second resolution is analyzed to be black;
the intercepting module is further used for intercepting pictures shot according to the second resolution at intervals of a second preset duration;
the analysis module is further used for analyzing the color of each pixel point of the captured picture shot according to the second resolution;
or, the adjusting module is further configured to adjust the second resolution to a third resolution; the shooting module is also used for shooting according to the third resolution; wherein the second resolution is greater than the third resolution.
Further, the first preset time duration is longer than the second preset time duration.
The present invention also provides a photographing method characterized by, when photographing at a first resolution, comprising:
intercepting a currently shot picture at intervals of a first preset duration and analyzing the color of each pixel point of the intercepted currently shot picture;
when the color of each pixel point of the captured current shot picture is analyzed to be black, the first resolution is adjusted to be the second resolution;
shooting according to a second resolution;
wherein the first resolution is greater than the second resolution.
Further, the method also includes, after:
intercepting the picture shot according to the second resolution at intervals of second preset time length and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution;
and when the color of each pixel point of the image shot according to the second resolution is not black, adjusting the second resolution to the first resolution and shooting according to the first resolution.
Further, when the analyzed color of each pixel point of the captured picture shot according to the second resolution is black, the method further includes:
returning to the step of intercepting the picture shot according to the second resolution at intervals of the second preset duration and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution;
or, adjusting the second resolution to a third resolution; and shooting according to a third resolution, wherein the second resolution is higher than the third resolution.
Further, the first preset duration is greater than the second preset duration.
The technical scheme of the invention comprises the following steps: the device comprises an intercepting module, an analyzing module, an adjusting module and a shooting module; the device comprises an intercepting module, a processing module and a display module, wherein the intercepting module is used for intercepting a currently shot picture at intervals of a first preset duration; the analysis module is used for analyzing the color of each pixel point of the captured current shot picture; when the color of each pixel point of the captured current shot picture is analyzed to be black, sending a first notice to an adjusting module; the adjusting module is used for receiving the first notice and adjusting the first resolution to the second resolution; the shooting module is used for shooting according to the second resolution; wherein the first resolution is greater than the second resolution. According to the technical scheme, the size of the video file generated by shooting is reduced under the condition that user experience is not influenced, and the space of the mobile terminal is saved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals in accordance with the present invention;
FIG. 3 is a schematic structural diagram of a camera according to the present invention;
FIG. 4 is a flow chart of a photographing method according to the present invention;
fig. 5 is a flowchart illustrating an embodiment of a photographing method according to the present invention.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a digital broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), a data broadcasting system of forward link media (MediaFLO), a terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 1410 as will be described below in connection with a touch screen.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 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. 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 transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 1810 for reproducing (or playing back) multimedia data, and the multimedia module 1810 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 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 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, 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), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Fig. 3 is a schematic structural diagram of a photographing apparatus according to the present invention, as shown in fig. 3, the apparatus, when photographing at a first resolution, disposed in a mobile terminal, includes: the device comprises an intercepting module, an analyzing module, an adjusting module and a shooting module. Wherein,
and the intercepting module is used for intercepting the currently shot picture at intervals of a first preset duration.
The analysis module is used for analyzing the color of each pixel point of the captured current shot picture; and when the color of each pixel point of the captured current shot picture is analyzed to be black, sending a first notice to the adjusting module.
And the adjusting module is used for receiving the first notice and adjusting the first resolution to the second resolution. And the shooting module is used for shooting according to the second resolution.
Wherein the first resolution is greater than the second resolution.
Furthermore, the capturing module is further configured to capture a picture captured according to a second resolution at intervals of a second preset duration;
the analysis module is also used for analyzing the color of each pixel point of the captured picture shot according to the second resolution; when the color of each pixel point of the captured picture shot according to the second resolution is analyzed to be not black, sending a second notice to the adjusting module;
the adjusting module is further used for receiving a second notification and adjusting the second resolution to the first resolution;
and the shooting module is also used for shooting according to the first resolution.
Further, the analysis module is further configured to send a third notification to the capturing module when the color of each pixel point of the captured picture captured according to the second resolution is analyzed to be black;
the intercepting module is also used for intercepting pictures shot according to a second resolution at intervals of a second preset duration;
the analysis module is also used for analyzing the color of each pixel point of the captured picture shot according to the second resolution;
or the adjusting module is further configured to adjust the second resolution to a third resolution; the shooting module is also used for shooting according to the third resolution; wherein the second resolution is greater than the third resolution.
Wherein the first preset duration is longer than the second preset duration.
It should be noted that the intercepting module in the apparatus may be disposed in the sensing unit 140 in fig. 1, the analyzing module and the adjusting module may be disposed in the controller 180 in fig. 1, and the photographing module may be disposed in the multimedia module 181 in fig. 1.
Fig. 4 is a flowchart of the photographing method of the present invention, as shown in fig. 4, when photographing at the first resolution, including:
step 401: and intercepting the currently shot picture at a first preset time interval and analyzing the color of each pixel point of the intercepted currently shot picture.
The first preset time period may be set according to an actual situation, and may be set to a second level, such as 1 second, 2 seconds, and the like.
Wherein, the shooting comprises shooting and continuous shooting.
It should be noted that how to analyze the color of the pixel points of the image belongs to a conventional technical means known to those skilled in the art, and is not described herein again.
Step 402: and when the color of each pixel point of the captured current shot picture is analyzed to be black, adjusting the first resolution to be the second resolution.
Here, black in the above description is also understood as a black range. It is common technical means in the art to define the black and black ranges, and the disclosure is not limited thereto, and will not be described herein.
The first resolution and the second resolution may be set by a user in advance or may be set by the system itself. The first resolution is greater than the second resolution.
Further, when it is analyzed that the colors of the pixel points of the captured current shot picture are not all black, the step 401 is performed.
Step 403: the photographing is performed at the second resolution.
Further, the method also includes, after: intercepting the picture shot according to the second resolution at intervals of second preset duration, and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution; and when the color of each pixel point of the captured picture shot according to the second resolution is not black, shooting according to the first resolution.
Further, when it is analyzed that the color of each pixel point of the captured picture shot according to the second resolution is black, the method further includes: returning to the step of intercepting the picture shot according to the second resolution at intervals of second preset duration and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution; or, adjusting the second resolution to a third resolution; shooting according to the third resolution; wherein the second resolution is greater than the third resolution. The third resolution may be set by the user in advance, or may be set by the system itself. The second resolution is greater than the third resolution.
Wherein the first preset duration is longer than the second preset duration. The second preset time period may be set according to practical situations, and may be set to be in the order of milliseconds, such as 100 milliseconds, 500 milliseconds, and the like.
Fig. 5 is a schematic flowchart of an embodiment of the shooting method of the present invention, as shown in fig. 5, including:
step 501: the user starts shooting using the mobile phone.
Wherein, the shooting comprises shooting and continuous shooting.
Step 502: and intercepting the current shot picture of the user every 1 second.
In this embodiment, the first preset time duration is 1 second, and the interception interval time duration of 1 second may be changed according to practical situations. Such as 2 seconds, 5 seconds.
Step 503: analyzing whether the color of each pixel point of the current picture is black or not, and if the pixel points which are not black exist, turning to step 502; otherwise, go to step 504.
Here, black in the above description is also understood as a black range. It is common technical means in the art to define the black and black ranges, and the disclosure is not limited thereto, and will not be described herein.
Step 504: and reducing the resolution ratio of the user shooting and entering a code reduction shooting stage.
And the code reduction shooting is shooting according to the reduced shooting resolution.
Step 505: in the code reduction shooting stage, the shooting picture is intercepted every 500m seconds.
In this embodiment, the second preset time duration is 500 msec, and the interception interval time duration of 500 msec may be changed according to practical situations, such as 800 msec and 300 msec. Wherein the first preset duration is longer than the second preset duration.
Step 506: analyzing whether the color of each pixel point of the captured picture is in a black or black range, and turning to step 505 when the picture pixel points are in the black or black range as usual; otherwise, go to step 507.
Step 507: the code reduction photographing mode is exited, the resolution is changed back to the original resolution, and the process proceeds to step 502.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A photographing apparatus provided in a mobile terminal, when photographing at a first resolution, comprising: the device comprises an intercepting module, an analyzing module, an adjusting module and a shooting module; wherein,
the capturing module is used for capturing a currently shot picture at intervals of a first preset duration;
the analysis module is used for analyzing the color of each pixel point of the captured current shot picture; when the color of each pixel point of the captured current shot picture is analyzed to be black, sending a first notice to an adjusting module;
the adjusting module is used for receiving the first notice and adjusting the first resolution to the second resolution;
the shooting module is used for shooting according to the second resolution;
wherein the first resolution is greater than the second resolution.
2. The shooting device of claim 1, wherein the intercepting module is further configured to intercept the picture shot according to the second resolution at intervals of a second preset duration;
the analysis module is further used for analyzing the color of each pixel point of the captured picture shot according to the second resolution; when the color of each pixel point of the captured picture shot according to the second resolution is analyzed to be not black, sending a second notice to the adjusting module;
the adjusting module is further configured to receive the second notification and adjust the second resolution to the first resolution;
the shooting module is further used for shooting according to the first resolution.
3. The shooting device according to claim 2, wherein the analyzing module is further configured to send a third notification to the capturing module when it is analyzed that the color of each pixel point of the captured picture shot according to the second resolution is black;
the intercepting module is further used for intercepting pictures shot according to the second resolution at intervals of a second preset duration;
the analysis module is further used for analyzing the color of each pixel point of the captured picture shot according to the second resolution;
or, the adjusting module is further configured to adjust the second resolution to a third resolution; the shooting module is also used for shooting according to the third resolution; wherein the second resolution is greater than the third resolution.
4. The camera of any of claims 1-3, wherein the first predetermined duration is greater than the second predetermined duration.
5. A photographing method characterized by, when photographing at a first resolution, comprising:
intercepting a currently shot picture at intervals of a first preset duration and analyzing the color of each pixel point of the intercepted currently shot picture;
when the color of each pixel point of the captured current shot picture is analyzed to be black, the first resolution is adjusted to be the second resolution;
shooting according to a second resolution;
wherein the first resolution is greater than the second resolution.
6. The capture method of claim 5, further comprising, after the method:
intercepting the picture shot according to the second resolution at intervals of second preset time length and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution;
and when the color of each pixel point of the image shot according to the second resolution is not black, adjusting the second resolution to the first resolution and shooting according to the first resolution.
7. The photographing method according to claim 6, wherein when the analyzed color of each pixel point of the captured picture at the second resolution is black, the method further comprises:
returning to the step of intercepting the picture shot according to the second resolution at intervals of the second preset duration and analyzing the color of each pixel point of the intercepted picture shot according to the second resolution;
or, adjusting the second resolution to a third resolution; and shooting according to a third resolution, wherein the second resolution is higher than the third resolution.
8. The photographing method according to any one of claims 5 to 7, wherein the first preset time period is longer than the second preset time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510367392.XA CN105100607B (en) | 2015-06-26 | 2015-06-26 | A kind of filming apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510367392.XA CN105100607B (en) | 2015-06-26 | 2015-06-26 | A kind of filming apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100607A true CN105100607A (en) | 2015-11-25 |
CN105100607B CN105100607B (en) | 2019-02-15 |
Family
ID=54580048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510367392.XA Active CN105100607B (en) | 2015-06-26 | 2015-06-26 | A kind of filming apparatus and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100607B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744167A (en) * | 2016-03-28 | 2016-07-06 | 努比亚技术有限公司 | Image taking method and device, and mobile terminal |
CN114390199A (en) * | 2018-10-15 | 2022-04-22 | 华为技术有限公司 | Shooting method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291516A (en) * | 2010-06-18 | 2011-12-21 | 华晶科技股份有限公司 | Image resolution regulation method |
US20110310273A1 (en) * | 2010-06-18 | 2011-12-22 | Altek Corporation | Resolution adjusting method |
CN102447884A (en) * | 2010-10-14 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Automatic adjustment system and method of resolution for network camera |
-
2015
- 2015-06-26 CN CN201510367392.XA patent/CN105100607B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291516A (en) * | 2010-06-18 | 2011-12-21 | 华晶科技股份有限公司 | Image resolution regulation method |
US20110310273A1 (en) * | 2010-06-18 | 2011-12-22 | Altek Corporation | Resolution adjusting method |
US8493464B2 (en) * | 2010-06-18 | 2013-07-23 | Altek Corporation | Resolution adjusting method |
CN102447884A (en) * | 2010-10-14 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Automatic adjustment system and method of resolution for network camera |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744167A (en) * | 2016-03-28 | 2016-07-06 | 努比亚技术有限公司 | Image taking method and device, and mobile terminal |
CN105744167B (en) * | 2016-03-28 | 2019-04-02 | 努比亚技术有限公司 | Image capturing method, device and mobile terminal |
CN114390199A (en) * | 2018-10-15 | 2022-04-22 | 华为技术有限公司 | Shooting method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105100607B (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105278910B (en) | A kind of display methods and device | |
CN106304037B (en) | Virtual SIM card management method and device | |
CN104980588B (en) | A kind of method and apparatus for detecting mobile terminal state | |
CN105260083A (en) | Mobile terminal and method for realizing split screens | |
CN104898970A (en) | Volume control method and apparatus | |
CN106488420B (en) | Incoming call processing method, device and system and readable storage medium | |
CN105430258B (en) | A kind of method and apparatus of self-timer group photo | |
CN104951229B (en) | Screenshot method and device | |
CN105958180A (en) | Antenna, mobile terminal and control method thereof | |
CN105353947A (en) | Mobile terminal and application display content controlling method | |
CN105791561A (en) | Mobile terminal control method and device | |
CN107018334A (en) | A kind of applied program processing method and device based on dual camera | |
CN104866352A (en) | Method for starting application and mobile terminal | |
CN106453863B (en) | Method and system for controlling terminal and earphone | |
CN106161790B (en) | Mobile terminal and control method thereof | |
CN106303044B (en) | A kind of mobile terminal and obtain the method to coke number | |
CN105049612A (en) | Method of realizing recording and device of realizing recording | |
CN106791149A (en) | A kind of method of mobile terminal and control screen | |
CN106774860B (en) | Intelligent eliminating method and system for information corner mark | |
CN105094598A (en) | Device and method for processing operational objects | |
CN105094733B (en) | Split screen display method and device | |
CN106792878A (en) | A kind of data traffic monitoring method and device | |
CN106802751A (en) | A kind of terminal and screen display method | |
CN105100607B (en) | A kind of filming apparatus and method | |
CN105208193A (en) | Button-free device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |