Image functions#
Initialization#
|
Synthetic image of a circle. |
|
Synthetic C-shaped image. |
|
Create new batch of uninitalized image data. |
|
Create batch of regularly spaced grid images. |
|
Create new batch of image data filled with ones. |
|
Create new batch of image data filled with zeros. |
Convolution#
|
Convolve images in batch with a given (separable) kernel. |
|
Convolve data with 1-dimensional kernel along specified dimension. |
Pooling#
|
Average pooling of image data. |
|
Max pooling of image data. |
|
Min pooling of image data, i.e., negate max_pool() result of negated input data. |
Resizing#
|
Create Gaussian image resolution pyramid. |
|
Downsample images after optional convolution with truncated Gaussian kernel. |
|
Upsample images and opitonally deconvolve with truncated Gaussian kernel. |
|
Crop or pad images at border. |
|
Pad or crop images at border. |
|
Crop image tensor to specified maximum size. |
|
Pad image tensor to specified minimum size. |
|
Get slice from image tensor. |
|
Extract region of interest from image tensor. |
Rescaling#
|
Normalize image intensities in [min, max]. |
|
Linearly rescale values to specified output interval. |
Derivatives#
|
Calculate spatial image derivatives. |
|
Calculate spatial image derivative using finite differences. |
Sampling#
|
Interpolate image on minimum bounding grid with specified spacing. |
|
Interpolate image with specified spatial image tensor shape. |
|
Interpolate image with specified spatial image tensor shape. |
|
Sample data at grid points. |
|
Sample binary mask at grid points. |
|
Sample images at given points. |
|
Random sampling of voxels within an image. |
Miscellaneous#
|
Weighted dot product between batches of image batch tensors. |
|
Weighted dot product between channels of image batch tensors. |
|
Fill image border with specified value. |
|
Flatten image tensor channels. |