how to enter can tell the networks the first ten images is for first car and the other ten images for seconde cars??.
1 view (last 30 days)
Show older comments
primrose khaleed
on 22 May 2014
Answered: Greg Heath
on 24 May 2014
.i created folder of 20 images for 2 diferent cars..each cars have 10 images with diferent noise...can i used this images as inputs images and used original images as target images???plz help me
...know how to enter cann tell the networks the first ten images is for first car and the other ten images for seconde cars??...plz help me
0 Comments
Accepted Answer
Greg Heath
on 24 May 2014
target = [ repmat( [1;0],1,10) repmat( [0;1],1,10) ];
classindex = vec2ind(target)
target = ind2vec(classindex)
Hope this helps.
Thank you for formally accepting my answer
Greg
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!