ImageJ 2026-11-05
ImageJ is a Java program for viewing, processing and measuring image data. Its official feature description includes image stacks, selections, calibrated measurements, image thresholding, plugins and recorded macros.[ref] Wayne Rasband and Tiago Ferreira's user guide documents how acquisition metadata and analysis settings affect those measurements.[ref]
For an original numerical measurement example, suppose a selected image region of interest contains gray values 10, 20, 30, 40. Set square pixel pitch to . The selection has four pixels, so its calibrated area and mean image signal are
Changing only the spatial calibration to per pixel changes the reported area to while the mean remains 25. Spatial calibration changes the coordinate interpretation, not the stored gray values. An image thresholding rule retaining values at least 25 selects two pixels, whose total calibrated area under the original scale is .
A reproducible analysis records the original image, selection, spatial calibration, threshold rule and measurement settings. The guide separates spatial Set Scale from intensity Calibrate, and warns that global calibration can affect other open images.[ref] The arithmetic above is stipulated test data, not a screenshot measurement or a result from an unspecified plugin.
Image region of interest 2026-11-05
An image region of interest in ImageJ is an explicit image selection whose geometry and image or slice association are used by subsequent operations. This is the program-level realization of a region of interest; it is not necessarily an object identified automatically by image segmentation. The guide describes selecting, measuring, saving and restoring selections with the ROI Manager.[ref]
For an original two-frame example, let
A fixed selection of the left column has mean 20 in the first frame and 30 in the second. A rule selecting values at least 25 instead selects the lower row in and upper row in ; its mean is 35 in both frames. Thus a fixed geometric selection and a value-derived selection can produce different measurements on exactly the same frames.
A saved selection is not a copy of all underlying pixel data. Reusing it requires the corresponding images and a consistent coordinate interpretation. Record whether the same geometry is applied across an image stack or each frame receives a newly generated selection. The ROI Manager can retain slice associations, while its multi-measure operation can apply selections across slices; these are choices to specify, not evidence that an object has remained stationary.[ref]
Image stack 2026-11-05
An image stack is an ordered collection of related two-dimensional images treated as one dataset. Its index may denote cutting depth, time or another acquisition coordinate: stacking images does not by itself establish a spatial volume. The ImageJ guide distinguishes ordinary stacks from datasets with several independent axes and requires equal image dimensions and bit depth within an ordinary stack.[ref]
For an original spatial example, store 100 grayscale images as an array with shape , where indexes sections and index pixels. If each value occupies two bytes, the raw data require
This excludes metadata and compression. Define the image stack axis calibration explicitly: at lateral pixel pitch and section spacing , a zero-origin convention is
The first and last section centers are apart. Array shape alone does not contain that information.
An index permutation can preserve every stored intensity yet exchange depth and lateral coordinates, giving the wrong geometry if the spacing metadata are not permuted too. Image registration estimates alignment between slices; image segmentation assigns structural labels. Neither operation supplies a missing section's observations. For datasets exceeding memory, an image stack can also be read a slice at a time; the guide's virtual-stack representation keeps the image sequence on disk.[ref]
Image stack axis calibration assigns physical coordinates to the indices of an image stack. It states what each axis means, its spacing, origin and orientation. Pixel indices, section indices and frame indices are distinct from positions and times. In ImageJ, image properties include pixel width, pixel height, voxel depth and frame interval; its Origin fields are expressed in pixels.[ref]
For an original general spatial model, let the index vector be and define
where is a physical origin and is a rotation matrix. This is an affine map; the rotation represents a chosen acquisition-to-world orientation rather than a claim that ImageJ's Properties dialog implements an arbitrary rotation. Convert any pixel-unit origin into the chosen physical convention before using this equation.
Take spacings , origin and a 90° rotation about the positive third axis:
Index first maps to local displacement and then to world position . Its distance from the physical origin is , unchanged by the rotation.
Cropping and axis permutation require corresponding metadata changes. If a crop begins at old index , its new physical origin is . For irregular section positions, store those positions explicitly instead of inventing one uniform depth increment. Image resampling may alter the grid, but it does not create independently acquired depth information.
Microtomy 2026-11-05
Microtomy prepares thin physical sections with a microtome, exposing interior structure for microscopy. The knife separates a layer from a supported specimen while a controlled feed determines the nominal depth increment. Physical section thickness, section orientation and cutting-induced deformation all enter the interpretation of an image. Ultramicrotomy is the specialized thin-section technique used in applications such as transmission electron microscopy.
The preparation method also serves materials research. Yale's instrument description lists a Leica Ultra UC7 with a trimming mill and glass knife maker, and identifies polymers, material fibres and soft metals among suitable specimen materials.[ref] Manufacturer guidance discusses polymer blends and composite materials, along with the possibility of section compression and cutting artifacts.[ref]
A useful teaching experiment would compare cuts through a straight, known circular material fibre at different section orientations. A normal vector to the cut aligned with the fibre axis gives a circular profile. An oblique cut gives an ellipse even when the fibre has suffered no deformation. Image the recovered sections with an optical microscope, measure profile dimensions with an established image stack axis calibration, and record the angle between the section's normal vector and the fibre axis. This tests the geometry of the section rather than assuming that every measured elongation is a physical distortion.
For an original ideal calculation, model the fibre boundary as an infinite circular cylinder of radius , with axis along the unit vector , where . Parallel section planes have equation . The squared Euclidean distance to the axis is , obtained by subtracting the squared axial orthogonal projection from . At the section plane, the boundary therefore satisfies
This oblique section of a circular cylinder is an ellipse with semi-major and semi-minor axes and area
The area of an ellipse gives the last expression. For chosen and , the semi-major and semi-minor axes are approximately and . The profile area is times the perpendicular-profile area, an increase of about 41.4 percent entirely explained by section orientation.
The center of an ellipse in this model has coordinate . In an ordered image stack, two sampled section planes separated by consequently have lateral centre displacement . At the chosen and , this displacement is . Here is the spacing between sampled planes, which can differ from the physical section thickness if some sections are not imaged.
Figure 1.
Oblique microtomy sections of an ideal circular cylinder
. Original chosen geometry. Side view shows the axis and two sampled section planes; the right panel compares centred profiles. The model treats sections as mathematical planes and omits finite-thickness blur and deformation. Details.
The calculation assumes a circular, straight fibre, known section geometry and negligible physical section thickness relative to resolved features. One elliptical profile alone cannot distinguish an oblique circular fibre from a differently shaped fibre or an unknown deformation. Comparing known reference features and following their positions through an image stack provides additional evidence. Image registration can align images, but an inferred shift may contain real specimen geometry as well as instrument motion; removing every shift would erase the tilt information in this example.
Physical section thickness is the distance through a recovered physical section, measured normal to its faces. For a flat section with parallel faces, write this distance as ; a nonuniform section instead requires a local thickness or a stated averaging convention. It is distinct from the nominal section feed commanded to the microtome, the spacing of sampled planes in an image stack, and the spatial resolution of the resulting image.
In ultramicrotomy, a controlled advance presents material to a diamond knife on each cutting stroke. JEOL describes preset feed increments for thin sections and notes that actual thickness depends on the material and temperature.[ref] Section compression and other deformation can further complicate the relation between the machine setting and the recovered section. A feed setting alone is not an independent thickness measurement.
An original geometric example shows why finite thickness matters. Consider a straight thin feature whose direction makes angle with the section's normal vector. Choose coordinates so the section occupies and the feature lies along
An image combining contributions through the section can therefore contain feature positions spanning the lateral distance
For stipulated and , this range is . It is a geometric range, not a universal formula for the measured image width: image contrast, the imaging response and the feature's own width also matter. Replacing the slab by one mathematical plane discards this depth variation.
For an ideal undeformed series of contiguous sections, imaging every fifth section gives a centre-to-centre sampling interval of , while each imaged section remains thick. Record omitted sections and the image stack axis calibration separately. To test a feed setting experimentally, measure recovered thickness with an independent method and stated measurement uncertainty, rather than using the same feed display as both command and verification.
Section orientation 2026-11-05
Section orientation specifies how a cut is directed relative to a specimen or reference coordinate system. A flat cut is described by a unit normal vector , together with an in-plane direction when image axes matter. Reversing leaves the unoriented plane unchanged, although choosing a normal direction is useful for ordering an image stack. Section orientation affects which structures intersect a section and their apparent dimensions, even without deformation.
An original layered-material example complements the circular-fibre geometry in microtomy. Model parallel interfaces in a polymer laminate by
where is a unit normal vector to the layers and is their true normal spacing. Let be the acute angle between the layer normal and the section normal . For , the orthogonal projection of into the section has length . Its unit direction is
Moving distance along changes by . Hence adjacent interface traces in the section are separated by
For chosen and , their apparent spacing is . At , the section contains the layer normal and . At , the section is parallel to the layers and does not show this family of separated interface traces; the spacing formula has no finite value there.
A useful physical check sections a reference laminate at known orientations, images it with an optical microscope using established length calibration, and measures trace spacing perpendicular to the traces. Recording orientation prevents an oblique cut from being mistaken for a change in layer spacing. The ideal calculation assumes flat interfaces, negligible physical section thickness and no cutting distortion. Manufacturer materials guidance explicitly discusses polymers and composite materials, as well as compression during sectioning.[ref] Those physical effects must be assessed separately from the geometric prediction.