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