;;; reduce-noise.scm v0.1 ;;; Copyright (c) 2004 John Hall (jhall@alum.wpi.edu) ;;; ;;; A Script-Fu script for The GIMP to automate a technique to reduce ;;; CCD (sensor) noise. ;;; ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 2 of the License, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program; if not, write to the Free Software ;;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ;;; ;;; ;;; Revision history: ;;; ;;; v0.1: - First public release ;; Applies a selective gaussian blur to reduce CCD sensor noise in an ;; image. ;; ;; This method is described by Eric R. Jeschke here: ;; http://www.gimpguru.org/Tutorials/ReducingCCDNoise/ ;; ;; Eric R. Jeschke demonstrates a selective gaussian blur with a ;; radius of 2.00 and a max. delta of 101. However, I find that less ;; aggressive numbers yield better results. Your mileage may vary. (define (script-fu-reduce-noise image drawable) (plug-in-sel-gauss TRUE image drawable 1.00 75) (gimp-displays-flush) (list image)) (script-fu-register "script-fu-reduce-noise" "/Script-Fu/Enhance/Reduce Sensor Noise" "Performa a smart sharpen on an image." "John Hall" "John Hall" "2004" "" SF-IMAGE "The image" 0 SF-DRAWABLE "The layer" 0)