If I have an image service based on a mosaic dataset, is there a way to do raster operations on any two overlapping datasets via the rest api with the rasterFunction interface. For example using the following taken from the help, can raster1, raster2 etc be items in mosaic dataset in the image service. If so, how do I reference these datasets?
<SPAN class="">{</SPAN> <SPAN class="" style="color: #a31515;">"rasterFunction"</SPAN> <SPAN class="">:</SPAN> <SPAN class="" style="color: #a31515;">"Local"</SPAN><SPAN class="">,</SPAN> <SPAN class="" style="color: #a31515;">"rasterFunctionArguments"</SPAN> <SPAN class="">:</SPAN> <SPAN class="">{</SPAN> <SPAN class="" style="color: #a31515;">"Operation"</SPAN> <SPAN class="">:</SPAN> <SPAN class=""><</SPAN><SPAN class="">operation</SPAN><SPAN class="">></SPAN> <SPAN class="" style="color: #008000;">//int see reference below.</SPAN> <SPAN class="" style="color: #a31515;">"Rasters"</SPAN><SPAN class="">:</SPAN><SPAN class="">[</SPAN><SPAN class=""><</SPAN><SPAN class="">raster1</SPAN><SPAN class="">></SPAN><SPAN class="">,</SPAN><SPAN class=""><</SPAN><SPAN class="">raster2</SPAN><SPAN class="">></SPAN><SPAN class="">,</SPAN><SPAN class=""><</SPAN><SPAN class="">raster3</SPAN><SPAN class="">></SPAN><SPAN class="">]</SPAN> <SPAN class="" style="color: #008000;">//array of rasters. If a scalar is needed for the operation</SPAN> <SPAN class="" style="color: #008000;">//the scalar can be in double or string</SPAN> <SPAN class="" style="color: #a31515;">"ExtentType"</SPAN> <SPAN class="">:</SPAN> <SPAN class=""><</SPAN><SPAN class="">ExtentType</SPAN><SPAN class="">></SPAN><SPAN class="">,</SPAN><SPAN class="" style="color: #008000;">//int, optional, default 0. 0 = esriExtentFirstOf, </SPAN> <SPAN class="" style="color: #008000;">//1=esriExtentIntersectionOf, 2=esriExtentUnionOf, 3=esriExtentLastOf </SPAN> <SPAN class="" style="color: #a31515;">"CellsizeType"</SPAN> <SPAN class="">:</SPAN> <SPAN class=""><</SPAN><SPAN class="">CellsizeType</SPAN><SPAN class="">></SPAN><SPAN class="">,</SPAN><SPAN class="" style="color: #008000;">//int, optional, default 0. 0 = esriCellsizeFirstOf, </SPAN> <SPAN class="" style="color: #008000;">//1=esriCellsizeMinOf, 2=esriCellsizeMaxOf,3=esriCellsizeMeanOf,</SPAN> <SPAN class="" style="color: #008000;">//4=esriCellsizeLastOf</SPAN> <SPAN class="">},</SPAN> <SPAN class="" style="color: #a31515;">"outputPixelType"</SPAN> <SPAN class="">:</SPAN> <SPAN class="" style="color: #a31515;">"<outputPixelType>"</SPAN><SPAN class="">,</SPAN><SPAN class="" style="color: #008000;">//optional</SPAN> <SPAN class="" style="color: #a31515;">"variableName"</SPAN> <SPAN class="">:</SPAN> <SPAN class="" style="color: #a31515;">"Rasters"</SPAN><SPAN class="" style="color: #008000;">//optional</SPAN><SPAN class="">}</SPAN>