next up previous
Next: Updater functions Up: The Map interface Previous: Deleting a seam map

Reading a seam map

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 2007-10-07