Skip to content
Snippets Groups Projects
Commit fc8513c2 authored by ac's avatar ac
Browse files

add ncd_ssf_volume from leverjs +SSF

parent ababc66f
Branches
No related tags found
No related merge requests found
...@@ -67,8 +67,9 @@ L=D^(-.5)*A*D^(-.5); ...@@ -67,8 +67,9 @@ L=D^(-.5)*A*D^(-.5);
L=Cluster.Regularize(L); % remove the miniscule asymmetry from L L=Cluster.Regularize(L); % remove the miniscule asymmetry from L
[eVec eVal]=eig(L); [eVec eVal]=eig(L);
% ACK CONTROVERSY! WHY STUPID \lambda=1 vector?
X=[eVec(:,end) eVec(:,1:k-1)]; X=[eVec(:,end) eVec(:,1:k-1)];
% X=[eVec(:,1:k)];
if 1 == k if 1 == k
Y = X ./ max(X); Y = X ./ max(X);
else else
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
% package to cell array by t and then pass to in memory FLI%F compressor % package to cell array by t and then pass to in memory FLI%F compressor
function ncd = ncd_ssf_volume(i1,i2) function ncd = ncd_ssf_volume(i1,i2)
[i1,i2] = RSF.quantizePair(i1,i2);
im12 = NCD.catKymographs(i1,i2,1); im12 = NCD.catKymographs(i1,i2,1);
im12 = squeeze(num2cell(im12,[1,2,4])); im12 = squeeze(num2cell(im12,[1,2,4]));
s12 = NCD.flifPress(im12); s12 = NCD.flifPress(im12);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment