For the latest version of JMP Help, visit JMP.com/help.

The Scripting Index provides examples for processing images. In JMP, select Help > Scripting Index to view this interactive resource.
"despeckle" removes defects (that is, speckles) from a scanned or captured image (for example, scratches, dust, etc.).
"edge" identifies pixels in an image where the brightness changes sharply and darkens pixels with no sharp change. Edge detection is used to detect changes in surface, depth, material, and lighting.
"enhance" reduces the contrast between pixels in a noisy image.
"median" reduces noise (that is, the random variation) and smooths an image by comparing each pixel’s brightness with its neighbors’ and, if the value is very different, replaces it with the average of the neighbors’ values.
"negate" creates the negative of the color or gray-scale image by changing each pixel color to its complementary color.
"normalize" changes a color image’s pixels to use the full range of the file format’s number system. Normalization will make the image’s colors more intense.
"sharpen" reduces blur by sharpening edges of an image.
"contrast", n brightens or darkens an image. A higher number (>0.0) brightens an image; a lower number (<0.0) darkens an image.
"gamma", n corrects the image visual display (brightness and intensity) to account for differences in monitor hardware. A higher number (> 1.0) lightens the image; a lower number (< 1.0) darkens the image.
"reduce noise", n reduces the random variation (or noise) that occurs with higher ISO sensitivity or longer exposure times.
"gaussian blur", radius, sigma reduces image noise and detail creating a smoother image. Radius is equal to the blur radius around each pixel and sigma is the standard deviation of the Gaussian distribution. Gaussian blur is commonly used when resizing or performing edge detection.
img = New Image( "$DOWNLOADS/Multiframe.tif" );
nframes = img << Get N Frames(); // return 4
img << Set Current Frame( 1 ); // show image 1
win = New Window( "Multi-Frame TIFF", img );
img = New Image( "$SAMPLE_IMAGES/tile.jpg" );
xs = 2;
img << Scale( xs );
New Window( "Tilex 2", img );
 
img = New Image( "$SAMPLE_IMAGES/tile.jpg" );
img << Scale( 2, 0.5 ); // scale image width by 2 and height by 1/2
New Window( "Tile squished", img );
Using Scale is an alternative to getting the size of the image, multiplying by the scale factor, and then setting the size.

Help created on 3/19/2020