Skip to content

Instantly share code, notes, and snippets.

@vsoch
Last active December 24, 2015 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsoch/6796708 to your computer and use it in GitHub Desktop.
Save vsoch/6796708 to your computer and use it in GitHub Desktop.
NoiseCloud Features
function feature = nc_kurtosis_spatial(spatialMap)
% FEATURE NAME: Kurtosis
% FEATURE TYPE: spatial.gist
% We take a component image, sum the voxel values quadrupled, and divide by the
% number of voxels, subtract 3. We then normalize the value by linear scaling transform of abs(ln(kurtosis))
% This does the same thing as doing kurtosis(curr_network(:))
ICkurt = sum(power(spatialMap,4)) / length(spatialMap(:));
feature = abs(log(ICkurt));
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment