<?xml version="1.0" encoding="UTF-8"?><metadata>
<Esri>
<CreaDate>20191107</CreaDate>
<CreaTime>11304700</CreaTime>
<ArcGISFormat>1.0</ArcGISFormat>
<SyncOnce>TRUE</SyncOnce>
<ModDate>20191108</ModDate>
<ModTime>09194500</ModTime>
</Esri>
<dataIdInfo>
<idCitation>
<resTitle>Classify Pixels Using Deep Learning (Raster Analysis)</resTitle>
<date>
<createDate>20191107</createDate>
</date>
</idCitation>
<idAbs>
<para>In a raster analysis deployment, this tool runs a trained deep learning model on an input image to produce a classified raster published as a hosted imagery layer in your portal.</para>
</idAbs>
<descKeys KeyTypCd="005">
<keyTyp>
<keyTyp>005</keyTyp>
</keyTyp>
<keyword>D</keyword>
<keyword>CNTK</keyword>
<keyword>deep learning model</keyword>
<keyword>pixel classification</keyword>
<keyword>raster analysis</keyword>
<keyword>TensorFlow</keyword>
<keyword>training</keyword>
</descKeys>
</dataIdInfo>
<distInfo>
<distributor>
<distorFormat>
<formatName Sync="TRUE">ArcToolbox Tool</formatName>
</distorFormat>
</distributor>
</distInfo>
<mdDateSt>20191108</mdDateSt>
<mdContact>
<rpOrgName>Environmental Systems Research Institute, Inc. (Esri)</rpOrgName>
<rpCntInfo>
<cntAddress>
<delPoint>380 New York Street</delPoint>
<city>Redlands</city>
<adminArea>California</adminArea>
<postCode>92373-8100</postCode>
<eMailAdd>info@esri.com</eMailAdd>
<country>United States</country>
</cntAddress>
<cntPhone>
<voiceNum>909-793-2853</voiceNum>
<faxNum>909-793-5953</faxNum>
</cntPhone>
<cntOnlineRes>
<linkage>http://www.esri.com</linkage>
</cntOnlineRes>
</rpCntInfo>
<role>
<RoleCd>007</RoleCd>
</role>
</mdContact>
<tool displayname="Classify Pixels Using Deep Learning (Raster Analysis)" name="ClassifyPixelsUsingDeepLearning" softwarerestriction="none" toolboxalias="ra">
<summary>
<para>In a raster analysis deployment, this tool runs a trained deep learning model on an input image to produce a classified raster published as a hosted imagery layer in your portal.</para>
</summary>
<alink_name>ClassifyPixelsUsingDeepLearning_ra</alink_name>
<toolIllust alt="Classify Pixels Using Deep Learning tool illustration" src="withheld" type="dialog"/>
<toolIllust alt="Classify Pixels Using Deep Learning tool illustration" src="withheld" type="illustration"/>
<parameters>
<param datatype="Raster Layer; Image Service; MapServer; Map Server Layer; Internet Tiled Layer; String" direction="Input" displayname="Input Raster" expression="inputRaster" name="inputRaster" sync="true" type="Required">
<pythonReference>
<para>The input image to classify. It can be an image service URL, a raster layer, an image service, a map server layer, or an Internet tiled layer.</para>
</pythonReference>
<dialogReference>
<para>The input image to classify. It can be an image service URL, a raster layer, an image service, a map server layer, or an Internet tiled layer.</para>
</dialogReference>
</param>
<param datatype="File" direction="Input" displayname="Input Model" expression="inputModel" name="inputModel" sync="true" type="Required">
<pythonReference>
<para>The input is a URL of a deep learning package (.dlpk) item. It contains the path to the deep learning binary model file, the path to the Python raster function to be used, and other parameters such as preferred tile size or padding.</para>
</pythonReference>
<dialogReference>
<para>The input is a URL of a deep learning package (.dlpk) item. It contains the path to the deep learning binary model file, the path to the Python raster function to be used, and other parameters such as preferred tile size or padding.</para>
</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Output Name" expression="outputName" name="outputName" sync="true" type="Required">
<pythonReference>
<para>The name of the image service of the classified pixels.</para>
</pythonReference>
<dialogReference>
<para>The name of the image service of the classified pixels.</para>
</dialogReference>
</param>
<param datatype="Value Table" direction="Input" displayname="Model Arguments" expression="[modelArguments,...]" name="modelArguments" sync="true" type="Optional">
<pythonReference>
<para>The function arguments are defined in the Python raster function class referenced by the input model. This is where you list additional deep learning parameters and arguments for experiments and refinement, such as a confidence threshold for adjusting the sensitivity. The names of the arguments are populated by the tool from reading the Python module on the RA server.</para>
</pythonReference>
<dialogReference>
<para>The function arguments are defined in the Python raster function class referenced by the input model. This is where you list additional deep learning parameters and arguments for experiments and refinement, such as a confidence threshold for adjusting the sensitivity. The names of the arguments are populated by the tool from reading the Python module on the RA server.</para>
</dialogReference>
</param>
</parameters>
<returnvalues/>
<environments>
<environment label="Cell size" name="cellSize"/>
<environment label="Output extent" name="extent"/>
<environment label="Output coordinate system" name="outputCoordinateSystem"/>
<environment label="ParallelProcessingFactor" name="parallelProcessingFactor"/>
<environment label="processor type" name="processorType"/>
<environment label="Snap raster" name="snapRaster"/>
</environments>
<usage>
<bullet_item>
<para>The raster analysis (RA) server Python environment must be configured with the proper deep learning framework Python API such as Tensorflow, CNTK, or something similar.</para>
</bullet_item>
<bullet_item>
<para>With this tool running, your RA server calls a third-party deep learning Python API (such as TensorFlow or CNTK) and uses the specified Python raster function to process each raster tile.</para>
</bullet_item>
<bullet_item>
<para>The input model of this tool will only take a deep learning package (.dlpk) item from the portal.</para>
</bullet_item>
<bullet_item>
<para>After the input model is selected or specified, the tool will obtain the model arguments information from the RA server. The tool may fail to obtain such information if your input model is invalid or your RA server isn’t properly configured with the deep learning framework.</para>
</bullet_item>
</usage>
<scriptExamples>
<scriptExample>
<title>ClassifyPixelsUsingDeepLearning example 1 (Python window)</title>
<para>This example classifies a raster based on a custom pixel classification using deep learning in a raster analysis deployment and publishes the raster as a hosted imagery layer in your portal.</para>
<code xml:space="preserve">import arcpy
arcpy.ClassifyPixelsUsingDeepLearning_ra(
"https://myserver/rest/services/landclassification/ImageServer",
"https://myportal/sharing/rest/content/items/itemId",
"classifiedLand", "padding 0")
</code>
</scriptExample>
<scriptExample>
<title>ClassifyPixelsUsingDeepLearning example 2 (stand-alone script)</title>
<para>This example classifies a raster based on a custom pixel classification using deep learning in a raster analysis deployment and publishes the raster as a hosted imagery layer in your portal.</para>
<code xml:space="preserve">#---------------------------------------------------------------------------
# Name: ClassifyPixelsUsingDeepLearning_example02.py
# Requirements: ArcGIS Image Server
# Import system modules
import arcpy
# Set local variables
inImage = "https://myserver/rest/services/ landclassification/ImageServer"
inModel = "https://myportal/sharing/rest/content/items/itemId"
outName = "classifiedLand"
modelArgs = "padding 0"
# Execute Classified Pixels Using raster analysis tool
arcpy.ClassifyPixelsUsingDeepLearning_ra(inImage, inModel, outName, modelArgs)
</code>
</scriptExample>
</scriptExamples>
<shortdesc>ArcGIS geoprocessing tool that runs a trained deep learning model on an input raster to produce a classified raster using a raster analysis server.</shortdesc>
<arcToolboxHelpPath>withheld</arcToolboxHelpPath>
</tool>
</metadata>
