This function divides the MAT matrix in windows of WLines lines and WColumns columns, then in each one of these windows it is calculated the mean value of all elements. With theirs information is created a new matrix MATW with the same size and windows of MAT, and the mean values in the MAT matrix are replaced in all elements, for each window, in the MATW matrix. After starting the main routine just type the following command at the prompt: MATW = mwindowing(MAT,WLines,WColumns); Mean values, of the elements in the window of 8x10 pixels, in the MAT matrix. MATW = mwindowing(MAT,8,10); Input: MAT is a matrix with NLIN lines and NCOL columns. WLines is the number of lines in each analysis window. WColumns is the number of columns in each analysis window. Output: MATW is a matrix with the mean values, of the elements in the window of WLinesxWColumns pixels, in the MAT matrix. For help, bug reports and feature suggestions, please visit: http://nongnu.org/bsltl/
Package: bsltl