Expand description
An implementation of seam carving. Currently in a pretty rough state. See examples/seam_carving.rs for an example.
Structs§
- An image seam connecting the bottom of an image to its top (in that order).
Functions§
- Draws a series of
seams
onimage
in red. Assumes that the provided seams were removed in the given order from the input image. - Computes an 8-connected path from the bottom of the image to the top whose sum of gradient magnitudes is minimal.
- Returns the result of removing
seam
fromimage
. - Reduces the width of an image using seam carving.