Module imageproc::seam_carving
source · [−]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
on image
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
from image
.
Reduces the width of an image using seam carving.