CN115250326A - Shooting resolution adjusting method and device and intelligent equipment - Google Patents

Shooting resolution adjusting method and device and intelligent equipment Download PDF

Info

Publication number
CN115250326A
CN115250326A CN202110459544.4A CN202110459544A CN115250326A CN 115250326 A CN115250326 A CN 115250326A CN 202110459544 A CN202110459544 A CN 202110459544A CN 115250326 A CN115250326 A CN 115250326A
Authority
CN
China
Prior art keywords
resolution
shooting
object distance
brightness
distance information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110459544.4A
Other languages
Chinese (zh)
Inventor
胡泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan ELF Education Software Co Ltd
Original Assignee
Dongguan ELF Education Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan ELF Education Software Co Ltd filed Critical Dongguan ELF Education Software Co Ltd
Priority to CN202110459544.4A priority Critical patent/CN115250326A/en
Priority to PCT/CN2021/097176 priority patent/WO2022227200A1/en
Publication of CN115250326A publication Critical patent/CN115250326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a method and a device for adjusting shooting resolution and intelligent equipment, wherein the method comprises the following steps: acquiring ambient brightness and object distance information during shooting; and determining the shooting resolution according to the ambient brightness and the object distance information. The invention can balance the definition and the performance of power consumption and memory, dynamically adjust the shooting resolution and reduce the power consumption and the memory on the premise of meeting the use of a user.

Description

Shooting resolution adjusting method and device and intelligent equipment
Technical Field
The invention relates to the technical field of terminal equipment, in particular to a method and a device for adjusting shooting resolution and intelligent equipment.
Background
At present, smart devices such as smart phones and smart watches are usually equipped with a high-resolution camera in order to have a better shooting effect.
Taking the smart watch as an example, if the camera always works under high resolution, although high-definition pictures can be obtained, a large amount of memory is occupied, and the operation of other applications is influenced; and the power consumption is high, which easily causes the watch to consume electric quantity quickly.
Therefore, it is necessary to balance the performance such as definition and power consumption memory, and dynamically adjust the shooting resolution, so as to reduce the power consumption and memory under the premise of satisfying the use of the user.
Disclosure of Invention
The invention aims to provide a method and a device for adjusting shooting resolution and intelligent equipment, which are used for solving the problem of imbalance between definition and power consumption memory in the prior art.
The technical scheme provided by the invention is as follows:
a shooting resolution adjustment method comprises the following steps: acquiring ambient brightness and object distance information during shooting; and determining the shooting resolution according to the ambient brightness and the object distance information.
Further, the determining the shooting resolution according to the ambient brightness and the object distance information includes:
when the ambient brightness is greater than a first brightness threshold or less than a second brightness threshold, adjusting the shooting resolution to a second resolution; the first brightness threshold is greater than the second brightness threshold.
Further, the determining the shooting resolution according to the ambient brightness and the object distance information further includes:
and when the ambient brightness is between a first brightness threshold and a second brightness threshold and the object distance information is greater than a first object distance threshold, adjusting the shooting resolution to a first resolution.
Further, the determining the shooting resolution according to the ambient brightness and the object distance information further includes:
and when the object distance information is smaller than a second object distance threshold, adjusting the shooting resolution to be a second resolution.
Further, the acquiring the ambient brightness at the time of shooting includes:
and determining the environment brightness according to the read sensitivity ISO value of the camera.
Further, the acquiring object distance information during shooting includes:
and determining the object distance information according to the read driving current value of the motor when the camera is focused.
The invention also provides a device for adjusting the shooting resolution, which comprises:
the information acquisition module is used for acquiring the ambient brightness and object distance information during shooting;
and the resolution determining module is used for determining shooting resolution according to the ambient brightness and the object distance information.
Further, the resolution determination module is further configured to adjust the shooting resolution to a second resolution when the ambient brightness is greater than a first brightness threshold or less than a second brightness threshold; the first brightness threshold is greater than the second brightness threshold.
Further, the information acquisition module is further configured to determine the object distance information according to the read driving current value of the motor when the camera is focused.
The present invention also provides an intelligent device, comprising: a memory for storing a computer program; and the processor is used for realizing the shooting resolution adjusting method when the computer program is run.
The method and the device for adjusting the shooting resolution and the intelligent equipment provided by the invention at least have the following beneficial effects:
the shooting resolution ratio is dynamically adjusted according to the ambient brightness and the object distance information during shooting, balance can be achieved between the definition and the performance of the power consumption memory and the like, the power consumption and the memory resource occupation are reduced on the premise that the use requirement of a user is met, and the customer experience is improved.
Drawings
The above features, technical features, advantages and implementations of a method and apparatus for adjusting a photographing resolution, and an intelligent device will be further described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an embodiment of a method for adjusting a photographing resolution according to the present invention;
fig. 2 is a flowchart of another embodiment of a photographing resolution adjusting method according to the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an adjusting apparatus for photographing resolution according to the present invention;
fig. 4 is a schematic structural diagram of an embodiment of a smart device of the present invention.
The reference numbers illustrate:
100. the method comprises an information acquisition module 200, a resolution determination module 20, an intelligent device 21, a memory 22, a processor 23, a computer program and 10, and a shooting resolution adjusting device.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, only the parts relevant to the present invention are schematically shown in the drawings, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically depicted, or only one of them is labeled. In this document, "one" means not only "only one" but also a case of "more than one".
The existing intelligent equipment is usually provided with a high-resolution camera, but if high-resolution shooting is always used (namely, the intelligent equipment works under the high resolution), the equipment is easy to consume electricity quickly, resources such as a memory are occupied more, and the running of other applications is influenced.
For this case, two shooting modes, such as smart shooting and high-definition shooting, may be provided for the user to select. High resolution is used for high definition shooting. And in the intelligent shooting, the shooting resolution ratio is automatically selected by the equipment according to the application scene, so that the dynamic balance between the shooting definition and the performances such as power consumption and memory can be realized.
By investigating the user shooting scene, we find that: in a darker environment or a brighter environment outdoors, there is less demand from customers to take high-definition photographs. In an indoor scene, a client has the requirement of shooting characters, and certain requirements are required on definition.
Therefore, the shooting resolution ratio is automatically adjusted according to the ambient brightness and the object distance information during shooting, the balance between the performance such as power consumption and memory and the shooting definition is realized under the condition of meeting the user requirements, and the customer experience is improved. See in particular the detailed description of the examples below.
In an embodiment of the present invention, as shown in fig. 1, a method for adjusting a photographing resolution includes:
step S100 acquires ambient brightness and object distance information at the time of shooting.
Optionally, the environmental brightness at the time of shooting is determined according to the read sensitivity ISO value of the camera.
The ISO value is used for indicating the sensitivity of the camera, commonly used ISO values are 50, 100, 200, 400, 1000 and the like, and the camera can automatically adjust the ISO value according to the ambient brightness, so that the ambient brightness can be reversely deduced according to the ISO value.
Alternatively, the average pixel brightness may be obtained by averaging the brightness of all pixels in the initial image, and the ambient brightness may be derived from the average pixel brightness. The initial image is obtained by the camera according to the initial exposure parameters.
Focusing is carried out in shooting, and the shot object is imaged clearly through focusing. When the image is clear, the focus is obtained. The object distance information in this embodiment refers to the distance from the object to be photographed to the lens center in focusing.
Optionally, the object distance information during shooting is determined according to the read driving current value of the motor during camera focusing.
The camera includes a lens, an image sensor, and a motor. The distance between the lens and the image sensor is called the image distance. The image distance is adjusted to focus under the driving of the motor. The driving current value of the motor and the image distance have a certain corresponding relation, and the larger the driving current is, the larger the image distance is.
The formula is followed between the image distance and the object distance:
1/u+1/v=1/f;
wherein u refers to the object distance, i.e. the distance of the object from the center of the lens; v refers to the image distance, i.e. the distance from the image (image sensor) to the center of the lens, and f refers to the focal length.
Under the determination of focal length and image distance, the object distance can be obtained according to the formula. The larger the image distance, the smaller the object distance.
Therefore, the corresponding object distance information can be obtained from the drive current value of the motor at the time of focusing, and this can be used as the object distance information of the present embodiment.
Step S200 determines a photographing resolution according to the ambient brightness and the object distance information.
The shooting resolution is divided into a first resolution and a second resolution, wherein the first resolution is larger than the second resolution, namely the first resolution is high resolution, and the second resolution is low resolution. For example, the first resolution is 200 ten thousand pixels and the second resolution is 30 ten thousand pixels.
Optionally, when the ambient brightness is greater than the first brightness threshold or less than the second brightness threshold, adjusting the shooting resolution to the second resolution; the first brightness threshold is greater than the second brightness threshold.
The ambient brightness is less than the second brightness threshold, indicating that the environment is too dark. In a too dark environment, light is insufficient, and high-resolution shooting is adopted, so that more noise occurs, and the imaging effect is poor; in addition, the requirement of a user for taking a high-definition picture in such a scene is low, so that in such a scene, the shooting resolution can be set to be low, the sensitivity can be increased, the noise in the image can be reduced, and the imaging effect can be improved.
The ambient brightness is greater than the first brightness threshold, which indicates that the environment is too bright, such as a bright environment outdoors. In an environment with too bright light, the imaging effect of high-resolution shooting is not good, and the requirement of a user for shooting a high-definition picture in the scene is low, so that in the scene, the shooting resolution can be set to be low.
For example, the second brightness threshold is 400, and the first brightness threshold is 1300. Adjusting the photographing resolution to a second resolution when the ambient brightness value BV < 400; when the environment luminance value BV >1300, the photographing resolution is adjusted to the second resolution.
Optionally, when the ambient brightness is between the first brightness threshold and the second brightness threshold and the object distance information is greater than the first object distance threshold, the shooting resolution is adjusted to the first resolution.
The ambient brightness is between the first brightness threshold and the second brightness threshold, which indicates that the ambient brightness is moderate, and the user may need to take high-definition photos. At this time, the object distance information is checked again, if the object distance information is larger than the first object distance threshold, it is indicated that the shot object is far away from the lens, the view field is wide at this time, and if the low-resolution shooting is adopted, the picture is not clear, so that the high-resolution (namely, the first resolution) shooting is changed to increase the definition of the picture.
Optionally, when the object distance information is smaller than the second object distance threshold, the shooting resolution is adjusted to the second resolution.
The second object distance threshold is less than the first object distance threshold. If the object distance information is smaller than the second distance threshold, the shot object is close to the lens, the shot object belongs to close object shooting, the visual field is small, the high-resolution shooting definition and the low-resolution shooting definition are equivalent, and the low-resolution shooting is adopted in consideration of the fact that the low resolution can reduce power consumption and memory occupation.
It should be noted that the resolution may be divided into more stages according to actual needs, and the corresponding scene recognition and resolution switching are performed in more detail, which is not limited in this embodiment.
According to the embodiment, the environment brightness and the object distance information during shooting are combined, the shooting resolution ratio is automatically adjusted according to the environment brightness and the object distance information, the balance between the performance of power consumption memory and the like and the shooting definition is achieved under the condition that the use requirements of users are met, and the customer experience is improved.
In another embodiment of the present invention, as shown in fig. 2, a method for adjusting a photographing resolution includes:
step S110 determines the ambient brightness at the time of shooting according to the read sensitivity ISO value of the camera.
The ISO value is used for indicating the light sensitivity of the camera, and the camera can automatically adjust the ISO value according to the ambient brightness, so that the ambient brightness can be reversely deduced according to the ISO value.
Step S120 determines object distance information during shooting according to the read drive current value of the motor when the camera is focused.
Focusing is carried out in shooting, and the shot object is imaged clearly through focusing. When the image is clear, the focus is obtained. The object distance information in this embodiment refers to the distance from the photographed object to the center of the lens when the lens is in focus.
The camera includes a lens, an image sensor, and a motor. The distance between the lens and the image sensor is called the image distance. The image distance is adjusted to focus under the driving of the motor. There is a certain correspondence between the drive current value of the motor and the image distance, and the larger the drive current is, the larger the image distance is.
The formula is followed between the image distance and the object distance:
1/u+1/v=1/f;
wherein u refers to the object distance, i.e. the distance of the object from the center of the lens; v refers to the image distance, i.e. the distance from the image (image sensor) to the center of the lens, and f refers to the focal length.
Under the determination of focal length and image distance, the object distance can be obtained according to the formula. The larger the image distance, the smaller the object distance.
Therefore, the corresponding object distance information can be obtained from the drive current value of the motor at the time of focusing, and this can be used as the object distance information of the present embodiment.
Step S210 adjusts the shooting resolution to the second resolution when the ambient brightness is greater than the first brightness threshold or less than the second brightness threshold.
In step S220, when the ambient brightness is between the first brightness threshold and the second brightness threshold and the object distance information is greater than the first object distance threshold, the shooting resolution is adjusted to the first resolution.
In step S230, when the object distance information is smaller than the second object distance threshold, the shooting resolution is adjusted to the second resolution.
Specifically, the object distance information refers to a distance from a photographed object to a lens center in focus.
The shooting resolution is divided into a first resolution and a second resolution, wherein the first resolution is larger than the second resolution, namely the first resolution is high resolution, and the second resolution is low resolution.
The first brightness threshold is greater than the second brightness threshold.
And if the ambient brightness is less than the second brightness threshold, the environment is darker. If the environment is dark, the picture with high definition is difficult to be shot in a dark environment, and the requirement of the user for shooting the picture with high definition is low, so that the shooting resolution selects low resolution, namely the second resolution.
If the ambient brightness is greater than the first brightness threshold, the ambient is too bright. If the environment is brighter, the picture with high definition is difficult to be shot in a too bright environment, and the requirement for shooting the picture with high definition by a user is lower, so that the shooting resolution selects low resolution, namely the second resolution.
If the ambient brightness is between the first brightness threshold and the second brightness threshold, which indicates that the ambient brightness is moderate, the user may have a need to take high-definition photos.
The first object distance threshold is greater than the second object distance threshold.
If the object distance information during shooting is larger than the first object distance threshold, the shot object is far away from the lens and belongs to long-distance object shooting, and the visual field is wide at the moment. If the ambient brightness is moderate and the distant object is shot, the high-resolution shooting is relatively low-resolution shooting at the moment, the picture is clearer, and therefore the shooting resolution selects high resolution, namely the first resolution.
If the object distance information is smaller than the second distance threshold, the shot object is close to the lens and belongs to close object shooting, the visual field is small at the moment, the shooting definition of high resolution and low resolution is equal, and therefore the shooting resolution is selected to be low resolution, namely the second resolution.
In order to ensure the fluency of the image when switching between high and low resolution, a certain data space can be reserved.
This embodiment, it is not good according to the high resolution shooting imaging effect under too dark or too bright environment, and high resolution and low resolution shoot the definition when close-range scene is shot fairly, and high resolution shoots principle such as more clear when long-range scene is shot, and ambient brightness and object distance information when discerning and shooting, automatic adjustment shoot the resolution, realize performance such as consumption memory and shoot the balance between the definition, have promoted customer experience.
In an embodiment of the present invention, as shown in fig. 3, an apparatus 10 for adjusting a photographing resolution includes:
the information acquiring module 100 is configured to acquire ambient brightness and object distance information during shooting.
Optionally, the information obtaining module 100 is further configured to determine the ambient brightness during shooting according to the read sensitivity ISO value of the camera.
The ISO value is used for indicating the sensitivity of the camera, commonly used ISO values are 50, 100, 200, 400, 1000 and the like, and the camera can automatically adjust the ISO value according to the ambient brightness, so that the ambient brightness can be reversely deduced according to the ISO value.
Alternatively, the information obtaining module 100 may average all pixel luminances of the initial image to obtain an average pixel luminance, and derive the ambient luminance according to the average pixel luminance. The initial image is obtained by the camera according to the initial exposure parameters.
Focusing is carried out in shooting, and the shot object is imaged clearly through focusing. When the image is clear, the focus is obtained. The object distance information in this embodiment refers to the distance from the photographed object to the center of the lens when the lens is in focus.
Optionally, the information obtaining module 100 is further configured to determine object distance information during shooting according to the read driving current value of the motor during camera focusing.
The camera includes a lens, an image sensor, and a motor. The distance between the lens and the image sensor is called the image distance. The image distance is adjusted to focus under the driving of the motor. The driving current value of the motor and the image distance have a certain corresponding relation, and the larger the driving current is, the larger the image distance is.
The formula is followed between the image distance and the object distance:
1/u+1/v=1/f;
wherein u refers to the object distance, i.e. the distance from the object to the center of the lens; v refers to the image distance, i.e. the distance from the image (image sensor) to the center of the lens, and f refers to the focal length.
Under the condition of determining the focal length and the image distance, the object distance can be obtained according to the formula. The larger the image distance, the smaller the object distance.
Therefore, the corresponding object distance information can be obtained from the drive current value of the motor at the time of focusing, and this can be used as the object distance information of the present embodiment.
And the resolution determining module 200 is configured to determine a shooting resolution according to the ambient brightness and the object distance information.
Specifically, the shooting resolution is divided into a first resolution and a second resolution, the first resolution is greater than the second resolution, that is, the first resolution is a high resolution, and the second resolution is a low resolution. For example, the first resolution is 200 ten thousand pixels, and the second resolution is 30 ten thousand pixels.
Optionally, the resolution determining module 200 is further configured to adjust the shooting resolution to a second resolution when the ambient brightness is greater than the first brightness threshold or less than the second brightness threshold; the first brightness threshold is greater than the second brightness threshold.
The ambient brightness is less than the second brightness threshold, indicating that the environment is too dark. In a too dark environment, the light is insufficient, and high-resolution shooting is adopted, so that more noise can appear, and the imaging effect is poor; in addition, the requirement of a user for taking a high-definition picture in such a scene is low, so that in such a scene, the shooting resolution can be set to be low, the sensitivity can be increased, the noise in the image can be reduced, and the imaging effect can be improved.
The ambient brightness is greater than the first brightness threshold, which indicates that the environment is too bright, such as a bright environment outdoors. In an environment with too bright light, the imaging effect of high-resolution shooting is not good, and the requirement of a user for shooting a high-definition picture in the scene is low, so that in the scene, the shooting resolution can be set to be low.
Optionally, the resolution determining module 200 is further configured to adjust the shooting resolution to the first resolution when the ambient brightness is between the first brightness threshold and the second brightness threshold and the object distance information is greater than the first object distance threshold.
The ambient brightness is between the first brightness threshold and the second brightness threshold, which indicates that the ambient brightness is moderate, and the user may need to take high-definition photos. At this time, the object distance information is checked again, if the object distance information is larger than the first object distance threshold, it is indicated that the shot object is far away from the lens, the view field is wide at this time, and if the low-resolution shooting is adopted, the picture is not clear, so that the high-resolution (namely, the first resolution) shooting is changed to increase the definition of the picture.
Optionally, the resolution determining module 200 is further configured to adjust the shooting resolution to the second resolution when the object distance information is smaller than the second object distance threshold.
The second object distance threshold is smaller than the first object distance threshold.
If the object distance information is smaller than the second distance threshold, the shot object is close to the lens, the shot object belongs to close object shooting, the visual field is small, the high-resolution shooting definition and the low-resolution shooting definition are equivalent, and the low-resolution shooting is adopted in consideration of the fact that the low resolution can reduce power consumption and memory occupation.
It should be noted that the resolution may be divided into more stages according to actual needs, and the corresponding scene recognition and resolution switching are performed in more detail, which is not limited in this embodiment.
According to the embodiment, the environment brightness and the object distance information during shooting are combined, the shooting resolution ratio is automatically adjusted according to the environment brightness and the object distance information, the balance between the performance of power consumption memory and the like and the shooting definition is achieved under the condition that the use requirements of users are met, and the customer experience is improved.
In another embodiment of the present invention, as shown in fig. 3, an adjusting apparatus 10 for photographing resolution includes:
and the information acquisition module 100 is configured to determine the ambient brightness during shooting according to the read sensitivity ISO value of the camera.
The ISO value is used for indicating the light sensitivity of the camera, and the camera can automatically adjust the ISO value according to the ambient brightness, so that the ambient brightness can be reversely deduced according to the ISO value.
The information obtaining module 100 is further configured to determine object distance information during shooting according to the read driving current value of the motor during camera focusing.
Focusing is carried out in shooting, and the shot object is imaged clearly through focusing. When the image is clear, the focus is obtained. The object distance information in this embodiment refers to the distance from the object to be photographed to the lens center in focusing.
The camera includes a lens, an image sensor, and a motor. The distance between the lens and the image sensor is called the image distance. The image distance is adjusted to focus under the driving of the motor. The driving current value of the motor and the image distance have a certain corresponding relation, and the larger the driving current is, the larger the image distance is.
The formula is followed between the image distance and the object distance:
1/u+1/v=1/f;
wherein u refers to the object distance, i.e. the distance of the object from the center of the lens; v refers to the image distance, i.e. the distance from the image (image sensor) to the center of the lens, and f refers to the focal length.
Under the determination of focal length and image distance, the object distance can be obtained according to the formula. The larger the image distance, the smaller the object distance.
Therefore, the corresponding object distance information can be obtained from the drive current value of the motor at the time of focusing, and this can be used as the object distance information of the present embodiment.
A resolution determination module 200, configured to adjust the shooting resolution to a second resolution when the ambient brightness is greater than the first brightness threshold or less than the second brightness threshold;
the system is also used for adjusting the shooting resolution to be a first resolution when the ambient brightness is between a first brightness threshold and a second brightness threshold and the object distance information is greater than a first object distance threshold;
and the camera is further used for adjusting the shooting resolution to be the second resolution when the object distance information is smaller than the second distance threshold.
Specifically, the shooting resolution is divided into a first resolution and a second resolution, the first resolution being greater than the second resolution, that is, the first resolution is a high resolution, and the second resolution is a low resolution.
The first brightness threshold is greater than the second brightness threshold.
And if the ambient brightness is less than the second brightness threshold, the environment is darker. If the environment is dark, a picture with high definition is difficult to take in a dark environment, and the requirement of a user for taking the picture with high definition is low, so that the shooting resolution is selected to be low resolution, namely the second resolution.
If the ambient brightness is greater than the first brightness threshold, the ambient brightness is too bright. If the environment is brighter, the picture with high definition is difficult to be shot in a too bright environment, and the requirement for shooting the picture with high definition by a user is lower, so that the shooting resolution selects low resolution, namely the second resolution.
If the ambient brightness is between the first brightness threshold and the second brightness threshold, which indicates that the ambient brightness is moderate, the user may have a need to take high-definition photos.
The first object distance threshold is greater than the second object distance threshold.
If the object distance information during shooting is larger than the first object distance threshold, the shot object is far away from the lens and belongs to long-distance object shooting, and the visual field is wide at the moment.
If the ambient brightness is moderate and the distant object is shot, the high-resolution shooting is relatively low-resolution shooting at the moment, the picture is clearer, and therefore the shooting resolution selects high resolution, namely the first resolution.
If the object distance information is smaller than the second distance threshold, the shot object is close to the lens and belongs to close object shooting, the visual field is small at the moment, the shooting definition of high resolution and low resolution is equal, and therefore the shooting resolution is selected to be low resolution, namely the second resolution.
In order to ensure the fluency of the image when switching between high and low resolution, a certain data space can be reserved.
This embodiment, it is not good according to the high resolution shooting imaging effect under too dark or too bright environment, and high resolution and low resolution shoot the definition when close-range scene is shot fairly, and high resolution shoots principle such as more clear when distant view is shot, and ambient brightness and object distance information when discerning and shooting, automatic adjustment shoot the resolution ratio, realize performance such as consumption memory and shoot the balance between the definition, have promoted customer experience.
The embodiment of the device for adjusting the shooting resolution provided by the invention and the embodiment of the method for adjusting the shooting resolution provided by the invention are based on the same inventive concept, and can obtain the same technical effects. Therefore, other specific contents of the embodiment of the device for adjusting the shooting resolution may refer to the description of the embodiment of the method for adjusting the shooting resolution.
In one embodiment of the present invention, as shown in fig. 4, a smart device 20 includes a memory 21 and a processor 22.
The memory 21 is used to store a computer program 23. The processor 22 realizes the method of adjusting the shooting resolution as described above when running the computer program 23.
As an example, the processor 21 realizes the steps S100-S200 according to the foregoing description when executing a computer program. The processor 21 realizes the functions of the respective modules in the aforementioned imaging resolution adjustment device when executing the computer program. As yet another example, the processor, when executing the computer program, implements the functions of the information acquisition module 100 and the resolution determination module 200.
Alternatively, the computer program may be divided into one or more modules/units according to the particular needs to accomplish the invention. Each module/unit may be a series of computer program instruction segments capable of performing a particular function. The computer program instruction segment is used for describing the execution process of the computer program in the adjusting device of the shooting resolution.
As an example, the computer program may be divided into modules/units in a virtual device, such as an information acquisition module and a resolution determination module.
The processor is used for realizing the adjustment of the shooting resolution by executing the computer program. The processor may be a Central Processing Unit (CPU), graphics Processing Unit (GPU), digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), field Programmable Gate Array (FPGA), general purpose processor or other logic device, etc., as desired.
The memory may be any internal storage unit and/or external storage device capable of implementing data, program storage. For example, the memory may be a plug-in hard disk, a smart card (SMC), a Secure Digital (SD) card, or a flash card. The memory is used for storing computer programs and data.
The intelligent device 20 may further include an input/output device, a display device, a network access device, a bus, and the like, as required.
The intelligent device 20 may also be a single chip microcomputer or a computing device integrating a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).
It will be understood by those skilled in the art that the above-mentioned units and modules for implementing the corresponding functions are divided for the purpose of convenient illustration and description, and the above-mentioned units and modules are further divided or combined according to the application requirements, that is, the internal structures of the devices/apparatuses are divided and combined again to implement the above-mentioned functions.
Each unit and module of the above embodiments may respectively adopt a single physical unit, or two or more units and modules may be integrated into one physical unit. Each unit and module of the foregoing embodiments may implement corresponding functions by using hardware and/or software functional units. Direct coupling, indirect coupling or communication connection among a plurality of units, components and modules of the above embodiments can be realized through a bus or an interface; the coupling and connection between the plurality of units or devices may be electrical, mechanical, or the like. Accordingly, the specific names of the units and modules of the above embodiments are only for convenience of description and distinction, and do not limit the scope of protection of the present application.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for adjusting shooting resolution is characterized by comprising the following steps:
obtaining the ambient brightness and object distance information during shooting;
and determining the shooting resolution according to the ambient brightness and the object distance information.
2. The method for adjusting the shooting resolution according to claim 1, wherein the determining the shooting resolution according to the ambient brightness and the object distance information comprises:
when the ambient brightness is greater than a first brightness threshold or less than a second brightness threshold, adjusting the shooting resolution to a second resolution; the first brightness threshold is greater than the second brightness threshold.
3. The method for adjusting the photographing resolution according to claim 1, wherein the determining the photographing resolution according to the ambient brightness and the object distance information further comprises:
and when the ambient brightness is between a first brightness threshold and a second brightness threshold and the object distance information is greater than a first object distance threshold, adjusting the shooting resolution to a first resolution.
4. The method for adjusting the photographing resolution according to claim 1, wherein the determining the photographing resolution according to the ambient brightness and the object distance information further comprises:
and when the object distance information is smaller than a second object distance threshold, adjusting the shooting resolution to be a second resolution.
5. The method for adjusting a shooting resolution according to claim 1, wherein the acquiring an ambient brightness at the time of shooting includes:
and determining the environment brightness according to the read sensitivity ISO value of the camera.
6. The method for adjusting the photographing resolution according to claim 1, wherein the acquiring object distance information at the time of photographing includes:
and determining the object distance information according to the read driving current value of the motor when the camera is focused.
7. An adjustment device for shooting resolution, comprising:
the information acquisition module is used for acquiring the ambient brightness and object distance information during shooting;
and the resolution determining module is used for determining shooting resolution according to the ambient brightness and the object distance information.
8. The adjustment apparatus of shooting resolution according to claim 7, wherein:
the resolution determination module is further configured to adjust the shooting resolution to a second resolution when the ambient brightness is greater than a first brightness threshold or less than a second brightness threshold; the first brightness threshold is greater than the second brightness threshold.
9. The adjusting apparatus of photographing resolution according to claim 7, wherein:
the information acquisition module is further used for determining the object distance information according to the read driving current value of the motor when the camera is focused.
10. A smart device, comprising:
a memory for storing a computer program;
a processor for implementing the method of adjusting photographing resolution according to any one of claims 1 to 6 when running the computer program.
CN202110459544.4A 2021-04-27 2021-04-27 Shooting resolution adjusting method and device and intelligent equipment Pending CN115250326A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110459544.4A CN115250326A (en) 2021-04-27 2021-04-27 Shooting resolution adjusting method and device and intelligent equipment
PCT/CN2021/097176 WO2022227200A1 (en) 2021-04-27 2021-05-31 Method and apparatus for adjusting resolution during image capture, and smart device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110459544.4A CN115250326A (en) 2021-04-27 2021-04-27 Shooting resolution adjusting method and device and intelligent equipment

Publications (1)

Publication Number Publication Date
CN115250326A true CN115250326A (en) 2022-10-28

Family

ID=83695978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110459544.4A Pending CN115250326A (en) 2021-04-27 2021-04-27 Shooting resolution adjusting method and device and intelligent equipment

Country Status (2)

Country Link
CN (1) CN115250326A (en)
WO (1) WO2022227200A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040070682A1 (en) * 2002-10-11 2004-04-15 Voss James S. Digital camera
KR20150053189A (en) * 2013-11-07 2015-05-15 삼성전기주식회사 Camera module and control method thereof
CN106559614A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Method, device and the terminal taken pictures
CN106716484A (en) * 2014-09-16 2017-05-24 三星电子株式会社 Image photographing apparatus and image photographing method thereof
CN107800952A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Mobile terminal is taken pictures processing method and processing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6235302B2 (en) * 2013-10-29 2017-11-22 セコム株式会社 Surveillance camera and image monitoring device
CN106034205B (en) * 2015-03-16 2020-05-26 联想(北京)有限公司 Electronic equipment and information processing method
CN109033913A (en) * 2018-07-25 2018-12-18 维沃移动通信有限公司 A kind of recognition methods of identification code and mobile terminal
CN112019738B (en) * 2020-07-31 2022-03-01 广东小天才科技有限公司 Photographing method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040070682A1 (en) * 2002-10-11 2004-04-15 Voss James S. Digital camera
KR20150053189A (en) * 2013-11-07 2015-05-15 삼성전기주식회사 Camera module and control method thereof
CN106716484A (en) * 2014-09-16 2017-05-24 三星电子株式会社 Image photographing apparatus and image photographing method thereof
CN106559614A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Method, device and the terminal taken pictures
CN107800952A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Mobile terminal is taken pictures processing method and processing device

