CN107807488B - Camera assembly, aperture adjusting method and mobile terminal - Google Patents
Camera assembly, aperture adjusting method and mobile terminal Download PDFInfo
- Publication number
- CN107807488B CN107807488B CN201710970821.1A CN201710970821A CN107807488B CN 107807488 B CN107807488 B CN 107807488B CN 201710970821 A CN201710970821 A CN 201710970821A CN 107807488 B CN107807488 B CN 107807488B
- Authority
- CN
- China
- Prior art keywords
- aperture
- value
- sma
- target
- adjusting
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B9/00—Exposure-making shutters; Diaphragms
- G03B9/02—Diaphragms
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B7/00—Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a camera assembly, an aperture adjusting method and a mobile terminal, relates to the technical field of communication, and solves the problem that the aperture of the existing camera cannot be adjusted when fixed. The method of the invention comprises the following steps: acquiring a target aperture value; and adjusting the current passing through the SMA aperture according to the target aperture value. According to the embodiment of the invention, the SMA aperture is added on the camera, and the current passing through the SMA aperture arranged on the camera is adjusted according to the target aperture value, so that the adjustment of the SMA aperture value is realized, the purpose of adjusting the camera aperture is achieved, and further, the aperture is increased to improve the light inlet quantity under the scene with lower ambient brightness, and further, the image quality is improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a camera assembly, an aperture adjusting method and a mobile terminal.
Background
At present, camera apertures of mobile terminals are generally small and fixed and cannot be adjusted, and in addition, physical apertures cannot be added due to the requirement of the mobile terminals on convenience, so that real different aperture image effects cannot be realized through a single camera.
In addition, under the night scene or dark environment condition, because the ambient brightness is low, the image brightness can only be improved by lengthening the exposure time or increasing the gain, but the frame rate is reduced and noise is increased while the exposure time is lengthened or the gain is increased, so that the smear is serious, and the image quality is influenced.
Disclosure of Invention
The embodiment of the invention provides a camera assembly, an aperture adjusting method and a mobile terminal, and aims to solve the problem that the aperture of an existing camera cannot be adjusted after being fixed.
In a first aspect, an embodiment of the present invention provides a camera assembly, including a camera, further including:
and the shape memory alloy SMA aperture is arranged on the camera and is used for adjusting the light inlet quantity of the camera.
In a second aspect, an embodiment of the present invention provides an aperture adjusting method applied to a mobile terminal, where the mobile terminal includes a camera assembly as described above, and the method includes:
acquiring a target aperture value;
and adjusting the current passing through the SMA aperture according to the target aperture value.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the camera assembly as described above, and the mobile terminal further includes:
the first acquisition module is used for acquiring a target aperture value;
and the adjusting module is used for adjusting the current passing through the SMA aperture according to the target aperture value.
In a fourth aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the aperture adjustment method as described above.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the aperture adjusting method as described above.
Therefore, according to the technical scheme of the embodiment of the invention, the target aperture value is obtained, the current passing through the SMA aperture arranged on the camera is adjusted according to the target aperture value, and the adjustment of the SMA aperture value is realized, so that the purpose of adjusting the camera aperture is achieved, further, the aperture is increased to improve the light inlet quantity under the scene with lower ambient brightness, and further, the image quality is improved.
Drawings
Fig. 1 is a first structural schematic diagram of an SMA aperture of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a second structural diagram of an SMA aperture of the mobile terminal according to the embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for adjusting an aperture according to an embodiment of the invention;
fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a second block diagram of a mobile terminal according to the embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a camera component, which comprises a camera and also comprises:
and the shape memory alloy SMA aperture is arranged on the camera and is used for adjusting the light inlet quantity of the camera.
According to the embodiment of the invention, according to the characteristic that the SMA aperture is deformed after the temperature is increased or reduced, the temperature of the SMA aperture can be controlled by adjusting the current flowing through the SMA aperture, so that the purpose of controlling the deformation of the aperture is realized, and the purpose of adjusting the aperture value of the SMA aperture is finally realized.
As shown in fig. 1, as an alternative implementation manner, the SMA aperture is an annular SMA aperture 101, and the SMA aperture is embedded in an end portion or an inner portion of the camera.
The outer diameter of this annular SMA aperture 101 is the same with the internal diameter of camera, and this annular SMA aperture 101 can inlay the top of locating the camera, middle part or bottom. By adjusting the current of the annular SMA aperture, the inner diameter of the annular SMA aperture can be changed, and the adjustment of the SMA aperture value is realized, so that the purpose of adjusting the camera aperture is achieved.
As shown in fig. 2, as another alternative implementation, the SMA aperture includes:
a cylindrical sleeve 201 sleeved on the camera;
and the annular SMA aperture 202 is arranged at one end of the cylindrical sleeve 201 and is positioned at the end part of the camera.
Specifically, the periphery of the camera is sleeved with the cylindrical external member 201, the annular SMA aperture 202 is arranged at the front end of the camera, the inner diameter of the annular SMA aperture can be changed by adjusting the current of the annular SMA aperture, the adjustment of the SMA aperture value is realized, and the purpose of adjusting the camera aperture is achieved.
According to the camera assembly provided by the embodiment of the invention, the SMA aperture used for adjusting the light inlet quantity of the camera is shot on the camera, so that the shape of the SMA aperture is changed by adjusting the current passing through the SMA aperture by the mobile terminal, the adjustment of the SMA aperture value is realized, and the purpose of adjusting the camera aperture is achieved.
An embodiment of the present invention provides an aperture adjusting method, which is applied to a mobile terminal, where the mobile terminal includes a camera assembly as described above, and as shown in fig. 3, the method includes:
step 301: and acquiring a target aperture value.
The target aperture value may specifically be an aperture value corresponding to the target ambient brightness, or may be an aperture value in the aperture adjustment command.
Before the target aperture value is acquired, the SMA aperture may be initialized, that is, the SMA aperture may be adjusted to F0, based on the initialization aperture F0 sent from the processor.
Here, the target aperture value is acquired so as to adjust the current of the SMA aperture in accordance with the target aperture value subsequently.
Step 302: and adjusting the current passing through the SMA aperture according to the target aperture value.
In an embodiment of the present invention, the current passing through the SMA aperture may be adjusted according to the relationship between the current aperture value and the target aperture value.
Specifically, when the current aperture value is smaller than the target aperture value, the processor reduces the current passing through the SMA aperture through the aperture control element, reduces the temperature of the SMA aperture, and extends the shape of the SMA aperture, that is, the aperture diameter becomes larger; when the current aperture value is larger than the target aperture value, the aperture control element increases the current passing through the SMA aperture, increases the temperature of the SMA aperture, and further causes the shape of the SMA aperture to contract, i.e., the aperture diameter to become smaller.
According to the embodiment of the invention, according to the characteristic that the SMA aperture is deformed after the temperature is increased or reduced, the temperature of the SMA aperture is controlled by adjusting the current flowing through the SMA aperture, so that the purpose of controlling the deformation of the aperture is realized, and the purpose of adjusting the aperture value of the SMA aperture is finally realized.
As an optional implementation manner, the step 301 includes:
detecting the image brightness of a preview image output by a shooting preview interface; and if the image brightness is detected to meet the preset condition, determining a target aperture value corresponding to the target environment brightness according to the corresponding relation between the preset environment brightness value and the aperture value.
Specifically, the image brightness of the preview image is detected in real time by a processor of the mobile terminal, when it is detected that the image brightness of the preview image is low and the difference between the image brightness of the preview image and the target brightness value is greater than a preset value, or it is detected that the image brightness of the preview image is high and the difference between the image brightness of the preview image and the target brightness value is greater than a preset value, a target aperture value corresponding to the target environment brightness is determined according to the corresponding relationship between the preset environment brightness value and the aperture value, and an aperture adjusting instruction and the target aperture value are sent to an aperture control element, so that the aperture control element adjusts the SAM aperture.
Further, the image brightness of the preview image can be detected in the following manner.
Calculating the brightness Luma of the current image picture by counting the RGB data of the whole picture, and determining the image brightness of the preview image according to the brightness of the current image picture.
Where, Luma ═ sum r + b × (sum g + c) × (sum b)/(num r + numG + numB), a, b, and c are preset numerical values, sum r indicates the total of red pixel values, sum g indicates the total of green pixel values, sum b indicates the total of blue pixel values, numR indicates the number of red pixels, numG indicates the number of green pixels, and numB indicates the number of blue pixels.
As another optional implementation manner, the step 301 includes:
acquiring an aperture adjusting instruction sent by a processor of the mobile terminal; and extracting a target aperture value in the aperture adjusting instruction.
In an embodiment of the present invention, after receiving an aperture adjustment instruction sent by a processor of a mobile terminal, an aperture control element extracts a target aperture value in the aperture adjustment instruction, so as to subsequently adjust a current passing through an SMA aperture according to a relationship between a current aperture value and the target aperture value.
Further, the step 302 includes:
adjusting the current passing through the SMA aperture according to the relationship between the current aperture value and the target aperture value to obtain a first aperture value; detecting the magnitude of the difference between the first aperture value and the target aperture value; and if the difference value is smaller than the preset threshold value, determining that the aperture value of the SMA aperture is adjusted to the target aperture value, and stopping the current regulation of the SMA aperture.
Further, if it is detected that the difference value is greater than or equal to the preset threshold value, the current passing through the SMA aperture is continuously adjusted according to the relationship between the first aperture value and the target aperture value until the difference value between the adjusted second aperture value and the target aperture value is smaller than the preset threshold value.
Specifically, when the current aperture value is smaller than the target aperture value, the aperture control element reduces the current passing through the SMA aperture, reduces the temperature of the SMA aperture, and extends the shape of the SMA aperture, that is, enlarges the aperture diameter; when the current aperture value is larger than the target aperture value, the aperture control element increases the current passing through the SMA aperture, increases the temperature of the SMA aperture, and further causes the shape of the SMA aperture to contract, i.e., the aperture diameter to become smaller.
The method comprises the following steps of adjusting the current passing through the SMA aperture according to the relation between the current aperture and the target aperture to obtain a first aperture, wherein the method comprises the following steps:
detecting the resistance value of the SMA aperture in the process of adjusting the current of the SMA aperture; and obtaining a first aperture value according to the resistance value of the SMA aperture.
The step of obtaining a first aperture value according to the resistance value of the SMA aperture comprises the following steps: obtaining the cross-sectional area of the SMA aperture according to the resistance; and obtaining the first aperture value according to the cross sectional area of the SMA aperture.
Specifically, a target current value of the SMA aperture is determined according to a difference value between a current aperture value and the target aperture value, and if the difference value is larger, the target current value is larger; then, according to the current aperture value and the target aperture value, determining whether to increase or decrease the target current value; then, obtaining the resistance of the SMA aperture after current adjustment; according to the resistance, the cross-sectional area of the SMA aperture is obtained through a preset formula; and finally, obtaining a first aperture value corresponding to the cross-sectional area of the current SMA aperture according to the corresponding aperture of the preset cross-sectional area and the aperture value.
Wherein the predetermined formula isR is the resistance of the SMA aperture, rho is the resistivity of the SMA aperture, and S is the cross-sectional area of the SMA aperture.
The shape of the SMA aperture is shortened after the temperature is increased, at the moment, according to the characteristics of the resistor, the cross section area is enlarged due to the shortened shape, so that the resistor is reduced, and the aperture control element can judge whether the SMA aperture is adjusted in place or not by detecting the change of the resistor in real time.
Assuming that the first aperture value is F, the target aperture value is F1, and the preset threshold value is Th1, the SMA aperture control element detects and calculates | F1-F | in real time, and if F1-F >0 and F1-F > Th1, that is, the current aperture is not adjusted in place, the current flowing through the SMA aperture is continuously adjusted until F1-F < Th1, and the aperture adjustment is completed. If the aperture is adjusted too much, namely F1-F is less than 0, and F1-F is greater than Th1, at the moment, the adjustment amplitude is too large, the aperture control element needs to increase the current of the SMA device again, the temperature of the SMA device rises and the SMA device begins to contract, and the aperture becomes small; if F1-F <0 and F-F1> Th1, i.e. the current aperture is too large and needs to be adjusted down, the current through the SMA aperture is continuously adjusted until F-F1< Th1 and the aperture adjustment is complete. If the aperture is adjusted too much, namely F1-F >0, and F1-F > Th1, and the adjustment amplitude is too large, the aperture control module needs to reduce the current of the SMA device again, and the temperature of the SMA device is reduced to start to extend, so that the aperture is enlarged.
In an embodiment of the present invention, after the step 302, the method further includes:
acquiring at least two target images shot by a camera of the mobile terminal according to different target aperture values; and synthesizing at least two target images into one multi-aperture image and outputting the multi-aperture image.
Here, after the aperture value of the SMA aperture is adjusted to each target aperture value, one target image is captured at each target aperture value to obtain at least two target images, and the at least two target images are synthesized into one multi-aperture image according to the conventional image synthesis technique and output to the processor.
In this embodiment, the processor may issue N aperture adjustment instructions, where the N aperture adjustment instructions are used to instruct the aperture control element to adjust the aperture value of the SMA aperture to N target aperture values, capture a target image with each target aperture value, and combine the N target images with different target aperture values into a multi-aperture image for output. Specifically, a target image is shot according to the target aperture value in each aperture adjustment instruction, whether shooting is performed for the nth time or not is judged after each target image is shot, if the shooting is performed for the nth time, multiple aperture images are synthesized according to the N target images, otherwise, the target image is continuously shot according to the target aperture value, wherein N is a positive integer larger than 1.
Further, after the step of combining the at least two target images into one multi-aperture image and outputting the combined image, the method further includes:
displaying the multi-aperture image and the aperture adjustment mark;
receiving a third aperture value input by a user according to the aperture adjusting identification;
and generating and displaying an image corresponding to the third aperture value according to the multi-aperture image.
The aperture adjustment mark may be specifically an aperture adjustment button, and assuming that the user needs to view an image of the first target aperture value, at this time, the user only needs to adjust the aperture value to the first target aperture value through the aperture adjustment button, and the processor obtains image data corresponding to the first target aperture value from the multi-aperture image and displays a corresponding image, and hides and displays images of other aperture values as a background, so that the user can conveniently view images with different aperture values through the above manner.
As shown in fig. 4, an embodiment of the present invention further provides a mobile terminal 400, which includes the camera assembly as described above, and further includes:
a first obtaining module 401, configured to obtain a target aperture value;
an adjusting module 402, configured to adjust a current passing through the SMA aperture according to the target aperture value.
As shown in fig. 5, the mobile terminal according to the embodiment of the present invention includes, in the first obtaining module 401:
the first detection submodule 4011 is configured to detect image brightness of a preview image output by a shooting preview interface;
the first determining sub-module 4012 is configured to determine, if it is detected that the image brightness meets a preset condition, a target aperture value corresponding to the target environment brightness according to a corresponding relationship between a preset environment brightness value and an aperture value.
In the mobile terminal of the embodiment of the present invention, the first obtaining module 401 includes:
the obtaining sub-module 4013 is configured to obtain an aperture adjustment instruction sent by a processor of the mobile terminal;
and the extracting submodule 4014 is configured to extract a target aperture value in the aperture adjustment instruction.
In the mobile terminal of the embodiment of the present invention, the adjusting module 402 includes:
the adjusting sub-module 4021 is used for adjusting the current passing through the SMA aperture according to the relationship between the current aperture value and the target aperture value to obtain a first aperture value;
the second detection sub-module 4022 is configured to detect a difference between the first aperture value and the target aperture value;
the second determining sub-module 4023 is configured to determine that the aperture value of the SMA aperture has been adjusted to the target aperture value and stop the current adjustment of the SMA aperture if it is detected that the difference is smaller than a preset threshold.
In the mobile terminal of the embodiment of the present invention, the adjusting sub-module 4021 includes:
the detection unit 40211 is used for detecting the resistance value of the SMA aperture in the process of adjusting the current of the SMA aperture;
the determining unit 40212 is configured to obtain a first aperture value according to the resistance value of the SMA aperture.
In the mobile terminal of the embodiment of the present invention, the adjusting module 402 includes:
the processing sub-module 4024 is configured to, if it is detected that the difference is greater than or equal to the preset threshold, continue to adjust the current passing through the SMA aperture according to the relationship between the first aperture value and the target aperture value until the difference between the adjusted second aperture value and the target aperture value is smaller than the preset threshold.
The mobile terminal of the embodiment of the invention also comprises:
a second obtaining module 403, configured to obtain at least two target images captured by a camera of the mobile terminal at different target aperture values;
and a synthesizing module 404, configured to synthesize at least two target images into one multi-aperture image and output the multi-aperture image.
The mobile terminal of the embodiment of the invention also comprises:
a display module 405, configured to display the multi-aperture image and the aperture adjustment identifier;
a receiving module 406, configured to receive a third aperture value input by the user according to the aperture adjustment identifier;
a generating module 407, configured to generate and display an image corresponding to the third aperture value according to the multi-aperture image.
It should be noted that the mobile terminal is a mobile terminal corresponding to the above method embodiment, and all implementation manners in the above method embodiment are applicable to the embodiment of the mobile terminal, and the same technical effect can be achieved.
According to the mobile terminal provided by the embodiment of the invention, the target aperture value is obtained, and the current passing through the SMA aperture arranged on the camera is adjusted according to the target aperture value, so that the adjustment of the SMA aperture value is realized, the purpose of adjusting the camera aperture is achieved, the aperture is increased and the light inlet quantity is increased under the scene with low ambient brightness, and the image quality is improved.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to obtain a target aperture value; and adjusting the current passing through the SMA aperture according to the target aperture value.
According to the technical scheme of the embodiment of the invention, the target aperture value is obtained, the current passing through the SMA aperture arranged on the camera is adjusted according to the target aperture value, and the adjustment of the SMA aperture value is realized, so that the purpose of adjusting the aperture of the camera is achieved, the aperture is enlarged and the light inlet quantity is increased under the scene with low ambient brightness, and the image quality is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. 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 interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned aperture adjusting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the aperture adjusting method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 (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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (20)
1. A camera assembly, comprising a camera head, further comprising:
the Shape Memory Alloy (SMA) aperture is arranged on the camera and used for adjusting the light inlet quantity of the camera;
the SMA aperture is an annular SMA aperture, and the SMA aperture is embedded in the end part or the inner part of the camera.
2. The camera assembly of claim 1, wherein the SMA aperture further comprises:
the cylindrical sleeve is sleeved on the camera;
the annular SMA aperture is arranged at one end of the cylindrical external member and is positioned at the end part of the camera.
3. An aperture adjustment method applied to a mobile terminal, wherein the mobile terminal comprises a camera assembly according to any one of claims 1 to 2, the method comprising:
acquiring a target aperture value;
and adjusting the current passing through the SMA aperture according to the target aperture value.
4. The aperture adjustment method according to claim 3, wherein the step of obtaining the target aperture value comprises:
detecting the image brightness of a preview image output by a shooting preview interface;
and if the image brightness is detected to meet the preset condition, determining a target aperture value corresponding to the target environment brightness according to the corresponding relation between the preset environment brightness value and the aperture value.
5. The aperture adjustment method according to claim 3, wherein the step of obtaining the target aperture value comprises:
acquiring an aperture adjusting instruction sent by a processor of the mobile terminal;
and extracting a target aperture value in the aperture adjusting instruction.
6. The aperture adjustment method according to claim 3, wherein the step of adjusting the current through the SMA aperture according to the target aperture value comprises:
adjusting the current passing through the SMA aperture according to the relationship between the current aperture value and the target aperture value to obtain a first aperture value;
detecting the magnitude of the difference between the first aperture value and the target aperture value;
and if the difference value is smaller than the preset threshold value, determining that the aperture value of the SMA aperture is adjusted to the target aperture value, and stopping the current regulation of the SMA aperture.
7. The method for adjusting an aperture according to claim 6, wherein the step of adjusting the current through the SMA aperture according to the relationship between the current aperture and the target aperture to obtain the first aperture comprises:
detecting the resistance value of the SMA aperture in the process of adjusting the current of the SMA aperture;
and obtaining a first aperture value according to the resistance value of the SMA aperture.
8. The aperture adjustment method according to claim 6, wherein the step of detecting the magnitude of the difference between the first aperture value and the target aperture value is followed by further comprising:
if the difference value is larger than or equal to the preset threshold value, continuously adjusting the current passing through the SMA aperture according to the relation between the first aperture value and the target aperture value until the difference value between the adjusted second aperture value and the target aperture value is smaller than the preset threshold value.
9. The aperture adjustment method according to claim 3, further comprising, after the step of adjusting the current through the SMA aperture according to the target aperture value:
acquiring at least two target images shot by a camera of the mobile terminal according to different target aperture values;
and synthesizing at least two target images into one multi-aperture image and outputting the multi-aperture image.
10. The aperture adjustment method according to claim 9, wherein the step of combining at least two of the target images into one multi-aperture image and outputting the combined image further comprises:
displaying the multi-aperture image and the aperture adjustment mark;
receiving a third aperture value input by a user according to the aperture adjusting identification;
and generating and displaying an image corresponding to the third aperture value according to the multi-aperture image.
11. A mobile terminal, characterized in that the mobile terminal comprises a camera assembly according to any of claims 1-2, the mobile terminal further comprising:
the first acquisition module is used for acquiring a target aperture value;
and the adjusting module is used for adjusting the current passing through the SMA aperture according to the target aperture value.
12. The mobile terminal of claim 11, wherein the first obtaining module comprises:
the first detection submodule is used for detecting the image brightness of a preview image output by the shooting preview interface;
and the first determining submodule is used for determining a target aperture value corresponding to the target environment brightness according to the corresponding relation between the preset environment brightness value and the aperture value if the image brightness is detected to meet the preset condition.
13. The mobile terminal of claim 11, wherein the first obtaining module comprises:
the acquisition submodule is used for acquiring an aperture adjusting instruction sent by a processor of the mobile terminal;
and the extraction submodule is used for extracting the target aperture value in the aperture adjusting instruction.
14. The mobile terminal of claim 11, wherein the adjusting module comprises:
the adjusting submodule is used for adjusting the current passing through the SMA aperture according to the relation between the current aperture value and the target aperture value to obtain a first aperture value;
the second detection submodule is used for detecting the difference value between the first aperture value and the target aperture value;
and the second determining submodule is used for determining that the aperture value of the SMA aperture is adjusted to the target aperture value and stopping the current regulation of the SMA aperture if the difference value is detected to be smaller than a preset threshold value.
15. The mobile terminal of claim 14, wherein the adjusting submodule comprises:
the detection unit is used for detecting the resistance value of the SMA aperture in the process of adjusting the current of the SMA aperture;
and the determining unit is used for obtaining a first aperture value according to the resistance value of the SMA aperture.
16. The mobile terminal of claim 14, wherein the adjusting module comprises:
and the processing submodule is used for continuously adjusting the current passing through the SMA aperture according to the relation between the first aperture value and the target aperture value if the difference value is detected to be larger than or equal to the preset threshold value, until the difference value between the adjusted second aperture value and the target aperture value is smaller than the preset threshold value.
17. The mobile terminal of claim 11, further comprising:
the second acquisition module is used for acquiring at least two target images shot by a camera of the mobile terminal according to different target aperture values;
and the synthesis module is used for synthesizing the at least two target images into one multi-aperture image and outputting the multi-aperture image.
18. The mobile terminal of claim 17, further comprising:
the display module is used for displaying the multi-aperture image and the aperture adjusting mark;
the receiving module is used for receiving a third aperture value input by a user according to the aperture adjusting identification;
and the generating module is used for generating and displaying an image corresponding to the third aperture value according to the multi-aperture image.
19. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, carries out the steps of the aperture adjustment method according to any one of claims 3 to 10.
20. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the aperture adjustment method as set forth in any one of claims 3 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710970821.1A CN107807488B (en) | 2017-10-18 | 2017-10-18 | Camera assembly, aperture adjusting method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710970821.1A CN107807488B (en) | 2017-10-18 | 2017-10-18 | Camera assembly, aperture adjusting method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107807488A CN107807488A (en) | 2018-03-16 |
CN107807488B true CN107807488B (en) | 2020-03-17 |
Family
ID=61584506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710970821.1A Active CN107807488B (en) | 2017-10-18 | 2017-10-18 | Camera assembly, aperture adjusting method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107807488B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572589B (en) * | 2018-05-18 | 2021-09-03 | 杭州海康威视数字技术股份有限公司 | Aperture control method and image pickup apparatus |
CN109698948B (en) * | 2019-01-31 | 2021-04-23 | 广景视睿科技(深圳)有限公司 | Projection method and projection equipment |
CN113766098B (en) * | 2020-06-05 | 2022-12-27 | 华为技术有限公司 | Diaphragm, diaphragm control method, camera assembly and electronic equipment |
CN114527563B (en) * | 2020-11-23 | 2023-02-03 | 华为技术有限公司 | Liquid light ring control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1177121A (en) * | 1996-05-30 | 1998-03-25 | 三星电子株式会社 | Iris control apparatus for video camera |
JP2008257028A (en) * | 2007-04-06 | 2008-10-23 | Olympus Corp | Incident light adjusting device |
JP2011086708A (en) * | 2009-10-14 | 2011-04-28 | Nikon Corp | Diaphragm device, optical system, exposure device, and method of manufacturing electronic device |
CN106210501A (en) * | 2015-04-08 | 2016-12-07 | 大同大学 | Image synthesizing method and image processing apparatus |
CN107147831A (en) * | 2017-05-31 | 2017-09-08 | 广东欧珀移动通信有限公司 | Aperture assemblies, CCD camera assembly and the electronic equipment of camera |
-
2017
- 2017-10-18 CN CN201710970821.1A patent/CN107807488B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1177121A (en) * | 1996-05-30 | 1998-03-25 | 三星电子株式会社 | Iris control apparatus for video camera |
JP2008257028A (en) * | 2007-04-06 | 2008-10-23 | Olympus Corp | Incident light adjusting device |
JP2011086708A (en) * | 2009-10-14 | 2011-04-28 | Nikon Corp | Diaphragm device, optical system, exposure device, and method of manufacturing electronic device |
CN106210501A (en) * | 2015-04-08 | 2016-12-07 | 大同大学 | Image synthesizing method and image processing apparatus |
CN107147831A (en) * | 2017-05-31 | 2017-09-08 | 广东欧珀移动通信有限公司 | Aperture assemblies, CCD camera assembly and the electronic equipment of camera |
Also Published As
Publication number | Publication date |
---|---|
CN107807488A (en) | 2018-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109639970B (en) | Shooting method and terminal equipment | |
CN109361865B (en) | Shooting method and terminal | |
CN108307109B (en) | High dynamic range image preview method and terminal equipment | |
CN109743498B (en) | Shooting parameter adjusting method and terminal equipment | |
CN110365907B (en) | Photographing method and device and electronic equipment | |
CN109688322B (en) | Method and device for generating high dynamic range image and mobile terminal | |
CN108111754B (en) | Method for determining image acquisition mode and mobile terminal | |
CN110602401A (en) | Photographing method and terminal | |
EP4131931A1 (en) | Image capturing method and electronic device | |
CN107807488B (en) | Camera assembly, aperture adjusting method and mobile terminal | |
CN108513067B (en) | Shooting control method and mobile terminal | |
CN108307106B (en) | Image processing method and device and mobile terminal | |
CN110969981A (en) | Screen display parameter adjusting method and electronic equipment | |
CN108234894B (en) | Exposure adjusting method and terminal equipment | |
CN107730460B (en) | Image processing method and mobile terminal | |
CN109819166B (en) | Image processing method and electronic equipment | |
CN108335258B (en) | Image processing method and device of mobile terminal | |
CN109474784B (en) | Preview image processing method and terminal equipment | |
CN109246351B (en) | Composition method and terminal equipment | |
CN110636225B (en) | Photographing method and electronic equipment | |
CN109639981B (en) | Image shooting method and mobile terminal | |
CN109462727B (en) | Filter adjusting method and mobile terminal | |
CN109104573B (en) | Method for determining focusing point and terminal equipment | |
CN108924413B (en) | Shooting method and mobile terminal | |
CN108259756B (en) | Image shooting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |