资源简介
本资源为基于MATLAB设计的数字图像处理软件源码,有自己设计的GUI、移植于MATLAB官网的标签页设计方法,实现基础的数字图像处理任务,包含各种图像加噪、去噪、空间变换、边缘检测、尺度变换、图像增强、图像分析的功能,可以用来作为数字图像处理入门学习的例子,其中使用到的算法也可以自行移植到自己的项目中,方便使用。
运行程序前,先运行simpletab.m程序,否则程序中的标签页无法使用。

代码片段和文件信息
function y = isbw(x)
%ISBW Return true for binary image.
% FLAG = ISBW(A) returns 1 if A is a binary image and 0
% otherwise.
%
% ISBW uses these criteria to decide if A is a binary image:
%
% - if A is of class double all values must be either 0 or 1
% and the number of dimensions of A must be 2.
%
% - If A is of class uint8 its logical flag must be on and
% the number of dimensions of A must be 2.
%
% Note that a four-dimensional array that contains multiple
% binary images returns 0 not 1.
%
% Class Support
% -------------
% A can be of class uint8 or double.
%
% See also ISIND ISGRAY ISRGB.
% Clay M. Thompson 2-25-93
% Copyright 1993-1998 The MathWorks Inc. All Rights Reserved.
% $Revision: 5.8 $ $Date: 1997/11/24 15:35:45 $
y = ndims(x)==2;
if isa(x ‘double‘) & y
if islogical(x)
% At first just test a small chunk to get a possible quick negative
[mn] = size(x);
chunk = x(1:min(m10)1:min(n10));
y = ~any(chunk(:)~=0 & chunk(:)~=1);
% If the chunk is a binary image test the whole image
if y
y = ~any(x(:)~=0 & x(:)~=1);
end
else
y = 0;
end
elseif isa(x ‘uint8‘) & y
y = islogical(x);
end
y = logical(double(y));
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-08-18 12:49 GUI\
文件 801816 2017-08-11 02:33 GUI\grayPic.jpg
文件 1318 2017-06-22 20:54 GUI\isbw.m
文件 115745 2017-08-18 12:47 GUI\Main_Interface.fig
文件 39209 2017-08-18 12:46 GUI\Main_Interface.m
文件 766 2017-06-30 01:33 GUI\otsu.m
文件 3322 2017-06-22 22:10 GUI\SimpleTab.zip
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论