func NewCatmullRom() *CatmullRom {
	return &CatmullRom{}
}
NewCatmullRom creates a new Catmull-Rom filter
package resize
import "math"
type Filter interface {
	Interpolate(float64) float64
	GetS() float64
}
type Linear struct{}
func NewLinear() *Linear {
	return &Linear{}
}
func (r *Linear) Interpolate(x float64) float64 {
	x = math.Abs(x)
	if x < 1.0 {
		return 1.0 - x
	}
	return 0
}
func (r *Linear) GetS() float64 {
	return 1.0
}
type CatmullRom struct{}