[Scilab-users] Matrix copy

Anton Julio o_nire at yahoo.it
Tue Oct 16 12:20:16 CEST 2012


Hi,
I'm using IPD and SIVP, This is my code

Im = imread('C:\Users\Pictures\Lion2.png');

[h,l,c]=size(Im);
Im2 = zeros(h,l,c);
for m = 1 : 76
    for i = 1*m : 8*m

    for j = 1 : 16
        for k = 1 : 3
             Im2(i,j,k)= Im(i,j,k);
        end;
    end;
end;
end;
imshow(Im2);


and error message

 !--error 17 
: stack size exceeded (Use stacksize function to increase it).
at line     100 of function generic_i_hm called by :  
at line       5 of function %i_i_hm called by :  
            Im2(i,j,k)=a;
at line      17 of exec file called by :    
exec('C:\Users\Pictures\Mosaic.sce', -1)

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121016/e9973206/attachment.htm>


More information about the users mailing list