CN116017146A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN116017146A
CN116017146A CN202211568066.1A CN202211568066A CN116017146A CN 116017146 A CN116017146 A CN 116017146A CN 202211568066 A CN202211568066 A CN 202211568066A CN 116017146 A CN116017146 A CN 116017146A
Authority
CN
China
Prior art keywords
shooting
target
image
category
image processing
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
CN202211568066.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211568066.1A priority Critical patent/CN116017146A/en
Publication of CN116017146A publication Critical patent/CN116017146A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses an image processing method and device, and belongs to the technical field of image processing. The method comprises the following steps: acquiring shooting scene information; determining a target shooting category according to the shooting scene information; shooting a first target image according to a shooting mode corresponding to the target shooting category; judging whether the electronic equipment meets preset image processing conditions or not; and processing the first target image by an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.

Description

Image processing method and device
Technical Field
The application belongs to the technical field of image processing, and particularly relates to an image processing method and an image processing device.
Background
With the development of mobile terminal technology, more and more users use mobile terminals to capture images. In general, a plurality of shooting modes are preset in a mobile terminal, so that a user can use different shooting modes in different shooting scenes. Many users, however, do not know what shooting mode should be used, resulting in poor quality of the shot image.
Disclosure of Invention
An object of the embodiments of the present application is to provide an image processing method and apparatus thereof, which can solve the problem of poor image quality caused by unclear usage of what shooting mode by a user.
In a first aspect, an embodiment of the present application provides an image processing method, including:
acquiring shooting scene information;
determining a target shooting category according to the shooting scene information;
shooting a first target image according to a shooting mode corresponding to the target shooting category;
judging whether the electronic equipment meets preset image processing conditions or not;
and processing the first target image by an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
the first acquisition module is used for acquiring shooting scene information;
the first determining module is used for determining a target shooting category according to the shooting scene information;
the shooting module is used for shooting a first target image according to a shooting mode corresponding to the target shooting category;
the first judging module is used for judging whether the electronic equipment meets preset image processing conditions or not;
and the first processing module is used for processing the first target image through an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the corresponding target shooting category is determined according to the shooting scene information, the shooting mode corresponding to the target shooting category is called to shoot the first target image, and the image processing algorithm corresponding to the target shooting category can be called to further process the first target image after the first target image is shot, so that the quality of the first target image is improved.
Drawings
Fig. 1 is a flowchart of an image processing method in an embodiment of the present application.
Fig. 2 (a) is a schematic diagram of a shooting preview interface in the embodiment of the present application.
Fig. 2 (b) is a schematic diagram showing a shooting category identification in the embodiment of the present application.
Fig. 2 (c) is a schematic diagram showing the processed image in the embodiment of the present application.
Fig. 3 is a schematic diagram of an image processing apparatus in an embodiment of the present application.
Fig. 4 is a schematic diagram of an electronic device in an embodiment of the present application.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The image processing method provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, the present embodiment describes an image processing method, which includes steps 1100-1500.
Step 1100: shooting scene information is acquired.
The photographing scene information includes information of a photographing object and environmental information around the photographing object. For example, the shooting object may be a person or other object. The environmental information around the photographic subject may be at least one of: street view, night view, sky. The environmental information around the photographic subject may also be other environmental information.
Step 1200: and determining a corresponding target shooting category according to the shooting scene information.
The target photographing class refers to the type of effect of photographing an image. The target shooting category can be one of a slow shutter, a facula portrait, a starlight filter, a dynamic portrait and a night sky blue tone. The target shooting category may also be of other types, which may be determined according to the shooting function of the electronic device.
For example, the shot scene is determined to be a street view according to shot scene information, and a motion vector is determined according to illuminance information detected by a sensor and high light point optical flow information among a plurality of preview image frames. If the track which is currently moving is judged according to the motion vector, the target shooting category is determined to be a slow shutter, and the slow shutter is suitable for shooting a scene of the movement of the vehicle in the road. If the current static light spot is judged according to the motion vector, the target shooting category is determined to be a starlight filter, and the starlight filter is suitable for shooting scenes without vehicle motion, such as a walking street.
For example, the shooting object is determined to be a portrait according to shooting scene information, the number of high light spots in the shooting scene is detected, and if the number of the high light spots exceeds a threshold value, the target shooting category is determined to be a facula portrait. The threshold value may be set to 10 or other values.
For example, the shooting object is determined to be a human image according to shooting scene information, and the background of the human image is determined to be a motion background according to optical flow information among a plurality of preview image frames, so that the target shooting category is determined to be a dynamic human image category.
For example, the shooting scene is determined to be a sky scene according to shooting scene information, and the target shooting category is determined to be a night sky blue tone according to illuminance information and color temperature information detected by a sensor if the illuminance information is in a first preset range and the color temperature information is in a second preset range.
Step 1300: and shooting a first target image according to the shooting mode corresponding to the target shooting category.
Each shooting category has a corresponding shooting mode, after the target shooting category is determined according to shooting scene information, a first target image is shot by using the corresponding shooting mode, and the shot first target image is stored in the album. For example, according to shooting scene information, it is determined that the target shooting category is a slow shutter, and then a shooting mode corresponding to the slow shutter is called to shoot an image. As shown in fig. 2 (a), a preview image is displayed on the photographing preview interface, and the user clicks a "photographing" button to photograph a first target image.
Step 1400: and judging whether the electronic equipment meets preset image processing conditions or not.
Whether the electronic equipment meets the preset image processing conditions can be judged in the background. Such as determining whether the power of the electronic device is full.
Step 1500: and processing the first target image by an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.
Different shooting categories correspond to different image processing algorithms. Each of the photographing categories corresponds to at least one image processing algorithm. The image processing algorithm corresponding to each photographing category may be set according to the function of the electronic device. And if the electronic equipment is detected to meet the preset image processing conditions, invoking an image processing algorithm corresponding to the target shooting category to process the shot first target image. For example, the target shooting category is a slow shutter, and then an image processing algorithm corresponding to the slow shutter is called to process a first target image shot in a shooting mode corresponding to the slow shutter.
According to the method, the corresponding target shooting category is determined according to shooting scene information, the shooting mode corresponding to the target shooting category is called to shoot the first target image, and the image processing algorithm corresponding to the target shooting category can be called to further process the first target image after the first target image is shot, so that the quality of the first target image is improved.
In this embodiment, after the step 1300, the method further includes: intermediate data in the shooting process are saved, wherein the intermediate data at least comprise multi-frame input images and image signal processing parameters of the shooting scene.
The intermediate data that needs to be used at the time of shooting is also different for different shooting categories. For example, the method is suitable for shooting dynamic scenes for slow shutters and dynamic images, and multi-frame input images and image signal processing parameters need to be stored, wherein the image signal processing parameters comprise various parameters such as white balance, color correction, exposure control and the like. And for a starlight filter, a night sky blue tone and a light spot human image, the method is suitable for shooting static scenes, and multi-frame input images do not need to be stored.
In this embodiment, by storing intermediate data in the shooting process, the intermediate data may be used to process the first target image, so as to improve the quality of the first target image.
In this embodiment, the step 1500 includes: processing the first target image according to an image processing algorithm corresponding to the target shooting category and the intermediate data; and deleting the intermediate data.
After the intermediate data in the shooting process are obtained, the first target image is processed according to the intermediate data and an image processing algorithm corresponding to the target shooting category. After the first target image is processed, the intermediate data is deleted. Both the processed image and the pre-processed image can be saved, allowing the user to select which image is desired.
For example, the target shooting type is a slow shutter, a stored multi-frame input image is called, the multi-frame input image is combined into one image, and the color tone processing is carried out by utilizing the stored image signal processing parameters, so that a processed final image is obtained.
For example, the target shooting category is dynamic portrait, a stored multi-frame input image is called, a motion vector is calculated by using a higher-precision optical flow algorithm, and an accurate background motion direction is obtained, so that the motion background is dynamically blurred, a portrait main body is protected, and a processed final image is obtained.
For example, the target shooting category is a spot image, a high-light spot detection algorithm built in the electronic equipment is called to identify a point light source of a background of the image, special spot processing is carried out, a face detection algorithm built in the electronic equipment is called to identify a face, and a key spot detection and beautifying algorithm built in the electronic equipment is called to beautify the face, so that a processed final image is obtained.
For example, the target shooting category is a night sky blue tone, a sky segmentation algorithm and a large algorithm model which are arranged in the electronic equipment are called, high-precision sky segmentation is carried out on the full size, then a three-dimensional color lookup table is loaded, different color shade treatments are carried out on the ground scene and the sky, the night sky can be processed into blue, and the blue can be compared with the warm color of the ground scene, so that a processed final image is obtained.
For example, the object shooting category is a starlight filter, a high-light spot detection algorithm in the electronic equipment is called, and a starlight effect is added to a point light source, so that an image which can be obtained only by similar professional camera aperture reduction is obtained.
According to the embodiment, the first target image is processed according to the image processing algorithm corresponding to the target shooting category and the intermediate data, so that the quality of the first target image is improved. And meanwhile, after the first target image is processed, deleting the intermediate data and releasing the storage space.
In this embodiment, the step 1400 includes: judging whether the electronic equipment is in an idle state or not; and under the condition that the electronic equipment is in an idle state, determining that the image processing condition is met.
The idle state refers to a state in which the utilization rate of hardware resources such as a processor and a memory of the electronic device is low. Such as a standby state of the electronic device, or a state in which there are few currently running programs in the electronic device. When the electronic equipment is detected to be in an idle state, the electronic equipment is considered to meet the image processing condition, and the first target image can be processed through an image processing algorithm.
For example, after the user shoots the image, the user continues to use the electronic device to watch the video, at this time, the hardware resource utilization rate of the electronic device is higher, and the electronic device is not in an idle state and does not process the image. When the user stops using the electronic equipment, the electronic equipment enters a standby state after the electronic equipment is locked, at the moment, the hardware resource utilization rate of the electronic equipment is low, the electronic equipment is in an idle state, and an image processing algorithm is invoked to process an image.
According to the embodiment, the image is processed when the electronic equipment is in the idle state, so that an image processing algorithm which consumes more computing resources and has a better effect can be used, the image quality is further improved, and meanwhile, the normal use of the electronic equipment by a user is not influenced.
In this embodiment, after the step 1500, the method further includes steps 2100-2500.
Step 2100: an image within a target range in the album is scanned.
The image within the target range in the album can be scanned while the electronic device is in an idle state. All images in the album may be scanned, or some images in the album may be scanned. The target range may be set by the user himself. For example, the album comprises an image shot by a user in a scenic spot A and an image shot by a user in a scenic spot B, and the image shot by the user in the scenic spot A is set in a target range by the user, so that only the image shot by the user in the scenic spot A is scanned during scanning, and the image shot by the user in the scenic spot B is not scanned.
Step 2200: and judging whether the images in the target range in the album have corresponding shooting categories or not.
The scene information of the image in the target range in the album can be detected, and whether the image has a corresponding shooting category or not is judged according to the scene information of the image.
Step 2300: and displaying the identification of the shooting category corresponding to the second target image under the condition that the second target image with the corresponding shooting category is displayed in the album.
When the second target image is displayed, if the second target image has a corresponding shooting category, the identification of the shooting category corresponding to the second target image is displayed at the same time. If the second target image does not have a corresponding photographing category, then the identification of the photographing category is not displayed. As shown in fig. 2 (b), an original image having a corresponding shooting category is displayed in the album, and an identification of the shooting category is displayed on the original image.
Step 2400: and responding to the input of the user on the identification of the shooting category corresponding to the second target image, and calling an image processing algorithm corresponding to the shooting category corresponding to the second target image to process the second target image.
The user input of the identification of the shooting category may be a click input or a long press input. In the case of displaying the identification of the photographing category, the user may click or press the identification of the photographing category for a long time. And processing the second target image according to an image processing algorithm corresponding to the shooting category corresponding to the second target image to obtain a processed image. For example, if the shooting category corresponding to the second target image is a slow shutter, an image processing algorithm corresponding to the slow shutter is called to process the second target image, and a processed image is obtained.
Step 2500: and displaying the image after processing the second target image.
After the processed image is obtained, the processed image is displayed in the album. As shown in fig. 2 (c), the processed image is displayed, and the user may click the save button to save the processed image, or may click the original button to display the original.
In this embodiment, the image stored in the album is detected, and whether the image has a corresponding shooting category is determined, and when the image has a corresponding shooting category, the user can select to use an image processing algorithm corresponding to the shooting category corresponding to the image to process the image, so as to improve the quality of the existing image in the album.
According to the image processing method provided by the embodiment of the application, the execution subject can be an image processing device. In the embodiment of the present application, an image processing apparatus provided in the embodiment of the present application will be described by taking an example in which the image processing apparatus executes an image processing method.
As shown in fig. 3, the present embodiment describes an image processing apparatus 300 including:
an acquisition module 301, configured to acquire shooting scene information;
a first determining module 302, configured to determine a target shooting category according to the shooting scene information;
a shooting module 303, configured to shoot a first target image according to a shooting mode corresponding to the target shooting category;
a first judging module 304, configured to judge whether the electronic device meets a preset image processing condition;
the first processing module 305 is configured to process the first target image by using an image processing algorithm corresponding to the target capturing category when the image processing condition is satisfied.
According to the method, the corresponding target shooting category is determined according to shooting scene information, the shooting mode corresponding to the target shooting category is called to shoot the first target image, and the image processing algorithm corresponding to the target shooting category can be called to further process the first target image after the first target image is shot, so that the quality of the first target image is improved.
In one embodiment, the apparatus further comprises:
the storage module is used for storing intermediate data in the shooting process, wherein the intermediate data at least comprises multi-frame input images and image signal processing parameters of the shooting scene.
In one embodiment, the first processing module is specifically configured to:
processing the first target image according to an image processing algorithm corresponding to the target shooting category and the intermediate data;
and deleting the intermediate data.
In one embodiment, the first determining module is specifically configured to:
judging whether the electronic equipment is in an idle state or not;
and under the condition that the electronic equipment is in an idle state, determining that the image processing condition is met.
In one embodiment, the apparatus further comprises:
the scanning module is used for scanning images in a target range in the album;
the second judging module is used for judging whether the images in the target range in the album have corresponding shooting categories or not;
the first display module is used for displaying the identification of the shooting category corresponding to the second target image under the condition that the second target image with the corresponding shooting category is displayed in the album;
the second processing module is used for responding to the input of the user on the identification of the shooting category corresponding to the second target image, and calling an image processing algorithm corresponding to the shooting category corresponding to the second target image to process the second target image;
and the second display module is used for displaying the image after the second target image is processed.
The image processing apparatus in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The image processing apparatus provided in this embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 2, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the embodiment of the image processing method when executed by the processor 401, and the steps achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
An input unit 1004, configured to acquire shooting scene information;
a processor 1010 for determining a target shooting category from the shooting scene information;
the processor 1010 is further configured to shoot a first target image according to a shooting mode corresponding to the target shooting category;
the processor 1010 is further configured to determine whether the electronic device meets a preset image processing condition;
the processor 1010 is further configured to process the first target image by an image processing algorithm corresponding to the target capturing category if the image processing condition is satisfied.
According to the method, the corresponding target shooting category is determined according to shooting scene information, the shooting mode corresponding to the target shooting category is called to shoot the first target image, and the image processing algorithm corresponding to the target shooting category can be called to further process the first target image after the first target image is shot, so that the quality of the first target image is improved.
Optionally, the memory 1009 is configured to store intermediate data during the shooting process, where the intermediate data includes at least a multi-frame input image of the shooting scene and image signal processing parameters.
Optionally, the processor 1010 is further configured to process the first target image according to an image processing algorithm corresponding to the target capturing category and the intermediate data;
the processor 1010 is further configured to delete the intermediate data.
Optionally, the processor 1010 is further configured to determine whether the electronic device is in an idle state;
the processor 1010 is further configured to determine that an image processing condition is satisfied when the electronic device is in an idle state.
Optionally, the processor 1010 is further configured to scan images within a target range in the album;
the processor 1010 is further configured to determine whether an image in a target range in the album has a corresponding shooting category;
a display unit 1006, configured to display, in a case where a second target image having a corresponding shooting category is displayed in the album, an identification of the shooting category corresponding to the second target image;
the processor 1010 is further configured to invoke an image processing algorithm corresponding to a shooting category corresponding to the second target image to process the second target image in response to an input of an identifier of the shooting category corresponding to the second target image by a user;
the display unit 1006 is further configured to display an image after processing the second target image.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the image processing method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the image processing method described above, and achieve the same technical effects, and are not repeated herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. An image processing method, the method comprising:
acquiring shooting scene information;
determining a target shooting category according to the shooting scene information;
shooting a first target image according to a shooting mode corresponding to the target shooting category;
judging whether the electronic equipment meets preset image processing conditions or not;
and processing the first target image by an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.
2. The method of claim 1, wherein after capturing the first target image according to the capturing mode corresponding to the target capturing category, the method further comprises:
intermediate data in the shooting process are saved, wherein the intermediate data at least comprise multi-frame input images and image signal processing parameters of the shooting scene.
3. The method of claim 2, wherein the processing the first target image by an image processing algorithm corresponding to the target capture category comprises:
processing the first target image according to an image processing algorithm corresponding to the target shooting category and the intermediate data;
and deleting the intermediate data.
4. The method of claim 1, wherein determining whether the electronic device satisfies a preset image processing condition comprises:
judging whether the electronic equipment is in an idle state or not;
and under the condition that the electronic equipment is in an idle state, determining that the image processing condition is met.
5. The method of claim 1, wherein after the processing of the first target image by the image processing algorithm corresponding to the target capture category, the method further comprises:
scanning images in a target range in the album;
judging whether the images in the target range in the album have corresponding shooting categories or not;
displaying an identification of a shooting category corresponding to a second target image under the condition that the second target image with the corresponding shooting category is displayed in the album;
responding to the input of the user on the identification of the shooting category corresponding to the second target image, and calling an image processing algorithm corresponding to the shooting category corresponding to the second target image to process the second target image;
and displaying the image after processing the second target image.
6. An image processing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring shooting scene information;
the first determining module is used for determining a target shooting category according to the shooting scene information;
the shooting module is used for shooting a first target image according to a shooting mode corresponding to the target shooting category;
the first judging module is used for judging whether the electronic equipment meets preset image processing conditions or not;
and the first processing module is used for processing the first target image through an image processing algorithm corresponding to the target shooting category under the condition that the image processing condition is met.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the storage module is used for storing intermediate data in the shooting process, wherein the intermediate data at least comprises multi-frame input images and image signal processing parameters of the shooting scene.
8. The apparatus of claim 7, wherein the first processing module is specifically configured to:
processing the first target image according to an image processing algorithm corresponding to the target shooting category and the intermediate data;
and deleting the intermediate data.
9. The apparatus of claim 6, wherein the first determining module is specifically configured to:
judging whether the electronic equipment is in an idle state or not;
and under the condition that the electronic equipment is in an idle state, determining that the image processing condition is met.
10. The apparatus of claim 6, wherein the apparatus further comprises:
the scanning module is used for scanning images in a target range in the album;
the second judging module is used for judging whether the images in the target range in the album have corresponding shooting categories or not;
the first display module is used for displaying the identification of the shooting category corresponding to the second target image under the condition that the second target image with the corresponding shooting category is displayed in the album;
the second processing module is used for responding to the input of the user on the identification of the shooting category corresponding to the second target image, and calling an image processing algorithm corresponding to the shooting category corresponding to the second target image to process the second target image;
and the second display module is used for displaying the image after the second target image is processed.
CN202211568066.1A 2022-12-05 2022-12-05 Image processing method and device Pending CN116017146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211568066.1A CN116017146A (en) 2022-12-05 2022-12-05 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211568066.1A CN116017146A (en) 2022-12-05 2022-12-05 Image processing method and device

Publications (1)

Publication Number Publication Date
CN116017146A true CN116017146A (en) 2023-04-25

Family

ID=86018283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211568066.1A Pending CN116017146A (en) 2022-12-05 2022-12-05 Image processing method and device

Country Status (1)

Country Link
CN (1) CN116017146A (en)

Similar Documents

Publication Publication Date Title
CN112822412B (en) Exposure method, exposure device, electronic equipment and storage medium
CN112333382B (en) Shooting method and device and electronic equipment
CN111835982B (en) Image acquisition method, image acquisition device, electronic device, and storage medium
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN110570370A (en) image information processing method and device, storage medium and electronic equipment
CN115439386A (en) Image fusion method and device, electronic equipment and storage medium
CN111654623B (en) Photographing method and device and electronic equipment
CN116017146A (en) Image processing method and device
CN114245017A (en) Shooting method and device and electronic equipment
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112446848A (en) Image processing method and device and electronic equipment
CN112367470B (en) Image processing method and device and electronic equipment
CN113923367B (en) Shooting method and shooting device
CN113489901B (en) Shooting method and device thereof
CN111711748B (en) Control method and device for screen refresh rate, electronic equipment and readable storage medium
CN114071016B (en) Image processing method, device, electronic equipment and storage medium
CN113709370B (en) Image generation method, device, electronic equipment and readable storage medium
CN114143448B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114915730B (en) Shooting method and shooting device
CN117097982B (en) Target detection method and system
CN117793513A (en) Video processing method and device
CN116320769A (en) Exposure adjustment method, device, electronic equipment and readable storage medium
CN115797160A (en) Image generation method and device
CN116916147A (en) Image processing method, image sending device and electronic equipment
CN117714844A (en) Video processing method and device

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