Image resampling 2026-11-05
Image resampling evaluates image data on a new sampling grid, often while resizing, rotating or rectifying an image. An output pixel is mapped to a source location, which may lie between stored source pixels. An interpolation rule estimates its value; a boundary rule handles locations outside the recorded image.[ref]
Geometric Image Transformations in the OpenCV documentation. Detailed Description, inverse mapping, interpolation and extrapolation
For example, bilinear interpolation at the center of four source samples with values gives their equally weighted mean, 25. Nearest-neighbor interpolation instead selects one sample and retains its value. These methods trade smoothness against preservation of discrete labels. Reducing image size also changes the sampling rate: a low-pass filter before subsampling can suppress aliasing, whereas interpolation alone cannot guarantee its removal. Stereo rectification uses image resampling to construct aligned virtual views without physically moving either camera.
Image stack axis calibration 2026-11-05
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]
ImageJ User Guide by Tiago Ferreira and Wayne Rasband. Section28.4, Image Properties; section30.8, Set Scale
For an original general spatial model, let the index vector be and definewhere 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.
Section-thickness anisotropy 2026-11-05
Section-thickness anisotropy describes unequal spatial sampling along and across a serial-section image stack. For uniform section thickness and square lateral pixel pitch , a useful dimensionless ratio isIt compares assigned sampling scales, rather than automatically specifying an achieved spatial resolution. Section collection followed by image alignment and stacking produces a physical cutting coordinate that must be calibrated separately from lateral image dimensions.[ref]
For an original example, let and . Then and a rectangular voxel has volume . A displacement of three pixels laterally and two section intervals axially has physical lengthTreating all three index coordinates as though they had spacing would instead give , a serious geometrical error.
Image resampling to cubic voxels can regularize display coordinates, but the inserted axial samples are interpolation, not new independent observations. Likewise, 200 uniform sections represent of thickness while the first and last centers are only apart. For variable or missing sections, retain the actual section coordinates rather than assuming a single constant .
Serial-section electron microscopy 2026-11-05
Serial-section electron microscopy reconstructs a volume from an ordered image stack of thin physical slices. In the transmission electron microscopy implementation, an ultramicrotome cuts successive slices, which are collected on a support and imaged through the specimen. Image registration aligns corresponding features; image segmentation identifies structures to follow between slices. JEOL's glossary describes sections of 40–100 nm and illustrates the separate registration and segmentation stages.[ref]
The motivation is geometrical: one isolated slice cannot show whether a feature continues, divides, or ends outside that slice. An ordered image stack provides observations along the third coordinate, although finite section-thickness anisotropy and missing material limit what can be inferred. A change between neighboring images may come from specimen structure, a slice deformation, or imperfect image registration.
For a chosen numerical example, suppose each of consecutive sections has uniform thickness , with lateral pixel pitch . Ignoring lost material and thickness variation, the sections coverThe voxel sampling is 12.5 times coarser along the cutting direction. These are chosen dimensions, not measurements from either cited experiment. The first and last section centers are only apart: center-to-center extent differs from total represented thickness. Neither spacing is automatically the achieved spatial resolution.
Image resampling onto a cubic grid can make an image stack easier to display, but interpolation supplies no additional independent observations. Likewise, smooth image registration cannot resolve missing-section ambiguity in volume reconstruction: a small connecting feature could lie wholly inside lost material. Checking a reconstructed connection therefore needs evidence in the acquired slices, not just a visually smooth rendered surface.
A historically important automation change illustrates the distinction between section and surface imaging. In 2004, Winfried Denk and Heinz Horstmann placed an ultramicrotome with a diamond knife inside a scanning electron microscope. Their serial block-face scanning electron microscopy imaged the exposed block surface between cuts instead of collecting the removed sections. They reported stacks several hundred layers deep, 50–70 nm sectioning, and typically less than 10 nm lateral position jitter. These observations tested an apparatus for acquiring closely aligned serial images; they did not remove the finite spacing between observations.[ref]
Serial Block-Face Scanning Electron Microscopy to Reconstruct Three-Dimensional Tissue Nanostructure by Winfried Denk and Heinz Horstmann. Abstract; Results, lateral-position stability; Materials and Methods, Microtome
A mechanical detail makes the measurement chain concrete. Their specimen-advance lever reduced the motorized micrometer's motion by 0.11. Thus its stated position measurement uncertainty of 50 nm contributed after that reduction; other sources of section-thickness error still required assessment.[ref]
Serial Block-Face Scanning Electron Microscopy to Reconstruct Three-Dimensional Tissue Nanostructure by Winfried Denk and Heinz Horstmann. Materials and Methods, Microtome, specimen-advance mechanism
Stereo rectification 2026-11-05
Stereo rectification transforms a pair of images so that corresponding epipolar lines become aligned scan lines. In a horizontal stereo arrangement, a scene point visible in both rectified views should have the same vertical image coordinate. This turns a two-dimensional matching search into a one-dimensional search along a row.[ref]
Camera Calibration and 3D Reconstruction by OpenCV. stereoRectify(), horizontal stereo case, R1/R2 and P1/P2
For example, a feature initially at left row 100 and right row 104 can be mapped to the same row in virtual aligned views. Camera calibration supplies geometry for the transforms, and image resampling evaluates the transformed images on a new pixel grid. The new images need not retain every border region. Stereo rectification aligns the geometric search; it does not identify the correct partner among repeated patterns or restore a feature hidden in one view. The rectified focal length and coordinate offsets must also be used when converting stereo disparity to depth.