Jump to content
UltravioletPhotography

fun with IR, UV and visible images of the same subject - stacking


Recommended Posts

I did this yesterday impulsively and it has been one of the most fun and rewarding projects I've done in a while. That's why I decided to share it with you today.

I took three total images of the same subject, from the same perspective, with different parts of the spectrum filtered.

The subject is a random plant my mother owns, a PTFE sheet, and my RGB LED strip controller. I wanted to use it as an improvised color checker, but it didn't work out so well since the actual dye containing layer is covered with UV- absorbing plastic from what I see.

 

(lightsource for each image was just sunlight) Here are the images:

visible

345639427_plantvis.jpg.63c2fb43c1e0174312b258e4f99a804f.jpg

 

IR (720nm)

253802053_plantIR.jpg.940215b6d65cc90fc9e23aa622f71950.jpg

 

UV (ZWB2 + QB39) - this was shot with only the light coming through the window, it is winter so opening all the windows was not an option, but it seems to have produced an ok quality image regardless, only downside being that the exposure time needed was long, around three minutes.

2106103652_plantUV.jpg.9dc76fcb7c298f3a12a08f2f02fc4100.jpg

 

 

The images at this point are perfectly aligned, you can download them and stack them yourself, they should fit perfectly. And it was a lot of work to align them I admit, photoshop failed at doing it properly so I had to do it fully manually. Worth it.

Prior to aligning, all the images were rendered using darktable, with light balance set on the PTFE sheet, most processing options turned off with the exception of highlight reconstruction in the UV image. That is why they are so flat, nothing should be blown out here. Upcoming images are more edited.

I used AMaZE + VNG4 as my demosaicing method.

 

In this next portion, I will showcase two trichromes I produced using this data and their color corrected variants.

 

IR-R  Visible-G  UV-B trichrome

416176082_plantIRvisUVtrichromecolorbalanceonly.jpg.e05c9f57220cadc586f796f3b81cfd69.jpg

 

As you can see, this image looks a little weird, I think it is because the illumination in UV was not the best, causing extreme contrast, though I'm not entirely sure if the yellow cast would go away if I brought the whole setup on open sunlight, maybe I am just unlucky and almost all the materials visualized absorb significantly more in UV, including my grey wall paint.

 

I took the liberty of color correcting the photo to bring out some color details.

1586009150_plantIRvisUVtrichromecolorcorrected.jpg.9eac36a4152bc905e213c6930e513a5d.jpg

Looks a bit less washed out, not perfect but sufficient.

 

Next I have a GBUV stack. I extracted the green and blue channels from the visible image, mapped them to red and green, then I mapped the UV channel to blue.

721507515_plantG-B-UVcolorbalanceonly.jpg.469617b12128408deb3ed14fea5b4e81.jpg

 

Once again, the image is washed out, so here's the color corrected version.

108382087_plantG-B-UVcolorcorrected.jpg.387a24c819a210fbe2fec48b618afedc.jpg

 

 

Up next I have a few things that might not be of more "scientific" significance, but I think they're really fun. For this I used the photoshop stack mode function for smart objects.

I used the maximum, minimum, median and mean functions.

https://helpx.adobe.com/photoshop/using/image-stacks.html

On this website, you can find a full list of possible stack modes that I could use plus their practical and mathematical explanation. I ended up not using entropy, kurtosis, range, skewness, standard deviation, summation and variance. If anyone would like to see these please do tell me so I can add them. They're mostly just a jumbled mess of seemingly random colors or completely white though.

Keep in mind I normalized and edited the images a bit, so for example the upcoming minimum isn't extremely dark. If you want to see the unedited versions, again please do tell.

 

stack mode minimum

239986823_plantstackmodeminimum.jpg.120735bf2c07d09e581bb22ba460d0ef.jpg

 

stack mode maximum

1566262021_plantstackmodemaximum.jpg.8579c16b1cf2a7146f5a64ae54c9cff9.jpg

 

stack mode mean

842987946_plantstackmodemean.jpg.78f56fa333577f57ae7d6d3cbbf21bfb.jpg

 

stack mode median

1122322693_plantstackmodemedian.jpg.3c2e2c07752af14ffc6ba68372e8a76e.jpg

 

 

And the last series of images which I think are the most interesting. They are the IR and the UV images layered with the visible image in "color" mode. So that the image keeps the texture of the UV/IR image but the colors are normal.

 

IR

480151723_plantIRluminosityVIScolor.jpg.d5c12b60bfd850f871f561cdf1e0ef3c.jpg

 

And my favorite, UV.

367639346_plantUVluminosityVIScolor.jpg.86d1e9f59284a262cbfc70eb8f1b3fb9.jpg

