How to get the gradient of a pixel?
Show older comments
I am doing block processing on a fingeprint image and I will like to get the gradient of all the pixels in their x and y components separately using a sobel filter. I am doing this block by block.
I saw the function imgradient() but after reading the documentation it seems to be getting the gradient for the whole image that is passed to it, which in my case will be the block, except i understood wrongly, and if i did please help me out or is there any function i can use to get the gradient of just one pixel in the image block.
4 Comments
darova
on 24 Apr 2020
gradient is difference
One pixel has only one value. What kind of gradient do you want to calculate?
Fego Etese
on 24 Apr 2020
darova
on 24 Apr 2020
- i can use to get the gradient of just one pixel in the image block.
I don't understand this sentence
Fego Etese
on 24 Apr 2020
Answers (0)
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!