You are on page 1of 7

Home

Download
Screenshots
Tutorials
Documentation
Gallery
Tech
Links
Community
SourceForge
Launchpad

HugintutorialThenewfeaturesinhugin2015.0.0
Hugin2015.0.0providesanumberofnewfeatures.

Overview
1.UserscannowgenerateandremovecontrolpointsfromanareaintheFastPreviewwindow.
2.Hugin_executoristhenewtoolforthestitchingtask,replacingthemakefilestitchingengine.
3.Wenowhaveourowndatabaseanddataminingapproachforstoringandloadinglensdata.
4.Automaticexposurestackdetectionhasbeenaddedandthereisanoptiontounlinkimagepositionwhencreatingstacks.
5.Huginnowhasit'sownblender,verdandi,basedonawatershedalgorithm.
6.PTBatcherGUInowshowsthethumbnailswhensearchingforimagesindirectories.

Wewillhaveaquicklookathowthesenewfeaturescanbeused.

ControlpointeditingintheFastPreviewwindow
WiththenewcontrolpointeditingtoolinthePreviewtabifusingtheSimpleinterface,orintheFastPanoramapreviewwindowifusingtheAdvancedorExpert
interface,wecandirectlyremoveoraddcontrolpointsusingthemouse.

ThePreviewtabhasanewicon,EditCP,andclickingonthisiconallowsustousethemousetodragoutaboxtoenclosesomebadcontrolpoints,orenclosean
areawherewewantsomenewcontrolpoints.Wesimplyselectremovecontrolpointsorcreatecontrolpointshere.
AfterremovingorcreatingCPs,huginwillaskifyouwanttoreoptimize.AnoptionisprovidedintheFile>PreferencesMisctabtoallowyoutosetAskuser,
ReoptimizepanoramaorDon'toptimizepanoramawheneveryoucreateordeleteCPsusingtheEditCPfunction.
Hugin_executor
ThisnewtoolisbehindthescenesifyouusetheGUIstodoyourstitching.Ifyouusescriptstoassembleandstitchyourpanoramas,youwillneedtoeditthose
scriptstoremoveanyreferencestopto2mkandmake,andaddacalltothenewhugin_executor.

Thisbashshellscript(forlinuxorOSX,butuseofthecommandswouldbesimilarinbatchfilesforWindows)willstitchflatscannedimages.Thescriptshowshow
wewouldhavedoneitusingtheoldmakefilestitchingengineinearlierversionsofhugin.

#!/bin/sh
#hugincommandtoolsscripttostitchscannedimages,fovunknown
#useoffov>=10shouldbeOK,couldsimplysetFOV=10
#TerryDuell2013,2014,2015

#usage...runscanpto_var.shoutputprefixfov

#gettheoutputfileprefix
Prefix=$1

#getthefov
FOV=$2
pto_genprojection=0fov=$FOVoproject.ptoscan1.jpgscan2.jpg
pto_lensstackoproject1.ptonewlensi1project.pto
cpfindoproject1.ptomultirowproject1.pto
cpcleanoproject2.ptoproject1.pto
linefindoproject3.ptoproject2.pto
pto_varosetoptim.ptooptTrX,TrY,TrZ,r,Eev,Ra,Rb,Rc,Rd,Re,!TrX0,!TrY0,!TrZ0,!r0,!Eev0,!Ra1,!Rb1,!Rc1,!Rd1,!Re1project3.pto
autooptimisernoautoptim.ptosetoptim.pto

pano_modifyprojection=0fov=AUTOcentercanvas=AUTOcrop=AUTOoautoptim2.ptoautoptim.pto
pto2mkoproject.mkp$Prefixautoptim2.pto
makefproject.mkall

...andtomodifythescripttousehugin_executor,simplycommentordeletethelasttwolinesandaddacalltohugin_executor.
#pto2mkoproject.mkp$Prefixautoptim2.pto
#makefproject.mkall
hugin_executorsp$Prefixautoptim2.pto

Hugin_executorcanalsobeusedtoruntheassistantonthecommandline:hugin_executorassistantoproject.ptoproject.ptoThiswasnotpossiblewith
pto2mk.

Youcanenterhugin_executorh,ormanhugin_executor(linuxandOSX)inaconsoleorterminalwindowtoseethecommandusageandoptions.

Lensdatabase
Huginnowhasitsowncameraandlensdatabase,andhugin_lensdbisthemaintenancetool.

Lensdataisautomaticallyaddedtothedatabasewhenstitchingaprojectfilefromhugin.Datacanalsobemanuallyaddedtothedatabasefromhuginandfrom
Calibrate_Lens_GUI.

Lensdatacanbeappliedtoaprojectinthesamemanneraspreviously,inthePhotostab,selectanimagewithrightmousetobringupthecontextmenuandselect
Lens>Loadlensfromlensdatabase.

Fordatabasemaintenanceseehugin_lensdbh,ormanhugin_lensdb(LinuxandOSX)fordetailsonusage.

Stackdetection
Whenyouloadimages(Photostab,Addimages),huginnowlooksatnumberofimagesandthevariationinEVvaluestodetermineifyouareloadingexposure
stacks,andwillautomaticallyassignstacks.

Whenhugindetectsstacksintheimagestobeloaded,adialogboxwillbeopenedaskingforguidance.

Verdandi,thebuiltinblender
Huginnowhasitsownbuiltinblender,Verdandi,basedonawatershedalgorithm.Verdandihasbeenincorporatedintonona.Itisautomaticallyusedbynona
withtheoutputformat(mswitch)TIFF,JPEGorPNG.

VerdandicanbeselectedasthedefaultblenderinthePreferencesStitchingtab,bychoosingbuiltin.
Youarealsoabletoswitchtheblenderforaparticularproject,byselectingbuiltinintheStitchertab
Ifyouassembleandstitchyourpanoramasusingscripts,youcanselectverdandiastheblenderbyusingpano_modify,asfollows...

pano_modifyblender=INTERNALoout.ptoin.pto

Youcanenterpano_modifyh,ormanpano_modify(LinuxandOSX)inaconsoleorterminalwindowtoseethecommandusageandoptions.

Verdandicanalsostartedasownprogramverdandiooutput.tifinput1.tifinput2.tif..

PTBatcherGUI
PTBatcherGUIcansearchindirectoriesforimageswhichbelongstoapanoramabylookingattheEXIFdatasinceHugin2011.4(inmenuFile>Searchdirectory
for...>Images).ThisfunctionhasbeenextendedinHugin2015.0.Itshowsnowsomemetadataoftheimagesandthepreviewthumbnailoftheimagesdirectlyin
thedialog.
TutorialpreparedbyTerryDuellMay2015