help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need example for fisheye effect on images


From: paiuia
Subject: Re: need example for fisheye effect on images
Date: Sat, 22 Sep 2012 02:55:17 -0700 (PDT)

No, a new error 

I = imread('c:\users\ax\desktop\_math\sfera.jpg');
I = double(I);
S = conv2 (I, ones (5, 5) / 25, "same");
[Dx, Dy] = gradient (S);
% rescale and write 
m = max(max( I )); 
imwrite( uint8( I / m * 255 ), "out.png" ); 

 ________________________
Debugger of Octave write:
error: invalid conversion of NDArray to Matrix
error: called from:
error:   C:\Users\ax\Desktop\_math\test_image_smooth.m at line 3, column 3





--
View this message in context: 
http://octave.1599824.n4.nabble.com/need-example-for-fisheye-effect-on-images-tp4644426p4644476.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]