Skip to content

Commit

Permalink
Improve GuidedFilter and Radial Center localization citation
Browse files Browse the repository at this point in the history
  • Loading branch information
Houman.M_Dastjerdi committed Dec 1, 2023
1 parent 89884d7 commit eb39740
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions piscat/Localization/radial_symmetry_centering.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def __init__(self):
References
----------
The Radial Center localization algorithm code has been adopted from this paper.
Parthasarathy, R. Rapid, accurate particle tracking by calculation of
radial symmetry centers. Nat Methods 9, 724–726 (2012).
Expand Down
13 changes: 13 additions & 0 deletions piscat/Preproccessing/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,12 @@ def __init__(self, I, radius, eps):
eps: float
Value controlling sharpness
References
----------
The guided filter for gray guided image code has been adopted from the GitHub repository mentioned below.
[1] https://github.com/lisabug/guided-filter
"""
self.I = np.float32(I)
self.radius = radius
Expand Down Expand Up @@ -1027,6 +1033,13 @@ def __init__(self, I, radius, eps):
eps: float
Value controlling sharpness
References
----------
The guided filter for color guided image code has been adopted from the GitHub repository mentioned below.
[1] https://github.com/lisabug/guided-filter
"""
self.I = np.float32(I)
self.radius = radius
Expand Down

0 comments on commit eb39740

Please sign in to comment.