I was wondering if you guys know of any image segmentation code out there? I'm trying to do region-based segmentation, where each pixel begins as being a member of its own 'cluster' and you aggregate pixels together based on some criterion (distance formula, etc). I tried developing my own, but it doesn't work as well as I wish it would. I tried searching on the internet for one, but was unable to find anything. Anyone know of any code available online for this?
I'm currently working in matlab, but I'll take code in any format (C/C++, OpenCV, Matlab, etc). Thanks for any help!