Git Product home page Git Product logo

yacclab's People

Contributors

allcontributors[bot] avatar attltb avatar baraldilorenzo avatar costantinograna avatar federicobolelli avatar michelecancilla avatar prittt avatar stal12 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yacclab's Issues

Problem about "How to include a YACCLAB algorithm into your own project?"

Hello Federico,

very nice project about CCL.

When I tried to follow your step, I could not use the example code(BBDT_UFPC) correctly.
Maybe the section of "How to include a YACCLAB algorithm into your own project?" is not complete?

First, I found that I have to add more source files than you described
E.g. file_manager.cc, volume_util.cc, yacclab_tensor.cc, gpu_mat3.cu

Second, I got the error from "labeling_grana_2010.cc", which shows some Gnuplot error as follows:

Error LNK2019 unresolved external symbol "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl GetGnuplotTitle(void)" (?GetGnuplotTitle@@ya?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl Labeling::GetTitle(void)const "

Maybe this is about some dll of gnuplot, which I do not know should I add some cc files or dll?

Namespace collision between class UF and class UF

Both cuda/src/labeling_oliveira_2010.cu and include/labels_solver.h define class UF in the global namespace. I'm seeing a crash where cuda/src/labeling_oliveira_2010.cu's Alloc appears to call include/labels_solver.h. Renaming Alloc inside cuda/src/labeling_oliveira_2010.cu fixes it. It is probably best to rename UF inside cuda/src/labeling_oliveira_2010.cu.

how can i save the result of cuda algorithm

when i save the result with the above code,the result is black ,i think this is wrong ,how can i do that?
图片
the input is
图片

the output is:
Set_1_ID_01_Camera_1_Seq_1_video0000 png_ACCL

i used config :
图片

also, i imwrite the label image with above code, but the result is nothing as well.
图片

Single Pass Extraction

Dear @prittt ,

I am currently working on a project where I need to extract objects from an image stream that is continuously acquired line-by-line with the use of line scan cameras. So my image fixed in x-direction, but basically "endless" in y. After doing a bit of research, I think I need to implement a so called single Pass CCA/Blob Extractor, that can process my image line-by-line and continuously extracts blobs. Can you tell me which of the implemented algorithms would be suitable and how I could modify it so it can accept a continuous stream of data? Help is greatly appreciated. Thank you and kind regards.
Philipp

New CCL algorithms

I'm sorry if this is rude. I'm quite new to github so that I don't know what I'm supposed to do here.
I want to share a new algorithm I found.

You can find them in my github page, especially in this folder.
My algorithms are available with the names of BRTS, BMRS. (They require to specify a labels solver.)
See also the results I got on my computer here.
Each algorithm is explained in detail in my github page.

I have no degree or qualification in computer science area.
I came up with these ideas while optimizing an AI for my own game which is still in progress.
I want to let you know and get advice from you if possible.

Thank you.

Connected Components Analysys CUDA

Hello! Is there any solutions for Connected Components Analysys on CUDA? I need to get coordinates and size of labeled componets on cpu side to be sent by TCP network. All the algorithms I can find are CPU based, GPU based line opencv cuda::connectedComponents, does not have WithStats version. Cpu bases algorithms are too slow to be used for 90fps on jetson nano.

This breaks the build by default on most linux systems and non multilib OSX systems.

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|AppleClang" OR CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang")

There's essentially no reason to do this. It would be considered bad practice and broke my build for a good 45 minutes when it failed to compile against my (non-multi-lib headers) and then after I fixed that failed to link to my (non-multilib) toolchain.

If there's nothing specified, then it should default to nothing specified, which means "use the default for the current toolchain". The default for the current system should obviously be the default, and users can manually add it if they need in the CXX_FLAGS config on their own. In addition, there's no way the default should be -m32, because there's a vanishingly small number of 32-bit toolchains in the wild, especially by default.

The best thing to do here is to just delete lines 83-91 entirely. OR at the very least, default to nothing, which is the correct behavior most of the time.

synthetic image dataset generating

Could you share about synthetic image dataset generating code,such as granularity dataset.
I try to generate my own dataset, but it's difficult to make sure specific density and granularity at the same time.

Error running on ubuntu 20.04

Getting the following error during the GPU run:

+----------------------------------------------------------------------------+
| Checking Correctness of 'PerformLabelingWithSteps()' |
+----------------------------------------------------------------------------+
| check: |
free(): double free detected in tcache 2 ] 0% |
Aborted (core dumped)
config.yaml.txt
log.txt
CMakeCache.txt

CUDA standard in CMakeLists.txt

Hello,

first thank you for the benchmark.

The issue:

Please repair CMakeLists.txt, because project cannot be build. It took me time to figure this out.

Your headers included in .cu files use C++14 features. (std::make_unique namely)
On my system: Debian 10, CUDA 10.1, gcc 8.3, I got error make_unique not in namespace std.
I find out CUDA standard is set separatly from C++ host compiler standard:

https://cmake.org/cmake/help/v3.14/prop_tgt/CUDA_STANDARD.html

By providing CMAKE_CUDA_STANDARD 14, compilation did not raise any errors.

I figured I will post it here, even if I doesn't get fixed, others can see how to repair it.

Thank you for your work.

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.