フィルターのクリア

How to change the formula to detect vertical line and horizontal line ??

2 ビュー (過去 30 日間)
Kim
Kim 2012 年 2 月 2 日
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 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by