background of an image to 0
4 次查看(过去 30 天)
显示 更早的评论
I have a 2d image( from microscope of cells) and I am trying to quantify intensity of fluoroscence. However i did not take a background fluoro image and was wondering if there is any way to polyfit the image to bring the offset to 0.
2 个评论
Luis J Gilarranz
2019-5-23
Depending on what the images represent you could normalize them (dividing all the values by the maximum fluorescence value recorded) and then apply the threshold I was mentioning. However, if you have a treatment that affect the maximum fluorescence values then you could not do this and you could not compare across treatments. It would help if you put more information.
回答(1 个)
Luis J Gilarranz
2019-5-22
Testing different thresholds to see which one removes the background without removing any cell...
%Identify the pixels abobe the threshold
Mask = Image>Threshold;
%Set the background to zero
NewImage = Image.*Mask;
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!