Changes

Jump to: navigation, search

GPU621/Group 3

665 bytes added, 08:18, 12 April 2023
OpenMP Implementation Summary
===='''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 like a filter over 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 renderings. The sharpening process is the most interesting of the processes as it provides a similar effect to an artist adding white boundaries around the lines of an illustration as is often a stylistic choice made in character illustration.
<syntaxhighlight>
72
edits

Navigation menu