Package seamcarving
Interface SeamFinder
- 
- All Known Implementing Classes:
 AdjacencyListSeamFinder,DynamicProgrammingSeamFinder,GenerativeSeamFinder
public interface SeamFinderFinds a horizontal seam through thePicturewith the lowest sum ofEnergyFunctioncosts. A horizontal seam is defined as a path of adjacent or diagonally-adjacent pixels from the left to right edges of an image. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Integer>findSeam(Picture picture, EnergyFunction f)Returns a minimum-energy horizontal seam in the current image as aListof integers representing the vertical pixel index to remove from each column in the width of the horizontal seam. 
 - 
 
- 
- 
Method Detail
- 
findSeam
List<Integer> findSeam(Picture picture, EnergyFunction f)
Returns a minimum-energy horizontal seam in the current image as aListof integers representing the vertical pixel index to remove from each column in the width of the horizontal seam.- Parameters:
 picture- thePicture.f- theEnergyFunction.- Returns:
 - a 
Listof integers representing the vertical pixels to remove. 
 
 - 
 
 -