Watch this Author's files
Sorry, the function 'impyramid' is not provided and thus, I could not test the code.
It seems like some of the metrics (options) needs Wavelet Toolbox (if there is something like this?), because a lot of functions for WAVS, WAVV and WAVR are missing.
Moreover, it is not exactly clear if an image should be of type uint8 or double or what - however results of some metrics depends on datatype of image.
Quite a useful tool to measure various focus measures.
I was wondering how you got the plot.