You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2010-10-23 23:53:34

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

An easy horizon straightening tool

I've been using APP for many years and it never ceases to amaze me how great this program is.  Most of my panos are nature/landscape types and they are all shot handheld.  Only horizontal shots of between 100 and 180 degrees.  But somehow APP nearly always manages to assemble an amazing pano out of these source images.

The only problem I have is that, because they are shot handheld, APP sometimes has a hard time giving me a straight horizon.  The vertical lines tool rarely works well for this task.  It seems it never gets a clean straight line all the way accross the pano.  If it's just a simple curve like a banana, you can fix it with the Center Point tool.  But if it is more of an S shape, it is much more difficult.  And for this kind of subject, I can't use the Planar projection which has more tools available.  So I usually go in the CP editor and remove points in clouds and add some where it may help.  And that usually works fine.  BUT... when you have a lot of panos to create, this ends up taking quite a lot of time.

I have asked for this already a few years ago but with no success so it's time to bring it back.  Would it be possible to simply use a bezier type of line to trace the horizon as it comes out of the initial detection and then have APP straighten the image based on that? 

Below is an example of an initial detection. 
Then a line drawn across the horizon I want to end up with.
And finally the resulting clean image (still not perfect in my example) which APP would then generate based on that user drawn hz line.

Thank you.

Bo


Uploaded Images

Last edited by Bmachine (2010-10-24 00:04:56)


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#2 2010-10-24 02:36:18

gerardm
Member
From: nyc
Registered: 2006-08-29
Posts: 133
Website

Re: An easy horizon straightening tool

I second this idea.   I recently did many large water images.  The lack of control points made the image "un-straightable"    I tried every tool.   I ended-up using puppet warp in CS5.   On 10+gigapixel images, puppet warp was painfully slow.

Offline

 

#3 2010-10-24 03:16:10

DrSlony
Moderator
From: London, United Kingdom
Registered: 2007-11-03
Posts: 2259
Website

Offline

 

#4 2010-10-24 04:00:29

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Ha!  Perfect, DrSlony.  Great minds think alike.  ;-)

But reading your second post, the last reply is from Alexandre who says "Good idea DrSlony and easy to code."   Well ???  If it was easy to code two years ago, where is it?

Allo, Alexandre ???

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#5 2010-10-25 09:24:42

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: An easy horizon straightening tool

Yes, who's calling ? smile

We are always concentrating totally on the final release and I don't want to spend now some time on any new feature. But after the release, really, it will be the right time to do that.

Offline

 

#6 2010-10-25 17:18:39

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Merci Alexandre!

I certainly understand your desire to focus on 2.5.  That new version is awesome, btw!

But promise us that it wont be another 2 years before we get the horizon tool, ok?  ;-)

Thannk you very much.

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#7 2010-10-25 17:28:02

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Wait, actually, it is THREE years!  I have just found my original request for this tool which dates back to 2007...  ;-)

http://www.autopano.net/forum/t2229-str … he-horizon

Thanks Alex!

PS:  I re-read that old post and there were some good suggestions on how, in case of handheld landscape panos, it is better to keep cps on far objects rather than near ones.


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#8 2012-02-15 20:50:40

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

So, Alexandre.... 

Is there any progress on this "Simple to code" issue by any chance?

Has it been incorporated in 2.6 and I did not notice?

Thank you!

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#9 2012-02-15 21:35:41

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6433
Website

Re: An easy horizon straightening tool

Bmachine wrote:

So, Alexandre.... 

Is there any progress on this "Simple to code" issue by any chance?

Has it been incorporated in 2.6 and I did not notice?

Thank you!

Bo

Ho Bo!

I´m not sure to understand your question: you want a tool for straightenig the horinzon? But it´s already there since the early days of APP . .

Take the vertical line tool and draw a vertical line somewhere - these lines have yellow horizontal lines. Connect these yellow horizontal lines layed over the curved horizont for straightening it.
That´s all.

http://www.autopano.net/wiki-en/action/ … ical_lines

Not being explained here really well . .

Hope, i got what you meant . . cool

best, Klaus

Last edited by klausesser (2012-02-15 21:41:30)


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#10 2012-02-16 01:09:25

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Thanks Klaus,

But if you read my post from the beginning, you will see that this is different from the vertical lines tool.  That tool does not work well for straightening out horizons.  Sometimes it does but most of the time not.  Alexandre recognized this and promised that the tool I described was "easy to code".  That was 4 years ago...

Note that DrSlony had separately asked for the same thing.  Check his posts links above.

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#11 2012-02-16 16:35:11

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6433
Website

Re: An easy horizon straightening tool

Bmachine wrote:

Thanks Klaus,

But if you read my post from the beginning, you will see that this is different from the vertical lines tool.  That tool does not work well for straightening out horizons.  Sometimes it does but most of the time not.  Alexandre recognized this and promised that the tool I described was "easy to code".  That was 4 years ago...

Note that DrSlony had separately asked for the same thing.  Check his posts links above.

Bo

Hi Bo!

I used it several times and it worked out very fine! The yellow lines should follow the curve of your horizont. In my case it made it perfectly straight.
Maybe you must make lots of lines!

best, Klaus

Last edited by klausesser (2012-02-16 16:35:58)


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#12 2012-02-16 22:17:29

leifs
Member
From: Ørsta Norway
Registered: 2009-09-06
Posts: 464
Website

Re: An easy horizon straightening tool

klausesser wrote:

I used it several times and it worked out very fine! The yellow lines should follow the curve of your horizont. In my case it made it perfectly straight.
Maybe you must make lots of lines!

best, Klaus

I tried it on this pano, where it is essential to get the horizon straight and horisontal. And I could not make it work satisfyingly and resorted to photoshopping.
A better make-the-horizon-straight-and-horisontal-tool would be welcome !
http://www.rundskuer.no/panotour/rundefyr/index.html

leifs


Olympus OM-D E-M5, Panasonic 8mm f3.5 fisheye, Olympus 12mm f2.0, Leica 25mm f1.4, Zeiss 50mm f1.4, Canon FD 85mm f1.8, Canon 100-400mm f/4.5-5.6 L
Seitz VRdrive2
Intel i7 980X, 48GB RAM, Win7 64bit, SSD RAIDs

Offline

 

#13 2012-02-17 00:58:20

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6433
Website

Re: An easy horizon straightening tool

leifs wrote:

klausesser wrote:

I used it several times and it worked out very fine! The yellow lines should follow the curve of your horizont. In my case it made it perfectly straight.
Maybe you must make lots of lines!

best, Klaus

I tried it on this pano, where it is essential to get the horizon straight and horisontal. And I could not make it work satisfyingly and resorted to photoshopping.
A better make-the-horizon-straight-and-horisontal-tool would be welcome !
http://www.rundskuer.no/panotour/rundefyr/index.html

leifs

Hi!

Definitely the best way to get a straight horizont is to level the camera carefully . . . winkcool

But as i said: i had good experiences using the vertical line tool.

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#14 2012-02-17 19:58:11

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

I have found the vertical line tool to be a hit and miss for horizons.  For straightening building, it looks good.  But for horizons, it often seems to be making each line straight by itself but does not move them all so they are at the same height relative to the bottom of the frame. 

And that is probably why it is called "Vertical lines" tool and not "Horizon" tool.


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#15 2012-02-17 20:35:50

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6433
Website

Re: An easy horizon straightening tool

Bmachine wrote:

And that is probably why it is called "Vertical lines" tool and not "Horizon" tool.

Thanx for the information - i didn´t realise that . . winkbig_smilecool

Nevertheless: i my case it works alright for straightening a horizon too when you have a curved one.
Maybe it depends a lot on the way it´s curved . . . !?

