habi.gna.ch

Jump to content

Additional information

Categories

Recent Comments

Meta


Posts tagged ‘hugin’


Google Summer of Code 2011: Hugin participates and looks for Students

Mar 2011
23

Read­ers of this blog might know that I’m an avid user of hugin. Like every year since 2007, hugin par­tic­i­pates in the Google Sum­mer of Code, a global pro­gram that offers stu­dent devel­op­ers stipends to write code for var­i­ous open source soft­ware projects. In the past years Yuval Levy and Alexan­dre Proku­dine [0] spear­headed the GSoC effort for hugin.

Since I’m no pro­gram­mer I wanted to give back some­thing to the com­mu­nity and will act as this years main admin, while Bruno Pos­tle will act as a backup.

So, if you know a stu­dent that would like to par­tic­i­pate in a neat, C and C++-based project this sum­mer, let her or him know about our men­tor­ing page for GSoC: Hugin — Panorama Photo Stitcher

And just to be com­plete: The text below just went to the hugin mail­ing list, the call for Students.

[0]: Now of dark­table–fame, as seen here.

—-

Dear prospec­tive Students

Hugin has been accepted as a men­tor­ing orga­ni­za­tion in the upcom­ing Google Sum­mer of Code 2011. This email is the offi­cial call for students:

As Yuval already described in a blog post [1], would-be par­tic­i­pants need to get to work soon. The ear­lier, the better.

Famil­iar­ize your­self with the hugin code­base, think of an itch that both­ers you and how you could help to get rid of that itch. You need to work on your appli­ca­tion, voice up and intro­duce your­self to the mail­ing list. We have a ded­i­cated page on the pan­otools wiki that describes the way to go [2].

Remem­ber, the dead­line for your appli­ca­tion is April 8 19:00 UTC, this is in two and a half weeks!

Look­ing for­ward to hear from you

For the whole hugin-team

Habi, GSoC-Admin

[1]: http://wp.me/paLeH-xE


Panorama des Triftgletschers

Sep 2010
09

Ver­gan­ge­nes Woch­enende war ich mit dem Unis­port auf eine Hoch­tour über den Trift­gletscher. Lei­der war das Wet­ter nicht gut genug, um wirk­lich tolle Fotos zu machen, ein paar schöne sind trotz­dem zusam­mengekom­men, sie sind in diesem Set auf flickr.com zu finden.

In den Pausen hab’ einen alten Trick von mir aus­pro­biert und habe zwei kurze Filme gemacht, aus denen dann zwei Panora­mas ent­standen sind.

Das kurze Orig­i­nal sieht so aus:

Nach­dem ich mit Quick­time Pro die Bilder extrahiert habe, kon­nte ich das Roh­ma­te­r­ial mit hugin aus­richten, so dass die Einzel­bilder des Films rund um den Betra­chter ange­ord­net wer­den. Das sieht dann fol­gen­der­massen aus:

Nach län­gerer Rech­nerei entsteht dann unten­ste­hen­des 360°-Panorama auf dem Trift­gletscher. Das Panorama ist auch immer­siv (lei­der nur mit Flash) in meinem Panorama-Ordner hier auf dem Server zu finden.

Panorama on the Trift Glacier


fun with a fisheye-lens

Jul 2009
12

bas­t­ian hat mir sein Nikon 10.5mm f/2.8 DX Fisheye-objektiv aus­geliehen, damit ich mal ein fish­eye aus­pro­bieren kann, dass ich nicht kom­plett manuell ein­stellen muss. mit meinem zen­i­tar bin ich zwar sehr zufrieden, es macht auch gelun­gene fotos, ver­langt aber nach einer voll­ständig manuellen ein­stel­lung und das ist zuweilen schon ein biss­chen mühsam.

am don­ner­stag abend bin ich also mit bas­tians objek­tiv auf eine ganz kleine foto-safari, welche mich angeregt hat, zu sparen, denn so ein objek­tiv hat schon noch ‘was. mit min­i­malem aufwand (9 fotos auf dem sta­tiv) gelin­gen auf­nah­men wie diese vom uni haupt­ge­bäude, eine kom­plette run­dum­sicht auf der uniterrasse:

DSC_2740-DSC_2748.1.jpg


