Image-Based Estimation of Metal Powder Coverage on Ultrasound-Treated Bacterial Nanocellulose
收藏Mendeley Data2026-04-18 收录
下载链接:
https://data.mendeley.com/datasets/btb99v4kcf
下载链接
链接失效反馈官方服务:
资源简介:
This program is a Rust-based command-line tool designed to analyze images in a specified directory and estimate the proportion of pixels that may correspond to metallic surfaces. It processes all files in the given folder in parallel. For each image, the program loads pixel data and converts it from RGB to HSL color space. It then applies a simple heuristic: pixels with relatively high saturation and lower lightness are classified as “metal-like.” Based on this classification, the program calculates the percentage of such pixels relative to the total number of pixels in the image. The results are collected, sorted alphabetically by file name, and displayed in a formatted table showing each image alongside its estimated metal coverage percentage. A progress bar is also provided during execution to indicate processing status.
本程序是一款基于Rust语言的命令行工具,旨在分析指定目录内的图像,并估算其中可能对应金属表面的像素占比。该工具会并行处理给定文件夹中的所有文件。针对每张图像,程序会加载像素数据,并将其从RGB色彩空间(Red-Green-Blue)转换至HSL色彩空间(Hue-Saturation-Lightness)。随后应用一项简单的启发式规则:饱和度相对较高、亮度较低的像素将被归类为类金属(metal-like)像素。基于此分类结果,程序会计算此类像素占图像总像素数的百分比。最终收集所有结果,按文件名的字母顺序进行排序,并以格式化表格的形式展示每张图像及其估算的金属覆盖百分比。程序运行期间还会显示进度条,以指示处理状态。
创建时间:
2026-04-13