But as i said already: level the camera and you HAVE a straight horizon cool

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#16 2012-02-17 22:40:08

leifs
Member
From: Ørsta Norway
Registered: 2009-09-06
Posts: 464
Website

Re: An easy horizon straightening tool

klausesser wrote:

But as i said already: level the camera and you HAVE a straight horizon cool
best, Klaus

not always after it is "optimized".
then the vertical-line-game is like chasing rabbits:
the fix is ok but another place on the horizon which was ok is no longer ok.

leifs


Olympus OM-D E-M5, Panasonic 8mm f3.5 fisheye, Olympus 12mm f2.0, Leica 25mm f1.4, Zeiss 50mm f1.4, Canon FD 85mm f1.8, Canon 100-400mm f/4.5-5.6 L
Seitz VRdrive2
Intel i7 980X, 48GB RAM, Win7 64bit, SSD RAIDs

Offline

 

#17 2012-02-18 00:14:19

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

leifs wrote:

klausesser wrote:

But as i said already: level the camera and you HAVE a straight horizon cool
best, Klaus

not always after it is "optimized".
then the vertical-line-game is like chasing rabbits:
the fix is ok but another place on the horizon which was ok is no longer ok.

leifs

Exactly!


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#18 2012-02-18 17:04:29

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6433
Website

Re: An easy horizon straightening tool

Bmachine wrote:

leifs wrote:

klausesser wrote:

But as i said already: level the camera and you HAVE a straight horizon cool
best, Klaus

not always after it is "optimized".
then the vertical-line-game is like chasing rabbits:
the fix is ok but another place on the horizon which was ok is no longer ok.

leifs

Exactly!

Are we talking about a spherical or a rectilinear pano?

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#19 2012-02-20 03:28:16

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

I almost always use spherical.

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#20 2012-02-20 09:31:11

leifs
Member
From: Ørsta Norway
Registered: 2009-09-06
Posts: 464
Website

Re: An easy horizon straightening tool

I'm shooting spheres with 50-100mm equivalents

leifs


Olympus OM-D E-M5, Panasonic 8mm f3.5 fisheye, Olympus 12mm f2.0, Leica 25mm f1.4, Zeiss 50mm f1.4, Canon FD 85mm f1.8, Canon 100-400mm f/4.5-5.6 L
Seitz VRdrive2
Intel i7 980X, 48GB RAM, Win7 64bit, SSD RAIDs

Offline

 

#21 2012-03-03 19:54:45

CheeseAndJamSandwich
Member
From: UK, In NZ
Registered: 2007-12-09
Posts: 73

Re: An easy horizon straightening tool

I too have had several panos i couldn't straighten.
And as i've talked about in a separate request (http://www.kolor.com/forum/t7906-horizon-tool), a Horizon 'Washing Line' tool would be the easiest to use by a very long way...:
Have a way of manually putting down special horizon control points which will then line up with the theoretical horizon line, distorting/warping the image to make it right.

But again, i'd love for this functionality to deal with each image, so that the horizon will always be lines up, with out steps, which i've see soooooo many times when stitching a very flat or ocean horizon.

I can't always have my pano head/tripod with me so i'm always going to shoot hundreds of hand-held panos... which mostly work perfectly with autopano... apart from the very flat/ocean ones...

Last edited by CheeseAndJamSandwich (2012-03-03 19:57:45)

Offline

 

#22 2012-05-03 01:22:41

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Any news on this Alexandre?

Apart from this, APP/APG is more awesome in each release!

Bo


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

#23 2012-07-23 02:03:57

Bmachine
Member
From: Sydney, AU and Los Angeles, CA
Registered: 2007-07-10
Posts: 86
Website

Re: An easy horizon straightening tool

Hello?  Hello? Hello?

Allô, allô, ici la Terre... Allô, j'appelle fusée lunaire...


iMac 24.  OS 10.6.7.  Aperture, APP, PS and Lightzone.
Nikon D7000.  Mostly handheld.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson