CN112399087B - Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium - Google Patents

Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium Download PDF

Info

Publication number
CN112399087B
CN112399087B CN202011438397.4A CN202011438397A CN112399087B CN 112399087 B CN112399087 B CN 112399087B CN 202011438397 A CN202011438397 A CN 202011438397A CN 112399087 B CN112399087 B CN 112399087B
Authority
CN
China
Prior art keywords
post
processing
image
preview
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011438397.4A
Other languages
Chinese (zh)
Other versions
CN112399087A (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011438397.4A priority Critical patent/CN112399087B/en
Publication of CN112399087A publication Critical patent/CN112399087A/en
Application granted granted Critical
Publication of CN112399087B publication Critical patent/CN112399087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image processing method, an image processing apparatus, a photographing apparatus, an electronic device, and a computer-readable storage medium. The image processing method includes the steps of: and acquiring preview cache data from the post-processing adapter, wherein the preview cache data is generated by the post-processing module, transmitting the preview cache data to the post-processing module for image post-processing, receiving target image data generated by the post-processing module for storage, and updating the media library. Therefore, shooting can be achieved without participation of a hardware abstraction layer process, occupied space of a memory is reduced, and shooting time is saved.

Description

Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium
Technical Field
The present application relates to image processing technologies, and in particular, to an image processing method, an image processing apparatus, a photographing apparatus, an electronic device, and a computer-readable storage medium.
Background
In the related art, a camera Application (APP) is generally configured with a Preview Stream (Preview Stream), a Capture Stream (Capture Stream), and a Video Stream (Video Stream). In the shooting process, a camera application program calls a camera interface to finally send a capture request to a camera hardware abstraction layer through a camera service, acquires images and camera metadata from the camera hardware abstraction layer, and sends the acquired images and camera metadata to an algorithm processing service for image post-processing to obtain image data, and the image data is stored and updated. However, since the shooting needs to be realized through multiple processes such as an application program process, a camera service process, a camera hardware abstraction layer process, and the like, the occupied memory resource is high, and the time consumption is long.
Disclosure of Invention
In view of the above, the present application aims to solve at least one of the problems in the related art to some extent. To this end, an object of the present application is to provide an image processing method, an image processing apparatus, a photographing apparatus, an electronic device, and a computer-readable storage medium.
The image processing method of the embodiment of the application comprises the following steps:
acquiring preview cache data from a post-processing adapter, wherein the preview cache data is obtained by processing of the post-processing module; transmitting the preview cache data to a post-processing module for image post-processing; and
and receiving target image data generated by the post-processing module for storage and updating the media library.
The image processing apparatus of the embodiment of the present application includes an application module, a post-processing adapter, and a post-processing module, the post-processing adapter connects the application module and the post-processing module, and the application module is configured to:
acquiring preview cache data from a post-processing adapter;
transmitting the preview cache data to the post-processing module for image post-processing;
and receiving target image data generated by the post-processing module for storage and updating the media library.
The shooting device of this application includes:
in the image processing device and the image sensor, the image sensor is connected to the image processing device, and the hardware abstraction module generates the initial image data according to the pixel information collected by the image sensor.
The electronic equipment of the embodiment of the application comprises one or more processors and a memory; and
one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs comprising instructions for performing the image processing method. The image processing method comprises the following steps: the method comprises the steps of obtaining preview cache data from a post-processing adapter, transmitting the preview cache data to a post-processing module for image post-processing, receiving target image data generated by the post-processing module for storage and updating a media library.
The computer-readable storage medium of an embodiment of the present application includes a computer program that, when executed by one or more processors, causes the processors to perform the image processing method. The image processing method comprises the following steps: the method comprises the steps of obtaining preview cache data from a post-processing adapter, transmitting the preview cache data to a post-processing module for image post-processing, receiving target image data generated by the post-processing module for storage and updating a media library.
In the image processing method, the image processing apparatus, the photographing apparatus, the electronic device, and the computer-readable storage medium according to the embodiments of the present application, the preview cache data obtained by processing by the post-processing module can be directly obtained from the post-processing adapter by sending the obtaining request to the post-processing adapter, and the preview cache data is block-processed by the post-processing module to generate the target image data, and is stored and updated. Therefore, in the shooting mode, hardware abstraction processes are not needed to participate, the occupied space of the memory is reduced, and the shooting time is saved.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a block diagram of an electronic device according to some embodiments of the present application;
FIG. 2 is yet another block diagram of an electronic device according to some embodiments of the present application;
FIG. 3 is a schematic flow chart diagram of an image processing method according to some embodiments of the present application;
FIG. 4 is a block diagram of an electronic device according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a connection between a processor and a computer-readable storage medium according to some embodiments of the present application;
FIG. 6 is yet another flow chart diagram of an image processing method according to some embodiments of the present application;
FIG. 7 is yet another flow chart diagram of an image processing method according to some embodiments of the present application;
FIG. 8 is yet another flow chart diagram of an image processing method according to some embodiments of the present application.
Description of the main element symbols:
electronic device 100, image processing apparatus 10, hardware abstraction module 12, caching unit 122, processing unit 124, processing unit 126, camera service module 13, application module 14, post-processing adapter 16, post-processing module 18, capture unit 182, cache graphics processing unit 184, image sensor 20, image acquisition unit 22, image data unit 24, processor 30, memory 40, program 42, computer-readable storage medium 50, computer program 52.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the related art, a camera Application (APP) is generally configured with a Preview Stream (Preview Stream), a Capture Stream (Capture Stream), and a Video Stream (Video Stream) in a Video mode. In the process of shooting (Video Snapshot, VSS), a Camera application calls a Camera Interface (Camera API2) to initiate a capture request, and the capture request is first transferred to a Camera service (Camera service) process through an Android Interface Definition Language (Android Interface Definition Language aid l), and then finally transferred to a Camera hardware abstraction layer (Camera HAL) process through a hardware abstraction layer Interface Definition Language (HAL Interface Definition Language). The camera hardware abstraction layer receives the capture request and then responds to the request and calls back the initial image and the camera metadata to the camera application program, and the camera application program receives the initial image and the camera metadata and then performs image post-processing by an image post-Algorithm Processing Service (APS) of the camera application program. After the image post-algorithm processing service is finished, the processing result is stored and updated.
However, the VSS process spans the camera application process, the camera service process, the camera hardware abstraction layer process, and the like, which takes a long time and occupies a high memory resource.
In view of the above, referring to fig. 1, the present application provides a camera 100. The shooting device 100 may be a mobile phone, a tablet computer, a notebook computer, an intelligent wearable device (an intelligent watch, an intelligent bracelet, an intelligent helmet, an intelligent glasses, etc.), a virtual reality device, etc. In the present application, the imaging apparatus 10 is described as a mobile phone, but the form of the imaging apparatus is not limited to the mobile phone. The photographing apparatus 100 includes an image processing apparatus 10 and an image sensor 20. The image processing apparatus 10 is connected to the image sensor 20.
The image sensor 20 includes an image acquisition unit 22(sensor) and an image data unit 24 (IFE). The image acquisition unit 22 is configured to receive light to obtain RAW image data. The image data unit 24 is used for transmitting the pixel information collected by the image collecting unit 22 to the image processing apparatus 10. The image data unit 24 may process RAW image data acquired by the image acquisition unit 22 and output the processed RAW image (pixel information) to the image processing apparatus 10.
The image processing apparatus 10 includes a hardware abstraction module (Camera HAL)12, an application module (APP)14, a post-processing Adapter (APS Adapter)16, and a post-processing module 18 (APS).
The hardware abstraction module 12 may be coupled to the image sensor 20 for generating initial image data from pixel information collected by the image sensor 10 and transmitting the initial image data to the application module 14.
Specifically, the hardware abstraction module 12 includes a buffer unit 122(buffer queue) and a processing unit 124 (BPS) connected to the image sensor 20. The buffer unit 122 is used to buffer pixel information from the image sensor 20. The processing unit 124 is configured to convert the pixel information from the buffer unit 122 into initial image data, and transmit the initial image data to the application module 14. Note that the initial image data may be a YUV image. That is, the processing unit 124 may be configured to process the RAW image to generate a YUV image.
The application module 14 may receive user input, generate control instructions, and send the control instructions to the image sensor 20 through the hardware abstraction module 12 to control the operation of the image sensor 20 accordingly. Wherein the application program module 14 is connected with the processing unit 126 in the hardware abstraction module 12. The application module 14 includes a base unit 142, and the base unit 142 may receive the initial image data sent by the processing unit 126 and transmit the initial image data to the post-processing module 18, so that the post-processing module 18 performs post-processing to obtain preview cache data.
The post-processing adapter 16 is connected to the application module 14 and the post-processing module 18, respectively, for the transmission of instructions or other data between the post-processing module 18 and the application module 14. The application module 14 may transmit the initial image data to the post-processing module 18 through the post-processing adapter 16.
The post-processing module 18 includes a capturing unit 182 and a cache image processing unit 184, wherein the cache image processing unit 184 stores a preview cache image algorithm, and the cache image processing unit 184 can perform post-processing such as anti-shake and brightness adjustment on the initial image data through the preview cache image algorithm to generate a preview cache image, and transmit the generated preview cache image to the post-processing adapter 16 for storage by the post-processing adapter 16. The preview buffer image may include image data, which is a preview frame image, and metadata (metadata) including 3A (auto exposure control AE, auto focus control AF, auto white balance control AWB) information, picture information (e.g., image width, height), exposure parameters (aperture size, shutter speed, and sensitivity aperture value), and the like. For example, in one embodiment, the metadata Includes Sensitivity (ISO) information, and the post-processing module 18 may assist in adjusting the brightness of the image data based on the sensitivity information to implement post-photographing processing associated with adjusting the brightness. The metadata may be obtained from RAW image data of the image sensor 20 by the hardware abstraction module 12 and transmitted to the post-processing module 18 for processing by the application module 14 and the post-processing adapter 16.
Referring to fig. 2, it should be noted that the application module 14 is configured with a shooting mode. The post-processing adapter 16 stores the preview cache image, if the application module 14 starts the shooting mode according to the user input, the base unit 142 may control the post-processing thread to send an acquisition request to the post-processing adapter 16 to acquire the preview cache data from the post-processing adapter 16, and further transmit the preview cache data to the post-processing module 18, the capture unit 184 performs image post-processing on the preview cache data, so as to generate target image data, and further, the capture unit 184 transmits the generated target image data back to the base unit 142 through the post-processing adapter 16, and the base unit 142 stores and updates the media library, thereby completing the shooting.
In the process of shooting by the image processing apparatus 10 according to the embodiment of the present invention, the application module 14 sends an acquisition request to the post-processing adapter 16, so that the preview cache data processed by the post-processing module 18 can be acquired from the post-processing adapter 16, and the preview cache data is further processed by the post-processing module 18, so that target image data is generated, stored, and updated. Thus, in the shooting mode, the application program module 14 can directly obtain the preview cache image from the post-processing adapter 16 without the need of executing the function required by the hardware abstraction module 12, thereby avoiding cross-process communication in the shooting implementation process, so that the memory occupation can be reduced, the speed of the shooting program can be increased, and the shooting time can be saved.
Referring further to fig. 1, in some embodiments, the application module 14 includes a graphics processing unit 144, and the graphics processing unit 144 is configured to control the preview thread to obtain the preview cache data from the post-processing adapter 16 for rendering to display the preview cache image.
Specifically, the application module 14 is further configured with a preview mode, in which after the graphics processing unit 144(GL thread) receives the preview cache data, the preview cache data is subjected to preview rendering processing (including at least one of anti-shake processing, beauty processing, filter processing, rotation processing, watermarking processing, blurring processing, HDR processing, and multi-frame processing, for example) by using a correlation algorithm (GPU correlation algorithm) of the graphics processing unit 144. For example, the anti-shake processing is performed on the preview cache data, and the graphics processing unit 144 performs further processing on the preview cache data to obtain a preview cache image, at this time, the graphics processing unit 144 may send the preview cache image to the display screen for displaying. Of course, after the graphics processing unit 144 performs further processing on the preview cache data by using the relevant algorithm of the graphics processing unit 144, some special effect processing, such as filter processing, may be further performed on the processed image, so that the final preview cache image may also achieve the effects of filter processing, and the quality of the preview cache image is improved.
In some embodiments, the post-processing adapter 16 manages post-processing preview cache data according to a post-processing thread and a preview thread based on a reference counting principle.
Specifically, the post-processing adapter 16 includes a Buffer (Buffer) for storing preview Buffer data, and the post-processing adapter 16 is further configured with a Buffer management mechanism for managing a Buffer thread. Wherein the management mechanism is designed based on the reference counting principle. Specifically, the Buffer management mechanism is provided with reference times of the preview cache data, updates the reference times according to the times of acquiring the preview cache data by the post-processing thread and the preview thread, and releases the preview cache data when the reference times meet a preset condition. It can be understood that, since both the post-processing thread and the preview thread call the preview cache data of the post-processing adapter, if the post-processing thread and the preview thread simultaneously preview the cache data, a thread that caches the Buffer preview cache data is prone to failure, and therefore, the Buffer thread that caches the preview cache data is managed by using a reference counting principle mechanism, which ensures the thread safety of the Buffer thread that previews the cache data.
Referring further to fig. 2, in some embodiments, the image processing apparatus 10 may further include a camera service module 13. The hardware abstraction module 12 is connected with the application program module 14 through the camera service module 13.
The camera service module 13 may encapsulate the initial image data and transmit the encapsulated initial image data to the application module 14. By encapsulating the initial image data by the camera service module 13, the efficiency of image transmission can be improved, and the security of image transmission can be improved. When the image processing apparatus 10 further includes the camera service module 13, the transmission path of data in the image processing apparatus 10 may be adjusted accordingly. For example, when the hardware abstraction module 12 transmits the initial YUV image to the application program module 14, the hardware abstraction module 12 first transmits the initial YUV image to the camera service module 13, and the camera service module 13 encapsulates the initial image data and transmits the encapsulated initial image data to the application program module 14. When the hardware abstraction module 12 transmits the metadata to the application program module 14, the hardware abstraction module 12 first transmits the metadata to the camera service module 13, and the camera service module 13 then transmits the metadata to the application program module 14.
In view of the above, referring to fig. 3, an embodiment of the present application provides an image processing method, including:
s11: acquiring preview cache data from a post-processing adapter, wherein the preview cache data is generated by a post-processing module;
s12: transmitting the preview cache data to a post-processing module for image post-processing; and
s13: and receiving target image data generated by the post-processing module for storage and updating the media library.
Referring to fig. 4, the present application provides an electronic device 100 comprising one or more processors 30, a memory 40; and one or more programs 42, where the one or more programs 42 are stored in the memory 40 and executed by the one or more processors 30, the programs 42 being executed by the processors 30 to perform the instructions of the image processing method.
That is, the processor 30 may be configured to control the post-processing thread to send an obtaining request to the post-processing adapter to obtain the preview cache data from the post-processing adapter, where the preview cache data is generated by the post-processing module, transmit the preview cache data to the post-processing module for image post-processing, receive target image data generated by the post-processing module for storage, and update the media library.
Referring to fig. 5, one or more non-transitory computer-readable storage media 50 containing a computer program 52 are provided, which when executed by one or more processors 30, causes the processors 30 to perform the image processing methods described above.
In some embodiments, the computer-readable storage medium 50 may be a storage medium built in the electronic device 100, for example, the storage 40, or a storage medium that can be plugged into the electronic device 100, for example, an SD card.
Referring to fig. 6, in some embodiments, the image processing method further includes:
s14: acquiring initial image data from a hardware abstraction module;
s15: transmitting the initial image data to a post-processing module for post-processing to obtain preview cache data;
s16: caching the preview cache data to a post-processing adapter;
s17: and acquiring the preview cache data from the post-processing adapter for rendering so as to display the preview cache image.
In some embodiments, the processor 30 may be configured to obtain initial image data from the hardware abstraction module and transmit the initial image data to the post-processing module for post-processing to obtain preview cache data, and the processor 30 may be further configured to cache the preview cache data to the post-processing adapter, and obtain the preview cache data from the post-processing adapter for rendering to display the preview cache image.
Referring to fig. 7, in some embodiments, the image processing method further includes:
s18: post-processing cache data is managed according to a post-processing thread and a preview thread based on a reference counting principle.
In some embodiments, the processor 30 is also configured to manage post-processing cache data according to a post-processing thread and a preview thread based on a reference counting principle.
Referring to fig. 8, in some embodiments, step S18 further includes the steps of:
s182: setting the reference times of the preview cache data by the post-processing adapter;
s184: updating the reference times according to the times of acquiring the preview cache data by the post-processing thread and the preview thread;
s186: and releasing the preview cache data when the reference times meet the preset condition.
In some embodiments, the processor 30 may be further configured to set a reference number of times of the preview cache data for the post-processing adapter, update the reference number of times according to the number of times of the post-processing thread and the preview thread acquiring the preview cache data, and release the preview cache data when the reference number meets a preset condition.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An image processing method applied to an application module, wherein a post-processing adapter connects the application module and a post-processing module, comprising:
acquiring preview cache data from the post-processing adapter, wherein the preview cache data is generated by the post-processing module, the post-processing module comprises a cache image processing unit, the cache image processing unit performs post-processing on initial image data through a preview cache image algorithm to generate a preview cache image, and the preview cache image comprises the preview cache data;
transmitting the preview cache data to the post-processing module for image post-processing; and
and receiving target image data generated by the post-processing module for storage and updating the media library.
2. The image processing method according to claim 1, characterized in that the image processing method further comprises:
acquiring initial image data from a hardware abstraction module;
transmitting the initial image data to the post-processing module for post-processing to obtain the preview cache data; caching the preview cache data to the post-processing adapter; and
and obtaining the preview cache data from the post-processing adapter for rendering so as to display a preview cache image.
3. The image processing method according to claim 2, characterized in that the image processing method further comprises: and managing the post-processing preview cache data according to the post-processing thread and the preview thread based on a reference counting principle.
4. An image processing method according to claim 3, characterized in that said reference-based counting principle is according to
Managing the post-processing cache data by the post-processing thread and the preview thread comprises:
setting the reference times of the preview cache data in the post-processing adapter;
updating the reference times according to the times of acquiring the preview cache data by the post-processing thread and the preview thread; and
and releasing the preview cache data when the reference times meet a preset condition.
5. The image processing method according to claim 2, wherein the preview cache data includes image data and metadata.
6. An image processing apparatus comprising an application module, a post-processing adapter and a post-processing module, wherein the post-processing adapter connects the application module and the post-processing module, and wherein the application module is configured to:
acquiring preview cache data from the post-processing adapter, wherein the preview cache data is generated by the post-processing module, the post-processing module comprises a cache image processing unit, the cache image processing unit performs post-processing on initial image data through a preview cache image algorithm to generate a preview cache image, and the preview cache image comprises the preview cache data;
transmitting the preview cache data to the post-processing module for image post-processing;
and receiving target image data generated by the post-processing module for storage and updating the media library.
7. The image processing apparatus according to claim 6, comprising a hardware abstraction module, the hardware abstraction module being connected to the application module, the application module further configured to:
acquiring initial image data from a hardware abstraction module;
transmitting the initial image data to a post-processing module for post-processing to obtain the preview cache data;
caching the preview cache data to the post-processing adapter; and
and acquiring preview cache data from the post-processing adapter for rendering so as to display a preview cache image.
8. A camera, comprising:
the image processing apparatus of any one of claims 6 to 7; and
the image processing device generates the initial image data according to the pixel information collected by the image sensor.
9. An electronic device comprising one or more processors, memory; and
one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs comprising instructions for performing the image processing method of any of claims 1-5.
10. A non-transitory computer-readable storage medium containing a computer program, which when executed by one or more processors causes the processors to perform the image processing method of any one of claims 1-5.
CN202011438397.4A 2020-12-07 2020-12-07 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium Active CN112399087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011438397.4A CN112399087B (en) 2020-12-07 2020-12-07 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011438397.4A CN112399087B (en) 2020-12-07 2020-12-07 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN112399087A CN112399087A (en) 2021-02-23
CN112399087B true CN112399087B (en) 2022-05-20

Family

ID=74625178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011438397.4A Active CN112399087B (en) 2020-12-07 2020-12-07 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112399087B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890998A (en) * 2021-10-26 2022-01-04 Oppo广东移动通信有限公司 Image data processing method and device, electronic equipment and storage medium
CN113992854A (en) * 2021-10-29 2022-01-28 Oppo广东移动通信有限公司 Image preview method and device, electronic equipment and computer readable storage medium
CN114125284B (en) * 2021-11-18 2023-10-31 Oppo广东移动通信有限公司 Image processing method, electronic device and storage medium
CN114157791A (en) * 2021-12-01 2022-03-08 北京紫光展锐通信技术有限公司 Switching method of HDR sensor and non-HDR sensor and electronic equipment
CN114979466B (en) * 2022-04-22 2023-12-08 西安广和通无线通信有限公司 Shooting processing method and device and wireless communication module
CN115665342B (en) * 2022-09-09 2024-03-05 维沃移动通信有限公司 Image processing method, image processing circuit, electronic device, and readable storage medium
CN115714907A (en) * 2022-11-11 2023-02-24 深圳市广和通无线股份有限公司 Photographing method, monitoring device, electronic equipment and storage medium
CN117692763A (en) * 2023-08-02 2024-03-12 荣耀终端有限公司 Photographing method, electronic device, storage medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN110995994A (en) * 2019-12-09 2020-04-10 上海瑾盛通信科技有限公司 Image shooting method and related device
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7847833B2 (en) * 2001-02-07 2010-12-07 Verisign, Inc. Digital camera device providing improved methodology for rapidly taking successive pictures
US9160912B2 (en) * 2012-06-08 2015-10-13 Apple Inc. System and method for automatic image capture control in digital imaging
US20150187339A1 (en) * 2013-12-29 2015-07-02 Motorola Mobility Llc Previewing Notification Content
CN105338221B (en) * 2014-08-15 2019-01-15 联想(北京)有限公司 A kind of image processing method and electronic equipment
CN104657934B (en) * 2015-02-09 2018-08-10 青岛海信移动通信技术股份有限公司 A kind for the treatment of method and apparatus of image data
CN104967865B (en) * 2015-03-24 2019-10-11 腾讯科技(北京)有限公司 Video previewing method and device
CN110300240B (en) * 2019-06-28 2021-08-13 Oppo广东移动通信有限公司 Image processor, image processing method, photographing device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN110995994A (en) * 2019-12-09 2020-04-10 上海瑾盛通信科技有限公司 Image shooting method and related device
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal

Also Published As

Publication number Publication date
CN112399087A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN112399087B (en) Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium
KR102149187B1 (en) Electronic device and control method of the same
CN110086967B (en) Image processing method, image processor, photographing device and electronic equipment
CN107566747B (en) Image brightness enhancement method and device
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
CN110753187B (en) Camera control method and device
US10897579B2 (en) Photographing method and apparatus
CN109672819B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN110177214B (en) Image processor, image processing method, photographing device and electronic equipment
CN110300240B (en) Image processor, image processing method, photographing device and electronic equipment
CN107743191B (en) Terminal, anti-shake photographing method thereof and storage device
CN108833804A (en) Imaging method, device and electronic equipment
CN104917973B (en) Dynamic exposure method of adjustment and its electronic device
CN107197140B (en) Method and system for acquiring digital image
CN110062161B (en) Image processor, image processing method, photographing device, and electronic apparatus
CN111385475B (en) Image acquisition method, photographing device, electronic equipment and readable storage medium
EP2890115B1 (en) Electronic photographing apparatus and method of control
CN109167930A (en) Image display method, device, electronic equipment and computer readable storage medium
CN110958399B (en) High dynamic range image HDR realization method and related product
CN112770042B (en) Image processing method and device, computer readable medium, wireless communication terminal
CN116074634B (en) Exposure parameter determination method and device
WO2018214838A1 (en) Surveillance image capture method, apparatus, and system
CN115514883A (en) Cross-device collaborative shooting method, related device and system
CN113259594A (en) Image processing method and device, computer readable storage medium and terminal
CN109523456B (en) Image processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant