Abstract:In this paper, a parallel algorithm combining MATLAB and OpenACC is proposed for the complex programming problems of current CUDA-based median filtering parallel acceleration algorithm and the cumbersome implementation of image data extraction and display. The algorithm uses MATLAB to extract the image and converts it into an array file. Then it uses the OpenACC language to convert the serial code to the parallel code and processes the array file converted by MATLAB. Finally, the filtered data is displayed as an image through MATLAB. The acceleration experiment of the median filtering algorithm is carried out by simulation experiments. The experimental results show that the proposed algorithm accelerates the algorithm faster than the serial program in the case of greatly reducing the amount of code conversion workload. And it is equivalent to the effect of CUDA acceleration.