Step 1.docx
- 文档编号:4413721
- 上传时间:2023-05-07
- 格式:DOCX
- 页数:37
- 大小:852.01KB
Step 1.docx
《Step 1.docx》由会员分享,可在线阅读,更多相关《Step 1.docx(37页珍藏版)》请在冰点文库上搜索。
Step1
Step1.StartingtheFRAGSTATSGUI
TostartFRAGSTATS,simplydoubleclickontheFragstats.exefileand(hopefully)theopeningFRAGSTATSwindowwilldisplay(Fig.2).
Figure2.AnatomyoftheFRAGSTATSopeninguserinterface.
Theanatomyofthisopeningwindowisquitesimple,asitissimilartomostwindows-basedprograms.Thetitlebarliststhenameofthecurrentoropenparameterizationfile.Theparameterizationfilecontainsthecurrentparameterizationscheme.WhenyoufirststartFRAGSTATS,aparameterizationfiledoesnotexist.Consequently,thetitleislistedas“untitled”untilyousavethecurrentparameterizationschemeundertheFile-Saveoption.Onceyouhavesavedthecurrentparameterizationorhaveretrievedapreviouslysavedscheme,thetitlebarwilllisttheopenparameterizationfile.ThemenubarconsistsofafewitemsthatallowyoutoparameterizeaFRAGSTATSrun,editcertainfiles,andsaveandretrieveparameterizationfiles.Eachmenuitemhasadrop-downlistofoptions.ThetoolbarprovidesquickaccesstothefrequentlyusedFileandFragstatsmenuoptions.Thelogwindowprovidesarunninglogoftheanalysis.Thestatusbarindicatesthestatusoftheprogram.DetailsoftheparameterizationprocessaredescribedinStep2.Here,eachofthemenubaritemsarebrieflydescribed:
FileMenu.–TheFilemenuallowsyoutoopenanexistingparameterizationfileorsavethecurrentparameterizationfile.Note,parameterizationfilesaregiventhefileextension.frg.
1. New.–Createsanew(orblank)parameterizationfile.Itisnotnecessarytobeginbycreatinganewfile.AnewfileisautomaticallyopenedwhenyoustartFRAGSTATS.Thisoptionisusedwhenyouhaveaparameterizationfilecurrentlyopenandwishtocreateanewfilefromscratch.
2. Open.–Opensanexisting(previouslysaved)parameterizationfile.
3. Save.–Savesthecurrentparameterizationtoafilewiththeextension.frg.Note,ifyouaresavingaparameterizationfileforthefirsttime,youwillbepromptedtospecifyalocationandfilename.Ifyouaresavingfromanopenparameterizationfile,thiswilloverwritetheexistingfilewithoutpromptingyouforafilename.Thisfilecontainsalltheparametersettingsinthedialogboxesatthetimethefilewassaved.ThiscanbeveryusefulifyouarerunningFRAGSTATSrepeatedlywiththesameorsimilarparameterizationschemes.
4. Saveas.–Savesthecurrentparameterizationfiletoalocationandfilenamethatyouspecify.
5. Exit.–Closestheprogram.ThesameeffectisachievedbyclickingontheXintheupperrightcornerofthewindow.
FragstatsMenu.–TheFragstatsmenuallowsyoutoparameterizetheanalysis.
1. SetRunParameters.–OpensanewdialogboxthatallowsyoutospecifynecessaryparametersforrunningFRAGSTATS(seeStep2).
2. SelectPatchMetrics.–Opensanewdialogboxthatallowsyoutoselectandparameterizethedesiredpatch-levelmetrics.Note,thisfunctionisnotactiveuntiltheRunParametersdialogboxissuccessfullycompleted,andthenonlyifpatchmetricsareselectedintherunparameters.
3. SelectClassMetrics.–Opensanewdialogboxthatallowsyoutoselectandparameterizethedesiredclass-levelmetrics.Note,thisfunctionisnotactiveuntiltheRunParametersdialogboxissuccessfullycompleted,andthenonlyifclassmetricsareselectedintherunparameters.
4. SelectLandscapeMetrics.–Opensanewdialogboxthatallowsyoutoselectandparameterizethedesiredlandscape-levelmetrics.Note,thisfunctionisnotactiveuntiltheRunParametersdialogboxissuccessfullycompleted,andthenonlyiflandscapemetricsareselectedintherunparameters.
5. ClearAllMenus.–ClearstheRunParameters,Patch-,Class-,andLandscapeMetricsdialogboxes.
6. ExecuteFragstats.–ExecutesaFRAGSTATSrun.An“executionfinished”messagewillappearinthelogwindowwhenFRAGSTATSprocessingiscomplete.
ToolsMenu.–TheToolsmenuprovidesyouwithseveralmiscellaneousoptionsforcreatingandeditingbatchfiles,reclassifyingclassesandcontrollingclass-leveloutput,browsingresults,andsavingthelogfile.
1. BatchFileEditor.–Allowsyoutocreateandeditbatchfiles.SeeStep4onUsingBatchFilesfordetailsonthebatchfileeditor.
2. ClassProperties.–Allowsyoutoeditthepropertiesofeachclass;thatis,designateclassesasbackgroundanddisabletheoutputforselectedclasses.SeeStep5onModifyingClassPropertiesfordetails.
3. BrowseResults.–Allowsyoutobrowseandsavetheresultsoftheanalysis.SeeStep7onBrowsingandSavingResultsfordetails.
4. ClearLog.–Clearsthelogwindowofalltext.
5. SaveLog.–SavesthelogwindowasanASCIItextfilewiththeextension.logtoalocationandfilenamethatyouspecify.
HelpMenu.–TheHelpmenuprovidesyouwithonlinehelp.
1. HelpContent.–Allowsyoutoaccessafamiliarwindows-basedhelpinterfacewiththestandardcontent,index,andfindoptions.TheonlinehelpinformationisessentiallythesameasprovidedinthisdocumentandtheFRAGSTATSMetricsdocument.
2. AboutFragstats.–Liststheauthorsandthesoftwarereleaseversion.
Step2.SettingRunParameters
AfteropeningtheFRAGSTATSinterface,thenextstepistosettherunparameters.BytheselectingthesetrunparametersoptionintheFragstatsdrop-downmenu,theRunParametersdialogboxwilldisplay(Fig.3).
Figure3.TheRunParametersdialogbox.
ThisdialogboxcontainsalltheessentialinputparametersrequiredtorunFRAGSTATSexceptfortheselectionofthemetricsthemselves.Hereiswhereyoudefinetheinputgridorbatchfile,specifytheinputdatatype,chooseananalysistype,selectthepatchIDoutputoption,chooseaneighborruleforpatchdelineation,specifyaclasspropertiesfile,andselectthelevelsofmetricsyouwantcomputed.Thiscontainsmostoftheinformationcontainedinthecommandline(ormostoftheprompts)inversion2.Theorderinwhichtherunparametersarespecifiedisnotimportant,althoughthereisalogicalsequenceforatleastafewoftheparameters.TheparametersarestoredonlyaftertheOKbuttonisclicked.
1. InputFileType.–ChosebetweenLandscapeandBatchmodes:
(1)Landscape.--IfLandscapemodeisselected,thenFRAGSTATSexpectsthedesignatedinputfiletobeasinglerasterimage;FRAGSTATSwillproducetheconventionaloutputforthatlandscape.
(2)BatchFile.--IfBatchmodeisselected,thenFRAGSTATSwillrunthebatchfilespecifiedintheInputFiletextboxandproduceoutputforallofthelandscapesdesignatedinthebatchfile.SeeStep4onWorkingwithBatchFilesfordetailsonbuildingasuitablebatchfile.IfBatchmodeisselected,thentheInputDataType(seebelow)andGridAttributes(seebelow)willbecomeinactive(grayedoutintheinterface)becausetheseparameterswillbespecifieduniquelyforeachinputlandscapeinthebatchfile.
2. InputDataType.–FRAGSTATSacceptsseveraltypesofinputimagedataformats.SeeDataFormatsintheOverviewsectionfordetails.Briefly,allinputimagesshouldbeintegergridswithnon-zeroclassvalues(i.e.,eachcellshouldbeassignedanintegervaluecorrespondingtoitsclassmembershiporpatchtype).Note,assigningthevalue0toanon-backgroundclassisnotallowedinthemovingwindowanalysis,andanerrormessagewillbereportedtothelogfileinthiscase.Inaddition,allinputgridsshouldconsistofsquarecellswiththemeasurementunitsinmeters.Chooseoneofthefollowing:
(1)ArcGridcreatedwithArc/Info.
(2)ASCIIfile,noheader.
(3)8bitbinaryfile,noheader.
(4)16bitbinaryfile,noheader.
(5)32bitbinaryfile,noheader.
(6)ERDASimagefiles(ERDAS7.gisor.lan,8or16bitfiles;andERDAS8.img,8,16,or32bitfiles).
(7)IDRISIimagefiles(.rdc).
3. InputFileName.--Specifyaninputfile,wheretheinputfileiseithertheinputimagetobeanalyzed(landscapemode)orabatchfile,byclickingonthefilenamebuttonandnavigatingtothedesiredinputfile.IftheInputDataTypeisselectedfirst,thennavigationtotheinputfilewilldefaulttofilesofthespecifiedtype.Forexample,ifArcGridisselectedastheInputDataType,thenthenavigationwindowwillrevealonlyArcGrids.Inaddition,thelabelontheFileNamebuttonwillreflecttheInputDataType.Onceyouhaveselectedafile,thefullpathandfilenamewillbedisplayedinthetextboxnexttotheFileNamebutton.
4. OutputFile.–Specifya“basename”fortheoutputfilesbyclickingontheOutputFilebuttonandnavigatingtothedesiredfolder,andthenenteringa“basename”orselectinganexistingfiletooverwrite.Thisbasenamewillbegiventheextensions.patch,.class,.landand.adjforthecorrespondingpatch,class,andlandscapemetricsandadjacencymatrix.Note,youcanautomaticallysavetheresultstooutputfilesbycheckingtheAutomaticallySaveResultscheckbox.Inaddition,itisnotnecessarytoenteranoutputfilebasenamehere.Theresultscanalsobesavedfromthebrowsedialogbox(seeStep7onBrowsingandSavingResults).However,ifanoutputfilenameisspecifiedhere,thenitwillbeusedasthedefaultbasenamewhensavingtheresultsfromthebrowsedialogbox.Ifanoutputfilenameisnotspecifiedhere,thenyouwillbepromptedtoprovideabasenamelaterwhensavingtheresults.Note,ifyouspecifyanoutputfilenamethatalreadyexists,FRAGSTATSwillpromptyouastowhetheryouwanttooverwritetheexistingfilesafterexecutionoftheprogramiscomplete.
5. AnalysisType.–ChosebetweenStandardandMovingWindowmodes:
(1)Standard.--IfStandar
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Step
![提示](https://static.bingdoc.com/images/bang_tan.gif)