Skip to content

extracted neighborship definition to standalone function#40

Merged
erdogant merged 1 commit into
erdogant:masterfrom
martinuray:feature/topo-neighborship-definition
Jul 24, 2025
Merged

extracted neighborship definition to standalone function#40
erdogant merged 1 commit into
erdogant:masterfrom
martinuray:feature/topo-neighborship-definition

Conversation

@martinuray

Copy link
Copy Markdown
Contributor

extracted neighborhood definition, so that in the following the neighborhood can be defined by a user, in case necessary.

The functionality stays the same as previously, now it is possible to define a custom neighborhood condition. This may be necessary for applications where neighborhoods persist over "borders" of signals, like with a moebius neighborhood in 2D images as an example in [1].

[1] J. Ferner, S. Huber, S. Messineo, A. Pop, and M. Uray, “Persistence-based Hough Transform for Line Detection,” May 22, 2025, arXiv: arXiv:2504.16114. doi: 10.48550/arXiv.2504.16114.

extracted neighborship definition, so that in the following the neighborship
can be defined by a user, in case necessary.
@erdogant erdogant merged commit 4a15e29 into erdogant:master Jul 24, 2025
2 checks passed
@erdogant

Copy link
Copy Markdown
Owner

Thank you for your contribution! I am going to look into it and make some checks. Do you have a toy example so that I can create a unit test for this specific case?

@erdogant

erdogant commented Jul 25, 2025

Copy link
Copy Markdown
Owner

I’ve been testing the new implementation and made a few adjustments. The neighborhood_generator got stuck in one of my tests, so I created an if statement that, if neighborhood_generator is used, then it uses the new function; otherwise, it uses the previous one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants