Hessian2Ddec

eigenvalues and eigenvectors of the Hessian of 2D matrix
40 Downloads
Updated Sat, 01 Jun 2019 01:13:34 +0000

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 (2024). Hessian2Ddec (https://www.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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0