Git Product home page Git Product logo

cardlin / sfego_3d_pycuda Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5 KB

This code is Spatial Frequency Extraction using Gradient-liked Operator in Three-Dimension (SFEGO_3D) that use gradient and integral to mimic the Multi-dimensional Ensemble Empirical Mode Decomposition (MEEMD) and Three-dimensional Empirical Mode Decomposition (TEMD) in different way. Our code can get 6 Spatial Data (128*128*128) within 1 minutes with modern GPU.

Python 79.20% Cuda 20.80%
3d-emd cuda meemd pycuda sfego spatial-frequency temd

sfego_3d_pycuda's Introduction

Spatial Frequency Extraction using Gradient-liked Operator - Three Dimension (SFEGO_3D)

PyCUDA Version

Introduction

  • In 3D data, There are Multi-dimensional Ensemble Empirical Mode Decomposition (MEEMD) and Three-dimensional Empirical Mode Decomposition(TEMD) can decompose the data into several 3D Intrinsic Mode Functions (TIMFs)

  • Now, we are using Spherical Gradient-liked Operator that can choose different Radius=Wavelength (different spatial frequency) to do Differential=Gradient on 3D data to get the vector map (magnitude and direction) Then we can do Integral on vector map to get 3D Spatial Data that contain such a spatial frequency information in specific Radius

  • This work using Spherical Coordinate System to generate (build_list_3d_sphere) the Sphere parameter within execute_radius

  • And we are calcualte the average of each semisphere on different angles (traverse each point of the surface of sphere and calcuate the average difference of positive semisphere and negative semisphere that is the differential calculation)

  • To achieve the faster way to calculate the 3D Spatial Data. The Dynamic Programing (generate_surface_dp_list) is used to cache next Semisphere indexs of Positive Side and Negative Side.

3D Data

  • Magnetic Resonance Imaging (MRI)

  • Computed Tomography (CT)

  • Atmosphere Data

  • The Gravity Data in the space. Consider you have a moon size spaceship that want to pass our solar system with very high speed... Each planet on our solar system have higher mass than your spaceship. So... if you want to use different size of the anti-gravity generator to cancel entire full spectrum gravity...

Hardware Requirement

  • Require NVIDIA GPU to execute CUDA Kernel Code

  • Recommend to use NVIDIA GPU with 1GB+ VRAM (VRAM usage is depend on Data Size and default_radius)

Execution

  • python SFEGO_3D.py

sfego_3d_pycuda's People

Contributors

cardlin avatar

Stargazers

 avatar  avatar

Watchers

 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.