How to do a hilber transform of a 2d image?

27 views (last 30 days)
Lucaci Diana
Lucaci Diana on 26 Nov 2020
Commented: Lucaci Diana on 1 Dec 2020
I need to apply a hilbert transformation to an image that I have and I don't know how to, because I understood that hilber fucntion is working with a matrix.
Do I need the pixels of the image ?
%%3 image hilbert transform test
%%apply hilbert transform on the imafe 'image' to get 'hilb_image'
%%note: hilbert transform generates complex numbers outputs
%%add instructions here
hilb_image = ;
subplot(2, 3, 4);
%%use display image with scaled colors command (not imshow). put title
%%'hilbert' add instructions here
imagesc(hilb_image);
title('Hilbert');

Answers (1)

Manas Meena
Manas Meena on 1 Dec 2020
x = hilbert(xr)
this returns the analytic signal, x, from a real data sequence, xr. If xr is a matrix, then hilbert finds the analytic signal corresponding to each column.
You can also refer to the links below
  1 Comment
Lucaci Diana
Lucaci Diana on 1 Dec 2020
Hi, thanks for the answer, i was looking at this, just felt that maybe i m doing something wrong with it

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!