How to use image input with Neural Network?

9 ビュー (過去 30 日間)
Max333
Max333 2012 年 3 月 24 日
編集済み: kevin harianto 2022 年 3 月 28 日
I'm new for neural network. I don't know how to train and test neural network with image processing. when I read image into matlab it will be matrix and I covert to gray and 2*2double matrix. If I have many image matrix to train. Should I have to concatenate every image matrix to one image matrix that will be same row but many column or Should I have to covert image matrix to one column per one image first and concatenate every column to one image matrix ?. How I have to do and what function to do that?

採用された回答

Greg Heath
Greg Heath 2012 年 3 月 24 日
If you have N images of size I =row*column, each image is columnized to form a column in the input matrix with size
[I N ] =size(iput)
Hope this helps.
Greg
  2 件のコメント
Max333
Max333 2012 年 3 月 25 日
Thanks for answer. but I don't understand. please describe algolithm to form image for use with Neural Network in newff and train function. After I read image with this code.
I1 = imread('1.jpg');
I2 = imread('2.jpg');
I3 = imread('3.jpg');
G1 = rgb2gray(I1);
G2 = rgb2gray(I2);
G3 = rgb2gray(I2);
D1 = im2double(G1);
D2 = im2double(G2);
D3 = im2double(G3);
How can I form these image to be input data for newff ?
Greg Heath
Greg Heath 2015 年 4 月 15 日
col = image(:);
Although, using extracted features instead of the whole image is recommended.

サインインしてコメントする。

その他の回答 (6 件)

Noureldin Mohammed Zakaria
Noureldin Mohammed Zakaria 2017 年 10 月 20 日
How to input an image and let matlab to detecet it using neural network ?

Greg Heath
Greg Heath 2013 年 4 月 1 日
input = [ D1(:) D2(:) D3(:) ]
Thank you for formally accepting my answer
Greg

Swati memane
Swati memane 2014 年 2 月 21 日
I am new to matlab..I want to know how to train the set of images using HMM.

subhra pattnaik
subhra pattnaik 2015 年 4 月 15 日
Sir, actually I am working on blood vessel detection of reinal image given below using the paper attached with it.But I am using neural network toolbox and I don't know what input and target values should be taken so that segmentation of the image can be done.

Ankur Dutt
Ankur Dutt 2015 年 5 月 9 日
Greg sir, I extracted features from 90X60 binary image. it is actually a column matrix of 54 elements. but i does not have neural network code for recognition of these segmented 90X60 images. so sir please can you provide me a neural network code that can recognize only 16 characters. sir i also attach a m-file of feature extraction. Thank You.

padmavathi vattikonda
padmavathi vattikonda 2017 年 1 月 27 日
good morning sir, Present I am working on the neural networks, I want to know how image will give as input to neural networks and how can I process it. Thank you sir
  2 件のコメント
lamine lamine
lamine lamine 2017 年 5 月 9 日
hi have you find something .i have also start with neural network
kevin harianto
kevin harianto 2022 年 3 月 28 日
編集済み: kevin harianto 2022 年 3 月 28 日
I cant seem to get my layered graph to compile into a DAG network. How did you do it? Assembly wont work as well as replacing a layer.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by