Undefined function 'feautre_vec' for input arguments of type 'char'.

I wrote a MATLAB code which consists of two function files. The problem is that once I try the code
I get the following error: "Undefined function or method 'time' for input arguments of type 'char'"
I don't understand what I did wrong.
I will appreciate your help.

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 9 月 14 日

0 投票

You need to be calling feature_vec with the content of an image. The image needs to be 2 dimensional (note that .jpg files are always 3 dimensional). I am not certain if the code will act correctly if the image passed is uint8; it might have to be double.
The two functions need to be somewhere on your MATLAB path.

カテゴリ

ヘルプ センター および File ExchangeComputer Vision Toolbox についてさらに検索

質問済み:

2015 年 9 月 14 日

回答済み:

2015 年 9 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by