finding critical points with Hessian Matrix
- From: "chris barichievy" <cbarichievy@xxxxxxxxx>
- Date: Mon, 4 Jun 2007 09:48:13 -0400
I'm trying to find morse critical points in an image by using the
eigenvalues of hessian matrix. For some reason i get erroneous
results, think it must be my coding.
here is an example:
img=peaks(250);
[imgX,imgY] = gradient(img);
[imgxx,imgyx]=gradient(imgX);
[imgxy,imgyy]=gradient(imgY);
Hess=cell(length(img(:,1)));
for row=1:length(img(:,1));
for col=1:length(img(1,:));
Hess(row,col)={eig([imgxx(row,col) imgxy(row,col); imgyx(row,col)
imgyy(row,col)])};
end
end
i get nothing like a should get, most of the results are non-zero and
i cannot then pin point the max, min or saddle points this way. Am i
missing something?
.
- Prev by Date: MATLAB gets slower significantly by increasing the input vector
- Next by Date: Re: Actxserver in linux
- Previous by thread: MATLAB gets slower significantly by increasing the input vector
- Next by thread: Where could I find implementation code for "Outer boundary tracing"
- Index(es):
Relevant Pages
|
Loading