|
|
|
@ -169,9 +169,9 @@ void HotPixelFixer::interpolate (Digikam::DImg &img, HotPixel &hp, int method)
|
|
|
|
|
weightPixels (img,hp,LINEAR_INTERPOLATION,TWODIM_DIRECTION,sixtBits ? 65535: 255);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case TQUADRATIC_INTERPOLATION:
|
|
|
|
|
case QUADRATIC_INTERPOLATION:
|
|
|
|
|
// (Bi)quadratic interpolation.
|
|
|
|
|
weightPixels (img,hp,TQUADRATIC_INTERPOLATION,TWODIM_DIRECTION,sixtBits ? 65535 : 255);
|
|
|
|
|
weightPixels (img,hp,QUADRATIC_INTERPOLATION,TWODIM_DIRECTION,sixtBits ? 65535 : 255);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case CUBIC_INTERPOLATION:
|
|
|
|
@ -199,7 +199,7 @@ void HotPixelFixer::weightPixels (Digikam::DImg &img, HotPixel &px, int method,
|
|
|
|
|
case LINEAR_INTERPOLATION:
|
|
|
|
|
polynomeOrder=1;
|
|
|
|
|
break;
|
|
|
|
|
case TQUADRATIC_INTERPOLATION:
|
|
|
|
|
case QUADRATIC_INTERPOLATION:
|
|
|
|
|
polynomeOrder=2;
|
|
|
|
|
break;
|
|
|
|
|
case CUBIC_INTERPOLATION:
|
|
|
|
|