return window_offset values for bicubic and lbb to the nonintuitive values -> no artifact for lbb, possibly method-based artifacts for bicubic
This commit is contained in:
parent
415ccb5c08
commit
ea7ee9b770
@ -434,7 +434,11 @@ vips_interpolate_bicubic_class_init( VipsInterpolateBicubicClass *iclass )
|
||||
|
||||
interpolate_class->interpolate = vips_interpolate_bicubic_interpolate;
|
||||
interpolate_class->window_size = 4;
|
||||
interpolate_class->window_offset = 1;
|
||||
interpolate_class->window_offset = 2;
|
||||
/*
|
||||
* Note from nicolas: If things were programmed sanely, I
|
||||
* think window_offset should be 1, not 2.
|
||||
*/
|
||||
|
||||
/* Build the tables of pre-computed coefficients.
|
||||
*/
|
||||
|
@ -796,7 +796,11 @@ vips_interpolate_lbb_class_init( VipsInterpolateLbbClass *klass )
|
||||
|
||||
interpolate_class->interpolate = vips_interpolate_lbb_interpolate;
|
||||
interpolate_class->window_size = 4;
|
||||
interpolate_class->window_offset = 1;
|
||||
interpolate_class->window_offset = 2;
|
||||
/*
|
||||
* Note from nicolas: If things were sane, window_offset should be
|
||||
* 1, not 2.
|
||||
*/
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user