-
大小: 12KB文件类型: .zip金币: 2下载: 0 次发布日期: 2021-05-14
- 语言: Matlab
- 标签: 图像分割 模糊聚类 FCM FuzzyC-Means
资源简介
FLICM 算法,是一种基于局部空间信息模糊聚类的鲁棒图像分割算法,来自论文"A Robust Fuzzy Local Information C-Means Clustering Algorithm", IEEE Transactions on Image Processing 19(5) 2010 1328-1337, doi: 10.1109/TIP.2010.2040763,使用Matlab R2018b编写,皆用矩阵计算。
![](http://www.nz998.com/pic/67863.jpg)
代码片段和文件信息
function varargout = colorspace(Conversionvarargin)
%COLORSPACE Convert a color image between color representations.
% B = COLORSPACE(SA) converts the color representation of image A
% where S is a string specifying the conversion. S tells the
% source and destination color spaces S = ‘dest<-src‘ or
% alternatively S = ‘src->dest‘. Supported color spaces are
%
% ‘RGB‘ R‘G‘B‘ Red Green Blue (ITU-R BT.709 gamma-corrected)
% ‘YPbPr‘ Luma (ITU-R BT.601) + Chroma
% ‘YCbCr‘/‘YCC‘ Luma + Chroma (“digitized“ version of Y‘PbPr)
% ‘YUV‘ NTSC PAL Y‘UV Luma + Chroma
% ‘YIQ‘ NTSC Y‘IQ Luma + Chroma
% ‘YDbDr‘ SECAM Y‘DbDr Luma + Chroma
% ‘JPEGYCbCr‘ JPEG-Y‘CbCr Luma + Chroma
% ‘HSV‘/‘HSB‘ Hue Saturation Value/Brightness
% ‘HSL‘/‘HLS‘/‘HSI‘ Hue Saturation Luminance/Intensity
% ‘XYZ‘ CIE XYZ
% ‘Lab‘ CIE L*a*b* (CIELAB)
% ‘Luv‘ CIE L*u*v* (CIELUV)
% ‘Lch‘ CIE L*ch (CIELCH)
%
% All conversions assume 2 degree observer and D65 illuminant. Color
% space names are case insensitive. When R‘G‘B‘ is the source or
% destination it can be omitted. For example ‘yuv<-‘ is short for
% ‘yuv<-rgb‘.
%
% MATLAB uses two standard data formats for R‘G‘B‘: double data with
% intensities in the range 0 to 1 and uint8 data with integer-valued
% intensities from 0 to 255. As MATLAB‘s native datatype double data is
% the natural choice and the R‘G‘B‘ format used by colorspace. However
% for memory and computational performance some functions also operate
% with uint8 R‘G‘B‘. Given uint8 R‘G‘B‘ color data colorspace will
% first cast it to double R‘G‘B‘ before processing.
%
% If A is an Mx3 array like a colormap B will also have size Mx3.
%
% [B1B2B3] = COLORSPACE(SA) specifies separate output channels.
% COLORSPACE(SA1A2A3) specifies separate input channels.
% Pascal Getreuer 2005-2006
%%% Input parsing %%%
if nargin < 2 error(‘Not enough input arguments.‘); end
[SrcSpaceDestSpace] = parse(Conversion);
if nargin == 2
Image = varargin{1};
elseif nargin >= 3
Image = cat(3varargin{:});
else
error(‘Invalid number of input arguments.‘);
end
FlipDims = (size(Image3) == 1);
if FlipDims Image = permute(Image[132]); end
if ~isa(Image‘double‘) Image = double(Image)/255; end
if size(Image3) ~= 3 error(‘Invalid input size.‘); end
SrcT = gettransform(SrcSpace);
DestT = gettransform(DestSpace);
if ~ischar(SrcT) & ~ischar(DestT)
% Both source and destination transforms are affine so they
% can be composed into one affine operation
T = [DestT(:1:3)*SrcT(:1:3)DestT(:1:3)*SrcT(:4)+DestT(:4)];
Temp = zeros(size(Image));
Temp(::1) = T(1)*Image(::1) + T(4)*Image(::2) + T(7)*Image(::3) + T(10);
Temp(::2) = T(2)*Image(::1) + T(5)*Image(::2) + T(8)*Imag
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-10-10 14:20 FLICM图像分割算法\
文件 13703 2018-01-29 22:31 FLICM图像分割算法\colorspace.m
文件 3404 2020-10-10 14:20 FLICM图像分割算法\FLICM.asv
文件 3422 2020-10-10 14:21 FLICM图像分割算法\FLICM.m
文件 1175 2020-09-12 19:10 FLICM图像分割算法\Label_image.m
文件 66614 2016-12-22 16:41 FLICM图像分割算法\sy2.bmp
- 上一篇:MATLAB计算对极线程序
- 下一篇:arma模型_matlab源码
相关资源
- 基于区域生长的图像分割MATLAB
- 细胞图像分割matlab代码
- Matlab图像分割边缘提取算法
-
Fuzzysimuli
nk有关模糊PID问题概述-自适 - 基于lab空间的图像分割
- 正负斜率LFM信号的仿真(信号生成,
- MATLAB大脑腔体图像分割
- LAB空间分别提取红色、绿色、紫色、
- 论文研究-电加热模糊PID控制及仿真研
- 图像分割matlab
- 模糊聚类图像分割FCM/FLICM等
- 模糊控制及其MATLAB应用
- 王立新Matlab模糊系统与模糊控制教程
-
基于SIMUli
nk的汽车发动机怠速模糊神 - 永磁同步电机的模糊PI控制.rar
- 基于matlab的模糊边缘检测
- ASM二维图像分割MATLAB代码
- matlab运动模糊图像复原 实验报告
- matlab 静态图像分割
- 基于核回归kernel regression方法的去模糊
- 基于模糊控制的永磁同步电机驱动系
- 模糊PID在热水锅炉温度控制系统中的
- 基于信息熵方法的多阈值图像分割算
- KFCM与FCM进行脑电图分割
- 纹理图像分割Matlab源代码 PDF PPT
- 智能控制及matlab仿真实验知道
- 神经模糊控制理论及应用[李国勇][电
- 基于变分水平集的图像分割
- 陈继光《Matlab与自适应神经网络模糊
- 多种PID控制算法-matlab 实现
评论
共有 条评论