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

3 ビュー (過去 30 日間)
how to calculate no. of edge pixel of a image for a particular(e.g sobel edge detector) edge detector using matlab

回答 (3 件)

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

Anand
Anand 2016 年 2 月 23 日
bw = edge(I,'sobel');
edgePixels = nnz(bw)

bindu bansal
bindu bansal 2019 年 12 月 5 日
Anybody pl help me to implement paper "a classification algorithm to distinguish Image as Haze or non-Haze".... thanks in advance
  1 件のコメント
Image Analyst
Image Analyst 2019 年 12 月 5 日
The Mathworks would like to do that with you. Call them and say that you want to talk with the "Consulting" department.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by