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

回答(1 个)

Grzegorz Knor
Grzegorz Knor 2013-8-26

0 个投票

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 个评论

ravi
ravi 2013-8-26
编辑:Walter Roberson 2013-8-26
hi Grzegorz Knor,
Please give me detail explanation with one example please.
Thanks in advance.

请先登录,再进行评论。

提问:

2013-8-26

Community Treasure Hunt

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

Start Hunting!

Translated by