Non-binary Edge Detection

3 次查看(过去 30 天)
Joe
Joe 2013-10-10
评论: Joe 2013-10-10
I'm in the process of writing an image alignment algorithm, and I cannot seem to figure out how to use the edge detection feature without returning a binary image. I've searched multiple forums, but I still can't seem to find an answer. Is there a step I'm missing?
example code:
A = imread('cameraman');
B = edge(A);
imshow(B)
How do I make this a gradient and not binary?

采纳的回答

Jeff E
Jeff E 2013-10-10
You'll want to use the IMGRADIENT function.
  1 个评论
Joe
Joe 2013-10-10
This is exactly what I was looking for. Thank you!

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by