mahal function

조회 수: 20 (최근 30일)
swati
swati 2012년 6월 1일
댓글: Xi Chen 2015년 8월 3일
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

답변 (1개)

Oleg Komarov
Oleg Komarov 2012년 6월 1일
Try
mahal(double(x),double(y))
  댓글 수: 1
Xi Chen
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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by