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

ValueError: operands could not be broadcast together with shapes (7256,7302) (7256,7301) #1

Open
lizard1111 opened this issue Nov 16, 2021 · 0 comments

Comments

@lizard1111
Copy link

I got this error when attempting to apply a flat to a folder of images.

At first, I assumed my flat generator had produced an image with slightly wrong dimensions, so I brought my flat.tiff into photoshop and increased its size from 7301 x 7256 to 7302 x 7256.

Using this modified tiff fixed the issue.

But then I realized, the flat.tiff was not too small in the first place. Its original size of 7301 x 7256 was correct, i.e, the same dimensions as my folder of tiffs to be destriped.

After processing, the destriped folder also contains images of 7301 x 7256.

So my question is simply, where does the 7302 come from?

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