Skip to content

Projects for CS3211 Parallel and Concurrent Programming, National University of Singapore, AY 2017-18

Notifications You must be signed in to change notification settings

poemonsense/nus-cs3211

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

NUS-CS3211

Projects for CS3211 Parallel and Concurrent Programming, National University of Singapore, AY 2017-18

Project 1: Image Processing Using gpu.js

Develop a small set of original image processing functions, which run both on a GPU and CPU platform, in a subset of Javascript, using GPU.js (the original GPU accelerated JavaScript http://gpu.rocks/).

Implementation

  • image resizing filters
  • a grayscale filter based on the Y'UV and Y'IQ models $Y = 0.299R + 0.587G + 0.114B$
  • a pixelation filter
  • an image sharpening filter based on unsharp masking (USM) using the kernel
  • gaussian blurring with a $3\times 3$ Gaussian kernel (with $\sigma =2$ )
  • sobel operator, which creates an image emphasising edges and is used for edge detection
  • line detector based on the Hough transform of $r=x\cos\theta+y\sin\theta$

Project 2: Open MPI Programming

Develop a simulation of a 2D version of a gigantic pool table, in one process, and then an Open MPI parallelized version.

Expected Results

Original board:

Original board

Board after 25 steps:

Original board

Board after 50 steps:

Original board

Board after 75 steps:

Original board

Board after 100 steps (final result):

Original board

About

Projects for CS3211 Parallel and Concurrent Programming, National University of Singapore, AY 2017-18

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages