lqr_carver_bias_set_energy_function_builtin — set a builtin energy function for a LqrCarver object
#include <lqr.h>
| LqrRetVal lqr_carver_set_energy_function_builtin( | LqrCarver* carver, | 
| LqrEnergyFuncBuiltinType ef_ind ); | 
                        The function lqr_carver_set_energy_function_builtin allows to pick a
                        builtin energy function for the LqrCarver object pointed to by carver.
                    
                        The possible values for ef_ind are:
                        
LQR_EF_GRAD_XABSabsolute value of the brightness gradient in the direction of the rescaling (this is the default)
LQR_EF_GRAD_SUMABSsum of absolute values of the brightness gradients in both directions
LQR_EF_GRAD_NORMnorm of the brightness gradient
LQR_EF_LUMA_GRAD_XABSabsolute value of the luma gradient in the direction of the rescaling
LQR_EF_LUMA_GRAD_SUMABSsum of absolute values of the luma gradients in both directions
LQR_EF_LUMA_GRAD_NORMnorm of the luma gradient
LQR_EF_NULLnull
All of the above gradient functions have a radius of 1 pixel.