如何将bmp转换为具有rgb值的表格(格式为txt、xls)?

发布于 2024-12-21 00:42:05 字数 221 浏览 4 评论 0原文

我正在分析图像,主要问题是确定对象的亮度及其与背景之间的对比度。然而,由于对象具有类似细胞的结构,并且有很多带有背景的内部空间,具有背景颜色的像素在我用来确定亮度的选择中占据了太多的位置,从而破坏了结果。 我想完全过滤掉所有具有背景颜色的像素,并且由于我使用的图片分析工具(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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暮倦 2024-12-28 00:42:05

使用 System.Drawing.Bitmap 完成了它。

Got it done with System.Drawing.Bitmap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文