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: Andy Buckle
Subject: Re: need example for fisheye effect on images
Date: Fri, 21 Sep 2012 17:14:47 +0100

On 21 September 2012 16:21, paiuia <address@hidden> wrote:
> Andy and Nicholas thanks,
> I have to study the manual but in the meantime....
> any script or tutorial on mathematical deformation of images with Octave?
>
> With
> I = imread('c:\users\ax\desktop\_math\sfera.jpg');
> S = conv2 (I, ones (5, 5) / 25, "same");
> [Dx, Dy] = gradient (S);
>
> I get error:
> " error: invalid conversion of uint8 matrix to Matrix "
>
> -------------------------------
> Octave 3.2.4
> QtOctave 0.10.1
> Windows 7- 64bit

(I have not tested) but this it=s probably the answer

I =double( imread('c:\users\ax\desktop\_math\sfera.jpg'));

-- 
/* andy buckle */


reply via email to

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