The fast scanning approach

The fast scanning algorithm is another unsupervised image segmentation algorithm. The fast scanning algorithm is efficiently used in food, sport, and medical images. It works by scanning pixels in the image and grouping neighboring pixels that are similar within a predefined threshold.

Julia implements fast scanning algorithms in the fast_scanning function, which is part of Julia's ImageSegmentation package. The fast_scanning function has three input parameters:

  • Image: Color or grayscale
  • Threshold: Float value or matrix in size of the image
  • diff_fn (optional): A custom function that calculates the difference

We will demonstrate the fast scanning algorithm on an identical example of the Felzenszwalb algorithm.  ...

Get Hands-On Computer Vision with Julia now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.