How to create database to store values

1 Ansicht (letzte 30 Tage)
Pat
Pat am 29 Dez. 2012
Kommentiert: AJ am 9 Nov. 2019
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

Akzeptierte Antwort

Sabarinathan Vadivelu
Sabarinathan Vadivelu am 29 Dez. 2012
Bearbeitet: Sabarinathan Vadivelu am 29 Dez. 2012
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 Kommentare
Srikanth
Srikanth am 7 Feb. 2014
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 am 9 Nov. 2019
Unable to perform assignment
because the left and right sides
have a different number of
elements.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by