Giter Site home page Giter Site logo

twang006 / gaom Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 7.0 93.42 MB

Codes for GPU-Accelerated Optical Measurement

License: MIT License

Cuda 0.25% C++ 0.28% GLSL 99.44% MATLAB 0.03% C 0.01%
gpu-accleration optical-measurements digital-image-correlation windowed-fourier-transform

gaom's Introduction

GAOM - GPU-Acceleration for Optical Measurement

Introduction

This is the source code associated with the book GPU-Acceleration for Optical Measurement, SPIE Spotlight, 2017. The details within each project folder are explained as below.

  • ch2:
    • vec_add.h(.cpp) CPU and GPU implementations of vector addition
    • grad_calc.h(.cpp) Pointwise and tiled implementations of image gradient calculation
  • ch3:
    • cu_wff.cu Parallel windowed Fourier filtering (WFF) algorithm
  • ch4:
    • icgn.cu Parallel inverse Compositional Gauss-Newton (IC-GN) algorithm
    • precomputation.cu Parallelized precomputation for IC-GN
    • compute.cu Helper functions for the above CUDA kernels

Use the code

Project dependencies:

Compilation on Windows

  • Download and install Visual Studio 2015+
  • Download and install CUDA 8.0
  • Install OpenCV 3.1:
    1. Download OpenCV 3.4.1
    2. Right click "Computer" -> Advanced System Settings -> Advanced -> Environment variables, add a new virable to "System Variables" as "OPENCV_DIR" with the value YOUR_OPENCV_INSTALLATION_PATH\build\x64\vc12(vc14)
    3. If you want your program to run directly, add "%OPENCV_DIR%\bin" to the "User Variables" 's "Path".

Compilation on MAC OS or Linux

**Note: Only the "Release" mode was configured in the provided example code.

gaom's People

Contributors

twang006 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.