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

6 visualizaciones (últimos 30 días)
how to calculate no. of edge pixel of a image for a particular(e.g sobel edge detector) edge detector using matlab

Respuestas (3)

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

Anand
Anand el 23 de Feb. de 2016
bw = edge(I,'sobel');
edgePixels = nnz(bw)

bindu bansal
bindu bansal el 5 de Dic. de 2019
Anybody pl help me to implement paper "a classification algorithm to distinguish Image as Haze or non-Haze".... thanks in advance

Community Treasure Hunt

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

Start Hunting!

Translated by