Virtualized Image Processing System, Method, and Electronic Device
By simulating the functions of cameras and hardware components on the software model, the problems of high costs and low development efficiency caused by relying on real hardware platforms in the prior art are solved, and the effect of reducing hardware costs and improving development efficiency is achieved.
Patent Information
- Application Number
- CN202211666828.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Existing camera image processing debugging and embedded software development rely on real hardware platforms, resulting in high costs and low development efficiency, and it is difficult for the software development team to ensure that every developer has a hardware platform.
The software model realizes the functions of camera image processing, including virtual motherboard, camera model, transmission interface controller model, image signal processing model and basic function model, simulates the functions of camera and hardware components, and supports various operating systems and complete camera data flow application development.
It realizes the function of simulating cameras and hardware components on the software model, reduces hardware costs, improves development efficiency, and supports multi-operation systems and complete camera data flow application development.
Smart Images

Figure CN116033283B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of system simulation, and particularly relates to a virtualized image processing system, method and electronic device. Background Art
[0002] The existing camera image processing debugging and embedded software development are based on a real hardware platform, which requires a development board. At the same time, a real camera is connected to the development board through a MIPI CSI-2 (Camera Serial Interface) interface. An operating system such as Linux runs on the development board. The camera driver and application in the system are responsible for initializing the camera, configuring the working mode of the camera, configuring the working mode of the development board to obtain the images captured by the camera and provide them to the ISP module, and adjusting the ISP module driver and application configuration according to requirements to process the camera images to meet user needs.
[0003] The existing technology has the following disadvantages:
[0004] 1) It depends on a real hardware development board and a camera;
[0005] 2) The real hardware development board and the camera are costly and in small quantities;
[0006] 3) When the number of software development teams is large and the tasks are heavy, it is difficult to ensure that each developer has a complete set of hardware platforms. Taking turns using the hardware platform will lead to low development efficiency, extended development cycles, and affect the project progress. Summary of the Invention
[0007] This application provides a virtualized image processing system, method and electronic device, which realize the function of camera image processing through a software model.
[0008] In a first aspect, an embodiment of this application provides a virtualized image processing system, including: a virtual mainboard, a camera model, a transmission interface controller model, an image signal processing model, and a basic function model; the basic function model includes at least a CPU model, an I2C control model, and a double data rate synchronous dynamic random access memory model; the virtual mainboard is constructed through a virtualization platform; the camera model is communicatively connected to the virtual mainboard and reads pictures from a folder at a preset address to simulate the shooting function of a real camera; the transmission interface controller model is communicatively connected to the virtual mainboard and the camera model respectively, receives the pictures from the camera model, and forwards the received pictures to the image signal processing model; the image signal processing model is communicatively connected to the virtual mainboard and the transmission interface controller model respectively, processes the pictures received from the transmission interface controller model, and sends the processed pictures to the double data rate synchronous dynamic random access memory model for storage.
[0009] In one implementation of the first aspect, the camera model includes: a picture reading module that reads pictures from a folder at a preset address to simulate the shooting function of a real camera; a first register sub-module that simulates the configuration and reading / writing of camera registers; and an I2C interface sub-module that simulates communication with the I2C control model to control the register sub-model through the I2C control model.
[0010] In one implementation of the first aspect, the camera model further includes: a test color bar generator module that simulates the generation of color bar test images with different resolutions.
[0011] In one implementation of the first aspect, the transmission interface controller model includes: a second register module that simulates the configuration and reading / writing of serial interface registers; and a picture forwarding module that receives the picture from the camera model and forwards the received picture to the image signal processing model.
[0012] In one implementation of the first aspect, the image signal processing model at least includes one of the following modules: a picture format conversion module, an automatic white balance adjustment module, an automatic focus module, and a color correction matrix module.
[0013] In one implementation of the first aspect, the virtual mainboard is an embedded SoC virtual mainboard.
[0014] In one implementation of the first aspect, the operating systems supported by the virtual mainboard include Windows, Linux, FreeRTOS, and VxWorks.
[0015] In one implementation of the first aspect, the virtual mainboard includes a driver loading module that loads the drivers of the camera model, the transmission interface controller model, the image signal processing model, and the basic function model.
[0016] In a second aspect, an embodiment of the present application provides a virtualized image processing method applied to the virtualized image processing system as described above. The method includes: the virtual mainboard starts the operating system and loads the drivers of the camera model, the transmission interface controller model, the image signal processing model, and the basic function model; the camera model reads pictures from a folder at a preset address to simulate the shooting function of a real camera; the transmission interface controller model receives the picture from the camera model and forwards the received picture to the image signal processing model; the image signal processing model processes the picture received from the transmission interface controller model and sends the processed picture to the double data rate synchronous dynamic random access memory model for storage.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, and the electronic device includes the virtualized image processing system as described above.
[0018] The virtualized image processing system provided by the embodiment of the present application can simulate the functions of various hardware components such as a camera, a Camera Serial Interface (MIPI CSI), and Image Signal Processing (ISP) through a software model, implement the function of camera image processing through the software model, can start various different operating systems on a virtual motherboard, and support the development of a complete camera data stream application. Description of the Drawings
[0019] Figure 1 It shows a schematic diagram of the overall principle structure of the virtualized image processing system described in the embodiment of the present application;
[0020] Figure 2 It shows a schematic diagram of the specific principle structure of the virtualized image processing system described in the embodiment of the present application;
[0021] Figure 3 It shows a schematic diagram of the principle structure of the camera model in the virtualized image processing system described in the embodiment of the present application;
[0022] Figure 4 It shows a schematic diagram of the principle structure of a preferred camera model in the virtualized image processing system described in the embodiment of the present application;
[0023] Figure 5 It shows a schematic diagram of the principle structure of the transmission interface control model in the virtualized image processing system described in the embodiment of the present application;
[0024] Figure 6 It shows a schematic diagram of the principle structure of the image signal processing model in the virtualized image processing system described in the embodiment of the present application;
[0025] Figure 7 It shows a schematic diagram of the flow of the virtualized image processing method described in the embodiment of the present application.
[0026] Figure 8 It shows a schematic diagram of the principle structure of the electronic device described in the embodiment of the present application.
[0027] Description of Element Numbers
[0028] 100 Virtualized image processing system
[0029] 110 Virtual motherboard
[0030] 120 Camera model
[0031] 121 Picture reading module
[0032] 122 First register sub-module
[0033] 123 I2C interface sub-module
[0034] 124 Test color bar generator module
[0035] 130 Transmission interface controller model
[0036] 131 Second register module
[0037] 132 Picture forwarding module
[0038] 140 Image signal processing model
[0039] 141 Picture format conversion module
[0040] 142 Automatic white balance adjustment module
[0041] 143 Auto focus module
[0042] 144 Color correction matrix module
[0043] 150 Basic function model
[0044] 151 CPU model
[0045] 152 I2C control model
[0046] 153 DDR model
[0047] 160 Folder for storing pictures
[0048] 101 Electronic device
[0049] 1001 Processor
[0050] 1002 Memory
[0051] Steps S100 to S400 Specific implementation manner
[0052] The following uses specific specific examples to illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0053] It should be noted that the illustrations provided in the following embodiments only schematically illustrate the basic concept of the present application. Therefore, only the components related to the present application are shown in the drawings, rather than being drawn according to the number, shape, and size of the components in actual implementation. The types, quantities, and proportions of the components in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.
[0054] The following embodiments of the present application provide a virtualized image processing method, system, storage medium, and electronic device, which implement the function of camera image processing through a software model.
[0055] Figure 1 It is shown as the overall principle structure diagram of the virtualized image processing system 100 in this embodiment; as Figure 1 shown, this embodiment provides a virtualized image processing system 100, and the virtualized image processing system 100 includes: a virtual main board 110, a camera model 120, a transmission interface controller model 130, an image signal processing model 140, and a basic function model 150.
[0056] Figure 2 It is shown as the specific principle structure diagram of the virtualized image processing system 100 described in this embodiment; as Figure 2 shown, the basic function model 150 at least includes a CPU (Central Processing Unit) model 151, an I2C (Inter-Integrated Circuit) control model 152, and a DDR (Double DataRate) model.
[0057] Among them, the virtual main board 110 is constructed through a virtualization platform.
[0058] In this embodiment, the virtualization platform is but not limited to (Quick EMUlator, virtual operating system simulator), SNPS VDK (Synopsys VoIP Development Kit, software development kit), Intel Simics (Intel full-system virtual machine), etc. Among them, in this embodiment, the virtual main board 110 is constructed through the QEMU virtualization platform.
[0059] QEMU is a general-purpose, open-source computer emulator and virtual platform that supports full-system emulation. It can support architectures such as x86 (the computer language instruction set executed by the microprocessor), RM (a LINUX command to delete files or directories in a directory), MIPS (Million Instructions Per Second, the average execution speed of single-word fixed-point instructions), PowerPC (Performance Optimization With Enhanced RISC–Performance Computing, a central processing unit with a reduced instruction set (RISC) architecture), and RISC-V (an open-source instruction set architecture based on the reduced instruction set principle), and also supports operating systems such as Windows (Microsoft Windows operating system), Linux (operating system kernel), FreeRTOS (embedded real-time operating system), and VxWorks (real-time operating system). The upper-layer software runs without any modification on the virtual platform.
[0060] Among them, the QEMU virtualization platform is built-in with multiple device model modules for constructing a virtual mainboard. For example, device model modules such as CPU, DDR, interrupt controller, serial port, I2C controller, ISP (Image Signal Processing), MIPICSI (MIPI CSI-2, Camera Serial Interface) controller, and camera. When constructing the virtual mainboard, the required device models such as CPU, DDR, interrupt controller, serial port, I2C controller, ISP, MIPI CSI controller, and camera are connected through corresponding interfaces, and the address space and interrupt numbers of each device model module are allocated, and finally a virtual mainboard 110 similar to a hardware embedded mainboard is formed.
[0061] Specifically, in this embodiment, the virtual mainboard 110 is an embedded SoC virtual mainboard 110. That is, in this embodiment, QEMU is used to build a complete embedded SoC virtual mainboard 110, including necessary components such as a CPU model, an I2C control mode, and a DDR model 153.
[0062] Among them, the operating systems supported by the virtual mainboard 110 include Windows, Linux, FreeRTOS, and VxWorks.
[0063] In this embodiment, the virtual mainboard 110 includes a driver loading module that loads the drivers of the camera model 120, the transmission interface controller model 130, the image signal processing model 140, and the basic function model 150.
[0064] Therefore, the virtualized image processing system 100 in this embodiment can start a complete Linux or other operating systems such as ARM64 on a virtual platform, and can also load device drivers such as cameras, I2C controllers, MIPI CSI controllers, and ISPs on the virtual platform.
[0065] In this embodiment, components such as the camera model 120, the transmission interface controller model 130, and the image signal processing model 140 are developed and constructed using, but not limited to, the C language, and the camera model 120, the transmission interface controller model 130, the image signal processing model 140, and the virtual main board 110 are integrated.
[0066] In this embodiment, constructing components such as the camera model 120, the transmission interface controller model 130, and the image signal processing model 140 is to simulate the functions of the hardware using software, implement its input / output and register access control, and make its external software interface consistent with that of the real hardware.
[0067] In this embodiment, the camera model 120 is communicatively connected to the virtual main board 110 and reads pictures from a folder at a preset address to simulate the shooting function of a real camera.
[0068] Specifically, in this embodiment, as Figure 3 shown, the camera model 120 includes: a picture reading module 121, a first register sub-module 122, and an I2C interface sub-module 123.
[0069] Among them, the picture reading module 121 reads pictures from a folder at a preset address (the picture storage folder 160) to simulate the shooting function of a real camera; the first register sub-module 122 simulates the configuration and reading / writing of camera registers; the I2C interface sub-module 123 is used to simulate communication with the I2C control model 152 through the I2C interface to control the register sub-model through the I2C control model 152.
[0070] As Figure 4 shown, the camera model 120 further includes: a test color bar generator module 124, which simulates the generation of color bar test images with different resolutions.
[0071] Among them, the test color bar generator module 124 simulates the basic functions of a hardware camera and is used for simulating the debugging of the camera, mainly testing whether the data path is normal.
[0072] Therefore, the camera model 120 in this embodiment can implement the following functions of a hardware camera:
[0073] 1) Function configuration register
[0074] 2) An I2C interface to support the I2C controller to read and write the camera registers;
[0075] 3) A test color bar generator to generate color bar test images of different resolutions
[0076] 4) Read picture files from a specified folder to simulate the image capture function of real hardware.
[0077] In this embodiment, the transmission interface controller model 130 is communicatively connected to the virtual motherboard 110 and the camera model 120 respectively, receives the picture from the camera model 120, and forwards the received picture to the image signal processing model 140.
[0078] In this embodiment, the transmission interface controller model 130 is but not limited to a MIPI CSI controller (MIPI CSI-2, Camera Serial Interface) model. For example, it can also be a DVP (Digital Video Port), SPI Image Signal Processing, or interface controller model.
[0079] Specifically, in this embodiment, as Figure 5 shown, the transmission interface controller model 130 further includes: a second register module 131 and a picture forwarding module 132.
[0080] Among them, the second register module 131 simulates the serial interface register configuration and register reading and writing; the picture forwarding module 132 receives the picture from the camera model 120 and forwards the received picture to the image signal processing model 140.
[0081] In this embodiment, the MIPI CSI controller model can implement the following hardware camera serial interface functions:
[0082] 1) Function configuration register;
[0083] 2) Receive the picture data sent by the camera model 120 and forward it to the subsequent image signal processing model 140.
[0084] In this embodiment, the image signal processing model 140 is communicatively connected to the virtual motherboard 110 and the transmission interface controller model 130 respectively, processes the picture received from the transmission interface controller model 130, and sends the processed picture to the double data rate synchronous dynamic random access memory model for storage.
[0085] Specifically, in this embodiment, as Figure 6As shown, the image signal processing model 140 at least includes one of the following modules: a picture format conversion module 141, an automatic white balance adjustment module 142, an automatic focus module 143, and a color correction matrix module 144.
[0086] Therefore, the image signal processing model 140 of this embodiment can implement the following hardware ISP functions:
[0087] 1) Picture format conversion;
[0088] 2) Automatic white balance adjustment;
[0089] 3) Automatic focus;
[0090] 4) Color correction matrix.
[0091] The working process of the virtualized image processing system 100 of this embodiment is as follows:
[0092] Start the operating system on the virtual motherboard 110, load the drivers of each component, initialize each virtual model, configure the functions, and check whether the camera model 120 can obtain the picture data from the folder 160 storing the pictures. After data stream transmission and ISP processing, finally put the processed picture data into the DDR, and check whether the picture data meets the expectations.
[0093] Therefore, the virtualized image processing system 100 of this embodiment can use a complete software model solution to implement the complete functions of each component such as the camera, MIPI CSI, and ISP. A complete picture processing application of camera -> camera serial interface -> image signal processing can be developed inside the operating system. Various different operating systems can be started on the software virtual development board, and the development of a complete camera data stream application is supported. The drivers, operating system, and applications of each component can run directly on the real hardware without any modification.
[0094] As Figure 7 shown, this embodiment also provides a virtualized image processing method, which is applied to the virtualized image processing system 100 as described above. The method includes:
[0095] Step S100, the virtual motherboard 110 starts the operating system and loads the drivers of the camera model 120, the transmission interface controller model 130, the image signal processing model 140, and the basic function model 150;
[0096] Step S200, make the camera model 120 read pictures from a folder at a preset address to simulate the shooting function of a real camera;
[0097] Step S300: Let the transmission interface controller model 130 receive the picture from the camera model 120 and forward the received picture to the image signal processing model 140;
[0098] Step S400: Let the image signal processing model 140 process the picture received from the transmission interface controller model 130 and send the processed picture to the double data rate synchronous dynamic random access memory model for storage.
[0099] In this application, the virtualized image processing system 100 can implement the virtualized image processing method described in this embodiment. Therefore, for the specific implementation details of the virtualized image processing method, refer to the detailed description of the virtualized image processing system 100 and will not be repeated here. However, the implementation system of the virtualized image processing method described in the present invention includes, but is not limited to, the virtualized image processing system 100 listed in this embodiment. Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the system / device can be divided into different functional units or modules to complete all or part of the functions described above.
[0100] In several embodiments provided in this application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules / units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of devices or modules or units can be in electrical, mechanical or other forms.
[0101] The modules / units described as separate components may or may not be physically separated. The components displayed as modules / units may or may not be physical modules, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of this application. For example, in each embodiment of this application, each functional module / unit can be integrated in a processing module, or each module / unit can exist physically alone, or two or more modules / units can be integrated in one module / unit.
[0102] Those of ordinary skill in the art should further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0103] As Figure 8 shown, an embodiment of the present application provides an electronic device 101, which may be, for example, a computer including one or more processors 1001, one or more memories 1002, a peripheral interface, an RF circuit, an audio circuit, a speaker, a microphone, an input / output (I / O) subsystem, a display screen, other output or control devices, and external ports, etc.; the computer includes, but is not limited to, personal computers such as desktop computers, laptop computers, tablet computers, smart phones, smart TVs, personal digital assistants (Personal Digital Assistant, abbreviated as PDA), etc. In some other embodiments, the electronic device may also be a server, and the server may be arranged on one or more physical servers according to various factors such as functions and loads, or may be composed of distributed or centralized server clusters, which are not limited in this embodiment.
[0104] The electronic device 101 includes: a processor 1001 and a memory 1002; the memory 1002 is used to store a computer program; the processor 1001 is used to execute the computer program stored in the memory 1002 so that the electronic device 101 executes the steps of the virtualized image processing method in Embodiment 1. Since the specific implementation process of the steps of the virtualized image processing method has been described in detail in the embodiment, it will not be repeated here.
[0105] The processor 1001 is a (Central Processing Unit, central processor). The memory 1002 is connected to the processor 1001 through a system bus and completes mutual communication. The memory 1002 is used to store a computer program, and the processor 1001 is used to run the computer program so that the processor 1001 executes the battery rapid diagnosis method based on edge computing described above. The memory 1002 may include a random access memory (Random Access Memory, abbreviated as RAM), and may also include a non-volatile memory, such as at least one disk memory.
[0106] The embodiments of the present application also provide a computer-readable storage medium. Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing a processor through a program. The program can be stored in a computer-readable storage medium. The storage medium is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrating one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid state disk (SSD)), etc.
[0107] The embodiments of the present application can also provide a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the processes or functions described in the embodiments of the present application are fully or partially generated. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, or data center to another website, computer, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.).
[0108] When the computer program product is executed by a computer, the computer executes the method described in the foregoing method embodiments. The computer program product can be a software installation package. In the case where the foregoing method is required, the computer program product can be downloaded and executed on the computer.
[0109] The descriptions of the processes or structures corresponding to the above respective drawings have their own focuses. For parts not detailed in a certain process or structure, reference can be made to the relevant descriptions of other processes or structures.
[0110] The virtualized image processing system provided by the embodiments of the present application can simulate the functions of various hardware components such as a camera, a camera serial interface (MIPI CSI), and image signal processing (ISP) through a software model, implement the function of camera image processing through the software model, can start various different operating systems on a virtual motherboard, and support the development of complete camera data stream applications.
[0111] The above embodiments are only illustrative of the principles and effects of the present application and are not intended to limit the present application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed by the present application should still be covered by the claims of the present application.
Claims
1. A virtualized image processing system, characterized in that, it includes: a virtual mainboard, a camera model, a transmission interface controller model, an image signal processing model, and a basic function model; the virtual mainboard is constructed through a virtualization platform; constructing the camera model, the transmission interface controller model, the image signal processing model, and the basic function model is to simulate the functions of the hardware using software, implement its input / output and register access control, and make its external software interface consistent with that of the real hardware; the basic function model at least includes a CPU model, an I2C control model, and a double data rate synchronous dynamic random access memory model; the camera model is communicatively connected to the virtual mainboard and reads pictures from a folder at a preset address to simulate the shooting function of a real camera; the camera model includes: a picture reading module that reads pictures from a folder at a preset address to simulate the shooting function of a real camera; a first register sub-module that simulates camera register configuration and register reading and writing; an I2C interface sub-module that simulates communication with the I2C control model to control the first register sub-module through the I2C control model; the transmission interface controller model is respectively communicatively connected to the virtual mainboard and the camera model, receives the pictures from the camera model, and forwards the received pictures to the image signal processing model; the image signal processing model is respectively communicatively connected to the virtual mainboard and the transmission interface controller model, and processes the pictures received from the transmission interface controller model.
2. The virtualized image processing system according to claim 1, characterized in that, the camera model further includes: a test color bar generator module that simulates the generation of color bar test images with different resolutions.
3. The virtualized image processing system according to claim 1, characterized in that, the transmission interface controller model includes: a second register module that simulates serial interface register configuration and register reading and writing; a picture forwarding module that receives the pictures from the camera model and forwards the received pictures to the image signal processing model.
4. The virtualized image processing system according to claim 1, characterized in that, the image signal processing model at least includes one of the following modules: a picture format conversion module, an automatic white balance adjustment module, an automatic focus module, and a color correction matrix module.
5. The virtualized image processing system according to claim 1, characterized in that, the virtual mainboard is an embedded SoC virtual mainboard; the operating systems supported by the virtual mainboard include Windows, Linux, FreeRTOS, and VxWorks.
6. The virtualized image processing system according to claim 1, characterized in that, the virtual mainboard includes a driver loading module that loads the drivers of the camera model, the transmission interface controller model, the image signal processing model, and the basic function model.
7. A virtualized image processing method, characterized in that, Applied to the virtualized image processing system according to any one of claims 1 to 6, the method includes: The virtual motherboard starts the operating system and loads the drivers of the camera model, the transmission interface controller model, the image signal processing model, and the basic function model; the camera model, the transmission interface controller model, the image signal processing model, and the basic function model use software to simulate the functions of the hardware, realize their input and output and register access control, and make their external software interfaces consistent with the real hardware; the basic function model at least includes a CPU model, an I2C control model, and a double data rate synchronous dynamic random access memory model; The camera model reads pictures from a folder at a preset address to simulate the shooting function of a real camera; the camera model includes: a picture reading module that reads pictures from a folder at a preset address to simulate the shooting function of a real camera; a first register sub-module that simulates camera register configuration and register reading and writing; an I2C interface sub-module that simulates communication with the I2C control model to control the first register sub-module through the I2C control model; The transmission interface controller model receives the picture from the camera model and forwards the received picture to the image signal processing model; The image signal processing model processes the picture received from the transmission interface controller model and sends the processed picture to the double data rate synchronous dynamic random access memory model for storage.
8. An electronic device, Characterized in that, The electronic device includes the virtualized image processing system according to any one of claims 1 to 6.
Citation Information
Patent Citations
Shooting device drive test method and device and storage medium
CN114827589A