Counting line particales in an image

1 Ansicht (letzte 30 Tage)
Jared Joshi
Jared Joshi am 30 Jun. 2020
Beantwortet: darova am 1 Jul. 2020
Hi, I need a code that can count the number of lines in the photo I've attracted. I've tried many times to write my one but non of them seem to work.

Antworten (1)

darova
darova am 1 Jul. 2020
  • binarize image
  • use imopen to remove thin objects (lines)
  • detect lines
  • use bwlabel to calculate the number of lines

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by