- #1
jordanleeburg
- 1
- 0
Create a Hologram with Matlab??!
Hi,
I have been given a task to mathematically create a hologram of an object so that I can try various reconstruction procedures to obtain the objects field. For simplicity I am assuming the object is a 1*1 pixel in a 256*256 matrix (x,y plane) and it is assigned the value exp(-i*thi(x)) so that it is a 'phase' object and only alters the phase of the wavefront and not the amplitude (I am modelling this case as I am using a digital holographic microscope to measure refractive index distributions of biological cells).
I am then multiplying the 'object' with a plane wave and then propagate the wave a distance z along the z axis by using the Angular spectrum method from Fourier Optics. This is not necessarily needed for a plane wave but as ultimately I would like to model Gaussian waves (whiich have curved phase surfaces so by taking the F.T we end up with a superposition of plane waves which we can propagate easily) I thought this would be a good method. I take the Fourier Transform of the initial field on z=0 and then multiply the spectrum by the transfer function (F.T of impulse response) for steps of dz and then do an iterative loop over each step dz until the wave has propagated to distance z.
So I end up with a field at Z which either resembles Fresnel or Fraunhoffer diffraction patterns depending on my input. I now need to combine this 'object' field with a reference beam so that constructive/deconstructive interference occurs and I end up with a hologram of the object.
Firstly I am not even sure if the above propagtion method is correct for calculating a hologram? I also am struggling to grasp how I can 'interfere' with a reference beam. In my model the initial plane wave is modeled as Planewave=1 as on the z=0 plane there will be a constant phase and amplitude. So the hologram is given by
Hologram=Mod(O+R)=Mod(O +1) where O=the object field which has both amplitude and phase.
I can't see how simply adding 1 to every component of my object matrix could cause 'interference' to occur? Have I majorly misunderstood something??
Please can someone help me as I have spent so long on this and am getting no where. Ideally, I would like to interfere the object wave with a plane wave which is traveling at an angle theta to the z axis. This results in an off-axis hologram. Could I do this with my above method or would I have to try a different way?
Thanks!
Hi,
I have been given a task to mathematically create a hologram of an object so that I can try various reconstruction procedures to obtain the objects field. For simplicity I am assuming the object is a 1*1 pixel in a 256*256 matrix (x,y plane) and it is assigned the value exp(-i*thi(x)) so that it is a 'phase' object and only alters the phase of the wavefront and not the amplitude (I am modelling this case as I am using a digital holographic microscope to measure refractive index distributions of biological cells).
I am then multiplying the 'object' with a plane wave and then propagate the wave a distance z along the z axis by using the Angular spectrum method from Fourier Optics. This is not necessarily needed for a plane wave but as ultimately I would like to model Gaussian waves (whiich have curved phase surfaces so by taking the F.T we end up with a superposition of plane waves which we can propagate easily) I thought this would be a good method. I take the Fourier Transform of the initial field on z=0 and then multiply the spectrum by the transfer function (F.T of impulse response) for steps of dz and then do an iterative loop over each step dz until the wave has propagated to distance z.
So I end up with a field at Z which either resembles Fresnel or Fraunhoffer diffraction patterns depending on my input. I now need to combine this 'object' field with a reference beam so that constructive/deconstructive interference occurs and I end up with a hologram of the object.
Firstly I am not even sure if the above propagtion method is correct for calculating a hologram? I also am struggling to grasp how I can 'interfere' with a reference beam. In my model the initial plane wave is modeled as Planewave=1 as on the z=0 plane there will be a constant phase and amplitude. So the hologram is given by
Hologram=Mod(O+R)=Mod(O +1) where O=the object field which has both amplitude and phase.
I can't see how simply adding 1 to every component of my object matrix could cause 'interference' to occur? Have I majorly misunderstood something??
Please can someone help me as I have spent so long on this and am getting no where. Ideally, I would like to interfere the object wave with a plane wave which is traveling at an angle theta to the z axis. This results in an off-axis hologram. Could I do this with my above method or would I have to try a different way?
Thanks!