Thursday 24 November 2022

RGB Holograms -- three different ones

I want to manipulate AI images to create strange 3D holograms in the Looking Glass Portrait display.

Conventional Hologram
XnView>Create>Strip of images...
The most straight forward hologram file
created after making a conventional "depth map"


The easiest way to create hologram files for the Looking Glass display is to:
  •  First generate a depth map with DPT Large
  • I usually then bump up the contrast of the depth map in XnView -- Image>Adjust>Normalize...
  • Then I append that depth map to the right of the original image with XnView -- Create>Strip of images.. 

RGB MANIPULATION
for holograms

When I broke the main image into three different RGB channels, I made three different holograms. 
Red channel 
Download "01_red.hop" (908 KB)

Green channel
Download "02_green.hop" (896 KB)

Blue channel
Download "03_blue.hop" ( KB)

This does create three different 3D holograms, though there is little difference between the hologram made with the Green channel vs the hologram made with the Blue channel.


YouTube does not really convey
the 3D experience very well


Second Try

I tried the same approach the Exquisite Corpse image I generated last October, first breaking the image down into three channels with XnView -- R, G and B.

I paired the straight R,G and B images next to the full color original, but the resulting hologram diptych did not look great in the Looking Glass Portrait display.

However when I took one step further, and converted the R,G and B channels into depth maps -- using DPT Large -- that produced a lot better hologram when viewed in the Looking Glass Portrait display.  Note the difference in the hologram diptychs below:

RED Channel
The top hologram file did not work well
though the bottom one did


Midjourney Madness

I decided to experiment further by making random depth maps in Midjourney, just to see what would happen.

I've used Midjourney successfully before, but uploaded the depth map rather than the main image to Midjourney -- which then generated this white cat below, minimally different from the original depth map:

The faint white cat on the right
works as a decent enough depth map


This time I wanted to go wild and made used "depth map" as the prompt after uploading the main image:

The main image
to be massaged into a depth map
to make a hologram


I first uploaded the initial image above to Midjourney, using the prompt: "depth map," and spawned four results:

Midjourney prompt: "depth map"


I then enlarged the first two Midjourney results, and attached them to the right of the main initial image using XnView:

First Hologram/Midjourney Experiment

To be used as a depth map

Download  "Boccioni_Midjourney__001.hop" (738 KB)


Second Hologram/Midjourney Experiment

To be used as a depth map

Download  "Boccioni_Midjourney__002.hop" (786 KB)

The above two Midjourney hologram files worked, although the 3D looked a little strange.  Download all  the HOP files from my GDrive.


In Reverse

Since I was being so casual with the depth maps, I decided to reverse the order of the first hologram file, and turn the main figure into a depth map.  This hologram file also worked...a little strange but appropriate, as the image is a little strange to begin with:

Download  "Boccioni_Midjourney__003.hop(738 KB)


The ultimate moral of the story is that we can be a little loose with the depth maps, to push the 3D images into something more artistic.


Odd BINARY Experiment

After generating an origami jaguar in Midjourney, I broke it down into a black-and-white binary image in XnView>Convert to Binary>Binary (Floyd Steinberg).  Then I paired that binary image to the right of the original jaguar image and created a hologram diptych for the Looking Glass Portrait display:


XnView>Image>Convert to Binary>Binary (Floyd Steinberg)
XnView>Create>Strip of images...
Download large version from my GDrive:
jag_experiment.jpg (2048 x 1024...2.13 MB)

The 3D result was pretty good, giving the sensation that the jaguar was made of midst, or was a ghost...



No comments:

Post a Comment

Note: only a member of this blog may post a comment.