フィルターのクリア

How to store feature extracted data into 2d array

1 回表示 (過去 30 日間)
sukhesh chukkapalli
sukhesh chukkapalli 2016 年 5 月 22 日
回答済み: sukhesh chukkapalli 2016 年 5 月 24 日
I am try to store the output of the feature extracted data of image into 2d array. But the output is 55 numeric values. The output is printed line by line. How can I store this 55 numbers into 2d array. I put this output into one variable, from the variable to store the data into array format for storing into excel sheet. If the output is stored as same in excel, It cannot store in row format, It store in column format like presented output format.So how to store this data into 2d array. My code and my output is
x = imread(sprintf('E:/apps/project/TELUGU data/telugu sep/1/ (1).jpg'))
n = feature_extractor_2d(x);
output is
-0.4000
0.4000
0.6000
-0.2000
0.2600
0.3355
0.1685
0.2055
0.0317
0.2000
1.0000
0.8000
0.6000
0.6494
0
0.1481
0.1852
0.0206
0.8000
0.6000
0.4000
0.4000
0.1132
0.5556
0.1564
0.1564
0.0247
0.6000
0.6000
0.6000
0
0.5788
0.0731
0.1865
0.1404
0.0264
0.8000
0
0.6000
0.4000
0.0023
0.3949
0.3210
0.2564
0.0220
0.6000
0.6000
0.8000
0.6000
0.6488
0.1943
0.0374
0.1070
0.0285
1.0000
Can any one help me how to divide and store this type of data into array. Thank you
  4 件のコメント
KSSV
KSSV 2016 年 5 月 23 日
Undefined function or variable 'discourser'.
Error in feature_extractor_2d (line 7) image=discourser(image);
Error in f (line 2) n = feature_extractor_2d(x);
sukhesh chukkapalli
sukhesh chukkapalli 2016 年 5 月 23 日
編集済み: sukhesh chukkapalli 2016 年 5 月 24 日
sorry for the error I added total project file

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

採用された回答

sukhesh chukkapalli
sukhesh chukkapalli 2016 年 5 月 24 日
x=cell(1,278);
n=cell(1,279);
for j=1:279
cellRef = sprintf('A%d:BC%d',j,j);
x{j} = imread(sprintf('E:/telugu sep/2/(%d).jpg',j))
n{j} = feature_extractor_2d(x{j});
xlswrite('2.xls',n{j},'myResult',cellRef);
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by