Files
Serendipity b8a8ff2bc6 feat: cDNA微阵列图像处理作业 - Python实现
实现内容:
- 网格划分:投影分析 + 自相关估周期 + 白顶帽去背景 + 质心提取
- 三种阈值分割:人工阈值、Otsu自动阈值、迭代阈值
- TV去噪(Chambolle投影算法)
- 后处理:去小连通域 + 保留最大连通域
- 完整可视化:网格叠加、阈值对比、收敛曲线、分割结果

参考MATLAB代码:NewGridAndCV/demo_GriddingAndCV.m
2026-05-06 19:41:26 +08:00

15 lines
252 B
Matlab

clc
clear
close all
im = imread('cDNA.png');
imgray = rgb2gray(im);
%% sum of row , sum of col
sum_col = sum(imgray);
sum_row = sum(imgray');
figure,imshow(imgray)
figure,plot(sum_col),title('sum of col');
figure,plot(sum_row),title('sum of row');