Rechercher une page de manuel
lqr_carver_init
Langue: en
Version: 10 Maj 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
lqr_carver_init - activates an LqrCarver objectSYNOPSIS
#include <lqr.h>
- LqrRetVal lqr_carver_init(LqrCarver* carver, gint delta_x, gfloat rigidity);
DESCRIPTION
- The function lqr_carver_init initialises the LqrCarver pointed to by carver, so that it can compute the visibility maps as needed upon calls of lqr_carver_resize.
The parameter delta_x controls the maximum transversal step a seam can make. A value of 0 means straight seams. Normally, it is set to 1.
The parameter rigidity can be used to add a negative bias to non-straight seams, and it is normally set to 0.
Visibility maps must not be loaded with the function lqr_vmap_load when using this function, neither before nor after invoking it.
RETURN VALUE
The return value follows the Liquid Rescale library signalling system.
SEE ALSO
LqrRetVal(3), lqr_carver_new(3), lqr_vmap_load(3), lqr_carver_set_preserve_input_image(3)
COPYRIGHT
Copyright © 2007-2009 Carlo BaldassiContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre