Computation of Non directional Edge
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
i want to compute non directional edge of an image block, how i can compute, the simple edge method, will return non directional edge? if no please suggest me the solution
0 Commenti
Risposta accettata
Image Analyst
il 29 Gen 2013
You can convolve with the Laplacian, which is like the average edge over all 4 directions (vertical, horizontal, and the two diagonals).
kernel = [-1, -1, -1; -1, 8, -1; -1, -1, -1];
highPassFilteredImage = conv2(double(originalGrayImage), kernel, 'same');
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!