| Model | Description |
| circularMask | 使用circularMask对原子柱分割 |
| circularMask_mse | 使用均方误差的circularMask对原子柱进行分割 |
| gaussianMask | 使用高斯Mask高分辨率定位原子柱(高斯半高宽0.2埃的函数) |
| deNoise | 图像去噪 |
| deNoise&bgremoval | 图像去噪+背景去除 |
| deNoise&bgremoval&supperes | 图像去噪+背景去除+超分辨率(强度保持) |
由于Gen1前缀的Model程序闪退,暂时找不到原因。
如果需要移植的话,主要关注Code_Atom_Seg_Ui.py文件中__load_model函数
参数解析图表
| Parameter | Description |
|---|---|
| ori_image | 读入图像(TEM,SEM图) |
| ori_content | 读入图像的Pillow格式 |
| output_image | 模型优化后的Pillow输出图像 |
| ori_markers | 保存时使用,rgb的原始图像以及探测原子后的结果 |
| out_markers | 保存时使用,rgb的去噪后的图像以及探测原子后的结果 |
| detect_result | 探测结果图片 |
| model_output | 是由output_image的Pillow格式变换而来 |
在__load_model函数中,函数末尾调用self.output_image.show(),可直接拿到输出文件(Line in 200)
对于程序中,第二幅图片为preprocess,是由denoised_image进行三维(RGB)拼接的Pillow格式的图片。
denoised_image:根据选择的(opening与erosion 图像处理的开运算(先膨胀后腐蚀)与腐蚀)对result进行处理后的图像
程序的detect为显示探测结果,revert为清除当前所有图片运算。
| model output | 保存output_image |
| original image with markers | 保存ori_markers |
| Four-panel image | 包含ori_content,output_image,ori_markers,out_markers四种 |
| Atom positions | 保存ori与output detect Model,与txt文件格式的原子坐标位置 |