필터 지우기
필터 지우기

Export features extraction as a .mat file

조회 수: 2 (최근 30일)
Hazel Sialongo
Hazel Sialongo 2016년 9월 27일
댓글: Walter Roberson 2017년 1월 13일
After I extract the features of an image, I want it to save as .mat file but I don't know how? Please help me!

채택된 답변

Walter Roberson
Walter Roberson 2016년 9월 27일
save('NameOfMatFile.mat', 'MEAN', 'SD', 'ENTROPY', 'RMS' and so on)
This assumes that you have stored the value you labelled MEAN in a variable named MEAN .
If you have a bunch of uicontrol edit boxes then it is possible to extract their String properties and save those, but since you are extracting features from an image you have already calculated those into variables and you might as well save the numeric variables directly.
  댓글 수: 6
hema purad
hema purad 2017년 1월 12일
hi thank you for your answer
Walter Roberson
Walter Roberson 2017년 1월 12일
Loop over the blobs or images, for each construct a row vector of the properties you want in the order you want. Use each of those row vectors as a row in a matrix. At the end, save the matrix.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by