Skip to content

Commit

Permalink
Update banding_pattern_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasuz authored Nov 21, 2021
1 parent 0b815da commit 2ff6aad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .bresenham import bresenham_pixel_summation

# Rotation vector for 90 degrees
# Rotation matrix for 90 degrees
R = np.array([
[np.cos(np.pi/2), -np.sin(np.pi/2)],
[np.sin(np.pi/2), np.cos(np.pi/2)]
Expand Down Expand Up @@ -302,4 +302,4 @@ def _retag_saddle_point(clusters, source):
half = amount // 2
b4[indx:indx+half] = source[indx-1]
b4[indx+half:indx+amount] = source[indx+amount]
return b4
return b4

0 comments on commit 2ff6aad

Please sign in to comment.