Definition of boundary conditions
Closed this issue · 3 comments
This is a question rather than an issue.
Some methods of the library accept three types of boundary conditions: zero, Dirichlet and Neumann. I understand that using the Neumann condition is using the value of the nearest pixel. But what are the differences between a zero and Dirichlet boundary condition?
Also, you might want to consider adding the definition of the boundary conditions to the documentation because it's hard finding the definitions using those terms.
Thanks
Actually, this was an error in the documentation.
I've been working two days ago on boundary conditions in CImg, and so it should be fixed now. What we have now is:
Dirichlet
means "0 outside image".Neumann
means "Nearest neighbor outside image" (i.e. null derivative)Periodic
means "Periodic" :)Mirror
means "Mirrored image outside".
If you find some weird things remaining in the current doc, please let me know !
Thanks, I've posted a new pre-release package for version 2.0.0, with fixes included.