foota / ccl Goto Github PK
View Code? Open in Web Editor NEWConnected Component Labeling.
License: MIT License
Connected Component Labeling.
License: MIT License
Programs of Connected Component Labeling (CCL) on CPU / GPU Objective: To solve the problem of the CUDA programming contest (TopCoder/NVIDIA CUDA Superhero Challenge 1; http://community.topcoder.com/longcontest/?module=ViewProblemStatement&rd=13957&pm=10644). To compile source files: $ make Create below files: ccl_np_cpu # Neighbour Propagation on CPU ccl_np_gpu # Neighbour Propagation on CPU ccl_dpl_cpu # Directional Propagation Labelling on CPU ccl_dpl_gpu # Directional Propagation Labelling on GPU ccl_le_cpu # Label Equivalence on CPU ccl_le_gpu # Label Equivalence on GPU To create input data from image files: Usage: image2input.py input_image output_text [degree_of_connectivity=4 threashold=0] Example) $ ./image2input.py image.jpg input.dat 8 10 $ ./ccl_le_cpu input.dat > result.txt References: 1. K. Hawick, A. Leist and D. Playne, Parallel graph component labelling with GPUs and CUDA, Parallel Computing 36 (12) 655-678 (2010) 2. O. Kalentev, A. Rai, S. Kemnitz and R. Schneider, Connected component labeling on a 2D grid using CUDA, J. Parallel Distrib. Comput. 71 (4) 615-620 (2011) 3. V. M. A. Oliveira and R. A. Lotufo, A study on connected components labeling algorithms using GPUs, SIBGRAPI (2010)
Hi foota, how are you?
(sorry I tried to find your contact (e.g. email) but couldn't find one, so I used this way to contact you). I work for AMD USA, my name is Shuai Che and saw your codes for CCL on Github which are really nice. We hope to use your code and port them into an OpenCL version. Is there any special license term along with your CCL code? If it uses a BSD license, that would be the best for us!
Thanks and look forward to your reply.
Shuai
[email protected] is my work email
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.