Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

Prewitt Filter
Function
An edge-finding filter.
Version
version:20181228, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments

Works by computing the derivative images in both the x and y directions and then combining them.

System Requirements
Tested on GMS 2.3 but should work with all versions from GMS 2 onwards.

Known Issues

Calculates a total of 12 offset images, so for large images this can be slow.

Supported
Yes.
Included Files
Source code.
Source Code

See attached script