Files
cDNA-image-processing/examples/数据/cDNA/Demo_cdna.m
T
Serendipity 3ca079a980 refactor: 项目目录结构重组
- 中文目录名改为英文:cDNA图像处理实例→examples,参考资料→references
- web→app(Flask应用标准命名)
- 输出目录平移到 data/output/simple/ 和 data/output/full/
- 输入图像统一到 data/input/
- 构建脚本移到 scripts/
- 源码文件改用 snake_case 命名
- 更新所有文件路径引用和文档
2026-07-16 20:59:58 +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');