Ask Your Question
0

gradient of the image

asked 2014-08-26 06:09:49 -0600

jamesnzt gravatar image

image description

How the gradient of the image is calculated? 
is the second image a gradient image?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-26 07:06:18 -0600

Okay first of all some questions for you

  1. Is this an image you processed with openCV code? If so please add your code to reach this result. Or did you just copied it from the net?
  2. You want just a basic explanation on image gradients?

Basically image gradients are the change in intensity values of a grayscale image over the locations, the higher the change in intensity the more edge you will detect in the gradient.

However this image doesn't look like a gradient image at all ... so I am asking you where you get this from.

How to calculate the gradient can be read here.

How to create this using openCV can be read here with a correctly working example. This example uses the sobel operator for the functionality, which is one way of calculating gradients.

And to answer to the second question, that is NOT a gradient image, unless there is something very wrong...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-26 06:09:49 -0600

Seen: 283 times

Last updated: Aug 26 '14