fderue / slic_cuda Goto Github PK
View Code? Open in Web Editor NEWSuperpixel SLIC for GPU (CUDA)
License: MIT License
Superpixel SLIC for GPU (CUDA)
License: MIT License
When compiling the code I received the error
CMake Error at CMakeLists.txt:39 (check_function_exists):
Unknown CMake command "check_function_exists".
I added
include(CheckFunctionExists)
below the project name and this fixed the issue.
Is there any paper related to this work ?
I use your codes in my paper and want to cite your paper.
Thanks.
Hi, is the slic_zero
version of the algorithm available, and if not, is that due to some cuda limitations?
Thanks!
Maybe it is not a good idea to set CUDA_COMPUTE_CAPABILITY manually, which may lead to some unexpected errors.
I change the code in CMake from
### CUDA CHECK
find_package(CUDA REQUIRED)
set(CUDA_COMPUTE_CAPABILITY "52")
set(CUDA_GENERATE_CODE "arch=compute_${CUDA_COMPUTE_CAPABILITY},code=sm_${CUDA_COMPUTE_CAPABILITY}" CACHE STRING "Which GPU architectures to generate code for (each arch/code pair will be passed as --generate-code option to nvcc, separate multiple pairs by ;)")
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -arch compute_${CUDA_COMPUTE_CAPABILITY})
to
find_package(CUDA REQUIRED)
I tested this code and works.
the opencv SLIC function returns labels running from 0 to the number of labels, which is extremely convenient for processing the superpixels after the fact. This version just seems to use arbitrary values for each label. Also it lacks a numSuperPixels() function like the opencv version has. might make a contribution at some point to fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.