mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
iradon_sart: Test clip functionality and add a test for it.
This commit is contained in:
@@ -413,5 +413,5 @@ def iradon_sart(radon_image, theta=None, image=None, projection_shifts=None,
|
||||
projection_shifts[angle_index])
|
||||
image += relaxation * image_update
|
||||
if not clip is None:
|
||||
image = clip(image, clip[0], clip[1])
|
||||
image = np.clip(image, clip[0], clip[1])
|
||||
return image
|
||||
|
||||
Reference in New Issue
Block a user