CN116708757A - Universal debugging method, device, equipment and medium for mobile terminal camera function - Google Patents

Universal debugging method, device, equipment and medium for mobile terminal camera function Download PDF

Info

Publication number
CN116708757A
CN116708757A CN202310738321.0A CN202310738321A CN116708757A CN 116708757 A CN116708757 A CN 116708757A CN 202310738321 A CN202310738321 A CN 202310738321A CN 116708757 A CN116708757 A CN 116708757A
Authority
CN
China
Prior art keywords
camera
dumping
debugging
post
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310738321.0A
Other languages
Chinese (zh)
Inventor
周松
高均
陈鑫
徐颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202310738321.0A priority Critical patent/CN116708757A/en
Publication of CN116708757A publication Critical patent/CN116708757A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a general debugging method, device, equipment and medium for mobile terminal camera functions, comprising the following steps: when the camera function is debugged, the image effect debugging tool is utilized to collect all-link data in the current photographing process, the debugging means assembly module is utilized to dump the camera image data, the camera performance log and the camera memory information, and the image effect debugging tool is utilized to display all-link data, camera image data, camera performance log and camera memory information in the debugging stage on the mobile terminal; and adjusting the camera function parameters according to the parameter adjustment command input by the user. The full-link data acquisition information and the debugging information of the current photographing process in the debugging stage are directly displayed on the mobile terminal, and meanwhile, the function parameter debugging of the camera can be directly realized on the mobile terminal without using other hardware equipment, so that the debugging cost is reduced, only one mobile terminal equipment is required to be operated in the debugging process, the debugging operation is more convenient, and the debugging efficiency is improved.

Description

Universal debugging method, device, equipment and medium for mobile terminal camera function
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a method, an apparatus, a device, and a medium for universal debugging of a mobile terminal camera function.
Background
With the continuous development of the field of mobile terminals, camera functions of the mobile terminals are becoming more and more abundant. The implementation of these functions depends on different algorithmic support.
At present, a debugging method of a camera function of a mobile terminal generally needs to establish an android debug bridge (Android Debug Bridge, ADB) connection between another hardware device and a device to be debugged by means of another hardware device, and the other hardware device displays debugging information of a debugging stage and realizes parameter adjustment of the camera function. Because the debugging can be completed only by depending on other hardware equipment, the debugging cost is high, and the two equipment are operated during the debugging, so that the debugging operation is inconvenient.
Therefore, it is necessary to propose a method, a device and a medium for universal debugging of camera functions of a mobile terminal to solve the above problems.
Disclosure of Invention
The application aims to provide a universal debugging method, device, equipment and medium for mobile terminal camera functions, which are used for solving the problems of higher cost and inconvenient debugging operation for completing mobile terminal camera function debugging by depending on other hardware equipment.
In a first aspect, the present application provides a general debugging method for a camera function of a mobile terminal, in which an image effect debugging tool and a debugging means assembly module are built, the method comprising: when the camera function is debugged, acquiring full-link data of the current photographing process by using the image effect debugging tool, dumping camera image data, dumping camera performance logs and dumping camera memory information by using the debugging means assembly module, and displaying the full-link data, the camera image data, the camera performance logs and the camera memory information in a debugging stage on the mobile terminal by using the image effect debugging tool; and adjusting the camera function parameters according to the parameter adjustment command input by the user.
The general debugging method for the camera function of the mobile terminal has the beneficial effects that: the mobile terminal is internally provided with the debugging software comprising the image effect debugging tool and the debugging means assembly module, when the camera function is debugged, the image effect debugging tool directly displays the full-link data acquisition information and the debugging information of the current photographing process in the debugging stage on the mobile terminal, and meanwhile, the image effect debugging tool can directly realize the camera function parameter debugging on the mobile terminal without using other hardware equipment, so that the debugging cost is reduced, and only one mobile terminal equipment is required to be operated in the debugging process, so that the debugging operation is more convenient, and the debugging efficiency is improved.
In one possible embodiment, when dumping image data, image data dumping is performed according to an image dump type selected by a user, wherein the image dump type includes, but is not limited to, dumping image data before and after a single image post-processing algorithm, dumping image data before and after a plurality of image post-processing algorithms, dumping image data before and after all post-processing algorithms on the whole link, and dumping image data before and after all running post-processing algorithms.
In one possible embodiment, when dumping the performance log of the camera, the camera performance log dump is performed according to a camera log dump type selected by the user, where the camera log dump type includes, but is not limited to, dumping a single post-processing algorithm performance log, dumping multiple post-processing algorithm performance logs, dumping all post-processing algorithm performance logs on the entire link, and dumping all running post-processing algorithm performance logs.
In one possible embodiment, when the camera memory information is dumped, the camera memory information is dumped according to a camera memory dump type selected by a user, wherein the camera memory dump type includes, but is not limited to, dumping single-link post-processing algorithm memory usage and dumping multiple-link post-processing algorithm memory usage.
In a possible embodiment, when the camera function is debugged, according to a target link node skip instruction set by a user, in the process of executing a link algorithm, a post-processing algorithm process of the target link node is skipped, and the image data is transmitted to a next link node for processing.
In one possible embodiment, when camera function debugging is performed, all link topologies are traversed, and a link topology image is generated.
In a second aspect, the present application also provides a mobile terminal camera function universal debugging device, which comprises a module/unit for executing the method of any one of the possible designs of the first aspect. These modules/units may be implemented by hardware, or may be implemented by hardware executing corresponding software.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. Wherein the memory is for storing one or more computer programs; the one or more computer programs, when executed by the processor, enable the electronic device to implement the method of any one of the possible designs of the first aspect described above.
In a fourth aspect, there is also provided in an embodiment of the application a computer readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to carry out the method of any one of the possible designs of the first aspect described above.
In a fifth aspect, embodiments of the present application also provide a method comprising a computer program product, which when run on an electronic device, causes the electronic device to perform any one of the possible designs of the above aspects.
The advantageous effects concerning the above second to fifth aspects can be seen from the description in the above first aspect.
Drawings
Fig. 1 is a flow chart of a general debugging method for camera functions of a mobile terminal according to the present application.
Fig. 2 is a schematic diagram of a display interface of an image effect debugging tool in the general debugging method for camera functions of the mobile terminal.
Fig. 3 is a functional schematic diagram of an image effect debugging tool and a debugging means assembly module in the general debugging method for the camera function of the mobile terminal.
Fig. 4 is a schematic diagram of implementing logic of the general debugging method for camera functions of the mobile terminal according to the present application.
Fig. 5 is a schematic diagram of a general debugging device for camera functions of a mobile terminal according to the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. Unless otherwise defined, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. As used herein, the word "comprising" and the like means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof without precluding other elements or items.
RAW image refers to an uncompressed image format, which can be understood as RAW data of converting captured light source signals into digital signals by CMOS (Complementary Metal Oxide Semiconductor ) or CCD (charge coupled device, charge coupled device) image sensors. YUV is widely used in various video processing components as a color coding method. Considering the perception capability of human eyes, the YUV image reduces the bandwidth of chromaticity in a sampling mode, so that the resource requirement of the image storage and transmission process on equipment is reduced.
During the imaging process of the whole camera, the light of the lens of the mobile phone is recorded by a sensor, the light signal is converted into an electric signal, and the electric signal is converted into a digital signal, namely a RAW image, through an Analog-to-Digital Converter (ADC). The RAW image is then transmitted to an image signal processor (Image Signal Processing, ISP) for processing, then converted into a YUV image, and subjected to YUV domain algorithm processing, mostly including denoising, super-division, high dynamic range algorithm and other image algorithms, and finally output after algorithm processing, so as to become a compressed picture visible on the mobile phone. The existing mobile terminal camera function debugging method generally needs to use additional hardware equipment, is high in debugging cost and is not convenient to debug.
Aiming at the problems existing in the prior art, the embodiment of the application provides a general debugging method for the camera function of a mobile terminal, wherein an image effect debugging tool and a debugging means assembly module are arranged in the mobile terminal, and fig. 1 is a flow diagram of the general debugging method for the camera function of the mobile terminal, and referring to fig. 1, the method comprises the following steps:
s101: when the camera function is debugged, the image effect debugging tool is utilized to collect all-link data in the current photographing process, the debugging means assembly module is utilized to dump the camera image data, the camera performance log and the camera memory information, and the image effect debugging tool is utilized to display all-link data, camera image data, camera performance log and camera memory information in the debugging stage on the mobile terminal.
S102: and adjusting the camera function parameters according to the parameter adjustment command input by the user.
In the embodiment, the universal debugging method for the mobile terminal camera function provides a convenient and real-time technical scheme for the algorithm debugging and optimization of the mobile terminal camera through the image effect debugging tool and the debugging means assembly module. Through the image effect debugging tool, the mobile terminal can acquire an original image (RAW image) recorded by the camera sensor and a YUV image processed by the image signal processor in real time, and the data are beneficial to debugging of the image effect by a debugger. The debugging personnel can directly debug on the mobile terminal without depending on additional hardware equipment, so that the debugging process is more efficient, convenient and flexible.
In a preferred embodiment, image data dumping is performed according to an image dump type selected by a user when dumping image data, wherein the image dump type includes, but is not limited to, dumping image data before and after a single image post-processing algorithm, dumping image data before and after a plurality of image post-processing algorithms, dumping image data before and after all post-processing algorithms on the whole link, and dumping image data before and after all running post-processing algorithms.
In this embodiment, the image post-processing algorithm is an algorithm for improving or optimizing digital image quality. The debugging means assembly module is used for Unit Test (UT) and Integrated Test (IT) of the post-packaging processing algorithm, and can perform independent unit test and integrated test with other components. Because the image data test is needed to be dumped in the image post-processing algorithm packaging process, the debugging means assembly module can provide a unified packaging interface, and the frame level can generally acquire the image data before and after processing through switch control. The user can select to acquire the image data before and after the execution of a single post-processing algorithm or before and after the execution of a plurality of post-processing algorithms, namely, can select to perform data dump before and after the execution of a specific single algorithm node or a plurality of algorithm nodes so as to observe the processing effect and the data change of the specific algorithm; the user may also choose to acquire image data before and after each post-processing algorithm on the entire image processing link or before and after all running post-processing algorithms to obtain data information for the complete image processing process. From a single algorithm to the image processing process on the whole link, a debugger can select a proper data dump mode according to the needs to acquire required image data for analysis, debugging and optimization, so that various debugging requirements are met.
In a preferred embodiment, when dumping the performance log of the camera, the camera performance log dump is performed according to a camera log dump type selected by a user, wherein the camera log dump type includes, but is not limited to, dumping a single post-processing algorithm performance log, dumping a plurality of post-processing algorithm performance logs, dumping all post-processing algorithm performance logs on the entire link, and dumping all running post-processing algorithm performance logs. In this embodiment, in view of the requirement of the new architecture of the camera software for performance disassembly, the debugging means assembly module designs a method for printing the performance log, which is used for storing time-consuming performance information of the post-processing algorithm, and the like, so that a user can be helped to monitor the performance of the post-processing algorithm for debugging and optimization. The user may optionally monitor and record performance information for a particular algorithm to further analyze and optimize the performance of the algorithm; a user may selectively monitor and record performance information of a plurality of algorithms to compare and analyze performance of the plurality of algorithms; the user can selectively print and store the performance log in the execution process of each post-processing algorithm on the whole image processing link to obtain complete link performance information, so as to help the debugger know the performance of each algorithm in the whole image processing process; the user may also optionally print and save performance logs during execution of all running post-processing algorithms to fully understand the performance characteristics and bottlenecks of all post-processing algorithms. The debugging personnel can select a proper method to record and analyze the performance information of the post-processing algorithm according to the needs so as to optimize the execution efficiency and performance of the algorithm, thereby meeting various debugging requirements.
In a preferred embodiment, when the camera memory information is dumped, the camera memory information is dumped according to a camera memory dump type selected by a user, wherein the camera memory dump type comprises, but is not limited to, dumping the post-processing algorithm memory use condition on a single link and dumping the post-processing algorithm memory use condition on a plurality of links. In this embodiment, for a unified memory management pool and a unified buffer management interface in a new architecture of camera software, a framework-level general dump memory information function is designed by a debugging means assembly module to help a user monitor a memory usage condition of a post-processing algorithm, and adjust a memory policy according to link processing, so that the use amount of the buffer is conveniently counted, the memory policy is controlled, and a memory peak value is better than a current state. The framework-level general dump memory information function provides a flexible way to obtain memory usage information for the post-processing algorithm. The user can selectively obtain the memory usage of each post-processing algorithm on a certain link, so as to help debugging personnel evaluate and optimize the memory occupation condition of each algorithm on the link; the user can also selectively obtain the memory usage of each post-processing algorithm on the plurality of links to compare and analyze the memory usage of the post-processing algorithms on the plurality of links. The debugger can select and acquire the memory use information of the required post-processing algorithm according to the actual requirements so as to meet the memory optimization requirements under different scenes, help optimize the memory strategy, control the use peak value of the memory and improve the performance and stability of the system.
In a preferred embodiment, when the function of the camera is debugged, the assembly module stores the link parameters set by the preview frame and the photographing frame by using a debugging means, and stores the link parameters into a file in JSON format. In this embodiment, JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy to read and write. It uses human readable text to represent data objects, with succinct, clear and structured features. Files storing parameters in JSON format may have readability, scalability, compatibility. The parameters are stored into the file in the JSON format, so that the readability and operability of the parameters can be improved, the debugging process is more efficient and convenient, and debugging personnel can easily check and edit the parameters for analysis and adjustment so as to optimize the image effect and algorithm performance and improve the analysis efficiency of the image effect.
In a preferred embodiment, when the camera function is debugged, according to a target link node skip instruction set by a user, in the process of executing a link algorithm, a post-processing algorithm process of the target link node is skipped, and the image data is transmitted to a next link node for processing. In this embodiment, the image effect debugging tool provides a link node skipping mechanism, and skips the node instance on a certain link directly and efficiently through a specific command, so as to skip a specific post-processing algorithm node in the debugging process, so as to debug or analyze other parts, thereby improving the flexibility and efficiency of debugging and saving time and resources.
In a specific embodiment, when the camera function is debugged, traversing all the link topological structures to generate a link topological image; or reversely generating the executable and resolvable topology file by constructing the full-link topology structure through the visualization tool. In this embodiment, the image effects commissioning tool provides an image data link visualization function that automatically traverses the defined link topology, i.e. all nodes and the connection relations between them, and visualizes them into an image form. Thus, the debugger can see the structure and the components of the whole link, including the types of the nodes, the connection modes among the nodes and the like at a glance. The debugger can use the visualization tool to manually build the link topology and save it as an executable and resolvable file for subsequent use or sharing. The debugger can manage and understand the topology structure of the whole link more conveniently, and the generation of the visual image and the topology file enables the configuration, modification and analysis of the link to be more visual and efficient, which is helpful for improving the development efficiency and reducing the incidence rate of errors.
In a preferred embodiment, the image effect debugging tool is used for collecting all-link data of the current photographing process, and the method comprises the following steps: the image effect debugging tool is utilized to capture the effect parameters of each frame of image application and obtain the image data of each node on the data link, and the main purpose of the image effect debugging tool is to provide support for camera effect analysis, image simulation and mobile phone chip camera system verification.
In a preferred embodiment, when the function of the camera is debugged, the image effect debugging tool displays the file content under a certain directory of the device to the uppermost layer of the screen of the mobile terminal in real time, so that the tool is used for observing key debugging information of different modules of the image signal processor in the debugging process in real time, and the image quality generated by the image signal processor is debugged in an auxiliary mode.
In some possible embodiments, the working modes of the image effect debugging tool include an online mode and an offline mode, when the camera is turned on in the online mode, the camera interface displays the required key information of the appointed starting module in real time, and key information provided by the image effect debugging tool, such as debugging output of each module, effect parameters of an image processing algorithm, state of an image data link and the like, is directly seen in the process of real-time shooting and previewing. By displaying the information in real time, a debugger can observe and analyze the working state and effect of the camera in time. In the off-line mode, i.e. the camera is exited, the main interface displays the key log information of the last frame of the appointed starting module, and after the camera is exited, the key log information recorded by the image effect debugging tool can still be checked for subsequent analysis and debugging, wherein the key log information of the last frame comprises the processing result of the last frame of image, the running time of an algorithm, the use condition of a memory and the like. By looking at the key log information in the offline mode, the debugger can further analyze and debug the performance and algorithm effect of the camera. The image effect debugging tool can display corresponding key information on the camera interface in real time according to different working modes, so that debugging personnel can conveniently conduct real-time debugging and offline analysis, and the performance and effect of the camera are optimized.
In a specific embodiment, fig. 2 is a schematic diagram of an image effect debugging tool display interface in the general debugging method for camera functions of a mobile terminal according to the present application, referring to fig. 2, before the camera functions are debugged, the image effect debugging tool is started by inputting a password, the image effect debugging tool is entered into the image effect debugging tool display interface, the display interface includes, but is not limited to, a debugging module selection area and a function setting area, and a debugger selects a module to be debugged in real time and performs setting of related functions. The image effect debugging tool of the application starts software in a password mode, only debugging personnel and developers can touch the debugging tool, and application icons are hidden from common users and cannot be touched, so that the use experience of the common users is prevented from being influenced.
Further, the debug module selection area includes, but is not limited to, an Auto Exposure (AE) module, an Auto white balance (Auto White Balance, AWB) log module, a lens shading correction log (Lens Shading Correction, LSC) log module, a Smart log module, and the detailed description of the debug module selection area module is as follows:
still further, referring to fig. 2 and 3, the function setting area includes, but is not limited to, dump image data, performance log, memory information module, full link data acquisition module, link topology configuration module, and algorithm node skip module. In the function setting area, a debugger can perform setting of some related functions so as to perform debugging better. For example, for an automatic exposure module, an exposure compensation value or an exposure mode may be set; for an automatic white balance module, a white balance mode can be set or the color temperature can be adjusted; for the lens shading correction log module, a correction parameter or a switch correction function or the like may be set. The debugging personnel can flexibly debug and optimize different image processing modules so as to obtain better camera effect.
In a specific embodiment, fig. 4 is a schematic implementation logic diagram of the general debugging method for camera functions of the mobile terminal according to the present application, referring to fig. 4, when the camera functions are debugged, a user may select a module in the function setting area, and send a command and a requirement to the debugging means assembly module to complete the integrated function with the debugging means assembly module, where the debugging means assembly module sends a frame level instruction for general use of a base class, so that each algorithm node completes the corresponding requirement. And finally, displaying the effect parameters applied by each frame of image and the image data and algorithm capability of each node on the data link on an interface through an image effect debugging tool.
The application provides a technical scheme for conveniently and efficiently debugging all-link algorithm nodes, and an image effect debugging tool is used for debugging camera functions, namely debugging image effects and parameters, and has the functions of all-link data acquisition, displaying debugging information, real-time debugging and the like. The debugging means assembly module is used for monitoring and debugging information such as performance, memory use condition and image data of algorithm nodes, and the debugging means assembly module enables each algorithm node to complete requirements by sending frame-level instructions which are common to base classes, debugging and maintainable and measurable support are carried out on camera shooting effects and camera software architecture, frame-level support on key position debugging information is provided, and requirement dumping is completed in a user-free mode, and the debugging means assembly module mainly comprises requirements such as dump image data, parameters, performance logs, memory information and the like, node Unit Testing (UT) and Integrated Testing (IT), log specification and the like. The image effect debugging tool and the debugging means assembly module are a software-based solution, and aim to help debugging personnel to debug and optimize a camera algorithm on mobile equipment, so that the debugging personnel can better know the image processing effect of a camera to adjust camera parameters, thereby improving the quality and user experience of camera software.
In addition, the application also provides a mobile terminal camera function general debugging device, fig. 5 is a schematic diagram of the mobile terminal camera function general debugging device, referring to fig. 5, the device comprises: the data acquisition unit 501 is configured to acquire full-link data in a current photographing process; an image dump unit 502 for dumping camera image data; a log dumping unit 503 for dumping the camera performance log; a memory dump unit 504 for dumping the camera memory information; a display unit 505, configured to display, on the mobile terminal, full link data, camera image data, a camera performance log, and camera memory information in a debugging stage; the parameter adjustment unit 506 is configured to adjust the camera function parameter according to a parameter adjustment command input by a user. All relevant contents of each step related to the above method embodiment may be cited to the functional descriptions of the corresponding functional modules, which are not described herein.
In other embodiments of the present application, an electronic device is disclosed in the embodiments of the present application, and fig. 6 is a schematic structural diagram of the electronic device of the present application, referring to fig. 6, the electronic device may include: one or more processors 601; a memory 602; a display 603; one or more applications (not shown); and one or more computer programs 604, which may be connected via one or more communication buses 605. Wherein the one or more computer programs 604 are stored in the memory 602 and configured to be executed by the one or more processors 601, the one or more computer programs 604 comprise instructions that may be used to perform the various steps as in fig. 1 and 5 and the corresponding embodiments.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The functional units in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
While embodiments of the present application have been described in detail hereinabove, it will be apparent to those skilled in the art that various modifications and variations can be made to these embodiments. It is to be understood that such modifications and variations are within the scope and spirit of the present application as set forth in the following claims. Moreover, the application described herein is capable of other embodiments and of being practiced or of being carried out in various ways.

