// Moir with and without phase-shifting
// 22 April 2014
//
// This software (macro) only runs in the Scilab 4.0 version
// You have to install in Scilab 4.0 the toolbox Siptoolbox and the best way is to install the ImageMagick
// The ImageMagick 6.2.5-5 Q16 Windows version is the one we use. http://www.imagemagick.org/script/binary-// releases.php
// Before run this macro, you have to run the Siptoolbox
//
// Please, refer to this works if you use this macro in your work:
//
// R.A. Braga Jr., B.S. Oliveira, R.M. Costa, A.C.L. Lino, I.M. Dal Fabbro, 
// Suppression of border effects in moir techniques using three-dimensional methods, Biosystems Engineering, 
// 102, 1, 2009, 1-8, ISSN 1537-5110, http://dx.doi.org/10.1016/j.biosystemseng.2008.09.031.
// (http://www.sciencedirect.com/science/article/pii/S153751100800295X)
//
// R.M. Costa, R.A. Braga, B.S. Oliveira, E. Silva, T. Yanagi, J.T. Lima, 
// Sensitivity of the moir technique for measuring biological surfaces, Biosystems Engineering, 
// 100, 3, 2008, 321-328, ISSN 1537-5110, http://dx.doi.org/10.1016/j.biosystemseng.2008.04.011.
// (http://www.sciencedirect.com/science/article/pii/S1537511008001268)
// 
// 
// You can run 2 different macros: (a) Moir 1 grid, where you will run the phaseshifting and (b) Moir // phaseshifting
// 
// I will include in the folder images in order you can test the macros.
//
// If you inprove the software, please, share it with me: robbraga@gmail.com
//
// Enjoy!