MIR.models.convexAdam.convex_adam_utils

Functions

MINDSSC(img[, radius, dilation, device])

combineDeformation3d(disp_1st, disp_2nd, ...)

compute_steps_for_sliding_window(patch_size, ...)

correlate(mind_fix, mind_mov, disp_hw, ...)

coupled_convex(ssd, ssd_argmin, disp_mesh_t, ...)

create_nonzero_mask(data)

crop_to_bbox(image, bbox)

find_rigid_3d(x, y)

get_bbox_from_mask(mask[, outside_value])

get_gaussian(patch_size[, sigma_scale, device])

gpu_usage()

inverse_consistency(disp_field1s, disp_field2s)

least_trimmed_rigid(fixed_pts, moving_pts[, ...])

nnUNetCTnorm(img)

nnUNetNorm(img)

nnUNetNormProps(img, props)

pdist_squared(x)

resample_img(img, spacing)

resample_moving_to_fixed(fixed, moving)

Resample moving image to the same grid as the fixed image

rescale_displacement_field(...)

validate_image(img[, dtype])

Validate image input