Non-binary Edge Detection

조회 수: 4 (최근 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