pixarr_data - convert the pixel array data to Scilab format.
convert the pixel array data to Scilab format.
dim=128;arr=[]; for i=1:dim for j=1:dim sgn=i+j; arr=[arr,sgn]; end end pix_arr=pixel_array(dim); pix_arr=set_pix_arr_data(pix_arr,arr); a=pixarr_data(pix_arr);surf(a);
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)