mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
unwrap: Rename function unwrap() -> unwrap_phase().
This commit is contained in:
@@ -22,7 +22,7 @@ image = exposure.rescale_intensity(image, out_range=(0, 4 * np.pi))
|
||||
# Create a phase-wrapped image in the interval [-pi, pi)
|
||||
image_wrapped = np.angle(np.exp(1j * image))
|
||||
# Perform phase unwrapping
|
||||
image_unwrapped = exposure.unwrap(image_wrapped)
|
||||
image_unwrapped = exposure.unwrap_phase(image_wrapped)
|
||||
|
||||
# Plotting
|
||||
plt.figure()
|
||||
|
||||
Reference in New Issue
Block a user