Reconstruct 3d image

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 个评论

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?
@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.
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)
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
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.
Do you want to just see the elevation of IC? Try:
h=pcolor(IC);
set(h,'LineStyle','none')

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning for Image Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by