You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
Unable to prepare image to pass float 1-0 check without destroying image on write.
Expectation:
Convert to float and div by max(img), which is 255.0, to pass the np.all check in the beginning of the remove_reflection. Convert back to uint8 colorspace and write image.
Problem:
The image space divided by 255.0 is black. I'm trying to restore the image to the 0-255 colorspace, but that also doesn't seem to have an impact when writing to file; viewing inside of the imshow window shows the results as expected.
I'm not sure what the best method for preparing images for is when using this function, or how they're supposed to be handled after processing. Would like to use this project since it seems very useful.
The text was updated successfully, but these errors were encountered:
Issue:
Unable to prepare image to pass float 1-0 check without destroying image on write.
Expectation:
Convert to float and div by max(img), which is 255.0, to pass the np.all check in the beginning of the remove_reflection. Convert back to uint8 colorspace and write image.
Problem:
The image space divided by 255.0 is black. I'm trying to restore the image to the 0-255 colorspace, but that also doesn't seem to have an impact when writing to file; viewing inside of the imshow window shows the results as expected.
I'm not sure what the best method for preparing images for is when using this function, or how they're supposed to be handled after processing. Would like to use this project since it seems very useful.
The text was updated successfully, but these errors were encountered: