画像からの座標の読み取り
Show older comments
読み込んだ画像かからエッジを摘出し、その角の座標を取得したいのですが、エッジを摘出したあとにどうすれば良いのかわかりません。
6 Comments
角の座標とは・・もしサンプル画像があれば具体的に答えやすいのですが、頂くことは可能でしょうか?
Chikako Kuriyama
on 27 Jul 2017
michio
on 27 Jul 2017
道路の画像から白線のエッジを抽出したものでしょうか。「長方形」を描くにはお互いに直行する並行する線分が2セット必要ですが、この画像ではどこに対応しますか? 雑な描画ですいませんが、添付の画像のように欲しい最終結果をお伝えいただけますか?

Image Analyst
on 27 Jul 2017
Looks like something I could maybe help with - if I could understand it.
Chikako Kuriyama
on 27 Jul 2017
michio
on 28 Jul 2017
Image Analyst san, thanks for your offer :) If we see some hard-core image processing issues next time, I'll reach out to you!
Accepted Answer
More Answers (2)
Takuji Fukumoto
on 26 Jul 2017
4 votes
エッジ検出が終わっているということで、2値化された画像をお持ちの状態かと思います。 regionprops関数を利用するとその画像のパラメータを取得することができます。
取得するパラメータは指定したプロパティで決定でき、 どのような画像かによりますが、'BoundingBox'や'Extrema'などが使えるかもしれません。
Chikako Kuriyama
on 27 Jul 2017
0 votes
Categories
Find more on イメージ変換 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!