Claims (14)

1. The universal debugging method for the camera function of the mobile terminal is characterized in that an image effect debugging tool and a debugging means assembly module are arranged in the mobile terminal, and the method comprises the following steps:
when the camera function is debugged, acquiring full-link data of the current photographing process by using the image effect debugging tool, dumping camera image data, dumping camera performance logs and dumping camera memory information by using the debugging means assembly module, and displaying the full-link data, the camera image data, the camera performance logs and the camera memory information in a debugging stage on the mobile terminal by using the image effect debugging tool;
and adjusting the camera function parameters according to the parameter adjustment command input by the user.
2. The method of claim 1, wherein image data dumping is performed in accordance with a user selected image dump type when dumping image data, wherein the image dump type includes, but is not limited to, dumping image data before and after a single image post-processing algorithm, dumping image data before and after a plurality of image post-processing algorithms, dumping image data before and after all post-processing algorithms on an entire link, and dumping image data before and after all running post-processing algorithms.
3. The method of claim 1, wherein when dumping the performance log of the camera, the camera performance log dumping is performed according to a camera log dumping type selected by a user, wherein the camera log dumping type includes, but is not limited to, dumping a single post-processing algorithm performance log, dumping a plurality of post-processing algorithm performance logs, dumping all post-processing algorithm performance logs on the whole link, and dumping all running post-processing algorithm performance logs.
4. The method of claim 1, wherein the dumping of the camera memory information is performed according to a type of camera memory dump selected by a user when dumping the camera memory information, wherein the type of camera memory dump includes, but is not limited to, dumping single link post-processing algorithm memory usage and dumping multiple link post-processing algorithm memory usage.
5. The method according to any one of claims 1 to 4, wherein, when the camera function is debugged, according to a target link node skip instruction set by a user, in the process of executing a link algorithm, a post-processing algorithm process of the target link node is skipped, and the image data is transferred to a next link node for processing.
6. The method of claim 1, wherein the link topology image is generated by traversing all of the link topologies while performing camera function debugging.
7. A mobile terminal camera function universal debugging device, the device comprising:
the data acquisition unit is used for acquiring all-link data in the current photographing process;
an image dump unit for dumping camera image data;
the log dumping unit is used for dumping the camera performance log;
the memory dump unit is used for dumping the memory information of the camera;
the display unit is used for displaying the full link data, the camera image data, the camera performance log and the camera memory information in the debugging stage on the mobile terminal;
and the parameter adjusting unit is used for adjusting the function parameters of the camera according to the parameter adjusting command input by the user.
8. The apparatus of claim 7, wherein the image dump unit dumps image data of the camera, in particular for: image data dumping is performed according to an image dump type selected by a user, wherein the image dump type comprises, but is not limited to, dumping image data before and after a single image post-processing algorithm, dumping image data before and after a plurality of image post-processing algorithms, dumping image data before and after all post-processing algorithms on the whole link, and dumping image data before and after all running post-processing algorithms.
9. The apparatus of claim 7, wherein the log dumping unit dumps a camera performance log, specifically for: and carrying out camera performance log dumping according to a camera log dumping type selected by a user, wherein the camera log dumping type comprises, but is not limited to dumping single post-processing algorithm performance logs, dumping a plurality of post-processing algorithm performance logs, dumping all post-processing algorithm performance logs on the whole link and dumping all running post-processing algorithm performance logs.
10. The apparatus of claim 7, wherein the memory dump unit is configured to dump camera memory information, in particular: and carrying out the memory dump of the camera according to the camera memory dump type selected by the user, wherein the camera memory dump type comprises, but is not limited to, the memory use condition of the post-processing algorithm on a single link and the memory use condition of the post-processing algorithm on a plurality of links.
11. The apparatus according to any one of claims 7 to 10, further comprising:
and the link node skipping unit is used for skipping the post-processing algorithm process of the target link node in the process of executing the link algorithm according to the target link node skipping instruction set by the user, and transmitting the image data to the next link node for processing.
12. The apparatus as recited in claim 7, further comprising:
the link topology configuration unit is used for traversing all the link topologies and generating link topology images.
13. An electronic device, comprising: a processor and a memory for storing a computer program; the processor is configured to execute the computer program stored in the memory, to cause the electronic device to perform the method of any one of claims 1 to 6.
14. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
CN202310738321.0A 2023-06-20 2023-06-20 Universal debugging method, device, equipment and medium for mobile terminal camera function Pending CN116708757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310738321.0A CN116708757A (en) 2023-06-20 2023-06-20 Universal debugging method, device, equipment and medium for mobile terminal camera function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310738321.0A CN116708757A (en) 2023-06-20 2023-06-20 Universal debugging method, device, equipment and medium for mobile terminal camera function

