Image Slice

Authors: Lev Manovich (manovich.lev at
Matias Giachino (matias.giachino at
History: 2012/01/05: First version
Installation: Download Image_Slice.ijm to the plugins/Macros folder, restart ImageJ or click Help>Update Menus and there will be a new Image Slice command in the Plugins/Macros menu.
Description: ImageSlice operates similar to Image>Stacks>Orthogonal Views command. The key differences are: 1) The source images do not have to be loaded into a stack, so they can have different dimensions. 2) The user can specify the width or height of the part of each image used to create a slice.

Image Source: Lets you choose the method for image selection. Folder uses all the images in a specified folder, Folder and Subfolders find all the images in both the specified folder and all subfolders, Data File lets you specify a tab-delimited text file with a column of image filenames to use, Data File as Filepaths works like the Data File option but expects absolute paths to the files instead of just filenames.

Slice Mode: Options for setting the canvas size. Can be set manually, set automatically using the dimensions of the first source image, or computed from the entire image set as either the minimum or maximum size.

Set Height and Set Width: Sets the "thickness" of the image slice (i.e., the width of the column or the height of a row taken from each source image).

X Offset and Y Offset: Determine where in the original images to start the slice.

Offset Units: Determines if the X Offset and Y Offset values are specified using pixel offsets or percentages. 50 percent would sample from the exact center of the source images.

Create Grayscale Image: Forces the slice montages to be in grayscale.


A slice of 72 Vincent van Gogh paintings (sliced along the horizontal axis):

The same set of images sliced along the vertical axis:

See Also: Image>Stacks>Orthogonal Views

| Plugins | Home |