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

36 次查看(过去 30 天)
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');

回答(1 个)

Manas Meena
Manas Meena 2020-12-1
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 个评论
Lucaci Diana
Lucaci Diana 2020-12-1
Hi, thanks for the answer, i was looking at this, just felt that maybe i m doing something wrong with it

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by