フィルターのクリア

use trainNetwork() function on a matrix of doubles

2 ビュー (過去 30 日間)
Tianyi Ma
Tianyi Ma 2018 年 3 月 1 日
編集済み: KSSV 2021 年 3 月 16 日
I want to feed my neural network a 2D matrix which contains the computed luminosity difference of an image sequence. I want to use the trainNetwork() function, but it can only work on data with standard image format and does not accept .mat files. Is there any ways that I could read from a .mat file and then feed the 2D matrix read from it into my neural network?
Thanks, Tianyi

回答 (2 件)

Krishna Bindumadhavan
Krishna Bindumadhavan 2018 年 3 月 13 日
As an preprocessing step as outlined here , you can convert the .mat file to .jpg format and then you can use the converted image as an input to the neural network.

Ammar Saleem
Ammar Saleem 2018 年 4 月 17 日
編集済み: KSSV 2021 年 3 月 16 日
https://www.mathworks.com/help/nnet/ref/trainnetwork.html#mw_a6eaa015-a2c1-4432-8b91-040f85f64071 use Train Network for Image Regression or Train Network for Sequence Classification according to your requirement

カテゴリ

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