Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-21 Thread Mihai Dobrescu
Hello, sorry if I am off-topic, but I think there is something worth to
mention here:

http://kaiminghe.com/sig13/index.html
https://github.com/duanzhibin/Rectangling-Panoramic-Images-via-Warpin

When I was looking for an automated way of warping, still with no success,
I've found this technique.
There is also a step to detect vertical and horizontal lines inside.

Would it be feasible to have such feature?

Regards,
Mike

On Sat, Mar 21, 2020 at 10:21 AM Bruno Postle  wrote:

>
>
> On 20 March 2020 23:19:22 GMT, Abrimaal wrote:
> >As you see, we are not "most users", everyone is different :)
>
> This is not the 'horizon at sea' use case, it is much closer to the kind
> of stuff I tend to use Hugin for.
>
> This would be an argument for enabling horizontal control point generation
> when the output projection is set to 'rectilinear'. Horizontal control
> points are almost never any use when the output projection is
> equirectangular.
>
> --
> 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/5424B0D9-2E7F-4529-86A6-707661E5E643%40postle.net
> .
>


-- 
Mihai Sorin Dobrescu

-- 
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/CALJK-QiV-pD79jAcYrk4jmiK7ws2Lphw-09E%2BhG3LLND_M0PkA%40mail.gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-21 Thread Bruno Postle



On 20 March 2020 23:19:22 GMT, Abrimaal wrote:
>As you see, we are not "most users", everyone is different :)

This is not the 'horizon at sea' use case, it is much closer to the kind of 
stuff I tend to use Hugin for.

This would be an argument for enabling horizontal control point generation when 
the output projection is set to 'rectilinear'. Horizontal control points are 
almost never any use when the output projection is equirectangular.

-- 
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/5424B0D9-2E7F-4529-86A6-707661E5E643%40postle.net.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread Gunter Königsmann
Feels like an interesting feature-request (don't know if it is a low-hanging 
fruit or something the devs would struggle with for months) and a description 
of the pros and cons of any heuristics: it constantly fails for some users.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
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/0D803671-33EC-4D9F-9084-DEFFC3ACF7D0%40gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread David W. Jones
On March 20, 2020 5:57:41 AM HST, "Gunter Königsmann" 
 wrote:
>In most cases seemingly horizontal lines in real live often aren't
>while vertical ones often are vertical.
>
>On March 20, 2020 4:47:00 PM GMT+01:00, "David W. Jones"
> wrote:
>>On March 20, 2020 12:25:26 AM HST, Bruno Postle 
>wrote:
>>>The vast majority of panoramas don't have sea horizons, detecting
>>>horizontal lines would mess things up for everybody else. The code is
>>>capable of detecting horizontal lines, but the functionality is
>>>disabled.
>>>
>>>-- 
>>>Bruno
>>>
>>>
>>>On 20 March 2020 07:58:57 GMT, "David W. Jones" wrote:
My use case for this is to use horizontal lines for leveling
>handheld 
strip panoramas that include sea horizons. The horizon itself never 
seems to be detected as a horizontal line. Yet if I rotate the
>image, 
the find vertical lines function finds the horizon as a vertical
>line.

Maybe the question is why doesn't the point finding function find 
horizontal lines in the first place? What makes them different from 
vertical lines that they can't be found?
>>>
>>>-- 
>>>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/33E5-53F2-46B3-9224-9567A02A77CD%40postle.net.
>>
>>Why is the functionality disabled?
>>
>>-- 
>>David W. Jones
>>gnomeno...@gmail.com
>>wandering the landscape of god
>>http://dancingtreefrog.com
>>
>>Sent from my Android device with F/LOSS K-9 Mail.
>>
>>-- 
>>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/65695B91-1F5B-4698-B94E-2529879B894B%40gmail.com.
>
>-- 
>Sent from my Android device with K-9 Mail. Please excuse my brevity.

Well, in my experience with other photos, a lot of "vertical" lines aren't 
straight up-and-down verticals: legs of a rocking chair, for instance.

Oh, well. Requiring manual entry of horizontal lines is ok.

Still would be nice to be able to select multiple lines and toggle the change 
en masse.

-- 
David W. Jones
gnomeno...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.

-- 
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/F13961C7-E724-43B5-9F8D-DCE9A743649B%40gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread Gunter Königsmann
In most cases seemingly horizontal lines in real live often aren't while 
vertical ones often are vertical.

