How to get smooth straight line in binary(im2bw)?

1 visualizzazione (ultimi 30 giorni)
muhammad ismail
muhammad ismail il 22 Gen 2015
Risposto: Image Analyst il 22 Gen 2015
How to get smooth straight line in the middle of this picture in binary(bw). I try using c=im2bw(b,graythresh(b)); but it become rough line. Need straight line as actual image in binary(bw). Thank you.

Risposte (1)

Image Analyst
Image Analyst il 22 Gen 2015
How about using imline()? Or houghlines() or hough()?

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by