Coder Social home page Coder Social logo

gpu_erosion_dilatation's Introduction

GPGPU_Project: Implement CUDA version of an image processing algorithm

💻 CUDA, C++, CMake

  • CPU and GPU (Cuda) implementation of binary opening/closing

  • Library Needed: Opencv

  • Run CPU: src/ Cmake ./gpgpu path_src

  • Run GPU: cuda/ Makefile ./main path_src name_dst

  • Test images: build/

Result: (1000x1000) image with 5x5 kernel

one two three

Benchmark:

Kernel size: 5x5 - i7-8750H 6 coeurs/12 threads - Fréquence 2,20 GHz - 4,10 GHz et un GPU Nvidia 1050Ti 4Go 768 CUDA Cores

Center-aligned Center-aligned Center-aligned Center-aligned
128x128 32 ms 0.06 ms 0.056 ms
256x256 37 ms 0.099 ms 0.1 ms
600x600 83 ms 0.359 ms 0.386 ms
800x800 140 ms 1.074 ms 0.989 ms
1000x1000 184 ms 1.383 ms 1.11 ms
4k 1278 ms 32.705 ms 17.26 ms
8k 4848 ms 123.230 ms 62.111 ms

gpu_erosion_dilatation's People

Contributors

soft953 avatar

Watchers

 avatar  avatar

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.