src/io/github/marwlod/seam_carving/SeamCarver.java
// sequence of indices for horizontal seam
sequence of indices for horizontal seam
sequence of indices for horizontal seam
public int[] findHorizontalSeam() {
        transpose();
        int[] horizontalSeam = findVerticalSeam();
        transpose();
        return horizontalSeam;
    }
public int [ ] findHorizontalSeam ( ) { transpose ( ) ; int [ ] horizontalSeam = findVerticalSeam ( ) ; transpose ( ) ; return horizontalSeam ; }
sequence of indices for horizontal seam
sequence of indices for horizontal seam
// could be improved to transpose only twice for many consecutive calls to this method