Re: [hugin-ptx] Re: Stereo image alignment

2024-04-18 Thread Chris
Maybe I read too much into Vladimir's recommendation:
https://wiki.panotools.org/Talk:Align_image_stack *->* 
http://vndlinuxphoto.blogspot.com/2011/01/stereo-image-alignment-in-hugin.html 
*->*
align_image_stack -p aligned.pto -a aligned -m -i -P -C *right.jpg left.jpg*
He names two files and puts them in a specific order - right then left, 
rather than the more logical left then right, so I assumed that's what you 
had to do. Checking the documentation I now see that the -S, _A and -P 
options don't mention files, so I assume the answer is probably the last 
one of those I suggested in my previous post - it makes no assumptions 
about L and R and just matches them all together. The order could be 
modifed by the options --align-to-first and/or --use-given-order 
On Thursday, April 18, 2024 at 9:57:42 PM UTC+1 Chris wrote:

> Yes, I understood that, but this thread is about stereo image alignment.  
> You need 2 images for that, so how does it pick 2 out of for example 10 
> images? Or does it assume the first one in order is the left-hand image and 
> then treat all the others as right-hand ones and match them to it? Or does 
> it make no assumptions about L and R and just match them all together?
>
> On Wednesday, April 17, 2024 at 8:50:21 PM UTC+1 bruno...@gmail.com wrote:
>
>> On Wed, 17 Apr 2024, 20:33 Chris wrote:
>>
>>> OK. It wouldn't have occurred to me do this because there could be ten 
>>> files in the "glob". Would it just take the first 2, and assume that the 
>>> first one was the right-hand image and the second the left-hand?
>>
>>
>> align_image_stack will align as many images as you like. It was 
>> originally devised for creating HDR images from bracketed exposure stacks, 
>> which typically have five or more photos.
>>
>> -- 
>> 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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/b30fcb73-cce3-4139-9c16-baec394d752dn%40googlegroups.com.


Re: [hugin-ptx] Re: Stereo image alignment

2024-04-18 Thread Chris
Yes, I understood that, but this thread is about stereo image alignment.  
You need 2 images for that, so how does it pick 2 out of for example 10 
images? Or does it assume the first one in order is the left-hand image and 
then treat all the others as right-hand ones and match them to it? Or does 
it make no assumptions about L and R and just match them all together?

On Wednesday, April 17, 2024 at 8:50:21 PM UTC+1 bruno...@gmail.com wrote:

> On Wed, 17 Apr 2024, 20:33 Chris wrote:
>
>> OK. It wouldn't have occurred to me do this because there could be ten 
>> files in the "glob". Would it just take the first 2, and assume that the 
>> first one was the right-hand image and the second the left-hand?
>
>
> align_image_stack will align as many images as you like. It was originally 
> devised for creating HDR images from bracketed exposure stacks, which 
> typically have five or more photos.
>
> -- 
> 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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/674044d9-5062-43db-a7db-9a58f7a9300cn%40googlegroups.com.


Re: [hugin-ptx] Re: Stereo image alignment

2024-04-17 Thread Bruno Postle
On Wed, 17 Apr 2024, 20:33 Chris wrote:

> OK. It wouldn't have occurred to me do this because there could be ten
> files in the "glob". Would it just take the first 2, and assume that the
> first one was the right-hand image and the second the left-hand?


align_image_stack will align as many images as you like. It was originally
devised for creating HDR images from bracketed exposure stacks, which
typically have five or more photos.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAJV99Zghj1WfLc5h3_DjqZqBLMfBrEJwKTKmyk5%3DGON45NgO3Q%40mail.gmail.com.


Re: [hugin-ptx] Re: Stereo image alignment

2024-04-17 Thread Chris
OK. It wouldn't have occurred to me do this because there could be ten 
files in the "glob". Would it just take the first 2, and assume that the 
first one was the right-hand image and the second the left-hand?

On Wednesday, April 17, 2024 at 7:38:10 AM UTC+1 bruno...@gmail.com wrote:

