@itk-wasm/downsample

Pipelines for downsampling images.

👨‍💻 Live API Demo ✨



downsampleBinShrink downsampleLabelImage downsampleSigma downsample gaussianKernelRadius 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