On March 20, 2020 4:47:00 PM GMT+01:00, "David W. Jones"  
wrote:
>On March 20, 2020 12:25:26 AM HST, Bruno Postle  wrote:
>>The vast majority of panoramas don't have sea horizons, detecting
>>horizontal lines would mess things up for everybody else. The code is
>>capable of detecting horizontal lines, but the functionality is
>>disabled.
>>
>>-- 
>>Bruno
>>
>>
>>On 20 March 2020 07:58:57 GMT, "David W. Jones" wrote:
>>>My use case for this is to use horizontal lines for leveling handheld 
>>>strip panoramas that include sea horizons. The horizon itself never 
>>>seems to be detected as a horizontal line. Yet if I rotate the image, 
>>>the find vertical lines function finds the horizon as a vertical line.
>>>
>>>Maybe the question is why doesn't the point finding function find 
>>>horizontal lines in the first place? What makes them different from 
>>>vertical lines that they can't be found?
>>
>>-- 
>>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/33E5-53F2-46B3-9224-9567A02A77CD%40postle.net.
>
>Why is the functionality disabled?
>
>-- 
>David W. Jones
>gnomeno...@gmail.com
>wandering the landscape of god
>http://dancingtreefrog.com
>
>Sent from my Android device with F/LOSS K-9 Mail.
>
>-- 
>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/65695B91-1F5B-4698-B94E-2529879B894B%40gmail.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
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/854A3A8D-8A72-4139-8AA3-8F2B4121745C%40gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread David W. Jones
On March 20, 2020 12:25:26 AM HST, Bruno Postle  wrote:
>The vast majority of panoramas don't have sea horizons, detecting
>horizontal lines would mess things up for everybody else. The code is
>capable of detecting horizontal lines, but the functionality is
>disabled.
>
>-- 
>Bruno
>
>
>On 20 March 2020 07:58:57 GMT, "David W. Jones" wrote:
>>My use case for this is to use horizontal lines for leveling handheld 
>>strip panoramas that include sea horizons. The horizon itself never 
>>seems to be detected as a horizontal line. Yet if I rotate the image, 
>>the find vertical lines function finds the horizon as a vertical line.
>>
>>Maybe the question is why doesn't the point finding function find 
>>horizontal lines in the first place? What makes them different from 
>>vertical lines that they can't be found?
>
>-- 
>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/33E5-53F2-46B3-9224-9567A02A77CD%40postle.net.

Why is the functionality disabled?

-- 
David W. Jones
gnomeno...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.

-- 
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/65695B91-1F5B-4698-B94E-2529879B894B%40gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread Bruno Postle
The vast majority of panoramas don't have sea horizons, detecting horizontal 
lines would mess things up for everybody else. The code is capable of detecting 
horizontal lines, but the functionality is disabled.

-- 
Bruno


On 20 March 2020 07:58:57 GMT, "David W. Jones" wrote:
>My use case for this is to use horizontal lines for leveling handheld 
>strip panoramas that include sea horizons. The horizon itself never 
>seems to be detected as a horizontal line. Yet if I rotate the image, 
>the find vertical lines function finds the horizon as a vertical line.
>
>Maybe the question is why doesn't the point finding function find 
>horizontal lines in the first place? What makes them different from 
>vertical lines that they can't be found?

-- 
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/33E5-53F2-46B3-9224-9567A02A77CD%40postle.net.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread David W. Jones
My use case for this is to use horizontal lines for leveling handheld 
strip panoramas that include sea horizons. The horizon itself never 
seems to be detected as a horizontal line. Yet if I rotate the image, 
the find vertical lines function finds the horizon as a vertical line.


Maybe the question is why doesn't the point finding function find 
horizontal lines in the first place? What makes them different from 
vertical lines that they can't be found?


On 3/19/20 9:15 PM, Bruno Postle wrote:

I was bitten by this this week and needed to change lots of points
from vertical to horizontal. But I was doing something *really*
obscure (stitching handheld photos of architectural drawings).

We need to know your use-case, horizontal control points are
completely useless for most users, what can you possibly need them
for?


Weird, when I replied to this email, Abrimaal's quoted portion 
disappeared. Had to copypaste it back in.


On 19 March 2020 23:39:44 GMT, Abrimaal wrote:

> *Now I would like to select all lines and change the value to horizontal - 
> but select all does not work here. *

> I rotate the image back to 0°, the detected lines are still listed as 
vertical.


--
David W. Jones
gnomeno...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

--
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/426e77a4-ece3-8241-67aa-6a6b2cd400c0%40gmail.com.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-20 Thread Bruno Postle
I was bitten by this this week and needed to change lots of points from 
vertical to horizontal. But I was doing something *really* obscure (stitching 
handheld photos of architectural drawings).

We need to know your use-case, horizontal control points are completely useless 
for most users, what can you possibly need them for?

-- 
Bruno


On 19 March 2020 23:39:44 GMT, Abrimaal wrote:
>
>*Now I would like to select all lines and change the value to horizontal - 
>but select all does not work here. *
>I rotate the image back to 0°, the detected lines are still listed as vertical.

-- 
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/432B5D33-6C6C-433A-BF68-CB4DF41785B3%40postle.net.


Re: [hugin-ptx] Select all vertical lines and change to horizontal at once - it this possible?

2020-03-19 Thread David W. Jones
On March 19, 2020 1:39:44 PM HST, Abrimaal  wrote:
>This is an example of straightening a single photo (but it also refers
>to a 
>sequence of images and there are more lines)
>
>I open an image. 
>Rotate it 90°
>Run vertical line detector to detect horizontal lines. 
>
>All the horizontal lines are detected as vertical lines, what is
>correct.
>
>*Now I would like to select all lines and change the value to
>horizontal - 
>but select all does not work here. *
>I rotate the image back to 0°, the detected lines are still listed as 
>vertical.
>
>When loading 3 exposures, there are already 15 lines to correct. 
>*Is there any simpler method to change all vertical lines to
>horizontal*, 
>than click on any of the 15 lines and change each?
>
>I run again the line detector - this time it detects vertical lines.
>Optimise and save.
>
>
>
>
>
>-- 
>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/917c0d1c-cdad-4433-aa4f-b247f9216c85%40googlegroups.com.

I think that functionality would be nice, as you outlined it.

Only way I can think of now is to save the PTO after first running vertical 
line detector on it, edit it in text editor, search and replace to change 
vertical to horizontal. Save it, then reopen it in Hugin, rotate images back, 
and rerun vertical lines.

Maybe the developers have a better idea?

-- 
David W. Jones
gnomeno...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.

-- 
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/98A39366-6C14-415D-8EFD-38809E414966%40gmail.com.