Skip to content

Filter Boundary Options #1294

@garrettwrong

Description

@garrettwrong

For filters (particularly CTF) it would be good to implement boundary condition options. Currently we implicitly wrap around via circular convolution in all cases.

Some options we could add to Filter are below. Also need some logic regarding how far to pad out the image data in the case that the image is much larger than the convolving filter, such as when applying CTF to a large micrograph.

  • Constant/Zero
  • Repeat (repeats boundary value)
  • Periodic (what we do now)
  • Symmetric (reflection)
  • Continuous? (smooth to zero)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions