The invention discloses a method utilizing a graphic
processing unit (GPU) for achieving rapid
wavelet transformation through segmentation. The method utilizing the GPU for achieving rapid
wavelet transformation through segmentation mainly solves the problem that the speed of
wavelet transformation in the prior art is low. Directing at the features of a
parallel computing framework of the GPU, the method which segments data and conducts
parallel processing to the data is designed. The method includes the following steps:
copying an original image, segmenting the data, expanding the data,
copying the data to a
shared memory, transforming rows, transforming lines, canceling
data expansion and
copying the transformed data to a
host machine memory. According to the method utilizing the GPU for achieving rapid wavelet transformation through segmentation, accuracy of a wavelet transformation result is guaranteed through the expansion of the segmented data, the visiting speed of the data is improved through the transformation in the
shared memory, interaction between the data and a global memory is avoided, and the
processing speed of the whole image is improved through the paralleling of image blocks and the paralleling among pixel points of image block branches.