Package seamcarving

Interface Node

    • Method Detail

      • neighbors

        List<Edge<Node>> neighbors​(Picture picture,
                                   EnergyFunction f)
        Returns the List of right-up, right-middle, and right-down neighbors (if they exist) for this node.
        Parameters:
        picture - the input picture.
        f - the input energy function.
        Returns:
        the List of right-up, right-middle, and right-down neighbors (if they exist) for this node.