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
>>> rotated array([[[0.31690149, 0.38752052, 0.14294289], [0.3404107 , 0.41297721, 0.16013014], [0.38506028, 0.4331061 , 0.17238887], ..., [0.67001947, 0.70273325, 0.44726555], [0.71262498, 0.74353751, 0.49159185], [0.63883647, 0.66216885, 0.41865424]], >>> rotated_geotiff_imarray, _ = idp.cvtools.imarray_crop(rotated, roi_geotiff_offseted.astype(int)) >>> plt.imshow(rotated_geotiff_imarray)
>>> rotated_geotiff_imarray[:,:,0] array([[0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], ..., [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0], [0, 0, 0, ..., 0, 0, 0]], dtype=uint8)
Can be fixed only if the input image type is uint8
>>> rotated = (rotated * 255).astype(np.uint8)
The text was updated successfully, but these errors were encountered:
fix imarray_crop turn 0-1 float rgb to blank uint8
4635271
#62
HowcanoeWang
No branches or pull requests
Can be fixed only if the input image type is uint8
The text was updated successfully, but these errors were encountered: