如何将bmp转换为具有rgb值的表格(格式为txt、xls)?
我正在分析图像,主要问题是确定对象的亮度及其与背景之间的对比度。然而,由于对象具有类似细胞的结构,并且有很多带有背景的内部空间,具有背景颜色的像素在我用来确定亮度的选择中占据了太多的位置,从而破坏了结果。 我想完全过滤掉所有具有背景颜色的像素,并且由于我使用的图片分析工具(imageJ)不允许这样做,因此过滤表中的相应像素似乎是一个合理的过程。
使用c#,我怎样才能完成这个任务? 或者,欢迎任何现有的解决方案
I am analyzing an image, with main problem being determining the brightness of an object and contrast between it and background. However, due to object having cell-like structure, with lots of internal spaces with background in it, pixels with background color make too much of a way into selection I use to determine brightness, spoiling the result.
I want to filter all pixels with backfround color out of selection altogether and, since picture-analyzing tool I am using (imageJ) does not allow it, filtering coresponding pixels in table seems to be a rational course.
Using c#, how can I accomplish this task?
Alternatively, any existent solutions would be welcome
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 System.Drawing.Bitmap 完成了它。
Got it done with System.Drawing.Bitmap.