> On Wed, 17 Apr 2024, 07:13 Chris wrote:
>
>> T modes:"*No, you can also use placeholder like ? or *. "*
>>
>
> This is undocumented so far as I can see.
>>
>
> This is normal filename globbing. The ? and * characters are usually 
> expanded into a list of files by the operating system. align_image_stack 
> only sees the list of files.
>
> -- 
> 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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/4980683b-d8de-4f4d-b078-6a72abec88c3n%40googlegroups.com.


Re: [hugin-ptx] Re: Stereo image alignment

2024-04-16 Thread Bruno Postle
On Wed, 17 Apr 2024, 07:13 Chris wrote:

> T modes:"*No, you can also use placeholder like ? or *. "*
>

This is undocumented so far as I can see.
>

This is normal filename globbing. The ? and * characters are usually
expanded into a list of files by the operating system. align_image_stack
only sees the list of files.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAJV99ZhOWpGra%3DKbBvqH_VOUWTVzCM4hUb5AfsHKqPbS5e7THw%40mail.gmail.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-16 Thread Chris
T modes:"*No, you can also use placeholder like ? or *. "*
This is undocumented so far as I can see.

On Wednesday, April 17, 2024 at 6:38:19 AM UTC+1 Chris wrote:

> *T Modes: "Sorry, I did not check correctly. It was a mistake on my side. 
> Take my excuse."*
> Apology accepted.
> *"But you repeat often the same phrases..."*
> I'll answer that* on *https://groups.google.com/g/hugin-ptx/c/StZln-rxsGw 
> where it belongs.
>
> On Monday, April 15, 2024 at 5:46:52 PM UTC+1 T. Modes wrote:
>
>> Chris schrieb am Montag, 15. April 2024 um 18:11:57 UTC+2:
>>
>> ...here. What is the third platform are you referring to?
>>
>>
>> Sorry, I did not check correctly. It was a mistake on my side. Take my 
>> excuse.
>>
>> But you repeat often the same phrases: assumes options or implies options 
>> means in this context that the corresponding option automatically 
>> activated/set and does not need to set manually.
>>
>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/c08712d2-96cc-4a55-9473-1eef5c70f284n%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-16 Thread Chris
*T Modes: "Sorry, I did not check correctly. It was a mistake on my side. 
Take my excuse."*
Apology accepted.
*"But you repeat often the same phrases..."*
I'll answer that* on *https://groups.google.com/g/hugin-ptx/c/StZln-rxsGw 
where it belongs.

On Monday, April 15, 2024 at 5:46:52 PM UTC+1 T. Modes wrote:

> Chris schrieb am Montag, 15. April 2024 um 18:11:57 UTC+2:
>
> ...here. What is the third platform are you referring to?
>
>
> Sorry, I did not check correctly. It was a mistake on my side. Take my 
> excuse.
>
> But you repeat often the same phrases: assumes options or implies options 
> means in this context that the corresponding option automatically 
> activated/set and does not need to set manually.
>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/8a254799-fe6d-4c1c-8f44-6a7f2e802f57n%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread Chris
In fact I can't see how either "implies" or "assumes" can be used in this 
context. 
*"This will also set the --use-given-order option"*  uses simple English 
and the meaning is quite clear.

On Monday, April 15, 2024 at 6:01:16 PM UTC+1 Chris wrote:

> OK
> *But you repeat often the same phrases: assumes options or implies options 
> means in this context that the corresponding option [was?] automatically 
> activated/set and does not need to [be?] set manually.*
>
> That's for 2 reasons. Because you've only just explained that clearly 
> here, and because, as I wrote in a message in the other thread, I was 
> hoping that the documentation would be clarified so anyone else reading the 
> documentation page would be clear about what is meant - without having to 
> discover and read through that thread.
> There might be exceptions, but English usually needs a verb after assumes 
> or implies, or it doesn't make sense. Certainly in this case they need a 
> verb. For example
> Implies that x *has been done*.
> Assumes that z *will be done*.
> On Monday, April 15, 2024 at 5:46:52 PM UTC+1 T. Modes wrote:
>
>> Chris schrieb am Montag, 15. April 2024 um 18:11:57 UTC+2:
>>
>> ...here. What is the third platform are you referring to?
>>
>>
>> Sorry, I did not check correctly. It was a mistake on my side. Take my 
>> excuse.
>>
>> But you repeat often the same phrases: assumes options or implies options 
>> means in this context that the corresponding option automatically 
>> activated/set and does not need to set manually.
>>
>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/79c97e38-c8f4-42c8-9b93-0dc924b1879en%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread Chris
OK
*But you repeat often the same phrases: assumes options or implies options 
means in this context that the corresponding option [was?] automatically 
activated/set and does not need to [be?] set manually.*

