@itk-wasm/downsample

Pipelines for downsampling images.

👨‍💻 Live API Demo ✨



downsampleBinShrink downsampleLabelImage downsampleSigma downsample gaussianKernelRadius resampleBoundingBox resampleToReference resample Apply local averaging and subsample the input image.




informationOnly - Generate output image information only. Do not process pixels.


Load sample inputs Run

bmp dcm gipl hdf5 jpg lsm mnc mnc.gz mgh mha mrc nii nii.gz png nrrd png pic tif isq fdf vtk Download

Subsample the input label image a according to weighted voting of local labels.






Load sample inputs Run

bmp dcm gipl hdf5 jpg lsm mnc mnc.gz mgh mha mrc nii nii.gz png nrrd png pic tif isq fdf vtk Download

Compute gaussian kernel sigma values in pixel units for downsampling.



Load sample inputs Run

Download

Apply a smoothing anti-alias filter and subsample the input image.






Load sample inputs Run

bmp dcm gipl hdf5 jpg lsm mnc mnc.gz mgh mha mrc nii nii.gz png nrrd png pic tif isq fdf vtk Download

Radius in pixels required for effective discrete gaussian filtering.






Load sample inputs Run

Download

Compute the padded moving-image region needed to resample the fixed image grid through a transform









Load sample inputs Run

Download

Resample an image onto a reference image's grid with an optional transform and a selectable interpolator.









Load sample inputs Run

bmp dcm gipl hdf5 jpg lsm mnc mnc.gz mgh mha mrc nii nii.gz png nrrd png pic tif isq fdf vtk Download

Resample an image onto an explicitly parameterized output grid with an optional transform and a selectable interpolator.











Load sample inputs Run

bmp dcm gipl hdf5 jpg lsm mnc mnc.gz mgh mha mrc nii nii.gz png nrrd png pic tif isq fdf vtk Download