richtig span­nend wird’s erst, wenn man bilder wie dieses weit­er­ver­ar­beitet: erstens kann mann mit spincontrol:vr immer­sive panora­mas machen, was dann aussieht wie hier zu sehen. noch lustiger wird’s, wenn mann das 360°x180°-panorama-bild zu einem soge­nan­nten kleinen plan­eten umrech­net, dann sieht das uni-hauptgebäude aus, als wäre es einem comic-strip entsprungen:

DSC_2740-DSC_2748-planet.1.jpg


bas­t­ian hat die vor­ab­ver­sion dieses panora­mas schon gese­hen und meinte der him­mel wäre noch besser zur gel­tung gekom­men, wenn ich die blende etwas zurückgenom­men hätte. beim zweiten panorama habe ich ger­ade vorge­sorgt und ein etwas kom­plex­eres setup gemacht.

DSC_2798-DSC_2824-enfused.jpg


auf dem bun­de­splatz habe ich für jedes der neun fotos drei belich­tun­gen gemacht, ein­mal nor­mal und je ein­mal über– und unter­be­lichtet. diese panora­mas wur­den dann zusam­men­gerech­net, so dass der drama­tis­che him­mel ein biss­chen besser zur gel­tung kommt als auf der uniter­rasse. das panorama des bun­de­splatzes gibts auch noch in einer immer­siven ver­sion sowie als lit­tle planet. bei diesem kleinen plan­eten habe ich mit der von mir gewählten aus­rich­tung der kam­era ein biss­chen gekämpft, also musste ich beim nadir-punkt (ganz unten bzw. ganz in der mitte beim kleinen plan­eten) ein biss­chen trick­sen. dafür hat’s jetzt noch die cred­its drin :)

DSC_2798-DSC_2824-0-planet.jpg


panoramas from (low quality) movies [update]

Apr 2009
10

when­ever i’m spend­ing a day out­door, i love to take pic­tures, many of them turn out to be panora­mas.

some­times i leave my cam­era at home and only have my mobile phone with me. shooth­ing panora­mas with the iphone is pos­si­ble with panolab [link opens itunes], but very cum­ber­some. and i try to keep the annoy­ance of nina as low as pos­si­ble while stop­ping on the slopes, so fid­dling with my phone for longer than a minute or two is not an option.

recently i was think­ing about a quick-and-dirty way of cre­at­ing panorams with the iphone: wouldn’t it be pos­si­ble to extract the images of a movie shot while pan­ning the scenery and stitch those together to gen­er­ate a panorama? today was the per­fect way to test this out, on the slopes of the won­der­ful stock­horn.

the whole process is fairly easy, you only need

all these — very fine — pieces of soft­ware are freely avail­able, most of them even free as in beer and as in speech.

step 1:
shoot a movie.

below are the movies i’ve used for this tuto­r­ial. both are made with the excel­lent cycoder.app, only for jail­bro­ken iphones. use any other movie if you don’t have an iphone :) the movies are 384x288 pix­els in size, as shown below, just press the play-button.



step 2:
get the movies off your iphone.

cyber­duck and SFTP are my weapons of choice, YMMV, but there are tons of tuto­ri­als on the web, here’s one for the mac and here’s one for win­dows.
now you should have some movies on your hard-disk. cycoder has the nice fea­ture to pro­duce quicktime-compatible .mov-files, if you don’t have one of those handy, again, YMMV. (use the excel­lent hand­brake to con­vert to and fro). quick­time is nice for the next step.

step 3:
import the movies into imageJ.

if you’re on a mac, this is just sim­ple drag-and-drop, on win­dows you might be quicker alto­gether if you con­vert your movies to .avi-files, since installing quick­time for java can be a bit of a has­sle, but can be done.

this opens your quick­time movie as a stack of images you can then scroll through. this image-stack can then eas­ily be exported as an image-sequence using “File > Save as > Image Sequence…”. rotate the images if you’ve been dumb enough to hold the iphone wrong :)

then you’ll have a bunch of sin­gle images on your hard­disk. if you’ve panned quite slowly like i have done, you’re prob­a­bly gonna have much too many images (167 for the first and 139 for the sec­ond movie) to eas­ily stich a panorama. for these movies, i’ve removed some images from the stack using the slice remover plu­gin. remove slices that are unnec­es­sary like the ones at the begin­ning and the end, where your glove cov­ers the lens. now hav­ing 20 and 32 images from both movies, pro­ceed to the next step.

