This function save the images inside of datapack in a set of BMP files. The formation rule of the BMP file names is: If DIRECTORY have length >0 COMPLETE_NAME=[DIRECTORY,filesep,PRENAME,num2str(II),'.bmp']; In the other case COMPLETE_NAME=[PRENAME,num2str(II),'.bmp']; Being II, the number of the saved image. After starting the main routine just type the following command at the prompt: h = datapack_to_bmp(DATA,DIRECTORY,PRENAME); Input: DATA is the speckle data pack. Where DATA is a 3D matrix created grouping NTIMES intensity matrices with NLIN lines and NCOL columns. When N=size(DATA), then N(1,1) represents NLIN and N(1,2) represents NCOL and N(1,3) represents NTIMES. DIRECTORY is the address where the BMP files will be saved. PRENAME is the commom name of the BMP files. Thus if PRENAME='img', then the images will have names as 'img1.bmp','img2.bmp','img3.bmp', ..., etc. Output: h returns de same value of DIRECTORY variable. For help, bug reports and feature suggestions, please visit: http://www.nongnu.org/bsltl
Package: bsltl