hw/hw5/SeamCarver.java
public int[] findHorizontalSeam() {
        energy = transpose(energy);
        int[] vSeam = findVerticalSeam();
        energy = transpose(energy);
        return vSeam;
    }
/** sequence of indices for horizontal seam */
sequence of indices for horizontal seam
sequence of indices for horizontal seam
public int[] findHorizontalSeam() {
        energy = transpose(energy);
        int[] vSeam = findVerticalSeam();
        energy = transpose(energy);
        return vSeam;
    }
public int [ ] findHorizontalSeam ( ) { energy = transpose ( energy ) ; int [ ] vSeam = findVerticalSeam ( ) ; energy = transpose ( energy ) ; return vSeam ; }
sequence of indices for horizontal seam
sequence of indices for horizontal seam