Package seamcarving
-
Interface Summary Interface Description EnergyFunction Determines the energy of a given (x, y) pixel index in aPicture
.Node A node in a graph representation of a picture.SeamFinder Finds a horizontal seam through thePicture
with the lowest sum ofEnergyFunction
costs. -
Class Summary Class Description AdjacencyListSeamFinder Adjacency list graph single-sourceShortestPathSolver
implementation of theSeamFinder
interface.AdjacencyListSeamFinder.PixelGraph Adjacency list graph ofAdjacencyListSeamFinder.PixelGraph.Pixel
vertices andEnergyFunction
-weighted edges.DualGradientEnergyFunction Dual-gradient implementation of theEnergyFunction
interface forPicture
objects.DynamicProgrammingSeamFinder Dynamic programming implementation of theSeamFinder
interface.GenerativeSeamFinder Generative adjacency list graph single-sourceShortestPathSolver
implementation of theSeamFinder
interface.GenerativeSeamFinder.PixelGraph Generative adjacency list graph ofGenerativeSeamFinder.PixelGraph.Pixel
vertices andEnergyFunction
-weighted edges.Picture A digital picture represented as red-green-blue colorint
pixels.SeamCarver Seam carving, an approach for content-aware image resizing.SeamFinderInputSizeExperiments Run timing experiments and save a CSV file for eachSeamFinder
implementation.SeamFinderMultiTest Compare differentSeamFinder
implementations to check that they compute the same values.