Changes

Jump to: navigation, search

GPU621/Group 3

5 bytes added, 09:18, 12 April 2023
m
Image Processing, parallelized with OpenMP
===='''Class Declaration'''====
In this class declaration for what will hold the OpenMP parallelized functionality we include a Laplacian kernel which will be applied to the sample images in order to sharpen details. How this is achieved is essentially highlighting areas on a greyscale version of the orignal image where the picture goes quickly from light to dark, and applies that highlight to the same locations on the original image. For those familiar with Laplacian filters, you may notice that ours is very much non-standard. Through testing we determined that this was the filter that created the best results across all use cases, though it should be noted that the scaling done when applying the highlight in the sharpening operation that is currently set to 0.99 in the code below would need to be reduced significantly if applied to artist renderingsillustrations.
The sharpening process is the most interesting of the processes as it provides a similar effect to an artist adding white boundaries lines around the lines outlines of an illustration as , which is often a stylistic choice made in character illustration.
<syntaxhighlight>
72
edits

Navigation menu