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

用imageio库读取图片,增加灰度映射功能 #85

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

130040167
Copy link
Contributor

1,原来用PIL读取图片,无法处理浮点值的.tif格式图片,用imageio可以解决。
2,有些图片对比度低,需要重新映射灰度值,类似matplot.plot(vmin= , vmax= )这个功能

@nachifur
Copy link
Owner

nachifur commented Aug 2, 2023

感谢您的贡献,之后我有时间会处理这个requests。(ps:抱歉,正在回复审稿意见,时间很紧张)

Copy link
Owner

@nachifur nachifur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gui的不应该直接修改**_gui.py**文件。详细见开发指南:https://mulimgviewer.readthedocs.io/zh_CN/latest/dev/dev.html#id4。

另外如果该功能仅是个人需要的,建议个人的库上更改,我们希望做出更加general的改进。
对于用户特定的功能,可以尝试使用定制化处理函数,#74

@nachifur
Copy link
Owner

感谢您的贡献,考虑到上述原因。

我们接受了该commit,85308da

并拒绝了下面的commit
10ca91f

@nachifur nachifur merged commit be980ce into nachifur:master Aug 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants