47
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

This is a stack of 7 images, you can click on the image to see the full resolution and guess what the subject is :D

The photos were taken using a Nikon D7500 camera connected through a T2 adapter tube with 2X magnification (NDPL-1(2X)). Microscope is the Swift SW380T. The objective is a 4x Plan objective.

For stacking the images together I use three tools: ImageMagick's mogrify to transform from the raw NEF files to .tif, Hugin's align_image_stack function to align the images, and enfuse to blend the images together.

The output .tif file was post-processed using rawtherapee in order to increase local contrast and tune some other parameters.

The process of focus stacking a set of images is rather simple in Linux. The programs above can be installed via the package manager. Then, you copy the raw files to focus-stack into a folder, and run the following sequence of commands:

(1) Convert from RAW to TIF:

mogrify -format tif *NEF

(2) Align images

align_image_stack -a aligned_ -v -m -g 10 -C *.tif

(3) Focus stack

enfuse -o result.tiff --exposure-weight=0 --saturation-weight=0 --contrast-weight=1 --hard-mask aligned_*

Below are the images used for the stack after alignment, for reference:

all 5 comments
sorted by: hot top new old
[-] [email protected] 4 points 1 week ago

Thank you for including your process!

[-] [email protected] 4 points 1 week ago

Happy you find it useful! I added the images that went into the stack for reference just now.

[-] [email protected] 3 points 1 week ago

spoilerSlice of kiwi fruit?

[-] [email protected] 1 points 1 week ago
this post was submitted on 31 May 2025
47 points (100.0% liked)

Microscopy

383 readers
1 users here now

Anything related to things that are too small to see them with the eye, and the tools used to observe them.

This space is quite general in scope - microscopes, microbiology, small component electronics, questions about buying optical components, etc.

founded 2 years ago
MODERATORS