Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Image convolution

Single image convolution

Comparing different implementation of applying filters on single image

Sequential implementation - each pixel of result image is computed sequentially

Parallel implementation - different threads are computing groups of pixels simultaneously using different strategies:

  • 1 thread for each pixel (group = pixel)
  • 1 thread for each row (group = row of pixels)
  • 1 thread for each column (group = column of pixels)
  • 1 thread for each arbitrary rectangle grid of image

Maximum number of working threads is limited

Code with benchmark is here (Bench1.java)

Small bench example

Medium bench example

Large bench example

Stream of images

Comparing different implementation of applying on filter on many images

Code with benchmark is here (Bench2.java)

Stream bench

About

parallel-convolution-TheAndrewLa created by GitHub Classroom

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors