mahal function
15 ビュー (過去 30 日間)
古いコメントを表示
when i am using mahal(Y,X) function it is giving error "Undefined function or method 'qr' for input arguments of type 'uint8'." when i examined mahal.h it is using [Q,R] = qr(C,0); at 49th line which is not defined in matlab. so what ot do for this error. Whether there is an option to get mahalanobis distance of the current color value at each pixel from the background model of that pixel. plz help me Thanks
0 件のコメント
回答 (1 件)
Oleg Komarov
2012 年 6 月 1 日
Try
mahal(double(x),double(y))
1 件のコメント
Xi Chen
2015 年 8 月 3 日
not working ds = mahal(double([X Y]), double([X Y])); Undefined function 'mahal' for input arguments of type 'double'
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!