Hi Craig,
I'm not entirely sure if I understand the setup of photos you want to
assemble -- do you have a number of focus stacks that you want to blend
such that each stack has a good version of each pixel in at least one
image, or do you have a pano without focus stacks where some images are
slightly out of focus and should be used but only as little as possible?
Hugin itself cannot prioritise images (but there are exclude/include
masks to exclude or force-include regions of one image). However, focus
stacking works via enfuse which prioritises pixels based on content (for
further fine tuning there settings for weights that manage
exposure/saturation/contrast/entropy).
So, in the first case it's simply first fuse, then blend ("Exposure
fused from stacks", with the option of extra settings for enfuse). In
the second case, I think the main question is whether there is any
parallax error between adjacent images: If so, I'd try masks but it wont
be perfect. If there isn't, there is no reason not to fuse partially
overlapping images into a stack and favour high contrast pixels.
cheers, lukas wirz
On 23/04/2025 07:19, Craig B wrote:
Is it possible to get Hugin to prioritize images with higher
detail/sharpness when stitching?
I recently started doing photomicrographic panoramas using a reversed lens
setup and a 3-axis stage. Overall, my results are good, I have adequate
resolution into the 5μm range. Initially I tried to use CaptureOne to merge
my photos to a DNG but I ran into its upper size limit (715mp) and I'm
working with Hugin now for the larger ones.
I have learned how to get excellent alignment, clean up bad points,
optimize, and output to bigtiff/non-ZFW compression so that I don't exceed
the 4gb TIF file limit.
After all that, I finally have an image I can view in Photoshop and while
the stitch looks clean, I can tell that Hugin is not prioritizing images
with greater sharpness because I must've shifted something during the set
and some images are a little out of focus.
I have looked and can't find any option in the GUI to get Hugin to
prioritize sharper images. I found some potentially out of date references
to setting contrast or entropy weighting, but particularly for entropy, I
am not quite sure what it does.
Would one of those or another option achieve the result I want? Or is there
a way to have Hugin treat it is a focus stack+panorama so it will
prioritize the photo of greatest detail?
Any help would be great! I will also be trying these options myself, but
with each run taking around 1hr to complete, it will be slow going (hence
taking the time to ask for help!)
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/hugin-ptx/6e46a4a9-f401-47ba-9196-b74fb56c566a%40posteo.net.