how to create a .mat file

hi this ravi,
I have some images and i need to create the .mat file with that images.So that i can load into the matlab program to take it as a positive sample for comparing in train cascade object detector.Please example me with the example.
Thanks in advance

Answers (1)

Grzegorz Knor
Grzegorz Knor on 26 Aug 2013

0 votes

Use imread function to load images, then you can save you variables in MAT file using save function. MAT-files can be loaded by means of load function.

2 Comments

ravi
ravi on 26 Aug 2013
Edited: Walter Roberson on 26 Aug 2013
hi Grzegorz Knor,
Please give me detail explanation with one example please.
Thanks in advance.

Sign in to comment.

Asked:

on 26 Aug 2013

Community Treasure Hunt

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

Start Hunting!