Page 1 of 1

Posted: 2006-07-26T11:48:39-07:00
by magick
ImageMagick does not return an MTF but you can get other types of metrics with the compare program. It returns AE, MAE, MSE, PAE, PSNR, or RMSE.

Posted: 2006-07-26T14:57:21-07:00
by magick
Ok, here's the code we use for gaussian blur:
  • alpha=exp(-((double) u*u+v*v)/(2.0*sigma*sigma));
    kernel=(double) (alpha/(2.0*MagickPI*sigma*sigma));
The kernel width is 2 * radius +1.