我想知道是否有人知道来自Becker& amp;的SPCImage应用了哪种过滤器。 Hickl系统。
我正在使用我的系统获取一些FLIM数据,我想创建终身图像。为此,我想以与SPCImage相同的方式对我的图像进行分区,因此我可以提高我的SN比率。分箱就像1x1,3x3,5x5等。我创建了一个3x3分箱功能,但每次变得更复杂......
我想在MATLAB中做,也许已经有一个功能可以帮助我解决这个问题。
非常感谢你的帮助。
答案 0 :(得分:0)
我认为你需要测试/研究图像滤镜功能,以适用于这种图像之王的荧光寿命成像显微镜。
显示here的中值过滤器有助于平滑事物。或者是一个weihgted移动平均滤镜,应用于图像擦除de亮点,只保持广泛的功能
所以你需要回顾matlab中的数字图像处理
答案 1 :(得分:0)
这个问题很老,但对于其他任何想知道:你想要为每个平面(M整数)的(2M + 1)x(2M + 1)邻域中的像素求和。所以我很确定你可以通过将其视为卷积来解决问题。
#This is your original 3D SDT image
#I assume that you have ordered the image with spatial dimensions along the
#first and second and the time channels are the third dimension.
img = ... #<- your 3D image goes here
#This describes your filter. M=1 means take 1 a one pixel rect around your
#center pixel and add the values to your center, etc... (i.e. M=1 equals a
#total of 3x3 pixels accumulated)
M=2
#this is the (2D) filter for your convolution
filtr = ones(2*M+1, 2*M+1);
#the resulting binned image (3D)
img_binned = convn(img, filtr, 'same');
你绝对应该根据你的计算来检查结果,但它应该可以解决问题。