How to create database to store values

조회 수: 1 (최근 30일)
Pat
Pat 2012년 12월 29일
댓글: AJ 2019년 11월 9일
I have extracted two eatures of an image and have saved it in a variable
A=[f1 f2]%f1,f2 features
now i have 100 images and i want to save it to database,so finally my database will contain values of size 100x2
please help

채택된 답변

Sabarinathan Vadivelu
Sabarinathan Vadivelu 2012년 12월 29일
편집: Sabarinathan Vadivelu 2012년 12월 29일
for i = 1 : 100 % 100 is number of images
A{i} = [f1 f2]; % make A as a cell
end
save('features.mat','A'); % create database
  댓글 수: 10
Srikanth
Srikanth 2014년 2월 7일
I have 1000 images of database and 4 features extracted for each image using graycoprops for glcm ... i wanted to create a mat file.... please could u help me in creating a mat file...
AJ
AJ 2019년 11월 9일
Unable to perform assignment
because the left and right sides
have a different number of
elements.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by