/* vim: set expandtab tabstop=4 shiftwidth=4 : */ public class SeamCarver { public SeamCarver(Picture picture) { } public Picture picture() { // current picture return null; } public int width() { // width of current picture return 0; } public int height() { // height of current picture return 0; } public double energy(int x, int y) { // energy of pixel at column x and row y in current picture return 0; } public int[] findHorizontalSeam() { // sequence of indices for horizontal seam in current picture return null; } public int[] findVerticalSeam() { // sequence of indices for vertical seam in current picture return null; } public void removeHorizontalSeam(int[] a) { // remove horizontal seam from current picture } public void removeVerticalSeam(int[] a) { // remove vertical seam from current picture } }