访问和删除负像素 [英] Access and remove negative pixels
问题描述
我应该如何解决从MRI切片(或任何图像)中去除负像素的问题?
How should I approach the problem of removing negative pixels from MRI slices (or any image)?
此外,如果有人可以简要解释它们发生的原因,那将真的有帮助.
Also, it would really help if someone can briefly explain why they occur.
我已经阅读了许多在线参考资料,尤其是在MATLAB论坛上,但是它们似乎有多种原因.
I have read many online references especially those on MATLAB forum, but they seem to have diverse reasons as to why they occur.
对不起,我还没有代码要发布,因为我还在弄清楚自己的方法.
Sorry, I don't have a code to post, since I am figuring out my approach yet.
推荐答案
限制值的另一种方法是使用S型函数
Another way to limit your values is to use a sigmoid function
https://en.wikipedia.org/wiki/Sigmoid_function
它可以缩放,以便所有答案的范围从0到255它可用于限制原始数据余额中的峰值.它通常用于神经网络.
It can be scaled so that all answers range from 0 to 255 And it can be used to limit the spikes in raw data balance. Its often used in neural networks.
这篇关于访问和删除负像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!