case 0: return new Triangle();
case Image.IP_HERMITE: return new Hermite();
case Image.IP_HANNING: return new Hanning();
case Image.IP_MEDIUMQUALITY:
case Image.IP_HIGHPERFORMANCE:
case Image.IP_HAMMING: return new Hamming();
case Image.IP_BLACKMAN: return new Blackman();
case Image.IP_QUADRATIC:return new Quadratic();
case Image.IP_HIGHQUALITY:
case Image.IP_MEDIUMPERFORMANCE:
case Image.IP_MITCHELL: return new Mitchell();