clearex.preprocess.scale
Functions
|
Resize the data to isotropic resolution with linear interpolation. |
- clearex.preprocess.scale.resize_data(data, axial_pixel_size, lateral_pixel_size)
Resize the data to isotropic resolution with linear interpolation.
- Parameters:
data (np.array) – The 3D image data to resize.
axial_pixel_size (float) – The axial pixel size of the data.
lateral_pixel_size (float) – The lateral pixel size of the data.
- Returns:
The resized 3D image data.
- Return type:
np.array