step 4:
import the images from the step above into hugin, align and stitch.

yes, that’s it, it’s really that easy.for the movies shown above i’ve also deleted some bad con­trol points and stitched the panora­mas nor­mally and enfused, but this is entirely optional.the end-result looks like the images below. click them to see them bigger.

stockhorn_panorama1_fused.jpg
stockhorn_panorama2.jpg

i know that both panora­mas are not per­fect. both are quite small, espe­cially the sec­ond one has some arti­facts and both have vary­ing expo­sure. but keep in mind that i’ve only both­ered nina for 29 sec­onds, the total time of both movies. not too shabby!

update:

arru from swe­den left a com­ment about extract­ing the frames of videos using VLC, which is great, because it plays pretty much any movie-format.

since i couldn’t find it, i asked him to out­line it for me via email. he agreed that i share his howto, which you can find below:

Extract frames in VLC:

  • Open VLC pref­er­ences, select “all” (as opposed to “basic”)
  • Go to Video->Out­put modules
  • Select ‘Image video out­put’ (this must be reverted to ‘stan­dard’ when you’re done, to use VLC as a nor­mal video player again)
  • Flip down the sub­group next to Out­put mod­ules and select Image file’
  • Choose PNG as for­mat (JPEG works too, but there will be some unnec­es­sary qual­ity loss)
  • Set ‘record­ing ratio’ to 10 (deter­mines the num­ber of video frames skipped between images — may need to exper­i­ment with this value if images don’t over­lap correctly)
  • Press ‘save’ to exit VLC preferences
  • Open and play the video in ques­tion as you nor­mally would (notice: there will be no pic­ture — sound how­ever, if applic­a­ble, and the VLC con­trols will move to show you the progress of the conversion)
  • Images are saved to the root of the main HDD on Mac OS X ( / ), on Win­dows I can only assume it will be C:
  • Don’t for­get to reset step 2 to ‘Stan­dard’ when you’re done
  • Throw images into Hugin and run one of the autopano scripts, and so forth

Thanks for that info, Arru!


ein samstag nachmittag in der stadt

Feb 2009
22

diesen sam­stag wollte ich mal ein biss­chen ein grösseres panorama-projekt anpacken, als ich dies bisher getan habe. aus­gerüstet mit meiner kam­era, fer­naus­löser, sta­tiv und weitwinkelob­jek­tiv hab’ ich mich auf den buben­berg­platz gestellt und hab 87 fotos des bal­dachins aufgenom­men (je 29 nor­mal, unter– und über­be­lichtete, sog. brack­et­ing).nach län­gerem rech­nen heute nach­mit­tag kann sich das ergeb­nis sehen lassen, wie ich finde: eine panorama-aufnahme des bal­dachins auf dem buben­berg­platz in bern mit erhöhtem dynamik-umfang, erstellt mit hugin und enfuse.

für alle, die das nicht ken­nen, erhöhte dynamik-umfang bedeutet (ana­log wie HDR), dass im unten­ste­hen­den bild mehr hel­ligkeitsin­for­ma­tio­nen abge­bildet sind, als mit einer einzi­gen belich­tung erre­icht wer­den kön­nte. die 3 roh-aufnahmen (nor­mal, unter– und über­be­lichtet) wer­den so zusam­men­gerech­net, dass die schat­ten und die hell­sten stellen jew­eils gut belichtet wer­den. schön ist das zu sehen, wenn die panora­mas vom buben­berg­platz als enfused und als nor­male vari­ante ver­glichen werden.

da hugin auch fähig ist, HDR-files zu erstellen, werde ich mal ver­suchen, mit qtpf­s­gui noch soge­nan­nte tone-mapping bilder vom buben­berg­platz herzustellen… diese wer­den wohl mit der zeit hier auftauchen.

BahnhofPlatz_fused_crop.jpg

wer noch andere pro­jek­tio­nen als diese gleichmässig-rechteckige sehen möchte, sei auf mein bubenberg-platz-set auf flickr verwiesen…

Paging

Tags

Archives

Credits

Template designed by praegnanz.de.