Skip to content

Instantly share code, notes, and snippets.

@ritwikraha
Created January 16, 2020 18:53
Show Gist options
  • Save ritwikraha/4dd5c1d8c3cd3aa1239f6730793005d1 to your computer and use it in GitHub Desktop.
Save ritwikraha/4dd5c1d8c3cd3aa1239f6730793005d1 to your computer and use it in GitHub Desktop.
K=rangefilt(I);
J=stdfilt(I);
Jen=entropyfilt(I);
% finding the correlation between the original image
% and the maximum available texture information
% alternatively use 'corrcoef'
R =corr2(I,max(K,J,Jen));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment