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

interactive pyqtgraph viewer #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adrianroth10
Copy link

@adrianroth10 adrianroth10 commented Apr 8, 2021

Following changes are suggested:

  • New module viewer.py to house the new viewer code.
  • Remake of frame_reader from a yield iterator to a class Frame_reader that itself is an iterator. Then in addition one can get images using __getitem__ or [] syntax.
  • Some remake in cli/pfs_raw.py to instead of showing image with OpenCV use the new viewer.

Uncertainties:

  • Should the viewer have frame index values similar to PCC (i.e. use the FirstFrameNo attribute in header)?
  • Should the Frame_reader class have a possibility to follow FirstFrameNo as above?
  • Is the installation working with the added dependencies of pyqt and pyqtgraph? (I did not get it to work in venv)

The code has not the type suggestions that has been added to the rest of the code base but that can be fixed when the code looks good. Otherwise, I am open for suggestions.

A response to #24

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.

1 participant