Image processing system generator model,neural network

버전 1.0.0.0 (457 KB) 작성자: shalini c
creating blocks in simulink using xilinx blocksets
다운로드 수: 456
업데이트 날짜: 2015/3/5

라이선스 보기

This is the model which I have created for testing a neural network...where constant ,constant1,constant2 ,etc are the inputs for the model.weights i have collected from matlab execution.These inputs are the major axis,minor axis ,aspect ratio and area of an image.last one is bias value.Can any1 tell me is this model is correct. How do I create system generator blocks for feeding these inputs using image not manually.I mean pre processing and extracting those four shape features.
[f,p] = uigetfile('*.jpg;*.bmp');
I = imread([p f]);
a = imresize(I,[256 256]);
%% shape
im=a;
figure(1)
subplot(2,3,1); imshow(im),impixelinfo;
title('original image');
ValRL1=140;
ValRH1=250;
ValGL1=22;
ValGH1=150;
ValBL1=20;
ValBH1=100;
Iy=(im(:,:,1)>ValRL1)&(im(:,:,2)>ValGL1)&(im(:,:,3)>ValBL1) & (im(:,:,1)<ValRH1)&(im(:,:,2)<ValGH1)&(im(:,:,3)<ValBH1);
subplot(2,3,2); imshow(Iy),impixelinfo; title('binary image');
Iy = imfill(Iy,'holes');
Iy=bwareaopen(Iy,250);
subplot(2,3,3); imshow(Iy);
title('binary image');
[r,c]=find(Iy);
majoraxis=max(c)-min(c);
minoraxis=max(r)-min(r);
Aspectratio=majoraxis/minoraxis
[Label,Total]=bwlabel(Iy,8);
num=1;
Parameter=regionprops(Label,'all');
Obj_area1=Parameter(num).Area

인용 양식

shalini c (2024). Image processing system generator model,neural network (https://www.mathworks.com/matlabcentral/fileexchange/49926-image-processing-system-generator-model-neural-network), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0