フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how do i train this image pixels row by row i have one filtered image and original image i have to compare oringinal image first row and filtered image first row

1 回表示 (過去 30 日間)
monu
monu 2016 年 11 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
i=imread('le.jpg');
gray = rgb2gray(i);
isp=imnoise(gray,'salt & pepper',0.1);
ip=imnoise(gray,'poisson');
ip=imnoise(isp,'poisson');
med=medfilt2(ip);
inputs=im2double(med);
outputs=im2double(gray);
net = network( ...
1, ... % numInputs, number of inputs,
2, ... % numLayers, number of layers
[1; 0], ... % biasConnect, numLayers-by-1 Boolean vector,
[1; 0], ... % inputConnect, numLayers-by-numInputs Boolean matrix,
[0 0; 1 0], ... % layerConnect, numLayers-by-numLayers Boolean matrix
[0 1] ... % outputConnect, 1-by-numLayers Boolean vector
);
net.layers{1}.size = 256;
net.layers{1}.transferFcn = 'logsig';

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by