Self-Tuning Spectral Clustering
-->http://www.vision.caltech.edu/lihi/Demos/SelfTuningClustering.html
I tried to operate the ZPclustering code, but it shows me some errors as follows, and it is because I'm using 64-bit matlab (on Windows 7).
------------------------------------------
>> test_segimage
Building affinity matrix took 0.063324 second
Error using dist2aff
Function "mxGetIr_700" is obsolete.
(64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option. See the R2006b release notes for more details.)
Error in segment_image (line 65)
tic; W = dist2aff(D,SS); ttt = toc;
Error in test_segimage (line 11)
[mask] = segment_image(IM,R,G1,'SS','KM',0.1);
------------------------------------------
I modified the mex files
dist2aff.cppevrot.cppscale_dist.cppzero_diag.cpp
And, I typed like follows in matlab command window:
>> mex -O -largeArrayDims -c dist2aff.cpp
>> mex -O -largeArrayDims -c scale_dist.cpp
>> mex -O -largeArrayDims -c zero_diag.cpp
>> mex -O -largeArrayDims -c evrot.cpp
>> mex -O -largeArrayDims
>> mex -O -largeArrayDims
>> mex -O -largeArrayDims
>> mex -O -largeArrayDims evrot.obj
After that, it opertes well.
'Computer Vision' 카테고리의 다른 글
TCPM (Tree Structured Parts Model) Tutorial (0) | 2016.04.12 |
---|---|
Generating the feature of GLOC (0) | 2014.10.09 |
Logistic Regression에 대한 간단한 설명 (0) | 2013.06.26 |
Kristen Grauman - Visual Object Recognition and Image Search (0) | 2013.06.12 |
Kristen Grauman - Special Topics in Computer Vision, Spring 2010 (1) | 2013.06.05 |