How can we train images in matlab using artificial neural network?
Show older comments
I am training a set of images to classify it in ANN.But in neural networks how can we train a set of images and how can test image is sent as a input to check the trained images. for example:I have two sets of images...first set contains N number of images(A1, A2,...AN) and second set contains 20 images(B1,B2,...B20)..I need to train the first set images in Neural Network to match each image in the first set one by one with the second set of 20 images and display the name of the image with maximum percentage of matching...for example if A1 match best with B9 then it display A1B9 on text file...how can I do this...I'm new to Neural Network...any sort of help is highly appreciated.please help me with a full example code. Thanks in advance
2 Comments
Greg Heath
on 3 Apr 2016
Do you mean
How can we train Artificial Neural Networks in MATLAB using images?
Siva Kumar
on 5 Apr 2016
Accepted Answer
More Answers (1)
Walter Roberson
on 1 Apr 2016
0 votes
Reshape the images into vectors. Put all of vectors beside each other to form a rectangular array. That array is your data for training.
3 Comments
Siva Kumar
on 1 Apr 2016
Walter Roberson
on 1 Apr 2016
V = YourMatrix(:) ;
Siva Kumar
on 3 Apr 2016
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!