This should be possible with some extra steps.

The nona-deshake.pl script uses align_image_stack to align the photos.
This is more robust with sequences taken during different lighting
conditions, but I don't expect it to work with 360 degree images. So
you would need to extract a rectilinear image for each frame, align
these rectilinear frames, but modify the script to assemble the
aligned sequence from the original 360 degree images.

Just offsetting 360 degree images sideways is equivalent to a yaw
transform, this would be ok as long as there is no roll and pitch
variation. If so you only need to modify the script to print the yaw
angle for each source photo, and calculate the pixel offset from that.

-- 
Bruno

On Mon, 5 Jul 2021 at 15:37, Aleksandr Spiridonov <[email protected]> wrote:
>
> I'm a Hugin and panotools newbie. I came across this thread while researching 
> image alignment. Would this approach work to align multiple equirectangular 
> images, or more specifically, I would be more interested in getting 
> horizontal offsets between a particular image and the reference image. My use 
> case is automatically aligning 360 panoramas that are taken on a periodic 
> basis. The reason I'm mostly interested in determining the offset is because 
> I can align the images in the pano viewer by mapping the pixel offsets to yaw 
> offsets.
>
> On Monday, June 25, 2018 at 3:01:23 PM UTC-4 [email protected] wrote:
>>
>> I recently needed to convert a series of webcam images to video, but the
>> camera wobbles around in the wind, so I needed to stabilise them first.
>> Also the camera is at a funny angle, and I wanted to use Hugin to level
>> the scene.
>>
>> The solution is to use align_image_stack to align the photos to an
>> anchor image, but align_image_stack can't cope with thousands of photos,
>> so it needs some help.
>>
>> The attached perl script uses a Hugin project file as a template to
>> fix lens distortion, straighten, and define a crop for the output. It
>> also uses the photo defined in the project as a reference, so all the
>> images in the sequence are fitted to this image.
>>
>> Here's a short clip showing the result is pretty solid (except during
>> the bit where the entire scene is covered in fog):
>> https://youtu.be/N80QkvfnjhQ


-- 
Bruno

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAJV99Zjh90wJxADPXUFMk1fqeh2Z0EQV9iNELrPT4z8vhQJHVg%40mail.gmail.com.

Reply via email to