Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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
Citar como
shalini c (2026). Image processing system generator model,neural network (https://la.mathworks.com/matlabcentral/fileexchange/49926-image-processing-system-generator-model-neural-network), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.0.0 (457 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0.0 |
