Is there any way to detect horizontal and vertical edges ?

3 vues (au cours des 30 derniers jours)
Sudipto Chaki
Sudipto Chaki le 10 Oct 2018
Modifié(e) : Sudipto Chaki le 23 Oct 2018
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.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 10 Oct 2018
Modifié(e) : KALYAN ACHARJYA le 10 Oct 2018
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 commentaire
Sudipto Chaki
Sudipto Chaki le 10 Oct 2018
I need to return Boolean (1) if exists either one. Is it possible using imgradient?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by