set default value of blur for snohalo1 to .3333333 (kind of like Mitchell-Netravali)
This commit is contained in:
parent
016db6a29e
commit
cbe4c044d4
@ -1079,7 +1079,7 @@ vips_interpolate_nohalo2_class_init( VipsInterpolateNohalo2Class *klass )
|
|||||||
gobject_class->get_property = vips_object_get_property;
|
gobject_class->get_property = vips_object_get_property;
|
||||||
|
|
||||||
object_class->nickname = "nohalo2";
|
object_class->nickname = "nohalo2";
|
||||||
object_class->description = _( "Nohalo level 2" );
|
object_class->description = _( "Smoother and more edge-enhancing nohalo1" );
|
||||||
|
|
||||||
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
|
interpolate_class->interpolate = vips_interpolate_nohalo2_interpolate;
|
||||||
interpolate_class->window_size = 6;
|
interpolate_class->window_size = 6;
|
||||||
|
@ -1123,5 +1123,5 @@ vips_interpolate_snohalo1_class_init( VipsInterpolateSnohalo1Class *klass )
|
|||||||
static void
|
static void
|
||||||
vips_interpolate_snohalo1_init( VipsInterpolateSnohalo1 *snohalo1 )
|
vips_interpolate_snohalo1_init( VipsInterpolateSnohalo1 *snohalo1 )
|
||||||
{
|
{
|
||||||
snohalo1->blur = 1.0;
|
snohalo1->blur = 0.3333333;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user