We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In mfile/exr: file exr2mat.py:
mfile/exr
exr2mat.py
imgSize = (dataWin.max.x - dataWin.min.x + 1, dataWin.max.y - dataWin.min.y + 1) # line 12 video = [np.reshape(np.frombuffer(video[i], dtype=np.float16), imgSize) for i in range(len(video))] # line 26
imgSize is incorrect if width is not equal to height. The correct imgSize should be:
imgSize
imgSize = (dataWin.max.y - dataWin.min.y + 1, dataWin.max.x - dataWin.min.x + 1) # row then column
Otherwise, for non-square film, displayAndSaveVideo.m will display erroneous video.
displayAndSaveVideo.m
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
mfile/exr
: fileexr2mat.py
:imgSize
is incorrect if width is not equal to height. The correctimgSize
should be:Otherwise, for non-square film,
displayAndSaveVideo.m
will display erroneous video.The text was updated successfully, but these errors were encountered: