- 3
- 0
- 约7.46千字
- 约 8页
- 2019-04-21 发布于江西
- 举报
图像分割的阈值算法matlab实现【OTSU,1DEntropy,2DEntropy】
今天看了几篇论文,实现了一下,没有验证各算法的有效性
也没有进行定量比较
OTSU
% OTSU method% 2006/9/4clc;clear;
%I = imread(E:\test\chinalake.bmp,bmp);I = imread(E:\test\lena.png,png);
I = double(I);
I = Medianfilter(I);???????? % median filterh_Tmean = mean(mean(I));
[height,width] = size(I);Size = height * width;? % the size of the imageh_T = sum(sum(I));????? % the total gray value of the image
G_min = min(min(I));??? % the min gray value of the imageG_max = max(max(I));??? % the max gray value of the iamge
I_seg = zeros(height,width);???? % the array to store the segmente
您可能关注的文档
最近下载
- 陕西宝鸡辅警笔试试题及答案.docx VIP
- 毕业论文--摇篮式五轴数控机床的制作.doc VIP
- 2024年甘肃工业职业技术学院高职单招(英语/数学/语文)笔试历年真题摘选含答案解析.docx VIP
- 2024年北京工业职业技术学院高职单招(英语/数学/语文)笔试历年真题摘选含答案解析.docx VIP
- 2025届湖北省恩施土家族苗族自治州咸丰县六年级下学期小升初招生数学试卷含解析.doc VIP
- 110KV变电站继电保护设计毕业设计论文.doc VIP
- 中建屋面工程施工方案.doc VIP
- 母婴行业产品质量检验及售后服务手册.doc VIP
- VDA6.7 :2020版过程审核(设备中文(简体).pdf VIP
- 二次结构植筋技术交底.docx VIP
原创力文档

文档评论(0)