Also Published As

Publication number Publication date
WO2022227200A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
US11563897B2 (en) Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information
US9451173B2 (en) Electronic device and control method of the same
CN112150399B (en) Image enhancement method based on wide dynamic range and electronic equipment
EP3694203A1 (en) Method and device for obtaining exposure compensation value of high-dynamic-range image
CN104883504B (en) Open the method and device of high dynamic range HDR functions on intelligent terminal
US20090102945A1 (en) System and method for generating high dynamic range images
US20170244916A1 (en) Method for generating high-dynamic range image, camera device, terminal and imaging method
KR20160038460A (en) Electronic device and control method of the same
US20200389583A1 (en) Sensor auto-configuration
CN110581956A (en) Image processing method, image processing device, storage medium and electronic equipment
CN110445986A (en) Image processing method, device, storage medium and electronic equipment
EP3836532A1 (en) Control method and apparatus, electronic device, and computer readable storage medium
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN108540636A (en) A kind of photographic method and device based on dual camera
US10235745B2 (en) Image processing method, computer storage medium, apparatus and terminal
CN102469248B (en) Device for filming image and image synthesis method thereof
WO2024093545A1 (en) Photographing method and electronic device
CN117201930A (en) Photographing method and electronic equipment
CN110097520B (en) Image processing method and device
EP4195679A1 (en) Image processing method and electronic device
CN115250326A (en) Shooting resolution adjusting method and device and intelligent equipment
CN107454340B (en) Image synthesis method and device based on high dynamic range principle and mobile terminal
CN109120856A (en) Camera shooting method and device
CN113645409B (en) Photographing processing method and device, photographing method, device and system and terminal equipment
CN105391951B (en) A kind of method, apparatus and terminal showing image

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