Publications (1)

Publication Number Publication Date
CN116708757A true CN116708757A (en) 2023-09-05

Family

ID=87840824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310738321.0A Pending CN116708757A (en) 2023-06-20 2023-06-20 Universal debugging method, device, equipment and medium for mobile terminal camera function

Country Status (1)

Country Link
CN (1) CN116708757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135345A (en) * 2023-10-19 2023-11-28 芯动微电子科技(武汉)有限公司 Simulation verification method and device for image signal processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135345A (en) * 2023-10-19 2023-11-28 芯动微电子科技(武汉)有限公司 Simulation verification method and device for image signal processing
CN117135345B (en) * 2023-10-19 2024-01-02 芯动微电子科技(武汉)有限公司 Simulation verification method and device for image signal processing

Similar Documents

Publication Publication Date Title
US11647132B2 (en) Communication terminal, method for controlling communication terminal, communication system, and storage medium
CN116708757A (en) Universal debugging method, device, equipment and medium for mobile terminal camera function
US8063953B2 (en) Image display controlling device for displaying an image belonging to a file image group, imaging device for displaying an image belonging to a file image group, and image display method for displaying an image belonging to a file image group
WO2023065523A1 (en) Isp-based image processing method and apparatus, storage medium, and camera device
CN110855958B (en) Image adjusting method and device, electronic equipment and storage medium
US8624989B2 (en) System and method for remotely performing image processing operations with a network server device
US20210398247A1 (en) Image processing apparatus, image processing method, and storage medium
KR20230113786A (en) Image processing method, device and electronic device
US20190052795A1 (en) Image capturing apparatus, communication apparatus, and control methods thereof
JP2023175858A (en) Imaging support device, imaging device, imaging support method, and program
CN111917986A (en) Image processing method, medium thereof, and electronic device
CN110969587A (en) Image acquisition method and device and electronic equipment
US20210368126A1 (en) Imaging element, imaging apparatus, operation method of imaging element, and program
CN113315965A (en) Optical anti-shake test method, device, equipment and medium
JP2021125828A (en) Image processing device and image processing method
JP6664240B2 (en) Imaging system, imaging apparatus, and control method therefor
WO2023210334A1 (en) Image processing device, imaging device, and control method therefor
JP7410088B2 (en) Imaging device, imaging device, image data output method, and program
JP2018036816A (en) Control device, process execution device, control method, process execution method, and control system
US11188743B2 (en) Image processing apparatus and image processing method
JP2008048168A (en) Method for setting color-processing parameter and digital imaging apparatus
CN116744134A (en) Image processing method, processor, device and storage medium
CN115589477A (en) Camera hardware testing method and device, computer readable medium and electronic equipment
JP2024079754A (en) Image pickup device, image pickup method, and program
CN115696064A (en) Image processing method and device

Legal Events

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