Main Content

Preprocessing and Augmentation

Filtering, denoising, random intensity augmentation

Image preprocessing and image augmentation prepare data for advanced medical image analysis. Use image preprocessing to reduce image acquisition artifacts and format data for your use case. For example, you can remove noise, normalize intensity values, or resize image voxels. Use image augmentation to increase the amount and variability of training data for deep learning. For example, you can randomly adjust image contrast or apply random rotations or scaling to simulate variations in image acquisition and patient anatomy. To get started, see Medical Image Preprocessing.

Functions

expand all

specklefiltFilter image using speckle-reducing anisotropic diffusion (Since R2022b)
imfilterN-D filtering of multidimensional images
medfilt22-D median filtering
medfilt33-D median filtering
imgaussfilt2-D Gaussian filtering of images
imgaussfilt33-D Gaussian filtering of 3-D images
fspecialCreate predefined 2-D filter
fspecial3Create predefined 3-D filter
jitterIntensityRandomly augment intensity of grayscale image or intensity volume (Since R2022b)
randomWindow2dRandomly select rectangular region in image (Since R2021a)
randomCropWindow3dCreate randomized cuboidal cropping window
centerCropWindow2dCreate rectangular center cropping window
centerCropWindow3dCreate cuboidal center cropping window
RectangleSpatial extents of 2-D rectangular region
CuboidSpatial extents of 3-D cuboidal region
randomAffine2dCreate randomized 2-D affine transformation
randomAffine3dCreate randomized 3-D affine transformation
affineOutputViewCreate output view for warping images
imeraseRemove image pixels within rectangular region of interest (Since R2021a)

Topics

Related Information

Featured Examples