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

New flakefinding algorithm + improved code structure #1

Open
wants to merge 73 commits into
base: main
Choose a base branch
from

Conversation

ky28059
Copy link

@ky28059 ky28059 commented Aug 7, 2023

TODO: fix multiprocessing logging
This operation is insanely fast (all operations < 1s as opposed to 16s+ for DBSCAN cluster-finder, plus separate edgefinding), but needs to be tuned to be more accurate using the following parameters:

- Threshold range (controls initial b&w image)
- Open morph size (larger size clears more islands, but could decay legitimate flakes)
- Close morph size (larger size fills more holes)
- Min cluster pixel count? (avoid if possible, because can then avoid call to contour area)
Some errors with the manual text file logs that will be resolved later. Will need to check merge boxes as well.
ky28059 and others added 30 commits July 20, 2023 15:20
- Fix image mask in histogram test
… "on edge" check slightly

TODO: fix edge clarity on equalize
Updated with data from n=1500 flakes to improve rgb+hsv masking
Improved angle labeling and added rough functionality to find bilayers as an input option
Updated to sort detected monolayers attached to bi/tri/bulk/freestanding
Added config values for 5x, added function to search .xlif file for objective magnification and choose values accordingly
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