Guest User

Untitled

a guest
Jul 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. s1 = MaxDetect@
  2. LocalAdaptiveBinarize[img, 8, PerformanceGoal -> "Quality"];
  3. s2 = MaxDetect[s1];
  4. s3 = TopHatTransform[s2, 0.74];
  5. s4 = DeleteSmallComponents[s2 - s3];
  6. HighlightImage[img, s4]
Add Comment
Please, Sign In to add comment