Method and system for obtaining image co-processing program of CPU/GPU heterogeneous environment
An image processing and collaborative processing technology, applied in the computer field, can solve problems such as poor parallelism, inability to provide image processing program conversion methods, and poor program versatility of image processing algorithms, so as to achieve the effect of improving versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It shows the implementation process of the method for acquiring an image cooperative processing program in a CPU / GPU heterogeneous environment provided by the first embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:
[0024] In step S101, a digital image processing algorithm input by the user is received.
[0025] The embodiment of the present invention is suitable for a program compiler or an image processing program automatic generation system. The digital image processing algorithm describes a method for processing digital images, and the digital image processing algorithm can be expressed in pseudo-code, flowchart, or language-like methods.
[0026] In step S102, the digital image processing algorithm is analyzed to obtain parallel executable steps for image block processing in the digital image processing algorithm.
[0027] In the embod...
Embodiment 2
[0033] figure 2 The implementation process of the method for obtaining an image cooperative processing program in a CPU / GPU heterogeneous environment provided in the second embodiment of the present invention is shown. For ease of description, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:
[0034] In step S201, a first image processing program running on a CPU using a digital image processing algorithm is acquired, and a second image processing program running on a GPU using a digital image processing algorithm is acquired.
[0035] In step S202, the first and second image processing programs are executed, and the preset test images are respectively processed to obtain the running time of the first and second image processing programs to process the test images.
[0036] In the embodiment of the present invention, the first image processing program is a pre-written image processing program that runs on a CPU, an...
Embodiment 3
[0050] image 3 The structure of the image cooperative processing program acquisition system for the CPU / GPU heterogeneous environment provided in the third embodiment of the present invention is shown. For ease of description, only the parts related to the embodiment of the present invention are shown, including:
[0051] The algorithm receiving unit 31 is configured to receive a digital image processing algorithm input by a user;
[0052] The algorithm analysis unit 32 is configured to analyze the digital image processing algorithm to obtain parallel running steps for image block processing in the digital image processing algorithm;
[0053] The step mapping unit 33 is configured to map the parallel runnable steps into computer program code segments that can run in parallel on the CPU and GPU according to the preset image block distribution method on the CPU and GPU; and
[0054] The first program acquisition unit 34 is configured to acquire an image collaborative processing program ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com