Skip to content
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

Complexity measures #128

Open
JasonGellis opened this issue Sep 16, 2021 · 2 comments
Open

Complexity measures #128

JasonGellis opened this issue Sep 16, 2021 · 2 comments

Comments

@JasonGellis
Copy link
Collaborator

New function to count adjacent scar countours.
Two inputs:

  1. a given contour
  2. a list of selected contours

Funtion behaviour:

  1. Loop through each list of contours
  2. Contour adjacent = Boolean <- how to determine? Shared coordinates?
  3. Assign metric to number of adjacent contour/s
  4. Return a number of how many of contours are adjacent.
@JasonGellis
Copy link
Collaborator Author

For next meetup -
How to measure adjacent contours?
Possible metrics? <-sum of yes's
see: https://stackoverflow.com/questions/55641425/check-if-two-contours-intersect

@JasonGellis
Copy link
Collaborator Author

Next step is to investigate only calculating distances on a subset of shared coordinate/s. Using all coordinates is VERY computationally expensive/time consuming.

https://docs.python.org/3/library/itertools.html#module-itertools

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

No branches or pull requests

1 participant