maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Panoramic Image Stitcher Application for N900 (https://talk.maemo.org/showthread.php?t=31469)

joeD 2009-09-10 03:06

Panoramic Image Stitcher Application for N900
 
I am not sure how hard this would be, but with the N900 having a "quality" 5 MP Carl Zeiss camera, is there any developer interested in tackling a challenge on making a Panoramic image stitcher? Something that would take a series of photos, like up to 10, using a transparent, overlaid edge to line up the next shot with the previous one, then stitch them together to form a large panoramic image. I would imagine in would work in conjunction with the camera application somehow, so all the image parameter would be set up that way e.g., image size, quality, effects, etc. It could be really cool. Any one out there working on such a program, or be willing to?

lardman 2009-09-10 07:18

Re: Panoramic Image Stitcher Application for N900
 
Yep it's an interesting topic. Might be better to find some existing software and re-compile that rather than re-writing (though writing it yourself is of course the interesting bit). I'd search for a command link app ideally (no gui = fewer deps and the possibility to integrate it into some other program more easily).

I've just done a quick Google and these things exist, in fact quite a few do, and many are command line apps (as this is a reasonably popular research topic, so there's lots of codes out there)

paulkoan 2009-09-10 09:27

Re: Panoramic Image Stitcher Application for N900
 
Yeah - recompile hugin I reckon.

Gui based, but gtk so all is well there, then panotools for the backend.

This of course is easy to say!

benny1967 2009-09-10 09:34

Re: Panoramic Image Stitcher Application for N900
 
On my S60 phone, the camera application does this. You take one pictuture after the other, and they'll all get saved as one large panorama image.

Are we sure yet that the Maemo 5 camera application will not offer this feature? Of course hugin or thelike would still be nice for images that come from a different source then....

ragnar 2009-09-10 09:37

Re: Panoramic Image Stitcher Application for N900
 
No panoramic feature in the N900 camera application. (In general, there are zero to minimal links to any S60 application vs. 'respective' Maemo application.)

But it's definitely a cool idea, especially considering that the N900 takes some nice photos.

benny1967 2009-09-10 09:49

Re: Panoramic Image Stitcher Application for N900
 
thx for this info, ragnar.

hugin, iirc, has a terrible UI. and i'm not talking about "all thumbs" - it's hard to use on the desktop, too. simply too powerful, too many options. it's not fun. not at all.

maybe a dramatically simplified GUI based on the same backend would be better, even if you lose features and settings.

ragnar 2009-09-10 10:49

Re: Panoramic Image Stitcher Application for N900
 
Yes, definitely keeping it simple. iPhone has several of these kind of apps - useful for inspiration and reference.

Pano: http://debaclesoftware.com/
TripStitch: http://byteslice.com/Support/TripStitch
AutoStitch: http://www.technosanity.com/2009/06/...-panorama-app/

It would really need to be as simple as those are...

benny1967 2009-09-10 11:10

Re: Panoramic Image Stitcher Application for N900
 
still, the easiest way for any user to create panorama images is directly from the camera: take a picture, move the cam to the left, take a second picture etc etc.

this process could be further simplified if the cam application takes a new picture without any user interaction as soon as the overlapping area reaches a certain minimum. (i think this is how it's done on my phone, but i cant recall exactly - it's 2 months since i last used it.)

this needn't be included in the stock camera application. it would be OK as a standalone app.

BTW: this is probably the first time in my whole life that i asked for a simplified GUI and less options.

darethehair 2009-09-10 13:03

Re: Panoramic Image Stitcher Application for N900
 
Quote:

Originally Posted by benny1967 (Post 324740)
thx for this info, ragnar.

hugin, iirc, has a terrible UI. and i'm not talking about "all thumbs" - it's hard to use on the desktop, too. simply too powerful, too many options. it's not fun. not at all.

maybe a dramatically simplified GUI based on the same backend would be better, even if you lose features and settings.

I agree with you! Even though the idea for a stitcher is cool, I cannot imagine being able to do a 'good' job of it on such a tiny screen. Heck, when I bought a 1920x1200 monitor for my desktop to do this, it was like night-and-day for doing this compared to before -- I cannot imagine what it would be like on a tablet.

On this topic, though, it would be nice if there was a stand-alone panoramic *viewer* -- especially one that could handle 'spherical' panoramas!

joeD 2009-09-10 13:56

Re: Panoramic Image Stitcher Application for N900
 
Quote:

Originally Posted by ragnar (Post 324758)
Yes, definitely keeping it simple. iPhone has several of these kind of apps - useful for inspiration and reference.

Pano: http://debaclesoftware.com/
TripStitch: http://byteslice.com/Support/TripStitch
AutoStitch: http://www.technosanity.com/2009/06/...-panorama-app/

It would really need to be as simple as those are...

the iphone apps was exactly what i was thinking. Simple UI, works well with the small, and lesser resolution screen than the n900, and they are all stand alone apps that use the "ok" camera, and I have seen some really nice, well stitched panoramics. Some of the apps can actually stitch up to 15 consecutive images!

Thanks for discussing this. Would be fantastic to have such an application on a high end device like this.

timsamoff 2009-09-10 13:58

Re: Panoramic Image Stitcher Application for N900
 
Quote:

Originally Posted by joeD (Post 324634)
...a Panoramic image stitcher...

Actually, this would be a really cool method for making "Image Sets" as well. These are a series of four images that apply to the four panoramic desktops in Maemo 5.

Tim

lardman 2009-09-11 09:29

Re: Panoramic Image Stitcher Application for N900
 
Quote:

I agree with you! Even though the idea for a stitcher is cool, I cannot imagine being able to do a 'good' job of it on such a tiny screen. Heck, when I bought a 1920x1200 monitor for my desktop to do this, it was like night-and-day for doing this compared to before -- I cannot imagine what it would be like on a tablet.
The stitching is all done in software (or at least it could be, no idea what those apps make you do), though I agree that viewing the panorama may not be ideal on a small screen. But who am I to question someone else's dream? :)

attila77 2009-09-11 11:26

Re: Panoramic Image Stitcher Application for N900
 
Maybe if you had cam app assistance it would be easier... As in, choose a panorama mode, and then show 1/4 of the previous image overlaid in the cam app and remember to use the same cam settings as previously (exposure, ISO, etc). It probably would be bad at high-res photos, but for wallpaper/web class stuff it might be more than enough and it requires little to no postprocessing.

Mandibela 2010-02-20 21:14

Re: Panoramic Image Stitcher Application for N900
 
http://store.ovi.com/content/23154

It seems someone did create a program for shooting panoramic images. (Only a) Trial is available already, but this will be a commercial app.

flydeep 2010-02-21 06:42

Re: Panoramic Image Stitcher Application for N900
 
Just tried the trial version, a cool app. The picture quality sucks big time but with steady hands can it be improved?

Wikiwide 2013-07-14 12:29

Re: Panoramic Image Stitcher Application for N900
 
With steady hands you could fly a plane in a snowstorm, or walk a rope while wearing a blindfold. With steady hands (translation: tripod stand and alidad) you could take an ideal panorama, and the application wouln't have to compare them to determine their relative positions - it would have only to stitch them accurately.
The fact is, Nokia Panorama application has excellent interface, and not-ideal-but-almost-perfect stitching. However, today as I tried to take a panorama, it crashed during stitching (four photographs, nothing complex) and rebooted the whole operating system. The four photographs and warps.txt are still here. I am attempting to stitch the four photographs with desktop-Hugin, but it's frustrating. Who knows HFOV of Nokia N900 camera? Or its lens type?
The idea: create script which would check whether Panorama is running; if not, then check if there are any files in /home/user/.Panoramatmp ; if yes, then check that the latest photographs (beginning from P0.jpg; number of them could be determined from warps.txt, I expect) don't have a corresponding already-stitched Panorama in /home/user/MyDocs/Panorama ; if yes, then stitch the photographs using the warps.txt and add it to /home/user/MyDocs/Panorama .
This script could be run either manually, if you don't mind having to remember to click it each time Panorama crashes during stitching, or be typed into Panorama shortcut to run after Panorama closes - just in case Panorama crashed. It should not be run before Panorama opens - it is quite uncomfortable to wait for lengthy process of stitching when you just wanted to take a new Panorama.
So, who knows the meaning of numbers in warps.txt? Who would be willing to create a command-line application to stitch the photographs? It should be much easier than porting whole Hugin.
Best wishes.
_________________
Per aspera ad astra...

pichlo 2014-03-14 23:49

Re: Panoramic Image Stitcher Application for N900
 
Quote:

Originally Posted by Wikiwide (Post 1358866)
Who knows HFOV of Nokia N900 camera?

Today I took the highly scientific method of measuring it with a ruler. At an 11 cm distance from the target, I measured how much of the ruler fitted in the field of view. The result: 11.9 cm, in both 4:3 and 16:9 mode. That means the horizontal field of view (HFOV) is 56.8° (let's say ±0.5° for my precision error).

Does anyone have the official figure to confirm my measurement?

BTW, using the HFOV and the focal length (5.2 mm, according to EXIF in the pictures taken by the phone), the photo sensor horizontal size comes out as 5.6 mm. Which sounds about right :)

handaxe 2014-03-15 02:02

Re: Panoramic Image Stitcher Application for N900
 
Quote:

Originally Posted by pichlo (Post 1416823)
.....the photo sensor horizontal size comes out as 5.6 mm. Which sounds about right :)

Indeed it does : https://en.wikipedia.org/wiki/Image_sensor_format

Sensor is 1/2.5" with width of 5.76 mm so you were 0.16mm off the mark. Not bad for a... what did you say.... "pano-newbie"?

pichlo 2014-03-15 07:22

Re: Panoramic Image Stitcher Application for N900
 
Thanks, handaxe. Obviously there are a number of rounding errors in all calculations. My sensor width came out exactly at 5.625 mm, I rounded it to one decimal. That puts me only 0.135 mm off :) The 1/2.5" may also be rounded. My distance from target may have a mm or two error. The focal length may be rounded. And finally, my figure gives the size of the active section, the 1/2.5" may be the absolute size.

Having said all that, I would still like to see the official figure :)


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8