Click here to Skip to main content
15,886,038 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
1- Do you know any software that I can apply watershed algorithm to 24 bit jpeg images?

2- I ve first tried ooding it and found this website which tells it in C# which I need exactly. http://weblogs.sqlteam.com/mladenp/archive/2008/02/11/Watershed-Image-Segmentation-in-C.aspx[^] But I couldn't handle it implementing the code into my the code I write. Do you have any advises on how to implement the code successfully?
Posted

The closest thing I could find for you is this: the program you can use is ImageJ by National Institutes of Health (http://en.wikipedia.org/wiki/National_Institutes_of_Health[^]), see http://en.wikipedia.org/wiki/ImageJ[^], http://rsb.info.nih.gov/ij/[^].

You might need the plugin for this program for watershed calculations, see http://rsbweb.nih.gov/ij/plugins/watershed.html[^].

—SA
 
Share this answer
 
Comments
XMLB 24-Jul-11 6:44am    
This is definitely what I was looking for. Thank you for your answer and your time.
Sergey Alexandrovich Kryukov 24-Jul-11 12:40pm    
You're welcome.
Good luck, call again.
--SA
You will find an applet there: http://bigwww.epfl.ch/demo/jwatershed/index.html[^]

Unfortunately, it only displays sizes up to 256 x 256.

Two caveats:

- the standard watershed transform is only defined for grayscale images, no color ones.

- you can be surprised by the results, especially with noisy images: the watershed transform strongly oversegments.
 
Share this answer
 
v2
Comments
XMLB 24-Jul-11 6:46am    
Yes it looks like it's over segmenting but that's why I needed it :)
Thank you, as well.
It gives you the full code!
If you "couldn't handle it implementing the code into my the code I write" then how do you expect people who can't see your code, much less modify it to do anything useful?

I assume this is your homework, and you just can't be bothered to try...
 
Share this answer
 
Comments
XMLB 23-Jul-11 13:34pm    
It gives me the full code, that's right but im not into computers and this is not my homework. I'm not even a student. That was just a careless answer.
All I need is the watershed result of 20 medical images I have. I do not need the codes, I do not have to code the software but I couldnt find any software that does that, so I have even tried coding it by almost knowing nothing about programming.

So, as my first question goes, do you know any software that does the watershed?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900