int getMap(SEAM_MAP *map,int row,int col);
A macro that returns the seam number of a pixel in the original image.
- map
- Pointer to the Map object to read.
- row
- Row of the pixel in the original image.
- col
- Column of the pixel in the original image.
Returns the 1-based number of the seam that the pixel belongs to.
Hayden Walles
2015-09-02