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

question on seq file from Norpix #388

Open
wAOndering opened this issue Jul 6, 2021 · 1 comment
Open

question on seq file from Norpix #388

wAOndering opened this issue Jul 6, 2021 · 1 comment

Comments

@wAOndering
Copy link

@nkeim thanks a lot for the functionality and providing a workable format in pims to read streampix seq files!

I had a file seqFile which I can access thanks to your function a seqFile = NorpixSeq(file, as_raw=True) # if not I get OSError: Non-monochrome images etc.
The properties of the file are good (length, size, etc.) however seqFile._image_bytes returns 159360 and lead to imshow returning an image of 332w x 480h while the seqFile frame shape is 640w x 480h. I feel this is due to how the bytes are interpreted but I am not really sure how to move forward to solve this issue and would appreciate any help you could provide.
Thanks
tom

@nkeim
Copy link
Contributor

nkeim commented Jul 12, 2021

@wAOndering Thanks for posting this and I'm sorry for the delay. @richardandersson gets credit for the as_raw option, and I'm confused as to why it wouldn't work in this situation. If you have access to a copy of StreamPix, can you check the information about the file? In StreamPix 8, I open the file, change to the "Sequence" ribbon, and click the "Show Information" button all the way at the right end. That way we can rule out the use of compression (not supported), but there may be other anomalies you can spot this way.

Failing that, if you can share a small movie here that might help us. Thanks!

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

2 participants