How to store feature extracted data into 2d array
이전 댓글 표시
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
2016년 5월 23일
can you copy feature_extractor_2d.m code here...so that I can edit to save your variable into column.
sukhesh chukkapalli
2016년 5월 23일
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
2016년 5월 23일
편집: sukhesh chukkapalli
2016년 5월 24일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!