Package seamcarving
Interface Node
- 
- All Known Implementing Classes:
 AdjacencyListSeamFinder.PixelGraph.Pixel,GenerativeSeamFinder.PixelGraph.Pixel
interface NodeA node in a graph representation of a picture. Most nodes will represent real pixels in the picture, but some nodes can also represent concepts such as source nodes and sink nodes that don't represent real pixels.- See Also:
 AdjacencyListSeamFinder,GenerativeSeamFinder
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Edge<Node>>neighbors(Picture picture, EnergyFunction f)Returns theListof right-up, right-middle, and right-down neighbors (if they exist) for this node. 
 - 
 
- 
- 
Method Detail
- 
neighbors
List<Edge<Node>> neighbors(Picture picture, EnergyFunction f)
Returns theListof 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 
Listof right-up, right-middle, and right-down neighbors (if they exist) for this node. 
 
 - 
 
 -