필터 지우기
필터 지우기

Is there any way to detect horizontal and vertical edges ?

조회 수: 1 (최근 30일)
Sudipto Chaki
Sudipto Chaki 2018년 10월 10일
편집: Sudipto Chaki 2018년 10월 23일
I have divided the digit image into 6 blocks. Now, I need to detect whether there is horizontal or vertical or both edges in each of the block. The block image is attached.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 10월 10일
편집: KALYAN ACHARJYA 2018년 10월 10일
There are the numbers of ways, it depends on what result you are looking for.
Check here imgradient or Directional gradients of an image (function imgradient )
If you check in Gonzalez book there also mentioned the H and V edge detection (Image Segmentation Chapter)
  댓글 수: 1
Sudipto Chaki
Sudipto Chaki 2018년 10월 10일
I need to return Boolean (1) if exists either one. Is it possible using imgradient?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by