next up previous
Next: Transforming coordinates Up: The Unpicker interface Previous: Seam carving

Obtaining the current size

void unpickerCurrentSize(SEAM_UNPICKER *picker, int *widthptr,int *heightptr);

Returns the current size of the specified unpicker. The current size is the size the input image would have reached after the sequence of seam removals already performed via unpickerNextSeam.

picker
Pointer to the unpicker whose size is desired.
widthptr
A pointer to an integer that will receive the current width.
heightptr
A pointer to an integer that will receive the current height.



Hayden Walles 2007-10-07