LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-18-2005, 01:40 AM   #1
caicaicherry
LQ Newbie
 
Registered: Apr 2005
Location: fukuoka
Posts: 6

Rep: Reputation: 0
about watershed algorithm


Is there any example of watershed algorithm written with c/c++?

thanks very much if you can offer me any information!!!
 
Old 09-19-2005, 10:51 AM   #2
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
I couldn't quickly find one.
Don't you understand the algorithm or do you have a specific problem with its implementation? Maybe we can help you
 
Old 09-19-2005, 09:33 PM   #3
caicaicherry
LQ Newbie
 
Registered: Apr 2005
Location: fukuoka
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you very much!

Now I want to do skin-color segmentation using the watershed algorithm.
I am reading a thesis named "the watershed transform: definitions, algorithm and parallelization strategies", but it seems that the watershed algorithm is very difficult and I can still not understand it well.


Quote:
Originally posted by addy86
I couldn't quickly find one.
Don't you understand the algorithm or do you have a specific problem with its implementation? Maybe we can help you
 
Old 09-19-2005, 10:35 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Well, I've never heard of the watershed algorithm before, but from the searches I did, it looks relatively interesting. Like addy86, I didn't find anything immediate. However, I did find one guy. He offers some C and C++ implementation code. The page I found is here. From the page:
Quote:
All code has been developed and tested on Linux only! Porting the code to Win-dow-s is certainly possible, but maybe non-trivial.

The code is currently available by e-mail only
(emphasis mine)

Also, the title of the page indicates this is an "optimized rainfalling watershed algorithm" and on this related page that
Quote:
see http://telin.UGent.be/ipi/watershed/ for some segmentation examples, etc.
It is very important to note that the results shown there were obtained by pre-processing the watershed input activity image; non-linear scale space diffusion techniques were used to reduce the oversegmentation. The results shown can not be obtained without this technique (i.e. the raw watershed algorithm as made available here, will not deliver the same results).
So I have no clue whether this will meet what you need. It's been my experience that thesis writers seem to be paid by the number of words in the paper's title. Maybe it's necessary to fully disclose the topic, but it sure doesn't help the common (i.e. non-doctoral degree holder) reader identify what material relates to what they are looking for.

Anyway, I hope that helps.
 
Old 09-22-2005, 03:36 AM   #5
caicaicherry
LQ Newbie
 
Registered: Apr 2005
Location: fukuoka
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks very much for offering so much information.
But it is a little sad that it seems to be difficult to get the source code.
----------------------------------------------------------------
wshed v0.2 packages are now available by e-mail
----------------------------------------------------------------
I think it is necessary to learn more about watershed before getting the reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best cryptographic algorithm? Linux.tar.gz Linux - Security 19 05-02-2006 08:54 PM
Which sorting algorithm? nodger Programming 6 01-28-2005 06:13 PM
Airsnort Algorithm inthefuture Linux - Security 1 08-26-2004 10:01 PM
Do you memorize the algorithm?For... shakedown1987 Programming 5 08-05-2004 07:21 AM
assistance with an algorithm mandrake_linux Programming 3 07-27-2001 04:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration