Simple ray intersection library similar to coldet - succedeed by libacc

Related tags

Deep Learning rayint
Overview

Ray Intersection

This project offers a header only acceleration structure library including implementations for a BVH- and KD-Tree. Applications may include ray intersection tests or nearest neighbor searches.

As an example application a simple raycasting app for MVE scenes is provided.

This library was inspired by coldet.

License

The software is licensed under the BSD 3-Clause license, for more details see the LICENSE.txt file.

You might also like...
Pytorch Lightning Distributed Accelerators using Ray

Distributed PyTorch Lightning Training on Ray This library adds new PyTorch Lightning accelerators for distributed training using the Ray distributed

Pytorch Lightning Distributed Accelerators using Ray

Distributed PyTorch Lightning Training on Ray This library adds new PyTorch Lightning plugins for distributed training using the Ray distributed compu

Rayvens makes it possible for data scientists to access hundreds of data services within Ray with little effort.
Rayvens makes it possible for data scientists to access hundreds of data services within Ray with little effort.

Rayvens augments Ray with events. With Rayvens, Ray applications can subscribe to event streams, process and produce events. Rayvens leverages Apache

Distributed DataLoader For Pytorch Based On Ray
Distributed DataLoader For Pytorch Based On Ray

Dpex——用户无感知分布式数据预处理组件 一、前言 随着GPU与CPU的算力差距越来越大以及模型训练时的预处理Pipeline变得越来越复杂,CPU部分的数据预处理已经逐渐成为了模型训练的瓶颈所在,这导致单机的GPU配置的提升并不能带来期望的线性加速。预处理性能瓶颈的本质在于每个GPU能够使用的C

A fast python implementation of Ray Tracing in One Weekend using python and Taichi
A fast python implementation of Ray Tracing in One Weekend using python and Taichi

ray-tracing-one-weekend-taichi A fast python implementation of Ray Tracing in One Weekend using python and Taichi. Taichi is a simple "Domain specific

LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image.
LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image.

This project is based on ultralytics/yolov3. LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image. Download $ git clone http

some classic model used to segment the medical images like CT、X-ray and so on

github_project This is a project for medical image segmentation. This project includes common medical image segmentation models such as U-net, FCN, De

Implementation of light baking system for ray tracing based on Activision's UberBake

Vulkan Light Bakary MSU Graphics Group Student's Diploma Project Treefonov Andrey [GitHub] [LinkedIn] Project Goal The goal of the project is to imple

Medical-Image-Triage-and-Classification-System-Based-on-COVID-19-CT-and-X-ray-Scan-Dataset

Medical-Image-Triage-and-Classification-System-Based-on-COVID-19-CT-and-X-ray-Sc

Comments
  • Fix debug assertion failure on Visual Studio

    Fix debug assertion failure on Visual Studio

    When compiling and running texrecon in debug mode on Visual Studio, it exits due to a failed debug assertion. Specifically, "vector subscript out of range". This is because BVHTree::ssplit() in libs/acc/bvh_tree.h passes a pointer as the second argument to std::sort() which can point one element past the end of the vector like an iterator would. Using iterators instead of pointers fixes the failed assertion.

    opened by andre-schulz 1
  • rayint doesn't build on macOS

    rayint doesn't build on macOS

    Hello there,

    I recently tried to build rayint on macOS, using a sensible default build procedure for cmake, i.e.,

    cd path/to/rayint
    mkdir BUILD
    cd BUILD
    cmake ..
    

    I got the following error:

    Mikes-MacBook-Pro:BUILD mike$ cmake ..
    -- The C compiler identification is AppleClang 8.0.0.8000042
    -- The CXX compiler identification is AppleClang 8.0.0.8000042
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
    -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
    -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Setting build type to 'RELWITHDEBINFO' as none was specified.
    -- Performing Test COMPILER_SUPPORTS_CXX11_FLAG
    -- Performing Test COMPILER_SUPPORTS_CXX11_FLAG - Success
    -- Performing Test COMPILER_SUPPORTS_CXX0X_FLAG
    -- Performing Test COMPILER_SUPPORTS_CXX0X_FLAG - Success
    -- Try OpenMP C flag = [-fopenmp=libomp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [ ]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [/openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-Qopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-xopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [+Oopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-qsmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP C flag = [-mp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-fopenmp=libomp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [ ]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [/openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-Qopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-xopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [+Oopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-qsmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-mp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Could NOT find OpenMP (missing:  OpenMP_C_FLAGS OpenMP_CXX_FLAGS) 
    -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
    -- Found PNG: /Library/Frameworks/libpng.framework (found version "1.5.4") 
    -- Found JPEG: /usr/local/lib/libjpeg.dylib  
    -- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.0.7") 
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/mike/Code/GitHub/rayint/BUILD
    Mikes-MacBook-Pro:BUILD mike$ make
    Scanning dependencies of target ext_mve
    [ 10%] Creating directories for 'ext_mve'
    [ 20%] Performing download step (git clone) for 'ext_mve'
    Cloning into 'mve'...
    Already on 'master'
    Your branch is up-to-date with 'origin/master'.
    [ 30%] No patch step for 'ext_mve'
    [ 40%] No update step for 'ext_mve'
    [ 50%] No configure step for 'ext_mve'
    [ 60%] Performing build step for 'ext_mve'
    [ 70%] No install step for 'ext_mve'
    [ 80%] Completed 'ext_mve'
    [ 80%] Built target ext_mve
    Scanning dependencies of target raycast
    [ 90%] Building CXX object apps/raycast/CMakeFiles/raycast.dir/raycast.cpp.o
    In file included from /Users/mike/Code/GitHub/rayint/apps/raycast/raycast.cpp:17:
    /Users/mike/Code/GitHub/rayint/libs/acc/bvh_tree.h:138:31: error: implicit instantiation of
          undefined template 'std::__1::array<acc::Bin, 64>'
        std::array<Bin, NUM_BINS> bins;
                                  ^
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note: 
          template is declared here
    template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array;
                                                                    ^
    In file included from /Users/mike/Code/GitHub/rayint/apps/raycast/raycast.cpp:17:
    /Users/mike/Code/GitHub/rayint/libs/acc/bvh_tree.h:139:32: error: implicit instantiation of
          undefined template 'std::__1::array<acc::AABB, 64>'
        std::array<AABB, NUM_BINS> right_aabbs;
                                   ^
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note: 
          template is declared here
    template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array;
                                                                    ^
    2 errors generated.
    make[2]: *** [apps/raycast/CMakeFiles/raycast.dir/raycast.cpp.o] Error 1
    make[1]: *** [apps/raycast/CMakeFiles/raycast.dir/all] Error 2
    make: *** [all] Error 2
    

    Am I missing a dependency, or am I configuring cmake incorrectly?

    opened by mikeroberts3000 1
  • Frustum culling

    Frustum culling

    Thanks for a great app for fast ray intersections! I was wondering what needs to be done in your opinion to add functionality for view frustum culling? It seems most of the constructs are in place to do this easily. I am new to this area but would be happy to take a stab at implementing it if you can provide a bit of guidance.

    opened by sweeneychris 4
Owner
Nils Moehrle
Nils Moehrle
Alpha-IoU: A Family of Power Intersection over Union Losses for Bounding Box Regression

Alpha-IoU: A Family of Power Intersection over Union Losses for Bounding Box Regression YOLOv5 with alpha-IoU losses implemented in PyTorch. Example r

Jacobi(Jiabo He) 147 Dec 5, 2022
Plotting points that lie on the intersection of the given curves using gradient descent.

Plotting intersection of curves using gradient descent Webapp Link ---> What's the app about Why this app Plotting functions and their intersection. A

Divakar Verma 2 Jan 9, 2022
TorchGeo is a PyTorch domain library, similar to torchvision, that provides datasets, transforms, samplers, and pre-trained models specific to geospatial data.

TorchGeo is a PyTorch domain library, similar to torchvision, that provides datasets, transforms, samplers, and pre-trained models specific to geospatial data.

Microsoft 1.3k Dec 30, 2022
TorchXRayVision: A library of chest X-ray datasets and models.

torchxrayvision A library for chest X-ray datasets and models. Including pre-trained models. ( ?? promo video about the project) Motivation: While the

Machine Learning and Medicine Lab 575 Jan 8, 2023
A simple rest api that classifies pneumonia infection weather it is Normal, Pneumonia Virus or Pneumonia Bacteria from a chest-x-ray image.

This is a simple rest api that classifies pneumonia infection weather it is Normal, Pneumonia Virus or Pneumonia Bacteria from a chest-x-ray image.

crispengari 3 Jan 8, 2022
arxiv-sanity, but very lite, simply providing the core value proposition of the ability to tag arxiv papers of interest and have the program recommend similar papers.

arxiv-sanity, but very lite, simply providing the core value proposition of the ability to tag arxiv papers of interest and have the program recommend similar papers.

Andrej 671 Dec 31, 2022
A voice recognition assistant similar to amazon alexa, siri and google assistant.

kenyan-Siri Build an Artificial Assistant Full tutorial (video) To watch the tutorial, click on the image below Installation For windows users (run th

Alison Parker 3 Aug 19, 2022
Fang Zhonghao 13 Nov 19, 2022
Based on Stockfish neural network(similar to LcZero)

MarcoEngine Marco Engine - interesnaya neyronnaya shakhmatnaya set', kotoraya ispol'zuyet metod samoobucheniya(dostizheniye khoroshoy igy putem proboy

Marcus Kemaul 4 Mar 12, 2022
A decent AI that solves daily Wordle puzzles. Works with different websites with similar wordlists,.

Wordle-AI A decent AI that solves daily "Wordle" puzzles. Works with different websites with similar wordlists. When prompted with "Word:" enter the w

Ethan 1 Feb 10, 2022