I have a phase shifted matrix gotten from my phase shifting algorithm. I want to reconstruct this data i have in 3-dimension.I don't know how to go about the 3-dimensional reconstruction.I have attached my phase shifted output.

6 件のコメント

Wick
Wick 2018 年 5 月 1 日
The only variable I see in your file is IC, a [705 x 835] 2D array. Is this something you need help with the 'reshape' command to get back to a size you want it to be that includes a third dimension?
augustus buckman
augustus buckman 2018 年 5 月 1 日
@Chad Slipperley, the IC is the phase shifted and phase unwrapped output I got after I passed sinusoid patterns on the object. The IC when plotted using imagesc gives a pixel intensity shape. But I want to also reconstruct this shape in 3D and I don't know how to go about it.
Wick
Wick 2018 年 5 月 1 日
You mean like mesh or surf? Those plot surfaces as a function of two dimensions. In the absence of the underlying dimensions, a uniform index vector is assumed for each direction.
Try:
mesh(IC)
augustus buckman
augustus buckman 2018 年 5 月 1 日
I did try that but my IC looks more of 2d without giving me the depth of the object I used surf(IC) and I got a little bit of depth but my image is slanted... Is there a way to get the depth of the object? @Chad Sipperley, can you try the.mat variable I gave and see if you can get the depth of the object
Wick
Wick 2018 年 5 月 1 日
As I have no idea how that variable was generated, I have no idea what it is you're trying to extract. I've plotted the IC variable and it appears to be a nearly-planar 2D surface with some high-frequency details on the ends. The surface is not parallel to the XY plane, however, so it's got "depth." If that's not what you're looking for, you're going to have to provide more explanation as to what that variable is representing and what results you're trying to see.
I have no idea what "a phase shifted matrix" from a "phase shifting algorithm" means.
Wick
Wick 2018 年 5 月 1 日
Do you want to just see the elevation of IC? Try:
h=pcolor(IC);
set(h,'LineStyle','none')

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2018 年 4 月 30 日

コメント済み:

2018 年 5 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by