pysap.extensions.tools#

mr_transform(in_image, out_mr_file, type_of_multiresolution_transform=2, type_of_lifting_transform=3, number_of_scales=4, write_all_bands=False, write_all_bands_with_block_interp=False, nbiter=3, type_of_filters=1, use_l2_norm=False, type_of_non_orthog_filters=2, number_of_undecimated_scales=None, verbose=False)[source]#

Wrap the Sparse2d mr_transform.

mr_filter(in_image, out_image, type_of_filtering=1, coef_detection_method=1, type_of_multiresolution_transform=2, type_of_filters=1, type_of_non_orthog_filters=2, sigma=None, type_of_noise=1, number_of_scales=4, number_of_iterations=10, epsilon=0.001, verbose=False, tab_n_sigma=[], suppress_isolated_pixels=False)[source]#

Wrap the Sparse2d mr_filter.

mr_deconv(in_image, in_psf, out_image, type_of_deconvolution=3, type_of_multiresolution_transform=2, type_of_filters=1, number_of_undecimated_scales=None, sigma=None, c=None, type_of_noise=1, number_of_scales=4, nsigma=3, number_of_iterations=500, epsilon=0.001, rms_map_file_name=None, icf_fwhm=None, suppress_positive_constraint=False, icf_file_name=None, first_guess_file_name=None, residual_file_name=None, no_auto_shift_max_psf=False, detect_only_positive_structure=False, suppress_isolated_pixels=False, suppress_last_scale=False, optimization=None, regul_param=0, verbose=False)[source]#

Wrap the Sparse2d mr_deconv.

mr_recons(in_mr_file, out_image, verbose=False)[source]#

Wrap the Sparse2d mr_recons.

mr3d_recons(in_mr_file, out_image, verbose=False)[source]#

Wrap the Sparse2d mr3d_recons.

mr3d_transform(in_image, out_mr_file, type_of_multiresolution_transform=2, type_of_lifting_transform=3, number_of_scales=4, type_of_filters=1, use_l2_norm=False, verbose=False)[source]#

Wrap the Sparse2d mr3d_trans.

mr3d_filter(in_image, out_image, type_of_multiresolution_transform=2, type_of_filters=1, sigma=None, correlated_noise=None, number_of_scales=4, nsigma=3, verbose=False)[source]#

Wrap the Sparse2d mr3d_filter.

mr2d1d_trans(in_image, out_image, type_of_multiresolution_transform=14, number_of_scales_2D=5, number_of_scales_1D=4, normalize=False, verbose=False, reverse=False)[source]#

Wrap the Sparse2d mr21d_trans.