Coder Social home page Coder Social logo

irvinlim / cs3211-project-1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.49 MB

CS3211 Parallel and Concurrent Programming - Project 1 (Image Processing: Implementation and Analysis)

Home Page: https://irvinlim.github.io/cs3211-project-1/part3/filters.html

CSS 0.54% HTML 44.81% JavaScript 44.80% Python 6.25% C 3.22% Shell 0.31% Roff 0.07%
gpu parallel video-filtering qr-code

cs3211-project-1's People

Contributors

irvinlim avatar

Stargazers

 avatar

Watchers

 avatar

cs3211-project-1's Issues

Assignment Part 3

Develop a small set of original image processing functions, which run both on a GPU and CPU platform, in a browser. You will be doing this (only) in a subset of Javascript, using V0 GPU.js (the original GPU accelerated Javascript http://gpu.rocks/). In the assessment of your program, marks will be given for range (i.e. how much you completed), and for your use of any specific techniques that you use to improve the behaviour of your program (beyond the obvious one-pixel-per- thread in the demo program given to you). Your code(s) is likely to be no more than 150-1500 commented lines.

  • Implementation of filters
    • Gaussian blur
    • Sobel edge detection
    • Thresholding (w/ different modes)
    • Light tunnel effect
  • Pipelining of filters
  • Parameterization of filters
  • Explanation of QR code detection
  • Explanation of speedup techniques
    • Omitting alpha channel
    • Using outputToTexture whenever possible
    • Parallelization of rowWise/colWise kernels.
    • Disabling of QR code output by default due to expensive GPU-CPU copying
  • Accuracy improvements
    • Reduce false positives
  • Benchmarking of GPU vs CPU
    • Using Chrome profiler
    • Against different input sizes
  • Problems faced?
    • No bitwise operations in WebGL 1.0
    • Math.atan2 does not exist in WebGL 1.0

Assignment Part 1

Write up laboratories 1 and 2 in a short-essay style. You will explain the results you got with respect to the hardware, the speedup, and accuracy results you achieved. This write-up should take no more than (say) 5 pages.

  • Lab 1
    • Task 1
    • Task 2
    • Task 3
    • Task 4
    • Task 6
    • Task 8
  • Lab 2
    • Task 1
    • Task 2
    • Task 3
    • Task 4
    • Task 5
    • Task 6
    • Task 7

Assignment Part 2

Investigate the low framerate issue with the demo application provided, even when no processing is happening. Identify which code or functions are taking up time, showing how you established it (screenshots/data/graphs). If you can, fix it, again explaining how you fixed it.

  • Explanation and graphs
  • Fixed code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.