CN117278689A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN117278689A
CN117278689A CN202311269983.4A CN202311269983A CN117278689A CN 117278689 A CN117278689 A CN 117278689A CN 202311269983 A CN202311269983 A CN 202311269983A CN 117278689 A CN117278689 A CN 117278689A
Authority
CN
China
Prior art keywords
image
resolution
processor
image processor
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
CN202311269983.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.)
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 CN202311269983.4A priority Critical patent/CN117278689A/en
Publication of CN117278689A publication Critical patent/CN117278689A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/40068Modification of image resolution, i.e. determining the values of picture elements at new relative positions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/23Reproducing arrangements
    • H04N1/2307Circuits or arrangements for the control thereof, e.g. using a programmed control device, according to a measured quantity
    • H04N1/2361Selecting a particular reproducing device from amongst a plurality of devices, e.g. high or low resolution devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/333Mode signalling or mode changing; Handshaking therefor
    • H04N1/33307Mode signalling or mode changing; Handshaking therefor prior to start of transmission, input or output of the picture signal only
    • H04N1/33315Mode signalling or mode changing; Handshaking therefor prior to start of transmission, input or output of the picture signal only reading or reproducing mode only, e.g. sheet size, resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3871Composing, repositioning or otherwise geometrically modifying originals the composed originals being of different kinds, e.g. low- and high-resolution originals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The application discloses an image processing method and electronic equipment, and belongs to the field of image processing. The method is applied to electronic equipment, and the electronic equipment comprises a first image processor and a second image processor; the method comprises the following steps: the first image processor performs first processing on an original image output by the image sensor to obtain a first image with a first resolution; the first resolution is a maximum resolution supported by the electronic device; the first image processor transmitting the first image to the second image processor; the second image processor performs effect processing on the first image to obtain a second image; the second image processor performs a second process on the second image to obtain a third image having a second resolution, the second resolution being a user-selected resolution.

Description

Image processing method and electronic equipment
Technical Field
The application belongs to the technical field of image processing, and particularly relates to an image processing method and electronic equipment.
Background
With the rapid development of mobile electronic devices, users have increasingly demanded resolution supported by video recordings. Common video resolutions include 1280×720, 1920×1080, 3840×2160, and corresponding movie frames 1280×528, 1920×800, 3840×1600. The existing technical scheme is that the device is provided with an image processor, and supports of different resolutions are achieved through compression or clipping.
After receiving the original image sent by the image sensor from the image processor, the original image is processed according to the resolution selected by the user, the resolution required by the user is obtained, and then the subsequent image algorithm processing such as anti-shake, beautifying, filter and the like is performed. This requires that all algorithm implementations must support image processing at multiple resolutions, resulting in increased complexity of all image algorithms.
Disclosure of Invention
An object of the embodiments of the present application is to provide an image processing method and an electronic device, so as to solve the problem of greater complexity in the existing image processing process.
In a first aspect, an embodiment of the present application provides an image processing method, which is applied to an electronic device, where the electronic device includes a first image processor and a second image processor:
the method comprises the following steps:
the first image processor performs first processing on an original image output by the image sensor to obtain a first image with a first resolution; the first resolution is a maximum resolution supported by the electronic device;
the first image processor transmitting the first image to the second image processor;
the second image processor performs effect processing on the first image to obtain a second image;
the second image processor performs a second process on the second image to obtain a third image having a second resolution, the second resolution being a user-selected resolution.
In a second aspect, an embodiment of the present application provides an electronic device, including:
a first image processor for performing a first process on an original image output from the image sensor to obtain a first image having a first resolution; transmitting the first image to the second image processor; the first resolution is a maximum resolution supported by the electronic device;
the second image processor is used for performing effect processing on the first image to obtain a second image; and performing second processing on the second image to obtain a third image with a second resolution, wherein the second resolution is the resolution selected by the user.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
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 further provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, a first image processor performs first processing on an original image to obtain a first image with the maximum resolution; the second image processor performs effect processing on the first image to obtain a second image, and the second image also has the maximum resolution; the second image processor performs second processing on the second image to obtain a third image with a second resolution meeting the user requirement. Therefore, in the process of processing the images by the first image processor and the second image processor, only images with single resolution are required to be processed, the algorithm in the image processor only needs to support images with one resolution, and the method of processing images with maximum resolution in a grading manner and finally adjusting the images to the image resolution required by a user is adopted, so that processing logic of images with different resolutions is simplified, and the complexity of a system path and the algorithm is simplified.
Drawings
FIG. 1 is one of the flow diagrams of an image processing method according to an embodiment of the present application;
FIG. 2 is a second flow chart of an image processing method according to an embodiment of the present disclosure;
FIG. 3 is one of the schematic structural diagrams of the electronic device according to the embodiment of the present application;
FIG. 4 shows a second schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 shows a third schematic structural diagram of the electronic device according to the embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The features of the terms "first", "second", and the like in the description and in the claims of this application may be used for descriptive or implicit inclusion of one or more such features. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two 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.
As shown in fig. 1, an embodiment of the present application provides an image processing method, which is applied to an electronic device, where the electronic device includes a first image processor and a second image processor; the method comprises the following steps:
step 101, the first image processor performs a first process on an original image output by an image sensor to obtain a first image with a first resolution; the first resolution is a maximum resolution supported by the electronic device;
step 102, the first image processor transmits the first image to the second image processor;
step 103, the second image processor performs effect processing on the first image to obtain a second image;
step 104, the second image processor performs a second process on the second image to obtain a third image with a second resolution, where the second resolution is a resolution selected by the user.
In this embodiment, the first image processor may be an image processing module in a main control chip of the electronic device, and the second image processor may be an independent image processing chip of the electronic device, where the image processing chip is connected to the main control chip, so as to implement an image processing procedure in the embodiments of the present application.
The first image processor is connected with an image sensor of the electronic device, and the image sensor generates a continuous original image stream according to a current scene and a fixed frame rate, and transmits the continuous original image stream to the first image processor for front-end processing, for example: image format conversion, clipping the image to a supported maximum image, electronic anti-shake, face detection, spatial alignment conversion, etc.
And after the first image processor receives the original image transmitted by the image sensor, performing first processing on the original image, wherein the first processing can be cutting processing, namely cutting the original image into the image with the maximum resolution supported by the electronic equipment, and obtaining the first image. The first image processor is connected with the second image processor, the first image processor sends a first image with the maximum resolution to the second image processor, and the second image processor performs effect processing on the first image to obtain a second image. Wherein the effect process is as follows: blurring, noise reduction, beauty treatment and the like, and the resolution of the image is not changed by the effect treatment. And the second image processor performs second processing on the second image to obtain a third image with target resolution meeting the requirement of the user. Because the resolution of the first image received by the second image processor is the first resolution, the image processing based on one resolution is performed during the effect processing and the second processing, so that the processing logic of the plug-in image processor is simpler than the image processing process with multiple resolutions. For the plug-in image processor, the algorithm in the plug-in image processor only needs to support one resolution image as the image with single resolution is processed, so that the algorithm logic is simplified.
The first image processor and the second image processor realize multi-stage processing of the images, and only images with single resolution are required to be processed in the processing process, namely, only the image processing with the maximum resolution is required to be supported, so that the complexity of a system access and an algorithm is greatly simplified.
In the embodiment of the application, a first image processor performs first processing on an original image to obtain a first image with the maximum resolution; the second image processor performs effect processing on the first image to obtain a second image, and the second image also has the maximum resolution; the second image processor performs second processing on the second image to obtain a third image with a second resolution meeting the user requirement. Therefore, in the process of processing the images by the first image processor and the second image processor, only images with single resolution are required to be processed, the algorithm in the image processor only needs to support images with one resolution, and the method of processing images with maximum resolution in a grading manner and finally adjusting the images to the image resolution required by a user is adopted, so that processing logic of images with different resolutions is simplified, and the complexity of a system path and the algorithm is simplified.
Optionally, the method further comprises:
the first image processor performs third processing on the first image and transmits the third processed first image to the second image processor;
wherein the third process comprises at least one of:
electronic anti-shake (Electronic Image Stabilization, EIS);
face detection;
spatial alignment transformation (Spatial Alignment Transform, SAT).
In this embodiment, after the first image processor obtains the first image with the maximum resolution, one or more processes such as EIS, face detection, SAT, etc. may be performed on the first image, so that the first image processor performs all algorithms in the image processing process, only needs to support image processing with one resolution, and for all resolution requirement scenes and movie frame scenes, the processing flows and algorithms in the first image processor are the same, so that the part does not need to be individually customized and modified, and complexity of system paths and algorithms is greatly simplified.
Optionally, the second image processor performs a second process on the second image to obtain a third image with a second resolution, including at least one of the following:
the second image processor downsamples the second image to obtain a third image with a second resolution;
the second image processor cuts out the second image to obtain a third image with a second resolution.
In this embodiment, the first image processor sends the processed first image to the second image processor, which may first continue blurring, denoising, and Yan Dengxiao fruit processing on the first image of single resolution. Since the second image processor receives only one resolution image, the second image processor is simpler for image processing logic than for multiple resolution images.
And the second image processor downsamples or cuts the second image after the effect processing to obtain a third image with the resolution desired by the user. Alternatively, the second image may be downsampled without changing the visible area of the image, and cropped with changing the visible area of the image. For example: in the case where the image processing is processing for a movie frame, the second image processor performs cropping processing on the second image.
Optionally, the method further comprises: the second image processor transmits the third image to the first image processor. And the second image processor performs downsampling or clipping processing on the second image to obtain a third image meeting the resolution required by the user, and then transmits the third image back to the first image processor.
Optionally, the method further comprises at least one of:
the first image processor sends the third image to an encoder;
the first image processor sends the third image to a display;
in this embodiment, the encoder may be an adaptive encoder, and the first image processor receives a third image that meets a resolution required by a user, and may send the third image to the encoder, where the encoder encodes a multi-frame image included in the third image, and may store the multi-frame image as a video file. The first image processor may also send the third image to a display as a live preview. Thus in both the preview and record files, the resolution video image desired by the user.
The following describes a process of implementing multi-level image processing according to the embodiment of the present application, taking image processing in a video scene as an example.
Assuming that the maximum resolution supported by the electronic device is 4K, the user-selected target resolution is 1080P (1920×1080) or 3840×1600.
As shown in fig. 2, includes:
step 201, the image sensor outputs an initial image.
In the step, the image sensor generates a continuous original image stream according to the current scene at a fixed frame rate and transmits the continuous original image stream to the first image processor for front-end processing.
Step 202, the first image processor performs front-end processing, and the algorithm only supports single resolution image processing.
The first image processor receives the original image stream from the sensor and then clips the original image to the maximum resolution image (i.e., 4K) supported. And the first image processor performs algorithm processing such as EIS, face detection, SAT and the like on the cut image. Thus all algorithms processed in the first image processor need only support image processing at this resolution.
For all resolution and movie frame scenes, the processing flow and algorithm in the first image processor are the same, so that the part does not need to be independently customized and modified, and the complexity of a system path and algorithm is greatly simplified. Meanwhile, as only one resolution image is processed, the data transmission logic between the first image processor and the second image processor is simplified, and only the transmission of the one resolution image is required to be maintained.
Step 203, the second image processor receives the single resolution image and performs effect processing.
The second image processor receives the image with single resolution and performs blurring noise reduction and beauty Yan Dengxiao fruit processing. Since only one resolution image is received by the second image processor, the image processing logic of the second image processor is simpler than multiple resolution image processing.
Since only a single resolution image needs to be processed, the algorithm inside the second image processor also needs to support only one resolution image, simplifying the algorithm logic.
Step 204, the second image processor downsamples or clips the image to the image of the resolution desired by the user.
After all algorithms are processed, the plug-in image processor downsamples the processed image according to the resolution requirement selected by the user, so that the final image is the resolution selected by the user. For example: downsampling a 4K (3840 x 2160) image to 1080P (1920 x 1080).
Alternatively, for the processing of movie frames, it is necessary that the plug-in image processor be implemented by cropping. For example: downsampling a 4K (3840 x 2160) image to 3840 x 1600.
And after downsampling or clipping processing by the plug-in image processor, transmitting the image meeting the resolution required by the user back to the self-contained image processor.
Step 205, save and display the video.
The first image processor receives the image meeting the resolution required by the user, and can be sent to the encoder to be stored as a video file or can be sent to the display to be used as a real-time preview. Thus in both the preview and record files, the resolution video image desired by the user.
This embodiment solves the problem that various algorithms need to support complex logic for adapting different resolution images, etc., for a plurality of different resolutions in the multi-level image signal processing. The method for uniformly processing the image with the maximum resolution in a grading manner and finally uniformly adjusting the resolution of the image simplifies the processing logic of images with different resolutions. Meanwhile, the image transmission logic between the multi-stage image signal processors is simplified, and the design complexity of the plug-in image processing chip is reduced.
It should be noted that the image processing method of the present application may be applied to various image processing scenarios, and may be applied to all multi-stage image processing scenarios with complex algorithms, so that the complexity of the path and the algorithm may be simplified by the method, not only limited to the camera recording scenario, but also applied to image processing functions such as image signal processing (Image Signal Processing, ISP), graphics processor (Graphics Processing Unit, GPU), effort-saving network processor (Neural Processing Unit, NPU) and data processor (Data Processing Unit, DPU), for example: in the process of 3D drawing using GPU and finally displaying to the screen through DPU, if there is a multi-resolution requirement on the drawn image, the algorithm and path can be simplified by the method of the embodiment of the present application.
As shown in fig. 3, an embodiment of the present application further provides an electronic device 300, including: the method comprises the steps of carrying out a first treatment on the surface of the
A first image processor 310 for performing a first process on the original image output from the image sensor to obtain a first image having a first resolution; transmitting the first image to the second image processor; the first resolution is a maximum resolution supported by the electronic device;
a second image processor 320, configured to perform effect processing on the first image to obtain a second image; and performing second processing on the second image to obtain a third image with a second resolution, wherein the second resolution is the resolution selected by the user.
Optionally, the first image processor is further configured to: performing third processing on the first image, and transmitting the third processed first image to the second image processor;
wherein the third process comprises at least one of:
electronic anti-shake EIS;
face detection;
spatial alignment transforms SAT.
Optionally, the second image processor is specifically configured to perform at least one of the following:
downsampling the second image to obtain a third image having a second resolution;
and cropping the second image to obtain a third image with a second resolution.
Optionally, the second image processor is further configured to: transmitting the third image to the first image processor.
Optionally, the first image processor is further configured to perform at least one of:
transmitting the third image to an encoder;
and sending the third image to a display.
In an embodiment of the present application, the first image processor performs a first process on the original image to obtain a first image having a maximum resolution. The second image processor performs effect processing on the first image to obtain a second image, and the second image also has the maximum resolution; the second image processor performs second processing on the second image to obtain a third image with a second resolution meeting the user requirement. Therefore, in the process of processing the images by the first image processor and the second image processor, only images with single resolution are required to be processed, and an algorithm in the image processor only needs to support images with one resolution, so that processing logic for images with different resolutions is simplified, and the complexity of a system path and the algorithm is simplified.
The electronic device in the embodiments of the present application may also refer to a component in the electronic device, such as 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 electronic device in the embodiment of the application may be a device 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 electronic device provided in the embodiment of the present application can implement each process implemented by the electronic device in the method embodiment 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, which may be an image processing apparatus, where the electronic device includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the foregoing image processing method embodiment, and the process may achieve the same technical effect, and is not repeated herein.
It should be noted that, the electronic device in the embodiment of the present 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 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 505, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via 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.
Wherein the processor 510 may include a first image processor and a second image processor;
the first image processor is configured to: performing first processing on an original image output by an image sensor to obtain a first image with first resolution; the first resolution is a maximum resolution supported by the electronic device; transmitting the first image to a second image processor;
the second image processor is configured to: performing effect processing on the first image to obtain a second image; and performing second processing on the second image to obtain a third image with a second resolution, wherein the second resolution is the resolution selected by the user.
Optionally, the first image processor in the processor 510 is further configured to: performing third processing on the first image, and transmitting the third processed first image to the second image processor;
wherein the third process comprises at least one of:
electronic anti-shake EIS;
face detection;
spatial alignment transforms SAT.
Optionally, the second image processor in the processor 510 is specifically configured to perform at least one of the following:
downsampling the second image to obtain a third image having a second resolution;
and cropping the second image to obtain a third image with a second resolution.
Optionally, the second image processor in the processor 510 is further configured to: transmitting the third image to the first image processor.
Optionally, the first image processor in the processor 510 is further configured to perform at least one of the following:
transmitting the third image to an encoder;
and sending the third image to a display.
In the embodiment of the application, a first image processor performs first processing on an original image to obtain a first image with the maximum resolution; the second image processor performs effect processing on the first image to obtain a second image, and the second image also has the maximum resolution; the second image processor performs second processing on the second image to obtain a third image with a second resolution meeting the user requirement. Therefore, in the process of processing the images by the first image processor and the second image processor, only images with single resolution are required to be processed, the algorithm in the image processor only needs to support images with one resolution, and the method of processing images with maximum resolution in a grading manner and finally adjusting the images to the image resolution required by a user is adopted, so that processing logic of images with different resolutions is simplified, and the complexity of a system path and the algorithm is simplified.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 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 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage 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 509 may include volatile memory or nonvolatile memory, or the memory 509 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 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., 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 510.
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 comprises computer readable storage medium such as ROM, RAM, magnetic disk or optical disk
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.

