Package seamcarving

Interface SeamFinder

    • Method Detail

      • findSeam

        List<Integer> findSeam​(Picture picture,
                               EnergyFunction f)
        Returns a minimum-energy horizontal seam in the current image as a List of integers representing the vertical pixel index to remove from each column in the width of the horizontal seam.
        Parameters:
        picture - the Picture.
        f - the EnergyFunction.
        Returns:
        a List of integers representing the vertical pixels to remove.