Class Thin


  • public class Thin
    extends Object
    Thin is an algorithm to thin a binary image using a 3x3 kernel.
    Author:
    Simon Horne.
    • Constructor Detail

      • Thin

        public Thin()
    • Method Detail

      • processSkeleton

        public void processSkeleton​(BinaryFast binary,
                                    int[][] kernel)
        Takes an image and a kernel and thins it the specified number of times.
        Parameters:
        binary - the BinaryFast input image.
        kernel - the kernel to apply.
      • processPruning

        public void processPruning​(BinaryFast binary,
                                   int iterations,
                                   int[][] kernels)
      • processLineendings

        public void processLineendings​(BinaryFast binary,
                                       int[][] kernels)