资源简介
使用MATLAB的图像分割的源代码,包括M文件源代码和示例图片。

代码片段和文件信息
% This is a program for extracting objects from an image. Written for vehicle number plate segmentation and extraction
% Authors : Jeny Rajan Chandrashekar P S
% U can use attached test image for testing
% input - give the image file name as input. eg :- car3.jpg
clc;
clear all;
k=input(‘Enter the file name‘‘s‘); % input image; color image
im=imread(k);
im1=rgb2gray(im);
im1=medfilt2(im1[3 3]); %Median filtering the image to remove noise%
BW = edge(im1‘sobel‘); %finding edges
[imximy]=size(BW);
msk=[0 0 0 0 0;
0 1 1 1 0;
0 1 1 1 0;
0 1 1 1 0;
0 0 0 0 0;];
B=conv2(double(BW)double(msk)); %Smoothing image to reduce the number of connected components
L = bwlabel(B8);% Calculating connected components
mx=max(max(L))
% There will be mx connected components.Here U can give a value between 1 and mx for L or in a loop you can extract all connected components
% If you are using the attached car image by giving 171819222728 to L you can extract the number plate completely.
[rc] = find(L==17);
rc = [r c];
[sx sy]=size(rc);
n1=zeros(imximy);
for i=1:sx
x1=rc(i1);
y1=rc(i2);
n1(x1y1)=255;
end % Storing the extracted image in an array
figureimshow(im);
figureimshow(im1);
figureimshow(B);
figureimshow(n1[]);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 19554 2005-07-14 13:40 MATLAB图像分割提取算法源代码(示例车牌识别)\car3.jpg
文件 1306 2006-11-16 13:32 MATLAB图像分割提取算法源代码(示例车牌识别)\seg.m
..A.SH. 5632 2009-07-15 11:08 MATLAB图像分割提取算法源代码(示例车牌识别)\Thumbs.db
目录 0 2009-07-15 11:08 MATLAB图像分割提取算法源代码(示例车牌识别)
----------- --------- ---------- ----- ----
26492 4
- 上一篇:高频单调谐回路放大器.ms11
- 下一篇:通信信号特征参数的提取matlab代码
相关资源
- 基于区域生长的图像分割MATLAB
- 细胞图像分割matlab代码
- matlab版的车牌识别程序
- Matlab图像分割边缘提取算法
- 基于matlab的车牌识别系统论文
- 基于lab空间的图像分割
- 基于matlab的车牌识别资源整合16篇
- MATLAB大脑腔体图像分割
- matlab模板匹配车牌识别
- LAB空间分别提取红色、绿色、紫色、
- MATLAB 夜间车牌识别
- MATLAB车牌[GUI,语音播报,论文,详细
- 基于SVM的matlab车牌识别
- 图像分割matlab
- 模糊聚类图像分割FCM/FLICM等
- 车牌识别程序
- 基于matlab+模板匹配的车牌识别程序
- MATLAB多方法车牌识别系统bp+模板+GUI
- 基于MATLAB的车牌识别算法
- 基于matlab的模板匹配与车牌识别
- 车牌识别带有设计报告,图片,Matl
- ASM二维图像分割MATLAB代码
- matlab 静态图像分割
- matlab车牌识别完整程序
- 基于信息熵方法的多阈值图像分割算
- KFCM与FCM进行脑电图分割
- 纹理图像分割Matlab源代码 PDF PPT
- 基于变分水平集的图像分割
- 基于神经网络车牌识别识别
- 车牌识别matlab程序235178
评论
共有 条评论