how to calculate no. of edge pixel of a image for a particular(e.g sobel edge detector) edge detector using matlab

2 vues (au cours des 30 derniers jours)
how to calculate no. of edge pixel of a image for a particular(e.g sobel edge detector) edge detector using matlab

Réponses (3)

Image Analyst
Image Analyst le 15 Mar 2014
Assuming you used edge(), which thresholds the edge image, you could just use sum():
numberOfEdgePixels = sum(edgeImage(:));

Anand
Anand le 23 Fév 2016
bw = edge(I,'sobel');
edgePixels = nnz(bw)

bindu bansal
bindu bansal le 5 Déc 2019
Anybody pl help me to implement paper "a classification algorithm to distinguish Image as Haze or non-Haze".... thanks in advance
  1 commentaire
Image Analyst
Image Analyst le 5 Déc 2019
The Mathworks would like to do that with you. Call them and say that you want to talk with the "Consulting" department.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by