Claims (10)

1. An image processing method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a first image processor and a second image processor; the method comprises the following steps:
the first image processor performs first processing on an original image output by the image sensor to obtain a first image with a first resolution; the first resolution is a maximum resolution supported by the electronic device;
the first image processor transmitting the first image to the second image processor;
the second image processor performs effect processing on the first image to obtain a second image;
the second image processor performs a second process on the second image to obtain a third image having a second resolution, the second resolution being a user-selected resolution.
2. The method according to claim 1, wherein the method further comprises:
the first image processor performs third processing on the first image and transmits the third processed first image to the second image processor;
wherein the third process comprises at least one of:
electronic anti-shake EIS;
face detection;
spatial alignment transforms SAT.
3. The method of claim 1, wherein the second image processor performs a second process on the second image to obtain a third image having a second resolution, comprising at least one of:
the second image processor downsamples the second image to obtain a third image with a second resolution;
the second image processor cuts out the second image to obtain a third image with a second resolution.
4. The method according to claim 1, wherein the method further comprises:
the second image processor transmits the third image to the first image processor.
5. The method of claim 4, further comprising at least one of:
the first image processor sends the third image to an encoder;
the first image processor sends the third image to a display.
6. An electronic device, comprising: a first image processor for performing a first process on an original image output from the image sensor to obtain a first image having a first resolution; transmitting the first image to a second image processor; the first resolution is a maximum resolution supported by the electronic device;
the second image processor is used for performing effect processing on the first image to obtain a second image; and performing second processing on the second image to obtain a third image with a second resolution, wherein the second resolution is the resolution selected by the user.
7. The electronic device of claim 6, wherein the first image processor is further configured to: performing third processing on the first image, and transmitting the third processed first image to the second image processor;
wherein the third process comprises at least one of:
electronic anti-shake EIS;
face detection;
spatial alignment transforms SAT.
8. The electronic device of claim 6, wherein the second image processor is specifically configured to perform at least one of:
downsampling the second image to obtain a third image having a second resolution;
and cropping the second image to obtain a third image with a second resolution.
9. The electronic device of claim 6, wherein the second image processor is further configured to: transmitting the third image to the first image processor.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the image processing method according to any of claims 1-5.
CN202311269983.4A 2023-09-27 2023-09-27 Image processing method and electronic equipment Pending CN117278689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311269983.4A CN117278689A (en) 2023-09-27 2023-09-27 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311269983.4A CN117278689A (en) 2023-09-27 2023-09-27 Image processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117278689A true CN117278689A (en) 2023-12-22

Family

ID=89215749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311269983.4A Pending CN117278689A (en) 2023-09-27 2023-09-27 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117278689A (en)

Similar Documents

Publication Publication Date Title
CN109118430B (en) Super-resolution image reconstruction method and device, electronic equipment and storage medium
CN110766610B (en) Reconstruction method of super-resolution image and electronic equipment
US11010879B2 (en) Video image processing method and apparatus thereof, display device, computer readable storage medium and computer program product
CN114285958B (en) Image processing circuit, image processing method, and electronic apparatus
CN113596294A (en) Shooting method and device and electronic equipment
CN103581728A (en) Selective post-processing of decoded video frames based on focus point determination
CN114339072A (en) Image processing circuit, method and electronic device
CN112270728B (en) Image processing method, device, electronic equipment and readable storage medium
CN114285978A (en) Video processing method, video processing device and electronic equipment
CN117278689A (en) Image processing method and electronic equipment
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
CN115514860A (en) Dynamic frame rate compensation method, image processing circuit and electronic device
CN114285956A (en) Video sharing circuit, method and device and electronic equipment
CN114299014A (en) Image processing architecture, method, electronic device and storage medium
CN114093005A (en) Image processing method and device, electronic equipment and readable storage medium
CN114286002B (en) Image processing circuit, method, device, electronic equipment and chip
CN117278687A (en) Image processing method and device
CN117221472A (en) Video blurring processing method and device
CN114710624B (en) Shooting method and shooting device
CN117271090A (en) Image processing method, device, electronic equipment and medium
CN114302026B (en) Noise reduction method, device, electronic equipment and readable storage medium
CN115633251A (en) Image processing method, circuit and electronic equipment
CN116419044A (en) Media data processing unit, method and electronic equipment
CN117714844A (en) Video processing method and device
CN115103112A (en) Lens control method and electronic equipment

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