def grouping(
noisy_image: np.ndarray,
ref_block_position: tuple,
discrete_transform_blocks: np.ndarray,
block_size: int,
threshold_distance: int,
max_number_of_similar_blocks: int,
window_size: int,
) -> tuple[np.ndarray, np.ndarray]:
Error will be reported during operation:TypeError: 'type' object is not subscriptable
def grouping(
noisy_image: np.ndarray,
ref_block_position: tuple,
discrete_transform_blocks: np.ndarray,
block_size: int,
threshold_distance: int,
max_number_of_similar_blocks: int,
window_size: int,
) -> tuple[np.ndarray, np.ndarray]:
Error will be reported during operation:TypeError: 'type' object is not subscriptable