That's for 2 reasons. Because you've only just explained that clearly here, 
and because, as I wrote in a message in the other thread, I was hoping that 
the documentation would be clarified so anyone else reading the 
documentation page would be clear about what is meant - without having to 
discover and read through that thread.
There might be exceptions, but English usually needs a verb after assumes 
or implies, or it doesn't make sense. Certainly in this case they need a 
verb. For example
Implies that x *has been done*.
Assumes that z *will be done*.
On Monday, April 15, 2024 at 5:46:52 PM UTC+1 T. Modes wrote:

> Chris schrieb am Montag, 15. April 2024 um 18:11:57 UTC+2:
>
> ...here. What is the third platform are you referring to?
>
>
> Sorry, I did not check correctly. It was a mistake on my side. Take my 
> excuse.
>
> But you repeat often the same phrases: assumes options or implies options 
> means in this context that the corresponding option automatically 
> activated/set and does not need to set manually.
>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/3325b887-d904-4487-9e70-2ca9becb471an%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread 'T. Modes' via hugin and other free panoramic software


Chris schrieb am Montag, 15. April 2024 um 18:11:57 UTC+2:

...here. What is the third platform are you referring to?


Sorry, I did not check correctly. It was a mistake on my side. Take my 
excuse.

But you repeat often the same phrases: assumes options or implies options 
means in this context that the corresponding option automatically 
activated/set and does not need to set manually.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/76d3d605-587a-4163-8135-b91704390bbdn%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread Chris
...here. What is the third platform are you referring to?

On Monday, April 15, 2024 at 5:11:13 PM UTC+1 Chris wrote:

> Sorry, I didn't realise you were a moderator. 
> "on one platform. This is now the third one" I got no reponse on the 
> bugtracker so posted her. What is the third platforms are you referring to?
>
> On Monday, April 15, 2024 at 4:23:34 PM UTC+1 T. Modes wrote:
>
>> Hi Chris,
>>
>> Chris schrieb am Montag, 15. April 2024 um 11:06:51 UTC+2:
>>
>> The Panotools 3D page https://wiki.panotools.org/Talk:Align_image_stack 
>> gives 
>> a statement which is clearly wrong:
>>
>> Please keep the discussion on one platform. This is now the third one you 
>> are using for the same questions. Most discussion are  done on this mailing 
>> list. The bug tracker and the wiki are not an ideal place for such 
>> discussion.
>>
>> *align_image_stack -i -a AIS_ -S -A -P IMG_.*
>>
>>- 
>>
>>- 
>>
>>It only names one input file.
>>
>> No, you can also use placeholder like ? or *. 
>>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/13e6c3bb-db7e-45c5-9842-6800d3d2fd4an%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread Chris
Sorry, I didn't realise you were a moderator. 
"on one platform. This is now the third one" I got no reponse on the 
bugtracker so posted her. What is the third platforms are you referring to?

On Monday, April 15, 2024 at 4:23:34 PM UTC+1 T. Modes wrote:

> Hi Chris,
>
> Chris schrieb am Montag, 15. April 2024 um 11:06:51 UTC+2:
>
> The Panotools 3D page https://wiki.panotools.org/Talk:Align_image_stack gives 
> a statement which is clearly wrong:
>
> Please keep the discussion on one platform. This is now the third one you 
> are using for the same questions. Most discussion are  done on this mailing 
> list. The bug tracker and the wiki are not an ideal place for such 
> discussion.
>
> *align_image_stack -i -a AIS_ -S -A -P IMG_.*
>
>- 
>
>- 
>
>It only names one input file.
>
> No, you can also use placeholder like ? or *. 
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/b233223e-74dd-424a-90a9-bddbdc8fdd48n%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread 'T. Modes' via hugin and other free panoramic software
Hi Chris,

