spatial_filter: refactor double difference#687
spatial_filter: refactor double difference#687forrestfwilliams merged 2 commits intoinsarlab:mainfrom
Conversation
- combine the local and regional filter into one filter to reduce number of convolutional operations - change regional filter shape from a disk to a doughnut
|
Thank you @forrestfwilliams. Applying one convolution sounds like a good idea. The implementation change looks good to me. I am wondering what's the motivation for changing the shape of the regional filter from a disk to a donut? |
|
Hey @yunjunz, good question! The small In practice, @dbekaert found that the |
|
Thank you for the explanation @forrestfwilliams, that makes sense. Could you please add this as comments next to the code as well? I believe that would help other users too. |
|
Can do! |
There was a problem hiding this comment.
Looks great. Thank you @forrestfwilliams. Please feel free to go ahead and merge the PR.
|
Thank you @yunjunz ! |
combine the local and regional filter into
one filter to reduce number of
convolutional operations
change regional filter shape from a disk to
a doughnut
Reminders