Reconstruct 3d image
Show older comments
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 Comments
Wick
on 1 May 2018
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
on 1 May 2018
Wick
on 1 May 2018
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
on 1 May 2018
Wick
on 1 May 2018
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
on 1 May 2018
Do you want to just see the elevation of IC? Try:
h=pcolor(IC);
set(h,'LineStyle','none')
Answers (0)
Categories
Find more on Deep Learning for Image Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!