I get an unhandled exception using edison_wrapper. Anyone else experiencing this?
MATLAB Version: 184.108.40.2061 (R2008b)
Operating System: Microsoft Windows Vista
Window System: Version 6.0 (Build 6002: Service Pack 2)
Processor ID: x86 Family 6 Model 7 Stepping 6, GenuineIntel
Virtual Machine: Java 1.6.0_04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: windows-1252
Vista x64 might be the problem, but I have recompiled the wrapper.
For image you have
17 Oct 2008
good code and working straight away but there is no option to set weights to the clustered points
also a brief help file would be useful (to describe parameters and so on)
22 Jul 2008
I have downloaded this code, and tested in my pc'matlab6.5 R13. But there are still two errors happened. The error is reported as " The Error in ==> C:\MATLAB6p5\work\RectifKitU\MeanShift\MeanShiftCluster.m
On line 99 ==> clusterVotes(numClust,:) = thisClusterVotes; "
??? Subscripted assignment dimension mismatch."
I don't know how to solve this problem for the code. Could any one kind help me?
12 Jun 2008
can I use to vibration data.
please send the answer to my email :
22 May 2008
Rob, by padding you mean adding a row containing only zeros ? Indeed using a 1D vector (a grayscale image vectorized) the code crashes as you say.
What does the "bandwitdh" parameter stand for ? Is it the window size ?
24 Apr 2008
It is good base code:
However I believe that the author is using something closer to a nadaraya-watson estimator (When he takes the:
Mean = mean(dataPts:,inInds),2);
He states he is using a 'flat' or epanechnikov kernal and the computation is different:
See: Dorin Comaniciu "Mean Shift: A Robust Approach Toward Feature Space Analysis" IEEE Transactions on pattern analysis and machine intelligence, Vol. 24, No. 5, May 2002.
By altering this and making a few other minor edits this is excellent code to start from to customize to the users requirements.
the computation of 'sqDistToAll = sum(...)' makes the assumption that the user passes more than a 1D data... so if you passed just gray levels of an image in a 1D array the code will crash, however if you passed a LUV image, (3 elements per pixel) it would work. alternately you can pad the input data with a redundant row or alter the code to check for a single row input and perform the slightly modified but same computation.
27 Mar 2008
25 Dec 2007
i want to do it for color image segmentation how to do pls help me
18 Jun 2007
It's good but some problem occures when running on the matlab ver 6.5.
To aboide this modify like that
"zeros(1,numPts,'unit8');" -> "zeros(1,numPts);"
22 Mar 2007
I would like to subscribe the algorithm mean shift .
17 Mar 2007
clustering algorithm on images?
You may prepare the data in 1D(gray scale), 3D (RGB or x,y,I;in gray scale) or 5D (x,y,R,G,B) then go with mean shift.
05 Jan 2007
The code is good, while more examples can further improve the quality.
03 Jan 2007
Can anyone provide some help for me on how to use this clustering algorithm on images?
27 Nov 2006
i too not undestand to used to image, there are some body help me?
13 Nov 2006
14 Oct 2006
see D. Comaniciu PH.D Thesis about clustering or applying mean shift to image!
01 Sep 2006
Hello every body
I have to use the mean-shift algorithm for finding the modes of a
image histogram. is there anyone that have an M-file to do this?
Thanks in advance.
20 Jul 2006
How to use it for image?
29 May 2006
I changed the following lines into MeanShiftCluster.m and now it works: