Watch this Author's files
For those who have problems using it, here is an example of how to launch it (eye.jpg is a 480x360 image of an eye):
[ci,cp,out] = thresh(eye,50,400);
Do the job
What everyone should use (even just partially) to quickly and nicely make their templates.
Awesome function! I now use it a nearly all my simulations. You can very easily sort your figure just by doing (for example):
h(1) = figure();
h(2) = figure();
h(3) = figure();
h(4) = figure();
h(5) = figure();
And that's it! All your figures are placed correctly on the screen so you can analyse easily and conveniently all your results. A must have.