Fred's ImageMagick Scripts
Latest Updates: |
|
Automatically thresholds an image to binary (b/w) format using an adaptive spatial subdivision color reduction technique.
|
original |
thresholded |
|
Generates a perspective view of a 3D box at any orientation with pictures pasted on each of its sides
|
example 1 |
example 2 |
example 1: example 2: |
|
Applies a perspective distortion to an image by providing rotation angles, zoom and offsets.
|
original |
modified |
pan=45 degrees |
|
Converts text into an image with a 3D extrusion effect.
|
|
|||
|
Appends multiple images together with positional justification.
|
3 center aligned appended images |
|||
|
Creates a gradient effect at a specific orientation angle.
|
standard gray |
red 30 degrees |
||
|
Resizes an image to a specific size allowing either cropping or padding to deal with the aspect ratio change.
|
original |
cropped |
padded |
|
Automatically color balances an image.
|
original |
color |
|
Modifies an image to automatically apply a gamma correction.
|
original |
colormode |
colormode |
|
Modifies an image to automatically stretch the dynamic range between full black and white and automatically apply a gamma correction.
|
original |
colormode |
colormode |
|
Automatically trim the background border around a normally oriented or rotated image.
|
original |
trimmed |
|
Automatically adjusts the white balance of an image.
|
original |
method 1 |
method 2 |
|
Changes the brightness, contrast and/or saturation of an image
|
|
|
mapping graph |
|
Modifies one image to try to match its brightness, contrast and optionally saturation to that of another image
|
reference |
dark |
enhanced |
|
Generates a proper four-point bilinear warp of the input image.
|
original |
warped |
|
Generates high pass or low pass filtered images using a convolution kernel whose weights are derived from the binomial coefficients.
|
original |
high pass |
low pass |
|
Sharpens (or blurs) an image near edges using a Binomial shaped filter.
|
original |
sharpening |
sharpening |
|
Creates various dispersion-like effects in the border of an image.
|
original |
example 1 |
example 2 |
|
Creates various grid effects in the border of an image.
|
original |
example 1 |
example 2 |
|
Applies or reverses a warp of an image onto a bubble.
|
original |
polar warp |
rect warp |
|
Applies a hemispherical-like bump distortion to an image.
|
original |
bump |
masked bump |
|
Creates a six-alphanumeric-character image for use as a challenge response test.
|
|
|||
|
Stretches the channels of an image to full black and white according to a clip amount on each end of the histogram.
|
original |
colormode |
colormode |
|
Generates a spectrum-like image from the colors in an image.
|
original |
|
|
Transforms an image's overall color balance according to a desired color temperature change.
|
original |
5000 deg K |
8000 deg K |
|
Generate a smoothly interpolated, curved mapping look up table from a set of break points and applies it to an image
|
|
|
mapping graph |
|
Generate a smoothly interpolated, curved mapping look up table from a set of break points and applies it to an image
|
|
|
|
|
Corrects for fisheye distortion in an image.
|
original |
corrected |
|
Applies a first directional derivative filter to an image to extract certain edges.
|
original |
45 degree |
225 degree |
|
Applies a dispersion effect to an image
|
original |
example 1 |
example 2 |
|
Changes the exposure level of an image
|
original |
brighter |
darker |
|
Feathers (smoothes) the white-to-black transition in a binary mask image.
|
binary |
feathered |
feathered composite |
|
Applies a fisheye distortion to an image.
|
original |
linear |
|
Generates a strip panoramic image from a linear type fisheye image with optional vertical perspective correction.
|
fisheye |
|
||
|
Generates a perspective (rectilinear) image from a region of a vertically viewed fisheye image.
|
fisheye |
|
|
Displays and optionally save an animation of the input images.
|
original |
sharpened |
flicker |
|
Displays and optionally save an animation of the channels in an image.
|
|
rgb |
hsl |
|
Automatically thresholds an image to binary (b/w) format using the fuzzy c-means technique.
|
original |
thresholded |
|
Creates an animated transition between two images using a special effect distortion
|
image 1 |
image 2 |
transition |
|
Generates high pass or low pass filtered images based upon a Gaussian shaped convolution.
|
original |
high pass |
low pass |
|
Sharpens (or blurs) an image near edges using a Gaussian shaped filter.
|
original |
sharpening |
sharpening |
|
Modifies an image so that it appears to be viewed through textured and/or tiled glass.
|
original |
displace |
overlay |
|
Creates a glowing effect in an image
|
original |
Glow |
Soft Glow |
|
Applies a gradient filter to an image to extract edges.
|
original |
gradient |
gradient |
|
Superimposes a set of horizontal and/or vertical grid lines on an image.
|
original |
black |
white |
|
Applies a circular halo to an image.
|
original |
halo 1 |
halo 2 |
|
Modifies one image to try to match its histogram and optionally saturation to that of another image
|
reference |
dark |
enhanced |
|
Generates an output image which is composed of the histograms from each channel of the image, with options for labeling and color presentation scheme.
|
original |
histogram |
histogram |
|
Appends an image border by extending the outer regions of the image.
|
|
result |
|
Automatically thresholds an image to binary (b/w) format using the isodata technique.
|
original |
thresholded |
|
Reduces isolated noise in an image.
|
noisy image |
isonoise filtered |
|
|
Applies a kaleidoscope effect to an image
|
original |
3 sides; edge |
3 sides; mirror |
|
Automatically thresholds an image to binary (b/w) format using Kapur's entropy technique.
|
original |
thresholded |
|
Automatically thresholds an image to binary (b/w) format using the k-means technique.
|
original |
thresholded |
|
Applies a laplacian filter to an image to extract edges or sharpen the image.
|
original |
sharpened |
laplacian |
|
Applies a color level transformation to an image channel-by-channel.
|
original |
increased |
negated |
|
Thresholds an image to binary (b/w) format using a moving window adaptive thresholding approach.
|
original |
thresholded |
|
Applies a magnifying glass effect in a local area of an image.
|
original |
circle |
square |
|
Isolates a contiguous region of an image based upon a color determined from a user specified image coordinate.
|
original |
color |
boundary |
|
Maps or translates one set of colors in an image to another set of colors
|
original |
color mapped |
|
Creates a melting-like blur effect in an image
|
original |
South |
East |
|
Creates a mirror effect in an image
|
original |
West |
NorthEast |
|
Performs binary or grayscale morphologic operations on an image, including dilate, erode, open and close.
|
original |
close |
open |
|
Applies various mottle effects to an image.
|
original |
displace |
blend |
|
Finds the nearest color value in an image to a reference color
|
original |
|
|
Enhances the dynamic range of brightness values and optionally saturation values in an image by analyzing and linearly stretching the image's histogram.
|
|
|
mapping graph |
|
Automatically thresholds an image to binary (b/w) format using Otsu's between class variance technique.
|
original |
thresholded |
|
Applies vertical perspective correction to an angular panoramic image
|
panorama |
|
tilt perspective correction |
|
Adds a picture frame around an image
|
|
framed |
|
Applies or corrects pincushion and/or barrel lens distortion to an image
|
|
|
|
|
Creates a pixelized or blocky effect in an image
|
original |
size 5 |
size 7 |
|
Generates and applies a piece-wise linear mapping look up table to an image
|
|
|
mapping graph |
|
Generates a piece-wise linear mapping look up table (image)
|
|
|
mapping graph |
|
Applies either a rectangular (cartesian) to polar transformation or a polar to rectangular (cartesian) transformation on an image
|
original |
rect2polar |
polar2rect |
|
Generates a profile of an image row or column.
|
original |
|
|
|
Generates a pseudocolored image or pseudocolored animation from a grayscale image using a rainbow colored transformation.
|
original |
pseudocolor |
look up table |
|
Creates a recursive affine composite effect in an image
|
original |
example 1 |
example 2 |
|
Modifies an image so that its (grayscale) histogram has a Gaussian,
sometimes called normal or bell-shaped, distribution.
|
original |
enhanced |
modified |
|
Enhances detail and color in an image using the multiscale retinex algorithm.
|
original |
enhanced |
enhanced |
|
Automatically color balances an image.
|
original |
water-like |
|
Applies a perspective distortion to an image by providing rotation angles and automatically scale to the same size as the input image
|
original |
modified |
pan=45 degrees |
|
Automatically thresholds an image to binary (b/w) format using Sahoo's entropy technique.
|
original |
thresholded |
|
Changes the color saturation in an image.
|
original |
increased |
decreased |
|
Generates a channel-by-channel scatter diagram between two images.
|
image 1 |
image 2 |
scatter |
|
Generates a scatter diagram between channels of an image.
|
image |
scatter |
|
Creates a shape morphing animation sequence between two images.
|
image 1 |
image 2 |
morph |
|
Adaptively sharpens an image or extract edges.
|
original |
sharpening |
edge |
|
Adaptively sharpens (or blurs) an image near edges.
|
original |
sharpening |
sharpening |
|
Applies a skew distortion to an image.
|
|
|
vertical |
|
Applies a spatially adaptive contrast (and brightness) enhancement filter to an image.
|
original |
adaptively |
|
Warps an image onto a (hemi-)sphere.
|
original |
black |
image |
|
Draws a spline curve on an image based upon supplied points.
|
kbs |
bspline |
|
Generates a side-by-side append of two partial images with an option to animate the amount of each image used in the append.
|
original |
pseudocolor |
animation |
|
Resizes an image and squares it up either by padding or cropping.
|
original |
pad |
crop |
|
Applies a starburst pattern to an image
|
original |
added |
|
|
Computes a pixel-by-pixel standard deviation or variance image from multiple input images.
|
Image 1 |
Image 2 |
Standard |
|
Applies various statistical filters primarily to reduce noise in an image.
|
noisy |
arithmetic mean |
arithmetic mean |
|
Modifies an image to automatically stretch the dynamic range between full black and white.
|
original |
colormode |
colormode |
|
Applies radial or circular striations to image.
|
original |
radial |
circular |
|
Creates a 'stuttered' offset-like effect in an image
|
original |
horizontal |
vertical |
|
Processes a scanned document of text to clean the text background.
|
original |
processed | |||||
|
Convert text to an image after applying various effects, styling and color.
|
Bulge Effect | |||
|
Applies a color tint to the mid-range of a grayscale image.
|
original |
grayscale |
tinted |
|
Applies an animated transition between two images.
|
image 1 |
image 2 |
transition |
|
Automatically thresholds an image to binary (b/w) format using the triangle technique.
|
original |
thresholded |
|
Smoothly colorizes a grayscale image with either one, two or three different colors.
|
original |
grayscale |
colorized |
|
Trims the background from any number of specified sides of an image.
|
original |
east side |
east,west sides |
|
Creates a tunnel-like effect on an image
|
original |
mode 1 |
mode 2 |
|
Automatically unrotates a rotated image and trims the surrounding border.
|
rotated |
unrotated |
|
Applies a variable blur to an image based upon a mask image
|
image |
mask |
blurred |
|
Transform an image's overall color balance according to a desired change in a specified white point color.
|
original |
modified |
|
Processes a picture of a whiteboard to clean up the background and correct the perspective.
|
original |
enhanced |
|
Applies a radial or zoom blur to an image
|
original |
zoom |
more zoom |
|
OTHER USEFUL SCRIPTS Anthony Thyssen's Image Comparison Animation Script |
|
USEFUL LINKS ImageMagick Pseudo-Image Formats |
|
USEFUL IMAGEMAGICK INFORMATION COMMANDS (as of IM 6.3.5.7) |
|
| convert -list | list all functions |
| convert -list list | list all -list options |
| convert -list channel | list of all image -channel options |
| convert -list command | list all commands |
| convert -list color | list of all color names and values |
| convert -list colorspace | list of all -colorspace options |
| convert -list compose | list of all -compose options |
| convert -list configure | list of your IM version information |
| convert -list decoration | list of all text decorations |
| convert -list filter | list of all -filter options |
| convert -list font | list of all supported fonts (on your system) |
| convert -list format | list of all image formats |
| convert -list gravity | list of all -gravity positioning options |
| convert -list primitive | list of all -draw primitive shapes |
| convert -list style | list of all text styles |
| convert -list threshold | list of all dither/halftone options |
| convert -list type | list of all image types |
| convert -list virtual-pixel | list of all -virtual-pixel options |
|
TESTS USING IM Perfectly Clear™ Versus Other Advanced Enhancement Techniques |