静止画より道路の白線を認識する方法

5 views (last 30 days)
TOMOHIRO OKA
TOMOHIRO OKA on 17 Oct 2016
Answered: Takuji Fukumoto on 18 Oct 2016
Simulinkで道路の静止画(写真)を読み込み、静止画中の白線を認識し、白線部分を強調表示(赤色)する方法を教えて下さい。 静止画を読み込み、グレースケールに変換し、エッジ抽出し、ハフ変換を使えば認識できると考えてます。 エッジ抽出まではできるのですが、そこからハフ変換、白線部分を強調表示させる方法があかりません。 ご教授いただけると幸いです。

Accepted Answer

Takuji Fukumoto
Takuji Fukumoto on 18 Oct 2016
Computer Vision System toolboxで、Hough transform,Hough linesというブロックが用意されています。
ドキュメントにはSimulinkを使って白線検出をするデモが含まれているので、そちらをごらんになると良いと思います。 http://jp.mathworks.com/help/vision/examples/lane-departure-warning-system-1.html
モデルはこちらのコマンドで起動できます。
vipldws

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!