Chris schrieb am Montag, 15. April 2024 um 11:06:51 UTC+2:

The Panotools 3D page https://wiki.panotools.org/Talk:Align_image_stack gives 
a statement which is clearly wrong:

Please keep the discussion on one platform. This is now the third one you 
are using for the same questions. Most discussion are  done on this mailing 
list. The bug tracker and the wiki are not an ideal place for such 
discussion.

*align_image_stack -i -a AIS_ -S -A -P IMG_.*

   - 
   
   - 
   
   It only names one input file.
   
No, you can also use placeholder like ? or *. 

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/580c2bc3-4c05-4c50-ba53-51c64c65c84fn%40googlegroups.com.


[hugin-ptx] Re: Stereo image alignment

2024-04-15 Thread Chris
 

Vladimir. I have written an app that relies on align-image-stack and your 
3D patch to it. The app is for images taken with a mobile phone or a 
camera, so they won’t be aligned properly and won’t create a 3D image 
without tedious manual alignment or preferably the use of AIS.

I have recently re-read the documentation 
https://wiki.panotools.org/Align_image_stack to try to make the most of AIS 
by using the optimum choice of settings. I found it a bit limited and 
posted some queries here https://groups.google.com/g/hugin-ptx/c/StZln-rxsGw 
with the result that it has been improved.

The Panotools 3D page https://wiki.panotools.org/Talk:Align_image_stack gives 
a statement which is clearly wrong:

*align_image_stack -i -a AIS_ -S -A -P IMG_.*

   - 
   
   - 
   
   It only names one input file.
   - 
   
   It sets both -A and -P which are contradictory. 
   
I have been using the settings you mention in your link above.

*align_image_stack -p aligned.pto -a aligned -m -i -P -C right.jpg left.jpg*

(It revealed this bug https://bugs.launchpad.net/hugin/+bug/2002813 when 
using -i which caused AIS to hang when the images were blurry, it’s fixed 
now.)

I have since noticed that you have added a statement to the official page:

*align_image_stack -p out.pto -x -s 4 -P -C right.tif left.tif*

*T**he options*
*-S *Assume stereo images - allow horizontal shift of control points. Adds 
all control points as "horizontal lines". 
-A Align stereo window - assumes -S. Adds one "normal" control point that 
is the nearest point, so that everything will appear behind the display 
plane. 
-P Align stereo window with pop-out effect - assumes -S. Adds one "normal" 
control point that is the nearest point from the border areas, so that the 
center of the image may appear in front of the display plane. 

The language is a little ambiguous here - “assumes -S “ Does this mean 

-  “Assumes you have also used the –-S parameter?” If not what would 
happen? 

Or

-  “This will also set/activate/turn-on the -S option.”

-m magnification 

I don’t think the -m is relevant for my application since both L and R 
images would be taken quickly one after the other.

*-i **Optimize image center shift for all image**s*

I assume this means “Optimise matching of centre of image, or weight 
corrections towards the centre rather than the periphery. That seems 
sensible, however it might attempt to match the x axis and I don't think we 
want that ‘corrected’ as it has to be different for the 3D effect.

*-x *That seems wrong to me as I don't think we want that ‘corrected’, as 
it has to be different for the 3D effect. Why did you switch to using this?

*Optimisation phase*

States that yaw pitch and roll are optimised by default. My images are 
likely to be incorrectly matched in the y axis and in roll, so need 
correction. I don’t think they should be adjusted in the x axis or in yaw 
as they are 3D factors. Unfortunately the yaw correction can’t be switched 
off, as it is automatic and there is no parameter for it.

I am going to try align_image_stack -a output.tif -y -P -C right.tif 
left.tif

Would you like to comment on my thoughts?











On Monday, January 31, 2011 at 10:55:14 PM UTC Vladimir Nadvornik wrote:

> Hi,
>
> I wrote a tutorial how to use my stereo patches (attached to bug
> 679753):
>
>
> http://vndlinuxphoto.blogspot.com/2011/01/stereo-image-alignment-in-hugin.html
>
> Comments are welcome.
>
> Vladimir

-- 
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/fd7f6286-d140-4729-a2c2-b70797a0fa20n%40googlegroups.com.