ants.ops

Modules

add_noise_to_image(image, noise_model, ...)

Add noise to an image using additive Gaussian, salt-and-pepper, shot, or speckle noise.

anti_alias(image)

Apply Anti-Alias filter to a binary image

bias_correction

crop_image(image[, label_image, label])

Use a label image to crop a smaller ANTsImage from within a larger ANTsImage

denoise_image(image[, mask, shrink_factor, ...])

Denoise an image using a spatially adaptive filter originally described in J.

get_mask(image[, low_thresh, high_thresh, ...])

Get a binary mask image from the given image after thresholding

hessian_objectness(image[, ...])

Interface to ITK filter.

histogram_equalize_image(image[, ...])

Histogram equalize image

histogram_match_image(source_image, ...[, ...])

Histogram match source image to reference image.

iMath(image, operation, *args)

Perform various (often mathematical) operations on the input image/s.

image_type_cast(image_list[, pixeltype])

Cast a list of images to the highest pixeltype present in the list or all to a specified type

mask_image(image, mask[, level, binarize])

Mask an input image by a mask image.

morphology(image, operation, radius[, ...])

Apply morphological operations to an image

pad_image(image[, shape, pad_width, value, ...])

Pad an image to have the given shape or to be isotropic.

reflect_image(image[, axis, tx, metric])

Reflect an image along an axis

reorient_image

resample_image(image, resample_params[, ...])

Resample image by spacing or number of voxels with various interpolators.

slice_image(image, axis, idx[, ...])

Slice an image.

smooth_image(image, sigma[, ...])

Smooth an image

symmetrize_image(image)

Use registration and reflection to make an image symmetric

threshold_image(image[, low_thresh, ...])

Converts a scalar image into a binary image by thresholding operations

weingarten_image_curvature(image[, sigma, opt])

Uses the weingarten map to estimate image mean or gaussian curvature