SXM logo 64

A-Z Index   |   FAQs   |   File Formats   |   Home   |   Macros   |   Menu Items   |   Misc   |   Shortcuts


File
Edit
Options
Process
Analyze
Video
Macros
Stacks
SEM
SPM
Windows
Help

Smooth
Sharpen
Shadow
Find Edges
Rank Filters
Dither
Convolve
PlugIn Filters

Binary >
Arithmetic >
Image Math
FFT >
Subtract Background >
Apply LUT
Enhance Contrast
Equalize
Fix Colors

Differential
Curvature

Unsharp Mask
Hough Transform

NIH Image

Does spatial convolutions using kernels read from a text file or text window. Kernels can be up to 63 x 63 in size. Output pixel values are clipped to 8-bits unless Scale Convolutions is checked in the Preferences dialog box. Use NIH Image's built-in text editor to create or examine these kernels. As an example, use the New command to open a blank text window, enter (or paste) the following kernel, then use the Convolve command to try it out.

0 0 0
–1
–1
–1
0
0
0
0
–1
–1
–3
–3
–3
–1
–1
0
0
–1
–3
–3
–1
–3
–3
–1
0
–1
–3
–3
6
13
6
–3
–3
–1
–1
–3
–1
13
24
13
–1
–3
–1
–1
–3
–3
6
13
6
–3
–3
–1
0
–1
–3
–3
–1
–3
–3
–1
0
0
–1
–1
–3
–3
–3
–1
–1
0
0
0
0
–1
–1
–1
0
0
0

This is a 9 x 9 'Mexican hat' filter which will do both smoothing and edge detection in one operation. Each line should be terminated with a carriage return, and the coefficients should be separated by one or more spaces, or a tab. Note that kernels, such as this one, can be opened and displayed as an image using the Import (Text) command.


Steve Barrett     November 2014


S.D.Barrett @ liv.ac.uk