GPU Parallelization of Astronomical Image Subtraction
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 28 HE credits
Student thesisAlternative title
GPU-parallelisering av astronomisk bildsubtraction (Swedish)
Abstract [en]
Astronomical image subtraction is a method for generating a difference image from two images, which covers the same area but taken at different times, in order to see changes over time. Due to the images being taken at different times, one of the images has to be convolved, to match the atmospheric conditions ofthe other image. HOTPANTS is an open source software used for astronomical image subtraction. The problem is that HOTPANTS is written in serial C and therefore does not scale well with growing image sizes. There have been previous efforts to parallelize HOTPANTS, which include P-HOTPANTS and GBAISP. However, these projects are outdated or unavailable, respectively. The latest effort, BACH, is a reimplementation of HOTPANTS in C++, where the convolution and subtraction parts have been parallelized on a GPU using OpenCL. This thesis project is a continuation of BACH, called X-BACH, which aims to parallelize the remaining parts of the HOTPANTS algorithm using OpenCL. The results show that some parts of the HOTPANTS algorithm, excluding convolution and subtraction, are highly suitable for the GPU while other parts arenot suitable for the GPU. It is believed that some parts which are not suitable forthe GPU are highly suitable for CPU parallelization. Overall, running on an external GPU, X-BACH achieves a relative speed of 1 to 2 compared to BACH, and a relative of 0.8 to 2.5 compared to HOTPANTS. When running on an integrated GPU, X-BACH achieves a relative speed of 0.5 to 1.2 compared to BACH, and a relative speed of 0.3 to 2 compared to HOTPANTS. Some parts of the algorithm achieves a speedup of up to 10 times when parallelized on a GPU. In terms of accuracy, X-BACH generally obtains a maximum relative error in order of magnitude ranging from 10−7 to 10−1. However, on certain test images, the algorithm has been observed to be unstable.
Place, publisher, year, edition, pages
2024. , p. 85
Keywords [en]
GPU, Graphics Processing Unit, Graphics Card, Parallelization, Image Processing
Keywords [sv]
GPU, Grafikprocessor, Grafikkort, Parallelisering, Bildbehandling
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-204594ISRN: LiTH-ISY-EX--24/5644--SEOAI: oai:DiVA.org:liu-204594DiVA, id: diva2:1870504
External cooperation
Mindroad Öst AB
Subject / course
Computer Engineering
Supervisors
Examiners
2024-06-172024-06-142024-06-17Bibliographically approved