Name

lqr_carver_get_ref_height — get the reference height of a LqrCarver object

Synopsis

#include <lqr.h>
gint lqr_carver_get_ref_height(LqrCarver* carver);
 

Description

The function lqr_carver_get_ref_height returns the internal reference height of the image contained in the LqrCarver object pointed to by carver, in pixel units.

The reference height is set as the original height at carver initialization, and reset any time the carver gets subsequently flattened, either explicitly through lqr_carver_flatten(3) or implicitly when the rescale direction changes or an enlargment beyond the maximum enlargement step is performed.

See also

lqr_carver_get_width(3), lqr_carver_get_height(3), lqr_carver_get_ref_width(3), lqr_carver_get_channels(3), lqr_carver_get_col_depth(3), lqr_carver_get_enl_step(3), lqr_carver_flatten(3), lqr_carver_set_enl_step(3), lqr_carver_get_orientation(3)