ImageTransformations.jl
Key functions
The exported functions in this package include
-
restrictfor 2-fold down sampling -
imresizefor arbitrary resizing -
imrotatefor image rotation -
warpfor general image warping, and related functions-
WarpedView -
warpedview -
InvWarpedView -
invwarpedview
-
These functions all have docstrings that give more details about their usage.
There are in-place version of many of the functions, e.g., imresize! etc.
Examples
-
Resize
using ImageTransformations, TestImages
img = testimage("mandrill")
img_small = imresize(img, ratio=1/8)
img_medium = imresize(img_small, size(img_small).*2)
Resulting images (small and medium):

-
Warping
using ImageTransformations, TestImages, CoordinateTransformations, Rotations
img = testimage("camera");
# define transformation
trfm = recenter(RotMatrix(pi/8), center(img));
imgw = warp(img, trfm);
Resulting image: 