How to change the formula to detect vertical line and horizontal line ??
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I only can figure out how to get the horizontal line. And vertical line is just switch the two variables. But how can I combine them together??

% Calculate the Gradients
[dIx, dIy] = gradient(Jgray);
B = abs(dIx) - abs(dIy);
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!