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

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)

Assuming you used edge(), which thresholds the edge image, you could just use sum():
numberOfEdgePixels = sum(edgeImage(:));
Anybody pl help me to implement paper "a classification algorithm to distinguish Image as Haze or non-Haze".... thanks in advance

1 commentaire

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.

Question posée :

le 15 Mar 2014

Commenté :

le 5 Déc 2019

Community Treasure Hunt

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

Start Hunting!

Translated by