1 / 14

Using Script-Fu in the GNU Image Manipulation Program to Automate “Smart” Sharpening

Using Script-Fu in the GNU Image Manipulation Program to Automate “Smart” Sharpening. Benjamin Bucior <ben.bucior@gmail.com> Northwest Guilford High School, Greensboro, NC Summer Ventures in Science and Math Visual and Image Processing Rahman Tashakkori and Jere Miles

mbarba
Télécharger la présentation

Using Script-Fu in the GNU Image Manipulation Program to Automate “Smart” Sharpening

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Script-Fu in the GNU Image Manipulation Program to Automate “Smart” Sharpening Benjamin Bucior <ben.bucior@gmail.com> Northwest Guilford High School, Greensboro, NC Summer Ventures in Science and Math Visual and Image Processing Rahman Tashakkori and Jere Miles Appalachian State University July 28, 2007

  2. Background/Objectives • Gimp- GNU Image Manipulation Program • Free, open-source, similar to Photoshop • Convolution matrices, Unsharp mask sharpening, “Smart” sharpening • Script-Fu, Scheme, Parenthesis • Goals: Compare methods of image sharpening, automate “smart” sharpening with Script-Fu

  3. Gimp and “Smart” Sharpening works in Windows, Linux, BSD, Solaris, and OS X

  4. Methods • Understand Script-Fu • Procedure Browser • Kate/Notepad++ • Common bugs: • gimp_image_new vs. gimp-image-new • (set! var car(value)) vs. (set! var (car (value))) • string_value vs. “string_value”

  5. “Smart” Sharpening • Duplicate image, extract Value channel from HSV • Create sharpening layer on original image using Value channel • Edge detect duplicate image, filter results • Add edge mask to sharpening layer • Unsharp mask on sharpening layer • Technique by Eric R. Jeschke, tutorial at http://gimpguru.org/Tutorials/SmartSharpening2/

  6. Results • Compare different sharpening techniques on an image, evaluate advantages/disadvantages • Original image, Convolution matrix, Unsharp mask, “Smart” sharpening • Photo of trellis at Boone Gardens

  7. Original Image

  8. Convolution Matrix

  9. Unsharp Mask

  10. “Smart” Sharpening

  11. Convolution Original Unsharp “Smart”

  12. Conclusions • “Smart” sharpening was best method • Unsharp masking second • Photos of plants • Anti-aliasing: “jaggies” • Script-Fu easy, could automate other common processes (5 days) • Tweaking parameters improves restoration • “Smart” sharpening ineffective on heavy blurring • Script could be improved

  13. Future Work • “Smart” sharpening script: • More options (guided process, more undo levels) • Allow script to batch process images • Determine better default parameters • Photo restoration: • Red-eye removal • Reduce image noise • Correct heavy blurring

  14. Acknowledgements • My parents: Andrew Bucior, Jr., and Barbara Bucior • My siblings: Andrew Bucior III, Matthew Bucior, Sarah Bucior, and Samuel Bucior • The Gimp Developers and Documentation Team • Eric R. Jeschke • http://portableapps.com/ (Gimp Portable) • Dr. Rahman Tashakkori and Jere Miles • Counselors at Summer Ventures • Ryan Belt and Allison Nelson

More Related