Effacer les filtres
Effacer les filtres

How to smooth binary image

6 vues (au cours des 30 derniers jours)
ijsonvjksrefdsb
ijsonvjksrefdsb le 22 Avr 2023
Commenté : ijsonvjksrefdsb le 25 Avr 2023
I have the binary image below which I want to use Hough Transform to detect the line in the middle. However, it cannot detect it. How can I smooth the image so the line is more easily detectable for the hough function? Thank you

Réponse acceptée

Matt J
Matt J le 22 Avr 2023
Modifié(e) : Matt J le 22 Avr 2023
load BWImage;
BW=(1-entropyfilt(BW,ones([11,5])));
BW=imclose(BW,ones([11,1]));
BW=bwareaopen(BW>0.2,20);
imshow(BW,[])
  7 commentaires
ijsonvjksrefdsb
ijsonvjksrefdsb le 25 Avr 2023
@Image Analyst They used radon on the binary images to get the max and min values for a background subtraction, I attached the paper here, I only followed what they instructed in pages 3-4 for the binary images, then about radon in page 5.
ijsonvjksrefdsb
ijsonvjksrefdsb le 25 Avr 2023
@Matt J I see, I'll check it out, thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by