Re: Performing computation of distance Mahalanobis
- From: "Sprinceana " <mihaispr@xxxxxxxxx>
- Date: Tue, 5 May 2009 13:26:02 +0000 (UTC)
I found that it exists in Matlab a fonction for computing directly the distance of Mahalanobis.
I discovered myself in Statistic Toolbox the Mahalanobis distance.
doc mahal
I want to compute the Mahalanobis distance for a big rgb image. But first I resized my image. The distance mahalanobis has 2 parameters the first is the matrix associated for my image in this case is J and the second is a parameter that performs computation of distance Mahalanobis for each line of my matrix. I don't know how tu use computation of mahal function the mathematical principe I understood and it's presented in my description.
What have I done in command window:
Name Size Bytes ClassI=imread('poza1.jpg');imshow(I);
whos I
I 960x1280x3 3686400 uint8 array
J=imresize(I, [100 100])
Name Size Bytes Classwhos J
J 100x100x3 30000 uint8 array
mahal(J,X)
And I want that in parameter X performs me the distance Mahalanobis for each line of my matrix so in X I want to be stored 100 values which represents the distance Mahalanobis for each line of my matrix.
I want your response with this!
I'm stuck using : >>doc mahal
.
- References:
- Performing computation of distance Mahalanobis
- From: Sprinceana
- Performing computation of distance Mahalanobis
- Prev by Date: Re: MATLAB on GPUs
- Next by Date: Nike dunk high shoes wholesale\retail
- Previous by thread: Performing computation of distance Mahalanobis
- Next by thread: Re: Performing computation of distance Mahalanobis
- Index(es):
Relevant Pages
|
Loading