Académique Documents
Professionnel Documents
Culture Documents
Making3DModelswithPhotogrammetry
GettingStartedwithAgisoftPhotoScan
AustinMason
CarletonCollege
DownloadaPDFofthistutorialhere
Contents
Introduction
Software
TheresanAppforThat
AgisoftPhotoScan
ThePhotoScanWorkflow
ImportingPhotos
AligningPhotos
EditingtheSparseCloud
BuildingDenseCloud
BuildingMesh
AdditionalOptionsandNextSteps
Introduction
Photogrammetryisthetechniqueoftakingmultipleoverlappingphotographsandderivingmeasurementsfromthemtocreate
3Dmodelsofobjectsorscenes.Thebasicprincipleisquitesimilartothewaymanycamerasthesedaysallowyoutocreatea
panoramabystitchingtogetheroverlappingphotographsintoa2Dmosaic.Photogrammetrytakestheconceptonestep
furtherbyusingthepositionofthecameraasitmovesthrough3DspacetoestimateX,Y andZ
coordinatesforeachpixelof
theoriginalimageforthatisalsoknownasstructurefrommotionorSfM.
Photogrammetrycanbeusedtomakehighlyaccurateandrealisticallyphototexturedmodelsofbuildings,archaeologicalsites,
landscapes(iftheimagesaretakenfromtheair)andobjects.Closerangephotogrammetryofhistoricalobjectsoffersthe
possibilityofbothdigitallypreservingartifactsbeforetheymaybelostordamaged,andofallowingawholesuiteofdigital
measurements,manipulationsandotheranalysestobeperformedthatallowinsightsintothematerialthatmightnotbevisible
tothenakedeye.Thetechniqueisgaininginpopularityandusage,sinceitproducesveryimpressiveresultscomparableto
highendlaserscanningtechnologiesforamerefractionofthecost.Plus,itseasytogetstarted!
Thisdocumentwillbrieflydiscussthe123DCatchappthatisbyfarthesimplestwaytomakea3Dmodelfromphotos,
followedbyamuchmoredetailedtutorialofthemajorstepsinvolvedinmakingamodelusingAgisoftPhotoScanPro.
Software
TheresanAppforThat
Autodesks123DCatchisafreeappformobileplatformsthatletsyouquicklycreatescansfromimagesandautomagically
processthemintomodels.Thesoftwareisverysimpletouseandproducesdecent,ifmessyresultsoutofthebox,whichcan
beeditedandrefinedusingtheirrelateddesktopapplication.
http://www.haskinssociety.org/photogrammetry 1/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
Autodeskhasproducedaveryhandy123DCatchquickstartguideandanumberofvideotutorials,whichIrecommend
exploringtolearnthesoftware.Theyalsocoversometipsthatareusefulforphotogrammetryingeneral.
Oryoucanjustdownloadthe123DCatchappanddiverightinitisveryintuitive.
AgisoftPhotoScan
Thistutorialwillmostlydetailtheworkflowforprocessingphotosinto3DmodelsusingAgisoftsPhotoScanProsoftware.
PhotoScanisawidelyusedapplicationthathasmadethecomplexalgorithmsnecessaryforprocessingphotosinto3Dmodels
accessiblethroughafairlysimpletousegraphicalinterface.Itisnotassimpleas123DCatch,butoffersmuchgreatercontrol
ofeachstageoftheprocess,andwillletusproducemuchmoreaccurateresults.
Youwillneedtodownloadthesoftwareinordertofollowalongwiththistutorial.
GotoAgisoft.com/downloads/installertodownloadPhotoScan.Ademomodeisavailableforfreethatwillletyoutry
everythingexceptexportingandsavingyourmodel.
Ifyouwanttoexploremore,theyoffera30dayfreetrialofthefullStandardorfullProfessionaleditions.
Longterm,youwillneedtopurchasealicensetousethesoftwarebeyond30days.Educationallicensesareavailablefora
veryreasonable$59forthestandardedition,andamoreexpensive(butstillordersofmagnitudecheaperthanalaser
http://www.haskinssociety.org/photogrammetry 2/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
scanner!)$549forthefullProfessionalEdition.
ThePhotoScanWorkflow
PhotoScanmakestheorderofoperationseasytofollowviaitsWorkflowmenu.Basicoperationscanbeaccomplishedby
steppingthroughthemenuandperformingeachofthefollowingtasksinturn.
AddPhotos(orAddFoldercontainingallphotosfromyourshoot)
thisfirststeploadsallofyourrawimagesintothesoftwaresinterface.
AlignPhotos
thefirstprocessingstepcomparesthepixelsinyourphotostofindmatchesandestimatecameralocationsand
3Dgeometryfromthem
BuildDenseCloud
oncesatisfiedwiththealignment,thesparsepointcloud(amerefractionofthetotaldata)isprocessedintoa
densecloudinwhicheachmatchablepixelwillgetitsownX,Y,Zlocationin3Dspace
BuildMesh
thisstepconnectseachsetofthreeadjacentpointsintoatriangularface,whichcombineseamlesslyto
produceacontinuousmeshoverthesurfaceofyourmodel
BuildTexture
Inthefinalstep,theoriginalimagesarecombinedintoatexturemapandwrappedaroundthemesh,resulting
inaphotorealisticmodelofyouroriginalobject.
Inordertoimproveresultstherearevariousoptionsandothertoolsinthesoftwarebeyondthesebasicsteps,butthistutorial
willfocusonthebasicworkflow.
ImportingPhotos
Steponeisgettingourdata(ourimages)intoPhotoScan.
1.Ifyoudonthaveyourownimages,downloadasamplesetofimageshere
2.GotoWorkflow>AddFolderandnavigatetothedirectorycontainingyourimages
3.SelectCreatecamerafromeachfileandclickOK
(Atthispoint,youwouldprobablywanttomaskoutthebackground
behindyourobjectsinordertolettheprogramfocusonthedatayou
areinterestedin.Thiscanbetediousandtimeconsumingifdone
manually,buttherearewaystoautomatethemasking
processsignificantly.Wewillskipthisstepfornow.)
AligningPhotos
Itistimetotellthesoftwaretocomparethephotosandfigureouthowtheyoverlapin3Dspace.Thisisthemagicingredient
ofthephotogrammetryprocess,withoutwhichnothingelsewouldwork.
http://www.haskinssociety.org/photogrammetry 3/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
1.GotoWorkflow>AlignPhotos
2.AcceptthedefaultvaluesandhitOK
a.Ifyouhadcreatedmasksinstep1youwouldwantto
gointotheadvancedoptionsmenuandenablethe
ConstrainFeaturesbyMaskcheckbox.
Thisstepwilltakeawhile,soyoumightwanttogodosomething
elsewhileyouwait.
Theresultofthisprocessshouldbeasparsepointcloudofyour
objectthatisspotty,butrecognizable,surroundedbybluesquares
representingeachcamerapositionin3Dspace.Wehavea3D
representationofourobject!Butnowwehavetorefineit.
Checkthebluesquarestomakesuretheyalllookgood.Ifthereareanygaps,someimagesmaynothavealigned.You
canselectthephotosindividuallyanditspositionwillbehighlightedinpink.Rightclickinganimagewillgiveyouseveral
optionsforeitherdisablingcameras(iftheyaretooblurryorcontainbaddata),resettingalignment,oraligningphotosthatgot
missedthefirsttimearound.
EditingtheSparseCloud
Onceyouaresatisfiedwiththealignmentofallenabledcameras,itisagoodtimetogetridofanyclearlybaddatapoints.
Forediting,itcanhelptoremovethecamerastoseetheobjectbetter.
1.GotoView>Show/HideItems
2.ClickonShowCamerastoturnthebluesquareoff
a.Youcandothesameforthetrackballandtheregionboundingbox
http://www.haskinssociety.org/photogrammetry 4/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
Theeditingtoolscanbefoundnexttothemousepointerimage,andwillletyouselectpointstobedeleted.
1.Usetheindentedcircleshapedlassotooltoselectpointsand
highlightthempink.
2.Pressyourdeletekeytoremovethesepoints
Whenyouaresatisfied,itistimetoextractalltheusabledatafromeachphotoandbuildthedensecloud.
BuildingDenseCloud
Thisstepwillusethealignedphotostogenerateapointcloudthatshouldbedenseenoughthatitwilllooklikeasolidmodel
fromadistantzoom.
1.GotoWorkflow>Builddensecloud.
2.YoucansettheQualityvalueasdesired.
a.UsuallyyouwouldwantMediumorHighbutforthisdemo,chooseLowtospeedtheprocessing.
Toviewtheresults,youneedtochangethedisplaystyleusingthetopribbon.
1.Clicktheoptionwith9coloreddotstoseetheshadedpointcloud.
a.Theresultshouldlookprettygood!
2.YoucanalsoclickthebuttonnexttoittoDisplaydensecloudclasses,ashadedrepresentationwithcolorvalues
removed.
Shadedpointcloud Colorstrippedpointcloud
Youcandosomemoredatacleaningatthisstagetoremoveanybaddatafromyourmodel,andthiswouldbeagoodtimeto
removethetableorsurfaceyourobjectwassittingon.
BuildingMesh
Thiscloudlooksgreatfromadistance,butifyouzoominyoullnoticethatitisreallyacloudofpoints,asthenamesuggests.
Weneedtoconnectthemintofacestomakeacontinuoussurfacemesh.
1.GotoWorkflow>BuildMesh
http://www.haskinssociety.org/photogrammetry 5/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
2.MakesuretheSourceDataisDenseCloud
3.Facecountcanbesetashighasdesired.
decimatethemesh
a.IngeneralitisbesttosetitHigh,sinceitiseasyto latertosaveamorelightweightversion
ofahighqualityoriginal.Conversely,itisnotpossibletoaddmoredetailtoaverygeneralizedmodel.
b.Iwouldrecommendsettingittonolessthan500,000ingeneral,butforthisdemoyoucanusealowersetting
forspeed.
ExplorethedifferentdisplayoptionsbyclickingthepyramidstoviewaShade,Solid,orWireframeviewoftheresultingmesh.
Iftheresultslookblotchy,rememberthatthisisjustcolorshadedfromthepointRGBvalues.Tomakeaphotorealisticmodel,we
needtowrapatexturemaparoundthemesh.
BuildingTexture
Almostthere!
1.GotoWorkflow>BuildTexture
2.Youcantrydifferentblendingmodesettings,butMosaicorAverageshouldgivethebestresults,dependingonthe
qualityofyourphotos.
Theprocessingshouldbefairlyquickforthisstep.
1.Clickthetexturedpyramiddisplayoptionwhichshouldnolongerbegrayedout
Congratulations,youhaveaphotorealistic3Dmodel!
AdditionalOptionsandNextSteps
Thereareanumberofadditionalstepsyoucantaketoimproveyourmodel.
ScalingtheModel
http://www.haskinssociety.org/photogrammetry 6/7
06/02/2017 TheHaskinsSociety3DPhotogrammetrywithPhotoScan
Photogrammetrydoesnotproducemodelswithaknownscalesoyoumustaddonemanually.Theeasiestwayistoincludean
objectwithknownscaleinthephotos,e.g.aruler,yardstick,orthegraphpaperintheexamplephotoset.Aslongasyoucan
seethesamepointsfromatleastthreephotosyoucanusethesetwosetascale,bycreatingmarkersandthenadjustingthe
distancebetweenthem.
Producinga720degreemodel
Withanobjectsittingonasurface,youcannotgetcompletecoverageofthebottomside.Thesolutionistofliptheobject
overandtakephotosoftheothersideaswell.
Thesephotoscanbesplitintochunks,whichcanbeprocessedseparately,thenalignedandmergedintoacomplete720
degreemodel,ifyouwill.ThisisacommonenoughoperationthatAlignChunksandMergeChunksareincludedinthe
Workflowmenu.
ExportingtheModel
Yourfinishedmodelcanbeexportedinvariousformatsfordisplayorimportintoother3Danalysissuites,animationsoftware
orgameengines.Commonformatsare
3DPDF:aninteractiveformatthatiswidelyaccessible,asthemodelcanbeviewed,manipulatedandevenmeasured
usingtheubiquitousandfreeAdobeReader
Wavefront(.obj)andCollada(.dae)arethemostportable3Dmeshformats.Ifyouareworkingwithother
animationplatformslikeBlenderorgameengineslikeUnity3D,theseformatscanbeeasilyaddedasassetstoyour
project.
Pointcloud(LAS,.txt,etc.)theseformatsareprobablythemostfutureproofforlongtermstorage,andalsooffer
manyoptionsforsecondaryanalysisinothertoolslikeGeomagicandMeshlab.
http://www.haskinssociety.org/photogrammetry 7/7