I think the UV really is an interesting aesthetic that could perhaps be used in product photography or something, I dunno, just find the image really interesting to look at.

That's all, I'm about to go watch a movie, I hope you liked my post, see you in the comments!

 

Link to comment

Those are some great images, I find that last one my favorite too, but the IR ones are close second. May or may not be your window issue, but I was planning on some window sill shots, and it turned out my window blocked so much of the UV.(double pane energy efficient)

Anyways, great work on the stacks.

Link to comment

Good series showing some nice multispectral stacking varieties.

 

I particularly enjoyed seeing the min, max, mean and median modes. We don't see those here too often.

 

 

Link to comment
6 hours ago, Nate said:

Those are some great images, I find that last one my favorite too, but the IR ones are close second. May or may not be your window issue, but I was planning on some window sill shots, and it turned out my window blocked so much of the UV.(double pane energy efficient)

Anyways, great work on the stacks.

Thanks! I think my windows are that too, I don't know if double pane is the term but I know that the windows I have are also two panes with vacuum in-between to minimize heat transfer. They do shift the tone of UV into the violet a little bit when used with the ZWB2.

5 hours ago, Andrea B. said:

Good series showing some nice multispectral stacking varieties.

 

I particularly enjoyed seeing the min, max, mean and median modes. We don't see those here too often.

 

 

Thanks! I hope others do this too, I think the images are very fun to see.

Link to comment
5 hours ago, Stefano said:

I really like these stacks. They still look "natural" to me, despite being made using (also) invisible light.

Thanks! Do you mean any stacks in particular or just all of them?

2 hours ago, Cadmium said:

Yes, I agree with Stefano. 🙂 Nice group.

Thanks, Cadmium.

Link to comment
23 minutes ago, colinbm said:

Wow Fandyus these are all fantastic & very artistry too, you must of had a huge amount of fun doing these.

Thanks a lot! Yes I have had a lot of fun for sure, the not so fun part was aligning the pictures though, the Industar 50-2 I use has a slight issue with focus breathing.

Link to comment

You can try Bernard's Hugin alignment method to see if that works better. 

Outlined here:

https://www.ultravioletphotography.com/content/index.php?/topic/3536-composite-uv-imaging-using-multiple-filters/#comment-30723

 

 

The full process that Bernard used to do the same kind of thing was written here:

https://www.ultravioletphotography.com/content/index.php?/topic/3500-fullfalse-colour-uv-photography/#comment-30286

 

I like these as well. Its fun to switch the various wavelengths into the color channels.

Also good not to limit yourself to a standard blue channel always equals UV or red, as some images look better with a different mix.

 

I really like the stack mode minimum image with all the textures.  I will have to see if Affinity photo can so something similar.  I remember some of those settings there.

Link to comment
11 hours ago, Fandyus said:

Thanks! Do you mean any stacks in particular or just all of them?

I mean all of them except the last four (minimum, maximum, mean and median).

Link to comment
21 hours ago, Stefano said:

I mean all of them except the last four (minimum, maximum, mean and median).

I see thanks.

20 hours ago, Blazer0ne said:

I like that plant in burgundy.

For sure, GBUV stacks are interesting and I think they should be explored more, with plants especially.

Thanks.

Link to comment
6 hours ago, OlDoinyo said:

So I understand the last two images are: luminance, IR or UV; hue and chrominance, visible. Am I correct?

Well I don't know the difference between hue and chrominance. Not sure what blend mode I used, it was either luminance on top of the visible image or color on top of the two IR and UV images.

Link to comment

Roughly speaking, hue is the tint of the color.

Chrominance is the intensity (saturation) of the color.

 

I was inspired by this to post some image mash-ups of my own. The subject is the Fiasco Farm barn in Ellisville. IL, which I mentioned in a previous post. Some of the source images are marred by an artifact, so are not exactly artistic-grade. But I had some fun anyway.195339452_FiascoBarnMultispectralMosaic.jpg.10f0b85e4179b05999f7b7996ccef3fd.jpg

 

The last two images were constructed by switching to Lab color in Photoshop, which isolates the luminance channel of the image and enables paste-in from another image. The final image type might conceivably have some forensic or technical potential, but I am unsure about that point.

Link to comment

Right! Anyhow, I'm most glad to have inspired you. These are some nice results you have. Intrestingly enough, the GBU stack looks like a normal full spectrum picture. Thanks for posting, maybe you should make this it's own post, actually.

Link to comment
On 12/15/2021 at 6:58 AM, Doug A said:

@Fandyus really neat images. The different variations are enlightening. You have shown there's so much we don't see. Fascinating.

 

Thanks for sharing,

Doug A

Thanks a lot for the compliment, Doug. Glad you like it.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...