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

Added autofocus toolbar #11

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Added autofocus toolbar #11

wants to merge 2 commits into from

Conversation

kingofpayne
Copy link
Contributor

Added a toolbar to:

  • register focus positions
  • apply focus based on registered points
  • run autofocus search

Autofocus uses laplacian standard deviation on the camera's image to find best focus position.

@kingofpayne kingofpayne marked this pull request as draft August 16, 2024 12:14
Added a toolbar to:
- register focus positions
- apply focus based on registered points
- run autofocus search

Autofocus uses laplacian standard deviation on the camera's image to
find best focus position.
camera: CameraNITInstrument,
stage,
coarse: FocusSearchSettings,
fine: FocusSearchSettings | None = None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LaserStudio is intended to run on Python 3.9.
"|" is introduced in later version.
Could you use Optional[FocusSearchSettings] instead

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