Giter Club home page Giter Club logo

slic_cuda's People

Contributors

fderue avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

slic_cuda's Issues

Include CheckFunctionExists

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.

Paper

Is there any paper related to this work ?
I use your codes in my paper and want to cite your paper.
Thanks.

slic_zero

Hi, is the slic_zero version of the algorithm available, and if not, is that due to some cuda limitations?
Thanks!

Set CUDA_COMPUTE_CAPABILITY

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.

do the label values need to be arbitrary?

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.

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.