WO2022262449A1 - 图像数据处理方法、多媒体处理芯片以及电子设备 - Google Patents
图像数据处理方法、多媒体处理芯片以及电子设备 Download PDFInfo
- Publication number
- WO2022262449A1 WO2022262449A1 PCT/CN2022/090629 CN2022090629W WO2022262449A1 WO 2022262449 A1 WO2022262449 A1 WO 2022262449A1 CN 2022090629 W CN2022090629 W CN 2022090629W WO 2022262449 A1 WO2022262449 A1 WO 2022262449A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- image data
- processing chip
- original image
- time point
- Prior art date
Links
- 238000012545 processing Methods 0.000 title claims abstract description 268
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 230000003287 optical effect Effects 0.000 claims abstract description 225
- 230000006641 stabilisation Effects 0.000 claims description 145
- 238000011105 stabilization Methods 0.000 claims description 145
- 230000033001 locomotion Effects 0.000 claims description 56
- 238000000034 method Methods 0.000 claims description 39
- 238000007781 pre-processing Methods 0.000 claims description 26
- 238000012795 verification Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012805 post-processing Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000004540 process dynamic Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Definitions
- the present application relates to the technical field of electronic equipment, in particular to an image data processing method, a multimedia processing chip and electronic equipment.
- the quality of shooting has become the key to measure the performance of electronic equipment such as smart phones and tablet computers.
- the sensor data collected by the sensor of the electronic device is used to process the image to improve the quality of the captured image or video.
- Embodiments of the present application provide an image data processing method, a multimedia processing chip, and an electronic device, which can improve image effects.
- the embodiment of the present application provides an image data processing method, which is applied to a multimedia processing chip, and the method includes:
- the embodiment of the present application also provides a multimedia processing chip, including:
- the central processing unit is configured to receive the optical anti-shake data sequence and the first system time stamp corresponding to the optical anti-shake data sequence from the application processing chip;
- the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run on the computer, the computer is made to execute the computer program as provided in any embodiment of the present application.
- Image data processing method
- the embodiment of the present application further provides an electronic device, the electronic device includes the multimedia processing chip, the image sensor, the optical anti-shake component and the application processing chip provided in any embodiment of the application, wherein the application processing chip Including sensor control module;
- the image sensor is configured to collect raw image data and transmit the raw image data to the multimedia processing chip;
- the optical anti-shake component is configured to generate an optical anti-shake data sequence according to the motion data sequence of the electronic device during the shooting process of the raw image data, and transmit the optical anti-shake data sequence to the sensor control modules;
- the sensor control module is configured to provide the optical image stabilization data sequence to the multimedia processing chip.
- FIG. 1 is a schematic flowchart of a first type of image data processing method provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of matching optical image stabilization data and original image data in the image data processing method provided by the embodiment of the present application.
- FIG. 3 is a schematic diagram of a first structure of a multimedia processing chip provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a second structure of a multimedia processing chip provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
- the embodiment of the present application provides a Chinese image data processing method, including:
- recording the life cycle of the original image data includes:
- the time interval between the first exposure start time point and the second exposure start time point is recorded as the life cycle of the original image data.
- determining the target optical image stabilization data corresponding to the original image data from the optical image stabilization data sequence according to the life cycle and the first system time stamp further includes:
- the first system time stamp determine the adjusted optical anti-shake data frame between the first exposure start time point and the second exposure start time point from the optical anti-shake data sequence, As the target optical image stabilization data.
- providing the target optical image stabilization data and the original image data to the application processing chip includes:
- the target optical image stabilization data, the motion estimation data and the original image data are transmitted to the application processing chip.
- providing the target optical image stabilization data and the original image data to the application processing chip includes:
- the pre-processing includes de-noising processing and/or de-ghosting processing.
- the optical image stabilization data includes a check digit
- the method further includes: before calculating the motion estimation data corresponding to the original image data according to the target optical image stabilization data, performing:
- the motion estimation data corresponding to the original image data is calculated according to the target optical image stabilization data.
- the embodiment of the present application provides an image data processing method.
- the execution subject of the image data processing method may be the multimedia processing chip provided in the embodiment of the present application, or an electronic device integrated with the multimedia processing chip, wherein the multimedia processing chip may adopt implemented in hardware or software.
- the electronic device may be a device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer, or a desktop computer.
- FIG. 1 is a schematic flowchart of a first image data processing method provided by an embodiment of the present application.
- the specific flow of the image data processing method provided in the embodiment of the present application may be as follows:
- the electronic device in the embodiment of the present application may include an image sensor, a multimedia processing chip, and an application processing chip. After the image sensor completes the exposure, it will transmit the captured original image data to the multimedia processing chip, or the multimedia processing chip will transfer the data from the image sensor to the multimedia processing chip. Read the raw image data obtained by exposure.
- the multimedia processing chip can perform some pre-processing on the original image data received from the image sensor to obtain the pre-processing image data, and then transmit the pre-processing image data to the application processing chip, and the application processing chip performs post-processing on the pre-processing image data processing to obtain post-processing image data, and output the post-processing image data, for example, perform image shooting preview, image shooting output, video shooting preview or video shooting output based on the post-processing image data.
- the electronic equipment also includes an optical anti-shake component, which generally belongs to the camera module together with the image sensor and the lens, and the optical anti-shake component and the image sensor work synchronously.
- the optical anti-shake The component calculates the optical anti-shake data according to the motion data detected by the motion sensor of the electronic device, and controls the movement and/or rotation of the lens to realize the optical anti-shake processing. Therefore, the original image data transmitted by the image sensor to the multimedia processing chip is processed by optical anti-shake.
- the above motion sensor includes but not limited to any one or more of the following multiple sensors: gyroscope, acceleration sensor, gravity sensor and so on.
- the motion sensor Take the motion sensor as a gyroscope (Gyroscope, referred to as GYRO) as an example.
- the gyroscope outputs gyroscope data at a constant frequency.
- the motion of the electronic device can be obtained.
- the component Based on the gyroscope data, the component detects that the electronic device shakes during shooting, and then corrects the offset of the shake by controlling the movement or rotation of the lens, thereby achieving optical image stabilization.
- the gyroscope outputs gyroscope data according to a constant frequency to form a gyroscope data sequence
- the optical anti-shake component converts the optical anti-shake data sequence according to the same frequency to obtain the optical anti-shake data sequence.
- Each frame of optical image stabilization data includes displacement compensation information and/or rotational displacement information.
- the optical image stabilization data can also be transmitted to the multimedia processing chip, and the multimedia processing chip can use the optical image stabilization data for motion estimation, and the obtained motion estimation data can be used to process the original image data .
- optical image stabilization data can be used to process the image.
- Camera HAL restores and corrects the pose of the original image data according to the optical image stabilization data to obtain a corrected image, and then performs electronic anti-shake processing on the corrected image.
- the electronic device also includes an application processing chip
- the application processing chip includes a sensor control module (SENSOR HUB)
- the optical image stabilization component is connected to the sensor control module, and needs to send the optical image stabilization data to the sensor control module
- the sensor control module sends it to other hardware that needs to use the optical image stabilization data, for example, the sensor control module sends the optical image stabilization data to the multimedia processing chip and the application processing chip.
- the number of peripheral interfaces of the sensor control module is generally limited, so in the embodiment of the present application, the sensor control module is configured to send the optical image stabilization data sequence to the application processing chip and the multimedia processing chip in a time-sharing manner. In the case of expansion, the requirements of the two hardware for optical image stabilization data are guaranteed.
- the image sensor transmits the raw image data obtained by exposure to the multimedia processing chip.
- the sensor control module in the application processing chip also transmits the optical image stabilization data sequence to the multimedia processing chip, and the sensor
- Each frame of optical image stabilization data in the optical image stabilization data sequence transmitted by the control module carries a corresponding first system time stamp.
- the time stamps of the sensor control module and the application processing chip are synchronized, or have undergone synchronization processing in advance. Therefore, when the sensor control module transmits the optical image stabilization data to the multimedia processing chip, it can carry the system time stamp of the sensor control module.
- the image sensor will continuously send multiple frames of raw image data exposed according to certain exposure parameters to the multimedia processing chip, and the multimedia processing chip will record the life cycle of a frame of raw image data according to the time point when the raw image data is received.
- the life cycle of recording raw image data includes:
- the time interval between the first exposure start time point and the second exposure start time point is recorded as the life cycle of the original image data.
- FIG. 2 is a schematic diagram of matching optical image stabilization data and original image data in the image data processing method provided by the embodiment of the present application.
- the multimedia processing chip records the time interval between the exposure start time point of the original image data and the exposure start time point of the next frame of image data of the original image data as the life cycle of the original image data.
- the image sensor, the multimedia processing chip and the application processing chip are all provided with a communication module, for example, the communication module is a MIPI (Mobile Industry Processor Interface, mobile industry processor interface) module.
- the MIPI module of the multimedia processing chip can include a first interface and a second interface, the first interface can receive the original image data transmitted by the MIPI interface of the image sensor, and the second interface can send the pre-processed image data obtained by processing to the application processing The MIPI interface of the chip.
- MIPI Mobile Industry Processor Interface, mobile industry processor interface
- the multimedia processing chip and the sensor control module are provided with a peripheral interface
- the peripheral interface is an I2C (Inter-Integrated Circuit, two-wire serial bus) interface or an SPI (Serial Peripheral Interface, serial peripheral interface ) interface
- the multimedia processing chip receives the optical image stabilization data sent by the SPI/I2C interface of the sensor control module through the SPI/I2C interface.
- the multimedia processing chip After receiving the OIS data sequence and the original image data, the multimedia processing chip determines the target OIS data corresponding to the original image data from the OIS data sequence.
- the method further includes: before receiving the optical image stabilization data sequence and the first system timestamp corresponding to the optical image stabilization data sequence, executing:
- the multimedia processing chip and the application processing chip in the embodiment of the present application may use the same source clock.
- the electronic device since the electronic device is started, its application processing chip will generally be started, and the multimedia processing chip will generally be started when the camera is started to shoot, so as to process the image data obtained by shooting. Therefore, even if the two If two chips use the same source clock, there will be a time difference between their time stamps. Therefore, after the multimedia processing chip is started, the time stamps of the two chips are synchronized.
- receive the second system time stamp sent by the application processing chip acquire the third system time stamp of the multimedia processing chip; record the synchronization relationship between the second system time stamp and the third system time stamp.
- determining the target optical image stabilization data corresponding to the original image data from the optical image stabilization data sequence according to the life cycle and the first system time stamp further includes: adjusting the life cycle according to the synchronization relationship Corresponding to the first exposure start time point and the second exposure start time point; according to the first system time stamp, determine the adjusted first exposure start time point to the second exposure start time point from the optical image stabilization data sequence
- the optical image stabilization data frame between points is used as the target optical image stabilization data.
- the first exposure start time point and the second exposure start time point corresponding to the life cycle are adjusted according to the synchronization relationship; then, according to the first system time stamp, determine the adjusted optical image stabilization data frame between the first exposure start time point and the second exposure start time point from the optical image stabilization data sequence as the target optical image stabilization data.
- the multimedia processing chip After the multimedia processing chip acquires the target optical image stabilization data, it provides the target optical image stabilization data and original image data to the application processing chip.
- the multimedia processing chip can actively transmit the target optical image stabilization data and original image data to the application processing chip. chip, or when the application processing chip requests the original image data from the multimedia processing chip, it transmits the target optical image stabilization data and the original image data to the application processing chip, so that the application processing chip can use the target optical image stabilization data to update the original image data.
- the image data is post-processed.
- the target optical image stabilization data and original image data are provided to the application processing chip, including:
- the motion estimation data including offset data and rotation data
- the target optical image stabilization data, motion estimation data and original image data are transmitted to the application processing chip.
- the multimedia processing chip After the multimedia processing chip obtains the target optical image stabilization data, it calculates the motion estimation data corresponding to the original image data according to the target optical image stabilization data.
- the motion estimation data includes offset data and rotation data, representing the original image data Offset and rotation during exposure due to optical image stabilization. Then, the multimedia processing chip transmits the target optical image stabilization data, motion estimation data and original image data to the application processing chip.
- providing the target optical anti-shake data and the original image data to the application processing chip includes: calculating motion estimation data corresponding to the original image data according to the target optical anti-shake data; Perform pre-processing to obtain pre-processed image data; transmit the pre-processed data to the application processing chip.
- the multimedia processing chip after the multimedia processing chip calculates and obtains the motion estimation data, it can further perform pre-processing on the original image data according to the motion estimation data, for example, perform denoising processing and/or de-ghosting processing to obtain the pre-processing Image data, and then the pre-processed image data is sent to the application processing chip, or the pre-processed image data, motion estimation data, and target optical image stabilization data can also be sent to the application processing chip through the MIPI interface.
- the application processing chip can further post-process the pre-processed image data.
- the optical image stabilization data includes a check digit
- the method further includes: before calculating the motion estimation data corresponding to the original image data according to the target optical image stabilization data, performing: The check bit in the optical image stabilization data is used to verify the target optical image stabilization data; if the verification is successful, the motion estimation data corresponding to the original image data is calculated according to the target optical image stabilization data.
- the sensor control module adds a check bit for each frame of optical image stabilization data, and when the multimedia processing chip or application processing chip uses the target optical image stabilization data, it can first judge the optical image stabilization data according to the check bit.
- the accuracy of the anti-shake data is to ensure that the optical anti-shake data is transmitted to the multimedia processing chip without error. It can be understood that, if an error in transmission of optical jitter data is detected according to the check digit, the time stamp corresponding to the erroneous optical image stabilization data frame can be determined, and based on the time stamp, a corresponding optical image stabilization data frame can be requested from the sensor control module again. Jitter data frame.
- the present application is not limited by the execution order of the described steps, and some steps may be performed in other orders or simultaneously in the case of no conflict.
- the multimedia processing chip receives the original image data from the image sensor, and records the life cycle of the original image data. At the same time, the multimedia processing chip also receives the optical data from the application processing chip.
- the anti-shake data sequence and the first system time stamp corresponding to the optical anti-shake data sequence determine the target optical anti-shake data corresponding to the original image data from the optical anti-shake data sequence according to the life cycle and the first system time stamp, Realize the synchronization of original image data and optical image stabilization data in time, so that the multimedia processing chip that directly receives the original image data can quickly process the original image data and optical image stabilization data simultaneously, and send the data to the application for processing
- the chip can realize the synchronization of the two kinds of data before the chip, and send the target optical image stabilization data and original image data obtained by matching processing to the application processing chip, so that the application processing chip can directly obtain the target optical image stabilization data after synchronization processing
- the original image data without data synchronization processing, the original image data can be processed directly according to the target optical image stabilization data, which not only improves the processing efficiency of image data, but also avoids data delay, thereby improving the image processing effect.
- the embodiment of the present application also provides a multimedia processing chip, including a central processing unit, and the central processing unit is configured to:
- the central processing unit is further configured to:
- the time interval between the first exposure start time point and the second exposure start time point is recorded as the life cycle of the original image data.
- the central processing unit is further configured to:
- the central processing unit is further configured to:
- the first system time stamp determine the adjusted optical anti-shake data frame between the first exposure start time point and the second exposure start time point from the optical anti-shake data sequence, As the target optical image stabilization data.
- the central processing unit is further configured to:
- a pre-image processor is also included, configured to:
- the central processing unit is further configured to:
- the target optical image stabilization data, the motion estimation data and the original image data are transmitted to the application processing chip.
- the optical image stabilization data includes a check digit
- the central processing unit is further configured to:
- the motion estimation data corresponding to the original image data is calculated according to the target optical image stabilization data.
- FIG. 3 is a schematic diagram of a first structure of a multimedia processing chip provided by an embodiment of the present application.
- the multimedia processing chip 300 is applied to an electronic device 300
- the multimedia processing chip 301 includes a central processing unit 3011
- the central processing unit 3011 is configured to:
- the central processing unit 3011 is configured to:
- the time interval between the first exposure start time point and the second exposure start time point is recorded as the life cycle of the original image data.
- the central processing unit 3011 is configured to:
- the central processing unit 3011 is configured to:
- the first system time stamp determine the adjusted optical anti-shake data frame between the first exposure start time point and the second exposure start time point from the optical anti-shake data sequence, As the target optical image stabilization data.
- the central processing unit 3011 is configured to:
- the motion estimation data including offset data and rotation data
- the target optical image stabilization data, the motion estimation data and the original image data are transmitted to an application processing chip.
- FIG. 4 is a schematic diagram of a second structure of a multimedia processing chip provided by an embodiment of the present application.
- the multimedia processing chip 301 also includes a front image processor 3012, and the front image processor 3012 is configured to:
- the pre-processing data is transmitted to the application processing chip.
- the pre-processing includes de-noising processing and/or de-ghosting processing.
- the optical image stabilization data includes a check digit; the central processing unit 3011 is configured to:
- the motion estimation data corresponding to the original image data is calculated according to the target optical image stabilization data.
- the multimedia processing chip provided in the embodiment of the present application belongs to the same idea as the image data processing method in the above embodiment, and any method provided in the image data processing method embodiment can be implemented through the multimedia processing chip, and its For the specific implementation process, refer to the embodiment of the image data processing method for details, which will not be repeated here.
- the multimedia processing chip proposed in the embodiment of the present application receives the original image data from the image sensor through the central processing unit 3011, and records the life cycle of the original image data.
- the optical anti-shake data sequence and the first system time stamp corresponding to the optical anti-shake data sequence then, according to the life cycle and the first system time stamp, determine the target optical anti-shake corresponding to the original image data from the optical anti-shake data sequence Shake data, realize the time synchronization of original image data and optical anti-shake data, so that the multimedia processing chip that directly receives the original image data can quickly process the original image data and optical anti-shake data received at the same time.
- the synchronization of the two data can be realized, and the target optical image stabilization data and original image data obtained by matching processing are sent to the application processing chip, so that the application processing chip can directly obtain the target optical image stabilization data after synchronization processing.
- the anti-shake data and original image data can be processed directly according to the target optical anti-shake data without data synchronization processing, which not only improves the image data processing efficiency, but also avoids data delay, thereby improving image processing Effect.
- FIG. 5 is a schematic diagram of a first structure of an electronic device provided in an embodiment of the present application.
- the electronic device 300 includes a multimedia processing chip 301, an application processing chip 302, an image sensor 303, and an optical image stabilization component 304 proposed in any of the above embodiments, wherein the application processing chip 302 includes a sensor control module 3021;
- the image sensor 303 is configured to: collect original image data, and transmit the original image data to the multimedia processing chip 301;
- the optical anti-shake component 304 is configured to: during the shooting process of the raw image data, generate an optical anti-shake data sequence according to the motion data sequence of the electronic device, and transmit the optical anti-shake data sequence to the sensor control module 3021 ;as well as
- the sensor control module 3021 is configured to: provide the optical image stabilization data sequence to the multimedia processing chip 301 .
- the multimedia processing chip 301 and the application processing chip 302 are connected through an interconnection bus, such as a PCIE (peripheral component interconnect express) bus, and the PCIE bus has the characteristics of point-to-point dual-channel high-bandwidth transmission.
- the multimedia processing chip 301 can also be connected to the application processing chip 302 through a MIPI (Mobile Industry Processor Interface, mobile industry processor interface) line.
- the multimedia processing chip 301 can also be connected according to the SPI (Serial Peripheral Interface, Serial Peripheral Interface) bus.
- the communication principle of SPI usually has a master device and a plurality of slave devices, that is, the master device can be the application processing chip 302, and the slave device can be It is a multimedia processing chip 301 .
- the message between the application processing chip 302 and the multimedia processing chip 301 can be triggered in the form of a general-purpose input/output (GPIO, General-purpose input/output) interrupt.
- GPIO General-purpose input/output
- the multimedia processing chip 301 in the embodiment of the present application may preprocess the image first, and transmit the preprocessing result to the ISP of the platform side (that is, the application processing chip 302 ).
- the ISP at the platform side takes the processing result of the multimedia processing chip 301 as input data and performs further processing. Thereby, image quality can be improved.
- the multimedia processing chip 301 of the embodiment of the present application can process the acquired original image data, such as RAW image, so that other image processors can further process the image data to improve the image quality.
- the multimedia processing chip 301 can process still image data, such as the still image data acquired by the user in the camera mode.
- the multimedia processing chip 301 can also process dynamic image data, such as the dynamic image data acquired by the user in preview mode or video recording mode.
- both the static image data and the dynamic image data can be processed by a processor on the platform side (System-on-a-Chip, SoC chip).
- the platform side can also be understood as an application processing chip, and the processor on the platform side can be understood as an image signal processor (Image Signal Processing, ISP) and an application processor (AP, Application Processor).
- ISP Image Signal Processing
- AP Application Processor
- the platform side often has limited processing capabilities for image data. As users have higher and higher requirements for image quality, only processing image data through the platform often cannot meet user needs.
- the image processor of the multimedia processing chip 301 in the embodiment of the present application performs pre-processing on the image first, and transmits the result of the pre-processing to the platform side.
- the platform side takes the pre-processing results as input data and performs post-processing. Thereby, image quality can be improved.
- the multimedia processing chip 301 receives the original image data sent by the image sensor 303, and records the life cycle of the original image data. At the same time, the multimedia processing chip 301 also receives the sensor control module of the application processing chip 302 The optical anti-shake data sequence sent in 3021 and the first system time stamp corresponding to the optical anti-shake data sequence; then, according to the life cycle and the first system time stamp, determine the The target optical image stabilization data, and send the target optical image stabilization data and the original image number to the application processing chip 302 .
- FIG. 6 is a second structural schematic diagram of an electronic device provided by an embodiment of the present application.
- the electronic device 300 includes a multimedia processing chip 301 and an application processing chip 302 , an image sensor 303 , an optical image stabilization component 304 , a power supply 305 , an input unit 306 and a display unit 307 .
- the multimedia processing chip 301 includes a central processing unit 3011 , a front image processor 3012 and a first memory 3013 ;
- the application processing chip 302 includes a sensor control module 3021 , an application processor 3022 and a second memory 3023 .
- FIG. 6 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
- the multimedia processing chip 301 includes a central processing unit 3011, a first memory 3013 and a front image processor 3012, specifically as follows:
- the central processing unit 3011 is configured to: receive the original image data from the image sensor, and record the life cycle of the original image data; receive the optical image stabilization data sequence and the first system time corresponding to the optical image stabilization data sequence from the application processing chip stamp; according to the life cycle and the first system time stamp, determine the target optical anti-shake data corresponding to the original image data from the optical anti-shake data sequence; and provide the application processing chip with the The target optical image stabilization data and the original image data 302.
- the image sensor 303 of the electronic device performs exposure and outputs original image data.
- the multimedia processing chip 301 receives the original image data output by the image sensor 303 through the MIPI interface, and stores the original image data in the first memory 3013 . Wherein, the multimedia processing chip 301 records the time interval between the exposure start time point of the original image data and the exposure start time point of the next frame of image data of the original image data as the life cycle of the original image data.
- the pre-image processor 3012 is configured to: perform pre-processing on the original image data to obtain pre-processed image data.
- the multimedia processing chip can acquire the stored original image data from the first memory, perform preprocessing on the original image data, and obtain preprocessed image data.
- the central processing unit 3011 is configured to: send the pre-processed image data and the target optical image stabilization data to an application processing chip.
- the sensors of the electronic device 300 may include gyroscopes, light sensors, motion sensors and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight.
- the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Gaming, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that can be configured by electronic equipment, I will not repeat them here.
- attitude of mobile phones such as horizontal and vertical screen switching, related Gaming, magnetometer attitude calibration
- vibration recognition related functions such as pedometer, tap
- other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that can be configured by electronic equipment, I will not repeat them here.
- the display unit 307 is configured to: display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof.
- the display unit 307 may include a display panel.
- the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like.
- LCD liquid crystal display
- OLED Organic Light-Emitting Diode
- the second memory 3023 is configured to store software programs and modules, and the application processor 3022 executes various functional applications and image data processing by running the software programs and modules stored in the second memory 3023 .
- the second memory 3023 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Stores data (such as audio data, phonebook, etc.) created in accordance with the use of electronic devices, etc.
- the second memory 3023 may include a high-speed random access first memory, and may also include a non-volatile first memory, such as at least one magnetic disk first storage device, flash memory device, or other volatile solid-state first storage device.
- the second memory 3023 may further include a first memory controller to provide the multimedia processing chip 301 , the application processor 3022 and the input unit 306 to access the first memory 3013 .
- the first memory 3013 is configured to store software programs and modules, and the central processing unit 3011 executes various functional applications and image data processing by running the software programs and modules stored in the first memory 3013 .
- the first memory 3013 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Stores data (such as audio data, phonebook, etc.) created in accordance with the use of electronic devices, etc.
- the first memory 3013 may include a high-speed random access first memory, and may also include a non-volatile first memory, such as at least one magnetic disk first storage device, flash memory device, or other volatile solid-state first storage device.
- the first memory 3013 may further include a first memory controller to provide access to the first memory 307 by the central processing unit 3011 and the input unit 306.
- the application processor 3022 is the control center of the electronic equipment. It uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes software programs and/or modules stored in the second memory 3023, and calls stored in the second memory.
- the data in 3023 performs various functions of electronic equipment and processes data, so as to monitor the mobile phone as a whole.
- the electronic device also includes a power supply 305 (such as a battery) that supplies power to each component.
- the power supply can be logically connected to the application processing chip 302 and the multimedia processing chip 301 through the power management system, so as to realize the management of charging, discharging, and functions such as power management.
- the power supply 305 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
- the input unit 306 is configured to receive input numeric or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 306 may include a touch-sensitive surface as well as other input devices.
- the input unit transmits the input data to the application processor 3022, and can receive and execute commands sent by the application processor 3022.
- touch-sensitive surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
- input unit 306 may also include other input devices.
- other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
- the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
- the multi-central processing unit 3011 in the electronic device loads the executable file corresponding to the process of one or more application programs into the first memory 3013 according to the following instructions, and the application processor 3022 to run the application program stored in the first memory 3013, so as to realize various functions:
- An embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium.
- a computer program is stored in the computer-readable storage medium.
- the computer program executes the method described in any of the above-mentioned embodiments. Image data processing method.
- the computer readable storage medium may include but not limited to: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
Landscapes
- Studio Devices (AREA)
Abstract
Description
Claims (20)
- 一种图像数据处理方法,其中,包括:从图像传感器接收原始图像数据,并记录所述原始图像数据的生命周期;从应用处理芯片接收光学防抖数据序列以及所述光学防抖数据序列对应的第一系统时间戳;根据所述生命周期和所述第一系统时间戳,从所述光学防抖数据序列确定出与所述原始图像数据对应的目标光学防抖数据;向所述应用处理芯片提供所述目标光学防抖数据和所述原始图像数据。
- 如权利要求1所述的方法,其中,记录所述原始图像数据的生命周期包括:当从所述图像传感器接收到所述原始图像数据时,将所述原始图像数据的开始曝光时间点记录为第一曝光起始时间点;当从所述图像传感器接收到所述原始图像数据的下一帧图像数据时,将所述下一帧图像数据的开始曝光时间点记录为第二曝光起始时间点;将所述第一曝光起始时间点与所述第二曝光起始时间点之间的时间区间记录为所述原始图像数据的生命周期。
- 如权利要求2所述的方法,其中,还包括:在接收所述光学防抖数据序列以及所述光学防抖数据序列对应的第一系统时间戳之前,执行:从所述应用处理芯片接收第二系统时间戳;获取第三系统时间戳;记录所述第二系统时间戳与所述第三系统时间戳的同步关系。
- 如权利要求3所述的方法,其中,根据所述生命周期和所述第一系统时间戳从所述光学防抖数据序列确定出与所述原始图像数据对应的目标光学防抖数据进一步包括:根据所述同步关系调整所述生命周期对应的所述第一曝光起始时间点与所述第二曝光起始时间点;根据所述第一系统时间戳,从所述光学防抖数据序列确定出调整后的所述第一曝光起始时间点至所述第二曝光起始时间点之间的光学防抖数据帧,作为所述目标光学防抖数据。
- 如权利要求1所述的方法,其中,向所述应用处理芯片提供所述目标光学防抖数据和所述原始图像数据包括:根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据;将所述目标光学防抖数据、所述运动估计数据以及所述原始图像数据传输至所述应用处理芯片。
- 如权利要求1所述的方法,其中,向所述应用处理芯片提供所述目标光学防抖数据和所述原始图像数据包括:根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据;根据所述运动估计数据对所述原始图像数据进行前处理,得到前处理图像数据;将所述前处理数据传输至所述应用处理芯片。
- 如权利要求6所述的方法,其中,所述前处理包括去噪处理和/或去鬼影处理。
- 如权利要求5或6所述的方法,其中,所述光学防抖数据包括校验位,所述方法还包括:在根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据之前,执行:根据所述校验位对所述目标光学防抖数据进行校验;若校验成功,则根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据。
- 一种多媒体处理芯片,包括中央处理器,其中,所述中央处理器配置成:从图像传感器获取原始图像数据,并记录所述原始图像数据的生命周期;从应用处理芯片接收光学防抖数据序列以及所述光学防抖数据序列对应的第一系统时间戳;根据所述生命周期和所述第一系统时间戳,从所述光学防抖数据序列确定出与所述原始图像数据对应的目标光学防抖数据;以及向所述应用处理芯片提供所述目标光学防抖数据和所述原始图像数据。
- 如权利要求9所述的多媒体处理芯片,其中,所述中央处理器还配置成:当从所述图像传感器接收到所述原始图像数据时,将所述原始图像数据的开始曝光时间点记录为第一曝光起始时间点;当从所述图像传感器接收到所述原始图像数据的下一帧图像数据时,将所述下一帧图像数据的开始曝光时间点记录为第二曝光起始时间点;将所述第一曝光起始时间点与所述第二曝光起始时间点之间的时间区间记录为所述原始图像数据的生命周期。
- 如权利要求10所述的多媒体处理芯片,其中,所述中央处理器还配置成:从所述应用处理芯片接收第二系统时间戳;获取第三系统时间戳;记录所述第二系统时间戳与所述第三系统时间戳的同步关系。
- 如权利要求11所述的多媒体处理芯片,其中,所述中央处理器还配置成:根据所述同步关系调整所述生命周期对应的所述第一曝光起始时间点与所述第二曝光起始时间点;根据所述第一系统时间戳,从所述光学防抖数据序列确定出调整后的所述第一曝光起始时间点至所述第二曝光起始时间点之间的光学防抖数据帧,作为所述目标光学防抖数据。
- 如权利要求9所述的多媒体处理芯片,其中,所述中央处理器还配置成:根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据。
- 如权利要求13所述的多媒体处理芯片,其中,还包括前图像处理器,其配置成:根据所述运动估计数据对所述原始图像数据进行前处理,得到前处理图像数据;以及将所述运动估计数据、所述目标光学防抖数据和/或所述前处理数据传输至所述应用处理芯片。
- 如权利要求9所述的多媒体处理芯片,其中,所述中央处理器还配置成:根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据;将所述目标光学防抖数据、所述运动估计数据以及所述原始图像数据传输至所述应用处理芯片。
- 如权利要求15所述的多媒体处理芯片,其中,所述光学防抖数据包括校验位,所述中央处理器还配置成:根据所述校验位对所述目标光学防抖数据进行校验;若校验成功,则根据所述目标光学防抖数据计算所述原始图像数据对应的运动估计数据。
- 一种计算机可读存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至8任一项所述的图像数据处理方法。
- 一种电子设备,包括如权利要求9至16任一项所述的多媒体处理芯片、 图像传感器、光学防抖组件和应用处理芯片,其中,所述应用处理芯片包括传感器控制模块;其中,所述图像传感器配置成:采集原始图像数据,并将所述原始图像数据传输至所述多媒体处理芯片;所述光学防抖组件配置成:在所述原始图像数据的拍摄过程中,根据所述电子设备的运动数据序列生成光学防抖数据序列,并将所述光学防抖数据序列传输至所述传感器控制模块;以及所述传感器控制模块配置成:向所述多媒体处理芯片提供所述光学防抖数据序列。
- 如权利要求18所述的电子设备,其中,所述传感器控制模块配置成:按分时方式将所述光学防抖数据序列发送至所述应用处理芯片和所述多媒体处理芯片。
- 如权利要求18所述的电子设备,其中,所述应用处理芯片配置成:当从所述多媒体处理芯片接收到所述原始图像数据和所述运动估计数据时,根据所述运动估计数据对所述原始图像数据进行图像后处理。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110680585.6A CN115499575B (zh) | 2021-06-18 | 2021-06-18 | 图像数据处理方法、多媒体处理芯片以及电子设备 |
CN202110680585.6 | 2021-06-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022262449A1 true WO2022262449A1 (zh) | 2022-12-22 |
Family
ID=84464215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/090629 WO2022262449A1 (zh) | 2021-06-18 | 2022-04-29 | 图像数据处理方法、多媒体处理芯片以及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115499575B (zh) |
WO (1) | WO2022262449A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118474217A (zh) * | 2023-11-23 | 2024-08-09 | 荣耀终端有限公司 | 数据传输方法和相关装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769146A (zh) * | 2018-07-25 | 2020-02-07 | 北京小米移动软件有限公司 | 拍摄方法及电子设备 |
CN110858873A (zh) * | 2018-08-23 | 2020-03-03 | 北京小米移动软件有限公司 | 电子设备和拍摄方法 |
CN110971830A (zh) * | 2019-12-09 | 2020-04-07 | Oppo广东移动通信有限公司 | 视频拍摄的防抖方法及相关装置 |
CN114071007A (zh) * | 2020-08-07 | 2022-02-18 | Oppo广东移动通信有限公司 | 图像处理方法、多媒体处理芯片以及电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160341579A1 (en) * | 2014-10-09 | 2016-11-24 | Invensense, Inc. | Gyroscope and image sensor synchronization |
JP2017120355A (ja) * | 2015-12-28 | 2017-07-06 | 米田 正人 | Gyroデバイスを用いた手振れ抑制システムおよびGyroデバイス |
CN107395280A (zh) * | 2017-08-23 | 2017-11-24 | 华南理工大学 | 适用于可见光通信的智能手机图像接收方法及其系统 |
CN111246088A (zh) * | 2020-01-13 | 2020-06-05 | Oppo广东移动通信有限公司 | 防抖方法、电子设备和计算机可读存储介质 |
-
2021
- 2021-06-18 CN CN202110680585.6A patent/CN115499575B/zh active Active
-
2022
- 2022-04-29 WO PCT/CN2022/090629 patent/WO2022262449A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769146A (zh) * | 2018-07-25 | 2020-02-07 | 北京小米移动软件有限公司 | 拍摄方法及电子设备 |
CN110858873A (zh) * | 2018-08-23 | 2020-03-03 | 北京小米移动软件有限公司 | 电子设备和拍摄方法 |
CN110971830A (zh) * | 2019-12-09 | 2020-04-07 | Oppo广东移动通信有限公司 | 视频拍摄的防抖方法及相关装置 |
CN114071007A (zh) * | 2020-08-07 | 2022-02-18 | Oppo广东移动通信有限公司 | 图像处理方法、多媒体处理芯片以及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118474217A (zh) * | 2023-11-23 | 2024-08-09 | 荣耀终端有限公司 | 数据传输方法和相关装置 |
Also Published As
Publication number | Publication date |
---|---|
CN115499575A (zh) | 2022-12-20 |
CN115499575B (zh) | 2024-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111586286A (zh) | 利用多个相机改变图像的倍率的电子装置及方法 | |
WO2020029974A1 (zh) | 数据传输方法、芯片、控制器及显示装置 | |
US10509530B2 (en) | Method and apparatus for processing touch input | |
US10269377B2 (en) | Detecting pause in audible input to device | |
US20230343305A1 (en) | Electronic device and method for operating high speed screen of electronic device | |
US10853024B2 (en) | Method for providing information mapped between a plurality of inputs and electronic device for supporting the same | |
US11526320B2 (en) | Multi-screen interface control method and terminal device | |
CN116826892A (zh) | 充电方法、充电装置、电子设备及可读存储介质 | |
US20210208696A1 (en) | Operating pen-shaped input devices in multiple modes | |
WO2019152258A1 (en) | Standardized device driver having a common interface | |
WO2022262449A1 (zh) | 图像数据处理方法、多媒体处理芯片以及电子设备 | |
CN112513803B (zh) | 在多个输出屏幕的环境中控制虚拟输入界面的显示的电子设备及其操作方法 | |
WO2023005424A1 (zh) | 电子设备、信息同步方法和计算机可读存储介质 | |
WO2020015529A1 (zh) | 终端设备的控制方法及终端设备 | |
JP7413546B2 (ja) | 撮影方法及び電子機器 | |
CN114740996A (zh) | 信号获取方法和电子设备 | |
CN108650456A (zh) | 对焦方法、装置、存储介质及电子设备 | |
CN114071007A (zh) | 图像处理方法、多媒体处理芯片以及电子设备 | |
US20150205350A1 (en) | Skin mounted input device | |
CN113747043B (zh) | 图像处理器启动方法、电子设备和存储介质 | |
KR102725126B1 (ko) | 이미지 데이터를 처리하는 전자 장치 및 이미지 데이터 처리 방법 | |
CN116737001B (zh) | 一种压感触控的方法、装置及电子设备 | |
CN113821153B (zh) | 手势导航方法、电子设备及可读存储介质 | |
CN113126791B (zh) | 一种时间戳记录设备、系统、方法、介质及装置 | |
CN115808991B (zh) | 显示屏的触控操作方法及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22823932 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22823932 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22823932 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.06.2024) |