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

Antworten (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 Kommentar

The Mathworks would like to do that with you. Call them and say that you want to talk with the "Consulting" department.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 15 Mär. 2014

Kommentiert:

am 5 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by