-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New simplelayer SavitzkyGolayFilter() and transform SavitzkyGolaySmooth() #1418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New simplelayer SavitzkyGolayFilter() and transform SavitzkyGolaySmooth() #1418
Conversation
96a762c to
5b67b01
Compare
5b67b01 to
a4ef691
Compare
Signed-off-by: Christian Baker <christian.baker@kcl.ac.uk>
Signed-off-by: Christian Baker <christian.baker@kcl.ac.uk>
6248e34 to
4e4416a
Compare
…GolayFilter() simplelayer Signed-off-by: Christian Baker <christian.baker@kcl.ac.uk>
Signed-off-by: Christian Baker <christian.baker@kcl.ac.uk>
7f0f3c5 to
cda44a4
Compare
wyli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you! please see some minor comments inline
Signed-off-by: Christian Baker <christian.baker@kcl.ac.uk>
759daf5 to
4b3345b
Compare
wyli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! would be great to have the benchmarking notebook in https://github.com/Project-MONAI/tutorials
|
Cool I will move it there, thanks for approving! |
Fixes #1155 .
Description
New simplelayer
SavitzkyGolayFilter()applies Savitzky Golay filter to a Tensor along a given axis. New array transformSavitzkyGolaySmooth()usesSavitzkyGolayFilter(). Required change toseparable_filtering()simplelayer: now has option to use padding modes other than 'zeros' during convolution.Example: Smoothing a noisy pulse, result compared to

SciPy.signal.savgol_filter.Performance compared to

SciPy.signal.savgol_filter:Above plots generated using this Google CoLab notebook.
Status
Ready
Types of changes
./runtests.sh --quick.make htmlcommand in thedocs/folder.