LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 02: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, 11: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, 10: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, 11:35 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:54 PM
Which sorting algorithm? nodger Programming 6 01-28-2005 07:13 PM
Airsnort Algorithm inthefuture Linux - Security 1 08-26-2004 11:01 PM
Do you memorize the algorithm?For... shakedown1987 Programming 5 08-05-2004 08:21 AM
assistance with an algorithm mandrake_linux Programming 3 07-27-2001 05:03 AM


All times are GMT -5. The time now is 06:26 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration