Re: [Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Thomas Lecocq
16:28:11 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [Matplotlib-users] Displaying the gradient of an image > > Hello, > > I finally found the solution. It's as simple as: > figure(); > imshow(img); >

Re: [Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I finally found the solution. It's as simple as: figure(); imshow(img); pylab.quiver(U, V, units='x'); Mathieu -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit

[Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I'm playing with some image processing algorithm (HOG descriptor) and I'm a bit lost. I am a newbie in image processing (especially in python). I have computed the vertical and horizontal gradients of an image (convolution with [-1, 0, 1] on the 0 and 1 axis respectively). After that I