- URL:
- https://<rasteranalysistools-url>/DetectChangeUsingDeepLearning
- Methods:
GET
- Version Introduced:
- 10.8.1
Description
The Detect
task runs a trained deep learning model to detect change between two rasters.
Request parameters
Parameter | Details |
---|---|
(Required) | The input for the previous raster. The input raster can be the portal item ID, the image service URL, a cloud raster dataset, or a shared raster dataset. Syntax: A JSON object describing the from raster. Example:
|
(Required) | The input for the recent raster. The input raster can be the portal item ID, the image service URL, a cloud raster dataset, or a shared raster dataset. Syntax: A JSON object describing the to raster. Example:
|
(Required) | The output raster that shows the change between the from and to rasters. You can specify the name, or you can create an empty service using Portal Admin Sharing API and use the return JSON object as input to this parameter. Syntax: A JSON object describes the name of the output or the output table. Example:
|
(Required) | The maximum number of changes per pixel that will be calculated. This number corresponds to the number of bands in the output raster. The default is 1, meaning only one change date will be calculated and the output will contain one band. This parameter is not available when the Syntax: A JSON object or string that describes the input Esri Model Definition file. Example:
|
(Optional) | Lists additional deep learning parameters and arguments for experiments and refinement, such as a confidence threshold for adjusting sensitivity. Syntax: A JSON object describes the arguments. Example:
|
(Optional) | Contains additional settings that affect task operation. This task has the following settings:
Example:
|
|
The response format. The default response format is html. Values: |
Response
When you submit a request, the task assigns a unique job ID for the transaction.
Syntax:
{ "jobId": "<unique job identifier>", "jobStatus": "<job status>" }
After the initial request is submitted, you can use the job
to periodically check the status of the job and messages, as described in Check job status. Once the job has successfully completed, use the job
to retrieve the results. To track the status, you can make a request of the following form:
http://<analysis url>/DetectChangeUsingDeepLearning/jobs/<jobId>
Access results
When the status of the job request is esri
, you can access the results of the analysis by making a request of the following form:
https://<raster analysis url>/DetectChangeUsingDeepLearning/jobs/<jobId>/results/outputRaster?token=<your token>&f=json
Parameter | Description |
---|---|
| The output multidimensional raster Example:
The result has properties for parameter name, data type, and value. The content of the value is always the output raster dataset's
|