Hessian2Ddec

eigenvalues and eigenvectors of the Hessian of 2D matrix
43 Downloads
Updated 1 Jun 2019

View License

Compute eigenvalues and eigenvectors of the Hessian of 2D matrix as gray images.
The miniature is obtain by following code :
I = mat2gray(imread('cameraman.tif'));
[n, m] = size(I);
idx = (1:20:(n*m))';
[rows, cols] = meshgrid(1:m, 1:n);
[l, v] = Hessian2Ddec(I, 10, true);
figure; imshow(I); hold on;
quiver(cols(idx), rows(idx), v(idx + n*m*2), v(idx + n*m*3), 'b')

Cite As

Geoffrey Schivre (2026). Hessian2Ddec (https://uk.mathworks.com/matlabcentral/fileexchange/71713-hessian2ddec), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0