While the described window is not a hologram per se and I think the hologram-like effect can easily break for other images (i.e. it can not reliably represent depth), it should be noted that it has a certain relation to holograms. Holograms modify plane wave in a way which reproduces wavefront from a recorded scene. Usually it's done by capturing interference pattern, but alternatively hologram can introduce phase shifts by varying thickness (ideally it's worth to use both phase shift and absorption). I think it should be possible to create hologram with the same setup by changing optimization function. Although I am not sure if you will be able to perform precise enough carving with your setup for reproducing complex enough scenes. Try to start with representing several dots at different distance from hologram plane each radiating radial wave. Thinking about diverging lens as of hologram representing one such point should help with intuition.